/* ============================================================
   Voltano · Demo von Wild Digital Moments
   Eine Idee: Papier und Ofen. Der Zettel wird geschrieben,
   abgerissen und dem Feuer uebergeben. Alles andere dient dem.
   Schrift: Young Serif (Display) · Karla (Text) · Caveat (Hand)
   Bewegt wird ausschliesslich transform und opacity.
   ============================================================ */

:root {
  --paper:    #F2E8D5;
  --paper-2:  #E7D8BC;
  --paper-3:  #DCC9A6;
  --slip:     #FCF7EA;
  --ink:      #241C13;
  --ink-2:    #5B5040;
  --line:     rgba(36, 28, 19, .17);
  --line-2:   rgba(36, 28, 19, .3);
  --flame:    #A63A14;
  --flame-d:  #7E2A0D;
  --ember:    #E08A3C;
  --char:     #191108;
  --cream:    #F6EDDC;
  --wa:       #107F43;
  --wa-d:     #0B6034;
  --gutter:   clamp(20px, 5vw, 76px);
  --torn:     11px 14px 10px 13px / 14px 10px 13px 11px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }

/* ---------- Schriften, selbst gehostet ----------
   Bewusst hier und nicht in einer eigenen Datei: eine zweite blockierende
   Stylesheet-Anfrage verlaengert die kritische Kette um einen ganzen
   Roundtrip, bevor die Schriften ueberhaupt angefordert werden. */
/* Self-hosted from Google Fonts on 2026-07-26. Same families, weights and
   unicode-ranges the page already requested — no external request, no
   third-party connection on page load. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/caveat-600-normal-latin-ext.woff2?v=ffc350bd) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/caveat-600-normal-latin.woff2?v=018947f2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/karla-400-italic-latin-ext.woff2?v=732962e2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/karla-400-italic-latin.woff2?v=82403052) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/karla-400-normal-latin-ext.woff2?v=5f26aaa8) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/karla-400-normal-latin.woff2?v=b7c8f0b9) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/karla-500-normal-latin-ext.woff2?v=5f26aaa8) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/karla-500-normal-latin.woff2?v=b7c8f0b9) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/karla-700-normal-latin-ext.woff2?v=5f26aaa8) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/karla-700-normal-latin.woff2?v=b7c8f0b9) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/young-serif-400-normal-latin-ext.woff2?v=e5cce58a) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/young-serif-400-normal-latin.woff2?v=de140f31) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metrisch angeglichener Ersatz, damit der Schriftwechsel nichts verschiebt.
   Die Werte sind gemessen, nicht geschaetzt: Vorschubbreite derselben
   Textzeile in Karla gegen Segoe UI und in Young Serif gegen Georgia,
   dazu die echten Auf- und Unterlaengen der beiden Webschriften. */
@font-face {
  font-family: 'Young Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 108.7%;
  ascent-override: 105%;
  descent-override: 37%;
  line-gap-override: 0%;
}
@font-face {
  /* Caveat ist deutlich schmaler als jede Systemschrift: 1177 zu 1570 auf
     dieselbe Zeile. Ohne diese Anpassung bricht die Handnotiz im Ersatz auf
     zwei Zeilen um und schiebt den halben Hero nach unten. */
  font-family: 'Caveat Fallback';
  src: local('Segoe UI'), local('Arial');
  size-adjust: 75%;
  ascent-override: 128%;
  descent-override: 40%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Karla Fallback';
  src: local('Segoe UI'), local('Arial');
  size-adjust: 102.8%;
  ascent-override: 92%;
  descent-override: 25%;
  line-gap-override: 0%;
}

