/* Ruby Fried Chicken, site redesign 2026-10 (skill: food-site-redesign).
   World: the kitchen order ticket (Bon), die-cut stickers on the box, checked basket paper.
   Signature: the Hunger-Rechner prints a real Bon with real prices. */

@font-face {
  font-family: "Bowlby One";
  src: url("fonts/bowlby-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-wdth.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Display Fallback";
  src: local("Arial Black"), local("Arial Bold");
  size-adjust: 96%;
  ascent-override: 92%;
}

:root {
  /* colour */
  --ruby: #b3121b;
  --ruby-deep: #7e0b12;
  --ink: #22100c;
  --ink-soft: #4a3329;
  --paper: #fff5e6;
  --paper-2: #f9e7cf;
  --bon: #fffdf8;
  --crust: #f4a51c;
  --crust-hover: #ffb935;
  --check: #f3cdb8;
  --line: rgb(34 16 12 / 0.16);
  --focus: #1d5fd1;
  --ok: #2f7d32;

  /* type */
  --f-display: "Bowlby One", "Display Fallback", Impact, sans-serif;
  --f-text: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --t-mega: clamp(3.1rem, 1.2rem + 8.4vw, 9.4rem);
  --t-h1: clamp(2.6rem, 1.4rem + 5.2vw, 6rem);
  --t-h2: clamp(2rem, 1.3rem + 3vw, 3.9rem);
  --t-h3: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  --t-lead: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;

  /* space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --wrap: 1320px;

  /* shape */
  --r-s: 10px; --r-m: 18px; --r-l: 28px; --r-pill: 999px;
  --shadow-sticker: 0 6px 0 rgb(126 11 18 / 0.35), 0 14px 24px -10px rgb(34 16 12 / 0.45);
  --shadow-bon: 0 2px 0 rgb(34 16 12 / 0.08), 0 30px 50px -24px rgb(126 11 18 / 0.45);
  --shadow-btn: 0 4px 0 var(--ink);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms; --dur-base: 300ms; --dur-slow: 700ms;

  /* layers */
  --z-sticky: 20; --z-header: 40; --z-bar: 50; --z-skip: 60;
  --header-h: 68px;

  color-scheme: light;
  accent-color: var(--ruby);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 64px);
  scrollbar-color: var(--ruby) var(--paper-2);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--crust); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
