/* =========================================================================
   New York Rolls — Design-System
   Sechs Farben, zwei Schriften, ein Eckenradius. Keine weiteren Werte.
   Quelle: Briefing/NYR_Website_Briefing_DE.md, Abschnitt 2.
   ========================================================================= */

:root {
  /* --- Farben: genau sechs, jede mit genau einer Rolle --- */
  --bg:      #FBF8F2;  /* Seitenhintergrund, Text auf dunklen Flächen */
  --ink:     #3B1E14;  /* Überschriften, Fließtext, Preise, Footer, Standort-Band */
  --accent:  #DE8A2E;  /* ausschließlich Buttons und aktive Zustände */
  --lav:     #B183B6;  /* Markenfläche 1 — Hero, Combo, jede 3. Sortenkarte */
  --mint:    #A2D6CD;  /* Markenfläche 2 — Block Herzhaft, jede 3. Sortenkarte */
  --rose:    #FAD1E3;  /* Markenfläche 3 — Bewertungen, jede 3. Sortenkarte */

  /* Abgeleitete Werte — keine neuen Farben, nur Deckkraft von --ink */
  --ink-70:  rgba(59, 30, 20, 0.70);  /* Sekundärtext */
  --ink-12:  rgba(59, 30, 20, 0.12);  /* Trennlinien */

  /* --- Typografie --- */
  /* Display: Bagel Fat One (Website-Briefing V2).
     KONFLIKT: Das allgemeine Brand Board nennt Old Standard. Für die Website gilt
     das projektspezifische, aktuellere Website-Briefing.
     Falls „süß", „außen", „für", „Öffnungszeiten" in Bagel Fat One schlecht
     gezeichnet sind: nur die nächste Zeile auf 'Fredoka' umstellen — sonst nichts. */
  --font-display: 'Bagel Fat One', 'Fredoka', system-ui, sans-serif;
  --font-text:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Form --- */
  --radius: 12px;    /* Karten, Bilder, Flächen */
  --pill:   999px;   /* Buttons */

  --wrap:   1120px;
  --gap:    clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3rem, 8vw, 5.5rem);
}

/* --- Reset (knapp gehalten) --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
h2 { font-weight: 800; font-size: clamp(24px, 5vw, 32px); letter-spacing: -0.01em; }
h3 { font-weight: 800; font-size: clamp(18px, 3vw, 20px); }
p  { margin: 0 0 1em; }

.display {
  font-family: var(--font-display);
  font-weight: 400;          /* Bagel Fat One hat nur einen Schnitt */
  text-transform: none;       /* niemals Versalien */
  letter-spacing: 0;
  line-height: 1.05;
}

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gap), 760px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--ink);
  padding: .75rem 1.25rem; border-radius: var(--pill); font-weight: 800;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================================
   Buttons — #DE8A2E kommt ausschließlich hier vor
   ========================================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover, .btn-accent:focus-visible { transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* =========================================================================
   Platzhalter vor dem Launch
   Alle offenen Punkte sind mit .tbc markiert und dadurch im Browser wie im
   Quelltext in Sekunden auffindbar. Vor Veröffentlichung: nach „tbc" bzw.
   „BESTÄTIGEN" suchen — es darf kein Treffer übrig bleiben.
   ========================================================================= */
.tbc {
  display: inline-block;
  background: var(--rose);
  color: var(--ink);
  border: 2px dashed var(--ink);
  border-radius: 4px;
  padding: 0 .4em;
  font-size: .9em;
  font-weight: 800;
}
.tbc-block { font-size: 14px; color: var(--ink-70); }

/* =========================================================================
   Block 1 — Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--ink-12);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { width: 54px; height: auto; }

.nav { display: flex; gap: 1.5rem; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 4px 0;
  transition: transform .18s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--ink-12);
    padding: .5rem var(--gap) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--ink-12); font-size: 17px; }
}

/* =========================================================================
   Block 2 — Hero
   Foto auf Markenfläche #B183B6, H1 in #FBF8F2 darüber.
   KONFLIKT/ABWEICHUNG: #FBF8F2 direkt auf #B183B6 ergibt nur 2,9:1 und
   verfehlt WCAG AA. Der Text steht deshalb auf einer flächigen (nicht
   verlaufenden) #3B1E14-Fläche im unteren Drittel — Palette und die Regel
   „keine Verläufe" bleiben eingehalten, die Lesbarkeit stimmt.
   ========================================================================= */
/* Mobil: Foto über die volle Breite, Textfläche direkt darunter.
   Das Foto wird nicht beschnitten — der Roll steht ganz im Bild. */
.hero {
  position: relative;
  background: var(--lav);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: auto;
  max-height: 52vh;      /* Sicherung für flache Displays */
  object-fit: cover;
}
.hero-content {
  position: relative;
  padding: 1.5rem var(--gap) 2rem;
  color: var(--bg);
  background: var(--ink);
  width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 64px);
  font-weight: 400;
  margin-bottom: .25em;
  color: var(--bg);
}
.hero-sub { font-size: clamp(16px, 2.4vw, 19px); max-width: 34ch; margin-bottom: 1.25rem; }
.hero-meta { font-size: 14px; color: var(--bg); opacity: .85; margin: 1.25rem 0 0; }

