/* =========================================================================
   MENDI'S STEINOFEN PIZZA
   ---------------------------------------------------------------------
   Aufbau dieser Datei:
    1  Design-Tokens (Farben, Schriften, Abstände)
    2  Reset & Grundlagen
    3  Bewegungs-System (Scroll-Effekte)
    4  Typografie & wiederkehrende Bausteine
    5  Navigation
    6  Hero
    7  Laufband
    8  Werte
    9  Speisekarte
   10  Mittagsangebot
   11  Über uns
   12  Lieferservice
   13  So bestellst du
   14  Häufige Fragen
   15  Kontakt
   16  Footer
   17  Bestellliste (Panel)
   18  Größenauswahl (Modal)
   19  Mobile Leiste, Toast, Nach-oben
   20  Barrierefreiheit & reduzierte Bewegung
   ========================================================================= */


/* ===================== 1. DESIGN-TOKENS ===================== */

:root {
  /* --- Farben ------------------------------------------------------- */
  --cream:      #faf6ee;   /* Haupt-Hintergrund */
  --cream-2:    #f4eee1;   /* zweite Ebene, leicht wärmer */
  --cream-3:    #ece4d2;   /* Karten-Kanten, Hover-Flächen */
  --dark:       #16110e;   /* warmes Schwarz statt kaltem */
  --dark-2:     #241d18;
  --dark-3:     #3a302a;
  --dim:        #6f6559;   /* gedämpfter Fließtext */
  --border:     #e3dac7;
  --rot:        #c8261c;
  --rot-hell:   #e4402f;
  --rot-dunkel: #97170f;
  --gruen:      #2f5a3a;
  --gold:       #d99a2b;
  --white:      #ffffff;

  /* Glut-Verlauf – zieht sich als Signatur durch die ganze Seite */
  --ember: linear-gradient(135deg, #e4402f 0%, #c8261c 45%, #97170f 100%);
  --ember-glow: 0 18px 44px -14px rgba(200, 38, 28, .55);

  /* --- Schrift ------------------------------------------------------ */
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fließende Größen: passen sich stufenlos an die Fensterbreite an */
  --fs-hero:    clamp(2.6rem, 8.4vw, 8.5rem);
  --fs-h2:      clamp(2.15rem, 5.2vw, 4.4rem);
  --fs-h2-col:  clamp(1.95rem, 3.5vw, 3.1rem);  /* Überschrift in halber Spalte */
  --fs-h3:      clamp(1.35rem, 2.2vw, 1.85rem);
  --fs-lead:    clamp(1.02rem, 1.35vw, 1.22rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-micro:   0.75rem;

  /* --- Abstände ----------------------------------------------------- */
  --s1: .5rem;  --s2: 1rem;   --s3: 1.5rem;  --s4: 2rem;
  --s5: 3rem;   --s6: 4.5rem; --s7: 6.5rem;  --s8: 9rem;
  --section: clamp(4.5rem, 9vw, 9rem);   /* vertikaler Abstand je Abschnitt */

  /* --- Layout ------------------------------------------------------- */
  --container: 1260px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;
  --nav-h: 78px;                      /* wird von JS aktualisiert */

  /* --- Bewegung ----------------------------------------------------- */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur:       .55s;

  /* --- Schatten ----------------------------------------------------- */
  --shadow-sm: 0 2px 8px rgba(22, 17, 14, .05);
  --shadow-md: 0 14px 34px -10px rgba(22, 17, 14, .14);
  --shadow-lg: 0 34px 70px -22px rgba(22, 17, 14, .28);
}


/* ===================== 2. RESET & GRUNDLAGEN ===================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Was per hidden-Attribut versteckt ist, bleibt auch versteckt – egal
   welches display eine Klasse setzt (sonst lugte z. B. die Bestellleiste
   am iPhone unten ins Bild). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  /* clip statt hidden: verhindert seitliches Scrollen, OHNE dabei einen
     eigenen Scroll-Container zu erzeugen (der sticky & Scroll-JS bricht) */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--dark);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2.5px solid var(--rot);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--rot); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Nur für Screenreader – optisch nicht sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--dark);
  color: var(--cream);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* Fortschrittsbalken ganz oben */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ember);
  box-shadow: 0 0 14px rgba(200, 38, 28, .6);
  transition: width .1s linear;
}

/* Filmkorn – ganz feine Textur über der Seite */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 400;
  pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 7s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}


/* ===================== 3. BEWEGUNGS-SYSTEM ===================== */
/* Elemente mit  data-reveal  fahren beim Hereinscrollen sanft ein.
   Varianten:  (leer)=hoch · left · right · scale · clip           */

[data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rv-x, 0), var(--rv-y, 2.75rem), 0) scale(var(--rv-s, 1));
  transition:
    opacity   .95s var(--ease-out) var(--rv-delay, 0ms),
    transform 1.05s var(--ease-out) var(--rv-delay, 0ms),
    clip-path 1.15s var(--ease-out) var(--rv-delay, 0ms),
    filter    .95s var(--ease-out) var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { --rv-x: -3.5rem; --rv-y: 0; }
[data-reveal="right"] { --rv-x:  3.5rem; --rv-y: 0; }
[data-reveal="scale"] { --rv-y: 1.5rem;  --rv-s: .94; }
[data-reveal="clip"]  { --rv-y: 2rem; clip-path: inset(0 0 100% 0 round var(--r-lg)); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}
/* Nur die Bild-Variante wird beschnitten. Läge die Beschneidung auf ALLEN
   eingeblendeten Elementen, würden Kinder, die beim Überfahren ein Stück
   hochfahren (Buttons!), oben abgeschnitten. */
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* Gruppen: Kinder laufen versetzt nacheinander ein */
[data-reveal-group] > * {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  transition:
    opacity   .8s var(--ease-out) calc(var(--i, 0) * 75ms),
    transform .9s var(--ease-out) calc(var(--i, 0) * 75ms);
}
[data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* Überschriften, die Zeile für Zeile hinter einer Kante hervorkommen.
   Das Innen-Padding gibt kursiven Serifen Luft, das negative Außen-Maß
   nimmt es fürs Layout wieder zurück. */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.line-mask > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.05s var(--ease-out) calc(var(--i, 0) * 105ms + var(--rv-delay, 0ms));
}
.is-in .line-mask > span,
.line-mask.is-in > span { transform: none; }

/* Leuchtpunkt, der dem Mauszeiger folgt (nur auf dunklen Flächen) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(228, 64, 47, .22), transparent 62%);
}
.spotlight:hover::after { opacity: 1; }


/* ===================== 4. TYPOGRAFIE & BAUSTEINE ===================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.italic { font-style: italic; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: var(--s2);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--rot-hell); }

.section-head { max-width: 46rem; margin-bottom: var(--s6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__title { font-size: var(--fs-h2); margin-bottom: var(--s3); }
.section-head__title .italic { display: block; color: var(--rot); }
.section-head__sub {
  font-size: var(--fs-lead);
  color: var(--dim);
  max-width: 34rem;
  text-wrap: pretty;
}
.section-head--center .section-head__sub { margin-inline: auto; }

/* --- Buttons -------------------------------------------------------
   Aufbau in Ebenen: Grundfläche · Glanzkante oben · Lichtstreifen beim
   Hover. Bewusst ohne Verfolgen des Mauszeigers – das wirkt unruhig.   */

.btn {
  --btn-von: var(--dark-2);
  --btn-bis: var(--dark);
  --btn-fg: var(--cream);
  --btn-schatten: 0 1px 2px rgba(22,17,14,.2), 0 6px 16px -6px rgba(22,17,14,.4);
  --btn-schatten-hover: 0 2px 4px rgba(22,17,14,.22), 0 16px 30px -10px rgba(22,17,14,.5);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  padding: .92rem 1.7rem;
  border: none;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .004em;
  white-space: nowrap;
  color: var(--btn-fg);
  background-image: linear-gradient(180deg, var(--btn-von), var(--btn-bis));
  box-shadow: var(--btn-schatten);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease),
              filter .3s var(--ease);
}

/* Feine helle Kante oben – lässt die Fläche gewölbt wirken */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22),
              inset 0 -1px 0 rgba(0,0,0,.12);
}

/* Lichtstreifen, der beim Überfahren einmal durchläuft */
.btn::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-18deg);
  transition: left .65s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { left: 125%; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-schatten-hover);
  filter: saturate(1.08) brightness(1.05);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--btn-schatten), inset 0 2px 6px rgba(0,0,0,.2);
  filter: brightness(.97);
  transition-duration: .08s;
}
.btn svg { flex-shrink: 0; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(2px); }

/* Rot – die Hauptaktion */
.btn--primary, .btn--call {
  --btn-von: #d9412f;
  --btn-bis: #ab1d13;
  --btn-fg: #fff;
  --btn-schatten: 0 1px 2px rgba(140,20,12,.3), 0 8px 20px -8px rgba(200,38,28,.65);
  --btn-schatten-hover: 0 2px 5px rgba(140,20,12,.32), 0 18px 34px -10px rgba(200,38,28,.75);
}