input { caret-color: var(--ruby); font: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 0.95; margin: 0; letter-spacing: -0.01em; text-wrap: balance; hyphens: manual; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
/* the blue ring has 1.2:1 against ruby, so dark sections get a paper ring (WCAG 1.4.11) */
.hero, .closer, .page-head, .board, .sauces, .site-footer, .order-bar { --focus: var(--paper); }
picture { display: contents; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: fixed; left: var(--s-3); top: -100px; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: var(--r-s); font-weight: 700;
}
.skip-link:focus { top: var(--s-3); }
.tnum { font-variant-numeric: tabular-nums; }
.sticker { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 0 rgb(126 11 18 / 0.28)); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--crust); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.4em;
  background: var(--bg); color: var(--fg);
  border: 3px solid var(--ink); border-radius: var(--r-pill);
  font-family: var(--f-text); font-weight: 800; font-size: 1.05rem; font-stretch: 88%; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { --bg: var(--crust-hover); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--big { min-height: 64px; font-size: 1.2rem; padding: 0 1.8em; }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { --bg: rgb(255 245 230 / 0.12); box-shadow: none; }
.on-paper .btn--ghost:hover, .btn--ghost.on-paper:hover { --bg: rgb(34 16 12 / 0.06); }
.btn--sm { min-height: 44px; padding: 0 1.05em; font-size: 0.98rem; border-width: 2.5px; box-shadow: 0 3px 0 var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 245 230 / 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header-row { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 46px; height: 48px; object-fit: contain; }
.brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.12rem; line-height: 0.95; color: var(--ruby); }
.brand b span { display: block; font-family: var(--f-text); font-weight: 700; font-stretch: 80%; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: var(--r-pill);
  font-weight: 700; font-stretch: 90%; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.status {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 32px; padding: 0 0.8em;
  border-radius: var(--r-pill); font-size: 0.86rem; font-weight: 700; font-stretch: 85%;
  background: var(--paper-2); color: var(--ink); white-space: nowrap;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status[data-open="true"]::before { background: #28a745; box-shadow: 0 0 0 0 rgb(40 167 69 / 0.6); animation: pulse 2.2s infinite; }
.status[data-open="false"]::before { background: var(--ruby); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(40 167 69 / 0); } 100% { box-shadow: 0 0 0 0 rgb(40 167 69 / 0); } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ruby); color: var(--paper);
  overflow: clip;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 1rem + 6vw, 6.5rem);
}
.hero::before { /* faint checked basket paper, top-right only */
  content: ""; position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%; z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.06) 0 28px, transparent 28px 56px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.06) 0 28px, transparent 28px 56px);
  mask-image: radial-gradient(120% 90% at 100% 0%, #000 30%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--s-7); align-items: center; }
.hero h1 { font-size: min(4.6vw, 5.4rem); line-height: 0.9; letter-spacing: -0.02em; }
.hero h1 .line--xl { font-size: 1.95em; line-height: 0.86; }
.hero h1 .line--accent { margin-top: 0.12em; }
.hero h1 .mask { display: block; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line { display: block; }
.hero h1 .line--accent { color: var(--crust); }
.hero-sub { margin-top: var(--s-5); max-width: 34ch; font-size: var(--t-lead); font-weight: 500; line-height: 1.45; color: rgb(255 245 230 / 0.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); align-items: center; }
.hero .status { margin-top: var(--s-5); background: rgb(34 16 12 / 0.28); color: var(--paper); }

.box-stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; margin-left: auto; width: 100%; }
.box {
  position: absolute; inset: 14% 10% 6% 10%;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 26px 26px 34px 34px;
  box-shadow: 0 14px 0 var(--ruby-deep), 0 40px 60px -30px rgb(0 0 0 / 0.6);
  display: grid; place-items: center; overflow: hidden;
  rotate: -3deg;
}
.box::before { /* checked liner */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 26%;
  background:
    linear-gradient(90deg, rgb(179 18 27 / 0.55) 50%, transparent 0) 0 0 / 36px 36px,
    linear-gradient(rgb(179 18 27 / 0.55) 50%, transparent 0) 0 0 / 36px 36px,
    var(--paper);
  border-bottom: 4px solid var(--ink);
}
.box-face { position: relative; text-align: center; padding-top: 16%; }
.box-face img { width: 132px; height: 139px; margin: 0 auto; object-fit: contain; }
.box-face p { font-family: var(--f-display); font-size: clamp(0.95rem, 0.5rem + 1.1vw, 1.35rem); padding-inline: 0.8rem; line-height: 1; margin-top: 0.6rem; color: var(--ruby); }
.box-face p span { display: block; font-family: var(--f-text); font-weight: 700; font-stretch: 80%; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.35rem; }
.stk { position: absolute; width: var(--w, 30%); }
.stk--1 { --w: 34%; left: -4%; top: 2%; rotate: -12deg; }
.stk--2 { --w: 30%; right: -3%; top: 4%; rotate: 10deg; }
.stk--3 { --w: 28%; left: -7%; bottom: 8%; rotate: 8deg; }
.stk--4 { --w: 27%; right: -6%; bottom: 14%; rotate: -9deg; }
.stk--5 { --w: 21%; left: 40%; top: -6%; rotate: 4deg; }
.stk-burst { position: absolute; right: 0; bottom: -4%; width: 35%; rotate: 12deg; }
.stk-burst span {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); color: var(--ink); font-size: clamp(0.62rem, 0.3rem + 0.62vw, 0.92rem); line-height: 1; padding: 0 20%;
}