body {
  font-family: 'Karla', 'Karla Fallback', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

/* Papierkorn, sehr leise, ueber allem */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .045;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-weight: 400; line-height: 1.1; }
a { color: inherit; }
::selection { background: var(--flame); color: var(--cream); }
:focus-visible { outline: 2.5px solid var(--flame); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
[hidden] { display: none !important; }

/* Ohne JS: keine Bestell-Bedienelemente, dafuer der Anrufhinweis */
.nojs-note { display: none; }
.no-js .add-btn, .no-js .dock, .no-js .menu-tools, .no-js .pass-grid { display: none !important; }
.no-js .nojs-note { display: block; }

/* ---------- Knoepfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  border: 2px solid transparent; border-radius: var(--torn);
  font: 700 1rem 'Karla', 'Karla Fallback', sans-serif;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-fire { background: var(--flame); color: var(--cream); }
.btn-fire:hover { background: var(--flame-d); box-shadow: 0 10px 24px -8px rgba(126, 42, 13, .55); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: rgba(36, 28, 19, .07); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); box-shadow: 0 10px 24px -8px rgba(11, 96, 52, .5); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.tlink {
  color: var(--flame); font-weight: 700; text-decoration: underline;
  text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: 4px;
  display: inline-block; padding: 6px 0;
}

/* Zeilenhoehe fest, nicht "normal": sonst haengt die Hoehe der Handschrift
   an den Metriken der Ersatzschrift und beim Schriftwechsel springt das
   darunterliegende Layout. */
.hand {
  font-family: 'Caveat', 'Caveat Fallback', cursive;
  font-weight: 600; font-size: 1.8rem; line-height: 1.28;
  color: var(--flame); display: inline-block; transform: rotate(-2deg);
}
.overline {
  font: 700 .72rem 'Karla', 'Karla Fallback', sans-serif;
  letter-spacing: .24em; text-transform: uppercase; color: var(--flame);
}

/* ---------- Demo-Zettel ganz oben ---------- */
/* Raster statt umbrechendem Flex: so haengt die Position des Textes nicht an
   seiner eigenen Breite und der Streifen wackelt beim Schriftwechsel nicht. */
.docket {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 8px var(--gutter);
  background: var(--paper-2); border-bottom: 1px dashed var(--line-2); text-align: center;
}
.docket p { font-size: .82rem; color: var(--ink-2); }
.docket a { color: var(--flame); font-weight: 700; }
.docket-stamp {
  font: 800 .68rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame);
  border: 1.6px solid var(--flame); border-radius: 3px; padding: 2px 8px;
  transform: rotate(-3deg); flex: none;
}
.docket-close {
  width: 34px; height: 34px; flex: none; border: 0; background: transparent;
  color: var(--ink-2); cursor: pointer; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.docket-close:hover { background: rgba(36, 28, 19, .1); color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.site-head {
  position: sticky; top: 0; z-index: 120;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 38px);
  padding: 9px var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
/* Die Navigation steht links am Wortzeichen und nicht rechts am Knopf:
   so verschiebt eine minimal andere Textbreite beim Schriftwechsel nichts. */
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.wordmark svg { width: 34px; height: 34px; color: var(--flame); flex: none; }
.wm-txt { display: block; }
.wm-over {
  display: block; font: 700 .6rem 'Karla', 'Karla Fallback', sans-serif;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
}
.wm-name {
  display: block; font-family: 'Young Serif', 'Young Fallback', Georgia, serif;
  font-size: 1.42rem; line-height: 1.1; letter-spacing: .02em;
}
.site-nav { display: flex; gap: clamp(12px, 2.2vw, 28px); margin-right: auto; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 12px 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--flame); text-decoration: underline; text-decoration-style: wavy;
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.btn-head { min-height: 44px; padding: 9px 16px; font-size: .9rem; }

/* ============================================================
   Hero — die Volta
   Der Ofen ist kein Vorschaubild mehr, er ist das Zentrum: gross,
   mit atmendem Feuerschein, der auf das Papier rundherum faellt,
   und Funken, die aus dem Gewoelbe aufsteigen. Das Blatt bleibt
   hell — das Feuer wohnt im Bogen.
   ============================================================ */
.hero {
  position: relative; text-align: center; overflow-x: clip;
  max-width: 1320px; margin: 0 auto;
  padding: clamp(26px, 4vw, 46px) var(--gutter) clamp(58px, 7vw, 100px);
}
.hero-fig { position: relative; width: min(86vw, 520px); margin: 0 auto; }
.hero-kicker { margin: 26px 0 10px; }

.volta {
  position: relative; margin: 0; isolation: isolate;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  padding: clamp(9px, 1vw, 13px);
  background: linear-gradient(180deg, var(--paper-3), var(--paper-2));
  border-radius: 999px 999px 14px 14px;
  box-shadow: 0 0 0 1px rgba(36, 28, 19, .22), 0 44px 84px -32px rgba(36, 28, 19, .65);
}
/* Der Schein des Feuers, der aus dem Bogen auf das Papier faellt */
.volta::before {
  content: ''; position: absolute; inset: -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 44% at 50% 62%, rgba(224, 138, 60, .4), rgba(224, 138, 60, 0) 70%);
}
.volta-mouth {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 999px 999px 7px 7px; background: var(--char);
}
.volta-mouth img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.volta-shade {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 46px 12px rgba(15, 8, 3, .78);
  border-radius: inherit;
}
.volta-heat {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(58% 46% at 50% 74%, rgba(232, 142, 62, .55), rgba(232, 142, 62, 0) 72%);
  opacity: .45;
}
@media (prefers-reduced-motion: no-preference) {
  .volta-heat { animation: breathe 6.5s ease-in-out infinite alternate; }
  .volta::before { animation: glow 6.5s ease-in-out infinite alternate; }
}
@keyframes breathe { from { opacity: .3; } to { opacity: .95; } }
@keyframes glow { from { opacity: .55; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }

/* Beim ersten Scrollen lehnt man sich in den Ofen: das Bild waechst
   minimal. Nur transform, nur wo der Browser Scroll-Timelines kann;
   ueberall sonst steht das Bild einfach. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .volta-mouth img { animation: arch-lean linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
}
@keyframes arch-lean { from { transform: scale(1); } to { transform: scale(1.09); } }

/* Funken. Geboren im Feuer, verglommen ueber dem Papier.
   Grundzustand unsichtbar: faellt die Animation weg (reduzierte
   Bewegung, alte Browser), gibt es schlicht keine Funken. */
.embers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.embers i {
  position: absolute; left: 50%; bottom: 34%;
  width: 6px; height: 6px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 38% 35%, #FFE0AE, var(--ember) 55%, rgba(224, 138, 60, 0) 78%);
}
@media (prefers-reduced-motion: no-preference) {
  .embers i { animation: ember-rise var(--dur, 6s) linear var(--del, 0s) infinite; }
}
@keyframes ember-rise {
  0%   { transform: translate(var(--x0, 0px), 0) scale(1); opacity: 0; }
  6%   { opacity: .95; }
  55%  { opacity: .75; }
  100% { transform: translate(var(--x1, 18px), calc(-1 * min(64vh, 560px))) scale(.35); opacity: 0; }
}
.embers i:nth-child(1) { left: 38%; --del: 0s;   --dur: 6.4s; --x0: 2px;  --x1: -30px; }
.embers i:nth-child(2) { left: 55%; --del: 1.1s; --dur: 5.2s; --x0: -3px; --x1: 24px; width: 5px; height: 5px; }
.embers i:nth-child(3) { left: 47%; --del: 2.3s; --dur: 7.1s; --x0: 0px;  --x1: -14px; width: 4px; height: 4px; }
.embers i:nth-child(4) { left: 63%; --del: 3.4s; --dur: 6s;   --x0: 2px;  --x1: 34px; }
.embers i:nth-child(5) { left: 42%; --del: 4.2s; --dur: 5.6s; --x0: -2px; --x1: -40px; width: 5px; height: 5px; }
.embers i:nth-child(6) { left: 58%; --del: 5s;   --dur: 6.8s; --x0: 0px;  --x1: 16px; width: 4px; height: 4px; }
.embers i:nth-child(7) { left: 51%; --del: .6s;  --dur: 4.9s; --x0: 3px;  --x1: 8px;  width: 7px; height: 7px; }
.embers i:nth-child(8) { left: 35%; --del: 2.9s; --dur: 7.4s; --x0: 0px;  --x1: -22px; width: 4px; height: 4px; }
.embers i:nth-child(9) { left: 66%; --del: 1.7s; --dur: 5.9s; --x0: -2px; --x1: 28px; width: 5px; height: 5px; }

/* Ein Papierschild, das ueber die Ofenkante gehaengt ist: der eine bewusste
   Bruch in der sonst mittigen Achse. */
.hero-tag {
  position: relative; z-index: 2;
  margin: -24px auto 0; width: min(90vw, 420px);
  background: var(--paper); padding: 9px 24px 5px;
  box-shadow: 0 10px 22px -12px rgba(36, 28, 19, .55);
  transform: rotate(-1.5deg);
}
.hero-tag .hand { transform: none; }

.hero h1 {
  margin: 10px auto 0;
  width: min(960px, 94vw);
  font-size: clamp(2.05rem, 6.5vw, 3.2rem);
  letter-spacing: -.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 .lit { color: var(--flame); }
.hero-sub {
  margin: 20px auto 0; max-width: 600px; font-size: 1.13rem; color: var(--ink-2);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.hero-cta .btn { min-height: 56px; padding: 15px 30px; font-size: 1.04rem; }

/* Ab Tablet-Breite bricht der Hero die Mittelachse: der Ofen steht links,
   die Zeile daneben — beides gemeinsam ueber der Falz. */
@media (min-width: 981px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(36px, 4.5vw, 80px); align-items: center; text-align: left;
  }
  .hero-fig { width: 100%; max-width: 570px; margin: 0; }
  .hero-copy { max-width: 640px; }
  .hero-kicker { margin: 0 0 18px; }
  .hero h1 { margin: 0; width: auto; font-size: clamp(2.6rem, 3.6vw, 4rem); }
  .hero-sub { margin: 22px 0 0; }
  .hero-cta { justify-content: flex-start; margin-top: 32px; }
}
.symbolfoto {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-2);
}

/* ============================================================
   Der Bon — warum direkt
   ============================================================ */
/* Die Naht zwischen den Papiertoenen ist gerissen, nicht geschnitten —
   dasselbe Zahnmuster wie an den Bons und am Bestellzettel. */
.argument { position: relative; background: var(--paper-2); }
.argument::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 13px; pointer-events: none;
  background: conic-gradient(from 135deg at 50% 0%, var(--paper) 90deg, transparent 0) 0 0 / 26px 13px repeat-x;
}
.argument::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 13px; pointer-events: none;
  background: conic-gradient(from -45deg at 50% 100%, var(--paper) 90deg, transparent 0) 0 100% / 26px 13px repeat-x;
}
.argument-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: clamp(34px, 5vw, 80px); align-items: start;
  max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter);
}
.argument h2, .taster h2, .steps h2, .contact h2 { font-size: clamp(2.05rem, 3.7vw, 3.15rem); letter-spacing: -.015em; }
.argument p { margin-top: 18px; max-width: 54ch; color: var(--ink-2); }
.argument p.lead { color: var(--ink); font-size: 1.08rem; }
.argument .hand { margin-bottom: 4px; }

