/* ==========================================================================
   QUETSCHBUDE · Smash-Burger zum Abholen (fiktiver Betrieb, Demo der Unternehmenspraxis)
   Regelwerk: DESIGN.md (Refero "Impossible Foods": Skala, 4-px-Raster, Farbdisziplin)
   Identität: Bestand des Inhabers (Ketchup, Senf, Beige, Kakao, Titan One + Mouse Memoirs)
   Taste-Regler: DESIGN_VARIANCE 8 · MOTION_INTENSITY 7 · VISUAL_DENSITY 4
   ========================================================================== */

:root {
  color-scheme: light;

  /* Farben (Bestand) */
  --beige: #f6e7d3;
  --beige-deep: #efd9bc;
  --cream: #fff8ee;
  --paper: #fffaf3;
  --ketchup: #e8442e;        /* nur Display-Typo, Flächen */
  --ketchup-deep: #c9301c;   /* Aktionsfarbe: Buttons, aktive Tabs (Creme darauf 5,1:1) */
  --ketchup-ink: #a8261a;    /* roter Kleintext, Fehler (5,9:1 auf Beige) */
  --mustard: #f4c542;
  --mustard-deep: #e5a920;
  --cocoa: #3b0d0c;
  --cocoa-soft: #6b3a2e;     /* Zweittext (7,6:1 auf Beige) */
  --lettuce: #7cbf4b;
  --open: #2f6b1f;

  /* Typo */
  --f-display: "Titan One", "Arial Black", system-ui, sans-serif;
  --f-label: "Mouse Memoirs", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Skala nach DESIGN.md: 18 / 24 / 32 / 48 / ~103 / ~160 */
  --t-body: 1.125rem;
  --t-sub: 1.5rem;
  --t-h-sm: 2rem;
  --t-h: 3rem;
  --t-h-lg: clamp(2.7rem, 7.2vw, 6.45rem);
  --t-display: clamp(3.4rem, 12.6vw, 11.5rem);

  /* Raster (4 px) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s14: 56px; --s16: 64px; --s20: 80px; --s25: 100px; --s37: 148px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;

  /* Form: Pills für alles Klickbare, 16 px Karten, 32 px Feature-Flächen */
  --r-pill: 999px;
  --r-card: 16px;
  --r-feature: 32px;
  --sticker-shadow: 0 6px 0 rgba(59, 13, 12, 0.25);

  --band-h: 30px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.45, 0.64, 1); /* nur Sticker-Pops: Marken-Charakter */
}

@media (max-width: 959px) {
  :root { --header-h: 64px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--cocoa);
  font: 400 var(--t-body)/1.5 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Korn wie im Original, aber fixiert und ohne Klicks */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.45;
  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='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.23 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ketchup-deep); color: var(--cream); }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ic { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--cocoa); color: var(--cream); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Sticker-Typo: fette Creme-Kontur + weicher Versatz, wie aufgeklebt */
.sticker {
  -webkit-text-stroke: 0.16em var(--cream);
  paint-order: stroke fill;
  text-shadow: 0 0.06em 0 rgba(59, 13, 12, 0.18);
}
.sticker-thin {
  -webkit-text-stroke: 0.09em var(--cream);
  paint-order: stroke fill;
  text-shadow: 0 0.05em 0 rgba(59, 13, 12, 0.15);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-h-lg);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--ketchup);
}
.h-split { font-size: clamp(2.5rem, 4.9vw, 4.7rem); }
.lead {
  font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.4;
  max-width: 44ch;
}

/* Zeilen-Reveal: Wrapper clippt, Zeile schiebt sich rein */
.reveal-line { display: block; overflow: hidden; padding: 0.1em 0.14em; margin: -0.1em -0.14em; }
.reveal-line > span { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--r-pill); border: 3px solid transparent;
  font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--sticker-shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-color 0.2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(59, 13, 12, 0.25); }
.btn-primary { background: var(--ketchup-deep); color: var(--cream); }
.btn-primary:hover { background: #b82a17; }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: var(--cocoa); box-shadow: none; }
.btn-ghost:hover { background: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ketchup-deep); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 0.92rem; }
.btn-xl { min-height: 72px; padding: 0 48px; font-size: clamp(1.25rem, 2.2vw, 1.8rem); }
.btn-block { width: 100%; }
.btn-ic {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: -14px;
  border-radius: 50%; background: rgba(255, 248, 238, 0.18);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn-ic { transform: translateX(3px) scale(1.06); }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--cocoa); background: var(--cream); color: var(--cocoa);
}