/* Glas – auf Bildern und dunklen Flächen */
.btn--ghost {
  --btn-von: rgba(255,255,255,.14);
  --btn-bis: rgba(255,255,255,.06);
  --btn-fg: var(--cream);
  --btn-schatten: 0 1px 2px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.28);
  --btn-schatten-hover: 0 10px 26px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.5);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* Umriss – ruhige Nebenaktionen */
.btn--outline {
  --btn-von: var(--cream);
  --btn-bis: var(--cream-2);
  --btn-fg: var(--dark);
  --btn-schatten: 0 1px 2px rgba(22,17,14,.06), inset 0 0 0 1.5px var(--border);
  --btn-schatten-hover: 0 10px 24px -10px rgba(22,17,14,.3), inset 0 0 0 1.5px var(--dark-3);
}
.btn--outline::after { box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }

.btn--sm  { padding: .6rem 1.05rem; font-size: .85rem; gap: .45rem; }
.btn--lg  { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

@media (max-width: 620px) {
  .btn--call .btn__label { display: none; }
  .btn--call.btn--sm { padding: .6rem .78rem; }
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: .35rem;
  font-size: .92rem;
  font-weight: 650;
  color: var(--rot);
  width: fit-content;
}
.link-arrow svg { transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Kleine Info-Kapsel */
.pill {
  display: inline-flex;
  align-items: center;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 550;
  letter-spacing: .01em;
}

/* Geöffnet-/Geschlossen-Anzeige */
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 650;
  background: rgba(47, 90, 58, .12);
  color: var(--gruen);
  border: 1px solid rgba(47, 90, 58, .25);
  white-space: nowrap;
}
.status--closed { background: rgba(200, 38, 28, .1); color: var(--rot); border-color: rgba(200, 38, 28, .24); }
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse-dot 2.4s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(47, 90, 58, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(47, 90, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 90, 58, 0); }
}
.status--hero, .status--nav {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  color: #7fd694;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.status--hero.status--closed, .status--nav.status--closed { color: #ff9a8f; }

/* Im Hero liegen die Kapseln auf heller Glut. Dunkles Milchglas statt
   hellem – so bleibt Schrift in jedem Zustand gut lesbar. Geschlossen:
   heller Text, nur der Punkt bleibt rot. */
.hero .pill,
.status--hero {
  background: rgba(18, 12, 9, .58);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.status--hero.status--closed { color: var(--cream); }
.status--hero.status--closed .status__dot { background: #ff5a48; }
.status--nav { background: rgba(22, 17, 14, .06); border-color: var(--border); color: var(--gruen); }
.status--nav.status--closed { color: var(--rot); }
@media (max-width: 1300px) { .status--nav { display: none; } }

/* Runder Icon-Knopf */
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--dark);
  flex-shrink: 0;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.icon-btn:hover { background: var(--cream-3); transform: rotate(90deg); }
#back-to-list:hover { transform: translateX(-3px); }


/* ===================== 5. NAVIGATION ===================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: .7rem 0;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              transform .5s var(--ease-out), padding .4s var(--ease),
              box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  padding: .45rem 0;
  background: rgba(250, 246, 238, .82);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px -18px rgba(22, 17, 14, .5);
}
/* Beim Runterscrollen weg, beim Hochscrollen sofort wieder da */
.nav.is-hidden { transform: translateY(-105%); }

/* Ganz oben liegt die Navigation über dem dunklen Hero-Bild.
   Dort muss alles hell sein, sonst ist nichts zu lesen. */
.nav:not(.is-scrolled) .nav__links a { color: rgba(250, 246, 238, .88); }
.nav:not(.is-scrolled) .nav__links a:hover,
.nav:not(.is-scrolled) .nav__links a.is-current { color: var(--white); }
.nav:not(.is-scrolled) .nav__links a::after { background: var(--rot-hell); }

.nav:not(.is-scrolled) .nav__toggle span { background: var(--cream); }

.nav:not(.is-scrolled) .status--nav {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
  color: #86e09b;
}
.nav:not(.is-scrolled) .status--nav.status--closed { color: #ff9f94; }


.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
/* In der Leiste darf nichts umbrechen – lieber Beschriftungen ausblenden */
.nav__links a, .nav__actions .btn, .list-btn { white-space: nowrap; }

/* Das Logo trägt eine dunkelgrüne Zeile ("Steinofen Pizza"). Auf dem
   dunklen Hero-Bild verschwindet die. Deshalb bekommt das Logo dort einen
   hellen Grund – wie ein Schild. Sobald die Navigationsleiste selbst creme
   wird, blendet der Grund weich aus und das Logo steht wieder frei. */
/* Das Logo hängt wie ein Schild aus der Leiste heraus: Der Anker hat eine
   FESTE Höhe (--logo-kasten) und bestimmt damit allein die Leistenhöhe.
   Das Schild darin ist absolut gesetzt, darf größer sein und ragt nach
   unten über die Leiste hinaus – die Leiste wächst dadurch nicht mit.
   Seitenverhältnis des Logos: 1266 / 792 = 1.598.                       */
.nav__logo {
  --logo-h: 78px;                 /* Bildhöhe im Schild */
  --logo-pad: .85rem;             /* Innenabstand des Schilds */
  --logo-kasten: 55px;            /* bestimmt die Höhe der Leiste */

  position: relative;
  flex-shrink: 0;
  height: var(--logo-kasten);
  width: calc(var(--logo-h) * 1.598 + 2 * var(--logo-pad));
  transition: width .45s var(--ease);
}
.nav.is-scrolled .nav__logo { --logo-h: 46px; --logo-pad: .6rem; }

.nav__logo picture {
  position: absolute;
  left: 0;
  top: 2px;                       /* hängt nach unten, nicht nach oben */
  display: block;
  padding: var(--logo-pad);
  border-radius: 18px;
  background: rgba(250, 246, 238, 0);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: background .45s var(--ease), box-shadow .45s var(--ease),
              padding .45s var(--ease), transform .45s var(--ease-out);
}
/* Über dem Hero-Bild braucht das Logo einen hellen Grund, sonst
   verschwindet die dunkelgrüne Zeile „Steinofen Pizza". */
.nav:not(.is-scrolled) .nav__logo picture {
  background: var(--cream);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7),
              inset 0 1px 0 rgba(255, 255, 255, .85);
}
.nav__logo:hover picture { transform: translateY(-2px); }

.nav__logo img {
  display: block;
  height: var(--logo-h);
  width: auto;
  transition: height .45s var(--ease);
}

@media (max-width: 1000px) {
  .nav__logo { --logo-h: 62px; --logo-kasten: 48px; }
  .nav.is-scrolled .nav__logo { --logo-h: 42px; }
}
@media (max-width: 640px) {
  .nav__logo { --logo-h: 54px; --logo-pad: .55rem; --logo-kasten: 44px; }
  .nav.is-scrolled .nav__logo { --logo-h: 36px; }
  .nav__logo picture { border-radius: 13px; }
}

.nav__links { display: none; gap: 1.6rem; align-items: center; }
@media (min-width: 1000px) { .nav__links { display: flex; } }
@media (min-width: 1240px) { .nav__links { gap: var(--s4); } }

.nav__links a {
  position: relative;
  font-size: .95rem;
  font-weight: 550;
  color: var(--dark-2);
  padding: .35rem 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rot);
  border-radius: 2px;
  transition: width .38s var(--ease-out);
}
.nav__links a:hover { color: var(--rot); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-current { color: var(--rot); }
.nav__links a.is-current::after { width: 100%; }

/* „Route" führt aus der Seite heraus in die Karten-App – deshalb
   abgesetzt gestaltet, mit Trennstrich davor. */
.nav__route {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-left: .35rem;
  padding: .35rem .8rem !important;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--dim) !important;
}
.nav__route::after { display: none; }
.nav__route svg { transition: transform .35s var(--ease-out); }
.nav__route:hover {
  color: var(--rot) !important;
  border-color: var(--rot);
  background: rgba(200, 38, 28, .06);
}
.nav__route:hover svg { transform: translate(2px, -2px); }

.nav:not(.is-scrolled) .nav__route {
  border-color: rgba(255, 255, 255, .3);
  color: rgba(250, 246, 238, .88) !important;
}
.nav:not(.is-scrolled) .nav__route:hover {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .14);
}

.nav__actions { display: flex; align-items: center; gap: .6rem; }

/* Merkliste statt Warenkorb – bestellt wird ja am Telefon */
.list-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 42px;
  padding: 0 .95rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 650;
  color: var(--dark);
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
  box-shadow: 0 1px 2px rgba(22,17,14,.06), inset 0 0 0 1.5px var(--border);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease-out), color .25s;
}
.list-btn:hover {
  transform: translateY(-2px);
  color: var(--rot);
  box-shadow: 0 10px 24px -10px rgba(22,17,14,.3), inset 0 0 0 1.5px var(--rot);
}
.list-btn svg { flex-shrink: 0; transition: transform .3s var(--ease-out); }
.list-btn:hover svg { transform: scale(1.08); }