.slips { display: grid; gap: 24px; justify-items: center; }
.receipt {
  position: relative; width: min(340px, 100%);
  background: var(--slip); padding: 20px 22px 26px;
  box-shadow: 0 16px 32px -14px rgba(36, 28, 19, .45);
  font-variant-numeric: tabular-nums; transform: rotate(-1.5deg);
}
.receipt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px;
  background: conic-gradient(from 135deg at 50% 0%, var(--slip) 90deg, transparent 0) 0 0 / 18px 9px repeat-x;
}
.receipt-2 { transform: rotate(1.3deg); }

/* Der Plattform-Bon ist oben angesengt: da verbrennt Geld.
   Der eigene Bon bleibt makellos. */
.receipt-1 {
  background:
    linear-gradient(180deg, rgba(96, 52, 18, .16), rgba(96, 52, 18, 0) 32%),
    var(--slip);
}
.receipt-1::before {
  content: ''; position: absolute; left: -2px; right: -2px; top: -7px; height: 12px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='12' preserveAspectRatio='none'%3E%3Cpath d='M0 12 L0 8 Q8 3 20 7 T44 5 T66 9 T92 4 T118 8 T148 3 T176 9 T202 5 T228 8 T252 4 T278 8 T302 5 T324 9 L340 6 L340 12 Z' fill='%23301B0B'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.receipt-1 .receipt-total span:last-child { color: var(--flame); }
.burn { color: var(--flame); font-weight: 800; }

/* Die Bons rutschen beim Scrollen auf den Tisch — nur transform,
   nie Deckkraft: ein schneller Scroller sieht sie immer vollstaendig. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .receipt-1 { animation: slip-l linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    .receipt-2 { animation: slip-r linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
  }
}
@keyframes slip-l { from { transform: rotate(-5.5deg) translateY(38px); } to { transform: rotate(-1.5deg) translateY(0); } }
@keyframes slip-r { from { transform: rotate(5deg) translateY(54px); } to { transform: rotate(1.3deg) translateY(0); } }
.receipt-head {
  font: 800 .74rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .18em;
  text-transform: uppercase; padding-bottom: 8px;
  border-bottom: 2px solid var(--ink); box-shadow: 0 3px 0 -1px var(--ink);
}
.receipt dl { margin-top: 14px; }
.receipt dl > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
}
.receipt dd { font-weight: 700; text-align: right; white-space: nowrap; }
.receipt-1 dt, .receipt-1 dd { color: var(--ink-2); }
.receipt-total { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; font-weight: 800; }
.receipt-2 .receipt-total span:last-child { color: var(--flame); }
.rubber {
  position: absolute; right: 96px; bottom: 20px;
  font: 800 .8rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame);
  border: 2.5px solid var(--flame); border-radius: 5px; padding: 4px 12px;
  transform: rotate(-9deg); opacity: .92;
}
.slips-note { font-size: .82rem; color: var(--ink-2); max-width: 34ch; text-align: center; }

/* ============================================================
   So laeuft das — drei Zettel
   ============================================================ */
.steps { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 100px) var(--gutter) clamp(20px, 3vw, 40px); }
.steps-head { max-width: 58ch; }
.steps-head p { margin-top: 16px; color: var(--ink-2); }
.step-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px); margin-top: 42px;
}
.step {
  position: relative; background: var(--slip); padding: 26px 24px 30px;
  box-shadow: 0 14px 30px -16px rgba(36, 28, 19, .45);
}
.step:nth-child(1) { transform: rotate(-.9deg); }
.step:nth-child(2) { transform: rotate(.5deg) translateY(14px); }
.step:nth-child(3) { transform: rotate(-.4deg); }
.step::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px;
  background: conic-gradient(from 135deg at 50% 0%, var(--slip) 90deg, transparent 0) 0 0 / 18px 9px repeat-x;
}
.step-no {
  font-family: 'Young Serif', 'Young Fallback', Georgia, serif;
  font-size: 4rem; line-height: .9; color: var(--flame); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.28rem; }
