:root {
  --ink: #161816;
  --muted: #656a64;
  --line: rgba(23, 27, 24, 0.13);
  --cream: #f5f1e8;
  --white: #fffefa;
  --brand: #18382f;
  --accent: #f1b45f;
  --paper: #f7f2e8;
  --danger: #a23c32;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The root has no colour of its own, so each page's body colour fills the whole canvas, overscroll included (no white band). */
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { color: inherit; }
/* The branding check keeps the brand colour at 4.5:1 on white; dark shops use the accent. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(13, 41, 33, .18); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.6); }
.button.compact { min-height: 38px; padding: 0 17px; background: var(--brand); color: #fff; font-size: .8rem; }
.button.disabled, .button:disabled { opacity: .43; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* Platform */
.platform-nav { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; }
.platform-actions { position: relative; z-index: 1; }
.platform-actions { display: flex; gap: 12px; margin-top: 34px; }

/* Storefront */
.storefront-page { background: var(--paper); }
.draft-banner { min-height: 46px; padding: 10px max(24px, calc((100% - 1320px) / 2)); display: flex; justify-content: center; gap: 14px; align-items: center; background: #f1c772; color: #382a12; font-size: .78rem; text-align: center; }
/* Testmodus im Shop: always the yellow band, whatever the restaurant's colours, so a test never looks like the real shop. */
.draft-banner.test-banner { background: #f1c772; color: #382a12; }
.test-banner a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.test-banner .test-blockers { display: block; }
.restaurant-hero { min-height: 440px; color: #fff; background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 96%, black), color-mix(in srgb, var(--brand) 78%, #000)); position: relative; overflow: hidden; }
.restaurant-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,17,13,.5), transparent 140px), linear-gradient(90deg, rgba(5,17,13,.85), rgba(5,17,13,.28)); opacity: .88; }
/* Without a title photo the head is a coloured band: as high as its text, not a 440 px empty field. */
.restaurant-hero:not(:has(.restaurant-hero-image)) { min-height: 0; }
@media (min-width: 701px) { .restaurant-hero:not(:has(.restaurant-hero-image)) .hero-content { padding: 48px 0 56px; } }
.restaurant-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.restaurant-nav, .hero-content { width: min(1320px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 2; }
.restaurant-nav { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; }
/* The logo keeps its size whatever the status beside it says (Eigentümer 2026-11-20, D-254); the status gives way. */
.restaurant-brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.restaurant-brand img { object-fit: contain; filter: brightness(0) invert(1); }
.restaurant-brand img:not([data-look]) { width: 90px; max-height: 58px; }
/* The logo chosen under "Design & Logo" (D-233, appearance/logo.ts): size from width/height, about the same area for every
   shape; one colour turns white as above, a logo whose colours carry it keeps them, on its own box colour or a white plate. */
.restaurant-brand img[data-look] { flex: none; max-width: none; }
.restaurant-brand img:is([data-look="colour"], [data-look="plate"]) { filter: none; }
.restaurant-brand img[data-look="plate"] { box-sizing: content-box; padding: var(--logo-pad, 6px); border-radius: calc(var(--logo-pad, 6px) + 4px); background: var(--logo-plate, #fff); }
/* Open or closed, once at the top (D-171): beside the logo, and in its place when there is none. */
.restaurant-nav { gap: 16px; min-height: 100px; }
/* Always one line (Eigentümer 2026-11-20): the state is one word, and on phones the time beside it moves to the line
   below the order type (closed) or is left to the banner (paused). */
.shop-status { display: inline-flex; align-items: center; gap: 0 8px; min-width: 0; min-height: 36px; margin: 0; padding: 6px 14px; border-radius: 18px; background: rgb(0 0 0 / .36); color: #fff; font-size: .88rem; line-height: 1.5; white-space: nowrap; overflow: hidden; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.shop-status-now { white-space: nowrap; }
.shop-status .availability-dot { margin-right: 8px; }
.shop-status strong { font-weight: 650; }
.shop-status [data-status-fact] { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgb(255 255 255 / .82); }
.shop-status [data-status-fact]:empty { display: none; }
/* Closed: wider screens say when it opens in the status; phones say it here instead of repeating "geschlossen", and so
   does every screen when the status speaks of the other order type's time (the status is the restaurant's, D-254). */
.closed-opens { display: none; }
.paused-again { display: none; }
.closed-opens[data-differs]:not(:empty) { display: inline; }
.closed-line:has(.closed-opens[data-differs]:not(:empty)) [data-closed-label] { display: none; }
.hero-content { padding: 98px 0 62px; }
.hero-content .eyebrow { color: color-mix(in srgb, var(--accent) 88%, white); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
/* Balanced lines: "Monsoon – The Taste / of India" instead of a lone last word (Durchlauf 2026-11-25). */
.hero-content h1 { max-width: 850px; margin: 0; font: 500 clamp(2.6rem, 6vw, 5.4rem)/.98 Georgia, serif; letter-spacing: -.03em; text-wrap: balance; }
.hero-content > p:last-child { margin: 22px 0 0; color: rgba(255,255,255,.74); }
.order-mode-bar { min-height: 92px; width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-mode-controls { display: flex; align-items: center; gap: 10px; }
.segmented-control { padding: 5px; border: 1px solid var(--line); border-radius: 999px; display: flex; background: rgba(255,255,255,.52); }
.segmented-control button { min-height: 44px; padding: 10px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 750; transition: background-color .18s ease, color .18s ease; }
.segmented-control button.active { background: var(--brand); color: #fff; }
/* Lieferung and Abholung each carry their icon (D-100): scooter and bag, drawn like the other shop icons. */
.segmented-control .shop-icon { width: 18px; height: 18px; margin-left: -2px; }
.mode-switch.single button { cursor: default; }
/* Only one order type: a quiet label like the one in the basket, not a one-button switch that looks like the main action (Durchlauf 2026-11-25). */
.segmented-control.mode-switch.single { padding: 0; border: 0; background: transparent; }
.segmented-control.mode-switch.single button.active { min-height: 36px; padding: 6px 14px 6px 12px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); font-weight: 650; }
/* What the chosen order type means right now: the board's wait time, then costs or the pickup address. */
.mode-info { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.mode-info[hidden], .mode-detail[hidden] { display: none; }
.mode-detail { margin: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.mode-now { white-space: nowrap; }
.mode-now strong { color: var(--ink); font-weight: 650; }
/* The dot's halo (4px) stays inside the column line and keeps clear of the words beside it (Durchlauf 2026-11-25). */
.mode-now .availability-dot { margin: 0 10px 0 4px; }
.mode-facts { display: contents; }
.mode-facts[hidden] { display: none; }
/* Separators sit outside the phone link's underline (inline-block). */
:is(.mode-facts > span, .mode-phone)::before { content: "·"; display: inline-block; margin: 0 8px; color: var(--muted); text-decoration: none; }
.mode-phone { color: inherit; }
/* Language (D-100): a globe beside the order type opens Deutsch / English; no bar above the page. */
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
/* The dot sits on the middle of the capital letters beside it, not of the line box (which has room for descenders
   below): it stands on the baseline and is lifted by half the cap height (Inter: .71em) minus half its size. A transform moves it
   by fractions of a pixel, which layout would round to whole pixels. */
.availability-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; vertical-align: baseline; transform: translateY(calc(3.5px - .355em)); transform: translateY(calc(3.5px - .5cap)); border-radius: 50%; background: #54a074; box-shadow: 0 0 0 4px rgba(84,160,116,.15); }
.availability-dot.paused { background: #b0563a; box-shadow: 0 0 0 4px rgba(176,86,58,.15); }
/* Draft preview ("Bestellvorschau"): no orders yet, so neither green nor red (Durchlauf 2026-11-25). */
.availability-dot.preview { background: var(--muted); box-shadow: 0 0 0 4px color-mix(in srgb, var(--muted) 18%, transparent); }
/* Outside opening hours (D-083): when the restaurant opens and whether a pre-order is possible. */
.closed-note[hidden], .draft-banner[hidden] { display: none; }
.closed-note { margin: 18px 0 0; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) calc(var(--wash, 1) * 12%), transparent); color: var(--ink); font-size: .9rem; line-height: 1.45; }
.storefront-layout { width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 64px; align-items: start; }
.menu-content { min-width: 0; padding-bottom: 80px; }
.category-nav { --nav-gap: 28px; position: sticky; top: 0; z-index: 5; height: 64px; display: flex; align-items: center; gap: var(--nav-gap); overflow-x: auto; background: var(--paper); box-shadow: 0 1px 0 var(--line); scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .84rem; font-weight: 600; transition: color .15s ease, border-color .15s ease; }
.category-nav a:hover { color: var(--ink); }
.category-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
/* Desktop has no swipe cue: a soft fade at the right edge shows that the category bar scrolls on. */
/* Soft end of the scrolling row. An overlay, not a mask: a mask also faded the bar's own background, so dishes scrolling underneath showed through at the right edge.
   Only while there is more to the right (Eigentümer 2026-11-20, public/edge-fade.js): at the end the last category stands in
   full, as far from the edge as the magnifier on the left. The fade takes no room of its own (width and gap given back). */
.category-nav::after { content: ""; position: sticky; right: 0; flex: 0 0 40px; margin-left: calc(-40px - var(--nav-gap)); align-self: stretch; background: linear-gradient(90deg, transparent, var(--paper) 80%); pointer-events: none; opacity: 0; }
.category-nav[data-fade-end]::after { opacity: 1; }
.category-nav[data-edge-ready]::after { transition: opacity .2s ease; }

/* Rand-Verlauf for every other bar that scrolls sideways (Eigentümer 2026-11-20, public/edge-fade.js): an edge fades
   only while there is more that way. data-edge-fade masks the entries (bars on a card or the page); "overlay" lays a
   gradient in the bar's colour (--edge-bg) over them, for sticky bars that content scrolls under, where a mask would
   show that content through. Overlays give back their width and the bar's gap (--edge-gap), so they move nothing;
   --edge-inset reaches over a horizontal padding of the bar. */
@property --fade-start { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fade-end { syntax: "<length>"; inherits: false; initial-value: 0px; }
[data-edge-fade=""] { --fade-start: 0px; --fade-end: 0px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); }
[data-edge-fade=""][data-fade-start] { --fade-start: 36px; }
[data-edge-fade=""][data-fade-end] { --fade-end: 36px; }
[data-edge-fade=""][data-edge-ready] { transition: --fade-start .2s ease, --fade-end .2s ease; }
[data-edge-fade="overlay"][data-fade-x]::before, [data-edge-fade="overlay"][data-fade-x]::after { content: ""; position: sticky; z-index: 2; flex: 0 0 40px; align-self: stretch; pointer-events: none; opacity: 0; }
[data-edge-fade="overlay"][data-fade-x]::before { left: var(--edge-inset, 0px); margin-right: calc(-40px - var(--edge-gap, 0px)); background: linear-gradient(90deg, var(--edge-bg, var(--paper)) 20%, transparent); }
[data-edge-fade="overlay"][data-fade-x]::after { right: var(--edge-inset, 0px); margin-left: calc(-40px - var(--edge-gap, 0px)); background: linear-gradient(270deg, var(--edge-bg, var(--paper)) 20%, transparent); }
[data-edge-fade="overlay"][data-fade-start]::before, [data-edge-fade="overlay"][data-fade-end]::after { opacity: 1; }
[data-edge-fade="overlay"][data-edge-ready]::before, [data-edge-fade="overlay"][data-edge-ready]::after { transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { [data-edge-ready], [data-edge-ready]::before, [data-edge-ready]::after, [data-search-ready] .category-search { transition: none !important; } }
/* Magnifier at the start of the bar (D-244): stays put while the categories scroll under its soft edge and brings the search back from anywhere.
   Only once the search field has scrolled away under the bar (Eigentümer 2026-11-20, D-254): while the field is in view
   the magnifier takes no room and the categories start at the edge; storefront.js sets data-search-away. */
.category-search { position: sticky; left: 0; z-index: 1; flex: 0 0 auto; align-self: stretch; display: flex; align-items: center; max-width: 120px; margin: 0 -28px 0 0; padding: 0 28px 0 0; border: 0; border-radius: 0; background: linear-gradient(90deg, var(--paper) calc(100% - 22px), transparent); color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.category-nav:not([data-search-away]) .category-search { max-width: 0; margin-inline: 0 calc(-1 * var(--nav-gap)) !important; padding-inline: 0 !important; opacity: 0; visibility: hidden; }
.category-nav[data-search-ready] .category-search { transition: max-width .25s ease, margin .25s ease, padding .25s ease, opacity .2s ease, visibility .25s; }
/* Without the magnifier the bar fades at its start too, while categories lie beyond it (edge-fade.js). */
.category-nav::before { content: ""; position: sticky; left: 0; z-index: 2; flex: 0 0 40px; margin-right: calc(-40px - var(--nav-gap)); align-self: stretch; background: linear-gradient(90deg, var(--paper) 20%, transparent); pointer-events: none; opacity: 0; }
.category-nav[data-fade-start]:not([data-search-away])::before { opacity: 1; }
.category-nav[data-edge-ready]::before { transition: opacity .2s ease; }
.category-search > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, var(--paper)); transition: background-color .15s ease; }
.category-search .shop-icon { width: 19px; height: 19px; }
.category-search:focus-visible { outline: none; }
.category-search:focus-visible > span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .category-search:hover > span { background: color-mix(in srgb, var(--ink) 13%, var(--paper)); } }
.menu-section { padding: 40px 0 12px; scroll-margin-top: 72px; }
.menu-section:focus { outline: none; }
/* A tap in the category bar glides there in storefront.js (D-266); the page itself never scrolls smoothly, which took
   over a second across a long menu (D-100). */
html:has(> body.storefront-page) { scroll-behavior: auto; }
.menu-section > header { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: 20px; }
/* The number stands right before the category name, on its baseline, at the edge of the dishes (D-270, Eigentümer
   2026-11-21, variant A): "01 Suppen" reads as one, and the name gains the width the old 52 px number column took. The number keeps
   the width of its widest two figures, so every category name starts on the same line (Georgia: 1em, Express below). */
.menu-section > header:has(.section-number) { grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.section-number { min-width: 1em; margin: 0; color: color-mix(in srgb, var(--brand) 65%, #777); font: italic 1.25rem Georgia, serif; font-variant-numeric: tabular-nums; }
.menu-section h2 { margin: 0; font: 500 clamp(2rem, 4vw, 3rem)/1 Georgia, serif; letter-spacing: -.04em; text-wrap: balance; }
.menu-section header div p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
/* Bestellzeiten (D-190): when the category can be ordered, one quiet line with a clock under its name. */
.menu-section header div p.category-hours { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; }
.category-hours .shop-icon { width: 16px; height: 16px; flex: none; }
/* A category with hours that can be ordered right now (lunch menu at lunch time, D-203): its line as a pill in the
   restaurant's colour, so it reads as "now" at first sight. */
.menu-section header div p.category-hours.now { width: fit-content; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
/* Dishes (D-094): one row on every device. Photo on the left (if any), name, text, price and diet tags, "+" on the right.
   Allergens and additives sit behind the info mark, so a long list never makes a row taller. A card is as tall as
   its content, at least as tall as its photo; side by side the cards of one row share their height (the grid
   stretches them). The price stands right after the text, never at the foot of a taller card (D-263, below). */
.storefront-page { --dish-photo: 112px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
@media (min-width: 701px) {
  .menu-item.has-photo { min-height: calc(var(--dish-photo) + 32px); }
}
/* The shop never scrolls sideways: on the iPhone a few pixels too wide zoom the whole page out and leave a strip on the right (2026-11-15). clip, unlike hidden, keeps the sticky category bar working. */
.storefront { overflow-x: clip; }
.menu-item { position: relative; min-height: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.48); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; transition: background-color .15s ease, border-color .15s ease; }
.menu-item.has-photo { grid-template-columns: var(--dish-photo) minmax(0, 1fr) auto; }
@media (hover: hover) { .menu-item:hover { background: rgba(255,255,255,.8); } }
.menu-item.sold-out { opacity: .56; }
/* Square from the middle with a hairline edge, so photos on white plates or in odd sizes still sit in line. */
.dish-photo { display: block; width: var(--dish-photo); height: var(--dish-photo); align-self: start; border-radius: 12px; object-fit: cover; background: color-mix(in srgb, var(--ink) 8%, transparent); outline: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); outline-offset: -1px; }
/* Placeholder for a dish without photo once other dishes have one (D-099): same square, the restaurant's colours, a quiet cloche. */
.dish-photo-placeholder { display: grid; place-items: center; color: color-mix(in srgb, var(--ink) 42%, transparent); background: color-mix(in srgb, var(--ink) 9%, transparent); }
.dish-photo-placeholder .shop-icon { width: 40%; height: auto; aspect-ratio: 1; stroke-width: 1.5; }
.menu-item-copy { min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
/* Name, then the info mark right behind it (D-100): the reference to allergens and additives sits at the dish name. */
.menu-item { --dish-name-size: 1rem; }
.item-heading h3 { margin: 0; font-size: var(--dish-name-size); font-weight: 600; line-height: 1.35; }
.dish-name-end { white-space: nowrap; }
/* Two lines of name at most (D-253), so a long name never makes its card taller: the rest ends in "…", the dish details
   show it whole. Where a name is cut, storefront.js fitDishNames() shortens the text instead, so "…" and the info mark
   end the second line; on names that fit it lifts the clip, so the mark keeps its 44 px to tap. */
.item-heading h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.item-heading h3[data-fit] { overflow: visible; }
/* A single word wider than the line (a long compound, a made-up name) breaks instead of running off the card or the screen (D-229). */
:is(.item-heading h3, .featured-dish-copy h3, .dish-dialog-body h2, .cart-line-name, .cart-line strong, .summary-title, .summary-name) { overflow-wrap: anywhere; }
/* A long compound in a dish name breaks at a syllable with a hyphen ("Mineral-wasser", "Johannis-beersaft") before it breaks
   anywhere (D-274, Eigentümer 2026-11-21): only words of ten letters or more, five on each side, so short words stay whole. */
:is(.item-heading h3, .featured-dish-copy h3, .dish-dialog-body h2) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
.price { white-space: nowrap; font-weight: 650; font-size: .95rem; font-variant-numeric: tabular-nums; }
.item-text > .dish-description { margin: 4px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* Foot of the dish: price, diet tags, a quiet note when something is in review. One line where it fits; the chips that
   are never cut move to a second line when the first is full (narrow phones, D-229); since D-259 the diet tags too,
   and they go below the price instead of lifting it. */
/* The price right after the text, on every device and in every design (D-263, Eigentümer 2026-11-21: "Warum sind bei
   manchen Gerichten die Preise so weird weit unten ausgerichtet? … darf nicht passieren"). Until then cards of one
   category (phones, D-253) or of one row (desktop, D-260) took the height of the tallest and pushed the price to the
   foot, so a dish with a shorter name or text showed a gap of up to 110 px above its price. Now 8 px above the price,
   always; scripts/check-designs.ts reports anything more. Side by side the cards of a row still share their height,
   the space that is left stays below the price. The price is as high as the tallest chip (24 px), so it
   stands at the same place with or without a chip beside it. */
.item-foot { padding-top: 8px; min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.item-foot > :is(.price, .price-was, .price-deposit) { box-sizing: border-box; min-height: 24px; display: inline-flex; align-items: center; }
/* Name and text share three lines (D-260, Eigentümer 2026-11-20: "Titel, dann zwei Zeilen Beschreibung und dann den
   Preis"; until D-264 only beside a photo from 701 px): one line of name and two of text, or two of name and one.
   The text box is cut at that height (clip-path, so the info mark keeps its tap area above); storefront.js marks
   two-line names, then the one line of text ends in "…". The cut is the same with or without the mark, so nothing
   moves when the script runs. Where Schärfe, diet tags, a distinction or an old price need a second line of
   the foot, the text gives way to them and name and text share two lines; none of them is ever cut (D-259). Whether
   they need it depends on the width and the fonts, so storefront.js fitDishFeet() measures the foot and marks a card
   whose foot fits on one line (data-foot="1"); until then such a card keeps to two lines, so it never grows and
   nothing below it moves. A Grundpreis (§ 4 PAngV) is never cut. The Pfand stands beside the price since D-271, no
   longer in the name, so drinks keep to the three lines like every dish. */
.item-text { min-width: 0; }
.menu-item { --dish-three-lines: calc(2 * 1.35 * var(--dish-name-size) + 4px + .86rem * 1.45); --dish-two-lines: max(2 * 1.35 * var(--dish-name-size), 1.35 * var(--dish-name-size) + 4px + .86rem * 1.45); }
.menu-item .item-text:not(:has(.dish-pack)) { max-height: var(--dish-three-lines); clip-path: inset(-24px -24px 0 -24px); }
.menu-item:has(.item-foot > :not(.price, [hidden])):not([data-foot="1"]) .item-text:not(:has(.dish-pack)) { max-height: var(--dish-two-lines); }
/* One line of text ends in "…" wherever the line is full (D-264), so a long compound never leaves a single word
   ("frisches…", "drei verschieden…"). */
.menu-item .item-text:has(h3[data-lines="2"]) .dish-description,
.menu-item:has(.item-foot > :not(.price, [hidden])):not([data-foot="1"]) .dish-description { display: block; white-space: nowrap; text-overflow: ellipsis; }
/* The Grundpreis (D-275) takes the place of a line of text: beside a one-line name the text keeps one line, beside a
   two-line name or a foot over two lines it gives way entirely (the sheet still shows it). Name and Grundpreis may
   always take the three lines, so the Grundpreis is never cut; only a card with a two-line name and a foot that really
   wraps grows. The height does not wait for storefront.js: its marks only hide or show the text. */
.menu-item .item-text:has(> .dish-unit-price) .dish-description { display: block; white-space: nowrap; text-overflow: ellipsis; }
.menu-item .item-text:has(h3[data-lines="2"]):has(> .dish-unit-price) .dish-description,
.menu-item:has(.item-foot > :not(.price, [hidden])):not([data-foot="1"]) .item-text:has(> .dish-unit-price) .dish-description { display: none; }
.menu-item:has(.item-foot > :not(.price, [hidden])):not([data-foot="1"]) .item-text:has(> .dish-unit-price) { max-height: var(--dish-three-lines); }
/* Every card is as tall as the most that name, text and price may take: three lines and the price, or two lines and a
   foot over two lines (32 px, 60 px over two lines), at least its photo (D-264, Eigentümer 2026-11-21: "diese
   unterschiedlichen Größen"). Photo, text and "+" stand in the middle ("das Bild trotzdem gecentert halten"), so a
   dish with a short text or none sits as calmly as the others ("muss dann auch funktionieren, wenn da kein Beitext
   steht"; on phones until then each card was as tall as its own text, one line more with a two-line name). The price
   stays right after the text (D-263): text and price move together. */
.menu-item .menu-item-copy { min-height: max(var(--dish-three-lines) + 32px, var(--dish-two-lines) + 60px); justify-content: center; }
.menu-item.has-photo > :is(.dish-photo, .dish-photo-frame) { align-self: center; }

.item-foot .price { flex: none; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.dish-tags[hidden] { display: none; }
/* In the list the tags are items of the foot itself (D-259): what does not fit wraps whole onto the next line, nothing is
   hidden, so "vegan" is never lost beside a price, a distinction or a long word. */
.item-foot .dish-tags { display: contents; }
.dish-tags > span, .item-foot .dish-spice { flex: none; padding: 3px 8px; border-radius: 999px; background: #e8e5dc; font-size: .7rem; font-weight: 600; line-height: 1.4; }
/* Schärfe (D-253): one to three chilies in a chip as tall as a tag, never cut, in front of the diet tags. Chili red, drawn
   towards the text colour, so it stays clear on light and on dark pages. The word is there for screen readers; the dish
   details write it out beside the chilies. */
.dish-spice { --chili: color-mix(in srgb, #e3401c 76%, var(--ink)); --chili-stem: color-mix(in srgb, #3c9a3c 72%, var(--ink)); display: inline-flex; align-items: center; gap: 1px; }
.dish-spice .chili { display: block; flex: none; width: 15px; height: 15px; }
.chili-pod { fill: var(--chili); }
.chili-stem { stroke: var(--chili-stem); }
.item-foot .dish-spice { box-sizing: border-box; height: 22px; padding: 0 7px; }
.item-foot .dish-spice-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dish-dialog .dish-spice-name { margin-left: 4px; }
/* The restaurant's distinction for a dish (D-172): the same height as a tag, in the restaurant's colour, never cut. */
.dish-award { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.featured-dish-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
/* Aktion (D-175): the old price stands struck through and quieter right behind the price. */
.price-was { flex: none; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-was[hidden] { display: none; }
/* Pfand (D-271, Eigentümer 2026-11-21: „rechts neben den Preis … in kleiner“): quiet and small right after the price,
   in one piece; where the line is full it wraps whole below the price like a chip. § 7 PAngV: beside it, never in it. */
.price-deposit { flex: none; color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* On the price's baseline (D-271, Eigentümer 2026-11-21: „fühlt sich nicht auf selber Höhe wie der Preis an“): centred
   in the line, the smaller text stood 1.8 to 2.8 px above the baseline of the price, depending on the design's fonts.
   Price, old price and Pfand share the baseline now; Pfand and old price are only as tall as their own line, so the
   price (24 px, the tallest in the foot) keeps its place and the foot its height. Under a featured photo the price is
   lower than a distinction beside it, so there everything goes on the baseline, and only where a Pfand or an old price
   stands; otherwise that foot stays as it was. */
.item-foot > :is(.price, .price-was, .price-deposit) { align-self: baseline; }
.item-foot > :is(.price-was, .price-deposit) { min-height: 0; }
.featured-dish-foot:has(> :is(.price-was, .price-deposit)) > * { align-self: baseline; }
.dish-dialog-price { display: flex; align-items: baseline; gap: 8px; }
.offer-until { color: var(--muted); font-size: .78rem; }
.featured-dish-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); }
.featured-dish-placeholder .shop-icon { width: 40px; height: 40px; }
/* Alkohol (D-195): "ab 18 · 40 % vol", outlined and as tall as a tag, never cut. */
.dish-age, .item-foot .dish-abv { flex: none; padding: 2px 7px; border: 1px solid currentColor; border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 600; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-note { min-width: 0; overflow: hidden; color: var(--muted); font-size: .74rem; white-space: nowrap; text-overflow: ellipsis; }
/* Allergens and additives (D-100): an "i" behind the name's last word (never alone on a line) that opens the dish with the full list; 44 px to tap, 20 px to see. */
/* middle sets the mark on half the x-height; top lifts it to half the capitals, so it sits mid-name (Eigentümer 2026-11-17). */
.dish-info { position: relative; top: calc((1ex - 1cap) / 2); z-index: 1; width: 20px; height: 20px; margin-left: 5px; padding: 0; display: inline-grid; vertical-align: middle; font: inherit; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.dish-info::before { content: ""; position: absolute; inset: -12px; }
.dish-info .shop-icon { width: 18px; height: 18px; stroke-width: 1.8; }
@media (hover: hover) { .dish-info:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); } }
.dish-info:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.menu-item-action { display: flex; align-self: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Line icons (html.ts shopIcon): exact centre in every circle. */
.shop-icon { display: block; width: 20px; height: 20px; flex: none; }
/* The whole dish opens its details (D-093): the name is the button, stretched over the card; "+" stays on top. */
.featured-dish { --photo-r: 16px; position: relative; }
.dish-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dish-open::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.dish-cover { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.dish-cover::after { content: none; }
/* The keyboard's frame only where the keyboard is (Eigentümer 2026-11-21, D-269: "soll nirgends" for taps and clicks):
   one quiet line around the card the keyboard is on, never a second square one from the button (the designs' general
   frame used to beat this rule) and never around a place the page moves the focus to (a category after a tap in the bar,
   the basket's title, the page after "Zum Inhalt"). Those are no stops for Tab, and after the search field Safari
   counts such a focus as the keyboard's. */
:is(.menu-item, .featured-dish) .dish-open:focus-visible { outline: none; }
.menu-item:has(.dish-open:focus-visible), .featured-dish:has(.dish-open:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
:is(.storefront-page, .theme-order) [tabindex="-1"]:focus { outline: none; }
/* A tap anywhere on a dish opens it (D-093). Since their clip (D-264) name and text lay above the cover button and took
   the tap themselves, which marked a word instead of opening the dish (Eigentümer 2026-11-21, D-269). They let taps
   through now, only the info mark takes its own; nothing on a dish card can be selected. */
.menu-item .item-text { pointer-events: none; }
.menu-item .dish-info { pointer-events: auto; }
:is(.menu-item, .featured-dish) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.menu-item .add-button, .featured-dish .add-button { z-index: 1; }
/* "+" with the quantity in the basket as a badge; a short pop when a dish goes in. */
.add-button { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; transition: transform .12s ease, background-color .15s ease, filter .15s ease; }
.add-button:hover:not(:disabled) { filter: brightness(1.12); }
.add-button:active:not(:disabled) { transform: scale(.92); }
.add-button:disabled { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--muted); cursor: not-allowed; }
.sold-out .add-button:disabled, [data-order-later] .add-button:disabled { width: auto; height: 32px; padding: 0 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.add-button[data-count]::after { content: attr(data-count); position: absolute; top: -5px; right: -5px; box-sizing: border-box; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2px var(--paper); font: 700 .68rem/1 Inter, ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
/* Add to basket: the dish's little round copy on its way (storefront.js flyToCart). */
.cart-flyer { position: fixed; z-index: 60; width: 36px; height: 36px; pointer-events: none; will-change: transform; }
.cart-flyer > span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent) center / cover no-repeat; box-shadow: 0 0 0 2px var(--paper), 0 6px 16px rgb(0 0 0 / .22); will-change: transform, opacity; }
.add-button.just-added { animation: add-pop .42s cubic-bezier(.3, 1.5, .5, 1); }
.add-button.just-added::after { animation: badge-pop .42s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes add-pop { 0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 30% { transform: scale(.86); } 100% { transform: scale(1); box-shadow: 0 0 0 12px transparent; } }
@keyframes badge-pop { 0% { transform: scale(.3); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
/* Dish details: a centred sheet on desktop, a sheet from the bottom on phones; both slide in and out. */
.dish-dialog { width: min(560px, calc(100% - 32px)); max-height: min(88vh, 860px); padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: var(--paper); overflow: hidden auto; box-shadow: 0 24px 80px rgb(0 0 0 / .3); }
.dish-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .26s cubic-bezier(.2, .8, .2, 1); }
/* iOS Safari scrolls the page behind a modal dialog; hold it while the dish is open. */
html:has(.dish-dialog[open]) { overflow: hidden; }
/* Classic scrollbars (Windows) take ~17 px; keep their space so locking the page does not shift it sideways.
   Only with a mouse: phones scroll with overlay bars, and a reserved gutter there left an empty strip on
   the right and let the page be pulled sideways and zoomed out (iPhone, 2026-11-15). */
@media (hover: hover) and (pointer: fine) { html:has(> body.storefront-page) { scrollbar-gutter: stable; } }
/* No bounce at the top: a finger that scrolls back up carries on as a drag of the sheet (storefront.js swipeToClose). */
.dish-dialog { overscroll-behavior: none; }
.dish-dialog[open]::backdrop { animation: fade-in .26s ease; }
.dish-dialog.closing { animation: dialog-out .18s ease-in forwards; }
.dish-dialog.closing::backdrop { animation: fade-out .18s ease-in forwards; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
.dish-dialog::backdrop { background: rgb(10 14 12 / .6); }
.dish-dialog-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dish-dialog-media[hidden] { display: none; }
/* KI-Bilder (D-101, D-182, D-302): a tiny "KI" on the picture itself, barely there (Art. 50 KI-VO: it must still be
   perceivable at first sight). Eigentümer 2026-11-26 („noch subtiler … minimal kleiner … Man muss schon sehr genau
   hinschauen“), his choice of three renderings: only the letters, no field on the picture, 4.5 px (large pictures
   5 px), white at .74 with a faint dark halo that keeps them visible on a light photo. iOS must not enlarge it. The gap to the edges grows with the photo's corner
   radius (--photo-r), so the letters never sit in the curve of the corner. */
.ai-badge { --ai-gap: calc(var(--photo-r, 8px) * .3 + 3px); position: absolute; z-index: 1; left: var(--ai-gap); bottom: var(--ai-gap); color: rgba(255, 255, 255, .74); font: 600 4.5px/1 system-ui, sans-serif; letter-spacing: .04em; text-shadow: 0 0 1.5px rgba(0, 0, 0, .38); pointer-events: none; -webkit-text-size-adjust: none; text-size-adjust: none; }
.ai-badge[hidden] { display: none; }
.dish-photo-frame { --photo-r: 12px; position: relative; display: block; width: var(--dish-photo); height: var(--dish-photo); align-self: start; }
.featured-dish > .ai-badge, .dish-dialog-media .ai-badge { top: var(--ai-gap); bottom: auto; font-size: 5px; }
/* Fewer than two device pixels per CSS pixel (many Windows laptops and office screens) turn 4.5 px letters into a smudge:
   there the KI keeps its earlier size (D-302). */
@media (max-resolution: 1.5dppx) {
  .ai-badge { font-size: 6px; }
  .featured-dish > .ai-badge, .dish-dialog-media .ai-badge { font-size: 7px; }
}
.dish-dialog-media { --photo-r: 16px; position: relative; }
.dish-ai-note { margin: 12px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.dish-ai-note[hidden] { display: none; }
.dish-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.dish-dialog-body { padding: 20px 24px 8px; }
.dish-dialog-body h2 { margin: 0 48px 4px 0; font: 500 1.6rem/1.15 Georgia, serif; }
.dish-dialog-media:not([hidden]) + .dish-dialog-close + .dish-dialog-body h2 { margin-right: 0; }
.dish-dialog-price { margin: 0; font-weight: 650; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.dish-dialog-description { margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.dish-dialog-description[hidden] { display: none; }
.dish-dialog .dish-tags { margin-top: 12px; height: auto; overflow: visible; }
.dish-dialog .dish-tags[hidden] { display: none; }
.dish-dialog .dish-tags > .dish-note { padding: 0; background: none; }
/* The alcohol mark keeps its own look in every theme: "% vol" is never set in capitals. */
.dish-dialog .dish-tags > span.dish-age { padding: 2px 7px; border: 1px solid currentColor; background: none; color: var(--muted); font-size: .7rem; letter-spacing: 0; text-transform: none; }
/* Everything the info mark points to: allergens, additives, or why there is nothing (yet). */
/* Sonderwunsch and allergens fold away (Eigentümer 2026-11-17): one quiet row each, the content opens below. */
.dish-fold { margin: 0; border-top: 1px solid var(--line); scroll-margin: 16px; }
/* The first visible fold keeps its distance to the text. The last one (allergens, always there) has no line of its
   own: the line over the quantity and add button closes it, so the row sits as evenly between two lines as the
   others, folded or open (Eigentümer 2026-11-20). */
.dish-dialog-body > .dish-fold:not(.dish-fold:not([hidden]) ~ .dish-fold) { margin-top: 18px; }
.dish-dialog-body > .dish-fold:last-of-type { margin-bottom: -8px; }
.dish-fold[hidden] { display: none; }
.dish-fold > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 2px; list-style: none; cursor: pointer; font-size: .95rem; font-weight: 600; line-height: 1.3; border-radius: 8px; }
.dish-fold > summary::-webkit-details-marker { display: none; }
.dish-fold > summary > span { flex: 1; min-width: 0; }
.dish-fold > summary .shop-icon { flex: none; width: 18px; height: 18px; color: var(--muted); }
.dish-fold > summary .shop-icon:last-child { transition: transform .2s ease; }
.dish-fold[open]:not([data-closing]) > summary .shop-icon:last-child { transform: rotate(180deg); }
.dish-fold > summary:focus { outline: none; }
.dish-fold > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .dish-fold > summary:hover .shop-icon { color: var(--ink); } }
.dish-fold-body { padding: 0 0 16px; }
/* The fold grows when it opens and shrinks with its text still in view when it closes, in every browser (public/fold.js, D-250);
   the arrow turns back as it starts to close. */
@media (prefers-reduced-motion: reduce) { .dish-fold > summary .shop-icon:last-child { transition: none; } }
.dish-wish .fblock-note { font-size: .8rem; }
.dish-allergens dl { margin: 0; display: grid; gap: 8px; }
.dish-allergens dl[hidden], .dish-allergens p[hidden] { display: none; }
.dish-allergens dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 12px; }
.dish-allergens dt { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.dish-allergens dd { margin: 0; font-size: .9rem; line-height: 1.5; }
.dish-allergens p { margin: 0; font-size: .9rem; line-height: 1.5; }
.dish-allergens .dish-allergens-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
/* Closed bottles and cans (D-194): quantity, Grundpreis and Pfand under the name; the label in the dish sheet. */
.dish-pack { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
/* Grundpreis of a bottle or can (D-275): one quiet line right under the name, never cut, never wrapped. */
.dish-unit-price { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-dialog-price .price-extra { margin-left: 8px; color: var(--muted); font-size: .82rem; font-weight: 400; }
.dish-dialog-price .price-extra[hidden] { display: none; }
.dish-product { margin: 18px 0 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.dish-product[hidden] { display: none; }
.dish-product h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 650; line-height: 1.3; }
.dish-product h3 .shop-icon { width: 18px; height: 18px; color: var(--muted); }
.dish-product dl { margin: 0; display: grid; gap: 8px; }
.dish-product dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 12px; }
.dish-product dt { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.dish-product dd { margin: 0; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.dish-nutrition { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.dish-nutrition caption { padding-bottom: 6px; color: var(--muted); font-size: .84rem; text-align: left; }
.dish-nutrition th, .dish-nutrition td { padding: 4px 0; border-top: 1px solid var(--line); font-weight: 400; text-align: left; }
.dish-nutrition td { text-align: right; white-space: nowrap; }
.dish-product .dish-allergens-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.dish-dialog-actions { position: sticky; bottom: 0; margin-top: auto; padding: 16px 24px 20px; display: flex; gap: 12px; align-items: center; background: var(--paper); border-top: 1px solid var(--line); }
.dish-quantity { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.dish-quantity[hidden] { display: none; }
.dish-quantity button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.dish-quantity button:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dish-quantity button:disabled { opacity: .35; cursor: default; }
.dish-quantity output { min-width: 24px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.dish-dialog-add { flex: 1; justify-content: space-between; min-height: 52px; }
/* "Entfernen" (quantity 0 for a dish from the basket, D-254): no price beside it, so the word stands in the middle. */
.dish-dialog-add.removes { justify-content: center; }
.dish-dialog-add:disabled { opacity: .5; }
/* "Beliebt" (D-093): the restaurant's highlighted dishes with their photos, as a row that scrolls sideways. */
/* Below the category bar every block starts 32 px after the one before (Eigentümer 2026-11-20, D-254): Aktionen,
   Beliebt, the search and the first category. The track's room for the card shadows does not count. */
.featured-dishes { padding: 32px 0 0; }
.storefront-search + .menu-section { padding-top: 24px; }
.featured-dishes h2 { margin: 0 0 16px; font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.1 Georgia, serif; letter-spacing: -.02em; }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: max(200px, calc((100% - 36px) / 4)); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-bottom: -10px; }
/* Every visible scrollbar wears the page's own design (Eigentümer 2026-11-04, everywhere since 2026-11-14):
   a thin rounded thumb in the design's ink, no grey track, a little stronger under the pointer.
   --sb-ink is the ink to use; it falls back to --ink, which the classic shop and Salon, Express,
   Werkstatt set, and dashboard.css points it at the dashboard ink. Firefox and Chrome/Edge (121+)
   read scrollbar-width/-color; Safari reads the ::-webkit-scrollbar rules. Rows that hide their
   scrollbar (category bars, chips on phones) keep their own, more specific rules.
   Only with a mouse or trackpad (hover + fine pointer): on touch devices the system's thin overlay bars
   stay. A styled scrollbar on the iPhone becomes a solid bar that takes width, leaving an empty strip on
   the right that lets the page slide sideways and zoom out (2026-11-15). */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--sb-ink, var(--ink)) 26%, transparent) transparent; }
  :hover { scrollbar-color: color-mix(in srgb, var(--sb-ink, var(--ink)) 42%, transparent) transparent; }
  :root { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--sb-ink, var(--ink)) 26%, transparent) transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--sb-ink, var(--ink)) 26%, transparent) padding-box; }
  ::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--sb-ink, var(--ink)) 42%, transparent); }
}
/* The sheet's own scrollbar over the content (storefront.js overlayScrollbar, Eigentümer 2026-11-17). */
.dish-dialog.overlay-scroll { scrollbar-width: none; }
.dish-dialog.overlay-scroll::-webkit-scrollbar { display: none; }
.overlay-thumb { position: absolute; top: 0; right: 3px; z-index: 3; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--sb-ink, var(--ink)) 34%, transparent); opacity: 0; transition: opacity .2s ease, width .15s ease, background-color .15s ease; cursor: default; touch-action: none; }
.overlay-thumb[hidden] { display: none; }
.overlay-thumb.on { opacity: 1; }
.overlay-thumb:hover, .overlay-thumb.drag { width: 8px; right: 2px; background: color-mix(in srgb, var(--sb-ink, var(--ink)) 52%, transparent); }
/* Two or three highlights share the full width in thirds instead of leaving an empty quarter. */
@media (min-width: 981px) { .featured-track:not(:has(> :nth-child(4))) { grid-auto-columns: calc((100% - 24px) / 3); } }
.featured-dish { scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.48); transition: background-color .15s ease; }
@media (hover: hover) { .featured-dish:hover { background: rgba(255,255,255,.8); } }
.featured-dish img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.featured-dish-copy { padding: 12px 60px 14px 14px; display: grid; gap: 2px; justify-items: start; }
.featured-dish-copy h3 { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.featured-dish .add-button { position: absolute; right: 12px; bottom: 12px; }
/* "Ausverkauft" or "morgen ab 11:30" is wider than the round button: it stands at the bottom left under the copy, which keeps room for it (D-229). */
.featured-dish:is(.sold-out, [data-order-later]) .featured-dish-copy { padding-right: 14px; padding-bottom: 58px; }
.featured-dish:is(.sold-out, [data-order-later]) .add-button { left: 14px; right: auto; bottom: 14px; }
.featured-dish.sold-out { opacity: .56; }
.text-button { padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; font-size: .67rem; color: var(--muted); cursor: pointer; }
.text-button.danger { color: var(--danger); text-decoration: none; }
/* Basket: a panel beside the menu on desktop; on phones and tablets a bar that opens it as a sheet (D-094). */
/* A line around it, no shadow: on dark pages and with more contrast the shadow showed as a dark glow round the box (Eigentümer 2026-11-21, D-273). */
/* The top edge sits on the search field's line beside it (category bar 64px + 32px; Durchlauf 2026-11-25). */
.cart-panel { position: sticky; top: 22px; margin: 96px 0 56px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fffefa; }
.cart-bar, .cart-close, .cart-backdrop { display: none; }
.cart-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-heading .eyebrow { flex: 1; margin: 0; color: var(--ink); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.cart-heading .eyebrow:focus { outline: none; }
.cart-heading span { color: var(--muted); font-size: .75rem; }
.cart-lines { max-height: 47vh; overflow-y: auto; }
.cart-empty { padding: 40px 10px; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--muted); }
.cart-empty .shop-icon { width: 30px; height: 30px; stroke-width: 1.5; opacity: .75; }
.cart-empty p { margin: 0; font-size: .8rem; }
.cart-line { padding: 12px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name controls" "price controls"; gap: 2px 12px; align-items: center; border-bottom: 1px solid var(--line); }
/* The subtotal's line closes the list; the last line's own line on top of it read as a double line (D-273). */
.cart-line:last-child { border-bottom: 0; }
.cart-line strong, .cart-line-name { grid-area: name; font-size: .88rem; font-weight: 600; line-height: 1.35; }
/* With wishes on, the name opens the dish again (D-101); it still reads as the name. */
.cart-line-name { justify-self: start; margin: -4px -6px; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .cart-line-name:hover { text-decoration: underline; text-underline-offset: 3px; } }
.cart-line.has-note { grid-template-areas: "name controls" "note controls" "price controls"; }
.cart-line-note { grid-area: note; color: var(--muted); font-size: .8rem; line-height: 1.35; font-style: italic; overflow-wrap: anywhere; }
.cart-line-price { grid-area: price; white-space: nowrap; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
/* A dish that lands: a new line fades in, an existing one pops its number. No tint behind the line,
   which sat inside the basket's padding and read as a stray box (Eigentümer 2026-11-04). */
.cart-line.fresh { animation: line-in .24s ease; }
/* The last one of a line taken out: the line fades as a new one fades in, then goes (storefront.js, D-250). */
.cart-line.leaving { animation: line-out .24s ease forwards; pointer-events: none; }
.cart-line.flash output { animation: badge-pop .4s cubic-bezier(.3, 1.5, .5, 1); }
/* A dish on its way keeps its new line's place, invisible until it lands (storefront.js showArrivals). */
.cart-line.arriving { opacity: 0; }
@keyframes line-in { from { opacity: 0; } }
@keyframes line-out { to { opacity: 0; } }
/* − quantity + as one pill. */
.cart-line-controls { grid-area: controls; justify-self: end; display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.cart-line-controls button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.cart-line-controls button:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cart-line-controls button:disabled { opacity: .35; cursor: default; }
.cart-line-controls .shop-icon { width: 16px; height: 16px; }
.cart-line-controls output { min-width: 22px; text-align: center; font-size: .85rem; font-weight: 650; font-variant-numeric: tabular-nums; }
/* The basket switches the order type too (D-273): the switch above the menu, smaller, and the wait at the right
   edge on the same middle line. Too narrow for both, the wait goes below. With one order type a quiet chip (D-101). */
.cart-mode { padding: 14px 0 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
/* Its track is a line on the basket's surface, like the quantity pill below it, in every design (Express too): the
   option not chosen keeps the text-on-surface contrast the colour check holds (a tint behind it lowered it). */
body .cart-mode .segmented-control.cart-mode-switch { padding: 3px; border: 1px solid var(--line); background: transparent; }
.cart-mode .segmented-control.cart-mode-switch button { min-height: 36px; padding: 0 10px 0 8px; gap: 6px; font-size: .8rem; font-weight: 650; }
.cart-mode .segmented-control.cart-mode-switch .shop-icon { width: 16px; height: 16px; margin: 0; }
.cart-mode > .cart-mode-wait { margin-left: auto; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.cart-mode > .cart-mode-wait::before { content: none; }
.cart-mode-now { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); font-size: .8rem; line-height: 1.3; }
.cart-mode-now[hidden], .cart-mode-wait[hidden] { display: none; }
.cart-mode-now strong { color: var(--ink); font-weight: 600; }
.cart-mode-now .shop-icon { width: 16px; height: 16px; color: var(--ink); }
.cart-mode-wait::before { content: "·"; margin-right: 8px; }
.cart-total { padding: 18px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: .88rem; }
.cart-total:has(+ .cart-fee:not([hidden])) { padding-bottom: 6px; }
.cart-fee { padding: 0 0 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.cart-hint { margin: -4px 0 16px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) calc(var(--wash, 1) * 14%), transparent); color: var(--ink); font-size: .8rem; line-height: 1.45; }
.cart-fee[hidden], .cart-hint[hidden], .cart-footnote[hidden] { display: none; }
.cart-total strong { font-variant-numeric: tabular-nums; }
.checkout-button { width: 100%; justify-content: center; gap: 8px; background: var(--brand); color: #fff; }
.checkout-button .shop-icon { width: 18px; height: 18px; transition: transform .15s ease; }
.checkout-button:not(.disabled):hover .shop-icon { transform: translateX(3px); }
.cart-footnote { margin: 12px 8px 0; color: var(--muted); font-size: .68rem; line-height: 1.5; text-align: center; }
.food-notice { margin-top: 60px; padding: 28px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--brand) calc(var(--wash, 1) * 7%), transparent); }
.food-notice h2 { margin: 0 0 8px; font: 500 1.2rem Georgia, serif; }
.food-notice p { margin: 0; color: color-mix(in srgb, var(--wash-muted, var(--muted)) 82%, var(--ink)); font-size: .75rem; line-height: 1.55; }
.restaurant-footer { padding: 40px max(24px, calc((100% - 1320px) / 2)); background: var(--brand); color: #fff; display: flex; justify-content: space-between; gap: 30px; }
.restaurant-footer div { display: grid; gap: 5px; font-size: .75rem; }
.restaurant-footer div span { color: var(--on-brand-muted, rgba(255,255,255,.62)); }
.restaurant-footer nav { display: flex; gap: 20px; font-size: .72rem; }
.restaurant-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.restaurant-footer .language-link { align-self: center; font-size: .72rem; }
/* The way back to the restaurant's website (D-284), first in the footer. */
.restaurant-footer .footer-site { font-weight: 700; }
.restaurant-footer .language-link .shop-icon { width: 14px; height: 14px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 340px; padding: 13px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .76rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

/* Checkout and forms */
.checkout-page { background: #f5f2eb; }
.checkout-shell { min-height: 100vh; }
/* As wide as the form and the overview below, so the back link and the form start on one line (Durchlauf 2026-11-25). */
.checkout-nav { height: 78px; width: min(1120px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); font-size: .75rem; }
.checkout-nav a { text-decoration: none; }
.checkout-nav strong { font-family: Georgia, serif; font-size: 1rem; }
.checkout-secure { justify-self: end; color: var(--muted); }
/* Language (D-153): one quiet link to the other language at the foot of the page, never a bar or a menu. */
.language-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: inherit; font-size: .875rem; font-weight: 500; text-decoration: none; }
.language-link .shop-icon { width: 16px; height: 16px; flex: none; }
.language-link span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) { .language-link:hover span { text-decoration-thickness: 2px; } }
.page-language { display: flex; justify-content: center; padding: 0 16px 24px; color: var(--muted, #5c5c55); }
.message-card-head { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 1rem; }
/* Restaurant name above the status and payment pages: plain case, like the title of the tip box. */
.message-card-head .eyebrow { margin: 0; color: var(--ink); font-size: .95rem; font-weight: 650; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.checkout-grid { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 60px 0 100px; display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 70px; align-items: start; }
.checkout-form section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.checkout-form h1, .checkout-form h2 { margin: 0 0 26px; font: 500 2rem/1.05 Georgia, serif; letter-spacing: -.035em; }
.step-label { margin: 0 0 8px; color: #9a4f27; font-size: .82rem; font-weight: 650; letter-spacing: 0; }
/* The checkout steps number themselves: a hidden step (the delivery address for pickup) leaves no gap. */
.checkout-form { counter-reset: checkout-step; }
.checkout-form .step-label::before { counter-increment: checkout-step; content: counter(checkout-step, decimal-leading-zero) " · "; }
/*
 * Choice tiles in the checkout (order type, payment) follow the tip box (D-135, Eigentümer
 * 2026-11-14 „so muss das überall sein“): equal-width tiles, symbol, name and one short line,
 * centred; the chosen tile fills in the selection colour. The radio stays in the tile for
 * keyboard and screen readers but is invisible. --pick/--pick-on/--pick-surface carry the
 * selection colours: the brand on light shops, the accent on dark shops and design concepts.
 */
:root { --pick: var(--brand); --pick-on: #fff; --pick-surface: var(--white); }
.choice-grid, .payment-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-choice label:nth-child(3):last-child { grid-column: 1 / -1; }
.choice-grid label, .payment-choice label { position: relative; display: grid; cursor: pointer; }
.choice-grid input, .payment-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
/* Content from the top: two cards side by side keep icon and name on one line even when one name wraps (Durchlauf 2026-11-25). */
.checkout-form :is(.choice-grid, .payment-choice) label > span { font-size: 1rem; font-weight: 400; display: grid; justify-items: center; align-content: start; gap: 3px; min-height: 92px; padding: 14px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--pick-surface); color: var(--ink); text-align: center; transition: border-color .15s, background-color .15s, color .15s, transform .1s; }
.choice-grid .shop-icon, .payment-choice .shop-icon { width: 24px; height: 24px; margin-bottom: 3px; color: var(--pick); transition: color .15s; }
.choice-grid strong, .payment-choice strong { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.choice-grid small, .payment-choice small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.choice-grid label:hover > span, .payment-choice label:hover > span { border-color: color-mix(in srgb, var(--pick) 55%, var(--line)); }
.choice-grid label:active > span, .payment-choice label:active > span { transform: translateY(1px); }
.choice-grid input:checked + span, .payment-choice input:checked + span { border-color: var(--pick); background: var(--pick); color: var(--pick-on); }
.choice-grid input:checked + span :is(small, .shop-icon), .payment-choice input:checked + span :is(small, .shop-icon) { color: inherit; }
/* Only one way left (one service, or pay at pickup): the card shows the answer with an outline instead of a big filled
   button with nothing beside it, which read like the main action (Durchlauf 2026-11-25). */
.checkout-form :is(.choice-grid, .payment-choice):not(:has(label:not([hidden]) ~ label:not([hidden]))) input:checked + span { border-color: var(--pick); background: var(--pick-surface); color: var(--ink); }
.checkout-form :is(.choice-grid, .payment-choice):not(:has(label:not([hidden]) ~ label:not([hidden]))) input:checked + span small { color: var(--muted); }
.checkout-form :is(.choice-grid, .payment-choice):not(:has(label:not([hidden]) ~ label:not([hidden]))) input:checked + span .shop-icon { color: var(--pick); }
.choice-grid input:focus-visible + span, .payment-choice input:focus-visible + span { outline: 2px solid var(--pick); outline-offset: 3px; }
.payment-choice label.muted { opacity: .5; cursor: not-allowed; }
.payment-choice label[hidden] { display: none; }
/* Time slots (D-083, D-176) in the classic shop too; the designs bring their own in order-themes.css. Chips like the
   order-type tiles: chosen in the selection colour. */
body:not(.theme-order) .slot-picker { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
body:not(.theme-order) .slot-picker[hidden], body:not(.theme-order) .slot-select[hidden], body:not(.theme-order) .slot-chips[hidden] { display: none; }
body:not(.theme-order) .slot-picker legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
/* The 2px padding leaves room for the focus ring; the negative margin puts the first chip back on the fields' line (Durchlauf 2026-11-25). */
body:not(.theme-order) .slot-chips { display: flex; gap: 8px; overflow-x: auto; margin-inline: -2px; padding: 2px 2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 2px; }
body:not(.theme-order) .slot-chips::-webkit-scrollbar { display: none; }
body:not(.theme-order) .slot-chip { position: relative; flex: none; scroll-snap-align: start; cursor: pointer; }
body:not(.theme-order) .slot-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
body:not(.theme-order) .slot-chip span { display: grid; align-content: center; min-height: 52px; padding: 6px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--pick-surface); color: var(--ink); white-space: nowrap; }
/* An explicit weight: "bolder" on the label's 650 asked for 900, which phones draw as a black or synthetic bold (Durchlauf 2026-11-25). */
body:not(.theme-order) .slot-chip b { font-size: .95rem; font-weight: 700; }
body:not(.theme-order) .slot-chip small { font-size: .74rem; color: var(--muted); }
body:not(.theme-order) .slot-chip input:checked + span { background: var(--pick); border-color: var(--pick); color: var(--pick-on); }
body:not(.theme-order) .slot-chip input:checked + span small { color: inherit; }
body:not(.theme-order) .slot-chip input:focus-visible + span { outline: 2px solid var(--pick); outline-offset: 3px; }
body:not(.theme-order) .slot-select .fblock .fcell > select { font-weight: 600; }
/* Pickup: one handover tile, full width (checkout.js). */
.payment-choice.one-handover label:not(.payment-online):not([hidden]) { grid-column: 1 / -1; }
/* Online first and large, payment at handover small below it (Eigentümer 2026-11-15). */
.payment-choice.with-online label:nth-child(3):last-child { grid-column: auto; }
.payment-choice.with-online .payment-online, .payment-choice.with-online label:nth-child(2):last-child { grid-column: 1 / -1; }
/* Card and PayPal (D-230): both large, one above the other; a single handover tile below them takes the full width. */
.payment-choice.with-online .payment-online + .payment-online + label:last-child { grid-column: 1 / -1; }
.checkout-form .payment-choice.with-online .payment-online > span { grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 2px; min-height: 76px; padding: 14px 18px; text-align: left; }
.payment-choice.with-online .payment-online .shop-icon { grid-row: 1 / 3; align-self: center; width: 28px; height: 28px; margin: 0; }
.checkout-form .payment-choice.with-online .payment-online strong { font-size: 1.08rem; }
/* The handover tiles below are the large ones made smaller (D-256): icon left, name and "Bei Übergabe" beside it. */
/* The icon column is as wide as the large tiles' (28 px), so every text below online payment starts on one line (D-259). */
.checkout-form .payment-choice.with-online .payment-handover > span { grid-template-columns: 28px minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 1px; min-height: 64px; padding: 11px 14px 11px 18px; text-align: left; }
.payment-choice.with-online .payment-handover .shop-icon { grid-row: 1 / 3; align-self: center; justify-self: center; width: 22px; height: 22px; margin: 0; }
.checkout-form .payment-choice.with-online .payment-handover strong { font-size: .95rem; }
/* Trinkgeld (D-139): a friendly box, percent big with the euro amount below, nothing preselected. */
.tip-picker { --tip-acc: var(--brand); --tip-on: #fff; --tip-ink: var(--ink, #1d1d1b); --tip-surface: var(--paper, #fff); margin: 22px 0 0; padding: 18px; border: 1px solid var(--fb-border); border-radius: calc(var(--radius-sm) + 6px); background: transparent; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
/* A column, not a grid: the own amount and the thanks come and go softly (fold.js reveal, D-256), and only a column gives their gap back while they shrink. */
.tip-picker[hidden], .tip-custom[hidden], .tip-thanks[hidden] { display: none; }
.tip-head { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 6px; }
.tip-head + * { clear: both; }
.tip-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--tip-acc) 14%, var(--tip-surface)); color: var(--tip-acc); }
.tip-icon svg { width: 20px; height: 20px; }
.tip-head > span:last-child { display: grid; gap: 2px; }
.tip-head b { font-size: 1rem; }
.tip-head small { color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.35; }
.tip-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tip-options-plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tip-option { position: relative; cursor: pointer; }
.tip-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tip-option > span { display: grid; place-items: center; align-content: center; gap: 2px; min-height: 64px; padding: 8px 6px; border: 1px solid var(--fb-border); border-radius: var(--radius-sm); background: var(--fb-bg); color: var(--tip-ink); text-align: center; font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s, transform .1s; }
.tip-option b { font-size: 1.15rem; font-weight: 700; }
.tip-option small { min-height: 1.1em; color: var(--muted); font-size: .8rem; }
.tip-options-plain .tip-option > span { min-height: 48px; }
.tip-options-plain .tip-option b { font-size: .9rem; font-weight: 600; }
.tip-option:hover > span { border-color: color-mix(in srgb, var(--tip-acc) 55%, var(--line)); }
.tip-option:active > span { transform: translateY(1px); }
.tip-option input:checked + span { border-color: var(--tip-acc); background: var(--tip-acc); color: var(--tip-on); }
.tip-option input:checked + span small { color: inherit; }
.tip-picker.tipped .tip-icon { background: var(--tip-acc); color: var(--tip-on); }
.tip-picker.tipped .tip-icon svg { fill: currentColor; }
.tip-icon svg { transition: transform .2s; }
.tip-picker.tipped .tip-icon svg { transform: scale(1.1); }
.tip-option input:focus-visible + span { outline: 2px solid var(--tip-acc); outline-offset: 3px; }
.tip-thanks { margin: 2px 0 0; color: var(--tip-acc); font-size: .85rem; font-weight: 600; }
/* One sentence under the payment tiles, only while online payment is chosen. */
.payment-note { margin: 10px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.payment-choice:has(:is(input[value="handover"], input[value="card"]):checked) + .payment-note { display: none; }
/* Delivery conditions in the soft box of the tip picker. */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field-grid label, .checkout-form > section > label, .auth-card label { display: grid; gap: 8px; }
.field-grid label > span, .checkout-form label > span, .auth-card label > span { font-size: .68rem; font-weight: 750; }
.checkout-form label > span, .checkout-form .field-grid label > span { font-size: .8rem; font-weight: 650; }
.checkout-form section:last-of-type { margin-bottom: 0; padding-bottom: 8px; border-bottom: 0; }
/* Address as on an envelope: street and number, then postcode and town. */
.checkout-form #note-privacy { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.checkout-form .check-line { margin-left: 0; }
/* Error and status lines take no room until they have something to say (Eigentümer 2026-11-15). */
.checkout-form > :is(.form-error, .form-status):empty { display: none; }
label.wide { grid-column: 1 / -1; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.65); padding: 12px 13px; color: var(--ink); transition: border-color .12s; }
/* Fields (D-144): a hairline shadow lifts them off the page, like the tiles. */
:where(input:not([type=checkbox], [type=radio], [type=hidden]), textarea, select) { box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
:is(.checkout-form, .dish-dialog) :is(input:not([type=checkbox], [type=radio]), textarea, select):hover:not(:focus, :disabled) { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--brand) 14%, transparent); }
.check-line { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.check-line[hidden] { display: none !important; }
/* margin 0 left and right: the browser's own 4px pushed the box off the line the fields start on (Durchlauf 2026-11-25). */
.check-line input { width: 22px; height: 22px; flex: 0 0 22px; margin: -2px 0 0; }
/* The two options read as choices, not as grey headings: normal weight in the text colour (Durchlauf 2026-11-25). */
.checkout-form .check-line:is(.checkout-business, .checkout-remember) > span { color: var(--ink); font-size: .86rem; font-weight: 500; }
/* Checkbox im Stil der Felder (Eigentümer 2026-11-17): Fläche und Rand wie der Feld-Baustein, angehakt in der
   Akzentfarbe des Designs (ohne Design: Textfarbe), nie ein graues Systemkästchen. */
.check-line input[type="checkbox"] { -webkit-appearance: none; appearance: none; display: grid; place-items: center; box-sizing: border-box; padding: 0; border: 1.5px solid var(--fb-border); border-radius: 6px; background: var(--fb-bg); box-shadow: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.check-line input[type="checkbox"]::after { content: ""; width: 12px; height: 12px; background: var(--check-on, var(--paper)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat; transform: scale(0); transition: transform .15s ease; }
.check-line input[type="checkbox"]:checked { border-color: var(--check, var(--ink)); background: var(--check, var(--ink)); }
.check-line input[type="checkbox"]:checked::after { transform: scale(1); }
.check-line input[type="checkbox"]:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 2px; }
.check-line input[type="checkbox"][aria-invalid="true"] { border-color: var(--fb-error); }
body.brand-dark { --check-on: var(--brand); }
body.theme-order { --check: var(--accent); --check-on: var(--accent-contrast); }
@media (prefers-reduced-motion: reduce) { .check-line input[type="checkbox"], .check-line input[type="checkbox"]::after { transition: none; } }
.checkout-form .field-error { display: block; margin: 0; color: var(--fb-error, #b42318); font-size: .78rem; font-weight: 600; }
.summary-consent .field-error { display: block; margin: 4px 0 0; color: var(--fb-error, #b42318); font-size: .78rem; font-weight: 600; }
.checkout-form [aria-invalid="true"] { border-color: #b42318; }
.checkout-summary { position: sticky; top: 30px; padding: 28px; border-radius: var(--radius-lg); background: #fffefa; box-shadow: 0 18px 55px rgba(30,34,29,.09); }
.checkout-summary [data-checkout-lines] { margin: 10px 0 20px; }
.summary-title { margin: 0 0 4px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.summary-item { padding: 12px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.summary-item > div > .summary-name { font-weight: 600; }
/* A dish name of one long word ("Hähnchenbrustfiletstreifenpfanne") wraps in the overview; it never widens the checkout. */
.summary-item > div { min-width: 0; }
.summary-item > strong { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-item small { display: block; margin-top: 4px; color: var(--muted); font-size: .62rem; line-height: 1.45; }
.summary-item .summary-note { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; line-height: 1.4; overflow-wrap: anywhere; }
.summary-quantity { width: max-content; margin-top: 8px; display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.summary-quantity button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.summary-quantity button:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.summary-quantity .shop-icon { width: 16px; height: 16px; }
.summary-quantity output { min-width: 22px; text-align: center; font-size: .85rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.checkout-total-bar { display: none; }
.summary-quantity button:disabled { opacity: .45; cursor: default; }
.summary-row { padding: 11px 0; display: flex; justify-content: space-between; font-size: .78rem; }
/* Promo code (D-179): a quiet line that opens into a field; a redeemed code is a summary row of its own. */
.promo[hidden], .promo-applied[hidden] { display: none; }
.promo-open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .78rem; cursor: pointer; }
.promo-open span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.promo-open svg { width: 15px; height: 15px; flex: none; transition: transform .2s ease; }
.promo-open[aria-expanded="true"] svg { transform: rotate(45deg); }
.promo-open:hover { color: var(--ink); }
.promo-entry { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.promo-entry.open { grid-template-rows: 1fr; }
.promo-entry > div { min-height: 0; overflow: hidden; }
.promo-note { min-height: 1.3em; margin: 6px 2px 8px; color: var(--danger, #a63a2a); font-size: .72rem; line-height: 1.3; }
.promo-applied > span { min-width: 0; }
.promo-applied small { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; font-weight: 400; }
.promo-applied small button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.promo-applied strong { white-space: nowrap; }
/* Under the code's minimum (D-261): what is missing, quieter than a discount. */
.promo-applied strong.promo-missing { color: var(--muted); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .promo-entry, .promo-open svg { transition: none; } }
.summary-row.total { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1rem; }
/* Large total beside small text sits on one baseline (D-260, rule 40): "Gesamt" no longer floats above the amount in Salon, Express and Werkstatt. */
.summary-row.total { align-items: baseline; }
/* Order terms (and the age, with alcohol) right above the button (Eigentümer 2026-11-17): seen with the total, also on phones. */
.summary-consent { margin-top: 18px; display: grid; gap: 12px; }
.summary-consent .check-line { margin-top: 0; font-size: .74rem; }
.summary-consent .check-line a { color: inherit; }
.place-order { width: 100%; margin-top: 18px; }
/* Paused (D-259): the button is off and says from when; quiet but readable, in every design. */
.checkout-summary .place-order[data-intake-paused]:disabled { opacity: 1; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--muted); box-shadow: none; filter: none; }
/* A dish in the overview: name and price; tapping the name shows its allergens in plain words. */
.summary-name { display: inline-flex; align-items: flex-start; gap: 6px; line-height: 1.35; max-width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
span.summary-name { display: inline; cursor: auto; }
.summary-name .shop-icon { flex: none; margin-top: calc((1.35em - 15px) / 2); width: 15px; height: 15px; color: var(--muted); transition: color .15s ease; }
.summary-name[aria-expanded="true"] .shop-icon { color: var(--ink); }
@media (hover: hover) { button.summary-name:hover .shop-icon { color: var(--ink); } }
.summary-name:focus { outline: none; }
.summary-name:focus-visible { outline: 2px solid var(--fb-focus, var(--ink)); outline-offset: 3px; border-radius: 4px; }
.summary-item small.summary-labels { margin-top: 4px; font-size: .74rem; line-height: 1.45; }
.summary-item small.summary-labels[hidden] { display: none; }
.checkout-summary > small { display: block; margin: 12px 4px 0; color: var(--muted); font-size: .62rem; line-height: 1.45; text-align: center; }
.form-error { min-height: 18px; margin: 8px 0; color: var(--danger); font-size: .72rem; line-height: 1.4; }
.form-status { min-height: 18px; margin: 8px 0; color: #2d694d; font-size: .72rem; line-height: 1.4; }

/* Authentication */
.message-page { background: radial-gradient(circle at 80% 10%, #eed1a4 0, transparent 34%), #f1ede3; }
.auth-card { width: min(470px, 100%); align-self: center; margin: 50px auto; padding: clamp(28px, 5vw, 46px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-lg); background: rgba(255,255,255,.74); box-shadow: 0 30px 80px rgba(45,43,35,.12); backdrop-filter: blur(20px); }
.auth-card h1 { margin: 0 0 10px; font: 500 2.6rem/1 Georgia, serif; letter-spacing: -.05em; }
.auth-card > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); font-size: .85rem; }
.auth-card form { display: grid; gap: 16px; }
.auth-card form > small { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.auth-card .button { margin-top: 5px; }
.message-card { width: min(560px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; padding: 10vh 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.message-card .wordmark { position: absolute; top: 32px; }
.message-card .eyebrow a { text-decoration: none; }
.message-card .eyebrow a:hover { text-decoration: underline; }
.message-card h1 { margin: 0; font: 500 3rem/1 Georgia, serif; letter-spacing: -.05em; }
.message-card > p:not(.eyebrow) { max-width: 480px; margin: 18px 0 28px; color: var(--muted); line-height: 1.55; }
.order-status { width: min(620px, calc(100% - 48px)); }
/* Shop legal pages (/r/<slug>/impressum …): long text, so the card flows from the top instead of centring. */
.shop-legal { width: min(720px, calc(100% - 32px)); justify-content: flex-start; padding: 48px 0 64px; }
/* With line-height 1 the descenders (g, p) hang below the line box: 18px keeps them off the first rule (Durchlauf 2026-11-25). */
.shop-legal h1 { margin-bottom: 18px; }
.shop-legal-section { width: 100%; padding: 18px 0; border-top: 1px solid var(--line, #d1d3cd); }
.shop-legal-section h2 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.shop-legal-section p, .shop-legal-section address { margin: 0 0 10px; color: var(--muted); font-style: normal; line-height: 1.6; }
.shop-legal-section a, .shop-legal-links a { color: var(--ink); text-underline-offset: 3px; }
.shop-legal-note, .shop-legal-date { color: var(--muted); font-size: .85rem; }
.shop-legal-date { font-weight: 700; }
.shop-legal-links { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
/* The two other pages wrap together, never one beside the button and one alone below it (Durchlauf 2026-11-25). */
.shop-legal-other { display: inline-flex; flex-wrap: wrap; gap: 12px 20px; }
/* Steps sit in the soft box of the tip picker (D-135), the order card below on the plain surface. */
/* Same inner edge as the order card below: the circles start where its text starts, the halo stays inside (Durchlauf 2026-11-25). */
.order-status ol { width: 100%; box-sizing: border-box; margin: 4px 0 20px; padding: 12px 22px; list-style: none; display: grid; border: 1px solid color-mix(in srgb, var(--pick) 18%, transparent); border-radius: var(--radius-md); background: color-mix(in srgb, var(--pick) 5%, var(--pick-surface)); }
.order-status ol > li { min-height: 54px; display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: center; color: #9a9d98; position: relative; }
.order-status ol > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: -14px; width: 1px; background: #d1d3cd; }
.order-status ol > li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #c7cac4; border-radius: 50%; background: #f1eee6; font-size: .68rem; z-index: 1; }
.order-status ol > li strong { font-size: .78rem; }
.order-status ol > li.done, .order-status ol > li.current { color: var(--ink); }
.order-status ol > li.done > span { background: #cae5d5; border-color: #70a786; color: #24583b; }
.order-status ol > li.current > span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(24,56,47,.1); }
.order-status > small { margin-top: 18px; color: var(--muted); }
.order-status ol > li strong { font-size: .86rem; }
/* The current step breathes softly, so the page reads as live; a step just reached arrives once:
   its dot pops and the line from the step before draws down to it. Off with "Bewegung reduzieren". */
@media (prefers-reduced-motion: no-preference) {
  .order-status ol > li.current > span { animation: step-live 2.6s ease-in-out infinite; }
  .order-status ol.advanced > li.current > span { animation: step-arrive .5s cubic-bezier(.3, 1.5, .5, 1) both, step-live 2.6s ease-in-out .6s infinite; }
  .order-status ol.advanced > li.done:has(+ li.current)::after { transform-origin: top; animation: step-line .45s cubic-bezier(.2, .7, .2, 1) both; }
  .order-status ol.advanced > li.current strong { animation: fade-in .4s ease .15s both; }
}
@keyframes step-live { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 6%, transparent); } }
@keyframes step-arrive { from { transform: scale(.5); opacity: 0; } }
@keyframes step-line { from { transform: scaleY(0); } }
.order-status > p.status-contact { margin: -8px 0 24px; font-size: .85rem; }
/* Order card on the status page (D-083). */
.status-order { width: 100%; box-sizing: border-box; margin: 0 0 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--pick-surface); }
.status-order h2 { margin: 0 0 14px; font-size: 1rem; }
.status-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.status-lines li, .status-sums div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .9rem; line-height: 1.4; }
.status-lines li > span:last-child, .status-sums dd { white-space: nowrap; }
.status-lines small { display: block; color: var(--muted); font-size: .78rem; }
.status-sums, .status-facts { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.status-sums dd { margin: 0; text-align: right; }
.status-sums .total { font-size: 1.05rem; font-weight: 750; }
/* Payment, address and time read the same way: the label on top, the value below, all on one left edge;
   a long address simply wraps. */
.status-facts { gap: 12px; }
.status-facts div { display: grid; gap: 2px; font-size: .9rem; line-height: 1.4; }
.status-facts dt { color: var(--muted); font-size: .8rem; }
.status-facts dd { margin: 0; overflow-wrap: break-word; }
.status-call { width: 100%; box-sizing: border-box; margin-top: 18px; justify-content: center; text-align: center; }
/* Payment page (D-215): the order in a folded card, wallet buttons on top, the card form closed until
   picked, one button with the amount. The Stripe fields take the page's colours (stripe-pay.js). */
.pay-page .message-card { width: min(520px, calc(100% - 32px)); justify-content: flex-start; padding: 32px 0 48px; }
.pay-page .message-card-head { justify-content: flex-start; margin-bottom: .25rem; }
.pay-back { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.pay-back:hover { text-decoration: underline; }
.message-card > p.pay-change { margin: 4px 0 0; text-align: center; }
.pay-change a { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pay-page .message-card h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
.pay-page .message-card > p.pay-lead { margin: 12px 0 20px; }
.pay-summary { margin-bottom: 20px; padding: 0 18px; }
.pay-summary > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-size: .95rem; }
.pay-summary > summary::-webkit-details-marker { display: none; }
.pay-summary > summary span { display: inline-flex; align-items: center; gap: 8px; }
.pay-summary > summary span::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.pay-summary[open]:not([data-closing]) > summary span::after { transform: translateY(1px) rotate(-135deg); }
.pay-summary > summary strong { font-size: 1.05rem; }
.pay-summary[open] { padding-bottom: 16px; }
.pay-summary .status-sums small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.pay-form { width: 100%; display: grid; gap: 14px; }
.pay-express:empty { display: none; }
.pay-or { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; }
.pay-or[hidden] { display: none; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-element { min-height: 58px; }
.pay-loading { height: 58px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--line) 50%, transparent), transparent) 0 0 / 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .pay-loading { animation: pay-shimmer 1.4s linear infinite; } }
@keyframes pay-shimmer { to { background-position: -200% 0; } }
.pay-form .form-error:empty { display: none; }
.pay-submit { width: 100%; min-height: 52px; justify-content: center; font-size: 1.02rem; }
.pay-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .85rem; text-align: center; }
.message-card > p.pay-trust { max-width: none; margin: 18px 0 0; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.pay-trust svg { flex: none; margin-top: 2px; }
/* Status page while the payment is confirmed: a quiet bar instead of the order steps. */
.message-card > p.pay-wait { max-width: none; width: 100%; height: 4px; margin: 0 0 24px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--brand) 15%, transparent); }
.pay-wait span { display: block; width: 35%; height: 100%; border-radius: inherit; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) { .pay-wait span { animation: pay-wait 1.2s ease-in-out infinite alternate; } }
@keyframes pay-wait { from { transform: translateX(0); } to { transform: translateX(185%); } }

/* Operator */
.operator-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px 22px; background: #18241f; color: white; display: flex; flex-direction: column; }
.operator-sidebar nav { margin: 70px 0 0; display: grid; gap: 4px; }
.operator-sidebar nav a { padding: 12px 14px; border-radius: 10px; color: rgba(255,255,255,.58); text-decoration: none; font-size: .76rem; font-weight: 700; }
.operator-sidebar nav a.active, .operator-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.order-board { padding: 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.56); }
.order-number { font-size: .72rem; font-weight: 820; }
.support-access { margin-top: 24px; }
.support-access-list { margin: 0; padding: 0; list-style: none; }
.support-access-list li { padding: 14px 0; display: grid; gap: 3px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.support-access-list small { color: var(--muted); font-size: .72rem; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state h2, .empty-state h3 { margin: 0 0 7px; color: var(--ink); font: 500 1.5rem Georgia, serif; }

/* Small laptops: a narrower basket leaves the menu room for photo rows and four "Beliebt" cards. */
@media (min-width: 981px) and (max-width: 1199px) {
  .storefront-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

.bottom-tint { display: none; }
@media (max-width: 980px) {
                .storefront-layout { grid-template-columns: 1fr; gap: 0; }
  /* Phones and tablets (D-094): the basket is a bar (count, "Warenkorb ansehen", subtotal) that opens a sheet with
     the lines, the subtotal and "Weiter zur Kasse". An empty basket shows no bar (D-091). */
  body.storefront-page .cart-panel { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); z-index: 30; margin: 0; padding: 0; border: 0; border-radius: 16px; background: transparent; box-shadow: none; }
  .storefront-page .cart-panel[data-empty="true"] { display: none; }
  .cart-bar { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 0; border-radius: 16px; background: var(--brand); color: #fff; font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer; box-shadow: 0 14px 34px rgb(0 0 0 / .24); animation: bar-in .32s cubic-bezier(.2, .8, .2, 1); }
  .cart-bar-count { box-sizing: border-box; min-width: 44px; height: 44px; padding: 0 8px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / .18); font-variant-numeric: tabular-nums; }
  .cart-bar-label { flex: 1; text-align: left; }
  .cart-bar-total { font-variant-numeric: tabular-nums; }
  .cart-bar.bump { animation: bar-bump .4s cubic-bezier(.3, 1.5, .5, 1); }
  .cart-bar.bump .cart-bar-count { animation: badge-pop .4s cubic-bezier(.3, 1.5, .5, 1); }
  @keyframes bar-in { from { opacity: 0; transform: translateY(24px); } }
  @keyframes bar-bump { 40% { transform: scale(1.025); } }
  .cart-sheet { display: none; }
  body.storefront-page .cart-panel[data-open="true"] { inset: auto 0 0; border-radius: 0; }
  .cart-panel[data-open="true"] .cart-bar { display: none; }
  .cart-panel[data-open="true"] .cart-sheet { box-sizing: border-box; max-height: min(85vh, 720px); width: min(100%, 640px); margin: 0 auto; padding: 20px 20px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; border-radius: 20px 20px 0 0; background: #fffefa; color: var(--ink); box-shadow: 0 -12px 40px rgb(0 0 0 / .22); animation: sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .cart-sheet .cart-lines { flex: 1 1 auto; min-height: 0; max-height: none; overscroll-behavior: none; }
  .cart-panel[data-open="true"] .cart-sheet { position: relative; }
  .cart-panel[data-open="true"] .cart-sheet::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: color-mix(in srgb, currentColor 22%, transparent); pointer-events: none; }
  .cart-close { width: 40px; height: 40px; margin: -6px -6px -6px 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, transparent); color: inherit; cursor: pointer; }
  .cart-line-controls button { width: 40px; height: 40px; }
  /* A soft fade in the page colour behind the floating bar, so dishes do not peek out beside it. */
  body.storefront-page .cart-panel:not([data-empty="true"]):not([data-open="true"])::before, .checkout-total-bar::before { content: ""; position: fixed; inset: auto 0 0; z-index: -1; height: calc(96px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--paper) 55%); pointer-events: none; }
  /* Safari on iPhone (iOS 26) tints its bar after the fixed element at the bottom edge of the page. A pseudo
     element of the bar did not do it on a real iPhone (Eigentümer 2026-11-15, the area stayed orange), so a
     real element in the page colour sits at that edge, under the floating bar and above everything else. */
  .bottom-tint { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; height: calc(8px + env(safe-area-inset-bottom)); background-color: var(--paper); }
  html.sheet-open .bottom-tint, body:has(.dish-dialog[open]) .bottom-tint { display: none; }
  .cart-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 29; background: rgb(10 14 12 / .5); animation: fade-in .2s ease; }
  /* Closing, by the X, the veil or Escape, is the mirror of opening, like the dish sheet (storefront.js, D-250). */
  .cart-panel[data-open="true"].closing { pointer-events: none; }
  .cart-panel[data-open="true"].closing .cart-sheet { animation: sheet-down .2s ease-in forwards; }
  .cart-backdrop.closing:not([hidden]) { animation: fade-out .2s ease-in forwards; }
  html.sheet-open { overflow: hidden; }
  .storefront-page .toast { right: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translate(50%, 12px); }
  .storefront-page .toast.visible { transform: translate(50%, 0); }
  .storefront-page .restaurant-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  /* Room for the basket bar only while there is one: an empty basket shows no bar (Durchlauf 2026-11-25). */
  .storefront-page:has(.cart-panel[data-empty="true"]) .restaurant-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .featured-track { grid-auto-columns: calc((100% - 24px) / 3); }
  .menu-content { padding-bottom: 100px; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  /* Phone and tablet (D-083): the overview and the order button follow the form, where the guest finishes. */
  .checkout-summary { position: static; scroll-margin-top: 16px; }
  .checkout-total-bar { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; color: var(--ink); box-shadow: 0 14px 34px rgb(0 0 0 / .16); transition: transform .25s ease, opacity .25s ease; }
  .checkout-total-bar.away { opacity: 0; transform: translateY(16px); pointer-events: none; }
  /* While the keyboard is up (a field has focus) the bar would ride up with it and cover the form. */
  body:has(:is(input:not([type="radio"], [type="checkbox"]), textarea, select):focus) :is(.checkout-total-bar, .cart-panel:not([data-open="true"])) { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .checkout-total-bar p { flex: 1; margin: 0; display: grid; }
  .checkout-total-bar small { color: var(--muted); font-size: .72rem; }
  .checkout-total-bar strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
  .checkout-total-bar .button { min-height: 48px; white-space: nowrap; padding-inline: 18px; }
  .checkout-grid { padding-bottom: 110px; }
    .operator-sidebar { padding: 24px 12px; align-items: center; }
  .operator-sidebar nav a { width: 48px; overflow: hidden; white-space: nowrap; color: transparent; padding: 12px; }
  .operator-sidebar nav a::first-letter { color: white; }
          }

@media (max-width: 700px) {
  .platform-nav, .restaurant-nav, .hero-content, .order-mode-bar, .storefront-layout, .checkout-nav, .checkout-grid { width: min(100% - 30px, 1320px); }
        .platform-actions { align-items: stretch; flex-direction: column; }
      /* Phones: the first dishes come into view sooner; without a photo the head is only as tall as its text. */
  .restaurant-hero { min-height: 300px; }
  /* Beside a logo the status is one word on phones (Eigentümer 2026-11-20); when it opens stands beside the order type. */
  .restaurant-nav:has(.restaurant-brand) .shop-status [data-status-fact] { display: none; }
  .storefront:has(.restaurant-nav .restaurant-brand) .closed-opens:not(:empty) { display: inline; }
  .storefront:has(.restaurant-nav .restaurant-brand) .closed-line:has(.closed-opens:not(:empty)) [data-closed-label] { display: none; }
  .storefront:has(.restaurant-nav .restaurant-brand) .paused-again { display: inline; }
  .storefront:has(.restaurant-nav .restaurant-brand) .paused-line:has(.paused-again) .mode-now > strong:not(.paused-again) { display: none; }
  .restaurant-hero:not(:has(.restaurant-hero-image)) { min-height: 0; }
  .hero-content { padding: 56px 0 32px; }
  /* Long restaurant names (also in the design concepts) break into two calm lines instead of four huge ones. */
  .hero-content h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); line-height: 1.05; hyphens: auto; overflow-wrap: break-word; }
  /* Its line runs to the screen edge like the category bar's below it (Eigentümer 2026-11-20, D-254): one band, two lines. */
  .order-mode-bar { position: relative; padding: 14px 0; align-items: stretch; flex-direction: column; gap: 12px; border-bottom: 0; }
  .order-mode-bar::after { content: ""; position: absolute; inset: auto -15px 0; height: 1px; background: var(--line); }
  .order-mode-controls { justify-content: space-between; }
  .order-mode-controls .segmented-control button { padding-inline: 16px; }
  /* Phones: the time and the phone on one line, no leading dot. The pickup address stands in the head right above, so
     switching to Abholung no longer adds a second line that pushed the menu down (D-256). */
  .mode-info { font-size: .82rem; }
  .mode-detail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .mode-detail[data-mode-detail] .mode-facts { display: none; }
  .mode-facts { display: block; grid-column: 1 / -1; grid-row: 2; padding-left: 12px; }
  .mode-detail :is(.mode-facts > span:first-child, .mode-phone)::before { display: none; }
  .mode-phone { grid-row: 1; grid-column: 2; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .menu-item { gap: 14px; }
  .storefront-page { --dish-photo: 88px; }
  .menu-section > header:has(.section-number) { column-gap: 10px; }
  .section-number { font-size: 1rem; }
  .menu-section { padding-top: 36px; }
  /* Phone: dishes as rows divided by a line, so more of the menu fits on one screen. */
  .storefront-page:not(.theme-order) .menu-item { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .storefront-page:not(.theme-order) .menu-grid .menu-item:first-child { border-top: 1px solid var(--line); }
  .menu-item:has(.dish-open:focus-visible) { border-radius: 12px; outline-offset: 0; }
  .category-nav { --nav-gap: 22px; margin-inline: -15px; padding-inline: 15px; scroll-padding-inline: 15px; }
  .category-nav::after { right: -15px; }
  .category-nav::before { left: -15px; }
  /* The magnifier's own background reaches over the 15 px edge of the bar, so categories scrolling under it do not peek
     out to its left. One surface, not a shadow beside it: where the two met, a scaled preview showed a hairline. */
  .category-search { left: -15px; margin-left: -15px; padding-left: 15px; margin-right: -22px; }
  /* Three columns on phones: "Hausnummer" fits its column instead of running past the edge. */
              .dish-dialog { width: 100%; max-width: none; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .dish-dialog[open] { animation: sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  .dish-dialog.closing { animation: sheet-down .2s ease-in forwards; }
  .dish-dialog-actions { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  /* A grip says the sheet can be swiped down (storefront.js swipeToClose). */
  .dish-dialog::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 2; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 22%, transparent); pointer-events: none; }
  .dish-dialog:has(> .dish-dialog-media:not([hidden]))::before { background: rgb(255 255 255 / .75); box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
  .featured-track { grid-auto-columns: 64%; margin-right: -15px; padding-right: 15px; }
  .restaurant-footer { flex-direction: column; }
  .restaurant-footer nav { flex-wrap: wrap; row-gap: 0; }
  .restaurant-footer .language-link { align-self: flex-start; }
  .checkout-nav { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .checkout-nav strong { min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .checkout-secure { display: none; }
  .checkout-grid { padding-top: 38px; gap: 34px; }
  .field-grid { grid-template-columns: 1fr; }
    .operator-sidebar { position: fixed; inset: auto 0 0; z-index: 30; width: 100%; height: 64px; padding: 8px 14px; flex-direction: row; justify-content: center; }
  .operator-sidebar > .wordmark { display: none; }
  .operator-sidebar nav { margin: 0; display: flex; gap: 1px; }
  .operator-sidebar nav a { width: auto; padding: 10px; color: rgba(255,255,255,.62); font-size: .58rem; }
  .operator-sidebar nav a::first-letter { color: inherit; }
                .order-board { padding: 14px; }
                                /* Stacked on a phone, title and sentence both start on the left (D-260): never a bold line left and a centred one below. */
  .draft-banner { align-items: flex-start; flex-direction: column; gap: 2px; text-align: left; }
}

@media (max-width: 360px) {
  .checkout-total-bar small { display: none; }
  .checkout-total-bar .button { padding-inline: 14px; font-size: .85rem; }
  .storefront-page { --dish-photo: 72px; }
  .menu-item.has-photo { gap: 12px; }
  .cart-bar-label { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Fields and buttons of the dashboard workspace pages: public/dashboard.css (D-087). */
.operator-dialog { width:min(520px,calc(100% - 32px));padding:28px;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:var(--paper); }
.operator-dialog::backdrop { background:rgb(12 25 20 / .55); }
.operator-dialog h2 { margin:0 0 20px;font-size:1.35rem;line-height:1.4; }
.operator-dialog input { width:100%; }
.preserve-lines { white-space:pre-wrap;overflow-wrap:anywhere; }
[data-workspace-status] { min-height:1.5rem; }

/* Themed and dark guest pages paint the whole canvas in their own colour (overscroll, short pages), not the cream root. */
:root:has(> body.theme-order, > body.brand-dark) { background: none; }
/* Restaurant checkout follows the two established dark website palettes. */
:root:has(> body.brand-dark) { --sb-ink:#f6ead7; color-scheme:dark; }
.brand-dark { --ink:#f6ead7; --muted:#b9b4a9; --line:rgb(246 234 215 / .18); --danger:#ffa58c; color:var(--ink); background:var(--paper); color-scheme:dark; }
.brand-sans-display :is(.hero-content h1,.menu-section h2) { font-family:Inter,ui-sans-serif,system-ui,sans-serif; font-weight:750; }
.brand-dark { --pick:var(--accent); --pick-on:var(--paper); --pick-surface:var(--brand); }
.brand-dark .tip-picker { --tip-acc:var(--accent); --tip-on:var(--paper); --tip-surface:var(--brand); }
.brand-dark :is(.menu-item,.featured-dish,.cart-panel,.checkout-summary,.segmented-control,input,textarea,select) { background:var(--brand); }
.brand-dark :is(.checkout-button,.button.primary,.add-button:not(:disabled),.segmented-control button.active) { background:var(--accent); color:var(--paper); }
.brand-dark :is(.step-label,.section-number) { color:var(--accent); }
.brand-dark :is(.dish-tags > span, .item-foot .dish-spice) { background:rgb(255 255 255 / .08); }
.brand-dark .dish-dialog-add { background:var(--accent); color:var(--paper); }
.brand-dark .cart-bar { background:var(--accent); color:var(--paper); }
.brand-dark .checkout-total-bar { background:var(--brand); }
.brand-dark .cart-bar-count { background:rgb(0 0 0 / .14); }
.brand-dark .cart-panel[data-open="true"] .cart-sheet { background:var(--brand); }
.brand-dark .button.secondary { background:transparent; }
.brand-dark input:focus { outline:2px solid var(--accent); }
.brand-dark :focus-visible { outline-color:var(--accent); }
.brand-dark .form-status { color:#a4d8bc; }
.brand-dark .toast { background:var(--accent); color:var(--paper); }

/* Consent for heatmaps and recordings (D-134): small, quiet, one tap away; "Nein" and "Ja" look the same.
   It wears the shop's own colours and font (classic, brand-dark, Salon/Express/Werkstatt), as one row:
   the question on the left, both answers on the right (Eigentümer 2026-11-15: kleiner, an die Designs angepasst). */
.consent-banner { position: fixed; z-index: 45; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: 440px; padding: 8px 8px 8px 14px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--paper) 90%, var(--ink)); color: var(--ink); box-shadow: 0 10px 28px rgb(0 0 0 / .22); font-size: .78rem; line-height: 1.35; animation: fade-in .2s ease; }
.consent-banner.leaving { animation: fade-out .2s ease forwards; pointer-events: none; }
.consent-banner p { margin: 0; min-width: 0; }
.consent-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent-actions { display: flex; gap: 6px; flex: none; }
.consent-actions button { min-width: 52px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; line-height: 1; cursor: pointer; }
.consent-actions button:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.consent-actions button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* A shade off the page and the cards (Eigentümer 2026-11-20, D-246): toward the text colour, so lighter on dark pages and darker on light ones. */
.theme-order .consent-banner { border-radius: min(var(--radius-control), 14px); background: color-mix(in srgb, var(--surface) 88%, var(--ink)); font-family: var(--sans); box-shadow: 0 12px 32px -8px rgb(0 0 0 / .45); }
.theme-order .consent-actions button { border-radius: min(var(--radius-control), 10px); }
.theme-order .consent-actions button:focus-visible { outline-color: var(--accent); }
.consent-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 600px) { .consent-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); } }
/* Phones and tablets: the basket bar and the checkout's total bar stay in sight. A banner still open (a guest
   coming back with a filled basket) sits just above the bar and steps aside while the basket sheet is open. */
@media (max-width: 980px) {
  body:has(.cart-panel[data-empty="false"]) .consent-banner { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body:has([data-checkout-bar]) .consent-banner { bottom: calc(86px + env(safe-area-inset-bottom)); }
  body:has(.cart-panel[data-open="true"]) .consent-banner { visibility: hidden; }
}

.consent-open[hidden] { display: none; }

/* In the dish details the distinction keeps its colour among the grey tags (D-172). */
.dish-tags > span.dish-award { background: var(--brand); color: #fff; }

/* Telefonfeld mit Ländervorwahl (Eigentümer 2026-11-15): the code on the left, the number beside it, one line. */
.phone-field { display: flex; gap: 8px; min-width: 0; }
label > span.phone-field[data-phone-field] { font: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.phone-field select { flex: none; width: auto; min-width: 0; font-variant-numeric: tabular-nums; }
.phone-field:not(.dash-phone) select { padding-inline: 10px 6px; }
.phone-field input { flex: 1 1 auto; min-width: 0; }

/* Adressvorschläge im Checkout (Eigentümer 2026-11-15): the list lies over the form under the street field. */
.checkout-form label > span.address-suggest { position: absolute; z-index: 20; top: 100%; left: 0; width: max(100%, min(440px, calc(100vw - 32px))); max-height: min(320px, 50vh); margin-top: 6px; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; color: var(--ink); box-shadow: 0 14px 34px rgb(0 0 0 / .16); font-size: .95rem; font-weight: 400; }
.checkout-form label > span.address-suggest:not([hidden]) { display: grid; gap: 2px; }
.address-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.address-option > span { display: grid; min-width: 0; }
.address-option b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address-option small { color: var(--muted); font-size: .8rem; }
.address-option .address-outside { flex: none; color: #b42318; }
.address-option.outside b { color: var(--muted); }
.address-option:is(:hover, .active) { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.theme-order .checkout-form label > span.address-suggest, .brand-dark .checkout-form label > span.address-suggest { background: var(--surface, #1d1d1d); border-color: var(--line); }

/* Feld-Baustein "Beschriftung im Feld" (D-221, public/field-block.css) auf den Gastseiten: Farben, Schrift und
   Ecken kommen aus der Palette des Restaurant-Designs, nie festes Weiß (Eigentümer 2026-11-17). Der Block hat die
   Flächenfarbe der Karten (--surface), beim Tippen bleibt sie und ein Rahmen in Textfarbe zeigt das Feld.
   Das Dashboard setzt seine Werte selbst (dashboard.css). */
body:not(.dash-page) {
  --fb-ink: var(--ink);
  --fb-label: var(--muted);
  --fb-focus: var(--ink);
  --fb-bg: color-mix(in srgb, #fff 65%, var(--paper));
  --fb-bg-focus: var(--fb-bg);
  --fb-border: color-mix(in srgb, var(--ink) 20%, transparent);
  --fb-divider: color-mix(in srgb, var(--ink) 11%, transparent);
  --fb-error: var(--danger);
  --fb-radius: 14px;
}
body.brand-dark {
  --fb-bg: var(--brand);
  --fb-border: color-mix(in srgb, var(--ink) 26%, transparent);
  --fb-divider: color-mix(in srgb, var(--ink) 15%, transparent);
}
body.theme-order {
  --fb-bg: var(--surface);
  --fb-border: var(--line);
  --fb-error: var(--field-error, #b42318);
  --fb-radius: clamp(10px, var(--radius-control), 18px);
  --fb-font: var(--sans);
}
body.theme-order.scheme-dark {
  --fb-border: color-mix(in srgb, var(--ink) 26%, transparent);
  --fb-divider: color-mix(in srgb, var(--ink) 15%, transparent);
  --fb-error: var(--field-error, #ff8a80);
}
.checkout-fields { display: grid; gap: 12px; margin-top: 22px; }
/* Hinweis für die Übergabe (Eigentümer 2026-11-17): a quiet row until the guest wants it, then the field below. */
.checkout-fold > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; list-style: none; cursor: pointer; color: var(--ink); font-size: .95rem; font-weight: 600; border-radius: 8px; }
.checkout-fold > summary::-webkit-details-marker { display: none; }
.checkout-fold > summary small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.checkout-fold > summary .shop-icon { width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.checkout-fold[open]:not([data-closing]) > summary .shop-icon { transform: rotate(45deg); }
.checkout-fold > summary:focus { outline: none; }
.checkout-fold > summary:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 2px; }
.checkout-fold > .fblock { margin-top: 6px; }
@media (max-width: 560px) { .checkout-fold > summary small { display: none; } }
/* Opens and closes on the same curve (public/fold.js, D-250). */
@media (prefers-reduced-motion: reduce) { .checkout-fold > summary .shop-icon { transition: none; } }
.checkout-fields[hidden] { display: none; }
.checkout-form .check-line + .checkout-fields { margin-top: 14px; }
.checkout-form .fblock-note { margin-top: -4px; }
/* Fehler unter dem Block (checkout.js): rot, mit der Beschriftung des Felds davor. */
.checkout-form .fblock-error { margin: -4px 2px 0; font-size: .82rem; }
/* "Angaben merken" and the optional marketing consent close the form as its own last part (Eigentümer 2026-11-20). */
.checkout-form .checkout-consent > .check-line:first-child { margin-top: 0; }
/* Liefergebiet (checkout.js, Eigentümer 2026-11-20): outside every area or below the minimum, said under the address. */
.checkout-form .address-check[hidden] { display: none; }
/* Safari's AutoFill fills without an input event; the moment the browser marks a field, checkout.js looks again. */
@keyframes checkout-autofill { from { outline-offset: 0; } to { outline-offset: 0; } }
.checkout-form input:-webkit-autofill { animation: checkout-autofill 1ms; }
.checkout-form input:autofill { animation: checkout-autofill 1ms; }
.checkout-form .fcell.street { overflow: visible; }
.checkout-form .fcell > .address-suggest { top: calc(100% + 2px); left: -1px; margin-top: 0; }
.promo-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; padding: 2px; }
.promo-field .fcell > input { text-transform: uppercase; letter-spacing: .04em; }
.promo-field .button { min-height: 62px; padding-inline: 18px; }
.tip-custom .fblock { max-width: 220px; }
/* Dish search (D-246, Eigentümer 2026-11-20): a compact search bar with a magnifier in the field colours of the
   restaurant, rounded like the magnifier in the category bar; not the tall "Beschriftung im Feld" block. */
.dish-search { position: relative; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 16px; border: 1px solid var(--fb-border); border-radius: 999px; background: var(--fb-bg); color: var(--fb-ink, var(--ink)); transition: border-color .15s ease, box-shadow .15s ease; }
.dish-search:focus-within { border-color: var(--fb-focus); box-shadow: 0 0 0 1px var(--fb-focus); }
.dish-search > .shop-icon { flex: none; width: 19px; height: 19px; color: var(--fb-label, var(--muted)); }
.storefront-search .dish-search input { flex: 1; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; color: inherit; font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.storefront-search .dish-search input:focus { border-color: transparent; outline: none; box-shadow: none; }
.dish-search input::placeholder { color: var(--fb-label, var(--muted)); opacity: 1; }
.dish-search input::-webkit-search-cancel-button, .dish-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.dish-search-clear { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fb-label, var(--muted)); cursor: pointer; }
.dish-search-clear[hidden] { display: none; }
.dish-search-clear .shop-icon { width: 17px; height: 17px; }
.dish-search-clear:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .dish-search-clear:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); } }
.theme-express .dish-search { border-radius: var(--fb-radius); }

/* Text mittig in Schild und Knopf (Eigentümer 2026-11-21: „sieht aus, als wäre dieser KI-Schriftzug nicht mittig“):
   centred by line-height the letters sit where the font's ascent and descent put them, in SF and Inter up to 0.75 px
   too high, in Roboto or Segoe lower. Trimmed to cap height and baseline, the box holds just the capitals, and padding
   computed from 1cap keeps tags and awards exactly as tall as before, in any font. The KI (only letters since D-302)
   is trimmed the same way, so it stands exactly its gap from the photo's edges. Browsers without text-box keep the
   old look. Measured in Chromium at 2x and 3x with five system fonts: at most half a device pixel off. */
@supports (text-box: trim-both cap alphabetic) {
  .ai-badge { text-box: trim-both cap alphabetic; }
  :is(.dish-award, .dish-tags > span:not(.dish-spice, .dish-note)) { padding-block: calc((1.4em + 6px - 1cap) / 2); text-box: trim-both cap alphabetic; }
  .dish-dialog .dish-tags > span.dish-age { padding-block: calc((1.4em + 4px - 1cap) / 2); }
  .add-label { text-box: trim-both cap alphabetic; }
}

/* Beilage (D-320, Eigentümer 2026-11-28: „da steht nicht, dass es mit Reis noch serviert wird … man sieht es ja nicht auf
   dem Bild“): what comes with a dish at no extra cost. On the card a chip beside the price, "mit Reis", as tall as the
   other chips of the foot (D-259: the text gives way when the foot needs a second line); the whole Beilage is its title,
   the dish sheet says it in a sentence, basket and checkout under the name. In the ink of the text, a little stronger
   than the diet tags: it says what is on the plate. */
.dish-side-chip { flex: none; box-sizing: border-box; height: 22px; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: .7rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.dish-side-chip .shop-icon { flex: none; width: 14px; height: 14px; stroke-width: 1.9; }
.dish-dialog-side { margin: 14px 0 0; padding: 10px 12px; display: flex; align-items: flex-start; gap: 10px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); font-size: .9rem; line-height: 1.45; }
.dish-dialog-side[hidden] { display: none; }
.dish-dialog-side .shop-icon { flex: none; width: 20px; height: 20px; stroke-width: 1.8; }
.dish-dialog-side strong { font-weight: 600; }
.cart-line-side { grid-area: side; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.cart-line-side .shop-icon { flex: none; width: 14px; height: 14px; stroke-width: 1.9; }
.cart-line.has-side { grid-template-areas: "name controls" "side controls" "price controls"; }
.cart-line.has-side.has-note { grid-template-areas: "name controls" "side controls" "note controls" "price controls"; }
.summary-item .summary-side { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.summary-item .summary-side .shop-icon { flex: none; width: 14px; height: 14px; stroke-width: 1.9; }