/* ---------- marquee ---------- */
.marquee { background: var(--crust); color: var(--ink); border-block: 3px solid var(--ink); overflow: clip; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 2.2rem; padding: 0.9rem 1.1rem; }
.marquee__group span { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); line-height: 1; white-space: nowrap; }
.marquee__group svg { width: 2.1rem; height: 2.1rem; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: clamp(1.8rem, 1rem + 3vw, 3.4rem); }
.section-head h2 { font-size: var(--t-h2); max-width: 15ch; }
.section-head p { max-width: 42ch; font-size: var(--t-lead); color: var(--ink-soft); }

/* ---------- board (category quick pick) ---------- */
.board { background: var(--ink); color: var(--paper); }
.board .section-head p { color: rgb(255 245 230 / 0.75); }
.board-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgb(255 245 230 / 0.18); }
.board-row a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 3.2rem; align-items: center; gap: var(--s-5);
  min-height: 84px; padding: 0.9rem clamp(0.6rem, 0.2rem + 1.4vw, 1.4rem);
  border-bottom: 2px solid rgb(255 245 230 / 0.18);
  text-decoration: none; isolation: isolate;
}
.board-row a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ruby);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--dur-base) var(--ease-out);
}
.board-row a:hover::before, .board-row a:focus-visible::before { transform: scaleY(1); }
.board-name { font-family: var(--f-display); font-size: clamp(1.7rem, 1rem + 3vw, 3.6rem); line-height: 1; }
.board-name small { display: block; font-family: var(--f-text); font-size: 0.95rem; font-weight: 600; font-stretch: 90%; letter-spacing: 0.02em; color: rgb(255 245 230 / 0.7); margin-top: 0.35rem; }
.board-price { font-weight: 800; font-stretch: 80%; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); color: var(--crust); white-space: nowrap; }
.board-price b { font-size: 1.6em; font-variant-numeric: tabular-nums; }
.board-row .board-stk { width: 3.2rem; transition: transform var(--dur-base) var(--ease-pop); }
.board-row a:hover .board-stk { transform: rotate(-12deg) scale(1.25); }