.step p { margin-top: 10px; font-size: .96rem; color: var(--ink-2); }

.honest {
  margin: 56px auto 0; max-width: 74ch;
  border-top: 2px solid var(--ink); padding-top: 22px;
}
.honest h3 { font-size: 1.3rem; margin-bottom: 12px; }
.honest p { color: var(--ink-2); margin-top: 12px; }
.honest strong { color: var(--ink); }

/* ============================================================
   Gerichte
   ============================================================ */
.taster { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 100px) var(--gutter) clamp(40px, 5vw, 70px); }
.photo { margin-top: 34px; }
.photo img { width: 100%; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(36, 28, 19, .55); }
.photo figcaption { margin-top: 8px; text-align: right; }

/* Das Appetit-Band laeuft von Rand zu Rand — das einzige Element,
   das aus dem 1240er-Satzspiegel ausbricht, mit Absicht. */
.band-full { position: relative; margin: 0; aspect-ratio: 21 / 7; overflow: clip; background: var(--char); }
.band-full img {
  position: absolute; left: 0; top: -9%; width: 100%; height: 118%;
  object-fit: cover; object-position: 50% 55%;
}
.band-full figcaption {
  position: absolute; right: 14px; bottom: 10px; z-index: 2;
  background: rgba(20, 12, 5, .55); color: var(--cream);
  padding: 3px 10px; border-radius: 4px;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band-full img { animation: band-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes band-drift { from { transform: translateY(-3.5%); } to { transform: translateY(3.5%); } }
@media (max-width: 720px) { .band-full { aspect-ratio: 16 / 10; } }

/* Die grosse Ofenzeile zwischen den Kapiteln: Kontur in Flammenfarbe,
   wandert mit dem Scrollen. Reines Dekor, fuer Vorleser unsichtbar. */
.seam { overflow: hidden; padding: clamp(30px, 5vw, 64px) 0 clamp(10px, 2vw, 26px); }
.seam-track {
  width: max-content; white-space: nowrap; margin: 0;
  font-family: 'Young Serif', 'Young Fallback', Georgia, serif;
  font-size: clamp(3.2rem, 8.5vw, 7rem); line-height: 1.08;
  color: transparent; -webkit-text-stroke: 2px rgba(166, 58, 20, .72);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .seam-track { animation: seam-slide linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes seam-slide { from { transform: translateX(0); } to { transform: translateX(-22vw); } }

.dishes { list-style: none; }
.dish {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 15px 6px 15px 2px; border-bottom: 1px dashed var(--line);
  transition: background-color .2s ease, transform .2s ease;
}
.dish:hover { background: rgba(252, 247, 234, .8); transform: translateX(5px); }
.dish:hover .dish-price { color: var(--flame); }
.dish-price { transition: color .2s ease; }
.dish-kicker {
  font: 700 .62rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame); margin-bottom: 3px;
}
.dish-name { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-size: 1.06rem; line-height: 1.28; }
.dish-desc { margin-top: 3px; font-size: .93rem; color: var(--ink-2); max-width: 56ch; }
.dish-meta { margin-top: 5px; font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dish-meta .opt-tag { color: var(--flame); }
.dish-side { display: flex; align-items: center; gap: 15px; flex: none; }
.dish-price { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-size: 1.02rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.add-btn {
  width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1.6px solid var(--flame); border-radius: 50%; background: transparent; color: var(--flame);
  cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ic-plus { width: 18px; height: 18px; }
.add-btn:hover { background: var(--flame); color: var(--cream); }
.add-btn:active { transform: scale(.92); }
.add-btn.pop { animation: addpop .45s ease; background: var(--flame); color: var(--cream); }
@keyframes addpop {
  0%   { transform: scale(1) rotate(0); }
  45%  { transform: scale(1.2) rotate(90deg); }
  100% { transform: scale(1) rotate(90deg); }
}
.dish.hide, .menu-cat.hide { display: none; }

.taster-more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Kontakt ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 84px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 120px);
}
.contact-fig img {
  border-radius: 200px 200px 12px 12px; aspect-ratio: 5 / 5.6; object-fit: cover;
  box-shadow: 0 24px 48px -22px rgba(36, 28, 19, .65);
}
.contact-fig figcaption { margin-top: 8px; }
.contact h2 { max-width: 20ch; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 34px; margin-top: 32px; }
.contact-grid h3 {
  font: 700 .7rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame); margin-bottom: 10px;
}
.contact-grid p { font-size: .97rem; margin-bottom: 5px; }
.small { font-size: .81rem; color: var(--ink-2); }
.tel-link {
  font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-size: 1.22rem;
  text-decoration: none; display: inline-block; padding: 3px 0;
}
.tel-link:hover { color: var(--flame); }

/* Nummernhinweis: die Nummer gehoert dem Studio, nicht dem erfundenen Lokal.
   Als angeheftete Papiernotiz, nicht als bunter Balken. */
.whose {
  margin-top: 10px; font-size: .82rem; color: var(--ink-2);
  background: var(--slip); border: 1px dashed var(--line-2);
  padding: 10px 13px; max-width: 40ch;
}
.whose b { color: var(--ink); }

/* ---------- Abschluss ans Studio ---------- */
/* Hier reisst das Papier wirklich: die helle Seite endet mit einer
   Zahnkante ueber der Glut. */
.closing { position: relative; background: var(--char); color: var(--cream); overflow: hidden; }
.closing::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 14px; z-index: 3; pointer-events: none;
  background: conic-gradient(from 135deg at 50% 0%, var(--paper) 90deg, transparent 0) 0 0 / 28px 14px repeat-x;
}
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.closing-in { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: clamp(76px, 9vw, 130px) var(--gutter); }
.closing h2 { font-size: clamp(2.15rem, 4.2vw, 3.4rem); letter-spacing: -.015em; }
/* Dieselben Funken wie im Ofen, hier aus der Glutzeile am Boden */
.embers-closing { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(92vw, 760px); height: 100%; z-index: 1; }
.embers-closing i { bottom: -6px; }
.closing p { margin-top: 16px; color: rgba(246, 237, 220, .84); max-width: 54ch; }
.closing .hand { color: var(--ember); }
.closing-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.closing-small { font-size: .84rem; color: rgba(246, 237, 220, .62); margin-top: 16px; }

/* ---------- Fuss ---------- */
.site-foot { background: #130D07; color: rgba(246, 237, 220, .85); padding: 52px var(--gutter) 26px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; max-width: 1240px; margin: 0 auto; }
.foot-id svg { width: 52px; height: 52px; color: var(--ember); margin-bottom: 12px; }
.foot-name { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.site-foot h3 {
  font: 700 .7rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(246, 237, 220, .55); margin-bottom: 11px;
}
.site-foot p { font-size: .9rem; margin-bottom: 7px; }
.site-foot a { color: var(--cream); }
.foot-small { font-size: .78rem; color: rgba(246, 237, 220, .55); max-width: 42ch; }
.foot-legal {
  max-width: 1240px; margin: 36px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(246, 237, 220, .16);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
}
.foot-legal p { font-size: .78rem; color: rgba(246, 237, 220, .62); margin: 0; }

/* ============================================================
   Der angeheftete Zettel (Startseite + Karte)
   ============================================================ */
.dock {
  position: fixed; z-index: 140; left: 20px; bottom: 20px;
  width: min(320px, calc(100vw - 40px));
  background: var(--slip); color: var(--ink);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .55);
  transform: rotate(-1.1deg);
}
.dock::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px;
  background: conic-gradient(from 135deg at 50% 0%, var(--slip) 90deg, transparent 0) 0 0 / 18px 9px repeat-x;
}
.dock::before {
  content: ''; position: absolute; top: -9px; left: 50%; width: 15px; height: 15px;
  margin-left: -7px; border-radius: 50%;
  background: var(--flame); box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
}
.dock.nudge { animation: nudge .5s ease; }
@keyframes nudge {
  0% { transform: rotate(-1.1deg) translateY(0); }
  40% { transform: rotate(-1.1deg) translateY(-9px); }
  100% { transform: rotate(-1.1deg) translateY(0); }
}
.dock-toggle {
  width: 100%; display: flex; align-items: baseline; gap: 10px;
  padding: 15px 18px 12px; border: 0; border-bottom: 2px solid var(--ink);
  background: transparent; cursor: pointer; text-align: left;
  font: 700 .8rem 'Karla', 'Karla Fallback', sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.dock-count { color: var(--ink-2); }
.dock-total {
  margin-left: auto; font: 400 1.2rem/1.2 'Young Serif', 'Young Fallback', Georgia, serif;
  letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums;
}
.dock-cue { display: none; }
.dock-panel { padding: 12px 18px 18px; max-height: 46vh; overflow-y: auto; }
.dock-lines { list-style: none; }
.dock-lines li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .89rem;
}
.dl-qty { font-weight: 800; color: var(--flame); }
.dl-name { min-width: 0; }
.dl-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock .btn { width: 100%; margin-top: 16px; }

/* Zahlenroller */
.roll { display: inline-block; overflow: hidden; height: 1.2em; vertical-align: bottom; position: relative; }
.roll-cell { display: block; transition: transform .4s cubic-bezier(.22,.7,.28,1), opacity .4s ease; }
.roll-cell.roll-enter { transform: translateY(105%); opacity: 0; }
.roll-cell.roll-leave { position: absolute; inset: 0; transform: translateY(-105%); opacity: 0; }

/* Der Schnipsel, der zum Zettel fliegt */
.chit {
  position: fixed; z-index: 400; pointer-events: none;
  transform: translate(-50%, -50%);
  padding: 6px 12px; background: var(--slip); color: var(--ink);
  border: 1px solid var(--line-2);
  font: 700 .8rem 'Karla', 'Karla Fallback', sans-serif; white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4);
  transition: transform .58s cubic-bezier(.4,.02,.25,1), opacity .58s ease .06s;
}

/* ============================================================
   Speisekarte
   ============================================================ */
.menu { max-width: 1240px; margin: 0 auto; padding: clamp(26px, 4vw, 48px) var(--gutter) clamp(70px, 8vw, 110px); }
.menu-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 24px 34px; align-items: end; }
.menu-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
.menu-sub { margin-top: 12px; color: var(--ink-2); max-width: 54ch; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font: 700 .88rem 'Karla', 'Karla Fallback', sans-serif; color: var(--ink-2); text-decoration: none;
}
.back-link:hover { color: var(--flame); }
.menu-tools { width: 100%; }
.search-wrap { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding: 7px 3px; }
.search-wrap:focus-within { border-color: var(--flame); }
.search-wrap svg { width: 19px; height: 19px; color: var(--ink-2); flex: none; }
.search-wrap input {
  border: 0; background: transparent; width: 100%; min-height: 32px;
  font: 500 16px 'Karla', 'Karla Fallback', sans-serif; color: var(--ink);
}
.search-wrap input:focus { outline: none; }
.search-status { margin-top: 7px; font-size: .83rem; font-weight: 700; color: var(--flame); min-height: 1.3em; }

