/* =============================================================
   SUNSHINE PIZZA — Infos (einfach & lesbar)
   ============================================================= */

body.info-page {
  background: #fff;
}

:root {
  --sp-info-scroll-offset: var(--sp-header-offset, 88px);
}

body.sp-page.sp-vacation-active {
  --sp-info-scroll-offset: calc(var(--sp-header-offset, 88px) + var(--sp-vacation-banner-h, 44px));
}

.sp-info-page {
  padding-top: var(--sp-info-scroll-offset);
}

.sp-info-page .sp-container {
  width: min(1280px, 100%);
  max-width: none;
  padding-left: clamp(0.65rem, 2vw, 1.25rem);
  padding-right: clamp(0.65rem, 2vw, 1.25rem);
}

/* ── Hero ─────────────────────────────────────────────────── */
.sp-info-hero {
  padding: clamp(2.25rem, 4.5vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: #fff;
}

.sp-info-hero__head {
  margin: 0;
  text-align: left;
  padding-inline: clamp(1rem, 4vw, 1.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(61, 41, 20, 0.08);
  box-sizing: border-box;
}

.sp-info-hero__intro {
  max-width: 34rem;
}

.sp-info-hero__intro .sp-eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8a7a68;
}

.sp-info-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.65rem);
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sp-info-hero p {
  font-size: 1rem;
  color: #6b5a48;
  line-height: 1.65;
  margin: 0;
  max-width: 32rem;
}

/* ── Inhalt ───────────────────────────────────────────────── */
.sp-info-body {
  padding: 0 0 clamp(3rem, 5vw, 4.5rem);
  background: #fff;
}

.sp-info-content {
  max-width: none;
  padding-inline: clamp(1rem, 4vw, 1.25rem);
  box-sizing: border-box;
}

.sp-info-block {
  padding: clamp(2rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(61, 41, 20, 0.08);
  scroll-margin-top: var(--sp-info-scroll-offset);
}

.sp-info-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0 0 1.25rem;
}

.sp-info-lead {
  font-size: 1rem;
  color: #6b5a48;
  margin: -0.5rem 0 1.25rem;
  line-height: 1.65;
  max-width: 32rem;
}

.sp-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sp-muted);
  margin: 0 0 0.5rem;
}

.sp-info-label + .sp-info-rows {
  margin-bottom: 1.5rem;
}

.sp-info-label + .sp-info-rows:last-child,
.sp-info-rows:last-child {
  margin-bottom: 0;
}

.sp-info-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-info-note {
  font-size: 0.88rem;
  color: var(--sp-muted);
  margin: 1rem 0 0;
}

.sp-info-note a {
  color: var(--sp-sun);
  font-weight: 600;
  text-decoration: none;
}

.sp-info-note a:hover {
  text-decoration: underline;
}

/* ── Zeilen-Listen ────────────────────────────────────────── */
.sp-info-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
}

.sp-info-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--sp-line);
  line-height: 1.4;
}

.sp-info-rows li:last-child {
  border-bottom: none;
}

.sp-info-rows li > span:first-child {
  font-weight: 600;
  color: var(--sp-dark);
  flex-shrink: 0;
  min-width: 5.5rem;
}

.sp-info-rows li > span:last-child {
  color: var(--sp-muted);
  text-align: right;
}

.sp-info-rows li.is-closed > span:last-child {
  color: #b45309;
  font-weight: 600;
}

.sp-info-rows li.is-today {
  background: rgba(255, 159, 28, 0.07);
}

.sp-info-rows li.is-today > span:first-child::after {
  content: ' · heute';
  font-weight: 500;
  color: var(--sp-sun);
  font-size: 0.78rem;
  text-transform: lowercase;
}

/* ── Tabelle ──────────────────────────────────────────────── */
.sp-info-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-sm);
}

.sp-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sp-info-table th,
.sp-info-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--sp-line);
}

.sp-info-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sp-muted);
  background: var(--sp-cream);
}

.sp-info-table tr:last-child td {
  border-bottom: none;
}

.sp-info-table tr.is-home td {
  background: rgba(255, 159, 28, 0.06);
  font-weight: 600;
}

.sp-info-table td:last-child {
  color: #15803d;
  font-weight: 600;
}

.sp-info-table-loading {
  color: var(--sp-muted, #888);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .sp-info-hero__head {
    padding-inline: 15px;
  }

  .sp-info-content {
    padding-inline: 15px;
  }
}

@media (max-width: 767px) {
  .sp-info-hero p,
  .sp-info-lead {
    max-width: min(20rem, 100%);
  }
}

@media (max-width: 480px) {
  .sp-info-rows li {
    flex-direction: column;
    gap: 0.15rem;
  }

  .sp-info-rows li > span:last-child {
    text-align: left;
  }
}
