/* Fornaro Pizza · Demo-Design „Basilico e Burrata“
   Tiefes Basilikumgrün als Bühne für die Pizza, Burrata-Rosa für alles, was zum Bestellen führt.
   Plakative schmale Versalien-Titel (Heros Cn), freundlicher Fließtext (Poppins).
   Tokens → Basis → Kopf und Menü → Bestell-Leiste → Startseite → Speisekarte → Dialoge → Kasse/Danke → Textseiten → Fuß → Demo → Bewegung → Druck */

@font-face { font-family: "Heros Cn"; src: url("/assets/fonts/heros-cn-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-medium.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --gruen: #1b4d36;            /* Bühne: Startseite, Kopf der Speisekarte, Menü */
  --gruen-tief: #123826;
  --gruen-hell: #2c6b4c;
  --rosa: #ffb3c1;             /* Burrata-Rosa: Bestellen, Hervorhebung (5,6:1 auf Grün) */
  --rosa-tief: #ff8fa5;
  --mehl: #fbf8f3;             /* Seitengrund */
  --weiss: #ffffff;
  --tinte: #14271d;            /* Text, 15:1 */
  --tinte-weich: #4a5a51;      /* Hilfstexte, 7:1 */
  --linie: rgba(20, 39, 29, .13);
  --linie-stark: rgba(20, 39, 29, .4);
  --tomate: #c8321f;           /* nur Fehler/ausverkauft */
  --fehler: #b42318;
  --punkte: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 16px);

  --f-titel: "Heros Cn", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Poppins", "Segoe UI", system-ui, sans-serif;

  --s-1: .875rem;
  --s0: 1rem;
  --s1: 1.25rem;
  --s2: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  --s3: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  --s4: clamp(3.2rem, 1.6rem + 6.4vw, 7rem);

  --raum: clamp(1.15rem, .7rem + 2vw, 2.5rem);
  --breite: 76rem;
  --radius: 14px;
  --pille: 999px;
  --schatten: 0 18px 40px -18px rgba(10, 30, 20, .45);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);        /* kräftiges Ease-out (Emil Kowalski) */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --kopf-h: 4.25rem;
  --leiste-h: 2rem; /* Öffnungs-Leiste, wird per JS genau gemessen (abgerundet, nie höher als die Leiste) */
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--gruen-tief); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + var(--leiste-h) + 4.5rem); }
body { margin: 0; background: var(--mehl); color: var(--tinte); font: 400 var(--s0)/1.65 var(--f-text); text-rendering: optimizeLegibility; }
body.menue-offen { overflow: hidden; }
body.menue-offen .oeffnung-leiste { visibility: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-titel); font-weight: 700; line-height: .95; letter-spacing: .005em; margin: 0 0 .45em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: var(--s3); }
h2 { font-size: var(--s2); }
h3 { font-size: var(--s1); }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: var(--gruen); text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--rosa-tief); outline-offset: 3px; border-radius: 4px; }
/* Handy wie eine App (Skill mobile-native): kein grauer Tap-Flash (html), Tipp ohne Verzögerung, Knopftext beim langen
   Drücken nicht markieren, sofortige Rückmeldung beim Antippen von Links. Hover-Effekte nur mit Maus (hover: hover). */
a, button, summary, label, select, [role="button"], [role="option"], [role="tab"] { touch-action: manipulation; }
button, .btn, summary, [role="button"], [role="tab"] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (hover: none) { a:not(.btn):active, summary:active { opacity: .7; } }
abbr[title] { text-decoration: underline dotted; cursor: help; }
.kenn-knopf { font: inherit; color: inherit; background: none; border: 0; padding: .35em .2em; margin: -.35em 0; min-height: 32px; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.kenn-knopf[aria-expanded="true"] { text-decoration-style: solid; }
.kenn-text { display: block; margin-top: .15rem; }
::selection { background: var(--rosa); color: var(--tinte); }
html { scrollbar-color: var(--gruen-hell) var(--mehl); caret-color: var(--gruen); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 80; background: var(--tinte); color: var(--mehl); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--raum); max-width: var(--breite); margin: 0 auto; padding: 0 var(--raum); }
.raster > * { grid-column: 1 / -1; }
.klein { font-size: var(--s-1); font-weight: 400; }

/* Buttons: Bestellen ist immer rosa, groß und eindeutig */
.btn {
  -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .75rem 1.5rem;
  border-radius: var(--pille); border: 2px solid transparent; font: 700 1.25rem/1 var(--f-titel); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .16s var(--ease), box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primaer { background: var(--rosa); color: var(--tinte); box-shadow: 0 8px 20px -10px rgba(255, 143, 165, .9); }
@media (hover: hover) and (pointer: fine) { .btn-primaer:hover { background: var(--rosa-tief); } }
.btn-linie { background: transparent; color: var(--tinte); border-color: var(--linie-stark); }
@media (hover: hover) and (pointer: fine) { .btn-linie:hover { border-color: var(--tinte); } }
.btn-hell { background: transparent; color: var(--weiss); border-color: rgba(255, 255, 255, .7); }
@media (hover: hover) and (pointer: fine) { .btn-hell:hover { border-color: var(--weiss); background: rgba(255, 255, 255, .08); } }
.btn[disabled], .btn[aria-disabled="true"] { background: #e7ebe8; color: var(--tinte-weich); border-color: var(--linie-stark); box-shadow: none; cursor: not-allowed; }

/* ---------- Öffnungs-Leiste, Kopf, Menü ---------- */
.oeffnung-leiste { position: sticky; top: 0; z-index: 31; background: var(--rosa); color: var(--tinte); }
.oeffnung-leiste p { max-width: var(--breite); margin: 0 auto; padding: .45rem var(--raum); font: 700 .95rem/1.2 var(--f-titel); letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: .55rem; }
.oeffnung-leiste p::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--tinte-weich); flex: none; }
/* Bis der Stand geladen ist: gleiche Höhe, ohne Text und Punkt (kein kurzes „Öffnungszeiten siehe unten“), dann weich einblenden */
.oeffnung-leiste p { min-height: calc(1.2em + .9rem); }
.oeffnung-leiste p:not(.bereit)::before { visibility: hidden; }
.oeffnung-leiste p.bereit { animation: leiste-ein .2s cubic-bezier(.23, 1, .32, 1); }
@keyframes leiste-ein { from { opacity: 0; } }
.oeffnung-leiste p.offen::before { background: var(--gruen); box-shadow: 0 0 0 3px rgba(27, 77, 54, .2); }

.kopf { position: sticky; top: var(--leiste-h); z-index: 30; background: var(--gruen); color: var(--weiss); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .55rem max(var(--raum), env(safe-area-inset-right)) .55rem max(var(--raum), env(safe-area-inset-left)); min-height: var(--kopf-h); display: flex; align-items: center; gap: .9rem; }
.menue-knopf { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; position: relative; z-index: 60; }
.menue-striche, .menue-striche::before, .menue-striche::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menue-striche { position: relative; }
.menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; }
.menue-striche::before { top: -7px; }
.menue-striche::after { top: 7px; }
[aria-expanded="true"] .menue-striche { background: transparent; }
[aria-expanded="true"] .menue-striche::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .menue-striche::after { transform: translateY(-7px) rotate(-45deg); }
.marke { font: 700 2.1rem/1 var(--f-titel); letter-spacing: .02em; text-transform: uppercase; color: var(--rosa); text-decoration: none; position: relative; z-index: 60; }
.hauptnav { display: none; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: .6rem; position: relative; z-index: 60; }
.kopf-bestellen { min-height: 44px; padding: .55rem 1.1rem; font-size: 1.1rem; }
.nav-warenkorb { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--weiss); text-decoration: none; }
.nav-warenkorb svg { width: 26px; height: 26px; }
.nav-warenkorb .zaehler { position: absolute; top: 2px; right: 0; }
.zaehler { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; border-radius: 1rem; background: var(--rosa); color: var(--tinte); font: 600 .8rem/1 var(--f-text); font-variant-numeric: tabular-nums; }
.zaehler, .bl-anzahl { transition: transform .3s var(--ease); }
.zaehler.huepf, .bl-anzahl.huepf { transform: scale(1.35); transition-duration: .12s; }

