:root {
  /* ---- Farben Hell (Rot/Weiß) ---- */
  --brand: #c8102e;          /* Rot für Buttons, Akzente */
  --brand-dark: #a00c24;     /* Rot für Text/Links auf Weiß (Kontrast > 7:1) */
  --brand-soft: #fdecee;     /* zartes Rot für Hinweise */
  --on-brand: #ffffff;       /* Schrift auf Rot */
  --header-bg: #c8102e;
  --header-ink: #ffffff;
  --header-muted: #ffe4e8;
  --coal: #1a1a1a;           /* dunkle Flächen: aktive Chips, Meldungen, Fußbereich */
  --on-coal: #ffffff;
  --bg: #ffffff;
  --cream: #f6f6f6;          /* dezente Flächen */
  --card: #ffffff;
  --field: #ffffff;
  --field-line: #8a8a8a;     /* Formularrahmen (Kontrast ≥ 3:1) */
  --ink: #1a1a1a;
  --muted: #595959;
  --line: #e3e3e3;
  --ok: #1e7b34;
  --ok-soft: #e7f5ea;
  --bad: #b3141f;
  --bad-soft: #fde8e9;
  --warn-soft: #fff4cc;
  --warn-ink: #5c4400;
  --disabled: #c4c4c4;
  --focus: #1a56db;          /* gut sichtbarer Fokusrahmen */
  --overlay: rgba(10, 10, 10, .6);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
  --font-scale: 1;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: calc(100% * var(--font-scale));
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
/* ---- Dunkelmodus (Schwarz/Rot) ---- */
:root[data-theme="dark"] {
  --brand: #d81f36;
  --brand-dark: #ff7b88;     /* Rot für Text auf Schwarz */
  --brand-soft: #3a1217;
  --on-brand: #ffffff;
  --header-bg: #000000;
  --header-ink: #ffffff;
  --header-muted: #d0d0d0;
  --coal: #000000;
  --on-coal: #ffffff;
  --bg: #0b0b0b;
  --cream: #1c1c1c;
  --card: #151515;
  --field: #101010;
  --field-line: #8c8c8c;
  --ink: #f2f2f2;
  --muted: #b5b5b5;
  --line: #2c2c2c;
  --ok: #5fd07a;
  --ok-soft: #12301a;
  --bad: #ff7b88;
  --bad-soft: #3a1217;
  --warn-soft: #3a2f05;
  --warn-ink: #ffe28a;
  --disabled: #4a4a4a;
  --focus: #7cb1ff;
  --overlay: rgba(0, 0, 0, .75);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 16px rgba(0, 0, 0, .4);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: var(--brand-dark); text-underline-offset: .15em; }
h1, h2, h3 { line-height: 1.2; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; color: var(--muted); margin: .25rem 0; }
.pre { white-space: pre-line; }

/* ---------- Kopfbereich */
.hero {
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 4px solid var(--brand);
  padding: 1.4rem 1rem 1rem;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.hero h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: -.02em; }
.tagline { margin: .25rem 0 0; color: var(--header-muted); }
.pill { font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: 99px; white-space: nowrap; background: rgba(0, 0, 0, .35); color: #fff; }
.pill-open { background: #14532d; color: #fff; }
.pill-closed { background: #111; color: #fff; }
.hero-controls { flex-direction: column; align-items: stretch; margin-top: 1rem; gap: .5rem; }
.mode-toggle { display: inline-flex; background: rgba(0, 0, 0, .25); border-radius: 99px; padding: 4px; align-self: flex-start; }
.mode-toggle button { border: 0; background: transparent; color: var(--header-ink); font: inherit; font-weight: 600; padding: .55rem 1.1rem; min-height: 44px; border-radius: 99px; cursor: pointer; }
.mode-toggle button.active { background: #fff; color: #a00c24; }
.mode-toggle-sm { background: var(--cream); margin-bottom: .75rem; }
.mode-toggle-sm button { color: var(--muted); }
.mode-toggle-sm button.active { background: var(--brand); color: var(--on-brand); }
.mode-info { margin: 0; font-size: .875rem; color: var(--header-muted); }

.demo-banner, .info-banner, .closed-banner { padding: .7rem 1rem; text-align: center; font-size: .9rem; }
.demo-banner { background: var(--warn-soft); color: var(--warn-ink); }
.info-banner { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.closed-banner { background: var(--bad-soft); color: var(--bad); font-weight: 600; }

/* ---------- Kategorien-Leiste */
.cat-nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.cat-nav-inner { position: relative; max-width: 1100px; margin: 0 auto; display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; padding: .5rem .9rem; border-radius: 99px; background: var(--card); border: 1px solid var(--line); min-height: 40px; display: inline-flex; align-items: center; }
.cat-nav a.active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* ---------- Speisekarte */
.menu { max-width: 1100px; margin: 0 auto; padding: .5rem 1rem 7rem; }
.loading { text-align: center; color: var(--muted); padding: 3rem 0; }
.cat h2 { margin: 1.6rem 0 .2rem; font-size: 1.35rem; }
.cat-note { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; margin-top: .6rem; }
.card {
  position: relative; display: flex; gap: .75rem; align-items: stretch; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; font: inherit; color: inherit;
  cursor: pointer; box-shadow: var(--shadow); transition: transform .12s ease, border-color .12s ease;
}
.card:hover { border-color: var(--brand); transform: translateY(-1px); }

.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-title { font-weight: 650; display: flex; gap: .4rem; align-items: baseline; }
.num { font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--cream); border-radius: 6px; padding: 0 .35rem; }
.card-desc { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: .5rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.price { font-weight: 700; }
.card-img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.card-add { position: absolute; right: .6rem; bottom: .6rem; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; line-height: 1; }
.card.has-img .card-add { right: .9rem; bottom: .9rem; box-shadow: 0 0 0 3px var(--card); }

/* ---------- Fußbereich */
.site-footer { background: var(--coal); color: #e6e6e6; border-top: 4px solid var(--brand); padding: 2rem 1rem 8rem; font-size: .9rem; }
.site-footer > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.site-footer a { color: #ff9aa5; }
.site-footer h3 { font-size: 1rem; margin: 1rem 0 .4rem; color: #fff; }
.hours td { padding: .1rem 1.2rem .1rem 0; }
.legend { margin-top: 1rem; }
.legend summary { cursor: pointer; color: #fff; min-height: 32px; }
.legal-links { display: flex; gap: 1.2rem; margin-top: 1.2rem; }

/* ---------- Warenkorb-Leiste */
.cart-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 2rem)); display: flex; align-items: center; gap: .75rem;
  border: 0; border-radius: 99px; padding: .9rem 1.2rem; background: var(--brand); color: var(--on-brand); font: inherit; font-weight: 650;
  box-shadow: 0 10px 30px rgba(200, 16, 46, .35); cursor: pointer; z-index: 20;
}
.cart-count { background: rgba(255, 255, 255, .25); border-radius: 99px; min-width: 1.8rem; padding: .1rem .5rem; text-align: center; }
.cart-bar-total { margin-left: auto; }

/* ---------- Dialoge (Bottom-Sheets auf dem Handy) */
dialog.sheet {
  border: 0; padding: 0; width: min(560px, 100%); max-height: min(92vh, 900px); border-radius: 18px; background: var(--card); color: var(--ink);
  display: none; flex-direction: column; overflow: hidden;
}
dialog.sheet[open] { display: flex; }
dialog.sheet::backdrop { background: var(--overlay); }
@media (max-width: 640px) {
  dialog.sheet { position: fixed; inset: auto 0 0 0; margin: 0; max-width: 100%; width: 100%; border-radius: 18px 18px 0 0; max-height: 94dvh; }
}
.sheet > form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem .6rem; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.sheet-body { padding: 1rem 1.1rem; overflow-y: auto; flex: 1; min-height: 0; }
.sheet-foot { padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.sheet-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: .5rem; }
.icon-btn { border: 0; background: var(--cream); width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }

.opt-group { border: 0; padding: 0; margin: 1rem 0; }
.opt-group legend { font-weight: 650; padding: 0; margin-bottom: .4rem; display: flex; gap: .5rem; align-items: center; }
.req { font-size: .75rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-dark); padding: .1rem .45rem; border-radius: 99px; }
.opt-rule { font-size: .75rem; font-weight: 500; color: var(--muted); }
.opt { display: flex; align-items: center; gap: .7rem; padding: .65rem .2rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.opt input:disabled + .opt-name { color: var(--muted); text-decoration: line-through; }
.opt-name { flex: 1; }
.opt-price { color: var(--muted); font-size: .9rem; }

.field { display: flex; flex-direction: column; gap: .25rem; margin: .6rem 0; flex: 1; }
.field.half { flex: 0 0 30%; }
.field > span { font-size: .85rem; font-weight: 550; }
.field input, .field textarea, .field select {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--field-line); border-radius: 10px; background: var(--field); color: inherit; width: 100%; min-height: 44px;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field-row { display: flex; gap: .6rem; }
.check { display: flex; gap: .5rem; align-items: center; margin: .8rem 0 .3rem; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.checkout h3 { margin: 1.1rem 0 .2rem; font-size: 1rem; }
.addr-status { font-size: .88rem; margin: .2rem 0; color: var(--muted); }
.addr-status.ok { color: var(--ok); font-weight: 600; }
.addr-status.bad { color: var(--bad); font-weight: 600; }

.qty-row { display: flex; gap: .7rem; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { border: 0; background: transparent; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty-val { min-width: 1.6rem; text-align: center; font-weight: 650; }
.qty-sm button { width: 32px; height: 32px; font-size: 1rem; }

.btn { font: inherit; font-weight: 650; border: 0; border-radius: 12px; padding: .85rem 1.1rem; cursor: pointer; min-height: 44px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(.9); }
.btn:disabled { background: var(--disabled); color: var(--ink); cursor: not-allowed; }
.btn-block { flex: 1; width: 100%; }
.form-error { color: var(--bad); font-weight: 600; margin: 0 0 .5rem; min-height: 0; }
.form-error:empty { display: none; }
.hint { background: var(--brand-soft); color: var(--brand-dark); padding: .6rem .8rem; border-radius: 10px; font-size: .9rem; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.note { font-style: italic; }
.summary { margin: 1rem 0 .5rem; }
.sum-row { display: flex; justify-content: space-between; padding: .2rem 0; }
.sum-row.total { font-weight: 750; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .5rem; }

/* ---------- Meldungen */
#toasts { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: .4rem; width: min(420px, calc(100% - 2rem)); }
.toast { background: var(--coal); color: var(--on-coal); border: 1px solid var(--line); padding: .7rem 1rem; border-radius: 12px; box-shadow: var(--shadow); transition: opacity .4s; font-size: .92rem; }
.toast-error { background: #b3141f; color: #fff; }
.toast.out { opacity: 0; }

/* ---------- Einfache Seiten (Bestellstatus, Rechtliches, Demo-Zahlung) */
.page { max-width: 640px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0; }
.steps li { display: flex; gap: .7rem; align-items: center; padding: .45rem 0; color: var(--muted); }
.steps li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.steps li.done { color: var(--ok); }
.steps li.done::before { background: currentColor; }
.steps li.current { color: var(--ink); font-weight: 650; }
.steps li.current::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.big-num { font-size: 2.4rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.eta { font-size: 1.15rem; font-weight: 650; color: var(--brand-dark); }

/* ---------- Gutscheine & Stammkunden */
.vip-banner { padding: .7rem 1rem; text-align: center; font-size: .92rem; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.coupon-box { margin: 1rem 0 .3rem; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; font: inherit; padding: .65rem .8rem; border: 1px dashed var(--field-line); border-radius: 10px; text-transform: uppercase; background: var(--field); color: inherit; min-height: 44px; }
.coupon-row .btn { padding: .65rem .9rem; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; background: var(--ok-soft); color: var(--ok); font-weight: 600; padding: .6rem .8rem; border-radius: 10px; }
.linklike.small { font-size: .85rem; text-decoration: underline; color: inherit; }
.sum-row.discount { color: var(--ok); font-weight: 600; }

/* ---------- Barrierefreiheit: Grundlagen (gelten immer) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip-link { position: absolute; left: .5rem; top: -100px; z-index: 2000; background: var(--card); color: var(--ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: .5rem; }
.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; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Bedienleiste Darstellung */
.view-tools { display: flex; gap: .4rem; }
.tool-btn { border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: var(--header-ink); font: inherit; font-size: .85rem; font-weight: 600; min-height: 44px; padding: .35rem .7rem; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.tool-btn:hover { background: rgba(255, 255, 255, .15); }
.hero-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.a11y-panel .opt { padding: .8rem .2rem; }
.a11y-panel .opt-name strong { display: block; }

/* ---------- Barrierefreier Modus (vom Nutzer einschaltbar) */
:root.a11y-large { --font-scale: 1.25; }
:root.a11y-contrast { --muted: var(--ink); --line: var(--ink); --field-line: var(--ink); --brand-dark: #8a0019; }
:root[data-theme="dark"].a11y-contrast { --bg: #000; --card: #000; --cream: #000; --brand-dark: #ffb3bb; --brand: #e0283c; }
:root.a11y-contrast .card, :root.a11y-contrast .panel, :root.a11y-contrast dialog.sheet { border: 2px solid var(--ink); }
:root.a11y-contrast .btn, :root.a11y-contrast .cat-nav a { border: 2px solid var(--ink); }
:root.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px; }
:root.a11y-motion *, :root.a11y-motion *::before, :root.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root.a11y-spacing body { letter-spacing: .04em; word-spacing: .12em; line-height: 1.8; }
:root.a11y-spacing p { margin-bottom: 1.2em; }
.page-tools { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.page-view-tools .tool-btn { color: var(--ink); border-color: var(--field-line); }
.page-view-tools .tool-btn:hover { background: var(--cream); }
.tool-btn.active { box-shadow: inset 0 0 0 2px currentColor; }
.hero-inner { flex-wrap: wrap; }
.view-tools { flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero-top-right { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}
:root.a11y-large .hero-top-right { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.legal-links { flex-wrap: wrap; row-gap: .6rem; }
/* ---------- Logo */
.logo-h1 { margin: 0; line-height: 0; }
.logo-h1 img { width: clamp(88px, 22vw, 130px); height: auto; display: block; }
.brand { display: flex; align-items: center; gap: 1rem; }
.brand .tagline { max-width: 22ch; font-weight: 500; }
.mini-hero { background: var(--header-bg); border-bottom: 4px solid var(--brand); padding: .8rem 1rem; display: flex; justify-content: center; }
.mini-hero img { width: 84px; height: auto; display: block; }
.login-logo { display: flex; justify-content: center; background: var(--header-bg); border-radius: 12px; padding: 1rem; margin-bottom: .5rem; }
.login-logo img { width: 110px; height: auto; }

/* ---------- Adress-Vorschläge */
.ac-list { list-style: none; margin: -.3rem 0 0; padding: .3rem; border: 1px solid var(--field-line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); max-height: 260px; overflow-y: auto; }
.ac-item { display: flex; flex-direction: column; padding: .65rem .7rem; border-radius: 9px; cursor: pointer; min-height: 44px; }
.ac-item span { font-size: .85rem; color: var(--muted); }
.ac-item:hover, .ac-item[aria-selected="true"] { background: var(--brand-soft); }
.ac-item[aria-selected="true"] { outline: 2px solid var(--focus); outline-offset: -2px; }
.ac-credit { font-size: .75rem; color: var(--muted); text-align: right; margin: .2rem .2rem 0; }

.recent-order { padding: .7rem 1rem; text-align: center; background: var(--cream); border-bottom: 1px solid var(--line); }
.recent-order a { font-weight: 700; }
.app-back { display: block; text-align: center; text-decoration: none; }
.loading .btn { margin-top: .8rem; }

/* ---------- Kundenkonto & Punkte */
a.tool-btn { text-decoration: none; }
.points-hint { background: var(--warn-soft); color: var(--warn-ink); padding: .6rem .8rem; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.points-hint a { color: inherit; }
.voucher-chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: 1rem; }
.chip { border: 1px solid var(--ok); background: var(--ok-soft); color: var(--ok); font: inherit; font-weight: 700; font-size: .9rem; border-radius: 99px; padding: .45rem .8rem; cursor: pointer; min-height: 40px; }
.points-card { background: var(--brand); color: var(--on-brand); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; }
.points-card .big { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: .3rem 0; }
.points-card p { margin: .3rem 0; }
.progress { height: 12px; background: rgba(255, 255, 255, .3); border-radius: 99px; overflow: hidden; margin: .6rem 0 .3rem; }
.progress > span { display: block; height: 100%; background: #fff; border-radius: 99px; }
.tabs-inline { display: flex; gap: .4rem; margin-bottom: 1rem; }
.tabs-inline button { flex: 1; border: 1px solid var(--field-line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; padding: .7rem; border-radius: 10px; cursor: pointer; min-height: 44px; }
.tabs-inline button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.voucher { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.voucher code { font-size: 1.05rem; font-weight: 700; letter-spacing: .05em; }
.order-row { display: flex; justify-content: space-between; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ledger-row { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ledger-row .plus { color: var(--ok); font-weight: 700; }
.ledger-row .minus { color: var(--bad); font-weight: 700; }
.danger-zone { border: 1px solid var(--bad); }
.points-card .tiny { color: #fff; opacity: .92; }
.points-card .btn-sec { background: #fff; color: #a00c24; border: 0; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-sec { background: var(--card); color: var(--ink); border: 1px solid var(--field-line); }
.btn-sec:hover { background: var(--cream); }
.btn-danger { background: var(--card); color: var(--bad); border: 1px solid var(--bad); }
.oactions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
details.panel > summary { cursor: pointer; font-weight: 700; min-height: 32px; display: list-item; }
details.panel[open] > summary { margin-bottom: .6rem; }

/* ---------- Schnellauswahl (Komplett / Ohne scharf) */
.preset-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.preset-btn { flex: 1 1 0; min-width: 120px; min-height: 48px; border: 2px solid var(--brand); background: var(--card); color: var(--brand-dark); font: inherit; font-weight: 750; border-radius: 12px; cursor: pointer; padding: .6rem .8rem; }
.preset-btn[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.preset-btn[aria-pressed="true"]::before { content: '✓ '; }

/* ---------- Mengen-Auswahl (z. B. Soßen: 2 inklusive) */
.opt-qty { cursor: default; }
.opt-qty .qty { margin-left: auto; }
.opt-qty.picked .opt-name { font-weight: 700; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Vorschläge vor der Kasse */
.upsell-sec h3 { margin: .75rem 0 .5rem; font-size: 1.05rem; }
.upsell-card { display: flex; gap: .75rem; align-items: center; padding: .85rem; border: 2px solid var(--brand); border-radius: 14px; margin-bottom: .6rem; background: var(--brand-soft); }
.upsell-text { flex: 1; min-width: 0; }
.upsell-text p { margin: .2rem 0 0; }
.upsell-save { font-weight: 700; color: var(--brand-dark); }
.upsell-drink { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.upsell-drink .grow { flex: 1; min-width: 0; }
.upsell-drink .add-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 1.3rem; cursor: pointer; }
.sheet-foot .btn + .btn { margin-top: .5rem; }

.today-tag { display: inline-block; align-self: flex-start; width: fit-content; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--brand); color: var(--on-brand); padding: .12rem .5rem; border-radius: 99px; margin-bottom: .3rem; }

.excl-note { display: inline-block; width: 100%; text-decoration: none; color: var(--muted); font-style: italic; }

/* ---------- Nochmal bestellen */
.order-item { border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: .6rem; }
.order-item .order-row { border-bottom: 0; }
.reorder-btn { margin-top: .4rem; }

/* ---------- Banner „Zum Startbildschirm“ */
.install-banner { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; gap: .75rem; background: var(--card); color: var(--ink); border: 2px solid var(--brand); border-radius: 16px; padding: .75rem .75rem .75rem .9rem; box-shadow: 0 12px 32px rgba(0,0,0,.28); max-width: 560px; margin: 0 auto; animation: ib-in .3s ease-out; }
@keyframes ib-in { from { transform: translateY(120%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .install-banner { animation: none; } }
.install-banner img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.ib-text { flex: 1; min-width: 0; font-size: .92rem; line-height: 1.35; }
.ib-text p { margin: .15rem 0 0; color: var(--muted); }
.ib-share { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: none; stroke: #0a84ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib-install { flex: none; padding: .6rem .9rem; min-height: 44px; }
.ib-close { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; border-radius: 10px; }
.ib-close:hover { background: var(--cream); }
