/* =============================================================
   PIZZERIA POST — Mittagsmenü (im Look der Startseite)
   Nutzt Farben & Komponenten aus style.css
   ============================================================= */

.lunch-page {
  background: var(--bg);
}

/* Hero: niedriger als volle Viewport-Höhe (Bildwechsel in mittagsmenue.html) */
.lunch-page .hero {
  min-height: clamp(260px, 46svh, 480px);
}

/* Header wie auf der Homepage (transparent → scrolled per main.js) */
.lunch-page .site-header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.lunch-page main {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.lunch-page .site-footer .footer-grid {
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}

/* Sektion: nutzt .section.section-contrast aus style.css */
.lunch-section .section-header {
  margin-bottom: 2.2rem;
}

.lunch-week-range {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem) !important;
  font-weight: 600;
  color: #f5ead8 !important;
  margin-bottom: 0.5rem !important;
}

.lunch-today-line {
  font-size: 0.9rem;
  color: rgba(240, 232, 216, 0.65);
  margin: 0.5rem 0 0;
}

.lunch-today-line strong {
  color: #f0f0f0;
  font-weight: 600;
}

.lunch-today-line.is-weekend strong {
  color: rgba(240, 232, 216, 0.45);
}

.lunch-today-line.is-weekend::after {
  content: ' · Mo–Fr';
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.lunch-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0.75rem 0 0;
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.5;
}

/* Drei Menü-Karten: 3 Spalten statt 4 */
@media (min-width: 900px) {
  .lunch-menus.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Gestapelt: klare weisse Linie zwischen Menü 1 / 2 / 3 (wie in der Layout-Skizze)
   Hinweis: style.css setzt .card-grid ab 720px auf 2 Spalten, ab 900px hier 3 Spalten. */
@media (max-width: 719px) {
  .lunch-menus.card-grid {
    gap: 0;
  }
  .lunch-menus .lunch-menu-card {
    border-right: none;
  }
  .lunch-menus .lunch-menu-card:not(:first-child) {
    border-top: 1px solid rgba(255, 241, 202, 0.72);
  }
}

@media (min-width: 720px) and (max-width: 899px) {
  .lunch-menus.card-grid {
    gap: 0;
  }
  .lunch-menus .lunch-menu-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.72);
  }
}

.lunch-menu-card .lunch-menu-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.5rem;
}

.lunch-menu-card .lunch-menu-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #f5ead8;
}

.lunch-menu-card .lunch-menu-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.lunch-menu-card .lunch-menu-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Wochenhits (1–2) */
.lunch-hits {
  margin-top: 2.5rem;
}

.lunch-hits .lunch-hit + .lunch-hit {
  margin-top: 1.25rem;
}

.lunch-hit {
  margin-top: 0;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: 52rem;
  margin-inline: auto;
}

.lunch-hit-badge {
  display: block;
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.6rem;
}

.lunch-hit-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-bottom: 0.5rem;
  color: #f5ead8;
}

.lunch-hit-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.lunch-hit-price {
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0f0;
  margin: 0;
}

/* Pro Tag: Überschrift + 3 Karten */
.lunch-day-menus {
  scroll-margin-top: 96px;
  margin-top: 2.5rem;
}

.lunch-section .lunch-hits + .lunch-day-menus {
  margin-top: 2.75rem;
}

.lunch-day-menus.is-today {
  padding-left: 0.75rem;
  border-left: 3px solid rgba(255, 255, 255, 0.45);
}

.lunch-day-menus-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.lunch-day-menus-title {
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  margin: 0;
  color: #f5ead8;
}

.lunch-day-menus-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.lunch-day-menus.is-today .lunch-day-menus-date {
  color: rgba(240, 232, 216, 0.75);
}

/* Wochentage (Kalender-Kacheln, falls wieder genutzt) */
.lunch-week-wrap {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.lunch-week-wrap .section-header {
  margin-bottom: 1.5rem;
}

.lunch-weekdays-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 48rem;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .lunch-weekdays-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
}

.lunch-day-card {
  display: block;
  text-decoration: none;
  color: inherit;
  scroll-margin-top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem 1.1rem;
  text-align: center;
  transition: background var(--ease), border-color var(--ease);
}

.lunch-day-card:hover {
  background: var(--surface-2);
}

.lunch-day-card.is-today {
  border-color: rgba(255, 255, 255, 0.45);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lunch-day-card-abbr {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.lunch-day-card-date {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.lunch-day-card.is-today .lunch-day-card-date {
  color: rgba(240, 232, 216, 0.85);
  font-weight: 600;
}

.lunch-footer-hint {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
}

.lunch-footer-hint a {
  color: rgba(240, 232, 216, 0.85);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--ease), border-color var(--ease);
}

.lunch-footer-hint a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* Fixierte Leiste unten */
.lunch-week-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 20, 20, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lunch-week-strip-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.lunch-strip-pill {
  margin: 0;
  min-width: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0px solid var(--line);
  border-style: solid;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(240, 232, 216, 0.75);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.lunch-strip-pill::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.lunch-strip-pill:focus {
  outline: none;
}

.lunch-strip-pill:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.lunch-strip-pill:hover {
  background: var(--surface-2);
  color: #f0f0f0;
}

.lunch-strip-pill.is-today {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-style: solid;
  color: #0f0f0f;
}

.lunch-strip-pill.is-today:hover {
  background: #f0e8d8;
  color: #0f0f0f;
}

@media (max-width: 380px) {
  .lunch-strip-pill {
    min-width: 40px;
    padding: 9px 8px;
    font-size: 0.72rem;
  }
}

/* ── Bereiche pro Werktag (unterhalb Kalender) ───────────── */
.lunch-by-day {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.lunch-by-day-intro {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.42);
  max-width: 40ch;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

.lunch-day-block {
  scroll-margin-top: 96px;
  margin-top: 1.75rem;
  padding: 1.5rem 1.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.lunch-day-block:first-of-type {
  margin-top: 2rem;
}

.lunch-day-block.is-today {
  border-left: 3px solid rgba(255, 255, 255, 0.45);
  background: var(--surface-2);
}

.lunch-day-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.lunch-day-block-title {
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  margin: 0;
  color: #f5ead8;
}

.lunch-day-block-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.lunch-day-block.is-today .lunch-day-block-date {
  color: rgba(240, 232, 216, 0.75);
}

.lunch-day-block-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.lunch-day-block-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lunch-day-block-list li {
  font-size: 0.88rem;
  color: rgba(240, 232, 216, 0.78);
  line-height: 1.55;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.lunch-day-block-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.lunch-day-k {
  display: inline-block;
  min-width: 4.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-right: 0.5rem;
}