/* Vollbild-Menü (Handy und Tablet) */
.menue { position: fixed; inset: 0; z-index: 28; background: var(--gruen); color: var(--weiss); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--kopf-h) + 2rem) var(--raum) 2rem; overflow-y: auto; }
.menue nav { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; transform: rotate(-6deg); transform-origin: left center; }
.menue a { font: 700 clamp(2.8rem, 12vw, 5rem)/1.02 var(--f-titel); text-transform: uppercase; color: var(--weiss); text-decoration: none; letter-spacing: .01em; }
.menue a[aria-current="page"] { color: var(--rosa); }
@media (hover: hover) and (pointer: fine) { .menue a:hover { color: var(--rosa); } }
.menue .menue-klein { margin-top: 2.5rem; font: 500 1rem/1.6 var(--f-text); text-transform: none; transform: rotate(-6deg); transform-origin: left center; }
.menue .menue-klein a { font: inherit; color: var(--rosa); text-decoration: underline; }
.menue.auf nav a { animation: rein .4s var(--ease) both; }
.menue.auf nav a:nth-child(2) { animation-delay: .05s; }
.menue.auf nav a:nth-child(3) { animation-delay: .1s; }
.menue.auf nav a:nth-child(4) { animation-delay: .15s; }
.menue.auf nav a:nth-child(5) { animation-delay: .2s; }
@keyframes rein { from { opacity: 0; transform: translateX(-2.5rem); } }

@media (min-width: 60rem) {
  .menue-knopf, .menue { display: none !important; }
  .hauptnav { display: flex; align-items: center; gap: 1.6rem; margin-left: 1.5rem; }
  .hauptnav a { color: var(--weiss); text-decoration: none; font: 700 1.2rem/1 var(--f-titel); letter-spacing: .04em; text-transform: uppercase; padding: .6rem 0; background: linear-gradient(var(--rosa), var(--rosa)) left bottom / 0 3px no-repeat; transition: background-size .3s var(--ease); }
  @media (hover: hover) and (pointer: fine) { .hauptnav a:hover, .hauptnav a[aria-current="page"] { background-size: 100% 3px; } }
}

/* Hinweis des Restaurants als Popup beim ersten Aufruf (hinweis.js); Gestaltung je Restaurant anpassbar */
.hinweis-dialog { width: min(40rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 2rem); border: 0; border-radius: calc(var(--radius) + 6px); padding: 0; background: var(--weiss); color: var(--tinte); box-shadow: var(--schatten); }
.hinweis-dialog::backdrop { background: rgba(12, 32, 22, .6); }
.hinweis-dialog[open] { animation: dialog-rein .25s var(--ease); }
.hinweis-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--linie); }
.hinweis-kopf h2 { margin: 0; color: var(--gruen); }
.hinweis-x { min-width: 44px; min-height: 44px; border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--tinte); cursor: pointer; }
.hinweis-text { padding: 1rem 1.25rem; }
.hinweis-text p { max-width: 60ch; }
.hinweis-fuss { display: flex; justify-content: flex-end; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--linie); }
.art-hinweis { margin: .5rem 0 0; font-weight: 600; }
.art-option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.hinweis-leiste { background: var(--tinte); color: var(--weiss); padding: .75rem var(--raum); text-align: center; }
.hinweis-leiste a { color: inherit; }

/* ---------- Bestell-Leiste: immer sichtbar, führt zur Karte oder zur Kasse ---------- */
.bestell-leiste {
  position: fixed; left: 50%; bottom: max(.9rem, env(safe-area-inset-bottom)); translate: -50% 0; z-index: 40;
  display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .6rem .7rem .6rem 1.5rem; border-radius: var(--pille);
  width: min(26rem, calc(100vw - 1.5rem)); justify-content: space-between;
  background: var(--tinte); color: var(--weiss); text-decoration: none; box-shadow: 0 16px 34px -12px rgba(10, 25, 18, .6);
  font: 700 1.3rem/1 var(--f-titel); text-transform: uppercase; letter-spacing: .04em; animation: auftauchen .6s var(--ease) both .3s;
}
.bestell-leiste .bl-rechts { display: flex; align-items: center; gap: .6rem; }
.bestell-leiste .summe { font: 600 .95rem/1 var(--f-text); text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bl-anzahl { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .5rem; border-radius: var(--pille); background: var(--rosa); color: var(--tinte); font: 600 1rem/1 var(--f-text); }
.bestell-leiste.leer .bl-anzahl, .bestell-leiste.leer .summe { display: none; }
.bestell-leiste.leer .bl-rechts::after { content: ""; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--rosa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314271d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.2rem no-repeat; }
@media (hover: hover) and (pointer: fine) { .bestell-leiste:hover { background: #000; } }
@keyframes auftauchen { from { opacity: 0; translate: -50% 120%; } }
@media (min-width: 60rem) { .bestell-leiste { left: auto; right: 1.5rem; translate: 0 0; width: auto; min-width: 20rem; } @keyframes auftauchen { from { opacity: 0; translate: 0 120%; } } }

/* ---------- Startseite ---------- */
.held { background: var(--gruen); color: var(--weiss); padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; position: relative; isolation: isolate; }
.held::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 55%, rgba(255, 255, 255, .09), transparent 70%); }
.held-kopf { text-align: center; padding: 0 var(--raum); }
.held-titel { font-size: var(--s3); margin: 0; color: var(--weiss); }
.lust-wort span { white-space: nowrap; }
.lust-wort { margin: .05em auto 0; font: 700 var(--s3)/1 var(--f-titel); text-transform: uppercase; color: var(--rosa); height: 1.05em; overflow: hidden; max-width: none; }
.lust-wort span, .karussell-name-maske span { display: inline-block; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.lust-wort.weg span, .karussell-name.weg .karussell-name-maske span { transform: translateY(105%); opacity: 0; transition-duration: .16s, .12s; }
.lust-punkte { display: block; width: min(15rem, 60vw); height: 6px; margin: .55rem auto 0; color: var(--rosa); background: var(--punkte); }

/* Karussell wie beim Vorbild: Gerichte dicht an dicht, Nachbarn angeschnitten, leicht schräg gelegt.
   Beim Wischen verschwindet der Name, sobald es steht, rollt der neue herein. Endlos durch Kopien links und rechts. */
.karussell { position: relative; margin-top: clamp(.75rem, 3vw, 1.75rem); --teil: min(70vw, 28rem); }
.karussell-spur { display: flex; list-style: none; margin: 0; padding: .5rem calc(50% - var(--teil) / 2) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-tap-highlight-color: transparent; cursor: grab; }
.karussell-spur:active { cursor: grabbing; }
.karussell-spur::-webkit-scrollbar { display: none; }
.karussell-teil { flex: 0 0 var(--teil); margin-inline: calc(var(--teil) * -.03); scroll-snap-align: center; display: grid; place-items: center; }
.karussell-teil img { width: 100%; height: auto; pointer-events: none; user-select: none; transform: rotate(var(--kipp, 0deg)); transition: transform .6s var(--ease); }
.karussell-teil:nth-child(3n + 1) { --kipp: -5deg; }
.karussell-teil:nth-child(3n + 2) { --kipp: 3deg; }
.karussell-teil:nth-child(3n) { --kipp: -1.5deg; }
.karussell-info { text-align: center; padding: 0 var(--raum); }
.karussell-name { position: relative; display: block; width: fit-content; max-width: min(17ch, calc(100% - 5.5rem)); margin: 0 auto .4rem; font: 700 var(--s2)/.95 var(--f-titel); text-transform: uppercase; text-wrap: balance; }
.karussell-name-maske { display: block; overflow: hidden; padding-top: .05em; }
.karussell-name-maske span { white-space: normal; }
.hand-pfeil { position: absolute; right: calc(100% + .45rem); bottom: .05em; width: 2.4rem; height: 2.8rem; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease) .1s; margin-bottom: .1rem; }
.karussell-name.weg .hand-pfeil { stroke-dashoffset: 120; transition: stroke-dashoffset .15s var(--ease); }
.karussell-text { margin: 0 auto 1.1rem; max-width: 34ch; color: rgba(255, 255, 255, .85); min-height: 3.3em; transition: opacity .3s var(--ease); }
.karussell-info.weg .karussell-text { opacity: 0; transition-duration: .12s; }
.karussell-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 0 auto; }
.karussell-pfeil { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(18, 56, 38, .6); color: var(--weiss); cursor: pointer; display: none; place-items: center; z-index: 2; transition: background-color .2s var(--ease), transform .16s var(--ease); }
.karussell-pfeil:active { transform: scale(.94); }
.karussell-pfeil svg { width: 24px; height: 24px; }
.karussell-pfeil.zurueck { left: max(1rem, calc(50% - 40rem)); }
.karussell-pfeil.vor { right: max(1rem, calc(50% - 40rem)); }
@media (hover: hover) and (pointer: fine) { .karussell-pfeil:hover { background: var(--gruen-tief); } }
@media (min-width: 48rem) { .karussell-pfeil { display: grid; } .karussell { --teil: min(34vw, 28rem); } }
@media (prefers-reduced-motion: reduce) { .karussell-teil img { transform: none; } }