/* ---------- Demo-Band + Header ---------- */
.demo-band {
  min-height: var(--band-h);
  display: flex; align-items: center; justify-content: center;
  padding: 5px var(--gutter);
  background: var(--beige-deep); color: #5a2a22;
  font: 600 0.8rem/1.3 var(--f-body); letter-spacing: 0.01em; text-align: center;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 0 var(--gutter);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { background: var(--beige); box-shadow: 0 3px 0 rgba(59, 13, 12, 0.12); }
.logo {
  font-family: var(--f-display); font-size: clamp(1.55rem, 2.1vw, 2.15rem); line-height: 1;
  color: var(--ketchup); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 48px;
  transition: transform 0.4s var(--ease-back), color 0.2s;
}
.logo:hover { transform: rotate(-3deg) scale(1.03); }
.wordmark { display: flex; white-space: nowrap; }
@media (max-width: 519px) {
  .logo { font-size: 1.32rem; }
  .wordmark { flex-direction: column; line-height: 0.84; }
  .wordmark span:last-child { padding-left: 0.08em; }
}
.main-nav { display: none; gap: clamp(14px, 2vw, 30px); }
.main-nav a {
  font: 400 1.4rem/1 var(--f-label); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 12px 2px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 3px;
  background: var(--ketchup-deep); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-cta { display: none; }
.bag-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  border: 3px solid var(--cocoa); background: var(--cream); color: var(--cocoa);
  transition: transform 0.35s var(--ease-out);
}
.bag-btn .ic { width: 22px; height: 22px; }
.bag-btn:hover { transform: rotate(-6deg); }
.bag-count {
  position: absolute; top: -8px; right: -8px;
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--ketchup-deep); color: var(--cream);
  font: 400 1.1rem/1 var(--f-label); border: 2px solid var(--cream);
}
.bag-count.is-zero { display: none; }
.bag-count.is-bump { animation: bump 0.5s var(--ease-back); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(-8deg); } 100% { transform: scale(1); } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px 0 14px; border-radius: var(--r-pill);
  border: 3px solid var(--cocoa); background: var(--cream);
  font: 400 1.3rem/1 var(--f-label); letter-spacing: 0.06em; text-transform: uppercase;
}
.menu-lines { position: relative; width: 18px; height: 12px; }
.menu-lines span {
  position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-lines span:first-child { top: 4.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:last-child { top: 4.5px; transform: rotate(-45deg); }

body.menu-open .site-header { background: transparent; box-shadow: none; }
body.menu-open .logo { color: var(--cream); }
body.menu-open .logo .sticker-thin { -webkit-text-stroke-color: var(--ketchup-deep); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s10);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--ketchup-deep); color: var(--cream);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav nav a {
  font: 400 clamp(2.3rem, 10vw, 3.4rem)/1.05 var(--f-display);
  text-decoration: none; padding: 4px 0;
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav.is-open nav a:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav.is-open nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-nav :focus-visible { outline-color: var(--cream); }
.mobile-nav .btn { align-self: flex-start; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--ketchup-deep); color: var(--cream);
  transition: transform 0.75s var(--ease-io);
  cursor: pointer;
}
.preloader.is-done { transform: translateY(-100%); }
.preloader svg { width: min(40vmin, 260px); overflow: visible; }
.preloader .pl-layer {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: plDrop 0.5s var(--ease-back) both;
  animation-delay: calc(var(--i) * 0.2s);
}
@keyframes plDrop {
  from { transform: translateY(-420px) rotate(-14deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.pl-label { margin-top: 36px; font: 400 clamp(1.5rem, 3.4vmin, 2.2rem)/1 var(--f-label); letter-spacing: 0.05em; text-transform: uppercase; }
.pl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: #a8261a; }
.pl-bar i { display: block; height: 100%; background: var(--mustard); transform-origin: left; transform: scaleX(0); animation: plBar 1.35s linear forwards; }
@keyframes plBar { to { transform: scaleX(1); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--band-h) - var(--header-h));
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(24px, 3vw, 40px);
  overflow: clip;
}
.hero-title-wrap { position: relative; z-index: 2; text-align: center; }
.hero-title { font-weight: 400; }
.hero-kicker {
  display: block; margin-bottom: 6px;
  font: 400 clamp(1.35rem, 2vw, 1.8rem)/1 var(--f-label); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cocoa);
}
.hero-big {
  display: block;
  font-family: var(--f-display); font-size: var(--t-display); line-height: 0.86; letter-spacing: 0.01em;
  color: var(--ketchup);
}
.br-m { display: none; }
.pop {
  position: absolute; z-index: 3;
  font: 400 clamp(1.05rem, 2.3vw, 2.2rem)/0.95 var(--f-display);
  color: var(--mustard-deep);
}
.pop-a { top: 0.9em; left: -2%; rotate: -8deg; }
.pop-b { bottom: -0.9em; right: -1%; rotate: 6deg; }

.hero-burger {
  position: relative; z-index: 3;
  width: min(58vmin, 520px);
  margin-top: calc(-1 * clamp(18px, 3.6vw, 56px));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-bob { will-change: transform; }
.burger-eyes { width: 100%; height: auto; overflow: visible; }
.burger-eyes .pupil { transition: transform 0.15s var(--ease-out); }
.burger-eyes .lids { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.burger-eyes .layer-bun-top { transform-box: fill-box; transform-origin: 50% 100%; }
.burger-eyes.is-bite .layer-bun-top { animation: biteTop 0.5s var(--ease-out); }
@keyframes biteTop {
  0% { transform: none; }
  35% { transform: translateY(-34px) rotate(-7deg); }
  70% { transform: translateY(4px); }
  100% { transform: none; }
}

.hero-brand {
  position: absolute; left: 0; right: 0; bottom: 0.62em; z-index: 1;
  text-align: center; pointer-events: none;
  font: 400 clamp(3rem, 10.4vw, 11rem)/1 var(--f-display); color: var(--mustard);
}
.hero-brand > span { display: inline-flex; white-space: nowrap; }
.hero-foot {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s5);
  margin-top: var(--s5);
}
.hero-sub { max-width: 34ch; font-weight: 600; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.38; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
@media (min-width: 1100px) {
  /* Wie ein Plakat: Text links, Aktionen rechts, auf Höhe der Burgermitte */
  .hero-foot {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 54%; margin: 0;
    flex-direction: row; align-items: center; justify-content: space-between; text-align: left;
    pointer-events: none;
  }
  .hero-foot > * { pointer-events: auto; }
  .hero-sub { max-width: min(30ch, calc(50vw - 330px)); }
  .hero-ctas { flex-direction: column; align-items: flex-end; max-width: calc(50vw - 320px); }
}

/* Intro (nur mit JS und Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  html.js .pop { scale: 0; opacity: 0; transition: scale 0.55s var(--ease-back), opacity 0.3s; }
  html.hero-in .pop { scale: 1; opacity: 1; }
  html.hero-in .pop-a { transition-delay: 0.3s; }
  html.hero-in .pop-b { transition-delay: 0.42s; }
  html.js .hero-burger { transform: translateY(120px); opacity: 0; transition: transform 0.9s var(--ease-back), opacity 0.5s; }
  html.hero-in .hero-burger { transform: none; opacity: 1; }
  html.js .hero-big, html.js .hero-kicker { transform: translateY(30px); opacity: 0; transition: transform 0.8s var(--ease-out), opacity 0.5s; }
  html.hero-in .hero-big, html.hero-in .hero-kicker { transform: none; opacity: 1; }
  html.hero-in .hero-kicker { transition-delay: 0.08s; }
  .hero-bob { animation: bob 2.4s ease-in-out infinite alternate; }
  .burger-eyes .lids { animation: blink 5.5s infinite; }
}
@keyframes bob { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5% { transform: scaleY(1); } }

/* Parallax beim Rausscrollen (nur wo scroll-driven Animationen gehen) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-title-wrap { animation: heroType linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes heroType { to { translate: 0 30%; } }
  }
}

@media (max-width: 1099px) {
  .hero-brand { position: relative; bottom: auto; margin-top: -0.46em; line-height: 0.9; }
}
@media (max-width: 767px) {
  .hero { padding-top: 26px; }
  .br-m { display: block; height: 0; }
  .hero-big { font-size: clamp(3.2rem, 19.5vw, 7rem); line-height: 0.86; }
  .pop { font-size: clamp(0.95rem, 4.2vw, 1.3rem); }
  .pop-a { top: 2.2em; left: -3%; }
  .pop-b { bottom: 0.2em; right: -2%; }
  .hero-burger { width: min(76vw, 360px); margin-top: -10px; }
  .hero-brand { font-size: 17.5vw; margin-top: -0.5em; }
  .hero-brand > span { flex-direction: column; line-height: 0.86; }
  .hero-foot { margin-top: var(--s4); }
}
@media (max-width: 380px) {
  .hero-ctas .btn { padding: 0 20px; }
}

/* ---------- Marquee (einziger auf der Seite) ---------- */
.marquee {
  position: relative; z-index: 6;
  margin: -6px -2vw 0; padding: 14px 0;
  background: var(--ketchup); color: var(--cream);
  rotate: -2deg; box-shadow: var(--sticker-shadow);
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font: 400 clamp(1.3rem, 2.4vw, 2.2rem)/1 var(--f-display); margin: 0 0.55em; }
.marquee i { display: inline-block; width: 0.9em; height: 0.5em; border-radius: 50%; background: var(--mustard); rotate: -20deg; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 34s linear infinite; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Platzhalter-Notizen (Stimme der Unternehmenspraxis, Sie-Form) ---------- */
.up-note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--r-card);
  border: 2.5px dashed rgba(59, 13, 12, 0.45);
  background: rgba(255, 248, 238, 0.75);
  color: var(--cocoa-soft); font-size: 0.97rem; line-height: 1.45;
}
.up-note p { max-width: 70ch; }
.up-note strong { color: var(--cocoa); }
.up-tag {
  flex: none; margin-top: 1px;
  padding: 3px 10px 2px; border-radius: var(--r-pill);
  background: var(--cocoa); color: var(--cream);
  font: 400 1.05rem/1 var(--f-label); letter-spacing: 0.08em; text-transform: uppercase;
  rotate: -3deg;
}
.proof-strip { padding: clamp(40px, 6vw, 72px) var(--gutter) 0; }
.proof-strip .up-note { max-width: 820px; margin: 0 auto; }

/* ---------- Der Burger: Schichten ---------- */
.layers { position: relative; padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(90px, 12vw, 160px); overflow: clip; }
.layers-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; gap: var(--s10);
  grid-template-areas: "head" "art" "list";
}
.layers-head { grid-area: head; }
.layers-head .lead { margin-top: var(--s5); }
.layers-art { grid-area: art; justify-self: center; width: min(62vw, 260px); }
.xburger { width: 100%; height: auto; overflow: visible; }
.xl { transform: translateY(var(--y)); transition: transform 1s var(--ease-out), opacity 0.35s; }
html.js .xburger:not(.is-open) .xl { transform: translateY(calc(var(--y) * 0.08)); }
.xburger.is-dim .xl { opacity: 0.22; }
.xburger.is-dim .xl.is-hot { opacity: 1; }
.layer-list { grid-area: list; list-style: none; display: grid; gap: var(--s3); }
.layer-list li {
  padding: 14px 18px 16px; border-radius: var(--r-card);
  border: 3px solid transparent; outline: none;
  transition: background-color 0.25s, border-color 0.25s, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.layer-list h3 { font: 400 1.35rem/1.1 var(--f-display); color: var(--ketchup-ink); }
.layer-list p { margin-top: 4px; color: var(--cocoa-soft); font-size: 1.02rem; line-height: 1.45; }
.layer-list li:hover, .layer-list li:focus-visible, .layer-list li.is-hot {
  background: var(--cream); border-color: var(--cocoa); box-shadow: 0 5px 0 rgba(59, 13, 12, 0.18); transform: rotate(-0.8deg);
}
.float { position: absolute; z-index: 0; width: clamp(54px, 8vw, 120px); pointer-events: none; }
.float-a { left: 3%; top: 4%; }
.float-b { right: 4%; top: 3%; }
.float-c { right: 6%; bottom: 4%; }
@media (max-width: 767px) {
  .float { width: 56px; }
  .float-a { left: auto; right: 18%; top: 1.5%; }
  .float-b { right: 3%; top: 4%; }
  .float-c { display: none; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .layer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .layers-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "art head" "art list";
    column-gap: clamp(40px, 6vw, 96px); row-gap: var(--s8);
    align-items: start;
  }
  .layers-art { position: sticky; top: calc(var(--header-h) + 32px); width: 100%; max-width: 380px; justify-self: center; }
  .layer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .float svg { animation: floatY linear both; animation-timeline: view(); }
    @keyframes floatY {
      from { transform: translateY(calc(var(--sp) * 70px)) rotate(0deg); }
      to { transform: translateY(calc(var(--sp) * -90px)) rotate(calc(var(--sp) * 16deg)); }
    }
  }
}

/* Headline-Zeilen einschieben */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal-line > span { transform: translateY(115%); transition: transform 0.9s var(--ease-out); }
  html.js .is-in .reveal-line > span, html.js .reveal-line.is-in > span { transform: none; }
  html.js .is-in .reveal-line:nth-child(2) > span { transition-delay: 0.08s; }
  html.js .is-in .reveal-line:nth-child(3) > span { transition-delay: 0.16s; }

  html.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
  html.js .stop[data-reveal] { transition: opacity 0.5s var(--ease-out), transform 0.8s var(--ease-back); transform: translateY(90px); }
  html.js .stop[data-reveal].is-in { transform: none; }
}

/* ---------- Ablauf / Tour ---------- */
.tour {
  position: relative; background: var(--mustard);
  padding: clamp(96px, 11vw, 170px) var(--gutter) clamp(110px, 12vw, 180px);
}
.wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 6vw, 90px); }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.tour-inner { max-width: 1120px; margin: 0 auto; }
.tour-head { text-align: center; }
.tour-title { color: var(--cocoa); max-width: 12ch; margin: 0 auto; }
.tour-lead { margin: var(--s6) auto 0; max-width: 46ch; font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; }
.tour-track { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.tour-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tour-bag {
  position: absolute; left: 50%; top: 0; z-index: 1;
  width: clamp(54px, 6vw, 84px);
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  pointer-events: none;
}
html:not(.js) .tour-bag { display: none; }
.tour-stops { position: relative; z-index: 2; list-style: none; display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); padding: 72px 0 56px; }
.stop {
  position: relative;
  width: min(420px, 84vw);
  padding: 22px 20px 26px;
  border-radius: var(--r-feature);
  background: var(--cream);
  box-shadow: 0 14px 0 rgba(59, 13, 12, 0.18);
  rotate: var(--tilt, 0deg);
}
.stop-1 { align-self: flex-start; margin-left: 4%; --tilt: -3deg; }
.stop-2 { align-self: flex-end; margin-right: 4%; --tilt: 2.5deg; }
.stop-3 { align-self: flex-start; margin-left: 12%; --tilt: -2deg; }
.stop-label {
  position: absolute; top: -0.72em; left: 50%; translate: -50% 0; z-index: 2;
  font: 400 clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--f-display); color: var(--cocoa); white-space: nowrap;
}
.stop-panel { display: grid; place-items: center; padding: 24px 16px 18px; border-radius: 22px; background: var(--panel); }
.stop-panel svg { width: min(78%, 260px); height: auto; overflow: visible; }
.stop p { margin-top: 18px; text-align: center; font-weight: 600; font-size: 1.08rem; line-height: 1.42; }
.tour-cta { position: relative; z-index: 4; text-align: center; }
@media (max-width: 767px) {
  .stop, .stop-1, .stop-2, .stop-3 { align-self: center; margin: 0; }
  .stop-1 { --tilt: -1.5deg; } .stop-2 { --tilt: 1.5deg; } .stop-3 { --tilt: -1deg; }
}