.list-btn__label { display: none; }
@media (min-width: 1420px) { .list-btn__label { display: inline; } }
@media (max-width: 1419px) { .list-btn { padding: 0; width: 42px; justify-content: center; } }

.list-btn__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--cream);
  box-shadow: 0 2px 8px rgba(200,38,28,.5);
  transform: scale(0);
  transition: transform .45s var(--ease-out);
}
.list-btn__count.is-visible { transform: scale(1); }

/* Über dem Hero-Bild muss der Knopf hell sein */
.nav:not(.is-scrolled) .list-btn {
  color: var(--cream);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.nav:not(.is-scrolled) .list-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,.2);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.55);
}
.nav:not(.is-scrolled) .list-btn__count { border-color: rgba(12,7,4,.5); }

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 12px 10px;
}
@media (min-width: 1000px) { .nav__toggle { display: none; } }
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .25s var(--ease);
  transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  /* Füllt den ganzen Bildschirm unter der Kopfzeile – die Seite dahinter
     ist dann nicht mehr sichtbar und lässt sich nicht verschieben. */
  inset: var(--nav-h) 0 auto 0;
  /* Feste Höhe statt bottom: 0 – die Kopfzeile hat einen Blur-Filter und
     wird damit zum Bezugsrahmen; bottom: 0 hieße sonst "Unterkante Kopfzeile". */
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  overscroll-behavior: contain;
  background: var(--cream);
  padding: var(--s3) var(--gutter) var(--s4);
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 50px -20px rgba(22, 17, 14, .3);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-out);
  overflow-y: auto;
}
.nav__mobile.is-open { clip-path: inset(0 0 0 0); }
.nav__mobile a {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .2s;
}
.nav__mobile.is-open a { opacity: 1; transform: none; }
.nav__mobile.is-open a:nth-child(1) { transition-delay: .1s; }
.nav__mobile.is-open a:nth-child(2) { transition-delay: .16s; }
.nav__mobile.is-open a:nth-child(3) { transition-delay: .22s; }
.nav__mobile.is-open a:nth-child(4) { transition-delay: .28s; }
.nav__mobile.is-open a:nth-child(5) { transition-delay: .34s; }
.nav__mobile a:hover { color: var(--rot); }
.nav__mobile a em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--rot);
}
.nav__mobile-call {
  flex-direction: column;
  gap: .15rem !important;
  align-items: flex-start !important;
  margin-top: var(--s3);
  padding: var(--s3) !important;
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--r-md);
  border-bottom: none !important;
}
.nav__mobile-route {
  gap: .6rem !important;
  margin-top: var(--s3);
  padding: 1rem var(--s3) !important;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 650 !important;
  border-bottom: 1.5px solid var(--border) !important;
}
.nav__mobile-route svg { color: var(--rot); flex-shrink: 0; }

.nav__mobile-call span {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rot-hell);
}
.nav__mobile-call strong { font-size: 1.5rem; }


/* ===================== 6. HERO ===================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  color: var(--cream);
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* <picture> braucht eine feste Höhe, sonst bleibt das Bild am Handy
   nur so hoch wie seine Proportion (≈ 250 px) und endet mit harter Kante. */
.hero__media picture { display: block; height: 100%; }

.hero__img {
  width: 100%;
  height: 118%;                 /* Reserve für den Parallax-Versatz */
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 26s var(--ease-soft) infinite alternate;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 7, 4, .9) 0%, rgba(12, 7, 4, .62) 42%, rgba(12, 7, 4, .12) 100%),
    linear-gradient(to bottom, rgba(12, 7, 4, .55) 0%, transparent 26%, transparent 55%, rgba(12, 7, 4, .88) 100%);
}

/* Glutschein unten links */
.hero__ember {
  position: absolute;
  bottom: -22%; left: -14%;
  width: min(620px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 64, 47, .42) 0%, transparent 66%);
  filter: blur(28px);
  animation: ember-breathe 7s ease-in-out infinite;
}
@keyframes ember-breathe {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.13); }
}

/* Aufsteigende Funken (per JS eingesetzt) */
.hero__sparks { position: absolute; inset: 0; overflow: hidden; }
.spark {
  position: absolute;
  bottom: -20px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 8px 2px rgba(255, 150, 60, .75);
  animation: spark-rise linear infinite;
  opacity: 0;
}
@keyframes spark-rise {
  0%   { opacity: 0;   transform: translate3d(0, 0, 0) scale(.4); }
  12%  { opacity: .95; }
  75%  { opacity: .6; }
  100% { opacity: 0;   transform: translate3d(var(--drift, 30px), calc(var(--rise, 70vh) * -1), 0) scale(1.15); }
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 2.5rem) var(--gutter) clamp(5rem, 11vh, 9rem);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: var(--s3);
  animation: rise-in 1s var(--ease-out) both;
}

.hero__title { font-size: var(--fs-hero); max-width: 15ch; margin-bottom: var(--s3); }

.hero__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(.72rem, 1.15vw, .84rem);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #ff8f7e;            /* heller als --rot-hell, damit es auf der Glut lesbar bleibt */
  text-shadow: 0 1px 14px rgba(12, 7, 4, .95), 0 0 3px rgba(12, 7, 4, .8);
  margin-bottom: clamp(.9rem, 2vh, 1.5rem);
}
.hero__line { display: block; line-height: .96; }
.hero__line--italic {
  font-style: italic;
  font-weight: 500;
}
/* Verlaufsschrift. Wichtig fürs iPhone: Safari zeichnet background-clip:text
   nicht neu, wenn sich ein KIND-Element bewegt – die Zeile blieb dann
   unsichtbar, bis irgendetwas die Seite neu malen ließ. Deshalb sitzt der
   Verlauf direkt auf dem Element, das hereinfährt (bzw. ohne JS auf der Zeile). */
.hero__line--italic:not(:has(.line-mask)),
.hero__line--italic .line-mask > span {
  background: linear-gradient(100deg, #ff6a4d 0%, #c8261c 62%, #ff8a5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.hero__sub {
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: rgba(250, 246, 238, .84);
  max-width: 34rem;
  margin-bottom: var(--s4);
  text-wrap: pretty;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  color: rgba(250, 246, 238, .72);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}
.hero__scroll:hover { color: var(--cream); }
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(250, 246, 238, .7));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rot-hell);
  animation: scroll-trail 2.1s var(--ease-soft) infinite;
}
@keyframes scroll-trail {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}
@media (max-height: 700px) { .hero__scroll { display: none; } }


/* ===================== 7. LAUFBAND ===================== */

.ticker {
  background: var(--dark);
  color: var(--cream);
  padding: .95rem 0;
  overflow: hidden;
  border-block: 1px solid var(--dark-3);
  position: relative;
  z-index: 1;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 34s linear infinite;
  will-change: transform;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}
.ticker__group span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}
.ticker__group i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rot);
  flex-shrink: 0;
}
@keyframes ticker-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }


/* ===================== 8. WERTE ===================== */
/* Bewusst ohne Kästen: Zahlen und Haarlinien strukturieren den Bereich,
   nicht Rahmen. Das liest sich wie eine Doppelseite, nicht wie eine App. */

.werte {
  position: relative;
  padding: var(--section) 0;
  overflow: clip;
  isolation: isolate;
}

/* Warmer Farbschleier statt farbiger Flächen */
.werte__waerme {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 14% 26%, rgba(217, 154, 43, .16), transparent 62%),
    radial-gradient(ellipse 48% 42% at 88% 72%, rgba(200, 38, 28, .09), transparent 62%);
}

/* --- Aufmacher: die Teigruhe ---------------------------------------- */
.ruhe {
  display: grid;
  gap: var(--s5);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: var(--s7);
}
@media (min-width: 900px) {
  .ruhe { grid-template-columns: minmax(0, 22rem) 1fr; gap: var(--s7); }
}

.ruhe__uhr {
  position: relative;
  display: grid;
  place-items: center;
  width: min(22rem, 68vw);
  aspect-ratio: 1;
  margin-inline: auto;
}
@media (max-width: 560px) {
  .ruhe__kicker { letter-spacing: .13em; }
  .ruhe { gap: var(--s4); margin-bottom: var(--s6); }
}

/* Glut hinter der Scheibe – gibt Wärme, ohne einen Kasten zu bauen */
.ruhe__glut {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 64, 47, .17) 0%, rgba(217, 154, 43, .1) 45%, transparent 68%);
  filter: blur(26px);
  animation: glut-atmen 9s ease-in-out infinite;
}