.legend { margin-top: 24px; border: 1px dashed var(--line-2); border-radius: var(--torn); padding: 12px 18px; background: rgba(252, 247, 234, .55); }
.legend summary { cursor: pointer; font-weight: 700; padding: 6px 2px; }
.legend summary:hover { color: var(--flame); }
.legend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 3px 18px; margin-top: 10px; font-size: .89rem; color: var(--ink-2); }
.legend-grid b { color: var(--flame); font-weight: 800; margin-right: 6px; }
.legend-note { margin-top: 10px; font-size: .83rem; color: var(--ink-2); max-width: 70ch; }

.nojs-note { margin-top: 26px; padding: 14px 18px; background: var(--paper-2); border-radius: var(--torn); font-weight: 500; }

.menu-body { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); margin-top: 40px; }
.cat-rail { position: sticky; top: 78px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; }
.cat-rail ul { list-style: none; }
.rail-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; font-weight: 500; color: var(--ink-2);
}
.rail-link:hover { color: var(--flame); background: rgba(36, 28, 19, .05); }
.rail-link.is-active { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.rail-count { font-size: .71rem; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; }
.rail-link.is-active .rail-count { border-color: var(--flame); color: var(--flame); }

.menu-list { counter-reset: cat; }
.menu-cat { padding-top: 28px; scroll-margin-top: 90px; counter-increment: cat; }
.menu-cat:first-child { padding-top: 0; }
.cat-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
/* Grosse Gangnummer wie auf einer gedruckten Karte — reine Zier */
.cat-head::before {
  content: counter(cat, decimal-leading-zero) / "";
  position: absolute; right: 0; bottom: 14px; pointer-events: none;
  font-family: 'Young Serif', 'Young Fallback', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1;
  color: rgba(166, 58, 20, .13);
}
.cat-head h2, .cat-head h3 { font-size: clamp(1.6rem, 2.7vw, 2.15rem); }
.cat-count {
  font: 700 .66rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: var(--flame); border: 1.5px solid rgba(166, 58, 20, .6);
  border-radius: 3px; padding: 3px 9px; transform: rotate(-2deg); white-space: nowrap;
}
.cat-note { margin-top: 12px; font-style: italic; color: var(--ink-2); font-size: .94rem; max-width: 62ch; }
.no-results { padding: 36px 4px; color: var(--ink-2); font-size: 1.04rem; }


/* ============================================================
   Der Pass — bestellen.html
   ============================================================ */
.pass { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 3.6vw, 44px) var(--gutter) clamp(30px, 4vw, 50px); }
.pass-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -.02em; }
.pass-head p { margin-top: 12px; color: var(--ink-2); max-width: 58ch; }
/* Zettel und Abschluss stehen in einer Spalte: wer auf "abschliessen"
   drueckt, sieht den Zettel direkt darueber abreissen. */