/* ---------- Hunger-Rechner + Bon (signature) ---------- */
.calc { background: var(--paper); position: relative; overflow: clip; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.calc h2 { font-size: var(--t-h2); max-width: 11ch; }
.calc-intro { margin-top: var(--s-4); font-size: var(--t-lead); color: var(--ink-soft); max-width: 38ch; }
.field { margin-top: var(--s-6); }
.field-label { display: block; font-weight: 800; font-stretch: 85%; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--s-3); }
.stepper { display: inline-flex; align-items: center; gap: var(--s-3); background: var(--bon); border: 3px solid var(--ink); border-radius: var(--r-pill); padding: 6px; box-shadow: var(--shadow-btn); }
.stepper button {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.stepper button:hover { background: var(--ruby); }
.stepper button:active { transform: scale(0.9); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; background: var(--ink); transform: none; }
.stepper button svg { width: 22px; height: 22px; }
.stepper output { min-width: 5.2ch; text-align: center; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stepper output small { display: block; font-family: var(--f-text); font-size: 0.78rem; font-weight: 700; font-stretch: 85%; letter-spacing: 0.04em; margin-top: 2px; }
.choice { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; padding: 0; margin: var(--s-6) 0 0; min-width: 0; }
.choice legend { float: left; width: 100%; }
.choice legend { padding: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 48px; padding: 0 1.1em 0 0.6em;
  border: 2.5px solid var(--ink); border-radius: var(--r-pill); background: var(--bon);
  font-weight: 800; font-stretch: 88%; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.choice span svg { width: 34px; height: 34px; }
.choice label:hover span { transform: translateY(-2px); }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.calc-note { margin-top: var(--s-5); font-size: var(--t-small); color: var(--ink-soft); max-width: 46ch; }

.bon-wrap { position: relative; }
.bon-slot { /* the printer mouth */
  height: 18px; margin: 0 6%; border-radius: 0 0 14px 14px; background: var(--ink);
  box-shadow: inset 0 -5px 0 #000;
  position: relative; z-index: 2;
}
.bon {
  position: relative; z-index: 1; margin: -6px 10% 0; padding: 2rem 1.6rem 2.4rem;
  background: var(--bon); color: var(--ink);
  box-shadow: var(--shadow-bon);
  font-variant-numeric: tabular-nums;
  --zig: 12px;
  mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
}
.bon-head { text-align: center; border-bottom: 2px dashed var(--line); padding-bottom: var(--s-4); }
.bon-head b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1; color: var(--ruby); }
.bon-head span { display: block; font-size: 0.82rem; font-weight: 600; font-stretch: 85%; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.4rem; color: var(--ink-soft); }
.bon-lines { list-style: none; margin: 0; padding: var(--s-4) 0; border-bottom: 2px dashed var(--line); min-height: 9.5rem; }
.bon-lines li { display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; gap: 0.6rem; padding: 0.42rem 0; font-weight: 600; font-stretch: 92%; }
.bon-lines li .q { font-weight: 800; color: var(--ruby); }
.bon-lines li .p { font-weight: 700; }
.bon-lines li small { display: block; font-weight: 500; font-size: 0.82rem; color: var(--ink-soft); }
.bon-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-4); }
.bon-total span { font-weight: 800; font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }
.bon-total b { font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.bon-pp { text-align: right; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.2rem; }
.bon-actions { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.bon-actions .btn { width: 100%; }
.bon-foot { margin-top: var(--s-4); text-align: center; font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- value ladder ---------- */
.ladder { background: var(--paper-2); }
.ladder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.ladder-card { background: var(--bon); border: 3px solid var(--ink); border-radius: var(--r-l); padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); box-shadow: 0 8px 0 var(--ink); }
.ladder-card h3 { font-size: var(--t-h3); display: flex; align-items: center; gap: 0.6rem; }
.ladder-card h3 svg { width: 3rem; flex: none; }
.ladder-card > p { margin-top: 0.4rem; color: var(--ink-soft); font-size: var(--t-small); }
.bars { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 0.7rem; }
.bars li { display: grid; grid-template-columns: 7.5ch minmax(0, 1fr) 8ch; align-items: center; gap: 0.8rem; font-variant-numeric: tabular-nums; }
.bars .n { font-weight: 800; font-stretch: 85%; }
.bars .track { height: 30px; background: var(--paper-2); border-radius: var(--r-pill); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: var(--pct); background: var(--ruby); border-radius: var(--r-pill); transform-origin: left; }
.bars li:last-child .fill { background: var(--crust); box-shadow: inset 0 0 0 3px var(--ink); }
.bars .pp { text-align: right; font-weight: 700; font-size: 0.95rem; }
.bars .pp small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--ink-soft); }