.uhr {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  transform: rotate(-90deg);       /* Start oben, wie bei einer Uhr */
}
.uhr__bahn, .uhr__wert {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}
.uhr__bahn { stroke: rgba(22, 17, 14, .09); }
.uhr__wert {
  stroke: url(#teigzeit);
  /* Umfang = 2 · π · 104 ≈ 653.5 – die Linie zieht einmal ganz herum */
  stroke-dasharray: 653.5;
  stroke-dashoffset: 653.5;
  transition: stroke-dashoffset 2.4s var(--ease-out) .3s;
  filter: drop-shadow(0 0 9px rgba(228, 64, 47, .4));
}
[data-reveal].is-in .uhr__wert { stroke-dashoffset: 0; }

/* 24 Stundenstriche, von JS erzeugt */
.uhr__strich {
  stroke: var(--dark);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity .5s var(--ease), stroke .5s var(--ease);
}
[data-reveal].is-in .uhr__strich { opacity: .22; }
.uhr__strich--voll { stroke-width: 3; }
[data-reveal].is-in .uhr__strich--voll { opacity: .45; }

.ruhe__zahl {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .1rem;
  text-align: center;
}
.ruhe__zahl span {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 6.2rem);
  font-weight: 800;
  line-height: .9;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(150deg, #e4402f, #97170f 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ruhe__zahl i {
  font-style: normal;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
}

.ruhe__kicker {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.ruhe__titel {
  font-size: var(--fs-h2-col);
  line-height: 1.06;
  margin-bottom: var(--s3);
}
.ruhe__titel em {
  display: block;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #c8261c, #e4402f 55%, #d99a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ruhe__text p { color: var(--dim); font-size: var(--fs-lead); text-wrap: pretty; }
.ruhe__text strong { color: var(--dark); font-weight: 700; }

.ruhe__tradition {
  margin-top: var(--s3);
  padding-left: var(--s3);
  border-left: 2px solid var(--gold);
  font-style: italic;
  font-size: 1rem !important;
}

/* --- Drei Fakten, durch Haarlinien getrennt -------------------------- */
.fakten { display: grid; gap: 0; }

.fakt {
  position: relative;
  display: grid;
  gap: .5rem var(--s5);
  grid-template-columns: 1fr;
  padding: var(--s4) 0;
  transition: padding-left .45s var(--ease-out);
}
@media (min-width: 760px) {
  .fakt { grid-template-columns: minmax(0, 13rem) 1fr; padding-block: var(--s5); }
}

/* Die Linie wischt beim Erscheinen von links ein */
.fakt::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--border);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.fakt.is-in::before { transform: scaleX(1); }

/* Beim Überfahren färbt sich die Linie warm ein */
.fakt::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--rot), var(--gold) 45%, transparent 80%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.fakt:hover::after { transform: scaleX(1); }
@media (min-width: 760px) { .fakt:hover { padding-left: .9rem; } }

.fakt__zahl {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: .95;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
  transition: color .4s var(--ease);
}
.fakt__zahl i {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color .4s var(--ease);
}
.fakt:hover .fakt__zahl { color: var(--rot); }
.fakt:hover .fakt__zahl i { color: var(--gold); }

.fakt__inhalt h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.fakt__inhalt p { color: var(--dim); max-width: 42rem; text-wrap: pretty; }
.fakt__inhalt .link-arrow { margin-top: var(--s2); }

.fakt__orte { font-size: 1.02rem; line-height: 1.9; }
.fakt__nachsatz { margin-top: .6rem; font-size: .88rem !important; font-style: italic; }
#pizzen-hinweis b { color: var(--gruen); font-weight: 700; }

/* Punktraster: eine Pizza, ein Punkt – inline statt in einem Kasten */
.punkte {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin: var(--s2) 0 .2rem;
  max-width: 26rem;
}
.punkt {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--rot);
  opacity: 0;
  transform: scale(.3);
  transition: opacity .4s var(--ease-out) calc(var(--i) * 24ms),
              transform .5s var(--ease-out) calc(var(--i) * 24ms),
              filter .25s var(--ease);
}
.fakt.is-in .punkt { opacity: .9; transform: none; }
.punkt--veg { background: var(--gruen); }
.punkt:hover { filter: brightness(1.3); transform: scale(1.3) !important; opacity: 1; }


/* ===================== 9. SPEISEKARTE ===================== */

.menu {
  padding: var(--section) 0;
  background: var(--cream-2);
  position: relative;
}

/* Kategorien + Suche kleben unter der Navigation */
.menu__bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: var(--s3);
  padding: .7rem 0;
  background: linear-gradient(to bottom, var(--cream-2) 78%, transparent);
}

.tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Ohne min-width:0 weigert sich ein Flex-Element, unter seine
     Inhaltsbreite zu schrumpfen – die Reiter würden abgeschnitten
     statt scrollbar zu sein. */
  min-width: 0;
  padding: 3px;
  background: rgba(22, 17, 14, .05);
  border-radius: 999px;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .58rem 1.05rem;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 650;
  color: var(--dim);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.tab:hover { color: var(--dark); }
.tab.is-active { background: var(--dark); color: var(--cream); box-shadow: var(--shadow-sm); }

/* Kleines Plus, das sich beim Aufklappen zum Minus dreht */
.tab i {
  position: relative;
  width: 9px; height: 9px;
  flex-shrink: 0;
  opacity: .55;
}
.tab i::before, .tab i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}
.tab i::after { transform: translate(-50%, -50%) rotate(90deg); }
.tab.is-active i { opacity: 1; }
.tab.is-active i::after { transform: translate(-50%, -50%) rotate(0); }

/* --- Auf-/Zuklappen der Kategorie ------------------------------------
   0fr → 1fr animiert die Höhe, ohne dass wir sie kennen müssen.        */
.menu__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .6s var(--ease-out), opacity .35s var(--ease);
}
.menu__panel.is-open { grid-template-rows: 1fr; opacity: 1; }

/* visibility erst NACH dem Zuklappen abschalten: während der Bewegung
   bleibt der Inhalt sichtbar, danach fliegt er aus der Tab-Reihenfolge. */
.menu__panel-innen {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .6s;
}
.menu__panel.is-open .menu__panel-innen {
  visibility: visible;
  transition-delay: 0s;
}

/* Hinweis, solange nichts aufgeklappt ist */
.menu__zu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: var(--s5) var(--s3);
  margin-top: var(--s2);
  border: 1.5px dashed var(--border);
  border-radius: var(--r-lg);
  color: var(--dim);
  font-size: .95rem;
  text-align: center;
}
.menu__zu[hidden] { display: none; }
.menu__zu svg {
  color: var(--rot);
  animation: pfeil-tippen 2.4s var(--ease-out) infinite;
}
@keyframes pfeil-tippen {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.menu__tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; min-width: 0; }

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute;
  left: .85rem;
  color: var(--dim);
  pointer-events: none;
}
.search input {
  width: clamp(11rem, 24vw, 16rem);
  padding: .62rem 2.1rem .62rem 2.35rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  font-size: .87rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), width .3s var(--ease);
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus {
  outline: none;
  border-color: var(--rot);
  box-shadow: 0 0 0 4px rgba(200, 38, 28, .1);
}
.search button {
  position: absolute;
  right: .5rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--dim);
  background: var(--cream-3);
}
.search button:hover { background: var(--dark); color: var(--cream); }

.chip-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .58rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  font-size: .85rem;
  font-weight: 600;
  color: var(--dim);
  transition: all .25s var(--ease);
}
.chip-toggle:hover { border-color: var(--gruen); color: var(--gruen); }
.chip-toggle[aria-pressed="true"] {
  background: var(--gruen);
  border-color: var(--gruen);
  color: var(--white);
}

.menu__count {
  font-size: var(--fs-small);
  color: var(--dim);
  margin-bottom: var(--s3);
}
/* „Auch gefunden in: Salate (2)" – springt in die andere Kategorie */
.menu__jump {
  font: inherit;
  color: var(--rot);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
.menu__jump:hover { color: var(--rot-dunkel); }

.menu__grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
@media (min-width: 680px)  { .menu__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .menu__grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Pizza-Karte --------------------------------------------------- */
.pizza-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: var(--s3);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .35s var(--ease);
  animation: card-in .55s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 28ms);
}
@keyframes card-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); }
  to   { opacity: 1; transform: none; }
}
/* Lichtschein, der dem Zeiger über die Karte folgt */
.pizza-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 38, 28, .09), transparent 70%);
  transition: opacity .4s var(--ease);
}
.pizza-card:hover {
  border-color: rgba(200, 38, 28, .38);
  box-shadow: var(--shadow-md);
}
.pizza-card:hover::before { opacity: 1; }

.pizza-card__head { display: flex; align-items: flex-start; gap: .85rem; }
.pizza-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: .92;
  color: var(--rot);
  opacity: .5;
  transition: opacity .35s var(--ease), transform .35s var(--ease-out);
}
.pizza-card:hover .pizza-card__num { opacity: 1; transform: scale(1.06); }
.pizza-card__name { font-size: 1.32rem; padding-top: .1rem; }

