/* ==========================================================================
   BOME Family Brunch — Seiten-Stylesheet
   Baut auf styles.css auf. Alle Klassen mit .fb- präfixiert, alles unter
   body.fb-page — die geteilten Komponenten bleiben unberührt.

   Farbe: Nude als Grundton, dazu drei kräftige Akzente. Bewusst wärmer und
   runder als der Rest der Seite: Das hier ist die Sonntagsseite, nicht die
   Abendkarte. Die kantige Formensprache weicht hier absichtlich auf.
   ========================================================================== */

body.fb-page {
  --fb-nude:    #f5e9df;   /* Grundfläche          */
  --fb-nude-2:  #ecd9c9;   /* zweite Fläche        */
  --fb-cream:   #fffaf5;   /* Karten               */
  --fb-ink:     #2a211c;   /* warmes Dunkelbraun   */
  --fb-ink-soft:#6d5b50;
  --fb-pop-1:   #ff5a36;   /* Tomate               */
  --fb-pop-2:   #ffc53d;   /* Sonne                */
  --fb-pop-3:   #3fbf9f;   /* Minze                */
  --fb-line:    rgba(42, 33, 28, 0.14);
  --fb-r:       22px;      /* großzügiger Radius   */
  --fb-ease:    cubic-bezier(0.22, 0.61, 0.36, 1);

  background: var(--fb-nude);
  color: var(--fb-ink);
}

/* Die Seite ist bewusst immer hell — ein Sonntagmittag im Dunkelmodus
   ergibt keinen Sinn. Der Umschalter bleibt für den Rest der Seite aktiv. */
body.fb-page.theme-dark { background: var(--fb-nude); color: var(--fb-ink); }

.fb-page .site-header:not(.is-condensed) .nav-links > li > a,
.fb-page .site-header:not(.is-condensed) .nav-actions .btn,
.fb-page .site-header:not(.is-condensed) .theme-toggle,
.fb-page .site-header:not(.is-condensed) .nav-toggle > span { color: var(--fb-ink); }
.fb-page .site-header:not(.is-condensed) .brand-logo { filter: none; }
.fb-page .site-header.is-condensed { background: rgba(245, 233, 223, 0.82); }

/* ---------- Bausteine --------------------------------------------------- */
.fb-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3.5rem); }
.fb-section { padding-block: clamp(3.5rem, 9vw, 8rem); }

.fb-display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.035em; margin: 0;
  text-wrap: balance; color: var(--fb-ink);
}
.fb-display--md { font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.028em; }
.fb-lead { font-size: clamp(1.05rem, 0.6vw + 0.92rem, 1.28rem); line-height: 1.62; color: var(--fb-ink-soft); max-width: 54ch; margin: 0; }
.fb-body { color: var(--fb-ink-soft); line-height: 1.7; max-width: 60ch; }

.fb-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--fb-pop-2); color: var(--fb-ink);
  padding: 0.45rem 0.9rem; border-radius: 999px;
}

/* Knöpfe in Popfarbe */
.btn--pop { border-color: var(--fb-pop-1); background: var(--fb-pop-1); color: #fff; border-radius: 999px; }
.btn--nude { border-color: var(--fb-ink); color: var(--fb-ink); background: transparent; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  .btn--pop:hover  { background: var(--fb-ink); border-color: var(--fb-ink); color: var(--fb-nude); }
  .btn--nude:hover { background: var(--fb-ink); color: var(--fb-nude); }
}

/* ---------- 1. Hero ----------------------------------------------------- */
.fb-hero { padding-block: clamp(7rem, 16vh, 11rem) clamp(3rem, 8vw, 6rem); position: relative; overflow: hidden; }
.fb-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .fb-hero__grid { grid-template-columns: 1fr; } }
/* Die Hero-Ueberschrift wird kleiner gedeckelt als .fb-display sonst: mit
   dem vollen Wert lief sie auf sechs Zeilen und schob die Knoepfe unter die
   Falz — auf einer Seite, deren Zweck die Reservierung ist. */