/* ---------- visit / hours ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.visit-addr { font-family: var(--f-display); font-size: clamp(2.1rem, 0.9rem + 3.6vw, 4.6rem); line-height: 0.92; color: var(--ruby); }
.visit-addr span { display: block; color: var(--ink); }
.visit-meta { margin-top: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--t-lead); font-weight: 600; }
.visit-meta a { font-weight: 800; }
.visit-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.15; padding-top: 0.15em; margin-bottom: var(--s-3); }
.hours th, .hours td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 2px dashed var(--line); font-size: 1.05rem; }
.hours th { font-weight: 800; font-stretch: 88%; }
.hours td { text-align: right; font-weight: 600; }
.hours tr[data-today] th, .hours tr[data-today] td { background: var(--crust); }
.hours tr[data-today] th::after { content: " (heute)"; font-weight: 600; }
.hours-note { margin-top: var(--s-3); font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- closer ---------- */
.closer { background: var(--ruby); color: var(--paper); text-align: center; position: relative; overflow: clip; }
.closer h2 { font-size: var(--t-mega); line-height: 0.88; }
.closer h2 span { color: var(--crust); display: block; }
.closer p { margin: var(--s-5) auto 0; max-width: 36ch; font-size: var(--t-lead); }
.closer .hero-cta { justify-content: center; }
.closer .float { position: absolute; width: clamp(80px, 9vw, 150px); }
.closer .float--a { left: 6%; top: 14%; rotate: -14deg; }
.closer .float--b { right: 7%; top: 20%; rotate: 12deg; }
.closer .float--c { left: 12%; bottom: 10%; rotate: 9deg; }
.closer .float--d { right: 10%; bottom: 12%; rotate: -8deg; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s-8) calc(var(--s-6) + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-6); }
.footer-brand { display: flex; gap: var(--s-4); align-items: center; }
.footer-brand img { width: 64px; height: 68px; object-fit: contain; background: var(--paper); border-radius: 16px; padding: 4px; }
.footer-brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1; }
.site-footer h2 { font-family: var(--f-text); font-weight: 800; font-stretch: 85%; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 245 230 / 0.6); margin-bottom: var(--s-3); line-height: 1.2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid rgb(255 245 230 / 0.18); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; font-size: var(--t-small); color: rgb(255 245 230 / 0.7); }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- mobile order bar ---------- */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; align-items: center; gap: var(--s-3);
  padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--crust);
}
.order-bar .status { background: rgb(255 245 230 / 0.12); color: var(--paper); min-height: 30px; font-size: 0.8rem; }
.order-bar .btn { margin-left: auto; min-height: 50px; box-shadow: none; border-color: var(--crust); }
.floating-contact { position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); z-index: var(--z-sticky); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r-pill); background: #25d366; color: #fff; box-shadow: 0 4px 0 var(--ink), 0 4px 10px rgb(34 16 12 / 0.3); transition: transform 0.15s var(--ease-out); }
.floating-contact svg { width: 28px; height: 28px; }
.floating-contact:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .floating-contact:hover { transform: none; } }
@media (max-width: 899px) { .floating-contact { bottom: calc(86px + env(safe-area-inset-bottom)); right: var(--s-3); z-index: calc(var(--z-bar) - 1); } }
@media print { .floating-contact { display: none; } }

/* ---------- page head (sub pages) ---------- */
.page-head { background: var(--ruby); color: var(--paper); padding-block: clamp(2.4rem, 1.5rem + 4vw, 4.8rem); position: relative; overflow: clip; }
.page-head h1 { font-size: var(--t-h1); }
.page-head p { margin-top: var(--s-4); font-size: var(--t-lead); max-width: 46ch; color: rgb(255 245 230 / 0.92); }
.page-head .deco { position: absolute; right: max(var(--gutter), 6%); top: 50%; translate: 0 -50%; width: clamp(90px, 14vw, 210px); rotate: 10deg; }