.vorteile { list-style: none; margin: 0; padding: clamp(1.5rem, 4vw, 2.5rem) var(--raum); max-width: var(--breite); margin-inline: auto; display: grid; gap: 1rem; }
.vorteile li { padding: 1rem 0 .25rem; border-top: 3px solid var(--gruen); }
.vorteile h2 { font-size: 1.6rem; margin: 0 0 .25rem; color: var(--gruen); }
.vorteile p { margin: 0; }
@media (min-width: 48rem) { .vorteile { grid-template-columns: 1fr 1.3fr 1fr; gap: 2.5rem; } }

/* Ofen-Band mit Video oder Foto */
.ofen-band { position: relative; isolation: isolate; overflow: hidden; color: var(--weiss); background: var(--gruen-tief); min-height: min(78vh, 44rem); display: grid; align-content: end; padding: clamp(2.5rem, 6vw, 5rem) var(--raum); margin: clamp(1rem, 3vw, 2rem) 0; }
.held-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(var(--video-hell, .5)) saturate(1.05); pointer-events: none; }
.ofen-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 32, 22, .82), rgba(12, 32, 22, .15) 60%); }
.ofen-band-text { max-width: var(--breite); margin: 0 auto; width: 100%; }
.ofen-band h2 { font-size: var(--s3); max-width: 16ch; margin-bottom: .3em; }
.ofen-band h2 em { font-style: normal; color: var(--rosa); }
.ofen-band p { font-size: var(--s1); max-width: 40ch; color: rgba(255, 255, 255, .88); }
.video-pause { position: absolute; right: var(--raum); top: 1rem; min-height: 44px; padding: .4rem 1rem; border-radius: var(--pille); border: 1px solid rgba(255, 255, 255, .6); background: rgba(12, 32, 22, .55); color: #fff; font: 500 .9rem/1 var(--f-text); cursor: pointer; }
@media (max-width: 720px), (prefers-reduced-motion: reduce) { .video-pause { display: none; } }

.gebiet, .ueber { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.gebiet h2, .ueber h2 { font-size: var(--s3); color: var(--gruen); }
.plz-liste { list-style: none; padding: 0; margin: 0 0 1rem; }
.plz-liste li { padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.plz { font: 700 1.6rem/1 var(--f-titel); color: var(--gruen); font-variant-numeric: lining-nums; margin-right: .6rem; }
.zeiten { border-collapse: collapse; width: 100%; max-width: 28rem; }
.zeiten th, .zeiten td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 400; padding-right: 1rem; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 600; }
.ueber-text p:first-child { font-size: var(--s1); }
.ueber { position: relative; }

/* ---------- Speisekarte ---------- */
.karte-kopf-band { background: var(--gruen); color: var(--weiss); padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.karte-kopf h1 { margin: 0 0 .4rem; color: var(--weiss); }
.karte-kopf h1 + .lust-punkte { margin: .2rem 0 1rem; }
.karte-intro { color: rgba(255, 255, 255, .85); margin: 0; }
.kategorien { position: sticky; top: calc(var(--kopf-h) + var(--leiste-h)); z-index: 20; background: var(--mehl); border-bottom: 1px solid var(--linie); }
.kategorien-innen { max-width: var(--breite); margin: 0 auto; padding: .35rem var(--raum); display: flex; flex-wrap: wrap; gap: 0 clamp(.55rem, 2.6vw, 1.3rem); }
.kategorien a { position: relative; padding: .55rem 0 .6rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--gruen); font: 700 1.35rem/1 var(--f-titel); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.kategorien a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 4px; color: var(--rosa-tief); background: var(--punkte); background-size: 16px 4px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.kategorien a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .kategorien a:hover::after { transform: scaleX(1); } }
/* Suche über den Kategorien (erscheint nur mit JS) */
.karte-suche { display: block; max-width: var(--breite); margin: 0 auto; padding: .9rem var(--raum) .35rem; }
.karte-suche input { width: 100%; max-width: 34rem; min-height: 50px; padding: .65rem 1rem .65rem 2.85rem; border: 1.5px solid var(--linie-stark); border-radius: var(--pille); background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4d36' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") 1rem 50% / 1.25rem no-repeat; color: var(--tinte); font: 400 1rem/1.3 var(--f-text); transition: border-color .2s, box-shadow .2s var(--ease); }
.karte-suche input::placeholder { color: var(--tinte-weich); opacity: 1; }
.karte-suche input:focus-visible { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(27, 77, 54, .25); }
.karte-suche input::-webkit-search-cancel-button { cursor: pointer; }
.suche-status { margin: .45rem 0 0; font-size: var(--s-1); font-weight: 600; }
.suche-status:empty { display: none; }
.kategorien a.leer { opacity: .35; pointer-events: none; }
.gericht.nicht-gesucht { display: none; }
.allergen-filter { max-width: var(--breite); margin: 1rem auto 0; padding: 0 var(--raum); }
.allergen-filter summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.allergen-filter fieldset { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem; margin: .5rem 0 0; background: var(--weiss); }
.allergen-filter legend { font: 600 1rem/1.3 var(--f-text); text-transform: none; padding: 0 .25rem; }
.filter-optionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .25rem 1rem; }
.filter-optionen label { display: flex; gap: .5rem; align-items: center; min-height: 44px; font-weight: 400; }
.filter-optionen input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--gruen); }
.filter-hinweis { margin: .75rem 0 .25rem; font-weight: 600; }
.filter-klein { font-size: var(--s-1); margin: 0; }