.pass-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  grid-template-areas: "pad form" "fin form";
  column-gap: clamp(28px, 4vw, 58px); row-gap: 26px;
  align-items: start; margin-top: 34px;
}
.volta-frame { grid-area: pad; }
.finish-in { grid-area: fin; }
.pass-right { grid-area: form; display: grid; gap: clamp(28px, 3vw, 42px); align-content: start; }
.pass-aside figure img { width: 100%; border-radius: 10px; box-shadow: 0 18px 36px -20px rgba(36, 28, 19, .55); }
.pass-aside figcaption { margin-top: 8px; text-align: right; }
.pass-aside h2 { margin-top: 24px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.pass-aside p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }

/* Das Gewoelbe aus Papier: derselbe Bogen wie im Ofen, jetzt als Zettelhalter */
.volta-frame {
  padding: 13px 13px 0;
  background: linear-gradient(180deg, var(--paper-3), var(--paper-2));
  border-radius: 50% 50% 5px 5px / 148px 148px 5px 5px;
  box-shadow: 0 0 0 1px rgba(36, 28, 19, .2), 0 26px 50px -28px rgba(36, 28, 19, .6);
}
.paper {
  background: var(--slip);
  border-radius: 50% 50% 0 0 / 136px 136px 0 0;
  padding: 62px 26px 22px;
  transition: transform .42s cubic-bezier(.2,.75,.3,1);
}
.paper.torn { transform: translateY(-9px) rotate(-1.1deg); }
.paper-head {
  display: block; text-align: center; font: 800 .74rem 'Karla', 'Karla Fallback', sans-serif;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--ink);
}
.paper-head:focus { outline: none; }
.paper-body {
  min-height: 190px; max-height: min(58vh, 540px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.paper-empty { padding: 34px 4px; text-align: center; color: var(--ink-2); }

.pl { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.pl-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pl-name { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; font-size: 1.04rem; line-height: 1.25; }
.pl-price { font-family: 'Young Serif', 'Young Fallback', Georgia, serif; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-unit { margin-top: 3px; font-size: .78rem; color: var(--ink-2); }
.pl-opts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.optgroup { display: inline-flex; border: 1.4px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.opt {
  border: 0; background: transparent; cursor: pointer; min-height: 34px; padding: 4px 13px;
  font: 500 .8rem 'Karla', 'Karla Fallback', sans-serif; color: var(--ink-2);
  transition: background-color .16s ease, color .16s ease;
}
.opt:hover { background: var(--paper-2); color: var(--ink); }
.opt.is-on { background: var(--ink); color: var(--cream); font-weight: 700; }
.pl-ctr { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.step-btn {
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink);
  font-size: 1.15rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.step-btn:hover { background: var(--paper-2); color: var(--flame); }
.step-val { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.note-btn {
  border: 0; background: transparent; color: var(--flame); cursor: pointer;
  min-height: 44px; padding: 0 6px;
  font: 700 .83rem 'Karla', 'Karla Fallback', sans-serif;
  text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.del-btn {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  color: var(--ink-2); cursor: pointer; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.del-btn:hover { color: var(--flame); background: var(--paper-2); }
.pl-note { margin-top: 10px; }
.pl-note input {
  width: 100%; padding: 10px 14px; font: 400 16px 'Karla', 'Karla Fallback', sans-serif;
  color: var(--ink); background: var(--paper); border: 1px dashed var(--line-2); border-radius: 8px;
}
.pl-note input:focus { outline-offset: 0; border-color: var(--flame); }

.paper-sums { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink); }
.paper-sums > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .92rem; color: var(--ink-2); }
.paper-sums > div.total { padding-top: 12px; font-size: 1rem; color: var(--ink); font-weight: 700; }
.paper-sums dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper-sums .total dd { font: 400 1.6rem/1 'Young Serif', 'Young Fallback', Georgia, serif; }

.paper-stamp {
  display: block; margin: 18px auto 4px; width: max-content;
  font: 800 .82rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame);
  border: 2.5px solid var(--flame); border-radius: 5px; padding: 5px 14px;
  transform: rotate(-8deg) scale(1.7); opacity: 0;
  /* Ein Stempel federt nicht, er schlaegt auf und steht. Harte Verzoegerung,
     kein Ueberschwingen. */
  transition: transform .19s cubic-bezier(.16,.84,.24,1), opacity .13s ease;
}
.paper-stamp.hit { transform: rotate(-8deg) scale(1); opacity: .95; }

/* Die Abrisskante */
.tear { position: relative; height: 12px; overflow: hidden; }
.tear::before {
  content: ''; position: absolute; inset: 0;
  background: conic-gradient(from 135deg at 50% 0%, var(--slip) 90deg, transparent 0) 0 0 / 20px 12px repeat-x;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .38s cubic-bezier(.5,.02,.3,1);
}
.torn + .tear::before, .paper.torn ~ .tear::before { transform: scaleX(1); }

/* Formular */
.pass-form { display: grid; gap: 24px; }
.fset { border: 0; }
.fset > legend {
  font: 700 .72rem 'Karla', 'Karla Fallback', sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: var(--flame); margin-bottom: 12px; padding: 0;
}
.modes { display: grid; grid-template-columns: 1fr 1fr; border: 1.6px solid var(--ink); border-radius: 10px; overflow: hidden; }
.mode-btn {
  min-height: 50px; border: 0; background: transparent; cursor: pointer;
  font: 700 .98rem 'Karla', 'Karla Fallback', sans-serif; color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease;
}
.mode-btn:hover { background: var(--paper-2); }
.mode-btn.is-on { background: var(--ink); color: var(--cream); }
.mode-hint { margin-top: 9px; min-height: 2.6em; font-size: .85rem; color: var(--ink-2); }

.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px 'Karla', 'Karla Fallback', sans-serif; color: var(--ink);
  background: var(--slip); border: 1.5px solid var(--line-2); border-radius: 9px;
}
.field select { cursor: pointer; }
.field input:focus, .field select:focus { border-color: var(--flame); }
.field .small { margin-top: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
html[data-mode="pickup"] .only-delivery { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* Beide Leisten baut JavaScript. Ohne reservierte Hoehe wuerde die Seite beim
   Fuellen springen — genau das misst Lighthouse als Layout-Verschiebung. */
#day-row { min-height: 54px; }
#time-row { height: 204px; }
.chip {
  border: 1.5px solid var(--line-2); background: var(--slip); color: var(--ink);
  border-radius: 999px; min-height: 44px; padding: 6px 16px; cursor: pointer;
  font: 500 .92rem 'Karla', 'Karla Fallback', sans-serif; font-variant-numeric: tabular-nums;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--flame); color: var(--flame); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); font-weight: 700; }
.chip.is-on:hover { color: var(--cream); }
.chip-day { display: inline-grid; gap: 0; padding: 6px 14px; text-align: center; line-height: 1.2; }
.chip-day .chip-top { font-weight: 700; font-size: .9rem; }
.chip-day .chip-sub { font-size: .72rem; color: var(--ink-2); }
.chip-day.is-on .chip-sub { color: rgba(246, 237, 220, .75); }
.chip[disabled] { opacity: .38; cursor: not-allowed; }
.chip[disabled]:hover { border-color: var(--line-2); color: var(--ink); }
.time-scroll {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
  align-content: flex-start; overflow-y: auto; padding: 2px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.time-note { margin-top: 10px; font-size: .88rem; color: var(--flame); font-weight: 500; }

/* Abschluss */
.finish-in {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 28px);
}
.finish-in h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.finish-in > p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.blockers { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
/* Einwaende sehen aus wie mit rotem Stift auf den Zettel geschrieben */
.blockers li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--slip); border: 1px dashed rgba(166, 58, 20, .65);
  padding: 11px 14px; font-size: .93rem;
}
.blockers li::before {
  content: '\2716'; flex: none; color: var(--flame); font-size: .8rem; opacity: .8;
}
.blocker-fix {
  border: 1.5px solid var(--flame); background: transparent; color: var(--flame);
  border-radius: 999px; min-height: 38px; padding: 4px 15px; cursor: pointer;
  font: 700 .82rem 'Karla', 'Karla Fallback', sans-serif;
}
.blocker-fix:hover { background: var(--flame); color: var(--cream); }
/* Only shown when the order did not reach the server — the docket stays, one tap retries */
.send-note {
  margin-top: 16px; max-width: 62ch; font-size: .9rem; color: var(--ink);
  background: var(--slip); border: 1px dashed var(--line-2); padding: 11px 14px;
}
.finish-btn { margin-top: 20px; width: 100%; }
.finish-btn.is-armed { background: var(--flame); color: var(--cream); }

.handoff { margin-top: 22px; border-top: 2px solid var(--ink); padding-top: 20px; }
.handoff h3 { font-size: 1.25rem; }
/* The server-issued number, written on the docket by hand */
.order-no { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--ink-2); }
.order-no b { font: 700 2.1rem/1 'Caveat', 'Caveat Fallback', cursive; color: var(--flame); letter-spacing: .02em; }
.handoff > p { margin-top: 9px; color: var(--ink-2); max-width: 58ch; }
.handoff .btn-wa { margin-top: 16px; width: 100%; }
.handoff-small { margin-top: 14px; }
.raw { margin-top: 18px; }
.raw summary { cursor: pointer; font-weight: 700; color: var(--flame); padding: 6px 0; }
.raw pre {
  margin-top: 10px; background: var(--slip); border: 1px dashed var(--line-2);
  padding: 16px 18px; font: 400 .85rem/1.55 ui-monospace, 'Cascadia Mono', Consolas, monospace;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto; color: var(--ink);
}

/* ============================================================
   Responsiv
   ============================================================ */
@media (max-width: 980px) {
  .argument-in { grid-template-columns: minmax(0, 1fr); }
  .slips { justify-items: start; }
  .step-row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step:nth-child(2) { transform: rotate(.5deg); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-fig { max-width: 420px; }
  .menu-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .menu-tools { max-width: 420px; }
  .pass-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pad" "form" "fin"; }
  .paper-body { max-height: none; }
  .foot-cols { grid-template-columns: 1fr; gap: 26px; }

  .menu-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cat-rail {
    position: sticky; top: 60px; z-index: 90; max-height: none; overflow: visible;
    background: var(--paper); border-bottom: 1px solid var(--line);
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  }
  .cat-rail ul { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px; scrollbar-width: none; }
  .cat-rail ul::-webkit-scrollbar { display: none; }
  .cat-rail li { flex: none; }
  .rail-link { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 15px; white-space: nowrap; background: var(--paper); }
  .rail-link.is-active { background: var(--ink); color: var(--cream); }
  .rail-link.is-active .rail-count { border-color: rgba(246, 237, 220, .5); color: var(--cream); }
  .menu-cat { scroll-margin-top: 126px; }

  /* Zettel wird zur Leiste */
  .dock {
    right: 0; left: 0; bottom: 0; width: 100%;
    transform: none; border-radius: 0;
    box-shadow: 0 -14px 34px -16px rgba(0, 0, 0, .6);
    border-top: 2px solid var(--ink);
  }
  .dock::after, .dock::before { display: none; }
  .dock.nudge { animation: nudge-bar .5s ease; }
  @keyframes nudge-bar {
    0% { transform: translateY(0); } 40% { transform: translateY(-8px); } 100% { transform: translateY(0); }
  }
  .dock-toggle { border-bottom: 0; padding: 13px var(--gutter) calc(13px + env(safe-area-inset-bottom)); }
  .dock.is-open .dock-toggle { border-bottom: 2px solid var(--ink); padding-bottom: 13px; }
  .dock-cue { display: inline; margin-left: 8px; color: var(--flame); }
  .dock-panel { padding: 12px var(--gutter) calc(18px + env(safe-area-inset-bottom)); max-height: 54vh; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .wordmark { margin-right: auto; }
  .btn-head { font-size: .84rem; padding: 8px 13px; white-space: nowrap; }
  .wordmark { gap: 9px; }
  .wordmark svg { width: 30px; height: 30px; }
  .wm-over { font-size: .55rem; letter-spacing: .2em; }
  .wm-name { font-size: 1.15rem; }
  .hero-tag { padding: 8px 18px 4px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .dish { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dish-side { align-self: stretch; justify-content: space-between; }
  .foot-legal { flex-direction: column; }
  .volta-frame { padding: 10px 10px 0; }
  .paper { padding: 24px 16px 18px; }
}

/* ============================================================
   Reduzierte Bewegung: nichts bewegt sich, alles bleibt bedienbar
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .paper.torn { transform: none !important; }
  .paper.torn ~ .tear::before, .torn + .tear::before { transform: scaleX(1) !important; }
  .paper-stamp { transform: rotate(-8deg) !important; }
  .paper-stamp.hit { opacity: .95 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Sprachwahl (js/i18n.js füllt .lang-host) ----------
   Der Knopf ist auf Papier statt auf Nacht: die Standardfarben von i18n.js
   sind dunkel und würden im hellen Kopf wie ein Fremdkörper sitzen.
   .lang-host hält seine Größe vor dem Einsetzen frei — sonst springt die
   Kopfzeile beim Laden (CLS). */
:root {
  --wdm-lang-bg: var(--slip);
  --wdm-lang-fg: var(--ink);
  --wdm-lang-border: var(--line-2);
  --wdm-lang-font: 'Karla', 'Karla Fallback', sans-serif;
}
.lang-host { display: inline-flex; min-width: 62px; min-height: 30px; flex: none; }
.wdm-lang__btn:hover { border-color: var(--flame); color: var(--flame); }
.wdm-lang__list { background: var(--slip); box-shadow: 0 10px 26px rgba(36, 28, 19, .18); }
.wdm-lang__list li:hover, .wdm-lang__list li:focus { background: var(--paper-2); }
.wdm-lang__list li[aria-selected="true"] { color: var(--flame); }