.fb-hero h1 { margin-top: 1.2rem; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.fb-h1__claim {
  display: block; margin-top: 0.9rem;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  line-height: 1.35; letter-spacing: -0.005em;
  color: var(--fb-ink-soft); max-width: 22ch;
}
.fb-hero__sub { margin-top: 1.5rem; }
.fb-hero__actions { margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Drei Fakten als bunte Pillen */
.fb-facts { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fb-facts li {
  border-radius: 999px; padding: 0.7rem 1.2rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  color: var(--fb-ink); background: var(--fb-cream); border: 1px solid var(--fb-line);
}
.fb-facts li:nth-child(1) { background: var(--fb-pop-3); border-color: transparent; }
.fb-facts li:nth-child(2) { background: var(--fb-pop-2); border-color: transparent; }
.fb-facts li:nth-child(3) { background: var(--fb-pop-1); border-color: transparent; color: #fff; }

/* Bildstapel im Hero */
.fb-stack { position: relative; aspect-ratio: 1; }
.fb-stack img { position: absolute; border-radius: var(--fb-r); object-fit: cover; box-shadow: 0 18px 40px rgba(42,33,28,0.14); }
.fb-stack img:nth-child(1) { width: 62%; height: 62%; top: 0; left: 0; }
.fb-stack img:nth-child(2) { width: 46%; height: 46%; right: 0; top: 18%; }
.fb-stack img:nth-child(3) { width: 54%; height: 54%; bottom: 0; right: 10%; }
.fb-stack::after {
  content: "−10 %"; position: absolute; left: 4%; bottom: 6%;
  width: clamp(88px, 13vw, 132px); aspect-ratio: 1; border-radius: 50%;
  background: var(--fb-pop-1); color: #fff;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.7rem);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(255,90,54,0.32);
}
/* width:100% ist Pflicht: Alle drei Bilder sind absolut positioniert, der
   Container hat also keine Eigenbreite. Ohne die Angabe faellt er auf
   0x0 zusammen und die Bilder verschwinden — auf Desktop faellt das nicht
   auf, weil dort die Rasterspalte die Breite vorgibt. */
@media (max-width: 900px) { .fb-stack { width: 100%; max-width: 460px; margin-inline: auto; } }

/* ---------- 2. Kein Buffet ---------------------------------------------- */
.fb-claim { background: var(--fb-ink); color: var(--fb-nude); border-radius: var(--fb-r); padding: clamp(2rem, 5vw, 4rem); }
.fb-claim h2 { color: var(--fb-nude); max-width: 18ch; }
.fb-claim p { color: rgba(245, 233, 223, 0.78); margin-top: 1.3rem; max-width: 58ch; line-height: 1.65; }
.fb-claim em { font-style: italic; color: var(--fb-pop-2); }

/* ---------- 3. Karten --------------------------------------------------- */
.fb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 900px) { .fb-cards { grid-template-columns: 1fr; } }
.fb-card { background: var(--fb-cream); border-radius: var(--fb-r); padding: clamp(1.5rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 0.7rem; }
.fb-card__no {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--fb-ink);
}
.fb-card:nth-child(1) .fb-card__no { background: var(--fb-pop-3); }
.fb-card:nth-child(2) .fb-card__no { background: var(--fb-pop-2); }
.fb-card:nth-child(3) .fb-card__no { background: var(--fb-pop-1); color: #fff; }
.fb-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; margin: 0.3rem 0 0; }
.fb-card p { color: var(--fb-ink-soft); font-size: 0.96rem; line-height: 1.6; margin: 0; }

/* ---------- 4. Für Kinder ----------------------------------------------- */
.fb-kids { background: var(--fb-nude-2); border-radius: var(--fb-r); padding: clamp(1.8rem, 4vw, 3.2rem); }
.fb-kids__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .fb-kids__grid { grid-template-columns: 1fr; } }
.fb-kidlist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.fb-kidlist li {
  display: flex; align-items: baseline; gap: 0.8rem;
  background: var(--fb-cream); border-radius: 14px; padding: 0.85rem 1.15rem;
  font-family: var(--font-display); font-size: 1.08rem;
}
.fb-kidlist .fb-dots { flex: 1; border-bottom: 1px dotted var(--fb-line); transform: translateY(-3px); }
.fb-kidlist b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fb-kidlist li.fb-free b { color: var(--fb-pop-1); }
.fb-kids__bild img { width: 100%; border-radius: var(--fb-r); aspect-ratio: 4/5; object-fit: cover; }

/* ---------- 5. Praktisches ---------------------------------------------- */
.fb-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.fb-info > div { background: var(--fb-cream); border-radius: var(--fb-r); padding: 1.4rem 1.6rem; }
.fb-info h4 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fb-ink-soft); margin-bottom: 0.6rem; }
.fb-info p { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.4; }
.fb-info a { border-bottom: 2px solid var(--fb-pop-1); }

/* ---------- 6. FAQ ------------------------------------------------------ */
.fb-faq { max-width: 780px; }
.fb-faq details { background: var(--fb-cream); border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: 0.6rem; }
.fb-faq summary { font-family: var(--font-display); font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: "+"; color: var(--fb-pop-1); font-size: 1.5rem; line-height: 1; }
.fb-faq details[open] summary::after { content: "–"; }
.fb-faq details p { margin-top: 0.7rem; color: var(--fb-ink-soft); line-height: 1.65; }

/* ---------- 7. Abschluss ------------------------------------------------ */
.fb-final { background: var(--fb-pop-2); border-radius: var(--fb-r); padding: clamp(2.2rem, 6vw, 4.5rem); text-align: center; }
.fb-final h2 { max-width: 16ch; margin-inline: auto; }
.fb-final p { margin: 1.2rem auto 0; max-width: 46ch; color: rgba(42,33,28,0.75); line-height: 1.6; }
.fb-final__actions { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

/* ---------- Zugänglichkeit ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fb-page * { animation: none !important; }
}
@media (prefers-contrast: more) {
  body.fb-page { --fb-ink-soft: #3d3128; --fb-line: rgba(42,33,28,0.4); }
  .fb-card, .fb-info > div, .fb-faq details { border: 2px solid var(--fb-line); }
}