.pizza-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tag--veg     { background: rgba(47, 90, 58, .1);  color: var(--gruen); }
.tag--spicy   { background: rgba(200, 38, 28, .1); color: var(--rot); }
.tag--popular { background: rgba(217, 154, 43, .16); color: #8a5f11; }

.pizza-card__desc {
  font-size: .9rem;
  color: var(--dim);
  font-style: italic;
  line-height: 1.5;
  flex: 1;
}

.pizza-card__prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.pizza-card__price { text-align: center; }
.pizza-card__price-label {
  display: block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .1rem;
}
.pizza-card__price-value {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pizza-card__btn {
  padding: .72rem 1.2rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-size: .87rem;
  font-weight: 650;
  text-align: center;
  transition: background .25s var(--ease), transform .25s var(--ease-out);
}
.pizza-card__btn:hover { background: var(--rot); transform: scale(1.02); }

/* --- Kompakte Zeile (Salate, Brot, Dessert, Getränke) --------------- */
.simple-grid { grid-template-columns: 1fr !important; gap: 0 var(--s5) !important; }
@media (min-width: 820px) { .simple-grid { grid-template-columns: repeat(2, 1fr) !important; } }

.simple-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 1.05rem .4rem;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
  animation: card-in .5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 32ms);
}
.simple-card:hover { background: rgba(255, 255, 255, .6); padding-left: .9rem; }
.simple-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.simple-card__desc { font-size: .85rem; color: var(--dim); font-style: italic; }
.simple-card__pfand {
  margin-top: .2rem;
  font-size: .76rem;
  color: var(--dim);
  opacity: .85;
}

.simple-card__right { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.simple-card__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rot);
  font-variant-numeric: tabular-nums;
}
.simple-card__btn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 0;
  transition: background .25s var(--ease), transform .25s var(--ease-out);
}
.simple-card__btn:hover { background: var(--rot); transform: scale(1.12) rotate(90deg); }

.menu__empty {
  padding: var(--s6) 0;
  text-align: center;
  color: var(--dim);
  font-style: italic;
}

.menu__extra {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
  margin-top: var(--s5);
  padding: var(--s4);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
@media (min-width: 820px) { .menu__extra { grid-template-columns: repeat(3, 1fr); } }
.menu__extra-item strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.menu__extra-item span { font-size: .87rem; color: var(--dim); }

.menu__preishinweis {
  margin-top: var(--s3);
  font-size: .82rem;
  line-height: 1.6;
  color: var(--dim);
  text-align: center;
}
.menu__preishinweis strong { color: var(--dark-3); }

/* --- Allergene ----------------------------------------------------- */
.allergene {
  margin-top: var(--s3);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.allergene summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 1.15rem var(--s4);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  transition: background .25s var(--ease);
}
.allergene summary::-webkit-details-marker { display: none; }
.allergene summary:hover { background: var(--cream-2); }
.allergene summary svg { transition: transform .35s var(--ease-out); color: var(--rot); }
.allergene[open] summary svg { transform: rotate(180deg); }
.allergene__body { padding: 0 var(--s4) var(--s4); }
.allergene__note {
  padding: var(--s3);
  background: rgba(217, 154, 43, .1);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .89rem;
  color: var(--dark-3);
  margin-bottom: var(--s3);
}
.allergene__grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .allergene__grid { grid-template-columns: 1fr 1fr; } }

.kenn-liste h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: .7rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.kenn-liste dl {
  display: grid;
  gap: .3rem .9rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  font-size: .84rem;
}
.kenn-liste dl > div { display: flex; gap: .5rem; }
.kenn-liste dt {
  min-width: 1.5rem;
  font-weight: 700;
  color: var(--rot);
  font-variant-numeric: tabular-nums;
}
.kenn-liste dd { color: var(--dim); }

.allergene__fuss {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--dim);
}

/* Hochgestellte Kennzeichnung hinter Gerichtnamen (wie auf dem Flyer) */
.kenn {
  margin-left: .3em;
  font-family: var(--font-body);
  font-size: .5em;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--dim);
  vertical-align: super;
  line-height: 0;
  cursor: help;
  white-space: nowrap;
}
.pizza-card:hover .kenn, .simple-card:hover .kenn { color: var(--rot); }

/* Dressing-Zeile im Hinweiskasten */
#dressing-liste .kenn { font-size: .62em; }


/* ===================== 10. MITTAGSANGEBOT ===================== */

.mittag {
  position: relative;
  padding: var(--section) 0;
  background: var(--dark);
  color: var(--cream);
  overflow: clip;
  isolation: isolate;
}

/* Zwei langsam atmende Glutflächen im Hintergrund */
.mittag__glut {
  position: absolute;
  z-index: -1;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,38,28,.42) 0%, transparent 64%);
  filter: blur(36px);
  top: -28%; left: -14%;
  animation: glut-atmen 11s ease-in-out infinite;
}
.mittag__glut--zwei {
  top: auto; left: auto;
  bottom: -34%; right: -12%;
  width: min(620px, 80vw);
  background: radial-gradient(circle, rgba(217,154,43,.26) 0%, transparent 66%);
  animation-duration: 14s;
  animation-direction: reverse;
}
@keyframes glut-atmen {
  0%, 100% { transform: scale(1)    translate3d(0, 0, 0);        opacity: .75; }
  50%      { transform: scale(1.16) translate3d(3%, -4%, 0);     opacity: 1; }
}

.mittag__karte {
  display: grid;
  gap: var(--s5);
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(58,48,42,.55), rgba(22,17,14,.5));
  border: 1px solid rgba(250,246,238,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
@media (min-width: 900px) {
  .mittag__karte { grid-template-columns: 1fr auto; gap: var(--s6); }
}

.mittag__titel {
  font-size: var(--fs-h2-col);
  color: var(--cream);
  margin-bottom: var(--s3);
}
.mittag__titel .italic {
  display: block;
  background: linear-gradient(100deg, #ffb08a, #e4402f 60%, #ff8a5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mittag__lead {
  font-size: var(--fs-lead);
  color: rgba(250,246,238,.78);
  max-width: 34rem;
  margin-bottom: var(--s3);
  text-wrap: pretty;
}

/* Wochentage als Kacheln */
.mittag__tage {
  display: flex;
  gap: .35rem;
  margin-bottom: var(--s3);
  max-width: 26rem;
}
.mittag__tage li {
  display: grid;
  place-items: center;
  flex: 1 1 0;              /* sieben gleich breite Kästchen in einer Reihe */
  min-width: 0;
  padding: .5rem .3rem;
  border-radius: var(--r-sm);
  background: rgba(250,246,238,.07);
  border: 1px solid rgba(250,246,238,.14);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease-out), color .3s;
}
.mittag__tage li:hover { transform: translateY(-3px); }
.mittag__tage li.is-ruhetag {
  color: rgba(250,246,238,.32);
  text-decoration: line-through;
  text-decoration-color: var(--rot);
}
/* Der heutige Tag wird von JS markiert */
.mittag__tage li.is-heute {
  background: var(--ember);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--ember-glow);
}

.mittag__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 650;
  background: rgba(47,90,58,.18);
  border: 1px solid rgba(127,214,148,.3);
  color: #86e09b;
  margin-bottom: var(--s2);
}
.mittag__status.is-aus {
  background: rgba(250,246,238,.06);
  border-color: rgba(250,246,238,.16);
  color: rgba(250,246,238,.6);
}
.mittag__fussnote { font-size: .8rem; color: rgba(250,246,238,.45); }

/* --- Preis-Stempel --------------------------------------------------- */
.stempel {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(13rem, 26vw, 17.5rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #e4402f, #97170f 74%);
  box-shadow: 0 26px 60px -18px rgba(200,38,28,.7),
              inset 0 2px 0 rgba(255,255,255,.28),
              inset 0 -18px 40px rgba(0,0,0,.28);
  transform: rotate(-7deg);
  transition: transform .6s var(--ease-out);
}
.mittag__karte:hover .stempel { transform: rotate(-2deg) scale(1.03); }

/* Gestrichelter Ring, der langsam kreist */
.stempel__ring {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.42);
  animation: ring-drehen 28s linear infinite;
}
@keyframes ring-drehen { to { transform: rotate(360deg); } }

.stempel__inhalt {
  display: grid;
  justify-items: center;
  gap: .1rem;
  text-align: center;
  color: #fff;
  transform: rotate(7deg);
}
.stempel__oben, .stempel__unten {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
}
.stempel__unten { max-width: 9rem; letter-spacing: .1em; line-height: 1.4; }
.stempel__preis {
  display: flex;
  align-items: baseline;
  gap: .06em;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 10px rgba(0,0,0,.28);
}
.stempel__preis i { font-style: normal; font-size: .62em; opacity: .9; }
.stempel__preis b { font-weight: inherit; }


/* ===================== 11. ÜBER UNS ===================== */