/* ---------- Karte + Bestellen ---------- */
.order { background: var(--cream); padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(90px, 10vw, 140px); }
.order-inner { max-width: var(--maxw); margin: 0 auto; }
.order-head { max-width: 820px; margin-bottom: var(--s10); }
.order-head .lead { margin-top: var(--s5); }
.up-note-inline { margin-top: var(--s5); background: var(--beige); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); align-items: start; }
.menu { min-width: 0; }

.tabs {
  position: sticky; top: var(--header-h); z-index: 5;
  display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)) var(--s4); padding: 10px var(--gutter);
  background: var(--cream);
}
.tabs[hidden] { display: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 12px 0 20px; border-radius: var(--r-pill);
  border: 3px solid var(--cocoa); background: transparent; color: var(--cocoa);
  font: 400 1.05rem/1 var(--f-display);
  transition: background-color 0.2s, color 0.2s, transform 0.35s var(--ease-out);
}
.tabs [role="tab"]:hover { transform: rotate(-2deg); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ketchup-deep); border-color: var(--ketchup-deep); color: var(--cream); }
.tab-count {
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--beige-deep); color: var(--cocoa); font: 400 1.15rem/1 var(--f-label);
}
[aria-selected="true"] .tab-count { background: rgba(255, 248, 238, 0.22); color: var(--cream); }
html.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.panel-title { font: 400 var(--t-h-sm)/1 var(--f-display); color: var(--ketchup-deep); margin: var(--s8) 0 var(--s4); }
.panel:focus-visible { outline-offset: 8px; border-radius: 12px; }
html.js .panel.is-enter .dish { animation: dishIn 0.55s var(--ease-out) both; }
html.js .panel.is-enter .dish:nth-child(2) { animation-delay: 0.05s; }
html.js .panel.is-enter .dish:nth-child(3) { animation-delay: 0.1s; }
html.js .panel.is-enter .dish:nth-child(4) { animation-delay: 0.15s; }
@keyframes dishIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.dishes { list-style: none; display: grid; gap: var(--s4); }
.dish {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--s4);
  padding: 18px; border-radius: 24px; background: var(--beige);
  border: 3px solid transparent;
  transition: border-color 0.25s, transform 0.4s var(--ease-out);
}
.dish:hover { border-color: rgba(59, 13, 12, 0.5); }
.dish-art { width: 92px; height: 92px; display: grid; place-items: center; }
.dish-art svg { width: 100%; height: 100%; overflow: visible; }
.dish-body { display: flex; flex-direction: column; min-width: 0; }
.dish-name { font: 400 1.3rem/1.1 var(--f-display); color: var(--cocoa); }
.dish-desc { margin: 6px 0 12px; color: var(--cocoa-soft); font-size: 0.98rem; line-height: 1.45; }
.opts { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: var(--s2); min-width: 0; }
.opts label { position: relative; display: inline-flex; }
.opts input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span, .seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 2px solid rgba(59, 13, 12, 0.4); background: var(--cream);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; user-select: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.opts input:checked + span, .seg input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.opts input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--cocoa); outline-offset: 3px; }
.seg input:disabled + span { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }
.dish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.price { font: 400 1.75rem/1 var(--f-label); letter-spacing: 0.02em; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: var(--r-pill);
  background: var(--ketchup-deep); color: var(--cream);
  font: 400 0.95rem/1 var(--f-display); letter-spacing: 0.02em;
  box-shadow: 0 4px 0 rgba(59, 13, 12, 0.25);
  transition: transform 0.35s var(--ease-out), background-color 0.2s, box-shadow 0.35s var(--ease-out);
}
.add-btn:hover { transform: translateY(-2px) rotate(-2deg); background: #b82a17; }
.add-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(59, 13, 12, 0.25); }
.add-btn.is-added { background: var(--cocoa); }
@media (min-width: 700px) {
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish { grid-template-columns: 104px minmax(0, 1fr); }
  .dish-art { width: 104px; height: 104px; }
}

