/* ============================================================
   PIZZERIA FALLUCCA — Seiten-Ergänzungen zum Elegante-Styleguide
   Dunkles, edles Theme (Notte/Gold/Bordeaux) · Cormorant Garamond
   ============================================================ */

html { scroll-behavior: smooth; }
body { margin: 0; }
body.fa { min-height: 100vh; display: flex; flex-direction: column; background: var(--fa-notte); }
main { flex: 1; }

img { max-width: 100%; height: auto; }
a { color: var(--fa-gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--fa-notte);
  border-bottom: 1px solid #2a241d;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 14px; padding-bottom: 14px;
}
.site-logo { text-decoration: none; }
.site-logo .fa-logo__name { display: block; line-height: 1.1; }
.site-logo .fa-logo__sub { display: block; }

.site-nav { display: flex; gap: 24px; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a:not(.fa-btn) { color: var(--fa-testo); text-decoration: none; padding: 6px 0; }
.site-nav a:not(.fa-btn):hover { color: var(--fa-gold); }
.site-nav a.active { color: var(--fa-gold); border-bottom: 1px solid var(--fa-gold); }

.site-nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.site-nav-toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--fa-avorio); margin: 5px 0; transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .site-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .site-nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .site-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Öffnungszeiten-Streifen (Bordeaux) */
.site-strip { padding-left: 0; padding-right: 0; }
.site-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__media { height: min(64vh, 540px); overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .fa-hero-section__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0; max-width: none;
}
.hero .fa-hero { font-size: clamp(34px, 6vw, 56px); max-width: 640px; color: var(--fa-avorio); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero--sub .hero__media { height: min(40vh, 340px); }

/* ---------- Sektionen ---------- */
.section { padding: 60px 0; }
.section--creme { background: #1d1915; }
.section--dark { background: #100e0b; }
.section__head { max-width: 640px; margin-bottom: 34px; }
.section__head .fa-h1, .section__head .fa-h2 { margin-top: 8px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-media { height: 200px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; filter: saturate(.95); }
a.fa-card { display: block; text-decoration: none; color: inherit; }
a.fa-card:hover .card-media img { transform: scale(1.05); }
a.fa-card:hover { box-shadow: var(--fa-shadow-lg); border-color: #4a4030; }
.fa-card__body p { margin: 8px 0 0; font-size: var(--fa-fs-small); color: var(--fa-testo); }
.fa-card__body .fa-h3 { color: var(--fa-avorio); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split__media img { border-radius: var(--fa-radius); box-shadow: var(--fa-shadow-lg); display: block; }

/* Badge-Block symmetrisch: zwei gleich breite Badges oben,
   „Telefonisch vorbestellen" darunter über die volle Breite. */
.fa-stack--inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 380px;
}
.fa-stack--inline .fa-badge { justify-content: center; text-align: center; }
.fa-stack--inline .fa-badge:last-child { grid-column: 1 / -1; }

/* ---------- Speisekarte ---------- */
.menu-subnav {
  position: sticky; top: 79px; z-index: 40;
  background: rgba(22,19,15,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--fa-linea);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.menu-subnav__inner { display: flex; gap: 4px; padding-top: 10px; padding-bottom: 10px; white-space: nowrap; }
.menu-subnav a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fa-testo); text-decoration: none;
  padding: 8px 14px; border-radius: var(--fa-radius-sm); border: 1px solid transparent;
}
.menu-subnav a:hover { color: var(--fa-gold); border-color: #4a4030; }

.menu-section { padding: 48px 0 12px; scroll-margin-top: 132px; }
.menu-section__intro { max-width: 680px; color: var(--fa-testo); }
.menu-note {
  background: var(--fa-carbone); border: 1px solid #3a342b; border-radius: var(--fa-radius);
  padding: 14px 18px; font-size: var(--fa-fs-small); color: var(--fa-testo); margin: 18px 0 4px;
}
.menu-note strong { color: var(--fa-avorio); }
.menu-note--warn { border-left: 2px solid var(--fa-gold); }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.menu-grid--1 { grid-template-columns: 1fr; max-width: 720px; }

.mi {
  background: var(--fa-carbone); border: 1px solid #3a342b; border-radius: var(--fa-radius);
  padding: 15px 18px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
}
.mi__name { font-family: var(--fa-font-display); font-weight: 600; font-size: var(--fa-fs-h3); margin: 0; color: var(--fa-avorio); }
.mi__desc { font-size: var(--fa-fs-small); color: var(--fa-grigio); margin: 3px 0 0; }
.mi__prices { display: flex; gap: 16px; flex: none; text-align: right; }
.mi__price { display: flex; flex-direction: column; align-items: flex-end; min-width: 52px; }
.mi__price small {
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--fa-grigio); margin-bottom: 2px;
}
.mi__price b { font-weight: 700; color: var(--fa-gold); font-size: 14px; white-space: nowrap; }

.menu-legend { font-size: var(--fa-fs-small); color: var(--fa-grigio); margin-top: 16px; font-style: italic; }

/* ---------- Tagesgerichte ---------- */
.day-card { display: flex; flex-direction: column; }
.day-card__day {
  font-size: var(--fa-fs-eyebrow); letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; color: var(--fa-gold); margin-bottom: 8px;
}
.day-card .fa-h3 { color: var(--fa-avorio); }
.day-card--closed { background: #1d1915; }
.day-card--closed .fa-h3, .day-card--closed p { color: var(--fa-grigio); }
.day-card .fa-price { margin-top: auto; padding-top: 12px; font-size: 18px; }

/* ---------- Über uns / Textseiten ---------- */
.prose { max-width: 720px; color: var(--fa-testo); }
.prose p { margin: 0 0 16px; }
.prose .fa-h2 { margin-top: 36px; color: var(--fa-avorio); }
.signature { font-family: var(--fa-font-display); font-weight: 600; font-style: italic; font-size: 26px; color: var(--fa-gold); margin-top: 24px; }

.timeline { list-style: none; margin: 28px 0 0; padding: 0; max-width: 720px; color: var(--fa-testo); }
.timeline li { position: relative; padding: 0 0 28px 34px; border-left: 1px solid var(--fa-linea); margin-left: 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--fa-gold); box-shadow: 0 0 0 3px var(--fa-notte);
}
.timeline__year { font-family: var(--fa-font-display); font-weight: 600; font-size: 22px; color: var(--fa-avorio); display: block; margin-bottom: 5px; }

/* Zutaten-Seite */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  background: var(--fa-carbone); border: 1px solid #3a342b; border-radius: var(--fa-radius-sm);
  padding: 7px 14px; font-size: var(--fa-fs-small); color: var(--fa-avorio);
}
.additives { columns: 2; column-gap: 34px; font-size: var(--fa-fs-small); color: var(--fa-testo); margin: 16px 0 0; padding-left: 20px; }
.additives li { break-inside: avoid; margin-bottom: 5px; }

/* ---------- Kontakt / Info ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-grid .fa-card__body { color: var(--fa-testo); }
.info-grid .fa-h3 { color: var(--fa-avorio); }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fa-fs-small); color: var(--fa-testo); }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--fa-linea); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--fa-avorio); }

/* CTA-Block (im Elegante-Styleguide nicht vorhanden – hier definiert) */
.fa-cta {
  background: var(--fa-carbone);
  border: 1px solid #3a342b;
  border-left: 2px solid var(--fa-gold);
  color: var(--fa-avorio);
  padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  border-radius: var(--fa-radius);
}
.fa-cta__text .fa-muted { color: var(--fa-grigio); }

/* ---------- Footer ---------- */
.site-footer { background: #100e0b; color: var(--fa-grigio); font-size: var(--fa-fs-small); margin-top: 64px; border-top: 1px solid #2a241d; }
.site-footer a { color: var(--fa-testo); text-decoration: none; }
.site-footer a:hover { color: var(--fa-gold); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px;
  padding-top: 48px; padding-bottom: 36px;
}
.site-footer h3 {
  font-family: var(--fa-font-display); font-weight: 600; font-size: var(--fa-fs-h3);
  color: var(--fa-gold); margin: 0 0 14px;
}
.site-footer p { margin: 0 0 10px; line-height: 1.75; }
.site-footer .hours-table td { border-bottom-color: rgba(236,227,210,.10); color: var(--fa-grigio); }
.site-footer .hours-table td:last-child { color: var(--fa-testo); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__legal {
  border-top: 1px solid rgba(236,227,210,.10);
  padding-top: 18px; padding-bottom: 20px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  color: #7a7160;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--fa-notte); border-bottom: 1px solid #2a241d;
    flex-direction: column; align-items: flex-start;
    padding: 12px 22px 20px; gap: 4px;
    box-shadow: var(--fa-shadow-lg);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a:not(.fa-btn) { padding: 11px 0; width: 100%; font-size: 13px; }
  .site-nav a.active { border-bottom: none; }
  .site-nav .fa-btn { margin-top: 10px; }
  .site-strip__inner { flex-direction: column; align-items: flex-start; gap: 2px; }
  .mi { flex-direction: column; gap: 8px; }
  .mi__prices { text-align: left; }
  .mi__price { align-items: flex-start; }
  .section { padding: 44px 0; }
  .additives { columns: 1; }
}

/* ---------- Cookie-Hinweis ---------- */
.cookie-hinweis {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  max-width: 720px; margin: 0 auto;
  background: var(--fa-carbone); color: var(--fa-avorio);
  border: 1px solid #3a342b; border-left: 2px solid var(--fa-gold);
  border-radius: var(--fa-radius); box-shadow: var(--fa-shadow-lg);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: var(--fa-fs-small); line-height: 1.6;
}
.cookie-hinweis__text { margin: 0; flex: 1 1 280px; color: var(--fa-testo); }
.cookie-hinweis__text a { color: var(--fa-gold); text-decoration: underline; }
.cookie-hinweis__btn {
  flex: none; cursor: pointer; border: none;
  background: var(--fa-gold); color: var(--fa-notte);
  font-family: var(--fa-font-text); font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: var(--fa-radius-sm);
}
.cookie-hinweis__btn:hover { background: var(--fa-gold-d); }
@media (max-width: 560px) {
  .cookie-hinweis { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-hinweis__btn { width: 100%; }
}

/* ---------- Druck (Speisekarte) ---------- */
@media print {
  body.fa { background: #fff; color: #16130F; }
  .site-header, .site-strip, .menu-subnav, .site-footer, .fa-cta, .hero, .cookie-hinweis { display: none !important; }
  .mi { background: #fff; border: none; border-bottom: 1px solid #ddd; border-radius: 0; padding: 6px 0; }
  .mi__name, .mi__price b, .fa-h1, .fa-h2 { color: #16130F !important; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 2px 24px; }
}