.story { padding: var(--section) 0; }
/* Ohne Foto: eine Textspalte mit angenehmer Zeilenlänge */
.story__grid { max-width: 46rem; }
.story__title { font-size: var(--fs-h2-col); margin-bottom: var(--s3); }
.story__title .italic { display: block; color: var(--rot); }
.story__text p { color: var(--dim); margin-bottom: var(--s2); text-wrap: pretty; }
.story__text .link-arrow { margin-top: var(--s2); }

/* ===================== 12. LIEFERSERVICE ===================== */

.delivery {
  padding: var(--section) 0;
  background: var(--cream-2);
  overflow: clip;
}
.delivery__grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .delivery__grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
}

.delivery__media { position: relative; }
.delivery__media img {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(22, 17, 14, .18));
}
/* Das Auto fährt einmal von links herein, sobald der Abschnitt sichtbar
   wird (JS setzt .is-driving). Eine feste Animation statt Scroll-Kopplung
   läuft auch am iPhone beim Schwung-Scrollen gleichmäßig. */
.delivery__media.js-drive img {
  transform: translate3d(-75%, 0, 0);
  opacity: 0;
  transition: transform 1.7s cubic-bezier(.22, .9, .3, 1), opacity .7s ease-out;
  will-change: transform;
}
.delivery__media.js-drive.is-driving img {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
/* Kurzes Nachfedern beim Anhalten */
.delivery__media.is-driving picture {
  display: block;
  animation: auto-stopp .6s ease-out 1.45s both;
}
@keyframes auto-stopp {
  0%   { transform: rotate(0); }
  35%  { transform: rotate(-1.4deg) translateY(-2px); }
  70%  { transform: rotate(.5deg); }
  100% { transform: rotate(0); }
}
/* Straße unter dem Auto */
.delivery__road {
  display: block;
  height: 2px;
  max-width: 34rem;
  margin: -.5rem auto 0;
  background: linear-gradient(to right, transparent, var(--border) 18%, var(--border) 82%, transparent);
  position: relative;
  overflow: hidden;
}
.delivery__road::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--rot), transparent);
  width: 30%;
  animation: road-dash 2.6s var(--ease-soft) infinite;
}
@keyframes road-dash {
  from { transform: translateX(-120%); }
  to   { transform: translateX(430%); }
}

.delivery__title { font-size: var(--fs-h2-col); margin-bottom: var(--s3); }
.delivery__title .italic { display: block; color: var(--rot); }
.delivery__lead { font-size: var(--fs-lead); color: var(--dim); margin-bottom: var(--s3); }

.delivery__list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: var(--s3);
}
.delivery__list li {
  padding: .48rem 1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 550;
  cursor: default;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease-out);
}
.delivery__list li:hover {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
  transform: translateY(-2px);
}
.delivery__note { font-size: .87rem; color: var(--dim); font-style: italic; }


/* ===================== 14. HÄUFIGE FRAGEN ===================== */

.faq { padding: var(--section) 0; background: var(--cream-2); }
.faq__list { max-width: 52rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: padding .3s var(--ease);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rot); }
/* Plus-Zeichen, das sich beim Öffnen zum Minus dreht */
.faq-item summary i {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 2px;
  border-radius: 2px;
  background: var(--rot);
  transform: translate(-50%, -50%);
  transition: transform .38s var(--ease-out);
}
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] summary { color: var(--rot); }
.faq-item__body {
  padding-bottom: 1.35rem;
  max-width: 46rem;
  animation: faq-open .45s var(--ease-out);
}
.faq-item__body p { color: var(--dim); font-size: .97rem; text-wrap: pretty; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}


/* ===================== 15. KONTAKT ===================== */

.contact { padding: var(--section) 0; }
.contact__grid {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .contact__grid { grid-template-columns: 1.35fr 1fr 1.15fr; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: var(--s4);
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.contact-card--phone {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream);
}
.contact-card--phone .contact-card__label { color: var(--rot-hell); }

.contact-card__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rot);
}
.contact-card__value { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.contact-card__phone {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  transition: color .25s var(--ease), transform .35s var(--ease-out);
  width: fit-content;
}
.contact-card__phone:hover { color: var(--rot-hell); transform: translateX(3px); }
.contact-card__note { font-size: .88rem; color: rgba(250, 246, 238, .66); }
.contact-card--phone .status { align-self: flex-start; margin-top: auto; }

.hours { font-size: .89rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: .42rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s var(--ease);
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { font-weight: 650; }
.hours li span:last-child { color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.hours li.is-closed span:last-child { color: var(--rot); font-style: italic; }
/* Der heutige Tag wird hervorgehoben */
.hours li.is-today {
  position: relative;
  font-weight: 700;
  color: var(--rot);
}
.hours li.is-today span:last-child { color: var(--rot); }
.hours li.is-today::before {
  content: '';
  position: absolute;
  left: -.85rem; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rot);
  transform: translateY(-50%);
}


/* ===================== 15b. ANFAHRT / KARTE ===================== */

.karte { padding: var(--section) 0; background: var(--cream-2); }

.karte__rahmen {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}

.karte__platzhalter,
.karte__rahmen iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
}
@media (max-width: 700px) {
  .karte__platzhalter, .karte__rahmen iframe { aspect-ratio: 4 / 5; }
}

/* Stilisierte Karte, solange Google nicht geladen ist */
.karte__platzhalter {
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--s4);
  background:
    radial-gradient(circle at 70% 30%, rgba(200,38,28,.07), transparent 55%),
    linear-gradient(160deg, #f2ece0, #e6dcc8);
  overflow: hidden;
}
.karte__raster {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(22,17,14,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,17,14,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(600px) rotateX(18deg) scale(1.15);
}
.karte__strasse {
  position: absolute;
  background: rgba(250,246,238,.85);
  box-shadow: 0 0 0 1px rgba(22,17,14,.05);
}
.karte__strasse--a { left: -10%; right: -10%; top: 46%; height: 16px; transform: rotate(-4deg); }
.karte__strasse--b { top: -10%; bottom: -10%; left: 32%; width: 12px; transform: rotate(6deg); }

.karte__nadel {
  position: absolute;
  top: 22%; left: 26%;
  color: var(--rot);
  filter: drop-shadow(0 6px 10px rgba(200,38,28,.4));
  animation: nadel-huepfen 2.8s var(--ease-out) infinite;
}
.karte__nadel::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 26px; height: 9px;
  border-radius: 50%;
  background: rgba(22,17,14,.16);
  transform: translateX(-50%);
  filter: blur(2px);
}
@keyframes nadel-huepfen {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.karte__box {
  position: relative;
  max-width: 24rem;
  padding: var(--s4);
  text-align: center;
  background: rgba(250,246,238,.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.karte__label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.karte__adresse {
  font-size: .92rem;
  color: var(--dim);
  margin-bottom: var(--s3);
  line-height: 1.5;
}
.karte__hinweis {
  margin-top: var(--s2);
  font-size: .74rem;
  line-height: 1.5;
  color: var(--dim);
}
.karte__hinweis a { color: var(--rot); text-decoration: underline; text-underline-offset: 2px; }

.karte__aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: var(--s4);
}


/* ===================== 15c. URHEBERZEILE ===================== */
/* Schmales Band zwischen Anfahrt und Footer – bewusst zurückhaltend,
   damit es die Seite abschließt statt sie zu unterbrechen. */

.credit {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: var(--s5) 0;
}

/* Urheberzeile: Beschriftung und Logo.
   Mobil untereinander, ab Tablet in einer Reihe. */
.credit__zeile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.credit__label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dark-3);
}

.credit__logo {
  display: block;
  height: 46px;
  width: auto;
}

@media (min-width: 560px) {
  .credit__zeile { flex-direction: row; gap: 1.75rem; }
  .credit__logo { height: 59px; }
}


/* ===================== 16. FOOTER ===================== */

.footer { background: var(--dark); color: var(--cream); padding-top: var(--s6); }
.footer__inner {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
  padding-bottom: var(--s5);
}
@media (min-width: 780px) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s5); }
}

/* Das Logo ist freigestellt und darf hier in Originalfarbe stehen –
   ein heller Schein trennt es sauber vom dunklen Grund. */
/* Gleiches Prinzip wie in der Kopfzeile: heller Grund, damit die
   dunkelgrüne Zeile auf dem dunklen Footer lesbar bleibt. */
.footer__logo-link {
  display: inline-block;
  padding: .85rem 1.15rem;
  margin-bottom: var(--s3);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .75),
              inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.footer__logo-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, .8),
              0 0 0 1px rgba(228, 64, 47, .35),
              inset 0 1px 0 rgba(255, 255, 255, .9);
}
.footer__logo { display: block; height: 76px; width: auto; }
@media (max-width: 779px) {
  .footer__logo-link { padding: .7rem .95rem; }
  .footer__logo { height: 64px; }
}
.footer__adresse {
  margin-top: var(--s2);
  font-size: .86rem !important;
  font-style: normal !important;
  color: rgba(250,246,238,.7) !important;
}
.footer__adresse a { color: var(--rot-hell); font-weight: 600; }
.footer__adresse a:hover { color: var(--white); }
.footer__brand p { color: rgba(250, 246, 238, .55); font-size: .88rem; font-style: italic; }