.karte-spalten { max-width: var(--breite); margin: 0 auto; padding: 0 var(--raum); }
.kategorie { padding-top: clamp(2rem, 5vw, 3.5rem); }
.kategorie h2 { font-size: var(--s3); color: var(--gruen); margin-bottom: 1rem; }
.karte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.gericht { background: var(--weiss); border-radius: calc(var(--radius) + 6px); padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--linie), 0 14px 30px -26px rgba(10, 30, 20, .5); }
.gericht.gefiltert { display: none; }
.gericht-bild { width: 78%; aspect-ratio: 1; object-fit: contain; margin: -.25rem auto .5rem; transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .gericht:hover .gericht-bild { transform: rotate(-8deg) scale(1.03); } }
.gericht-bild-platzhalter { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231b4d36' stroke-width='1.4' stroke-linecap='round' opacity='.45'%3E%3Ccircle cx='32' cy='32' r='15'/%3E%3Ccircle cx='32' cy='32' r='9.5'/%3E%3Cpath d='M10 18v9a3 3 0 0 0 3 3v16M13 18v9M16 18v9a3 3 0 0 1-3 3M51 18c-3 2-4 7-4 12h4v16'/%3E%3C/svg%3E") center / 58% no-repeat, radial-gradient(circle, #eef3ef 0 62%, transparent 63%); }
.gericht-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.nr { display: none; }
.punktlinie { display: none; }
.gericht-name { font-size: 1.85rem; margin: 0; color: var(--gruen); line-height: .95; }
.preis { font: 700 1.6rem/1 var(--f-titel); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.gericht-text { margin: .5rem 0 .6rem; color: var(--tinte-weich); }
.gericht-fuss { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.kennung { margin: 0; font-size: var(--s-1); color: var(--tinte-weich); flex: 1 1 100%; }
.extras-hinweis { font-size: var(--s-1); color: var(--tinte-weich); }
.btn-hinzu { min-height: 48px; min-width: 48px; padding: .6rem 1.3rem; border: 0; border-radius: var(--pille); background: var(--rosa); color: var(--tinte); font: 700 1.15rem/1 var(--f-titel); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn-hinzu:hover { background: var(--rosa-tief); } }
.btn-hinzu:active { transform: scale(.95); }
.btn-hinzu.erledigt { background: var(--gruen); color: var(--weiss); }
.btn-hinzu[disabled] { background: #e7ebe8; color: var(--tinte-weich); cursor: not-allowed; }
.ausverkauft-text { font-weight: 600; color: var(--fehler); }
.gericht.ausverkauft .gericht-bild { filter: grayscale(1); opacity: .5; }
.gericht.ausverkauft .gericht-name, .gericht.ausverkauft .preis { text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------- Dialoge ---------- */
.extras-dialog, .rechner-dialog { border: 0; border-radius: calc(var(--radius) + 6px); padding: 0; background: var(--weiss); color: var(--tinte); box-shadow: var(--schatten); }
.extras-dialog { width: min(32rem, calc(100vw - 1.5rem)); }
.extras-dialog::backdrop, .rechner-dialog::backdrop { background: rgba(12, 32, 22, .6); }
.extras-dialog[open] { animation: dialog-rein .25s var(--ease); }
@keyframes dialog-rein { from { opacity: 0; transform: scale(.96); } }
.extras-dialog form { padding: 1.5rem; }
.extras-dialog h2 { color: var(--gruen); }
.extras-dialog fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.extras-liste label { display: flex; gap: .75rem; align-items: center; min-height: 48px; border-bottom: 1px solid var(--linie); font-weight: 400; margin: 0; }
.extras-liste input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--gruen); }
.extras-liste .extra-preis { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menge-feld { display: flex; align-items: center; gap: 1rem; }
.menge-feld input { width: 5rem; }
.extras-summe { font: 700 var(--s1)/1.3 var(--f-titel); text-transform: uppercase; margin: 1rem 0; }
.wunsch-feld { margin: 0 0 1rem; }
.dialog-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }

/* ---------- Formulare, Kasse, Danke ---------- */
fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
legend { font: 700 1.6rem/1.1 var(--f-titel); text-transform: uppercase; color: var(--gruen); margin-bottom: .75rem; padding: 0; }
.kasse-form fieldset:not(.umschalter) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1rem; }
.kasse-form legend, .kasse-form fieldset > p, .kasse-form fieldset > div:not([class*="feld"]) { grid-column: 1 / -1; }
.feld { grid-column: 1 / -1; margin-bottom: .9rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.optional { font-weight: 400; }
input, select, textarea { width: 100%; min-height: 50px; padding: .65rem .9rem; font: inherit; font-size: max(1rem, 16px); color: var(--tinte); background: var(--weiss); border: 1.5px solid #7d8a83; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(27, 77, 54, .15); outline: none; }
textarea { min-height: 6rem; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
.feld-hinweis { margin: .3rem 0 0; font-size: var(--s-1); }
.feld-hinweis[hidden] { display: none; }
.feld-fehler { color: var(--fehler); font-weight: 600; margin: .3rem 0 0; font-size: var(--s-1); }
.feld-fehler:empty { display: none; }
.umschalter { display: grid; gap: .6rem; }
.umschalter-option { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1.5px solid var(--linie-stark); border-radius: var(--radius); background: var(--weiss); cursor: pointer; font-weight: 400; margin: 0; transition: border-color .2s, box-shadow .2s; }
.umschalter-option:has(input:checked) { border-color: var(--gruen); box-shadow: inset 0 0 0 1.5px var(--gruen); }
.umschalter-option input { width: 1.3rem; height: 1.3rem; min-height: 0; margin: .15rem 0 0; accent-color: var(--gruen); flex: none; }
.umschalter-option strong { display: block; }
.fehlerbox { border: 2px solid var(--fehler); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; background: #fdf1f0; }
.fehlerbox ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.rechtlich { font-size: var(--s-1); }
.demo-kasse-hinweis { border-left: 3px solid var(--gruen); padding-left: .8rem; }
.btn-bestellen { width: 100%; min-height: 60px; font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); line-height: 1.05; padding-block: .9rem; }
.bestellen-status { margin-top: .75rem; font-weight: 600; }
.kasse, .danke, .text-seite, .kontakt { padding-top: clamp(2rem, 5vw, 4rem); }
.kasse h1, .danke h1, .text-seite h1, .kontakt h1 { color: var(--gruen); }
.kasse-uebersicht, .danke-uebersicht { align-self: start; background: var(--weiss); border-radius: calc(var(--radius) + 6px); padding: 1.4rem; box-shadow: 0 1px 0 var(--linie), 0 20px 40px -30px rgba(10, 30, 20, .5); }
.kasse-uebersicht h2, .danke-uebersicht h2 { color: var(--gruen); }
.positionen { list-style: none; margin: 0 0 1rem; padding: 0; }
.position { padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.position-kopf { display: flex; gap: .75rem; justify-content: space-between; align-items: baseline; }
.position-name { font-weight: 600; }
.position-extras, .position-pfand, .position-wunsch { font-size: var(--s-1); margin: .15rem 0 0; color: var(--tinte-weich); }
.position-betrag { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menge-steuerung { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; }
.menge-steuerung button { min-width: 44px; min-height: 44px; border: 1.5px solid var(--linie-stark); border-radius: 50%; background: transparent; font: 600 var(--s1)/1 var(--f-text); color: var(--tinte); cursor: pointer; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .menge-steuerung button:hover { background: #eef3ef; } }
.menge-steuerung .entfernen { font-size: var(--s-1); font-weight: 400; padding: 0 .75rem; margin-left: auto; text-decoration: underline; border-color: transparent; border-radius: var(--pille); }
.menge-steuerung output { min-width: 2ch; text-align: center; font-weight: 600; }
.summen { margin: 0; }
.summen div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.summen dd { margin: 0; font-variant-numeric: tabular-nums; }
.summen .gesamt { border-top: 2px solid var(--tinte); margin-top: .4rem; padding-top: .6rem; font: 700 1.6rem/1.2 var(--f-titel); text-transform: uppercase; }
.summen .steuer { font-size: var(--s-1); }
.summen .rabatt dd { font-weight: 600; }
.mindest-hinweis { font-weight: 600; }
.mindest-hinweis:empty { display: none; }
.gutschein { display: grid; gap: .35rem; margin: 1rem 0; padding-top: 1rem; border-top: 1px solid var(--linie); }
.gutschein-zeile { display: flex; gap: .5rem; }
.gutschein-zeile[hidden] { display: none; }
.gutschein-zeile input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.gutschein-aktiv { margin: 0; font-weight: 600; }
.link-knopf { background: none; border: 0; padding: .4rem 0; min-height: 44px; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.liefernummer { font-size: var(--s1); margin: 0 0 .75rem; }
.liefernummer strong { display: block; font: 700 var(--s3)/1.05 var(--f-titel); letter-spacing: .03em; color: var(--gruen); }
.aktualisieren-zeile { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.aktualisiert { font-size: var(--s-1); white-space: nowrap; }
.verfolgung-form { margin: 1rem 0 2rem; max-width: 36rem; }
.verfolgung-zeile { display: flex; flex-wrap: wrap; gap: .6rem; }
.verfolgung-zeile input { flex: 1 1 12rem; text-transform: uppercase; letter-spacing: .04em; }
.bon-nummer { font: 700 var(--s1)/1 var(--f-titel); color: var(--gruen); }
.danke-status { font: 700 var(--s2)/1.05 var(--f-titel); text-transform: uppercase; max-width: 22ch; color: var(--gruen); }
.danke-zusatz { max-width: 38ch; margin-top: .6rem; }
.schritte { list-style: none; padding: 0; margin: 2rem 0; counter-reset: s; }
.schritte li { position: relative; padding: .9rem 0 .9rem 3rem; border-left: 2px solid var(--linie); margin-left: 1rem; color: var(--tinte-weich); }
.schritte li::before { counter-increment: s; content: counter(s); position: absolute; left: -1rem; top: .7rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--mehl); border: 2px solid var(--linie-stark); font-weight: 600; }
.schritte li.erledigt { color: var(--tinte); }
.schritte li.erledigt::before { content: "✓"; background: var(--gruen); border-color: var(--gruen); color: #fff; }
.schritte li[aria-current="step"] { color: var(--tinte); font-weight: 600; }
.schritte li[aria-current="step"]::before { border-color: var(--gruen); color: var(--gruen); animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 6px rgba(27, 77, 54, .15); } }
.schritte li.storniert::before { content: "!"; background: var(--fehler); border-color: var(--fehler); color: #fff; }
.schritt-info { display: block; font-weight: 400; }

/* ---------- Textseiten, Kontakt ---------- */
.text-spalte h2 { margin-top: 2rem; font-size: 1.7rem; color: var(--gruen); }
.entwurf { border-left: 3px solid var(--gruen); padding-left: .8rem; font-style: italic; }
.tabelle-scroll { overflow-x: auto; }
.allergen-tabelle { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.allergen-tabelle caption { text-align: left; font-weight: 600; margin-bottom: .5rem; }
.allergen-tabelle th, .allergen-tabelle td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.legende { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0 1.5rem; }
.legende div { display: flex; gap: .75rem; padding: .4rem 0; border-bottom: 1px solid var(--linie); }
.legende dt { font-weight: 600; min-width: 1.5rem; }
.legende dd { margin: 0; }
.statement-404 { font: 700 var(--s4)/1 var(--f-titel); color: var(--gruen); margin: 0; }
.statement-tel { font: 700 var(--s3)/1.05 var(--f-titel); margin: .25rem 0 1.5rem; }
.statement-tel a { color: var(--gruen); text-decoration: none; }
.kontakt-info h2 { margin-top: 1.5rem; font-size: 1.6rem; color: var(--gruen); }

/* ---------- Fuß ---------- */
.fuss { margin-top: clamp(3rem, 6vw, 5rem); padding: 0 0 calc(6.5rem + env(safe-area-inset-bottom)); background: var(--gruen-tief); color: var(--weiss); }
.fuss-cta { max-width: var(--breite); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--raum) 2rem; border-bottom: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.fuss-cta p { font: 700 var(--s3)/.95 var(--f-titel); text-transform: uppercase; margin: 0; max-width: 14ch; }
.fuss-cta p em { font-style: normal; color: var(--rosa); }
.fuss > .raster { padding-top: 2.5rem; }
.fuss a:not(.btn) { color: var(--weiss); }
.fuss .zeiten th, .fuss .zeiten td { border-color: rgba(255, 255, 255, .15); }
.fuss-name { font: 700 2.2rem/1 var(--f-titel); text-transform: uppercase; color: var(--rosa); }
.fuss-titel { font-size: 1.5rem; }
.fuss-links { display: flex; flex-direction: column; gap: .1rem; }
.fuss-links a { min-height: 44px; display: inline-flex; align-items: center; }
.fuss-hinweis { max-width: var(--breite); margin: 2rem auto 0; padding: 1rem var(--raum) 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--s-1); }

/* ---------- Ab Tablet ---------- */
@media (min-width: 48rem) {
  .karte-kopf h1 { grid-column: 1 / 8; }
  .karte-kopf .lust-punkte { grid-column: 1 / 8; }
  .karte-intro { grid-column: 1 / 8; }
  .gebiet-text { grid-column: 1 / 9; }
  .ueber h2 { grid-column: 1 / 6; }
  .ueber-text { grid-column: 7 / -1; }
  .fuss-adresse { grid-column: 1 / 5; }
  .fuss-zeiten { grid-column: 5 / 10; }
  .fuss-links { grid-column: 10 / -1; }
  .kasse-form-spalte, .danke-haupt, .kontakt-haupt { grid-column: 1 / 8; }
  .kasse-uebersicht, .danke-uebersicht, .kontakt-info { grid-column: 8 / -1; position: sticky; top: calc(var(--kopf-h) + var(--leiste-h) + 1.5rem); }
  .text-spalte { grid-column: 1 / 9; }
  .text-spalte.text-breit { grid-column: 1 / -1; }
  .feld-breit { grid-column: span 3; }
  .feld-schmal { grid-column: span 3; }
  .feld-voll { grid-column: 1 / -1; }
  .umschalter { grid-template-columns: 1fr 1fr; }
  .umschalter legend, .umschalter .feld-fehler { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .feld-schmal { grid-column: span 2; }
  .feld-breit { grid-column: span 4; }
  .adresse .feld-breit:first-of-type { grid-column: span 4; }
  .kontakt-haupt { grid-column: 1 / 7; }
  .kontakt-info { grid-column: 8 / -1; }
}
@media (max-width: 30rem) {
  .marke { font-size: 1.8rem; }
  .kopf-bestellen { display: none; }
  .kategorien a { font-size: clamp(.95rem, 5vw, 1.3rem); letter-spacing: .02em; }
}

/* ---------- Demo-Leiste (nur DEMO_MODE) ---------- */
.demo-leiste { position: fixed; top: calc(var(--kopf-h) + var(--leiste-h) + .6rem); right: .6rem; z-index: 35; max-width: min(21rem, calc(100vw - 1.2rem)); background: var(--weiss); color: var(--tinte); border: 2px solid var(--gruen); border-radius: var(--radius); box-shadow: var(--schatten); font-size: var(--s-1); }
.demo-leiste summary { cursor: pointer; padding: .55rem .8rem; min-height: 44px; display: flex; align-items: center; gap: .5rem; font-weight: 600; list-style: none; }
.demo-leiste summary::-webkit-details-marker { display: none; }
.demo-leiste summary::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gruen); }
.demo-leiste .demo-inhalt { padding: 0 .8rem .8rem; display: grid; gap: .5rem; }
.demo-leiste p { margin: 0; }
.demo-leiste .btn { min-height: 44px; font-size: 1rem; padding: .5rem .8rem; width: 100%; }
@media (max-width: 30rem) { .demo-leiste { top: auto; bottom: 5.4rem; } }
.rechner-dialog { width: min(40rem, calc(100vw - 1.5rem)); }
.rechner-dialog form { padding: 1.5rem; }
.rechner-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem 1rem; margin-bottom: 1rem; }
.rechner-ergebnis { border-top: 3px solid var(--tinte); padding-top: 1rem; }
.rechner-gross { font: 700 var(--s4)/1 var(--f-titel); color: var(--gruen); margin: .25rem 0 .5rem; }
.rechner-tabelle { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.rechner-tabelle th, .rechner-tabelle td { text-align: right; padding: .45rem .25rem; border-bottom: 1px solid var(--linie); }
.rechner-tabelle th:first-child, .rechner-tabelle td:first-child { text-align: left; }
.rechner-quellen { font-size: var(--s-1); }

/* ---------- Bewegung: dezent, nur beim Hineinscrollen, einmalig ---------- */
.wartet { opacity: 0; transform: translateY(18px) scale(.98); }
.zeigt { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--versatz, 0ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color !important; transition-duration: .15s !important; }
  .wartet { opacity: 1; transform: none; }
}
@media print {
  .kopf, .oeffnung-leiste, .fuss, .bestell-leiste, .demo-leiste, .kategorien, .karte-suche, .allergen-filter, .btn-hinzu, .menue { display: none !important; }
  body { background: #fff; padding: 0; }
}
body.menue-offen .bestell-leiste, body.menue-offen .demo-leiste { display: none; }
.btn-primaer.erledigt { background: var(--weiss); color: var(--gruen); }

/* Kasse: Handy = Überschrift, Warenkorb, Angaben, Bezahlen ganz am Ende. Computer = Warenkorb rechts mitlaufend. */
.kasse-titel, .kasse-leer { grid-column: 1 / -1; }
.kasse-uebersicht { margin-bottom: .5rem; }
.abschluss { border-top: 2px solid var(--tinte); padding-top: 1.1rem; margin-top: .5rem; }
.abschluss-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .75rem; max-width: none; font: 700 1.6rem/1.1 var(--f-titel); text-transform: uppercase; }
.abschluss-summe strong { font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) {
  .kasse-titel, .kasse-leer { grid-column: 1 / 8; }
  .kasse-titel { grid-row: 1; }
  .kasse-leer { grid-row: 2; }
  .kasse-uebersicht { grid-row: 1 / span 3; margin-bottom: 0; }
  .kasse-form-spalte { grid-row: 2 / span 2; }
}

/* ================= Handy-Feinschliff (Mobil zuerst) ================= */
:root { --abschnitt: clamp(2.75rem, 7vw, 5.5rem); }
.gebiet, .ueber { padding-top: var(--abschnitt); padding-bottom: calc(var(--abschnitt) / 2); }
.vorteile { padding-top: var(--abschnitt); padding-bottom: 0; }
.ofen-band { margin: var(--abschnitt) 0 0; }

/* Startseite: unter der Pizza nur die eine Aktion, „Ganze Speisekarte“ übernimmt die Bestell-Leiste */
@media (max-width: 47.99rem) {
  .held { padding-top: 1.25rem; padding-bottom: 1.75rem; }
  .karussell { margin-top: .25rem; }
  .karussell-spur { padding-top: .25rem; padding-bottom: .5rem; }
  .karussell-text { margin-bottom: .9rem; min-height: 0; font-size: .95rem; }
  .karussell-aktionen .btn-hell { display: none; }
  .karussell-aktionen .btn-primaer { width: min(100%, 22rem); }
  .ofen-band { min-height: 62svh; }
  .ofen-band p { font-size: 1.05rem; }
}

/* Speisekarte am Handy: kompakte Karten, Bild links, Name und Preis daneben, Knopf darunter */
@media (max-width: 39.99rem) {
  .karte { gap: .75rem; }
  .kategorie h2 { margin-bottom: .75rem; }
  .gericht { display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); grid-template-areas: "bild kopf" "bild text" "fuss fuss"; column-gap: .9rem; padding: .85rem .9rem .9rem; border-radius: var(--radius); }
  .gericht:not(.mit-bild) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "text" "fuss"; }
  .gericht-bild { grid-area: bild; width: 100%; margin: 0; align-self: start; }
  .gericht-kopf { grid-area: kopf; flex-direction: column; align-items: flex-start; gap: .2rem; }
  .gericht-name { font-size: 1.45rem; }
  .preis { font-size: 1.3rem; color: var(--tinte); }
  .gericht-text { grid-area: text; margin: .3rem 0 0; font-size: .92rem; line-height: 1.5; }
  .gericht-fuss { grid-area: fuss; margin-top: .7rem; gap: .4rem .75rem; }
  .gericht-fuss .kennung { flex: 1 1 100%; font-size: .8rem; }
  .btn-hinzu { flex: 1 1 auto; min-height: 46px; }
  .extras-hinweis { flex: none; }
}

/* Fuß: Öffnungszeiten am Handy zum Aufklappen, Rechtliches zweispaltig */
.fuss-zeiten summary { list-style: none; cursor: default; }
.fuss-zeiten summary::-webkit-details-marker { display: none; }
.fuss-zeiten summary h2 { margin: 0 0 .6rem; }
@media (max-width: 47.99rem) {
  .fuss-zeiten { border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .fuss-zeiten summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; }
  .fuss-zeiten summary h2 { margin: 0; }
  .fuss-zeiten summary::after { content: ""; width: .7rem; height: .7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-25%); transition: transform .25s var(--ease); }
  .fuss-zeiten[open] summary::after { transform: rotate(-135deg); }
  .fuss-zeiten .zeiten { margin-bottom: 1rem; }
  .fuss-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .fuss-cta p { font-size: clamp(2.2rem, 11vw, 3rem); }
  .fuss-name { font-size: 1.9rem; }
}

/* ================= Bestellablauf: Jetzt bestellen → Warenkorb → Kasse ================= */
/* Abholung / Lieferung: Pillen-Umschalter, gleich auf Speisekarte, im Warenkorb und in der Kasse */
.art-bereich { display: grid; gap: .55rem; margin: 0 0 1.25rem; grid-column: 1 / -1; }
.art-wahl { display: inline-flex; justify-self: start; gap: 0; padding: 4px; margin: 0; border: 0; border-radius: var(--pille); background: rgba(20, 39, 29, .08); }
.art-option { position: relative; margin: 0; cursor: pointer; }
.art-option input { position: absolute; inset: 0; opacity: 0; margin: 0; min-height: 0; cursor: pointer; }
.art-option span { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .55rem 1.15rem; border-radius: var(--pille); font: 600 1rem/1 var(--f-text); color: var(--tinte); transition: background-color .25s var(--ease), color .25s var(--ease); }
.art-option svg { width: 1.35rem; height: 1.35rem; flex: none; }
.art-option input:checked + span { background: var(--tinte); color: var(--weiss); }
.art-option input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.art-info { margin: 0; font-size: var(--s-1); max-width: 60ch; }
.karte-kopf .art-wahl { background: rgba(255, 255, 255, .14); }
.karte-kopf .art-option span { color: var(--weiss); }
.karte-kopf .art-option input:checked + span { background: var(--rosa); color: var(--tinte); }
.karte-kopf .art-info { color: rgba(255, 255, 255, .85); }
@media (min-width: 48rem) { .karte-kopf .art-bereich { grid-column: 1 / 8; } }

/* Kopf: „Jetzt bestellen“ als Knopf in der Navigation */
@media (min-width: 60rem) {
  .hauptnav a.nav-bestellen { background: var(--rosa); color: var(--tinte); padding: .7rem 1.1rem; border-radius: var(--pille); transition: background-color .2s var(--ease), transform .16s var(--ease); }
  @media (hover: hover) and (pointer: fine) { .hauptnav a.nav-bestellen:hover { background: var(--weiss); } }
  .hauptnav a.nav-bestellen:active { transform: scale(.97); }
  .hauptnav a.nav-bestellen[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--tinte); }
  .kopf-bestellen { display: none; }
}
.btn-gross { min-height: 56px; padding: .9rem 2rem; font-size: 1.15rem; }

/* Warenkorb-Seite (Schritt 2) */
.warenkorb-seite { padding-top: clamp(1.5rem, 5vw, 3rem); padding-bottom: 3rem; }
.warenkorb-seite .kasse-titel, .warenkorb-seite .kasse-leer { grid-column: 1 / -1; grid-row: auto; }
.warenkorb-liste { grid-column: 1 / -1; position: static; }
.warenkorb-liste .weitere { margin: .25rem 0 1rem; }
.btn-voll { display: flex; width: 100%; justify-content: center; margin-top: 1rem; }
@media (min-width: 48rem) { .warenkorb-liste { grid-column: 2 / 12; } .warenkorb-seite .kasse-titel, .warenkorb-seite .art-bereich, .warenkorb-seite .kasse-leer { grid-column: 2 / 12; } }
@media (min-width: 64rem) { .warenkorb-liste, .warenkorb-seite .kasse-titel, .warenkorb-seite .art-bereich, .warenkorb-seite .kasse-leer { grid-column: 3 / 11; } }

/* Kasse (Schritt 3): Bestellung als aufklappbarer Kurzblock (Handy zu, Computer offen), ändern im Warenkorb */
.kasse-details > summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; cursor: pointer; list-style: none; min-height: 44px; }
.kasse-details > summary::-webkit-details-marker { display: none; }
.kasse-details > summary h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.kasse-details > summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; margin-left: auto; transition: rotate .25s var(--ease); align-self: center; }
.kasse-details[open] > summary::after { rotate: 225deg; }
.kasse-kurz { font-weight: 600; font-variant-numeric: tabular-nums; }
.kasse-details[open] .kasse-kurz { display: none; }
.kasse-details .positionen { margin-top: .75rem; }
.kasse-details .aendern { margin: .5rem 0 0; }
.kasse-uebersicht .mindest-hinweis:empty { display: none; }
.kasse-uebersicht .gutschein { margin-top: 1rem; }
/* Speisekarte: kompakter Kopf, die Gerichte beginnen früh */
.karte-kopf-band { padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(1.1rem, 3vw, 2rem); }
.karte-kopf h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: .9rem; }
.karte-kopf .art-bereich { margin-bottom: .75rem; }
.karte-intro { font-size: var(--s-1); }
@media (min-width: 60rem) {
  .karte-kopf { align-items: end; }
  .karte-kopf h1 { grid-column: 1 / 7; margin-bottom: 0; }
  .karte-kopf .art-bereich { grid-column: 7 / -1; grid-row: 1; justify-items: end; text-align: right; margin: 0; }
  .karte-kopf .art-bereich .art-wahl { justify-self: end; }
  .karte-intro { grid-column: 1 / -1; margin-top: .75rem; }
}
.nur-lesen .position { padding: .55rem 0; }
.position-pfand.warnung { font-weight: 700; color: var(--fehler); }
.kasse-form .art-bereich { margin-bottom: 1.5rem; }
/* Umschalter im Kassenformular nicht als Feld-Raster darstellen */
.kasse-form fieldset.art-wahl { display: inline-flex; grid-template-columns: none; gap: 0; }
/* Im Warenkorb und in der Kasse keine zweite „Jetzt bestellen“-Aufforderung im Fuß */
body[data-seite="warenkorb"] .fuss-cta, body[data-seite="kasse"] .fuss-cta { display: none; }

/* Infos in Häppchen: je Aussage eine Zeile, Wichtiges zuerst und kräftig */
.art-info p { margin: 0; }
.art-info .art-info-haupt { font-weight: 600; }
.mindest-hinweis { display: grid; gap: .35rem; }
.mindest-hinweis p { margin: 0; }
.mindest-hinweis .wichtig { font-weight: 700; color: var(--tinte); }
.mindest-hinweis .gebiet { margin-top: .4rem; padding-top: .6rem; border-top: 1px solid rgba(20, 39, 29, .12); font-size: var(--s-1); }
.mindest-hinweis:empty { display: none; }
/* Warenkorb-Seite: die Platzierung der Kassen-Übersicht (rechte Spalte über 3 Zeilen) nicht übernehmen */
.warenkorb-seite .warenkorb-liste, .warenkorb-seite .kasse-titel, .warenkorb-seite .art-bereich, .warenkorb-seite .kasse-leer { grid-row: auto; position: static; }

/* Trinkgeld vor dem Bezahlen: freiwillig, „Kein“ vorausgewählt, vier gleich große Felder */
.kasse-form fieldset.trinkgeld { display: block; }
.trinkgeld-optionen { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.tg-option { position: relative; margin: 0; }
.tg-option input { position: absolute; inset: 0; opacity: 0; margin: 0; min-height: 0; cursor: pointer; }
.tg-option span { display: grid; place-items: center; align-content: center; gap: .1rem; min-height: 56px; padding: .4rem; border: 1.5px solid rgba(20, 39, 29, .25); border-radius: 12px; font-weight: 600; text-align: center; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.tg-option small { font-weight: 400; font-size: .8rem; }
.tg-option input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.tg-option input:focus-visible + span { outline: 2px solid var(--tinte); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tg-option span:hover { border-color: var(--tinte); } }

/* „Jetzt geöffnet“: grüner Punkt mit sanftem Atmen, solange die Kasse offen ist (ohne Bewegung bei reduzierter Bewegung) */
@keyframes offen-atmen { 0%, 100% { box-shadow: 0 0 0 3px rgba(27, 77, 54, .25); } 50% { box-shadow: 0 0 0 6px rgba(27, 77, 54, .08); } }
.oeffnung-leiste p.offen::before { animation: offen-atmen 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .oeffnung-leiste p.offen::before { animation: none; } }

/* Adressvorschläge in der Kasse (Straßenverzeichnis des Liefergebiets) */
.strasse-feld { position: relative; }
.kasse-form .feld-strasse { grid-column: span 4; }
.kasse-form .feld-nr { grid-column: span 2; }
.kasse-form .fehler-zeile { margin: -.6rem 0 .9rem; }
.kasse-form .fehler-zeile:empty { display: none; }
.vorschlaege { position: absolute; z-index: 20; left: 0; right: 0; margin: .3rem 0 0; padding: .3rem; list-style: none; background: var(--weiss); border: 1px solid var(--linie-stark); border-radius: var(--radius); box-shadow: var(--schatten); max-height: 18rem; overflow-y: auto; overscroll-behavior: contain; }
.vorschlaege [role="option"] { display: flex; flex-direction: column; gap: .05rem; min-height: 48px; justify-content: center; padding: .45rem .75rem; border-radius: 10px; cursor: pointer; }
.vorschlaege [role="option"][aria-selected="true"] { background: var(--mehl); outline: 2px solid var(--tinte); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .vorschlaege [role="option"]:hover { background: var(--mehl); } }
.vorschlag-name { font-weight: 600; color: var(--tinte); }
.vorschlag-ort { font-size: var(--s-1); color: var(--tinte-weich); }
.vorschlag-leer { padding: .6rem .75rem; color: var(--tinte-weich); font-size: var(--s-1); }

/* Kasse: Rechnung auf Firma, Bewirtungsbeleg, Werbe-Einwilligung */
.haken { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; line-height: 1.4; }
.haken input { width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; flex: none; accent-color: var(--tinte); }
.haken small { display: block; color: var(--tinte-weich); font-size: .9em; }
.kasse-form fieldset.rechnung-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.rechnung-block > * { grid-column: 1 / -1; }
.rechnung-adresse { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.rechnung-adresse .feld-voll { flex-basis: 100%; }
.rechnung-adresse .feld-schmal { flex: 0 0 7.5rem; }
.rechnung-adresse .feld-breit { flex: 1 1 12rem; }
.rechnung-hinweis { margin: 0; color: var(--tinte-weich); }
.werbung-haken { margin: 0 0 1rem; text-align: left; }

/* Beleg-Seite: Rechnung ansehen, drucken, Bewirtungsbeleg */
/* Logo des Restaurants über dem Namen (beleg_logo in restaurant.json); ohne Logo ausgeblendet, kein Leerraum */
.beleg-logo { height: 4.5rem; margin-bottom: 1rem; }
.beleg-logo[hidden] { display: none; }
.beleg-logo img { height: 100%; width: auto; max-width: 16rem; object-fit: contain; object-position: left center; }
.beleg-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.beleg-kopf p { margin: 0; line-height: 1.5; }
.beleg-kunde span { font-size: .85em; color: var(--tinte-weich); }
.beleg-meta { color: var(--tinte-weich); }
.beleg-demo { border: 2px solid var(--fehler); padding: .6rem .8rem; font-weight: 600; }
.beleg-tabelle { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.beleg-tabelle th, .beleg-tabelle td { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.beleg-tabelle .r { text-align: right; white-space: nowrap; }
.beleg-tabelle tfoot td { border-bottom: 0; padding-top: .7rem; }
.beleg-steuer { font-size: .92em; }
.beleg-aktionen { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 1.5rem 0; }
@media screen { .bewirtung { display: none !important; } }
.haken small { display: block; font-weight: 400; color: var(--tinte-weich); }
.bewirtung { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px dashed var(--linie-stark); }
.bewirtung dl { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: .9rem 1rem; margin: 1rem 0 0; }
.bewirtung dt { font-weight: 600; grid-column: 1; }
.bewirtung dd { margin: 0; grid-column: 2; min-height: 1.6rem; }
.bewirtung dd.linie { border-bottom: 1px solid var(--tinte); }
.bewirtung dd.gross { min-height: 3rem; }
.bewirtung .klein { font-size: .9em; color: var(--tinte-weich); }
@media (max-width: 560px) { .bewirtung dl { grid-template-columns: 1fr; } .bewirtung dt, .bewirtung dd { grid-column: 1; } }
@media print {
  body[data-seite="beleg"] > *:not(main), body[data-seite="beleg"] .beleg-aktionen, body[data-seite="beleg"] .bestell-leiste { display: none !important; }
  body[data-seite="beleg"] { background: #fff; color: #000; }
  .beleg-seite { padding: 0; }
  .bewirtung { break-before: page; }
}

/* ---------- Bestellen mit einem Tipp: Menge am Gericht, Extras & Wünsche, Größe ---------- */
.menge-karte { display: inline-flex; align-items: center; gap: .25rem; padding: 3px; border-radius: var(--pille); background: var(--gruen); color: var(--weiss); }
.menge-karte button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 600 1.5rem/1 var(--f-text); cursor: pointer; transition: background-color .2s, transform .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { .menge-karte button:hover { background: rgba(255, 255, 255, .14); } }
.menge-karte button:active { transform: scale(.9); }
.menge-karte button[disabled] { opacity: .35; cursor: not-allowed; }
.menge-karte output { min-width: 2ch; text-align: center; font: 700 1.25rem/1 var(--f-text); font-variant-numeric: tabular-nums; transition: transform .3s var(--ease); }
.menge-karte output.huepf { transform: scale(1.35); transition-duration: .12s; }
.anpassen { min-height: 44px; padding: 0 .25rem; border: 0; background: none; color: var(--gruen); font: 600 var(--s-1)/1.2 var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .anpassen:hover { color: var(--tinte); } }
@media (max-width: 39.99rem) { .menge-karte { flex: 1 1 auto; justify-content: space-between; } }

.groessen-dialog { width: min(26rem, calc(100vw - 1.5rem)); }
.groessen-dialog h2 { margin-bottom: .2rem; }
.groessen-frage { margin: 0 0 1rem; font-weight: 600; }
.groessen-wahl { display: grid; gap: .6rem; margin-bottom: 1.1rem; }
.groesse-knopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: .75rem 1.25rem; border: 2px solid var(--gruen); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); font: 600 1.15rem/1.2 var(--f-text); cursor: pointer; text-align: left; transition: background-color .2s, transform .16s var(--ease); }
.groesse-knopf strong { font: 700 1.5rem/1 var(--f-titel); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .groesse-knopf:hover { background: #eef3ef; } }
.groesse-knopf:active { transform: scale(.97); background: var(--rosa); }
.groessen-dialog .dialog-aktionen { justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.groessen-dialog .btn { min-height: 46px; padding: .5rem 1.1rem; font-size: 1.05rem; }
.groesse-liste input { accent-color: var(--gruen); }

/* ---------- Speisekarte als Kacheln: Übersicht → Kategorie, Zurück zur Übersicht ---------- */
.kacheln { max-width: var(--breite); margin: 0 auto; padding: .75rem var(--raum) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 48rem) { .kacheln { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; } .kachel { aspect-ratio: 4 / 3; } }
.kachel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; aspect-ratio: 1 / 1; padding: .8rem .9rem; overflow: hidden; border-radius: calc(var(--radius) + 4px); background: var(--gruen); color: var(--weiss); text-decoration: none; box-shadow: 0 14px 30px -24px rgba(10, 30, 20, .7); transition: transform .2s var(--ease); }
.kachel:active { transform: scale(.97); }
.kachel img { position: absolute; z-index: -2; pointer-events: none; }
.kachel-foto { inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kachel-gericht { top: -12%; right: -14%; width: 78%; height: auto; aspect-ratio: 1; object-fit: contain; transform: rotate(-10deg); transition: transform .5s var(--ease); }
.kachel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 28, 19, .82) 0%, rgba(10, 28, 19, .25) 55%, transparent 80%); }
.kachel:not(.mit-foto)::after { background: linear-gradient(to top, rgba(10, 28, 19, .55), transparent 60%); }
.kachel-name { font: 700 clamp(1.5rem, 6vw, 2rem)/1 var(--f-titel); letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; }
.kachel-zahl { margin-top: .3rem; font-size: var(--s-1); opacity: .9; }
@media (hover: hover) and (pointer: fine) { .kachel:hover .kachel-foto { transform: scale(1.04); } .kachel:hover .kachel-gericht { transform: rotate(-4deg) scale(1.04); } }
/* Vor dem Start des Skripts: Übersicht (ohne JavaScript zeigt ohne-js.css alles) */
.mit-kacheln:not([data-ansicht]) .kategorie, .mit-kacheln:not([data-ansicht]) .kategorien, .mit-kacheln:not([data-ansicht]) .allergen-filter { display: none; }
.mit-kacheln[data-ansicht="uebersicht"] .kategorien, .mit-kacheln[data-ansicht="uebersicht"] .allergen-filter, .mit-kacheln[data-ansicht="suche"] .kategorien { display: none; }
.mit-kacheln[data-ansicht="kategorie"] .kacheln, .mit-kacheln[data-ansicht="suche"] .kacheln { display: none; }
.mit-kacheln[data-ansicht="kategorie"] .kategorie { animation: leiste-ein .2s var(--ease); }
.mit-kacheln:not([data-ansicht="kategorie"]) .weiter-zeile { display: none; }
/* Zurück und Allergen-Filter in einer Zeile */
.karte-werkzeuge { max-width: var(--breite); margin: .75rem auto 0; padding: 0 var(--raum); display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.karte-werkzeuge .allergen-filter { margin: 0; padding: 0; max-width: none; }
.karte-werkzeuge .allergen-filter[open] { flex-basis: 100%; }
.karte-zurueck { margin: 0; }
.zurueck-knopf { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem 1rem .4rem .75rem; border: 1.5px solid var(--linie-stark); border-radius: var(--pille); background: var(--weiss); color: var(--gruen); font: 600 1rem/1 var(--f-text); cursor: pointer; transition: border-color .2s, transform .16s var(--ease); }
.zurueck-knopf::before { content: ""; width: .55rem; height: .55rem; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); margin-left: .2rem; }
@media (hover: hover) and (pointer: fine) { .zurueck-knopf:hover { border-color: var(--gruen); } }
.zurueck-knopf:active { transform: scale(.97); }
.weiter-zeile { margin: 1.5rem 0 0; }
.weiter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .8rem 1.25rem; border-radius: var(--radius); background: var(--gruen); color: var(--weiss); font: 700 1.35rem/1 var(--f-titel); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, transform .16s var(--ease); }
.weiter::after { content: ""; width: .7rem; height: .7rem; border-right: 3px solid var(--rosa); border-top: 3px solid var(--rosa); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .weiter:hover { background: var(--gruen-hell); } }
.weiter:active { transform: scale(.98); }

/* ---------- Bestell-Leiste: wie viel bis Mindestbestellwert bzw. kostenlose Lieferung ---------- */
.bl-links { display: grid; gap: .3rem; min-width: 0; }
.bestell-leiste .summe { white-space: nowrap; }
.bl-hinweis { font: 500 .78rem/1.2 var(--f-text); text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .88); }
.bl-balken { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.bl-balken > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--rosa); transition: width .4s var(--ease); }

/* ---------- Warenkorb: Noch etwas dazu? ---------- */
.dazu { margin: .5rem 0 1rem; }
.dazu h2 { font-size: 1.5rem; color: var(--gruen); margin: 0 0 .6rem; }
.dazu-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.dazu-teil { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name plus" "preis plus"; align-items: center; column-gap: .5rem; padding: .6rem .6rem .6rem .85rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); }
.dazu-name { grid-area: name; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.dazu-preis small { display: block; font-size: .75rem; }
.dazu-preis { grid-area: preis; font-size: .8rem; color: var(--tinte-weich); font-variant-numeric: tabular-nums; }
.dazu-plus { grid-area: plus; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--rosa); color: var(--tinte); font: 600 1.5rem/1 var(--f-text); cursor: pointer; transition: background-color .2s, transform .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { .dazu-plus:hover { background: var(--rosa-tief); } }
.dazu-plus:active { transform: scale(.9); }
@media print { .kacheln, .karte-zurueck, .weiter-zeile, .menge-karte, .anpassen, .dazu { display: none !important; } }