/* Tüte */
.cart {
  background: var(--beige); border: 3px solid var(--cocoa); border-radius: var(--r-feature);
  padding: 24px; box-shadow: 0 10px 0 rgba(59, 13, 12, 0.18);
}
.cart-sheet-bar { display: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.cart-title { font: 400 2rem/1 var(--f-display); color: var(--ketchup-deep); }
.cart-close { display: none; }
.cart-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s3);
  padding: 6px 14px; border-radius: var(--r-pill); background: var(--cream);
  font-weight: 600; font-size: 0.93rem; color: var(--cocoa-soft);
}
.cart-status.is-open-now { color: var(--open); }
.cart-empty { text-align: center; padding: var(--s6) var(--s2) var(--s2); }
.cart-empty svg { width: 84px; margin: 0 auto var(--s4); rotate: -6deg; }
.cart-empty p { color: var(--cocoa-soft); margin-bottom: var(--s4); }
.cart-empty strong { color: var(--cocoa); }
.cart-items { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s3); }
.cart-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--s3); align-items: center;
  padding: 12px 14px; border-radius: var(--r-card); background: var(--cream);
}
.cart-item-name { font-weight: 700; line-height: 1.25; }
.cart-item-opt { display: block; font-weight: 500; font-size: 0.88rem; color: var(--cocoa-soft); }
.cart-item-price { font: 400 1.45rem/1 var(--f-label); text-align: right; }
.stepper { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-self: start; border: 2px solid rgba(59, 13, 12, 0.4); border-radius: var(--r-pill); }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cocoa); }
.stepper button:hover { background: var(--beige); }
.stepper output { min-width: 28px; text-align: center; font: 400 1.4rem/1 var(--f-label); }
.cart-sum {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s4); padding-top: var(--s4); border-top: 3px dashed rgba(59, 13, 12, 0.3);
  font-weight: 700;
}
.cart-sum strong { font: 400 1.6rem/1 var(--f-display); color: var(--cocoa); }
.cart-form { margin-top: var(--s2); }
.field { border: 0; padding: 0; margin: var(--s5) 0 0; display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.97rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.optional { font-weight: 500; color: var(--cocoa-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  border: 2.5px solid var(--cocoa); border-radius: 14px; background: var(--cream);
  font-size: 1rem;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%233b0d0c' d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ketchup-deep); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--ketchup-ink); background: #fff1ea; }
.hint { font-size: 0.88rem; color: var(--cocoa-soft); }
.error { font-size: 0.9rem; font-weight: 700; color: var(--ketchup-ink); }
.seg { display: flex; flex-wrap: wrap; gap: var(--s2); }
.seg label { position: relative; display: inline-flex; }
.cart-form .btn { margin-top: var(--s6); }
.demo-hint { margin-top: var(--s3); font-size: 0.85rem; line-height: 1.4; color: var(--cocoa-soft); }
.cart-foot { border-top: 2px dashed rgba(59, 13, 12, 0.2); padding-top: var(--s3); margin-top: var(--s5); }
.step-title { font: 400 1.6rem/1.1 var(--f-display); color: var(--cocoa); margin-top: var(--s5); }
.review-meta { margin-top: var(--s4); display: grid; gap: var(--s2); }
.review-meta div { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 14px; background: var(--cream); border-radius: 12px; }
.review-meta dt { color: var(--cocoa-soft); font-weight: 600; }
.review-meta dd { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.review-items { list-style: none; margin-top: var(--s4); display: grid; gap: 6px; }
.review-items li { display: flex; justify-content: space-between; gap: var(--s3); }
.review-items li span:last-child { font-family: var(--f-label); font-size: 1.3rem; }
.review-actions { display: grid; gap: var(--s3); margin-top: var(--s5); }
.review-actions .btn { margin: 0; }
.cart-done { text-align: center; }
.cart-done p { margin-top: var(--s3); }
.cart-done .up-note { text-align: left; margin-top: var(--s5); }
.cart-done .btn { margin-top: var(--s5); }
.done-badge {
  display: inline-block; margin-top: var(--s4);
  font: 400 2.4rem/1 var(--f-display); color: var(--ketchup); rotate: -4deg;
}
.cart-done:not([hidden]) .done-badge { animation: stamp 0.6s var(--ease-back) both; }
@keyframes stamp { from { transform: scale(2.2); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 1024px) {
  .order-grid { grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 4vw, 56px); }
  .tabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .cart {
    position: sticky; top: calc(var(--header-h) + 16px);
    max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain;
  }
  .cart-bar, .scrim { display: none !important; }
}

/* Handy + Tablet: Tüte als Bottom-Sheet */
@media (max-width: 1023px) {
  .cart {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 28px 28px 0 0; border-width: 3px 0 0;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    transform: translateY(105%); visibility: hidden;
    transition: transform 0.55s var(--ease-out), visibility 0s linear 0.55s;
    box-shadow: 0 -10px 0 rgba(59, 13, 12, 0.12);
  }
  .cart.is-open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out), visibility 0s; }
  .cart-sheet-bar { display: flex; justify-content: center; padding: 6px 0 10px; }
  .grip { width: 48px; height: 5px; border-radius: 5px; background: rgba(59, 13, 12, 0.35); }
  .cart-close { display: inline-grid; }
  html:not(.js) .cart { position: static; transform: none; visibility: visible; border-radius: var(--r-feature); border-width: 3px; }
}
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(59, 13, 12, 0.45); }
.scrim[hidden] { display: none; }
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translateY(0); transition: transform 0.5s var(--ease-out);
}
.cart-bar[hidden] { display: none; }
.cart-bar-btn {
  width: 100%; min-height: 62px; padding: 0 22px 0 8px; border: 0; border-radius: var(--r-pill);
  display: flex; align-items: center; gap: var(--s3);
  background: var(--cocoa); color: var(--cream); box-shadow: 0 8px 0 rgba(59, 13, 12, 0.2);
}
.cart-bar-count {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--ketchup-deep);
  font: 400 1.35rem/1 var(--f-label);
}
.cart-bar-label { font: 400 1.05rem/1 var(--f-display); letter-spacing: 0.02em; }
.cart-bar-total { margin-left: auto; font: 400 1.55rem/1 var(--f-label); }
body.has-cart-bar { padding-bottom: 92px; }
@media (min-width: 1024px) { body.has-cart-bar { padding-bottom: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  translate: -50% 0; transform: translateY(160%);
  max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--cocoa); color: var(--cream); font-weight: 700; font-size: 0.97rem; white-space: nowrap;
  box-shadow: var(--sticker-shadow);
  opacity: 0; visibility: hidden;
  transition: transform 0.45s var(--ease-out), opacity 0.3s, visibility 0s linear 0.45s;
  pointer-events: none;
}
.toast.is-show { transform: none; opacity: 1; visibility: visible; transition: transform 0.45s var(--ease-out), opacity 0.2s, visibility 0s; }
body.has-cart-bar .toast { bottom: 96px; }
@media (min-width: 1024px) { body.has-cart-bar .toast { bottom: 24px; } }

