/* SnackShop: one stylesheet, mobile first. Since ADR-0060 (2026-11-27) the shop has a fixed design taken from the Snack Jack
   logo: bun orange, cheese yellow, ketchup red and black outlines with a hard offset shadow, like the logo lettering. The hub's
   accent and header colours no longer reach the page. System fonts only: no font request leaves the shop; headings use a
   condensed face where the device has one (Bahnschrift on Windows, Avenir Next Condensed on Apple, Roboto Condensed on Android). */
:root {
  --bun: #f39122;
  --bun-dot: #e27a0a;
  --kaese: #ffd300;
  --kaese-tint: #fff6d6;
  --accent: #c90c0f;
  --accent-ink: #ffffff;
  --accent-tint: var(--kaese-tint);
  --accent-soft: #ffe9a8;
  --ring: rgba(243, 145, 34, .6);
  --ink: #1d1d1b;
  --ink-2: #3d3d39;
  --muted: #5f5f5a;
  --line: #e4e2dc;
  --line-strong: #bdbbb3;
  --paper: #ffffff;
  --page: #fde3c3;
  --fill: #f1f1ee;
  --surface: #ffffff;
  --ok: #2d7a3a;
  --warn: #8a5800;
  --bad: #b3261e;
  --radius: 12px;
  --radius-sm: 10px;
  --stroke: 2.5px solid var(--ink);
  --hard: 4px 4px 0 var(--ink);
  --shadow: 3px 3px 0 var(--ink);
  --header: 64px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { font: 16px/1.5 var(--font); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h1 { font-size: 1.75rem; font-weight: 750; margin: 0 0 20px; }
h2 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex: none; }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hint { color: var(--muted); font-size: .875rem; }
.meta { color: var(--muted); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.with-icon { display: flex; gap: 8px; align-items: flex-start; }
.with-icon .icon { width: 18px; height: 18px; margin-top: 1px; }

/* Frame: header, page column, footer */
.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand .logo { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: none; align-items: center; gap: 6px; padding: 8px 10px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; text-decoration: none; border-radius: 10px; }
.header-phone:hover { color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.cart-link:hover { border-color: var(--ink); }
.cart-label { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-link.is-empty .badge { background: var(--paper); color: var(--muted); }
.page { flex: 1; width: 100%; margin: 0 auto; padding: 20px 16px 56px; }
.page-narrow { max-width: 712px; }
.page-medium { max-width: 1072px; }
.page-wide { max-width: 1232px; }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
/* On the phone the footer stacks centred; a fixed cart or buy bar must not cover its last lines (the legal links). */
body:has(.cart-bar) .site-footer { padding-bottom: 84px; }
body:has(.buy-bar) .site-footer { padding-bottom: 92px; }
.footer-shop p + p { margin-top: 4px; }
.footer-shop a { color: var(--ink-2); }
/* ADR-0025: customer account pages; the opt-in in the contact step shows its password field only when ticked. */
.account-opt-in .inline-choice { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.account-opt-in .account-password { display: none; margin-top: 14px; }
.account-opt-in:has(input[name=CreateAccount]:checked) .account-password { display: block; }
.account-link { display: inline-flex; }
.tabs { display: flex; gap: 6px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.address-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px 4px; margin: 0; }
.address-row legend { display: flex; gap: 14px; align-items: center; font-weight: 600; padding: 0 6px; }
.address-row .inline-choice { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; color: var(--muted); }
.address-row + .address-row { margin-top: 12px; }
.account-actions { display: grid; gap: 8px; margin-top: 24px; }
/* Account page 2026-11-09: read-only cards with "Bearbeiten", the edit forms open one at a time, the deletion asks in a dialog. */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { color: var(--muted); font-size: .8125rem; font-weight: 650; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.address-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.address-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.address-list .tag { padding: 2px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: .75rem; font-weight: 700; }
.edit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.edit-actions .btn { flex: 1 1 160px; }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 35%, #fff); }
.confirm-body { display: grid; gap: 14px; padding: 22px 24px; }
.confirm-body h2 { font-size: 1.125rem; }
.confirm-body p { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.confirm-dialog { width: min(100% - 32px, 480px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(34, 43, 41, .25); }
.confirm-dialog::backdrop { background: rgba(34, 43, 41, .55); }
/* Contact step 2026-11-09: the saved-address picker above the address fields; the button is for browsers without script. */
.saved-address-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.saved-address-row select { flex: 1 1 240px; }
.saved-address + .field { margin-top: 14px; }
.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; }
.order-row > div { display: flex; flex-direction: column; gap: 4px; }
.order-row-right { align-items: flex-end; text-align: right; }
/* 2026-11-13: an order of the history unfolds to its lines and amounts. */
.order-item { overflow: hidden; }
.order-details > summary { list-style: none; cursor: pointer; border-radius: var(--radius); }
.order-details > summary::-webkit-details-marker { display: none; }
.order-details > summary:hover { background: var(--paper); }
.order-details .order-row-right { margin-left: auto; }
.order-toggle { display: inline-flex; color: var(--muted); transition: transform .15s ease; }
.order-details[open] .order-toggle { transform: rotate(180deg); }
.order-details[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.order-body { display: grid; gap: 10px; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.order-body .totals { padding-top: 6px; border-top: 1px solid var(--line); }
.order-body .lines.compact .line:last-child { border-bottom: 0; }
.order-body .btn { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .order-toggle { transition: none; } }
/* Shop footer 2.0: address block, contact lines with icons and the social marks. */
.footer-address { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; font-style: normal; color: var(--ink-2); }
.footer-contact { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.social-links a:hover { border-color: var(--ink); }
.social-icon { display: inline-grid; place-items: center; }
.social-icon .icon { width: 20px; height: 20px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.legal-links a:hover { text-decoration: underline; }

/* Surfaces and messages */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: .9375rem; }
.notice .icon { margin-top: 1px; }
.notice.ok { border-color: color-mix(in srgb, var(--ok) 30%, #fff); background: color-mix(in srgb, var(--ok) 6%, #fff); }
.notice.ok .icon { color: var(--ok); }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 30%, #fff); background: color-mix(in srgb, var(--warn) 6%, #fff); }
.notice.warn .icon { color: var(--warn); }
.notice.bad { border-color: color-mix(in srgb, var(--bad) 30%, #fff); background: color-mix(in srgb, var(--bad) 5%, #fff); color: var(--bad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--accent); border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: color-mix(in srgb, var(--accent) 88%, #000); border-color: color-mix(in srgb, var(--accent) 88%, #000); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; background: var(--accent); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: rgba(34, 43, 41, .05); color: var(--ink); }
/* 2026-11-09: the one destructive action of the shop ("Konto endgültig löschen"): strong red, bold, same size as the others. */
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; font-weight: 700; }
.btn.danger:hover { background: color-mix(in srgb, var(--bad) 85%, #000); border-color: color-mix(in srgb, var(--bad) 85%, #000); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: .9375rem; border-radius: 10px; }
.btn.big { min-height: 56px; font-size: 1.0625rem; }
.btn.block { display: flex; width: 100%; }
.btn.block + .btn.block { margin-top: 8px; }
.link-button { padding: 6px 2px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--ink); }
.back-link, .back-action { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.back-link { margin: 0 0 16px; }
.back-link:hover, .back-action:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.back-link .icon, .back-action .icon { width: 18px; height: 18px; }

/* Form controls */
.stack { display: flex; flex-direction: column; gap: 22px; }
label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field .hint { margin-top: 6px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
input:hover, select:hover, textarea:hover { border-color: #b9b6ab; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
select { appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2348514d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
textarea { min-height: 88px; resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
.form-section { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form-section > legend { float: left; width: 100%; }
.form-section > legend + * { clear: both; }
.form-section h2 { font-size: 1.125rem; margin-bottom: 14px; }
.form-section > .field + .field, .form-section > .field + .field-grid { margin-top: 14px; }
.field-grid { display: grid; gap: 14px; }
.form-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 4px; }
.form-actions .back-action { align-self: center; }

/* Radio and checkbox: native inputs, drawn by CSS, always reachable by keyboard */
input[type=radio], input[type=checkbox] { appearance: none; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0;
  border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox] { border-radius: 6px; }
input[type=radio]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .12s; }
input[type=radio]:checked { border-color: var(--accent); }
input[type=radio]:checked::after { transform: scale(1); }
input[type=checkbox]::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); }
input[type=checkbox]:checked { border-color: var(--accent); background: var(--accent); }
input[type=checkbox]:checked::after { transform: rotate(45deg) scale(1); }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Choice cards: delivery type, time, payment */
.choices { display: grid; gap: 10px; }
.choices-title { margin-bottom: 10px; font-size: 1rem; font-weight: 700; }
.choice-card { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 400; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice-card:hover { border-color: var(--line-strong); }
.choice-card:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.choice-card.compact { padding: 14px 16px; }
.choice-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--paper); color: var(--ink); }
.choice-icon .icon { width: 22px; height: 22px; }
.choice-card:has(input:checked) .choice-icon { background: var(--surface); color: var(--accent); }
.choice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice-text strong { font-weight: 650; }
.choice-text small { color: var(--muted); font-size: .875rem; }
.choices > .hint { padding: 4px 2px; }
.slot-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
/* Block J2: day and time only for "Terminbestellung"; browsers without :has keep showing them. */
fieldset:has(input[name="Timing"][value="Asap"]:checked) :is([data-slot-picker], [data-date-refresh]) { display: none; }
[data-date-refresh] { justify-self: start; }

/* Checkout steps */
.steps { margin: 0 0 20px; }
.steps-count { margin-bottom: 10px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.steps ol { display: flex; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 8px; flex: 1; color: var(--muted); font-size: .875rem; font-weight: 600; }
.steps li:last-child { flex: none; }
.steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; min-width: 12px; margin: 0 4px; border-radius: 1px; background: var(--line); }
.steps li.done:not(:last-child)::after { background: var(--ink); }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-dot .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.steps li.done .step-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.steps li.active { color: var(--ink); }
.steps li.active .step-dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.step-name { display: none; white-space: nowrap; }
.steps li.active .step-name { display: inline; }

/* Menu: intro, service box, categories, products, cart beside the menu */
.menu-top { display: grid; gap: 16px; margin-bottom: 20px; }
.intro { display: grid; overflow: hidden; border-radius: 20px; background: var(--bun); color: var(--ink); }
.intro-body { padding: 22px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.intro-body::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 2px; }
.intro h1 { margin: 0; font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; }
.intro-tagline { max-width: 42ch; color: color-mix(in srgb, currentColor 78%, transparent); font-size: 1rem; }
.intro-status { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 4px; padding: 8px 12px; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: 12px; background: color-mix(in srgb, currentColor 7%, transparent); font-size: .875rem; }
.intro-status::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #6fcf91; transform: translateY(-1px); }
.intro-status.warn::before { background: #f2b84b; }
.intro-image { display: block; order: -1; width: 100%; height: 180px; object-fit: cover; }
.service { padding: 16px 18px; }
.service h2 { font-size: 1.0625rem; margin-bottom: 12px; }
.service-row { display: flex; gap: 10px; align-items: center; font-size: .9375rem; }
.service-row .icon { color: var(--accent); }
.service-row + .service-row { margin-top: 10px; }
.areas { margin: 4px 0 0 30px; padding: 0; list-style: none; }
.areas li { display: flex; flex-direction: column; padding: 6px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.areas li:first-child { border-top: 0; }
.area-name { font-weight: 600; }
.menu-layout { display: grid; gap: 28px; align-items: start; }
.menu-main { min-width: 0; }
/* Category bar (2026-11-09, Punkt 15): one swipe row on phones and tablets with a soft fade at the right edge as the hint that
   it goes on (a sticky pseudo-element inside the scroller; no script). From 1080 px, beside the cart card, it stays in the menu
   column and wraps instead (see below). --catnav is the bar's height that the jump targets keep clear under the header. */
:root { --catnav: 60px; }
.category-nav { position: sticky; top: var(--header); z-index: 5; display: flex; gap: 8px; margin: 0 -16px 4px; padding: 10px 16px; overflow-x: auto; background: var(--paper); scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav::after { content: ""; position: sticky; right: 0; flex: none; width: 40px; margin-left: -8px; pointer-events: none; background: linear-gradient(to right, transparent, var(--paper)); }
.category-nav a { flex: none; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .875rem; font-weight: 600; text-decoration: none; }
.category-nav a:hover { border-color: var(--ink); color: var(--ink); }
.category { padding-top: 20px; scroll-margin-top: calc(var(--header) + var(--catnav)); }
/* Punkt 14: "In den Warenkorb" returns to #produkt-<id>; header and category bar must not cover the card. */
.item { scroll-margin-top: calc(var(--header) + var(--catnav) + 12px); }
.category h2 { margin-bottom: 14px; }
.items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.item-link { position: relative; display: flex; gap: 14px; height: 100%; min-height: 104px; padding: 14px 14px 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.item-link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.item-text { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; padding-right: 40px; }
.item.with-picture .item-text { padding-right: 0; }
.item .name { font-size: 1rem; font-weight: 650; line-height: 1.3; }
.item .price { margin-top: auto; padding-top: 8px; font-weight: 650; }
.product-picture { width: 96px; height: 96px; flex: none; border-radius: 12px; object-fit: cover; background: var(--paper); }
.item-add { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.item.with-picture .item-add { right: 8px; bottom: 8px; box-shadow: 0 0 0 3px var(--surface); }
.item-add .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.item.is-soldout .item-link { background: transparent; }
.item.is-soldout .name, .item.is-soldout .price { color: var(--muted); }
.item.is-soldout .product-picture { filter: grayscale(1); opacity: .6; }
/* ADR-0059: a promotion product carries a yellow sticker in the top left corner; "Aktion" leads the category bar. */
.promo-badge { position: absolute; top: -9px; left: 12px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: #facc15; color: #3b2a00; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transform: rotate(-4deg); }
.item.is-promotion .item-link { border-color: #f5c518; }
.item.is-promotion .item-text { padding-top: 4px; }
.item.is-soldout .promo-badge { background: var(--line-strong); color: var(--ink-2); box-shadow: none; }
.item.is-promotion.is-soldout .item-link { border-color: var(--line); }
.category-nav a.promotion-link { border-color: #f5c518; background: #fef3c7; color: #3b2a00; }
.cart-aside { display: none; padding: 20px; }
.cart-aside h2 { font-size: 1.125rem; margin-bottom: 4px; }
.mini-lines { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mini-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.mini-lines li.has-problem { color: var(--muted); }
.mini-qty { color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-name { min-width: 0; font-weight: 600; }
.mini-name small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.mini-total { display: flex; justify-content: space-between; margin: 14px 0 16px; font-weight: 700; }
.warn-text { margin: -6px 0 12px; color: var(--warn); }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px 0 10px;
  border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none; box-shadow: 0 10px 28px rgba(34, 43, 41, .22); }
.cart-bar-count { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; background: color-mix(in srgb, var(--accent-ink) 18%, transparent); font-variant-numeric: tabular-nums; }
.cart-bar-label { flex: 1; }
.cart-bar-total { font-variant-numeric: tabular-nums; }
.page-wide:has(.cart-bar) { padding-bottom: 104px; }
/* Punkt 14 (2026-11-09): "… wurde in den Warenkorb gelegt" as a small fixed message near the bottom, above the cart bar on
   phones; it fades out after four seconds by CSS alone (opacity only, so "Bewegung reduzieren" needs no exception) and then
   takes no clicks. Without CSS animations it simply stays. */
.toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 11; display: flex; gap: 10px; align-items: center; width: max-content; max-width: min(100vw - 32px, 480px); margin: 0; padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--ok) 30%, #fff); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); box-shadow: 0 10px 28px rgba(34, 43, 41, .18); font-size: .9375rem; font-weight: 600;
  transform: translateX(-50%); pointer-events: none; animation: toast-out .5s ease-in 4s forwards; }
.toast .icon { flex: none; color: var(--ok); }
body:has(.cart-bar) .toast { bottom: calc(12px + 56px + 12px + env(safe-area-inset-bottom)); }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }

/* Product page */
.product-layout { display: grid; gap: 22px; }
.product-hero { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--paper); }
.product-main h1 { margin: 0; font-size: 1.875rem; }
.product-price { margin: 6px 0 22px; color: var(--ink-2); font-size: 1.25rem; font-weight: 650; }
.product-form { display: flex; flex-direction: column; gap: 24px; }
.option-group legend { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 10px; }
.group-name { font-size: 1.0625rem; font-weight: 700; }
.group-rule { padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.group-rule.required { border-color: transparent; background: var(--accent-soft); color: var(--ink); }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
.option:hover { border-color: var(--line-strong); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.option-name { flex: 1; min-width: 0; }
.option-price { color: var(--muted); font-size: .9375rem; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: flex; align-items: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -8px 24px rgba(34, 43, 41, .06); }
.page:has(.buy-bar) { padding-bottom: 112px; }
.stepper { display: inline-flex; align-items: center; flex: none; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.stepper input[type=number] { width: 72px; min-height: 0; height: 100%; padding: 0 6px; border: 0; border-radius: inherit; background: transparent; text-align: center; font-weight: 650; box-shadow: none; }
.stepper.is-enhanced input[type=number] { width: 44px; -moz-appearance: textfield; appearance: textfield; }
.stepper.is-enhanced input::-webkit-inner-spin-button, .stepper.is-enhanced input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.stepper .step { display: grid; place-items: center; width: 40px; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; color: var(--ink); cursor: pointer; }
.stepper .step:hover { background: var(--paper); }
.stepper .step .icon { width: 18px; height: 18px; }
.stepper.small { height: 40px; border-radius: 10px; }
.stepper.small input[type=number] { width: 60px; }
.stepper.small.is-enhanced input[type=number] { width: 36px; }
.stepper.small .step { width: 34px; }
.buy { flex: 1; justify-content: space-between; gap: 10px; padding: 0 16px; font-size: .9375rem; white-space: nowrap; }
.buy-total { font-weight: 700; }

/* Cart */
.split { display: grid; gap: 16px; align-items: start; }
.lines-card { padding: 4px 18px; }
.lines { margin: 0; padding: 0; list-style: none; }
.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-picture { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; }
.line-body { flex: 1; min-width: 0; }
.line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line .name { font-weight: 650; }
.line .price { font-weight: 650; }
.line .meta { margin-top: 3px; }
.line .problem { display: flex; gap: 6px; align-items: flex-start; color: var(--bad); }
.line .problem .icon { width: 16px; height: 16px; margin-top: 2px; }
.line.has-problem .name { color: var(--muted); }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.line-actions .line-quantity { display: contents; }
/* 2026-11-04: the note editor sits next to "Entfernen"; opened, it takes a full row of its own. */
.note-editor summary { list-style: none; display: inline-block; }
.note-editor summary::-webkit-details-marker { display: none; }
.note-editor[open] { flex-basis: 100%; }
.note-form { display: grid; gap: 8px; margin-top: 8px; max-width: 32rem; }
.note-form label { font-size: .875rem; color: var(--ink-2); }
.note-form textarea { min-height: 64px; width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; resize: vertical; }
.note-form .btn { justify-self: start; }
.lines.compact .line { padding: 10px 0; }
.summary { padding: 20px; }
.summary .hint { margin: 6px 0 16px; }
.summary .notice { margin: 0 0 12px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.totals .grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.125rem; font-weight: 750; }
.totals .grand:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.totals .discount { color: var(--ok); }
.totals .hint { margin-top: 4px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 20px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--paper); color: var(--ink-2); }
.empty-icon .icon { width: 28px; height: 28px; }
.notice-plain { font-size: 1.0625rem; font-weight: 600; }

/* Review */
.review-layout { display: grid; gap: 16px; align-items: start; }
.review-items { padding: 20px; }
.review-items h2 { font-size: 1.125rem; margin-bottom: 6px; }
.review-items .totals { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.discount-box { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.discount-box .notice { margin-bottom: 12px; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.inline-form label { grid-column: 1 / -1; margin-bottom: 0; }
.inline-form p { grid-column: 1 / -1; }
.applied-code { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.applied-code .link-button { margin-left: auto; }
.review-details { padding: 4px 20px; }
.details { margin: 0; }
.details > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details > div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); font-size: .8125rem; font-weight: 650; }
.details dd { grid-column: 1; margin: 0; }
.details dd.meta { font-size: 1rem; color: var(--ink); }
.change-link { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--ink-2); font-size: .875rem; font-weight: 600; text-underline-offset: 3px; }
.change-link:hover { color: var(--ink); }
.review-submit { display: flex; flex-direction: column; gap: 14px; }
.review-submit .back-action { align-self: center; }

/* Status pages: order, payment return, errors */
.status { max-width: 560px; margin: 12px auto 0; padding: 36px 22px; text-align: center; }
.status-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); color: var(--ink-2); }
.status-icon .icon { width: 30px; height: 30px; stroke-width: 2; }
.status-icon.done { background: color-mix(in srgb, var(--ok) 12%, #fff); color: var(--ok); }
.status-icon.bad { background: color-mix(in srgb, var(--bad) 10%, #fff); color: var(--bad); }
.status .title { margin: 0 0 10px; font-size: 1.625rem; }
.status > p { color: var(--ink-2); }
.status > p + p { margin-top: 8px; }
.status > .btn, .status-actions { margin-top: 24px; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.order-number { color: var(--muted); font-size: .9375rem; }
.order-number strong { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-sizing: border-box; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
/* 2026-11-10: every step is listed from the start; the marker sits on the current one, the way behind it is drawn in ink. */
.timeline li.done:not(:last-child)::after { background: var(--ink); }
.timeline li.current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline li.upcoming::before { background: var(--surface); border: 2px solid var(--line-strong); }
.timeline li.upcoming span:first-child { color: var(--muted); font-weight: 500; }
.timeline span:first-child { font-weight: 650; }
.timeline .meta { font-variant-numeric: tabular-nums; }
.status .timeline + .hint { margin-top: 18px; }
/* ADR-0026: the delivery sketch on the status page – an inline drawing, no map tiles, no third-party request. */
.tracking { max-width: 360px; margin: 20px auto 0; padding: 14px 12px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.tracking-map { display: block; width: 100%; height: auto; overflow: visible; }
.tracking-map .road { fill: none; stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.tracking-map .road.done { stroke: var(--accent); }
.tracking-map .stop { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tracking-map .stop .dot { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.tracking-map .label { fill: var(--muted); stroke: none; font-size: 11px; font-family: inherit; }
.tracking-map .driver circle { fill: var(--accent); stroke: var(--surface); stroke-width: 2.5; }
.tracking-map .driver path { fill: none; stroke: var(--accent-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tracking-map .driver .car { fill: var(--accent-ink); fill-opacity: .18; }
.tracking-map .driver .wheel { fill: var(--accent); stroke: var(--accent-ink); stroke-width: 1.4; }
.tracking-note { margin-top: 6px; }
.tracking-text { margin: 8px 0 0; color: var(--ink); font-size: 1.0625rem; }
.tracking .meta { margin-top: 2px; }

/* Legal pages */
.legal { padding: 24px 22px; }
.legal p { line-height: 1.65; }
.legal p + p { margin-top: 14px; }

/* Block F6: street suggestions */
.street-field { position: relative; }
.suggestions { position: absolute; left: 0; right: 0; z-index: 6; margin: 4px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.suggestions button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.suggestions button:hover, .suggestions button:focus { background: var(--paper); outline: none; }
.suggestions small { display: block; color: var(--muted); }

@media (min-width: 480px) {
  .cart-label { display: inline; }
}

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .page { padding: 28px 24px 64px; }
  h1 { font-size: 2.125rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; }
  .footer-address, .footer-contact, .social-links, .legal-links { align-items: flex-start; justify-content: flex-start; }
  .footer-contact { align-items: center; }
  .legal-links { gap: 4px 12px; }
  .intro-body { padding: 36px 32px 32px; gap: 12px; }
  .intro h1 { font-size: 2.75rem; }
  .intro-tagline { font-size: 1.0625rem; }
  .intro-status { font-size: .9375rem; padding: 9px 14px; }
  .service { padding: 20px; }
  .areas li { padding: 8px 0; }
  .intro.has-banner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .intro.has-banner .intro-image { order: 0; height: 100%; min-height: 260px; }
  .category-nav { margin: 0 -24px 4px; padding: 10px 24px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-grid .span-2 { grid-column: 1 / -1; }
  .street-row { grid-template-columns: minmax(0, 1fr) 150px; }
  .form-actions { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .form-actions .btn { min-width: 240px; }
  .steps-count { display: none; }
  .step-name { display: inline; }
  .steps li:not(:last-child)::after { margin: 0 10px; }
  .buy-bar { padding-left: 24px; padding-right: 24px; }
  .buy { font-size: 1rem; padding: 0 18px; }
  .status { padding: 44px 40px; }
  .legal { padding: 32px 40px; }
  .form-section { padding: 22px 24px 24px; }
}

@media (min-width: 900px) {
  .header-phone { display: inline-flex; }
  .menu-top { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
  .menu-top > .intro:only-child { grid-column: 1 / -1; }
  .intro-body { justify-content: center; padding: 44px 40px; }
  .product-layout:not(.no-picture) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .product-layout:not(.no-picture) .product-media { position: sticky; top: calc(var(--header) + 24px); }
  .product-layout.no-picture { max-width: 640px; }
  .product-main h1 { font-size: 2.25rem; }
  .buy-bar { position: static; margin: 4px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
  .page:has(.buy-bar) { padding-bottom: 64px; }
  body:has(.buy-bar) .site-footer { padding-bottom: 0; }
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .summary { position: sticky; top: calc(var(--header) + 20px); }
  .review-layout { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "details items" "details submit"; gap: 20px 24px; }
  .review-items { grid-area: items; }
  .review-details { grid-area: details; }
  .review-submit { grid-area: submit; }
}

@media (min-width: 1080px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .cart-aside { display: block; position: sticky; top: calc(var(--header) + 20px); }
  .cart-bar { display: none; }
  .page-wide:has(.cart-bar) { padding-bottom: 64px; }
  body:has(.cart-bar) .site-footer { padding-bottom: 0; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Punkt 15: beside the cart card the bar keeps to the menu column (the grid gap is the distance to the card), wraps into
     further rows and shows every category; --catnav allows for two rows (about 106 px), a third row only with 15+ categories. */
  :root { --catnav: 112px; }
  .category-nav { flex-wrap: wrap; margin: 0 0 4px; padding: 10px 0; overflow: visible; }
  .category-nav::after { display: none; }
  body:has(.cart-bar) .toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Shop start page. ADR-0060 (2026-11-27): an orange panel with comic halftone dots; the copy with name, tagline and the menu
   button on the left, the hub's banner (for Snack Jack the waving mascot) on the right with the opening status as his speech
   bubble. On phones the banner and bubble come first. Nothing moves by itself. */
.hero { position: relative; display: grid; overflow: hidden; margin-top: 4px; border: 3px solid var(--ink); border-radius: 16px;
  background: var(--bun); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(var(--bun-dot) 28%, transparent 31%) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 90%); mask-image: linear-gradient(110deg, transparent 30%, #000 90%); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 20px 28px; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 11vw, 5.2rem); line-height: .98; }
.hero-logo { display: block; max-width: min(100%, 320px); max-height: 120px; width: auto; height: auto; object-fit: contain; }
.hero-tagline { max-width: 34ch; font-size: 1.125rem; font-weight: 600; }
.hero-intro { max-width: 46ch; font-size: 1rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-cta { min-height: 54px; padding: 0 24px; font-size: 1.0625rem; }
.hero .hero-cta:not(.secondary) { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero .hero-cta:not(.secondary):hover { background: #000; }
/* 2026-12-01 (operator): the bubble stands above the banner, not behind it, so the banner never covers its tail; the tail is a
   curved comic tail (an SVG in ::after with its own hard shadow) pointing down to the mascot. The bubble sits on the left, the
   banner on the right; the tail leaves the bubble at its lower right. */
.hero-stage { position: relative; z-index: 1; order: -1; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 16px 0; }
.hero-stage:not(:has(.hero-banner)) { padding-bottom: 4px; }
.hero-banner { display: block; align-self: flex-end; width: auto; max-width: 78%; height: 180px; margin: 30px 4px -16px 0; object-fit: contain; object-position: bottom right; transform: rotate(3deg); }
.bubble.intro-status { position: relative; display: block; max-width: 82%; margin: 0; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-display); font-stretch: 75%; font-size: 1.2rem; font-weight: 700; line-height: 1.15; text-wrap: balance; transform: rotate(-2deg); }
.hero-stage:not(:has(.hero-banner)) .bubble.intro-status { max-width: 100%; }
.bubble.intro-status::before { content: none; }
.bubble.intro-status::after { content: ""; position: absolute; top: calc(100% - 2px); right: 18%; width: 48px; height: 42px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='42'%3E%3Cpath d='M4 0L4 3.5C7 20 22 31 42 35C30 26 25 15 25 3.5L25 0Z' transform='translate(4 4)' fill='%231d1d1b' stroke='%231d1d1b' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M4 0L4 3.5C7 20 22 31 42 35C30 26 25 15 25 3.5L25 0Z' fill='%23fff'/%3E%3Cpath d='M4 3.5C7 20 22 31 42 35C30 26 25 15 25 3.5' fill='none' stroke='%231d1d1b' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.hero-stage:not(:has(.hero-banner)) .bubble.intro-status::after { content: none; }
.welcome-blocks { display: grid; gap: 18px; margin-top: 22px; }
.welcome-card { padding: 22px 20px 20px; background: var(--surface); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--hard); }
.welcome-card h2 { margin-bottom: 14px; font-size: 1.75rem; scroll-margin-top: calc(var(--header) + 16px); }
.welcome-card .service-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--ink-2); }
.welcome-card .service-row .icon { color: var(--ink); margin-top: 2px; }
.welcome-text p { line-height: 1.65; color: var(--ink-2); }
.welcome-text p + p { margin-top: 12px; }
.welcome-news { background: var(--kaese-tint); }
.welcome-cta { display: flex; justify-content: center; margin-top: 30px; }

@media (min-width: 640px) {
  .hero-copy { padding: 36px 36px 36px; }
  .hero-stage { padding: 24px 24px 0; }
  .hero-banner { height: 220px; }
  .bubble.intro-status { max-width: 340px; font-size: 1.35rem; }
  .welcome-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .welcome-blocks > * { grid-column: 1 / -1; }
  .welcome-blocks > .welcome-areas:not(:only-child), .welcome-blocks > .welcome-areas + * { grid-column: auto; }
}

@media (min-width: 900px) {
  .hero.has-stage { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 470px; }
  .hero-copy { justify-content: center; gap: 14px; padding: 56px 48px; }
  .hero-stage { order: 0; padding: 40px 28px 0 0; }
  .hero-banner { flex: 1 1 0; min-height: 0; width: min(100%, 400px); max-width: none; height: auto; margin: 34px 0 -32px; }
  .bubble.intro-status { max-width: 360px; margin-top: 6px; font-size: 1.5rem; }
  .welcome-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .welcome-blocks > .welcome-areas + * { grid-column: span 2; }
}

/* Contact step 2.0 (2026-11-01): "guest or account" on top; the account sign-in only shows while its card is chosen and
   then replaces the guest form. Browsers without :has() simply show both. */
.mode-choice { display: grid; gap: 12px; }
.login-inline { display: none; gap: 12px; padding: 16px; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-tint); }
.login-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.contact-flow:has(#mode-login:checked) .login-inline { display: grid; }
.contact-flow:has(#mode-login:checked) .guest-form { display: none; }

/* Payment step (2026-11-03): provider marks on the right of the choice cards. */
.pay-choice { justify-content: space-between; }
.pay-choice .choice-text { flex: 1; }
.pay-marks { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pay-mark { display: block; height: 24px; width: auto; }

/* Shop header (2026-11-03): the logo height comes from the hub (--logo-h), the bar grows with it; phones cap it at 56 px.
   With "logo only" the phone shows as a small call button on phones as well. */
:root { --header: max(64px, calc(min(var(--logo-h, 48px), 56px) + 16px)); }
.brand .logo { height: min(var(--logo-h, 48px), 56px); max-width: min(200px, 100%); min-width: 0; }
.header-logo .header-phone:not(.account-link) { display: inline-flex; }
@media (max-width: 899px) {
  .header-logo .header-phone:not(.account-link) { padding: 8px; }
  .header-logo .header-phone:not(.account-link) span { display: none; }
}
@media (min-width: 900px) {
  :root { --header: max(64px, calc(var(--logo-h, 48px) + 16px)); }
  .brand .logo { height: var(--logo-h, 48px); max-width: 280px; }
}
/* "Aktuelles" and "Über uns": centred, larger and smaller paragraphs from the hub's small editor. */
.welcome-text .rt-center { text-align: center; }
.welcome-text .rt-large { font-size: 1.25em; line-height: 1.45; font-weight: 650; color: var(--ink); }
.welcome-text .rt-small { font-size: .875em; }
.welcome-text strong { color: var(--ink); }
/* Product description from the hub: a light line under the bold name (menu: at most three lines). */
.item .description { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .875rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.product-main .product-description { max-width: 60ch; margin: 8px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
/* Block K3 (ADR-0031): contact page. The honeypot field is for bots only and never shown to people. */
.lead { max-width: 60ch; margin: 0 0 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* ADR-0040: the Cloudflare Turnstile widget under the message (contact) or above the button (login after three failed attempts). */
.captcha .cf-turnstile { max-width: 100%; min-height: 65px; overflow: hidden; }
.captcha .captcha-notice { margin: 8px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.captcha .captcha-notice a { color: inherit; text-decoration: underline; }

/* ADR-0033: reviews. Stars are two layers of five glyphs; the coloured one is cut to the average. The input row is reversed in
   the DOM (5 → 1), so a checked or hovered star also colours the stars before it. */
.stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 2px; color: var(--line-strong); white-space: nowrap; vertical-align: -2px; }
.stars::before { content: "★★★★★"; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #d99a00; }
.stars-fill::before { content: "★★★★★"; }
.stars.large { font-size: 1.5rem; }
.rating-strip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: .9375rem; }
.rating-strip strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.rating-strip span:not(.stars):not(.stars-fill) { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.rating-strip .icon { width: 16px; height: 16px; color: var(--muted); }
.rating-strip:hover { border-color: var(--line-strong); }
.rating-summary { display: grid; gap: 16px; margin: 0 0 20px; padding: 18px; }
.rating-overall { display: flex; align-items: center; gap: 14px; }
.rating-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.rating-categories { display: grid; gap: 8px; margin: 0; }
.rating-categories div, .review-stars div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rating-categories dt, .review-stars dt { color: var(--ink-2); font-size: .9375rem; }
.rating-categories dd, .review-stars dd { display: flex; align-items: center; gap: 8px; margin: 0; font-variant-numeric: tabular-nums; }
.rating-categories small { color: var(--muted); }
.review-list { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.review { display: grid; gap: 10px; padding: 16px; }
.review-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.review-date { color: var(--muted); font-size: .875rem; }
.review-stars { display: grid; gap: 4px; margin: 0; max-width: 320px; }
.review-comment { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); line-height: 1.5; }
.review-busy { font-size: .8125rem; }
.review-origin { max-width: 70ch; margin: 8px 0 0; font-size: .8125rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.pager a, .pager-current { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.pager a { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.pager a:hover { border-color: var(--line-strong); }
.pager-current { background: var(--accent); color: var(--accent-ink); }
.pager-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pager-step { gap: 6px; }
.pager-step .icon { width: 16px; height: 16px; }
.review-form .star-input { margin: 0; padding: 0; border: 0; }
.star-input legend { padding: 0; font-weight: 700; }
.star-input .hint { margin: 2px 0 6px; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { padding: 2px 4px; font-size: 2rem; line-height: 1; color: var(--line-strong); cursor: pointer; border-radius: 8px; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: #d99a00; }
.star-row input:focus-visible + label { outline: 3px solid var(--ring); outline-offset: 1px; }
/* 2026-11-06: terms and privacy consent for a customer account (/konto and the checkout); since 2026-11-09 also above the order button. */
.terms-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.review-submit .terms-consent { margin: 0 0 12px; }
/* ADR-0033 (2026-12-04): the optional review tick above the order button – clearly a box with its own line, 44 px to tap. */
.review-opt-in-last { display: flex; gap: 10px; align-items: center; min-height: 44px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--line, #ddd); border-radius: 8px; font-weight: 600; cursor: pointer; }
.review-opt-in-last input { flex: none; width: 20px; height: 20px; }
.terms-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.terms-consent a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.account-opt-in .terms-consent { margin-top: 14px; }
/* 2026-11-12: the order consent is a sentence above the button, not a box: block text, no pointer. */
.order-consent { display: block; cursor: auto; color: var(--muted, inherit); }

/* Product dialog on the menu (2026-11-11): the product page's content over the blurred menu. A sheet from the bottom on phones,
   a centred card from 640px; the buy bar sticks to the dialog's bottom edge instead of the window's. */
html:has(.product-dialog[open]) { overflow: hidden; }
.product-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 24px 24px 0 0;
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(34, 43, 41, .3); overflow: auto; overscroll-behavior: contain; }
.product-dialog[open] { animation: dialog-in .22s cubic-bezier(.2, .7, .2, 1); }
.product-dialog::backdrop { background: rgba(34, 43, 41, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } }
.dialog-close { position: sticky; top: 12px; z-index: 2; float: right; display: grid; place-items: center; width: 40px; height: 40px; margin: 12px 12px -52px 0;
  padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.dialog-close:hover { background: var(--paper); }
.dialog-close .icon { width: 20px; height: 20px; }
.product-dialog-body { padding: 22px 20px 0; }
.product-dialog .product-main h1 { padding-right: 48px; font-size: 1.625rem; }
.product-dialog .product-hero { aspect-ratio: 16 / 9; }
.product-dialog .product-layout:not(.no-picture) .product-media { position: static; }
.product-dialog .buy-bar { position: sticky; bottom: 0; gap: 8px; margin: 0 -20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
/* The bar is in the flow here (not fixed as on the product page), so its width must never widen the layout on a 375px phone. */
.product-dialog .product-layout { grid-template-columns: minmax(0, 1fr); }
.product-dialog .product-main, .product-dialog .product-form, .product-dialog .buy { min-width: 0; }
.product-dialog .buy { padding: 0 12px; }
.product-dialog .stepper .step { width: 34px; }
.product-dialog .stepper.is-enhanced input[type=number] { width: 36px; }
.product-dialog .product-form { padding-bottom: 0; }

@media (min-width: 640px) {
  .product-dialog { width: min(100% - 48px, 600px); max-height: min(90dvh, 880px); margin: auto; border-radius: 24px; }
  .product-dialog:has(.product-layout:not(.no-picture)) { width: min(100% - 48px, 920px); }
  .product-dialog-body { padding: 28px 28px 0; }
  .product-dialog .buy-bar { margin: 0 -28px; padding: 14px 28px; }
}

@media (min-width: 900px) {
  .product-dialog .buy-bar { position: sticky; border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -8px 24px rgba(34, 43, 41, .06); }
  .product-dialog .product-hero { aspect-ratio: 4 / 3; }
  .product-dialog .product-layout:not(.no-picture) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .product-dialog .product-main h1 { font-size: 1.875rem; }
  /* 2026-11-30 (operator): with a picture the dialog keeps its padding at the bottom too, so the picture does not sit on the
     lower edge; the buy bar runs from the right column to the edge only. */
  .product-dialog:has(.product-layout:not(.no-picture)) .product-dialog-body { padding-bottom: 28px; }
  .product-dialog:has(.product-layout:not(.no-picture)) .buy-bar { margin: 0 -28px 0 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-dialog[open] { animation: none; }
}

/* 2026-11-19: eye button inside every password field (_PasswordToggle, password-toggle.js). */
.password-field { position: relative; display: block; min-width: 0; }
.password-field > input { padding-right: 50px; }
.password-field .password-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); margin: 0; width: 42px; height: 42px; min-height: 0; padding: 0; display: inline-grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.password-field .password-toggle[hidden] { display: none; }
.password-field .password-toggle:hover { color: var(--ink); background: var(--line); }
.password-field .password-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.password-toggle > span { display: inline-grid; place-items: center; }
.password-toggle .password-toggle-hide, .password-toggle[aria-pressed="true"] .password-toggle-show { display: none; }
.password-toggle[aria-pressed="true"] .password-toggle-hide { display: inline-grid; }

/* ADR-0057: running Aktionen in the cart summary; the review step applies the best one that fits. */
.promotions { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.promotion { display: grid; gap: 2px; padding: 10px 12px; border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: var(--accent-tint); font-size: .9375rem; }
.promotion strong { color: var(--ink); }
.promotion .meta { color: var(--muted); font-size: .875rem; }
.promotion.reached { border-style: solid; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 7%, #ffffff); }
.promotion.reached .meta { color: var(--ok); font-weight: 600; }

/* ADR-0060 (2026-11-27): the Snack Jack design. The rules above keep the layout of each page; this last block gives every part
   the comic look: black outlines, the hard offset shadow, condensed headings, white pages and the logo colours. */
h1, h2, h3 { font-family: var(--font-display); font-stretch: 75%; font-weight: 700; letter-spacing: 0; line-height: 1.02; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Page (2026-11-27): a light bun orange behind everything, so the white boards, cards and the white header stand out. */
html { background: var(--page); }

/* Header and footer */
.site-header { background: #fff; border-bottom: 3px solid var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { color: var(--ink); font-size: 1.6rem; font-stretch: 75%; letter-spacing: 0; }
.header-phone, .header-phone:hover { color: var(--ink); }
.cart-link { height: 44px; border: var(--stroke); border-radius: var(--radius-sm); background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.cart-link:hover { border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.badge { border: 2px solid var(--ink); background: var(--kaese); color: var(--ink); }
.cart-link.is-empty .badge { border-color: var(--line-strong); background: #fff; color: var(--muted); }
.site-footer { border-top: 0; background: var(--ink); color: #cfcfc9; }
.footer-note { color: var(--kaese); font-weight: 600; }
.footer-address, .footer-shop a { color: #fff; }
.footer-contact .icon { color: var(--kaese); }
.social-links a { border: 2px solid #fff; color: #fff; }
.social-links a:hover { border-color: var(--kaese); color: var(--kaese); }
.legal-links a { color: #fff; }
/* The footer column kept no top and bottom space once .wrap set its side padding from 640 px; on black that shows. */
.site-footer .footer-inner { padding-top: 32px; padding-bottom: 32px; }

/* Surfaces, messages, buttons */
.card { border: var(--stroke); border-radius: var(--radius); box-shadow: var(--hard); }
.notice { border: 2px solid var(--ink); border-radius: var(--radius-sm); }
.notice.ok { border-color: var(--ok); }
.notice.warn { border-color: var(--warn); }
.notice.bad { border-color: var(--bad); }
.btn { border: var(--stroke); border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .1s, box-shadow .1s, background-color .15s; }
.btn:hover { border-color: var(--ink); background: #ad0a0d; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { border-color: var(--ink); background: var(--accent); box-shadow: none; transform: none; }
.btn.secondary, .btn.secondary:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn.ghost { border-color: transparent; background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--fill); transform: none; box-shadow: none; }
.btn.danger, .btn.danger:hover { border-color: var(--ink); background: #8f0a0c; color: #fff; }
.btn.small { box-shadow: 2px 2px 0 var(--ink); }
.btn.block + .btn.block { margin-top: 12px; }

/* Form controls and choices */
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], select, textarea, .note-form textarea { border: 2px solid var(--ink); border-radius: var(--radius-sm); }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ring); }
input[type=radio], input[type=checkbox] { border: 2px solid var(--ink); }
input[type=checkbox]:checked { border-color: var(--ink); }
input[type=radio]:checked { border-color: var(--ink); }
.form-section { border: 2px solid var(--ink); }
.choice-card, .option { border: 2px solid var(--line-strong); }
.choice-card:hover, .option:hover { border-color: var(--ink); }
.choice-card:has(input:checked), .option:has(input:checked) { border-color: var(--ink); background: var(--kaese-tint); box-shadow: 3px 3px 0 var(--ink); }
.choice-icon { border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--fill); }
.choice-card:has(input:checked) .choice-icon { background: var(--kaese); color: var(--ink); }
.group-rule { border: 2px solid var(--line-strong); }
.group-rule.required { border-color: var(--ink); background: var(--kaese); }
.login-inline { border: 2px solid var(--ink); background: var(--kaese-tint); }
.step-dot { border: 2px solid var(--ink); }
.steps li.active .step-dot { border-color: var(--ink); }
.steps li:not(:last-child)::after { background: var(--line-strong); }
.stepper { border: 2px solid var(--ink); }
.stepper:focus-within { border-color: var(--ink); }
.stepper .step:hover { background: var(--fill); }
.tabs { border-bottom: 2px solid var(--ink); }
.tabs a.is-active { border-bottom: 3px solid var(--ink); margin-bottom: -2px; }
.suggestions { border: 2px solid var(--ink); }
.address-row, .address-list li { border: 2px solid var(--line-strong); }
.address-list .tag { border: 2px solid var(--ink); background: var(--kaese); color: var(--ink); }
.order-details > summary:hover { background: var(--fill); }
.confirm-dialog { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }

/* Menu: orange intro, category tabs, every category one board of rows */
.intro { position: relative; border: 3px solid var(--ink); border-radius: 16px; background: var(--bun); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(var(--bun-dot) 28%, transparent 31%) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 95%); mask-image: linear-gradient(110deg, transparent 35%, #000 95%); }
.intro > * { position: relative; }
.intro-body::before { content: none; }
.intro h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: 0; }
.intro-tagline { color: var(--ink); font-weight: 600; }
.intro-status { align-items: center; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 600; }
.intro-status::before { width: 11px; height: 11px; border: 2px solid var(--ink); background: var(--ok); transform: none; }
.intro-status.warn::before { background: var(--accent); }
.intro-image { height: 170px; object-fit: contain; object-position: bottom center; padding-top: 14px; }
/* Category bar (2026-11-27, replaces the folder tabs of design 1e, which came apart from the boards once the bar stuck under the
   header): one outlined white bar with the categories in a single row, scrolling sideways when they do not fit; shop.js marks the
   category in view black. The bar keeps a strip of page colour above it, so rows do not peek out between header and bar.
   Every category is its own outlined board of rows. */
.category-nav { top: calc(var(--header) + 8px); flex-wrap: nowrap; gap: 4px; align-items: center; margin: 4px 0 6px; padding: 5px; overflow-x: auto;
  border: var(--stroke); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink), 0 -10px 0 6px var(--page); }
.category-nav::after { display: none; }
/* The bar is one row at every width now, so jump targets keep 8 px + the bar (about 55 px) + 14 px clear under the header, not
   the two rows of the old wrapping bar; shop.js measures the real height and overrides this. */
:root { --catnav: 78px; }
.category-nav a { flex: none; padding: 7px 13px; border: 2px solid transparent; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.category-nav a:hover { border-color: transparent; background: var(--kaese-tint); color: var(--ink); }
.category-nav a.is-current, .category-nav a.is-current:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.category-nav a.promotion-link { border-color: var(--ink); background: var(--kaese); color: var(--ink); }
.category-nav a.promotion-link.is-current { background: var(--ink); color: var(--kaese); }
.category { margin-top: 26px; padding: 0; border: var(--stroke); border-radius: var(--radius); background: #fff; box-shadow: var(--hard); }
.category-nav + .category { margin-top: 18px; }
.category h2 { margin: 0; padding: 20px 18px 6px; font-size: 2rem; }
.items { gap: 0; grid-template-columns: minmax(0, 1fr); }
.item + .item .item-link { border-top: 1px solid var(--line); }
.item:last-child .item-link { border-radius: 0 0 10px 10px; }
/* A row: name, "Aktion" sticker and description on the left, the price tag with the plus on the right (picture before it). */
.item-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text buy"; align-items: center; gap: 10px 22px; min-height: 0; padding: 18px; border: 0; border-radius: 0; background: transparent; }
.item.with-picture .item-link { grid-template-columns: minmax(0, 1fr) 88px auto; grid-template-areas: "text pic buy"; }
a.item-link:hover { border-color: var(--line); background: var(--kaese-tint); box-shadow: none; }
.item-text { grid-area: text; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; padding: 0; }
.item .name { font-size: 1.0625rem; font-weight: 700; }
.item .description, .item .item-text .meta { flex-basis: 100%; }
.product-picture { grid-area: pic; width: 88px; height: 88px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--fill); }
.buy-tag { grid-area: buy; justify-self: end; display: inline-flex; align-items: center; transform: rotate(-2deg); transition: transform .12s; }
.item:nth-child(even) .buy-tag { transform: rotate(1.5deg); }
a.item-link:hover .buy-tag { transform: translateY(-2px); }
.item .price { position: relative; margin: 0; padding: 5px 24px 5px 12px; border: var(--stroke); border-radius: 8px 0 0 8px; background: var(--kaese); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display); font-stretch: 75%; font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.item .price small { font-family: var(--font); font-stretch: normal; font-size: .72rem; font-weight: 600; }
.item-add { position: relative; right: auto; bottom: auto; z-index: 1; width: 44px; height: 44px; margin-left: -14px; border: var(--stroke); border-radius: 50%;
  background: var(--bun); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.item.with-picture .item-add { right: auto; bottom: auto; box-shadow: 3px 3px 0 var(--ink); }
.item.is-soldout .item-link { background: transparent; }
.item.is-soldout .buy-tag { transform: none; }
.item.is-soldout .price { padding-right: 12px; border-color: var(--line-strong); border-radius: 8px; background: var(--fill); color: var(--muted); box-shadow: none; }
.item.is-promotion .item-link { padding-top: 18px; border-color: var(--line); }
.promo-badge { position: static; display: inline-block; padding: 1px 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--kaese); color: var(--ink);
  font-size: .75rem; font-weight: 800; letter-spacing: 0; text-transform: none; box-shadow: none; transform: rotate(-4deg); }
.item.is-soldout .promo-badge { border-color: var(--line-strong); background: var(--fill); color: var(--muted); }
.cart-aside { box-shadow: 6px 6px 0 var(--ink); }
.cart-aside h2 { font-size: 1.8rem; }
.mini-lines { border-top: 1px dashed var(--line-strong); }
.mini-lines li { border-bottom: 1px dashed var(--line-strong); }
.mini-total .price, .totals .grand { font-family: var(--font-display); font-stretch: 75%; }
.mini-total { align-items: center; }
.mini-total .price { padding: 3px 12px; border: var(--stroke); border-radius: 8px; background: var(--kaese); box-shadow: 3px 3px 0 var(--ink); font-size: 1.5rem; transform: rotate(-2deg); }
/* Diet labels (2026-11-27): small outlined round icons after name and "Aktion" sticker; on the product page with the word. */
.diet-labels { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: middle; }
.item-text .diet-labels { align-self: center; }
.diet { display: inline-grid; place-items: center; width: 27px; height: 27px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.diet-vegan, .diet-vegetarian { color: #2d7a3a; }
.diet-spicy { color: var(--accent); }
.diet-labels.wide { gap: 6px; margin: -2px 0 8px; }
.diet-labels.wide .diet { width: auto; height: 28px; gap: 5px; padding: 0 10px 0 6px; border-radius: 999px; grid-auto-flow: column; color: var(--ink); font-size: .85rem; font-weight: 600; }
.diet-labels.wide .diet-vegan .diet-icon, .diet-labels.wide .diet-vegetarian .diet-icon { color: #2d7a3a; }
.diet-labels.wide .diet-spicy .diet-icon { color: var(--accent); }
.item.is-soldout .diet { border-color: var(--line-strong); color: var(--muted); }
.diet-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; color: var(--ink-2); font-size: .875rem; }
.diet-legend > span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 639px) {
  .item-link { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "buy"; }
  .item.with-picture .item-link { grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "text pic" "buy buy"; }
  .product-picture { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .buy-tag { transition: none; }
  a.item-link:hover .buy-tag { transform: rotate(-2deg); }
}
.cart-bar { border: 2.5px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.cart-bar-count { border-radius: 50%; background: var(--kaese); color: var(--ink); }
.cart-bar-total { font-family: var(--font-display); font-stretch: 75%; font-size: 1.25rem; font-weight: 700; }
.toast { border: var(--stroke); box-shadow: var(--hard); }

/* Product page and dialog */
.product-hero { border: var(--stroke); border-radius: var(--radius); }
.product-main h1 { font-size: 2.4rem; }
.product-price { font-family: var(--font-display); font-stretch: 75%; font-size: 1.6rem; color: var(--ink); }
.buy-bar { border-top: 3px solid var(--ink); box-shadow: none; }
.product-dialog { border: 3px solid var(--ink); border-bottom: 0; box-shadow: none; }
.dialog-close { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.dialog-close:hover { background: var(--kaese-tint); }

/* Cart, review, status pages, reviews */
.totals .grand { border-top: 2px solid var(--ink); font-size: 1.4rem; font-weight: 700; }
.discount-box { border-top: 1px dashed var(--line-strong); }
.empty-icon, .status-icon { border: var(--stroke); background: var(--fill); }
.status-icon.done { background: #dff1e0; }
.status-icon.bad { background: #fbe3e1; }
.status .title { font-size: 2.2rem; }
.timeline li.current::before { border: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--kaese); }
.tracking { border: 2px solid var(--ink); background: #fff; }
.promotion { border: 2px dashed var(--ink); background: var(--kaese-tint); }
.rating-strip { border: var(--stroke); border-radius: var(--radius-sm); box-shadow: 3px 3px 0 var(--ink); }
.rating-strip:hover { border-color: var(--ink); }
.stars-fill { color: #e8860f; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: #e8860f; }
.pager a { border: 2px solid var(--ink); }
.pager-current { background: var(--ink); color: #fff; }

@media (min-width: 640px) {
  h1 { font-size: 2.75rem; }
  .intro h1 { font-size: 3.4rem; }
  .intro.has-banner .intro-image { align-self: end; height: 280px; min-height: 0; padding: 20px 24px 0 0; }
}

@media (min-width: 900px) {
  .product-main h1 { font-size: 2.8rem; }
  .buy-bar { border-top: 0; }
  .product-dialog .buy-bar { border-top: 3px solid var(--ink); }
}

@media (min-width: 640px) {
  .product-dialog { border-bottom: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .cart-link:hover { transform: none; }
}

/* Gift voucher (ADR-0061, 2026-11-27): the second button of the start page and the purchase page. The amounts are price-tag
   tiles like the menu's; the own amount field shows only when "Eigener Betrag" is chosen (without :has support it stays). */
.hero-voucher .icon { width: 20px; height: 20px; }
.voucher-lead { margin: 0 0 18px; color: var(--ink-2); }
.voucher-amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; margin-bottom: 14px; }
.voucher-amount { position: relative; display: block; cursor: pointer; }
.voucher-amount input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.voucher-amount span { display: grid; place-items: center; min-height: 58px; padding: 6px 10px; border: var(--stroke); border-radius: 10px; background: #fff;
  box-shadow: 3px 3px 0 var(--ink); font-family: var(--font-display); font-stretch: 75%; font-size: 1.6rem; font-weight: 700; line-height: 1.05; text-align: center; }
.voucher-amount.own span { font-family: var(--font); font-stretch: normal; font-size: .95rem; }
.voucher-amount:hover span { background: var(--kaese-tint); }
.voucher-amount input:checked + span { background: var(--kaese); transform: rotate(-2deg); }
.voucher-amount input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.voucher-form:has(.voucher-amount input:checked):not(:has(.voucher-amount.own input:checked)) .voucher-own { display: none; }
.voucher-terms { margin: 0; }
/* 2026-12-01: the invoice address of a voucher purchase. */
.voucher-form .form-section > .hint { margin: 0 0 12px; }
.voucher-form .form-section > .field + .field-grid, .voucher-form .field-grid + .field-grid { margin-top: 14px; }
@media (min-width: 640px) { .postal-row { grid-template-columns: 150px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .voucher-amount input:checked + span { transform: none; } }
/* Category icons from the hub (2026-11-28): shown as uploaded, small before the name in the bar, larger beside the heading. */
.category-nav a:has(.category-icon) { display: inline-flex; align-items: center; gap: 6px; }
.category-icon { display: block; flex: none; width: 20px; height: 20px; object-fit: contain; }
.category h2.has-icon { display: flex; align-items: center; gap: 10px; }
.category h2 .category-icon { width: 40px; height: 40px; }