/* Ab Tablet: Textfläche links, Foto rechts, beide über die volle Höhe.
   So bleibt der Roll ungeschnitten und der Text steht nicht auf dem Foto. */
@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 68vh;
    max-height: 85vh;
  }
  .hero-img {
    grid-column: 2; grid-row: 1;
    width: 100%; height: 100%; max-height: none;
    object-fit: cover;
  }
  .hero-content {
    grid-column: 1; grid-row: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 3rem clamp(2rem, 4vw, 4rem);
  }
  .hero-sub { font-size: 19px; }
}

/* =========================================================================
   Sektionen — Rhythmus hell → farbig → hell → farbig
   ========================================================================= */
.section { padding: var(--section-y) 0; }
.section-light   { background: var(--bg);   color: var(--ink); }
.section-mint    { background: var(--mint); color: var(--ink); }
.section-lavender{ background: var(--lav);  color: var(--ink); }
.section-dark    { background: var(--ink);  color: var(--bg); }

.lead { font-size: clamp(16px, 2.2vw, 18px); max-width: 52ch; }
.fineprint { font-size: 13px; color: var(--ink-70); margin: .35rem 0 0; }
.fineprint a { color: inherit; }

/* =========================================================================
   Block 3 + 4 — Sortenkarten
   ========================================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, 2.5vw, 1.25rem);
  margin-top: 2rem;
}
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-radius: var(--radius);
  padding: .75rem .9rem 1.1rem;
  display: flex; flex-direction: column;
}
/* Kartenrotation der süßen Sorten: #B183B6 → #A2D6CD → #FAD1E3 */
.card-c1 { background: var(--lav); }
.card-c2 { background: var(--mint); }
.card-c3 { background: var(--rose); }
/* Herzhafte Sorten liegen auf der Mint-Fläche und bleiben deshalb neutral —
   „eine Pastellfarbe pro Sektion" (Farbregel) sticht die Kartenrotation. */
.card-neutral { background: var(--bg); }

.card-img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card h3 { margin: .8rem 0 .15rem; }
.card-desc { font-size: 14px; color: var(--ink-70); margin: 0 0 .6rem; }
.card-price { font-weight: 800; font-size: 18px; margin: auto 0 0; }
.allergen { font-size: 13px; color: var(--ink-70); margin: .35rem 0 0; }

.group-title { margin-top: 2.25rem; }
.group-note { font-weight: 400; font-size: 13px; color: var(--ink-70); display: block; }

/* =========================================================================
   Block 5 — Getränke
   ========================================================================= */