/* ---------- Über uns ---------- */
.about { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: var(--s10); align-items: center; }
.about-copy .lead { margin-top: var(--s6); }
.about-copy p:not(.lead) { margin-top: var(--s4); max-width: 52ch; color: var(--cocoa-soft); }
.ph {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  border-radius: var(--r-feature);
  background: var(--ketchup-deep);
}
.ph-45 { aspect-ratio: 4 / 5; max-height: 640px; }
.ph-label {
  position: relative; z-index: 1; margin: var(--s5);
  padding: 8px 14px; border-radius: 12px;
  background: rgba(59, 13, 12, 0.28); color: var(--cream);
  font: 400 1.3rem/1.15 var(--f-label); letter-spacing: 0.04em;
}
.ph::before {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--r-feature) - 10px);
  border: 2.5px dashed rgba(255, 248, 238, 0.4); pointer-events: none;
}
.ph-map::before { border-color: rgba(59, 13, 12, 0.3); z-index: 1; }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 110px); }
  .ph-45 { rotate: -2deg; }
}

/* ---------- Bewertungen (Platzhalter) ---------- */
.reviews { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); }
.reviews-inner { max-width: 920px; margin: 0 auto; display: grid; justify-items: center; gap: var(--s8); }
.bubble {
  position: relative; max-width: 780px; text-align: center;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 64px);
  border-radius: 44px; background: var(--ketchup-deep); color: var(--cream);
  box-shadow: 0 12px 0 rgba(59, 13, 12, 0.22);
  rotate: -1.5deg;
}
.bubble::after {
  content: ""; position: absolute; left: 18%; bottom: -30px;
  width: 54px; height: 44px; background: var(--ketchup-deep);
  clip-path: polygon(0 0, 100% 0, 12% 100%);
}
.bubble-title { font: 400 clamp(2rem, 5vw, 3.6rem)/0.98 var(--f-display); }
.bubble p { margin: var(--s4) auto 0; max-width: 46ch; font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.bubble :focus-visible { outline-color: var(--cream); }
.bubble-ghosts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s5); margin-top: var(--s4); }
.ghost {
  padding: 16px 26px; border-radius: 28px; border: 3px dashed rgba(59, 13, 12, 0.38);
  font: 400 1.4rem/1 var(--f-label); letter-spacing: 0.05em; color: var(--cocoa-soft);
}
.ghost.g1 { rotate: 2deg; }
.ghost.g2 { rotate: -2.5deg; }
.reviews .up-note { max-width: 780px; }