/* ---------- menu page ---------- */
.menu-tools { position: sticky; top: var(--header-h); z-index: var(--z-sticky); background: var(--paper); border-bottom: 2px solid var(--ink); }
.menu-tools-row { display: flex; align-items: center; gap: var(--s-3); padding-block: 0.6rem; }
.chips { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding: 0 0.95em 0 0.45em;
  border: 2.5px solid var(--ink); border-radius: var(--r-pill); background: var(--bon);
  font-weight: 800; font-stretch: 88%; font-size: 0.95rem; text-decoration: none; white-space: nowrap; scroll-snap-align: start;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.chip svg { width: 30px; height: 30px; }
.chip:hover { background: var(--paper-2); }
.chip[aria-current] { background: var(--ink); color: var(--paper); }
.search { position: relative; flex: 0 1 260px; }
.search input {
  width: 100%; min-height: 48px; padding: 0 1rem 0 2.6rem; border: 2.5px solid var(--ink); border-radius: var(--r-pill); background: var(--bon); color: var(--ink);
}
.search input::placeholder { color: #6f5a4f; }
.search svg { position: absolute; left: 0.85rem; top: 50%; translate: 0 -50%; width: 20px; height: 20px; pointer-events: none; }
.menu-note { padding-top: var(--s-6); font-size: var(--t-small); color: var(--ink-soft); }
.menu-cat { padding-block: var(--s-7) var(--s-4); }
.menu-cat-head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.menu-cat-head svg { width: clamp(64px, 7vw, 92px); flex: none; }
.menu-cat-head h2 { font-size: var(--t-h2); }
.menu-cat-head p { font-weight: 700; font-stretch: 88%; color: var(--ink-soft); margin-top: 0.3rem; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; padding: 1rem 0.2rem; border-bottom: 2px dashed var(--line); }
.item h3 { font-family: var(--f-text); font-weight: 750; font-stretch: 92%; font-size: 1.12rem; line-height: 1.3; letter-spacing: 0; }
.item small { display: block; color: var(--ink-soft); font-size: 0.86rem; font-weight: 500; margin-top: 0.15rem; }
.item .price { font-weight: 800; font-size: 1.18rem; font-variant-numeric: tabular-nums; }
.item mark { background: var(--crust); color: var(--ink); padding: 0 0.3em; border-radius: 4px; }
.sauces { margin-top: var(--s-7); background: var(--ink); color: var(--paper); border-radius: var(--r-l); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); align-items: center; }
.sauces svg { width: clamp(64px, 8vw, 110px); }
.sauces h2 { font-size: var(--t-h3); }
.sauce-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.sauce-list li { padding: 0.35rem 0.8rem; border-radius: var(--r-pill); border: 1.5px solid rgb(255 245 230 / 0.35); font-weight: 650; font-stretch: 90%; font-size: 0.95rem; }
.empty { display: none; padding: var(--s-7) 0; text-align: center; font-weight: 700; }
.empty.is-on { display: block; }
.menu-end { padding-block: var(--s-8); text-align: center; }
.menu-end h2 { font-size: var(--t-h2); }
.menu-end p { margin: var(--s-3) auto var(--s-5); color: var(--ink-soft); max-width: 40ch; }

/* ---------- content pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--t-h3); margin: var(--s-7) 0 var(--s-3); }
.prose p, .prose ul { margin: 0 0 var(--s-4); }
.prose ul { padding-left: 1.2em; }
.todo { background: var(--crust); padding: 0 0.35em; border-radius: 4px; font-weight: 700; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.card { background: var(--bon); border: 3px solid var(--ink); border-radius: var(--r-l); padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); box-shadow: 0 8px 0 var(--ink); }
.card h2 { font-size: var(--t-h3); margin-bottom: var(--s-4); }
.areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.areas li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0; border-bottom: 2px dashed var(--line); }
.areas li b { color: var(--ruby); font-weight: 750; }
.areas li span { font-weight: 550; line-height: 1.5; }
.platforms { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.err { text-align: center; padding-block: var(--s-9); }
.err svg { width: 160px; margin: 0 auto var(--s-5); }
.err h1 { font-size: var(--t-h1); }
.err p { margin: var(--s-4) auto var(--s-6); max-width: 36ch; font-size: var(--t-lead); }

/* ---------- responsive ---------- */
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .header-row { position: relative; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.9rem;
    border: 2.5px solid var(--ink); border-radius: var(--r-pill); background: var(--bon); cursor: pointer;
    font-weight: 800; font-stretch: 88%;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .nav {
    position: absolute; top: calc(100% + 2px); right: 0; left: 0; z-index: var(--z-header);
    display: none; flex-direction: column; gap: 0.2rem; padding: var(--s-3);
    background: var(--paper); border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 var(--r-m) var(--r-m);
    box-shadow: 0 18px 30px -18px rgb(34 16 12 / 0.5);
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; font-size: 1.15rem; padding: 0 1rem; }
}
@media (max-width: 899px) {
  :root { --header-h: 62px; }
  .header-row .status { display: none; }
  .header-row .btn { display: none; }
  .hero-grid, .calc-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .box-stage { max-width: 380px; margin: var(--s-4) auto 0; }
  .ladder-grid, .cards2 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .order-bar { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .items { grid-template-columns: minmax(0, 1fr); }
  .bon { margin-inline: 4%; }
  .menu-tools-row { flex-wrap: wrap; }
  .search { flex: 1 1 100%; order: -1; }
  .closer .float--c, .closer .float--d { display: none; }
  .page-head .deco { opacity: 0.35; }
}
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 3.4rem); }
  .box-face p { font-size: 0.92rem; }
  .box-face p span { font-size: 0.6rem; letter-spacing: 0.04em; }
  .box-face img { width: 104px; height: 110px; }
}
@media (max-width: 560px) {
  .brand b { font-size: 0.95rem; }
  .brand b span { display: none; }
  .page-head .deco { display: none; }
  .hours tr { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hours th { border-bottom: 0; padding-bottom: 0.1rem; }
  .hours td { text-align: left; padding-top: 0; padding-bottom: 0.75rem; }
  .hours th { padding-top: 0.75rem; }
  .header-row .btn { padding: 0 0.95em; }
  .board-row a { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; gap: var(--s-3); }
  .board-row .board-stk { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stepper button { width: 52px; height: 52px; }
  .bars li { grid-template-columns: 6.5ch minmax(0, 1fr) 7.5ch; gap: 0.5rem; }
  .sauces { grid-template-columns: minmax(0, 1fr); }
  .hours th, .hours td { padding: 0.75rem 0.5rem; font-size: 0.98rem; }
}
@media (max-width: 899px) {
  /* keep focused elements clear of the fixed order bar (WCAG 2.4.11) */
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- intro (CSS, so the first paint does not wait for GSAP) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line { animation: intro-line 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
  .hero h1 .mask:nth-child(2) .line { animation-delay: 0.09s; }
  .hero h1 .mask:nth-child(3) .line { animation-delay: 0.18s; }
  .hero-sub { animation: intro-rise 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.45s both; }
  .hero-cta { animation: intro-rise 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.52s both; }
  .hero .box { animation: intro-box 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.15s both; }
  .hero .stk, .hero .stk-burst { animation: intro-slap 0.6s cubic-bezier(0.895, 0.03, 0.685, 0.22) both; }
  .hero .stk--1 { --slap: -42deg; animation-delay: 0.55s; }
  .hero .stk--2 { --slap: 34deg; animation-delay: 0.64s; }
  .hero .stk--3 { --slap: 26deg; animation-delay: 0.73s; }
  .hero .stk--4 { --slap: -31deg; animation-delay: 0.82s; }
  .hero .stk--5 { --slap: 16deg; animation-delay: 0.91s; }
  .hero .stk-burst { --slap: 40deg; animation-delay: 1s; }
  .page-head h1, .page-head p { animation: intro-rise 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
  .page-head p { animation-delay: 0.08s; }
  .page-head .deco { animation: intro-deco 0.5s cubic-bezier(0.895, 0.03, 0.685, 0.22) 0.2s both; }
}
@keyframes intro-line { from { translate: 0 110%; } }
@keyframes intro-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes intro-box { from { opacity: 0; translate: 0 60px; rotate: 3deg; } }
@keyframes intro-slap {
  0% { opacity: 0; scale: 1.6; translate: 0 -40px; rotate: var(--slap); }
  70% { opacity: 1; scale: 1; translate: 0 0; }
  85% { scale: 1.06; }
}
@keyframes intro-deco { from { opacity: 0; scale: 1.5; rotate: -20deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status[data-open="true"]::before { animation: none; }
  .btn:hover, .choice label:hover span { transform: none; }
  .board-row a:hover .board-stk { transform: none; }
}
@media print {
  .site-header, .order-bar, .marquee, .hero .box-stage, .closer { display: none; }
}

/* open order ribbon under the header (shop.js) */
.track-ribbon {
  display: flex; align-items: center; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
  padding: 0.65rem var(--gutter); background: var(--crust); color: var(--ink); text-decoration: none;
  font-weight: 700; font-stretch: 90%; box-shadow: inset 0 -3px 0 var(--ink);
}
.track-ribbon b { padding: 0.25rem 0.8rem; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); }
.track-ribbon:hover b { background: var(--ruby); }
.track-ribbon-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ruby); box-shadow: 0 0 0 0 rgb(179 18 27 / 0.6); animation: ping 1.6s var(--ease-out) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(179 18 27 / 0); } 100% { box-shadow: 0 0 0 0 rgb(179 18 27 / 0); } }
@media (prefers-reduced-motion: reduce) { .track-ribbon-dot { animation: none; } }