.footer__col h2 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rot-hell);
  margin-bottom: var(--s2);
}
.footer__col a, .footer__col p {
  display: block;
  color: rgba(250, 246, 238, .66);
  font-size: .88rem;
  line-height: 1.6;
  padding: .22rem 0;
  width: fit-content;
  transition: color .22s var(--ease), transform .22s var(--ease-out);
}
.footer__col a:hover { color: var(--rot-hell); transform: translateX(4px); }

.footer__insta { display: inline-flex !important; align-items: center; gap: .45rem; }
.footer__insta svg { flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(250, 246, 238, .1);
  padding: var(--s3) 0;
  font-size: .8rem;
  color: rgba(250, 246, 238, .45);
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  flex-wrap: wrap;
}

.to-top {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, .18);
  color: var(--cream);
  transition: background .25s var(--ease), transform .3s var(--ease-out), border-color .25s;
}
.to-top:hover { background: var(--rot); border-color: var(--rot); transform: translateY(-3px); }


/* ===================== 17. BESTELLLISTE (Panel) ===================== */

.cart {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 27.5rem);
  z-index: 250;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform .5s var(--ease-out);
  box-shadow: -30px 0 70px -20px rgba(0, 0, 0, .35);
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }

.cart__view { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cart__view[hidden] { display: none; }

.cart__head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart__head > div { flex: 1; }
.cart__head h2 { font-size: 1.35rem; }
.cart__hint { font-size: .78rem; color: var(--dim); }

.cart__items {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--s3) var(--s4);
}

.cart__empty { text-align: center; padding: var(--s6) 0; color: var(--dim); }
.cart__empty svg { margin: 0 auto var(--s2); color: var(--border); }
.cart__empty span { display: block; font-size: .85rem; font-style: italic; opacity: .75; margin-top: .3rem; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem var(--s2);
  padding: .95rem 0;
  border-bottom: 1px solid var(--border);
  animation: card-in .35s var(--ease-out) both;
}
.cart-item__name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.25; }
.cart-item__size { font-size: .78rem; color: var(--dim); }
.cart-item__price {
  font-weight: 700;
  color: var(--rot);
  font-size: .95rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cart-item__ctrl {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .35rem;
}
.cart-item__ctrl button {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream-2);
  font-size: 1rem;
  font-weight: 700;
  line-height: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cart-item__ctrl button:hover { background: var(--dark); color: var(--cream); }
.cart-item__qty { min-width: 1.6rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-item__remove {
  margin-left: auto;
  width: auto !important;
  padding: 0 .5rem;
  border-radius: 999px !important;
  font-size: .78rem !important;
  font-weight: 500 !important;
  color: var(--dim);
  background: transparent !important;
  text-decoration: underline;
}
.cart-item__remove:hover { color: var(--rot) !important; background: transparent !important; }

.cart__foot {
  flex-shrink: 0;
  padding: var(--s3) var(--s4) var(--s4);
  background: var(--cream-2);
  border-top: 1px solid var(--border);
}

.cart__mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: .5rem;
}
.cart__mode label { cursor: pointer; }
.cart__mode input { position: absolute; opacity: 0; pointer-events: none; }
.cart__mode span {
  display: block;
  padding: .6rem .5rem;
  text-align: center;
  font-size: .84rem;
  font-weight: 650;
  color: var(--dim);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cart__mode input:checked + span { background: var(--dark); color: var(--cream); }
.cart__mode input:focus-visible + span { outline: 2.5px solid var(--rot); outline-offset: 2px; }

.cart__mode-note {
  font-size: .78rem;
  color: var(--dim);
  text-align: center;
  min-height: 1.1rem;
  margin-bottom: .6rem;
}
.cart__mode-note.is-warn { color: var(--rot); font-weight: 600; }

.cart__pfand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .8rem;
  color: var(--dim);
  padding-bottom: .4rem;
}
.cart__pfand[hidden] { display: none; }

.cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: .8rem;
  margin-bottom: .3rem;
  border-bottom: 1px solid var(--border);
}
.cart__total span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.cart__total strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--rot);
  font-variant-numeric: tabular-nums;
}

.cart__clear {
  display: block;
  width: 100%;
  margin-top: .6rem;
  font-size: .8rem;
  color: var(--dim);
  text-decoration: underline;
  transition: color .2s var(--ease);
}
.cart__clear:hover { color: var(--rot); }

.cart__disclaimer {
  margin-top: var(--s2);
  font-size: .74rem;
  line-height: 1.45;
  color: var(--dim);
  text-align: center;
}

/* Anruf-Ansicht */
.callbox {
  padding: var(--s4);
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  flex-shrink: 0;
}
.callbox__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  text-wrap: balance;
  transition: color .25s var(--ease), transform .35s var(--ease-out);
}
.callbox__number svg { flex-shrink: 0; }
.callbox__number:hover { color: var(--rot-hell); transform: scale(1.03); }
.callbox__number svg { color: var(--rot-hell); animation: ring 2.6s var(--ease-soft) infinite; }
@keyframes ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-13deg); }
  70% { transform: rotate(11deg); }
  74% { transform: rotate(-9deg); }
  78% { transform: rotate(7deg); }
  82% { transform: rotate(0); }
}
.callbox .status { margin-top: .8rem; }

.readout__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .6rem;
}
.readout {
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  padding: var(--s3);
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--s2);
}


/* ===================== 18. OVERLAY & MODAL ===================== */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(12, 7, 4, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.overlay.is-visible { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: var(--s3);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.modal.is-open { opacity: 1; pointer-events: auto; visibility: visible; }

.modal__box {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: 90dvh;
  overflow-y: auto;
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--cream);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.96);
  transition: transform .45s var(--ease-out);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: .8rem; right: .8rem; background: var(--cream-2); }
.modal__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rot);
  opacity: .55;
}
.modal__title { font-size: 1.75rem; margin: .2rem 0 .35rem; }
.modal__desc { font-size: .89rem; font-style: italic; color: var(--dim); margin-bottom: .7rem; }
.modal__kenn {
  padding: .55rem .8rem;
  margin-bottom: var(--s3);
  background: var(--cream-2);
  border-radius: var(--r-sm);
  font-size: .74rem;
  line-height: 1.45;
  color: var(--dim);
}
.modal__eyebrow[hidden] { display: none; }

/* Gerichte mit nur einer Größe: Preis nicht über drei Spalten strecken */
.pizza-card__prices[data-single] { grid-template-columns: 1fr; }
.pizza-card__prices[data-single] .pizza-card__price { text-align: left; }

.size-picker { display: grid; gap: .55rem; margin-bottom: var(--s3); }
.size-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: .85rem 1.1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease-out);
}
.size-option:hover { border-color: var(--dark-3); transform: translateX(3px); }
.size-option.is-active {
  border-color: var(--rot);
  background: rgba(200, 38, 28, .055);
  box-shadow: 0 0 0 3px rgba(200, 38, 28, .1);
}
.size-option__label { display: flex; flex-direction: column; }
.size-option__name { font-weight: 700; font-size: .95rem; }
.size-option__dim { font-size: .76rem; color: var(--dim); }
.size-option__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rot);
  font-variant-numeric: tabular-nums;
}
#modal-add:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
#modal-add:disabled::before { transform: translateY(101%); }


/* ===================== 19. MOBILE LEISTE · TOAST · NACH OBEN ===================== */

.mobile-bar {
  position: fixed;
  left: .75rem; right: .75rem;
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  z-index: 190;
  display: flex;
  gap: .5rem;
  transform: translateY(160%);
  transition: transform .45s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }

.mobile-bar__list {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.1rem;
  background: var(--dark);
  color: var(--cream);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.mobile-bar__count {
  display: grid;
  place-items: center;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rot);
  color: var(--white);
  font-size: .74rem;
  font-weight: 800;
}
.mobile-bar__call {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .9rem 1.35rem;
  background: var(--ember);
  color: var(--white);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: var(--ember-glow);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: 320;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.35rem;
  background: var(--dark);
  color: var(--cream);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 130%);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
  max-width: calc(100vw - 2rem);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--rot-hell); }
@media (max-width: 999px) {
  .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}


/* ===================== 19b. FEINSCHLIFF FÜR KLEINE DISPLAYS ===================== */