/* ---------- Zeiten & Weg ---------- */
.visit { background: var(--cream); padding: clamp(80px, 11vw, 150px) var(--gutter); }
.visit-inner { max-width: 1200px; margin: 0 auto; }
.visit-grid { display: grid; gap: clamp(48px, 6vw, 72px); margin-top: var(--s10); align-items: start; }
.receipt {
  position: relative; width: min(100%, 440px); justify-self: center;
  padding: 28px 28px 32px; background: var(--paper);
  border-radius: 8px 8px 0 0; rotate: -1.5deg;
  box-shadow: 0 10px 0 rgba(59, 13, 12, 0.12);
  font-family: var(--f-label);
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  background: conic-gradient(from 135deg at top, var(--paper) 90deg, transparent 0) 0 0 / 20px 14px repeat-x;
}
.receipt-head { text-align: center; font-size: 1.7rem; letter-spacing: 0.08em; }
.receipt-sub { text-align: center; font-size: 1.2rem; letter-spacing: 0.1em; color: var(--cocoa-soft); text-transform: uppercase; }
.receipt-status {
  margin: var(--s4) 0 var(--s3); padding: 10px 0; text-align: center;
  border-top: 3px dashed rgba(59, 13, 12, 0.3); border-bottom: 3px dashed rgba(59, 13, 12, 0.3);
  font: 700 1.02rem/1.35 var(--f-body);
}
.receipt-status.is-open-now { color: var(--open); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.55rem; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours th, .hours td { padding: 5px 8px; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--mustard); }
.hours tr.is-today th { border-radius: 10px 0 0 10px; }
.hours tr.is-today td { border-radius: 0 10px 10px 0; }
.hours tr.is-today th::after { content: " · heute"; }
.receipt-foot { margin-top: var(--s4); text-align: center; font: 500 0.93rem/1.4 var(--f-body); color: var(--cocoa-soft); }
.ph-map { aspect-ratio: 16 / 10; background: var(--mustard); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-map .ph-label { background: var(--cream); color: var(--cocoa); }
.where-copy { display: grid; gap: var(--s4); margin-top: var(--s6); }
.where-row { display: flex; gap: var(--s4); align-items: flex-start; line-height: 1.4; }
.where-row .ic { width: 28px; height: 28px; color: var(--ketchup-deep); margin-top: 2px; }
.where-row span { color: var(--cocoa-soft); }
.where-row strong { color: var(--cocoa); font-size: 1.15rem; }
.where .up-note-inline { margin-top: var(--s2); }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .receipt { justify-self: start; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.faq-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: var(--s8); align-items: start; }
.faq-list { border-top: 3px solid var(--cocoa); }
.faq details { border-bottom: 3px solid var(--cocoa); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 72px; padding: 14px 0;
  font-weight: 700; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ketchup-deep); color: var(--cream);
  font: 400 1.6rem/1 var(--f-display);
  transition: transform 0.4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ketchup-ink); }