.drinks { display: grid; gap: .5rem; margin-top: 1rem; }
@media (min-width: 760px) { .drinks { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* Feste Platzierung, damit Name und Preis auch dann in einer Zeile bleiben,
   wenn im Preisfeld noch ein [BESTÄTIGEN]-Platzhalter steht. */
.drink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .1rem .75rem;
  align-items: baseline;
  padding: .9rem 1rem;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
}
.drink-name  { grid-column: 1; grid-row: 1; font-weight: 800; font-size: 17px; }
.drink-price { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 18px; text-align: right; }
.drink-desc  { grid-column: 1 / -1; grid-row: 2; font-size: 14px; color: var(--ink-70); }
.drink .allergen { grid-column: 1 / -1; grid-row: 3; }

/* =========================================================================
   Block 6 — Combo
   KONFLIKT: Das Briefing legt für diesen Block Text in #FBF8F2 fest. Auf
   #B183B6 sind das 2,9:1 — WCAG AA verfehlt, obwohl das Briefing AA verlangt.
   Deshalb steht der Text hier in #3B1E14 (4,9:1). Für die Briefing-Variante
   genügt es, in .section-lavender `color: var(--bg)` zu setzen.
   ========================================================================= */
.combo-inner { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 900px) { .combo-inner { grid-template-columns: 1fr 1fr; } }
.combo h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 400; }
.combo-price { font-weight: 800; font-size: 18px; }
.combo-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* =========================================================================
   Block 7 — Warum (keine Icons)
   ========================================================================= */
.why { display: grid; gap: var(--gap); margin-top: 1.5rem; }
@media (min-width: 900px) { .why { grid-template-columns: 420px 1fr; align-items: start; } }
.why-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.why-cols { display: grid; gap: 1.5rem; }
@media (min-width: 620px) { .why-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .why-cols { grid-template-columns: repeat(3, 1fr); } }
.why-col p { font-size: 15px; margin: 0; }

/* =========================================================================
   Block 9 — Standort
   ========================================================================= */
.standort-inner { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .standort-inner { grid-template-columns: 1fr 1fr; } }
.section-dark h2 { color: var(--bg); }
.standort-adresse { font-size: 18px; font-weight: 800; margin-bottom: .35rem; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--mint);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem; padding: 1.5rem; text-align: center;
  color: var(--ink);
  overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-note { font-size: 13px; color: var(--ink-70); margin: 0; max-width: 30ch; }
.map-note a { color: var(--ink); }

/* =========================================================================
   Block 10 — Instagram
   ========================================================================= */
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .5rem; margin: 1.5rem 0 2rem;
}
.ig-grid img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* =========================================================================
   Block 11 — FAQ
   ========================================================================= */
.faq { border-bottom: 1px solid var(--ink-12); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 17px;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; line-height: 1;
}
.faq[open] summary::after { content: "–"; }
.faq p { font-size: 15px; margin: 0 0 1rem; max-width: 62ch; }
.allergen-legend { font-size: 14px; color: var(--ink-70); }

/* =========================================================================
   Block 12 — Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--bg); padding: var(--section-y) 0 2rem; }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 96px; background: var(--bg); border-radius: var(--radius); padding: .5rem; }
.slogan { font-family: var(--font-display); font-size: 20px; margin-top: .75rem; }
.footer-col h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--bg); }
.footer-col p { font-size: 15px; margin: 0 0 .5rem; }
.footer-col a { color: var(--bg); }
.footer-bottom { border-top: 1px solid rgba(251, 248, 242, .2); margin-top: 2.5rem; padding-top: 1.25rem; }
.footer-bottom p { font-size: 13px; opacity: .8; margin: 0; }

/* =========================================================================
   Rechtsseiten (Impressum, Datenschutz)
   ========================================================================= */
.legal { padding: var(--section-y) 0; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; font-family: var(--font-text); }
.legal h2 { font-size: 20px; margin-top: 2rem; }
.legal p, .legal li { font-size: 16px; max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--ink); }