@media (max-width: 640px) {
  /* Auf dem Handy steht der Text unter dem Bild, nicht daneben –
     der Verlauf muss deshalb von oben nach unten dunkler werden. */
  /* Unten läuft der Verlauf weich in exakt die Farbe der folgenden
     Laufschrift (--dark) aus – so gibt es keine sichtbare Kante. */
  .hero__scrim {
    background:
      linear-gradient(to bottom,
        rgba(22, 17, 14, .70) 0%,
        rgba(22, 17, 14, .30) 22%,
        rgba(22, 17, 14, .45) 42%,
        rgba(22, 17, 14, .78) 64%,
        rgba(22, 17, 14, .94) 84%,
        rgba(22, 17, 14, 1) 100%);
  }
  .hero__img { object-position: 30% center; }

  /* Kopfzeile kompakter, damit vier Elemente nebeneinander passen.
     Die Logo-Größe steckt weiter oben in --logo-h und wird hier
     bewusst NICHT nochmal gesetzt. */
  .nav__inner { gap: .5rem; }
  .nav__actions { gap: .4rem; }
  .nav__toggle { width: 40px; padding: 11px 8px; }

  /* Die beiden Info-Kapseln im Hero nebeneinander statt untereinander */
  .hero__badges { gap: .4rem; }
  .pill, .status--hero { font-size: .68rem; padding: .3rem .65rem; }

  .hero__sub { font-size: 1rem; }
  .hero__cta { gap: .55rem; }
  .hero__cta .btn { flex: 1 1 100%; }

  /* Speisekarten-Leiste: Kategorien oben, Suche darunter über volle Breite.
     nowrap ist hier wichtig: in Spaltenrichtung würde eine umbrechende
     Flex-Zeile auf die Breite des breitesten Kindes wachsen – die
     Reiterleiste würde dann überstehen statt seitlich zu scrollen. */
  .menu__bar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .menu__tools { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
  .chip-toggle { justify-content: center; }

  /* Pfeil über den Text statt daneben – sonst steht er neben zwei Zeilen */
  .menu__zu { flex-direction: column; gap: .35rem; padding-block: var(--s4); }

  .pizza-card { padding: 1.1rem; }
  .pizza-card__num { font-size: 2rem; }
  .pizza-card__name { font-size: 1.2rem; }

  .contact-card { padding: 1.35rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }

  /* Größere Tippflächen – Finger sind ungenauer als ein Mauszeiger */
  .footer__col a, .footer__col p { padding: .5rem 0; }
  .btn--call { padding: .72rem .9rem; min-height: 44px; }
  .search button { width: 28px; height: 28px; }
  .link-arrow { padding-block: .5rem; }
  .hours li { padding: .55rem 0; }
}

/* ===================== 20. BARRIEREFREIHEIT ===================== */

/* Wer im System „Bewegung reduzieren“ eingestellt hat, bekommt eine
   ruhige Version der Seite – alle Inhalte bleiben sichtbar. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .grain, .hero__sparks, .hero__ember, .delivery__road::after { display: none; }
  .hero__img { animation: none; height: 100%; transform: none; }
  .ticker__track { animation: none; }
  .mittag__glut, .stempel__ring, .karte__nadel { animation: none; }
  .ruhe__glut { animation: none; }
  .menu__zu svg { animation: none; }
  .menu__panel { transition: none; }
  .menu__panel-innen { transition-delay: 0s; }
  .tab i::before, .tab i::after { transition: none; }
  .uhr__wert { stroke-dashoffset: 0 !important; transition: none; }
  .uhr__strich { opacity: .22 !important; transition: none; }
  .fakt::before { transform: scaleX(1) !important; transition: none; }
  .punkt { opacity: .85 !important; transform: none !important; transition: none; }
  .stempel { transform: none; }
  .stempel__inhalt { transform: none; }
  .btn::before { display: none; }

  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .line-mask > span { transform: none !important; }
  .delivery__media img { transform: none !important; opacity: 1 !important; }
}

/* Druckansicht: nur das Wesentliche */
@media print {
  .nav, .mobile-bar, .cart, .overlay, .modal, .grain,
  .scroll-progress, .hero__scroll, .ticker, .to-top { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; }
  .hero__media { display: none; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}


/* ===================== 0. INTRO (Pizza) =====================
   Ablauf (gesamt ≈ 3,6 s):
   0,15 s  Pizza auf dem Holzbrett ploppt von unten auf
   0,55 s  eine volle Umdrehung, Draufsicht
   2,15 s  das Stück oben rechts wird mit Käsefäden herausgezogen
   2,85 s  die Seite öffnet sich als Kreis aus der Pizzamitte
   Steuerung, Überspringen und Pizzamitte (--intro-y): intro.js          */

.intro { display: none; }

html.intro-aktiv { overflow: hidden; }
/* Startanimationen im Hero warten, bis das Intro vorbei ist */
html.intro-aktiv .hero,
html.intro-aktiv .hero * { animation-play-state: paused !important; }

@property --loch {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

html.intro-aktiv .intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  -webkit-mask-image: radial-gradient(circle at 50% var(--intro-y, 42%), transparent var(--loch), #000 calc(var(--loch) + .5%));
          mask-image: radial-gradient(circle at 50% var(--intro-y, 42%), transparent var(--loch), #000 calc(var(--loch) + .5%));
  animation: intro-weg .75s cubic-bezier(.65, 0, .35, 1) 2.85s both;
}
@keyframes intro-weg {
  0%   { --loch: 0%;   opacity: 1; }
  85%  { opacity: 1; }
  100% { --loch: 120%; opacity: 0; }
}

/* Warmer Ofenschein hinter dem Brett */
.intro__glut {
  position: absolute;
  left: 50%; top: var(--intro-y, 42%);
  width: min(130vw, 980px);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(228, 64, 47, .16) 0%, rgba(217, 154, 43, .10) 32%, transparent 62%);
  animation: intro-glut 2s ease-out .2s both;
}
@keyframes intro-glut {
  from { opacity: 0; scale: .6; }
  to   { opacity: 1; scale: 1; }
}

.intro__inhalt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 4vh, 2.6rem);
  position: relative;
}

.intro__buehne {
  width: min(72vw, 460px, 50vh);
  animation: intro-zoom .75s cubic-bezier(.65, 0, .35, 1) 2.85s both;
}
@keyframes intro-zoom {
  to { transform: scale(1.5); opacity: 0; }
}

/* 1) Aufploppen von unten – mit leichtem Überschwingen */
.intro__pizza { animation: intro-pop .75s cubic-bezier(.34, 1.56, .64, 1) .15s both; }
@keyframes intro-pop {
  from { transform: translateY(45vh) scale(.35); opacity: 0; }
  60%  { opacity: 1; }
  to   { transform: none; opacity: 1; }
}

/* 2) Eine volle Drehung, von oben gesehen */
.intro__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 34px rgba(58, 34, 21, .30));
  animation: intro-dreh 1.6s cubic-bezier(.55, 0, .25, 1) .55s both;
}
@keyframes intro-dreh {
  from { transform: rotate(-30deg); }
  to   { transform: rotate(360deg); }
}

/* 3) Herausziehen: erst jetzt verschwindet die ganze Pizza obendrauf,
      darunter liegen Rest + Stück passgenau – so gibt es vorher keine Naht. */
.intro__ganz { animation: intro-aus .01s linear 2.15s both; }
@keyframes intro-aus { to { opacity: 0; } }

.intro__kante--stueck,
.intro__stueck-schatten { opacity: 0; }
.intro__kante--stueck { animation: intro-ein .25s ease-out 2.2s both; }
.intro__stueck-schatten { animation: intro-schatten .6s ease-out 2.15s both; }
@keyframes intro-ein { to { opacity: 1; } }
@keyframes intro-schatten { to { opacity: .45; } }

.intro__stueck {
  transform-box: fill-box;
  transform-origin: 30% 80%;
  animation: intro-stueck .7s cubic-bezier(.2, .9, .25, 1) 2.15s both;
}
@keyframes intro-stueck {
  from { transform: translate(0, 0) rotate(0); }
  to   { transform: translate(20px, -46px) rotate(4deg); }
}

/* Käsefäden: ziehen sich mit dem Stück lang und reißen am Ende */
.intro__faden {
  transform-box: view-box;
  transform-origin: 0 0;
  transform: scaleX(0);
  animation: intro-faden .7s cubic-bezier(.2, .9, .25, 1) both;   /* Verzögerung im HTML */
}
@keyframes intro-faden {
  0%   { transform: scaleX(.02); opacity: 0; }
  8%   { opacity: 1; }
  75%  { transform: scaleX(1);   opacity: 1; }
  100% { transform: scaleX(1);   opacity: 0; }
}

/* Logo + Claim */
.intro__marke {
  display: grid;
  justify-items: center;
  gap: .55rem;
  animation: intro-logo .8s var(--ease-out) .55s both, intro-logo-weg .45s ease-in 2.85s forwards;
}
.intro__logo {
  display: block;
  width: auto;
  height: clamp(84px, 13vh, 128px);
  filter: drop-shadow(0 10px 18px rgba(58, 34, 21, .16));
}
.intro__claim {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--dim);
  padding-left: .32em;         /* gleicht den Buchstabenabstand am Ende aus */
}
@keyframes intro-logo {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes intro-logo-weg {
  to { opacity: 0; transform: translateY(10px); }
}

/* Überspringen per Klick/Tipp/Taste: schnell ausblenden */
html.intro-aktiv .intro.is-skipping {
  animation: none;
  opacity: 0;
  transition: opacity .35s ease-out;
}