.faq-a p { padding: 0 56px 24px 0; max-width: 62ch; color: var(--cocoa-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-a { animation: faqIn 0.45s var(--ease-out); }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .faq-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
  .faq h2 { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Finale ---------- */
.finale { position: relative; overflow: clip; }
.finale-stage {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px var(--gutter); text-align: center;
}
.finale-kicker { font: 400 clamp(1.4rem, 2.6vw, 2.4rem)/1 var(--f-display); color: var(--mustard-deep); rotate: -3deg; }
.finale-title { margin-top: 10px; font: 400 clamp(4rem, 13vw, 11rem)/0.86 var(--f-display); color: var(--ketchup); }
.finale-copy { margin-top: var(--s8); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; }
.finale-btn { margin-top: var(--s10); }

/* Fallback ohne scroll-driven: einfaches Reinkommen */
@media (prefers-reduced-motion: no-preference) {
  html.js .finale:not(.is-scrub) .finale-kicker,
  html.js .finale:not(.is-scrub) .finale-btn { scale: 0; transition: scale 0.6s var(--ease-back) 0.3s; }
  html.js .finale:not(.is-scrub) .finale-title { opacity: 0; transform: translateY(80px) scale(0.7); transition: opacity 0.6s, transform 0.9s var(--ease-out); }
  html.js .finale.is-in:not(.is-scrub) .finale-kicker,
  html.js .finale.is-in:not(.is-scrub) .finale-btn { scale: 1; }
  html.js .finale.is-in:not(.is-scrub) .finale-title { opacity: 1; transform: none; }
}
/* Gepinntes Finale mit Scroll-Scrub, wo der Browser es kann */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.js .finale.is-scrub { height: 180vh; view-timeline: --fin block; }
    html.js .finale.is-scrub .finale-stage { position: sticky; top: 0; height: 100dvh; min-height: 0; }
    html.js .finale.is-scrub .finale-kicker { animation: finPop linear both; animation-timeline: --fin; animation-range: entry 55% contain 8%; }
    html.js .finale.is-scrub .finale-title { animation: finTitle linear both; animation-timeline: --fin; animation-range: entry 35% contain 26%; }
    html.js .finale.is-scrub .finale-copy .reveal-line > span { transition: none; animation: finLine linear both; animation-timeline: --fin; }
    html.js .finale.is-scrub .finale-copy .reveal-line:nth-child(1) > span { animation-range: contain 18% contain 36%; }
    html.js .finale.is-scrub .finale-copy .reveal-line:nth-child(2) > span { animation-range: contain 26% contain 44%; }
    html.js .finale.is-scrub .finale-copy .reveal-line:nth-child(3) > span { animation-range: contain 34% contain 52%; }
    html.js .finale.is-scrub .finale-btn { animation: finPop linear both; animation-timeline: --fin; animation-range: contain 46% contain 64%; }
    @keyframes finPop { from { transform: scale(0) rotate(10deg); } 70% { transform: scale(1.12) rotate(-2deg); } to { transform: none; } }
    @keyframes finTitle { from { transform: translateY(160px) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes finLine { from { transform: translateY(115%); } to { transform: none; } }
  }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ketchup-deep); color: var(--cream); padding-top: clamp(40px, 6vw, 80px); overflow: clip; }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s8);
  padding: 0 var(--gutter);
  font: 400 1.35rem/1.2 var(--f-label); letter-spacing: 0.04em;
}
.footer-word {
  display: flex; flex-wrap: wrap; justify-content: center;
  margin-top: clamp(20px, 3vw, 40px);
  font: 400 clamp(3.4rem, 10.4vw, 11rem)/0.8 var(--f-display);
}
.fw-row { display: flex; overflow: hidden; padding-top: 0.04em; }
.footer-word span span { display: inline-block; }
@media (max-width: 767px) {
  .footer-word { flex-direction: column; align-items: center; font-size: 19vw; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .footer-word span span { transform: translateY(110%); transition: transform 0.75s var(--ease-back); transition-delay: calc(var(--i) * 0.045s); }
  html.js .footer-word.is-in span span { transform: none; }
}
.site-footer :focus-visible { outline-color: var(--cream); }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none !important; }
  .burger-eyes .lids { animation: none !important; transform: scaleY(0); }
}

/* ---------- Karte auf dem Handy: Bild + Name oben, Optionen und Preis volle Breite ---------- */
@media (max-width: 699px) {
  .dish { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 0; padding: 16px; }
  .dish-body { display: contents; }
  .dish-art { width: 72px; height: 72px; grid-row: 1 / span 2; align-self: start; }
  .dish-name, .dish-desc { grid-column: 2; }
  .dish-name { align-self: end; }
  .opts, .dish-foot { grid-column: 1 / -1; }
  .opts { margin-top: 4px; }
  .dish-foot { margin-top: 2px; flex-wrap: nowrap; }
  .tabs [role="tab"] { padding: 0 10px 0 16px; font-size: 0.98rem; gap: 8px; }
  .ph-45 { aspect-ratio: 4 / 3; }
}
[data-step-panel]:focus, .cart-title:focus { outline: none; }

/* Tablet-Hero: Burger kleiner, Marke enger, Text und Aktionen nebeneinander */
@media (min-width: 768px) and (max-width: 1099px) {
  .hero-burger { width: min(48vmin, 420px); }
  .hero-brand { font-size: 10.4vw; margin-top: -0.55em; }
  .hero-foot { flex-direction: row; flex-wrap: wrap; justify-content: center; text-align: left; gap: var(--s4) var(--s8); margin-top: var(--s2); }
  .hero-sub { max-width: 30ch; }
}
@media (min-width: 1024px) {
  /* genug Laufweg, damit die klebende Tüte nie unter den Header rutscht */
  .menu { min-height: calc(100dvh + 260px); }
}
body.menu-open .cart-bar, body.menu-open .toast { display: none; }

/* ---------- Fotos (generiert, freigegeben 19.09.2026) ---------- */
.about-photo, .visit-photo { margin: 0; overflow: hidden; border-radius: var(--r-feature); background: var(--beige-deep); box-shadow: 0 12px 0 rgba(59, 13, 12, 0.16); }
.about-photo img, .visit-photo img { display: block; width: 100%; height: auto; }
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.visit-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .about-photo { rotate: -2deg; max-height: 640px; } }
@media (max-width: 699px) { .about-photo img { aspect-ratio: 4 / 3; object-position: 50% 62%; } }

.panel-hero {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s5); align-items: center;
  margin-bottom: var(--s4); padding: 10px 22px 10px 10px; border-radius: 24px;
  background: var(--mustard);
}
.panel-hero img, .panel-hero-art {
  width: 112px; height: 112px; border-radius: 18px; object-fit: cover; display: block;
  border: 3px solid var(--cocoa);
}
.panel-hero-art { display: flex; align-items: center; justify-content: center; gap: 2px; background: var(--cream); padding: 10px 6px; }
.panel-hero-art svg { width: 50%; height: auto; }
.panel-hero p { font: 400 clamp(1.05rem, 1.6vw, 1.35rem)/1.2 var(--f-display); color: var(--cocoa); }
@media (min-width: 700px) {
  .panel-hero { grid-template-columns: 148px minmax(0, 1fr); gap: var(--s6); }
  .panel-hero img, .panel-hero-art { width: 148px; height: 148px; }
}

.finale-stage { padding-top: 48px; padding-bottom: 48px; }
.finale-photo {
  position: relative; z-index: 0; display: block;
  height: clamp(150px, 30vh, 320px); width: auto; max-width: 86vw; object-fit: contain;
  margin: 6px 0 calc(-1 * clamp(18px, 3.4vw, 46px));
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.finale-title { position: relative; z-index: 1; font-size: clamp(3.4rem, 10vw, 8.6rem); }
@media (prefers-reduced-motion: no-preference) {
  html.js .finale:not(.is-scrub) .finale-photo { opacity: 0; transform: translateY(60px) scale(0.8); transition: opacity 0.6s, transform 0.9s var(--ease-out); }
  html.js .finale.is-in:not(.is-scrub) .finale-photo { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.js .finale.is-scrub .finale-photo { animation: finPhoto linear both; animation-timeline: --fin; animation-range: entry 20% contain 22%; }
    @keyframes finPhoto { from { transform: translateY(90px) scale(0.55) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
  }
}
@media (max-width: 519px) {
  .panel-hero p { font-size: 0.98rem; line-height: 1.22; }
  .up-note { flex-direction: column; gap: 8px; }
  .up-tag { align-self: flex-start; }
}
