/* ===== Bernays Portal – Speisekarte (Farben & Schriften kommen aus „Marke & Design“) ===== */
:root {
  --primary: #134f42; --secondary: #237a69; --accent: #b49c6f; --surface: #ecebe7; --ink: #14231f;
  --primary-deep: color-mix(in srgb, var(--primary) 78%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #fff);
  --paper: #fff;
  --muted: color-mix(in srgb, var(--ink) 58%, var(--surface));
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --danger: #b4432f;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(10, 30, 25, .05), 0 10px 30px -12px rgba(10, 30, 25, .18);
  --heading: 'Brand Heading', 'Brand Sans', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Brand Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Brand Script', 'Brush Script MT', cursive;
  --top: 58px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 0.9688rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--secondary); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Bildausschnitt aus dem Dashboard (x, y, Zoom) */
.pimg { width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); transform: scale(var(--z, 1)); transform-origin: var(--x, 50%) var(--y, 50%); transition: transform .6s var(--ease); }

/* ---------- Kopf: immer sichtbar, Logo quer ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; color: #fff; padding-top: env(safe-area-inset-top); background: var(--primary); transition: box-shadow .3s; }
.top.solid { box-shadow: 0 6px 20px -10px rgba(0,0,0,.4); }
.top-inner { max-width: 720px; margin: 0 auto; height: var(--top); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; gap: 12px; }
.brand { display: block; min-width: 0; }
.brand img { width: 128px; height: auto; }
.top-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }
.lang { display: flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; letter-spacing: .05em; padding: 6px 8px; border-radius: 999px; min-width: 34px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--primary); }

/* ---------- Start: eine Zeile, eine Aussage, ein großes Bild ---------- */
.home { padding-top: calc(var(--top) + env(safe-area-inset-top)); background: var(--surface); }
.home-top { max-width: 720px; margin: 0 auto; padding: 26px 20px 0; }
.home-eyebrow { margin: 0; font: 600 0.7188rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); }
.headline { margin: 10px 0 0; font: 700 clamp(2rem, 9.4vw, 2.75rem)/1.04 var(--heading); color: var(--primary); letter-spacing: -.01em; }
.headline .lk-kicker, .headline .lk-script { font: inherit; letter-spacing: inherit; text-transform: none; max-width: none; display: inline; color: inherit; }
.headline .lk-script { color: var(--accent); }
.headline .lk-script::after { content: '.'; color: var(--primary); }

/* Großes Foto, ohne Überlagerung, blendet langsam über */
.stage { position: relative; max-width: 720px; margin: 22px auto 0; padding: 0 16px; }
.stage-imgs { position: relative; aspect-ratio: 4 / 3.4; border-radius: 26px; overflow: hidden; background: color-mix(in srgb, var(--primary) 10%, #fff); box-shadow: 0 24px 50px -28px rgba(10, 35, 28, .55); cursor: pointer; touch-action: pan-y; }
.stage-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); opacity: 0; transform: scale(calc(var(--z, 1) * 1.08)); transition: opacity 1.2s ease, transform 7s ease-out; }
.stage-imgs img.on { opacity: 1; transform: scale(var(--z, 1)); }
.stage-label { position: absolute; left: 30px; top: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: rgba(255,255,255,.94); padding: 6px 11px; border-radius: 999px; pointer-events: none; }
.stage-label:empty { display: none; }
.stage-cap { all: unset; cursor: pointer; box-sizing: border-box; display: flex; align-items: baseline; gap: 10px; width: 100%; max-width: 720px; margin: 0 auto; padding: 14px 20px 0; }
.stage-cap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.stage-name { flex: 1; min-width: 0; font: 700 1.1875rem/1.2 var(--heading); color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-price { font-weight: 700; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage-cap svg { width: 18px; height: 18px; color: var(--accent); align-self: center; }
.stage-bars { display: flex; gap: 5px; max-width: 720px; margin: 12px auto 0; padding: 0 20px; }
.stage-bars i { flex: 1; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--primary) 14%, transparent); overflow: hidden; }
.stage-bars i.done::after, .stage-bars i.on::after { content: ''; display: block; height: 100%; background: var(--primary); }
.stage-bars i.on::after { animation: bar 6s linear forwards; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .stage-imgs img { transition: opacity .3s; transform: scale(var(--z, 1)); } .stage-bars i.on::after { animation: none; width: 100%; } }

/* Kategorien als runde Bildkacheln */
.tiles-title { max-width: 720px; margin: 34px auto 0; padding: 0 20px; font: 600 0.75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tiles { display: flex; gap: 14px; overflow-x: auto; padding: 12px 20px 26px; scrollbar-width: none; max-width: 720px; margin: 0 auto; }
.tiles::-webkit-scrollbar { display: none; }
.tile { all: unset; cursor: pointer; flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.tile-pic { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--primary); border: 2px solid var(--paper); }
.tile-pic svg { width: 28px; height: 28px; }
.tile-name { font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile:active .tile-pic { transform: scale(.95); }

/* Slogan wie auf der Verpackung: „Ein / Stückchen / Heimat“ in TT Bricks, beige */
.lockup { position: relative; display: flex; flex-direction: column; align-items: center; margin: 28px 0 0; font-weight: 400; color: var(--accent); text-align: center; }
.lk-kicker { font: 500 1.5rem/1.02 var(--script); letter-spacing: 0; text-transform: none; max-width: 5.4em; }
.lk-script { display: block; font: 500 1.5rem/1.02 var(--script); color: inherit; white-space: nowrap; }
.lk-script.no-script { font-family: var(--heading); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(127, 224, 181, 0); } }

/* ---------- Kategorien ---------- */
.cats { position: sticky; top: calc(var(--top) + env(safe-area-inset-top)); z-index: 25; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.cats-scroll { position: relative; display: flex; gap: 4px; overflow-x: auto; padding: 10px 16px; max-width: 720px; margin: 0 auto; scrollbar-width: none; }
.cats-scroll::-webkit-scrollbar { display: none; }
.cats-scroll a { position: relative; z-index: 1; flex: none; text-decoration: none; color: var(--ink); font-size: 0.875rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color .25s; }
.cats-scroll a.active { color: #fff; }
.cats-ink { position: absolute; z-index: 0; top: 10px; height: calc(100% - 20px); left: 0; width: 0; border-radius: 999px; background: var(--primary); transition: transform .35s var(--ease), width .35s var(--ease); }
.search-bar { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; padding: 8px 16px; }
.search-bar svg { color: var(--muted); }
.search-bar input { flex: 1; min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 14px; font: inherit; font-size: 1rem; }
.link-btn { border: 0; background: none; color: var(--secondary); font-weight: 600; padding: 8px 4px; }

/* ---------- Speisekarte: eine Spalte ---------- */
.menu { max-width: 720px; margin: 0 auto; padding: 4px 16px 30px; outline: none; }
.cat { padding-top: 30px; }
.cat-head { margin: 0 0 14px; }
.cat-head h2 { margin: 0; font: 700 1.5625rem/1.12 var(--heading); color: var(--primary); overflow-wrap: anywhere; }
.cat-kicker { display: block; margin-bottom: 6px; font: 400 0.6875rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--secondary); }
.cat-reco .cat-head h2 { font: 400 clamp(1.625rem, 8.4vw, 2.375rem)/1.1 var(--script); white-space: nowrap; color: var(--accent); overflow-wrap: normal; }
.cat-reco .cat-head h2.no-script { font: 400 1.375rem/1.15 var(--heading); color: var(--primary); }

.grid { display: flex; flex-direction: column; gap: 10px; }

/* Produkt als Zeile: Foto links, Text rechts */
.card { position: relative; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); }
.card-open { all: unset; cursor: pointer; box-sizing: border-box; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: stretch; width: 100%; padding: 10px; min-height: 124px; }
.card-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 20px; }
.card-img { position: relative; display: block; width: 104px; height: 104px; align-self: center; }
.card-img .clip { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: color-mix(in srgb, var(--primary) 85%, #000); }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--secondary)); color: rgba(255,255,255,.9); font: 400 2.125rem var(--script); }
.card-tags { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.card-tags .tag { font-size: 9px; padding: 3px 7px; }
.card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 2px 0 0; }
.card-orig { font-size: 0.625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); }
.card-name { font: 700 1.0625rem/1.18 var(--heading); color: var(--primary); overflow-wrap: anywhere; }
.card-sub { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: auto; padding-top: 6px; padding-right: 50px; min-height: 46px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card-price b + small { margin-top: 2px; }
.card-price b { font-size: 1rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-price small { font-size: 0.75rem; color: var(--muted); }
.card.is-out .pimg, .card.is-out .card-noimg { filter: grayscale(1) brightness(.7); }
.card.is-out .card-body { opacity: .5; }

/* Große Karte für Neu / Empfehlung: Foto oben, Text darunter */
.card.feature { overflow: hidden; }
.card.feature .card-open { display: block; padding: 0; min-height: 0; }
.card.feature .card-img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.card.feature .card-img .clip { border-radius: 0; }
.card.feature .card-tags { left: 12px; top: 12px; }
.card.feature .card-body { padding: 14px 16px 16px; }
.card.feature .card-name { font-size: 1.3125rem; }
.card.feature .card-sub { font-size: 0.8438rem; }
.card.feature .feat-script { align-self: flex-start; font: 700 0.6562rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 10px; border-radius: 999px; margin-bottom: 6px; }
.card.feature .feat-script.no-script { font: 700 0.6562rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.card.feature .add { bottom: 16px; right: 14px; }

.add { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--primary) 60%, transparent); transition: transform .15s; }
.add:active { transform: scale(.88); }
.add svg { width: 19px; height: 19px; stroke-width: 2.4; }
.add b { font-size: 0.875rem; font-weight: 700; }
.add-sm { position: static; flex: none; width: 34px; height: 34px; }

.tag { display: inline-block; font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--primary); line-height: 1.3; vertical-align: middle; }
.tag-neu { background: var(--accent); color: #fff; }
.tag-empfehlung { background: var(--primary); color: #fff; }
.tag-vegan, .tag-vegetarisch { background: #e3f2e1; color: #2c6a28; }
.tag-scharf { background: #fbe4dc; color: var(--danger); }
.tag-out { background: #2f2f2f; color: #fff; }

/* Empfehlungen: waagerecht wischen */
.reco-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 30px; scrollbar-width: none; }
.reco-scroll::-webkit-scrollbar { display: none; }
.reco-scroll .card { scroll-snap-align: start; }
@media (min-width: 560px) { .reco-scroll { grid-auto-columns: 62%; } }

/* Listen (Getränke) */
.list { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 0; }
.row { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-open { all: unset; cursor: pointer; flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 13px 0 13px 18px; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-name { font-weight: 600; }
.row-sub { font-size: 0.7812rem; color: var(--muted); }
.row-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-price small { font-weight: 400; font-size: 0.6875rem; color: var(--muted); }
.row.is-out .row-text, .row.is-out .row-price { opacity: .45; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .promo { scroll-behavior: auto; }
}
.empty-search { text-align: center; color: var(--muted); padding: 30px 16px 60px; }

/* ---------- Fuß ---------- */
.foot { position: relative; overflow: hidden; background: var(--secondary); color: #fff; text-align: center; margin-top: 40px; }
.foot-logo { width: 150px; height: auto; margin: 0 auto 26px; }
.foot-inner { position: relative; max-width: 520px; margin: 0 auto; padding: 50px 18px calc(36px + env(safe-area-inset-bottom)); }
body.has-cart .foot-inner { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.foot p { margin: 0 0 10px; }
.lockup-sm { margin: 0 0 34px; }
.lockup-sm .lk-kicker, .lockup-sm .lk-script { font-size: 1.625rem; }
.foot-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 20px 18px; margin-bottom: 26px; }
.foot-card p { font: 700 1.1875rem var(--heading); }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.btn-gold svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.foot-social p { font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.foot-social div { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.foot-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: background .2s; }
.foot-social a:hover { background: rgba(255,255,255,.22); }
.foot-info { font-size: 0.875rem; opacity: .9; margin-bottom: 20px; }
.foot-info a { color: #fff; }
.foot-branch { font: 700 1.0625rem var(--heading); }
.pre { white-space: pre-line; }
.foot-legal { font-size: 0.8125rem; opacity: .85; }
.foot-legal a { color: inherit; }
.foot-small { font-size: 0.75rem; opacity: .6; }
.powered { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.16); color: rgba(255,255,255,.85); text-decoration: none; font-size: 0.75rem; letter-spacing: .03em; transition: background .2s; }
.powered strong { color: #fff; font-weight: 700; }
.powered:hover { background: rgba(0,0,0,.26); }

/* ---------- Bestell-Leiste ---------- */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.cart-bar button { pointer-events: auto; width: 100%; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; border: 0; background: var(--primary); color: #fff; border-radius: 18px; padding: 14px 16px 14px 14px; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--primary-deep) 80%, transparent); font-size: 0.9688rem; font-weight: 600; }
.cart-count { min-width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.875rem; padding: 0 7px; }
.cart-label { flex: 1; text-align: left; }
.cart-sum { font-variant-numeric: tabular-nums; }
.cart-bar svg { width: 18px; height: 18px; opacity: .7; }
.cart-bar.bump button { animation: bump .4s var(--ease); }
@keyframes bump { 35% { transform: scale(1.035); } }
.fly { position: fixed; z-index: 70; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); background: var(--accent); transition: transform .65s cubic-bezier(.5, -.3, .7, 1), opacity .65s; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 14px; font-size: 0.875rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Blätter (Produkt, Bestellung) ---------- */
dialog { padding: 0; border: 0; color: inherit; }
.sheet { width: 100%; max-width: 580px; max-height: 92dvh; margin: auto auto 0; border-radius: 26px 26px 0 0; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop, .waiter::backdrop { background: color-mix(in srgb, var(--primary-deep) 60%, transparent); backdrop-filter: blur(3px); }
.sheet[open] { animation: up .36s var(--ease); }
@keyframes up { from { transform: translateY(60px); opacity: .3; } }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 26px; } }
@media (prefers-reduced-motion: reduce) { .sheet[open], .cart-bar.bump button { animation: none; } }
.sheet-inner, .w-inner { outline: none; }
.sheet-inner { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.sheet-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.ps-media { position: relative; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--primary) 85%, #000); overflow: hidden; }
.ps-media.is-empty { aspect-ratio: auto; height: 60px; background: none; }
.ps-body { padding: 20px 20px 8px; }
.ps-tags:empty { display: none; }
.ps-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.ps-tags .tag { background: var(--surface); }
.ps-tags .tag-neu { background: var(--accent); } .ps-tags .tag-empfehlung { background: var(--primary); } .ps-tags .tag-out { background: #2f2f2f; }
.ps-orig { margin: 0 0 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); }
.ps-body h2 { margin: 0; font: 700 1.5625rem/1.15 var(--heading); color: var(--primary); padding-right: 30px; }
.ps-media:not(.is-empty) + .ps-body h2 { padding-right: 0; }
.ps-sub { margin: 4px 0 0; color: var(--muted); }
.ps-price { margin: 12px 0 0; display: flex; gap: 8px; align-items: baseline; }
.ps-price .price { font-size: 1.3125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-price .unit { color: var(--muted); font-size: 0.8125rem; }
.ps-desc { margin: 12px 0 0; line-height: 1.65; }
.ps-notes { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ps-notes li { font-size: 0.875rem; color: var(--secondary); padding-left: 18px; position: relative; }
.ps-notes li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.opt { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.opt legend { font-weight: 600; font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; padding: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 0.9375rem; transition: background .15s, border-color .15s; }
.chip small { color: var(--muted); font-size: 0.8125rem; }
.chip input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); color: var(--primary); }
.chip input:checked + span small { color: var(--secondary); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.chip.is-out span { opacity: .45; text-decoration: line-through; }
.chip input:disabled { cursor: not-allowed; }
.ps-all { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.ps-all summary { cursor: pointer; }
.ps-foot { position: sticky; bottom: 0; margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; flex: none; }
.stepper button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.375rem; display: grid; place-items: center; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper-sm button { width: 36px; height: 38px; font-size: 1.1875rem; }
.stepper-sm svg { width: 18px; height: 18px; color: var(--danger); }
.btn-primary { flex: 1; border: 0; background: var(--primary); color: #fff; font-weight: 600; font-size: 0.9688rem; border-radius: 14px; padding: 14px 16px; min-height: 50px; }
.btn-primary:disabled { opacity: .45; }
.btn-big { width: 100%; font-size: 1.0312rem; padding: 16px; }

.cs-head { padding: 24px 20px 6px; }
.cs-head h2 { margin: 0; font: 700 1.5625rem var(--heading); color: var(--primary); padding-right: 40px; }
.cs-hint { margin: 6px 0 0; font-size: 0.875rem; color: var(--muted); }
.cs-list { list-style: none; margin: 8px 0 0; padding: 0 20px; }
.cs-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cs-thumb { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex: none; background: color-mix(in srgb, var(--primary) 8%, #fff); display: grid; place-items: center; color: var(--primary); }
.cs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cs-text strong { font-weight: 600; }
.cs-text span { font-size: 0.8125rem; color: var(--muted); }
.cs-text .cs-price { color: var(--ink); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.cs-text .tag { align-self: flex-start; color: #fff; }
.cs-list li.is-out .cs-thumb { filter: grayscale(1); }
.cs-list li.is-out strong { text-decoration: line-through; opacity: .6; }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 20px 0; font-size: 1.0625rem; }
.cs-total strong { font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.cs-small { margin: 6px 20px 0; font-size: 0.8125rem; color: var(--muted); }
.cs-actions { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cs-empty { padding: 20px 20px 40px; color: var(--muted); }

/* ---------- Kellner-Ansicht ---------- */
.waiter { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; background: #fff; }
.w-inner { max-width: 640px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); }
.w-inner header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.w-inner header img { width: 120px; height: auto; }
.w-inner h2 { font: 700 1.5rem var(--heading); margin: 22px 0 6px; color: var(--primary); }
.w-inner h2 small { font: 400 0.875rem var(--sans); color: var(--muted); }
.w-inner h3 { margin: 18px 0 4px; font-size: 0.8438rem; font-weight: 600; letter-spacing: .06em; color: var(--secondary); }
.w-inner ul { list-style: none; margin: 0; padding: 0; }
.w-inner li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.w-qty { font: 700 1.625rem/1 var(--sans); color: var(--primary); min-width: 44px; }
.w-name { flex: 1; display: flex; flex-direction: column; }
.w-name strong { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.w-name em { font-style: normal; color: var(--muted); font-size: 0.9375rem; }
.w-opt { font-size: 1rem; color: var(--ink); background: var(--accent-soft); border-radius: 8px; padding: 2px 8px; margin-top: 4px; align-self: flex-start; }
.w-price { color: var(--muted); font-variant-numeric: tabular-nums; }
.w-total { display: flex; justify-content: space-between; font-size: 1.3125rem; margin: 18px 0 22px; }
.w-total strong { font-variant-numeric: tabular-nums; }

/* ---------- Filialauswahl ---------- */
.branches-page { background: var(--primary); min-height: 100dvh; color: #fff; overflow-x: hidden; }
.choose { position: relative; max-width: 460px; margin: 0 auto; padding: calc(44px + env(safe-area-inset-top)) 18px 40px; text-align: center; }
.choose-logo { width: 190px; margin: 0 auto 30px; }
.choose .lockup { margin: 0 0 34px; }
.choose h1 { font: 700 1.375rem var(--heading); margin: 0 0 2px; }
.choose-sub { margin: 0 0 22px; opacity: .7; font-size: 0.875rem; }
.choose-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.choose-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; background: #fff; color: var(--primary); text-decoration: none; border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); transition: transform .2s; }
.choose-list a:active { transform: scale(.98); }
.choose-list span { font: 700 1.125rem var(--heading); }
.choose-list small { grid-column: 1; color: var(--muted); font-size: 0.8125rem; }
.choose-list svg { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); }
.choose .foot-legal a { color: rgba(255,255,255,.85); }

/* ---------- Willkommensseite nach dem QR-Scan ---------- */
.welcome { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--primary); color: #fff; overflow: hidden; }
.welcome.leaving { animation: wl-out .55s var(--ease) forwards; }
@keyframes wl-out { to { opacity: 0; transform: translateY(-3%); visibility: hidden; } }
.wl-photo { position: relative; flex: 1 1 46%; min-height: 180px; overflow: hidden; background: color-mix(in srgb, var(--primary) 70%, #000); }
.wl-panel { position: relative; z-index: 2; flex: none; margin-top: -26px; border-radius: 28px 28px 0 0; background: var(--primary-deep); box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 -18px 40px -20px rgba(0,0,0,.45); padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; animation: wl-in .8s var(--ease) both; }
@keyframes wl-in { from { transform: translateY(30px); opacity: 0; } }
.wl-logo { width: 150px; height: auto; }
.wl-slogan { margin: 10px 0 0; font: 500 18px/1.1 var(--script); color: var(--accent); }
.wl-where { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 14px; }
.wl-where svg { width: 17px; height: 17px; color: var(--accent); }
.wl-title { margin: 16px 0 0; display: flex; flex-direction: column; gap: 2px; font-weight: 400; }
.wl-title span:first-child { font: 700 26px/1.15 var(--heading); }
.wl-title span:not(:first-child) { font-size: 15px; opacity: .78; }
.wl-langs { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.wl-langs button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; border-radius: 16px; padding: 15px 18px; text-align: left; transition: background .2s, transform .15s, border-color .2s; }
.wl-langs button span { font: 700 18px var(--heading); }
.wl-langs button small { font-size: 13px; opacity: .75; }
.wl-langs button::after { content: '›'; font-size: 24px; line-height: 1; margin-left: 4px; opacity: .7; }
.wl-langs button small { margin-left: auto; }
.wl-langs button.suggested { background: #fff; color: var(--primary); border-color: #fff; }
.wl-langs button:active { transform: scale(.98); }
.wl-langs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-height: 700px) { .wl-photo { flex-basis: 26%; min-height: 120px; } .wl-panel { padding-top: 20px; } .wl-title { margin-top: 12px; } .wl-title span:first-child { font-size: 22px; } .wl-langs { margin-top: 16px; gap: 8px; } .wl-langs button { padding: 12px 16px; } .wl-where { margin-top: 12px; } }
@media (max-height: 600px) { .wl-photo { min-height: 90px; } .wl-logo { width: 120px; } .wl-slogan { font-size: 15px; margin-top: 6px; } .wl-title span:not(:first-child) { display: none; } .wl-langs button { padding: 11px 16px; } }
.welcome { overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .wl-panel, .welcome.leaving { animation: none; } }

/* ---------- Intro-Film (film.js) – Tiefe, Licht, Glas ---------- */
.film { position: absolute; inset: 0; overflow: hidden; color: #fff; perspective: 700px;
  background: radial-gradient(120% 90% at 50% 45%, color-mix(in srgb, var(--secondary) 75%, var(--primary)) 0%, var(--primary) 45%, color-mix(in srgb, var(--primary) 55%, #000) 100%); }
.f-bg { position: absolute; inset: -30%; background:
  radial-gradient(30% 26% at 30% 32%, color-mix(in srgb, var(--secondary) 70%, transparent), transparent 70%),
  radial-gradient(26% 22% at 72% 68%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  animation: f-drift 14s ease-in-out infinite alternate; }
@keyframes f-drift { to { transform: translate(8%, -6%) rotate(8deg); } }
.f-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.f-scene { position: absolute; inset: 0 0 26px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform-style: preserve-3d; }
.f-scene.on { opacity: 1; animation: f-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.f-scene.off { opacity: 1; animation: f-out .7s cubic-bezier(.6, 0, .8, .4) forwards; }
.f-scene.still { animation: none; }
/* Kamera fährt durch: alte Szene kommt nah und verschwimmt, neue kommt aus der Tiefe */
@keyframes f-in { from { opacity: 0; transform: scale(.7); filter: blur(10px); } }
@keyframes f-out { to { opacity: 0; transform: scale(1.7); filter: blur(14px); } }

/* Szene 1: Typografie mit leuchtendem Akzentwort */
.f-type { gap: 0; text-align: center; padding: 0 20px; }
.fw { display: block; overflow: hidden; padding: 0 .05em .04em; font: 700 clamp(30px, 9vw, 46px)/1.04 var(--heading); }
.fw[style*="--w:0"] { font-size: clamp(22px, 6.4vw, 32px); font-weight: 500; opacity: .92; }
.fw.accent { color: var(--accent); font-size: clamp(40px, 13vw, 64px); }
.fw.accent .fl { text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 38%, transparent); }
.fl { display: inline-block; transform: translateY(110%); opacity: 0; }
.f-type.on .fl { animation: f-rise .8s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(var(--i) * 42ms + .25s); }
@keyframes f-rise { from { transform: translateY(110%) rotate(6deg); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.f-type.on .fw.accent { animation: f-glow 2.6s ease-in-out 1.6s infinite alternate; }
@keyframes f-glow { to { filter: brightness(1.15); } }
.f-line { display: block; height: 2px; width: 0; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 12px var(--accent); }
.f-type.on .f-line { animation: f-line 1s var(--ease) 1.5s forwards; }
@keyframes f-line { to { width: min(56%, 220px); } }
.f-type.still .fl { transform: none; opacity: 1; }
.f-type.still .f-line { width: min(56%, 220px); }

/* Szene 2: schwebende Glas-Kacheln in der Tiefe */
.f-tile, .f-hero { position: absolute; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 30px -12px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.f-tile { left: var(--x); top: var(--y); width: 58px; height: 58px; margin: -29px 0 0 -29px; opacity: 0;
  filter: blur(calc(var(--z) * 2.4px)); }
.f-tile i { width: 28px; height: 28px; color: rgba(255,255,255,.9); }
.f-tile svg, .f-hero svg { width: 100%; height: 100%; display: block; }
.f-glass.on .f-tile { animation: f-fly 1.1s cubic-bezier(.16, 1, .3, 1) both, f-bob 3.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * 110ms + .1s), calc(var(--k) * -700ms); }
@keyframes f-fly { from { opacity: 0; transform: translateZ(-400px) scale(.4); }
  to { opacity: calc(1 - var(--z) * .45); transform: scale(calc(1.15 - var(--z) * .5)); } }
@keyframes f-bob { from { translate: 0 -5px; rotate: -3deg; } to { translate: 0 5px; rotate: 3deg; } }
.f-glass.on .f-tile { opacity: calc(1 - var(--z) * .45); transform: scale(calc(1.15 - var(--z) * .5)); }
.f-hero { left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 28px; opacity: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.08)); }
.f-hero::before { content: ''; position: absolute; inset: -40%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 62%); }
.f-hero i { width: 54px; height: 54px; color: var(--accent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 80%, transparent)); }
.f-glass.on .f-hero { animation: f-hero 1.3s cubic-bezier(.16, 1, .3, 1) .5s both, f-float 3s ease-in-out 1.8s infinite alternate; }
@keyframes f-hero { from { opacity: 0; transform: translateZ(-500px) rotateX(35deg) rotateY(-25deg); } to { opacity: 1; transform: none; } }
@keyframes f-float { to { transform: translateY(-6px) rotateY(10deg) rotateX(-6deg); } }

/* Szene 3: Logo mit Lichtringen und Glanz */
.f-rings { position: absolute; left: 50%; top: calc(50% - 6px); width: 0; height: 0; }
.f-rings b { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); opacity: 0; }
.f-logo.on .f-rings b { animation: f-ring 3s cubic-bezier(.2, .7, .3, 1) infinite; }
.f-logo.on .f-rings b:nth-child(2) { animation-delay: .8s; }
.f-logo.on .f-rings b:nth-child(3) { animation-delay: 1.6s; }
@keyframes f-ring { 0% { opacity: 0; transform: scale(.3); } 20% { opacity: .7; } 100% { opacity: 0; transform: scale(3.2); } }
.f-logo-wrap { position: relative; display: block; width: min(64%, 300px); opacity: 0; }
.f-logo-wrap img { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 18px rgba(255,255,255,.25)); }
.f-logo.on .f-logo-wrap { animation: f-logo 1.2s cubic-bezier(.16, 1, .3, 1) .15s both; }
@keyframes f-logo { from { opacity: 0; transform: scale(1.35); filter: blur(12px); letter-spacing: .2em; } to { opacity: 1; transform: none; filter: none; } }
/* Glanzstreifen läuft über das Logo (nur in der Logoform sichtbar) */
.f-shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--logo) center / 100% 100% no-repeat; mask: var(--logo) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--accent) 60%, #fff) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; }
.f-logo.on .f-shine { animation: f-shine 1.6s ease-in-out 1.2s both; }
@keyframes f-shine { to { background-position: 150% 0; } }
.f-cap:empty { display: none; }
.f-cap { margin-top: 14px; font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); opacity: 0; }
.f-logo.on .f-cap { animation: f-track 1.4s var(--ease) .8s forwards; }
@keyframes f-track { to { opacity: 1; letter-spacing: .34em; } }
@media (prefers-reduced-motion: reduce) { .f-bg { animation: none; } }

/* ---------- Große Schrift (Barrierefreiheit): alle Texte wachsen mit ---------- */
html.big { font-size: 115%; }
html.big .card-sub { -webkit-line-clamp: 4; }
html.big .stage-name { white-space: normal; }

/* ---------- Allergene & Anzeige ---------- */
.cats-row { display: flex; align-items: center; max-width: 720px; margin: 0 auto; }
.cats-row .cats-scroll { flex: 1; min-width: 0; margin: 0; padding-left: 8px; }
.cats-filter { position: relative; flex: none; width: 40px; height: 40px; margin-left: 12px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--primary); display: grid; place-items: center; }
.cats-filter svg { width: 20px; height: 20px; }
.cats-filter.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.cf-count { position: absolute; right: -3px; top: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 10px/17px var(--sans); text-align: center; }
.cf-count:empty { display: none; }
.filter-note { max-width: 720px; margin: 12px auto 0; padding: 0 16px; }
.filter-note:not([hidden]) { display: flex; }
.filter-note > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; background: var(--paper); border-radius: 14px 0 0 14px; padding: 10px 14px; box-shadow: var(--shadow); }
.filter-note small { color: var(--muted); font-size: 0.78rem; }
.filter-note .link-btn { background: var(--paper); border-radius: 0 14px 14px 0; padding: 0 14px; box-shadow: var(--shadow); font-size: 0.875rem; }
.fs-sec { padding: 6px 20px 8px; }
.fs-sec h3 { margin: 14px 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fs-sec .chips { margin-top: 10px; }
.al-letter { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; border-radius: 6px; background: var(--surface); font-size: .8em; font-weight: 700; margin-right: 2px; }
.chip input:checked + span .al-letter { background: var(--primary); color: #fff; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 0.95rem; }
.toggle-row input { order: 2; appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; border-radius: 999px; background: #c9c4ba; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.toggle-row input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.toggle-row input:checked { background: var(--primary); }
.toggle-row input:checked::after { transform: translateX(20px); }
.toggle-row input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ps-al { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.ps-al h3 { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.al-line { margin: 4px 0 0; font-size: 0.9rem; }
.al-key { font-weight: 600; }
.al-ask { margin: 0; font-size: 0.9rem; }
.al-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.al-list li { display: flex; align-items: baseline; gap: 8px; font-size: 0.9rem; }
.al-list b { flex: none; display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; border-radius: 6px; background: var(--paper); color: var(--primary); font-size: .78rem; }
.al-legend { gap: 6px; }
.al-legend b { background: var(--surface); }
.al-small { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.foot-link { border: 0; background: none; color: inherit; text-decoration: underline; padding: 4px 2px; font-size: inherit; }

/* ---------- Aktionen ---------- */
.promo-wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.promo-wrap:empty { display: none; }
.promo-banner { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 22px; padding: 18px 20px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%), linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--primary) 80%, #000); }
.promo-banner:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pb-kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.promo-banner strong { font: 700 1.4rem/1.15 var(--heading); }
.pb-text { font-size: 0.9rem; opacity: .9; }
.pb-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; font-size: 0.9rem; color: var(--accent-soft); }
.pb-cta svg { width: 16px; height: 16px; }
.cat-promo .promo-head { margin: 0 0 14px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.cat-promo .promo-head .cat-kicker { color: var(--accent-soft); }
.cat-promo .promo-head h2 { margin: 0; font: 700 1.55rem/1.12 var(--heading); }
.cat-promo .promo-head p { margin: 6px 0 0; font-size: 0.9rem; opacity: .9; }
.cats-scroll a.chip-promo { color: var(--accent); font-weight: 600; }
.cats-scroll a.chip-promo.active { color: #fff; }

/* ---------- Offline ---------- */
.offline { position: fixed; left: 50%; top: calc(var(--top) + env(safe-area-inset-top) + 8px); transform: translateX(-50%); z-index: 45; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); white-space: nowrap; }

/* ---------- Ohne Logo: Markenname als Schriftzug ---------- */
.brand-word { display: inline-block; font: 700 1.25rem/1.1 var(--heading); letter-spacing: -.01em; color: inherit; white-space: nowrap; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
.foot-logo.brand-word { font-size: 1.6rem; margin: 0 auto 26px; display: block; max-width: none; }
.choose-logo.brand-word { font-size: 1.9rem; margin: 0 auto 30px; display: block; color: #fff; max-width: none; }
.w-inner header .brand-word { color: var(--primary); }
.wl-static { position: absolute; inset: 0 0 26px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--secondary) 70%, var(--primary)), var(--primary)); }
.wl-static img { width: min(62%, 280px); height: auto; }
.wl-static .brand-word { font-size: 2rem; max-width: 80vw; white-space: normal; }
.wl-static p { margin: 0; font: 600 1rem/1.3 var(--heading); color: var(--accent); }
.f-name { display: block; font: 700 clamp(30px, 9vw, 44px)/1.1 var(--heading); color: #fff; text-align: center; }

/* ---------- „Digitale Speisekarte von Bernays“ mit Logo ---------- */
.powered strong { display: none; }
.powered::after { content: ''; display: inline-block; width: 64px; aspect-ratio: 1600 / 304; background: currentColor;
  -webkit-mask: url(bernays-wordmark.png) center / contain no-repeat; mask: url(bernays-wordmark.png) center / contain no-repeat; vertical-align: middle; }

/* =====================================================================
   Design-Vorlagen (Dashboard → Design-Vorlagen). „Klassisch“ ist der Standard oben.
   ===================================================================== */

/* ---- Gemeinsam: helle Kopfzeile (Modern, Café, Bistro) ---- */
.theme-modern .top, .theme-cafe .top, .theme-bistro .top { background: color-mix(in srgb, var(--surface) 88%, #fff); color: var(--ink); border-bottom: 1px solid var(--line); }
.theme-modern .top.solid, .theme-cafe .top.solid, .theme-bistro .top.solid { box-shadow: 0 6px 20px -14px rgba(0,0,0,.35); }
.theme-modern .icon-btn, .theme-cafe .icon-btn, .theme-bistro .icon-btn { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.theme-modern .lang, .theme-cafe .lang, .theme-bistro .lang { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.theme-modern .lang button, .theme-cafe .lang button, .theme-bistro .lang button { color: color-mix(in srgb, var(--ink) 65%, transparent); }
.theme-modern .lang button[aria-pressed="true"], .theme-cafe .lang button[aria-pressed="true"], .theme-bistro .lang button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.theme-modern .brand-img.brand-word, .theme-cafe .brand-img.brand-word, .theme-bistro .brand-img.brand-word { color: var(--ink); }

/* ---- Modern Hell: weiß, klar, App-artig ---- */
.theme-modern { --radius: 16px; --shadow: 0 1px 2px rgba(17,24,39,.06), 0 1px 1px rgba(17,24,39,.04); --paper: #fff; }
.theme-modern .card, .theme-modern .list { border: 1px solid #e8eaee; box-shadow: none; }
.theme-modern .headline { color: var(--ink); letter-spacing: -.03em; }
.theme-modern .headline .lk-script { color: var(--accent); }
.theme-modern .stage-imgs { border-radius: 20px; box-shadow: none; }
.theme-modern .tile-pic { border-radius: 18px; box-shadow: none; border: 1px solid #e8eaee; }
.theme-modern .cat-head h2, .theme-modern .card-name, .theme-modern .stage-name { color: var(--ink); }
.theme-modern .add { background: var(--accent); color: #111; box-shadow: none; }
.theme-modern .cats-ink { background: var(--ink); }
.theme-modern .foot { background: #111827; }
.theme-modern .home-eyebrow, .theme-modern .cat-kicker { color: var(--accent); }

/* ---- Nacht: dunkel, Gold ---- */
.theme-nacht { --paper: #17171a; --line: rgba(255,255,255,.09); --muted: #9b968c; --shadow: 0 1px 0 rgba(255,255,255,.04), 0 12px 30px -14px rgba(0,0,0,.8); color-scheme: dark; }
.theme-nacht body, body.theme-nacht { background: var(--surface); color: var(--ink); }
.theme-nacht .top { background: rgba(11,11,12,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.theme-nacht .headline, .theme-nacht .cat-head h2, .theme-nacht .card-name, .theme-nacht .stage-name, .theme-nacht .ps-body h2, .theme-nacht .cs-head h2 { color: var(--ink); }
.theme-nacht .headline .lk-script, .theme-nacht .home-eyebrow, .theme-nacht .cat-kicker, .theme-nacht .card-orig, .theme-nacht .ps-orig { color: var(--accent); }
.theme-nacht .stage-price, .theme-nacht .card-price b { color: var(--ink); }
.theme-nacht .cats { background: rgba(11,11,12,.9); }
.theme-nacht .cats-scroll a { color: var(--ink); }
.theme-nacht .cats-ink { background: var(--accent); }
.theme-nacht .cats-scroll a.active { color: #111; }
.theme-nacht .cats-filter, .theme-nacht .tile-pic { background: var(--paper); border-color: var(--line); color: var(--accent); }
.theme-nacht .tile-name { color: var(--ink); }
.theme-nacht .add, .theme-nacht .btn-primary, .theme-nacht .cart-bar button { background: var(--accent); color: #111; }
.theme-nacht .cart-count { background: #111; color: var(--accent); }
.theme-nacht .search-bar input, .theme-nacht .chip span, .theme-nacht .filter-note > span, .theme-nacht .filter-note .link-btn { background: var(--paper); color: var(--ink); border-color: var(--line); }
.theme-nacht .chip input:checked + span { background: color-mix(in srgb, var(--accent) 18%, var(--paper)); border-color: var(--accent); color: var(--ink); }
.theme-nacht .ps-foot { background: rgba(23,23,26,.95); }
.theme-nacht .ps-al, .theme-nacht .al-letter, .theme-nacht .al-list b { background: #222226; color: var(--ink); }
.theme-nacht .toast { background: var(--accent); color: #111; }
.theme-nacht .tag { background: rgba(0,0,0,.7); color: var(--ink); }
.theme-nacht .tag-neu { background: var(--accent); color: #111; }
.theme-nacht .waiter { background: #fff; color: #111; }
.theme-nacht .foot { background: #050505; border-top: 1px solid var(--line); }
.theme-nacht .link-btn { color: var(--accent); }
.theme-nacht .sheet-close { background: rgba(0,0,0,.6); color: #fff; }
.theme-nacht .stepper { border-color: var(--line); }
.theme-nacht .toggle-row { border-color: var(--line); }
.theme-nacht .promo-banner, .theme-nacht .cat-promo .promo-head { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), #1c1c20; border: 1px solid var(--line); }

/* ---- Café Pastell: weich und rund ---- */
.theme-cafe { --radius: 28px; --paper: #fffaf5; --shadow: 0 10px 30px -18px rgba(111,74,58,.35); }
.theme-cafe .card { border-radius: 26px; }
.theme-cafe .card-img .clip { border-radius: 20px; }
.theme-cafe .stage-imgs { border-radius: 34px; }
.theme-cafe .tile-pic { width: 76px; height: 76px; border-color: color-mix(in srgb, var(--accent) 45%, #fff); }
.theme-cafe .headline { color: var(--primary); }
.theme-cafe .headline .lk-script { color: var(--accent); }
.theme-cafe .add { background: var(--accent); color: var(--primary); }
.theme-cafe .cats-ink { background: var(--accent); }
.theme-cafe .cats-scroll a.active { color: var(--primary); }
.theme-cafe .chip span, .theme-cafe .search-bar input { border-radius: 999px; background: #fff; }
.theme-cafe .btn-primary { border-radius: 999px; }
.theme-cafe .foot { background: var(--primary); }
.theme-cafe .cart-bar button { border-radius: 999px; }
.theme-cafe .home-eyebrow, .theme-cafe .cat-kicker { color: var(--secondary); }

/* ---- Bistro Minimal: Serifen, Linien, wie gedruckt ---- */
.theme-bistro { --radius: 4px; --shadow: none; --paper: transparent; --heading: 'Brand Heading', 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif; }
.theme-bistro .headline { font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.theme-bistro .headline .lk-script { color: var(--accent); font-style: italic; }
.theme-bistro .stage-imgs { border-radius: 4px; box-shadow: none; }
.theme-bistro .tile-pic { border-radius: 4px; box-shadow: none; border: 1px solid var(--ink); }
.theme-bistro .card { border-radius: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: transparent; }
.theme-bistro .grid { gap: 0; }
.theme-bistro .card-open { padding: 14px 0; }
.theme-bistro .card-img .clip { border-radius: 2px; }
.theme-bistro .card-name { color: var(--ink); font-weight: 600; }
.theme-bistro .card.feature { border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: #fff; margin-bottom: 10px; }
.theme-bistro .card.feature .card-open { padding: 0; }
.theme-bistro .cat-head { border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.theme-bistro .cat-head h2 { color: var(--ink); font-weight: 600; }
.theme-bistro .cat-kicker, .theme-bistro .home-eyebrow { color: var(--accent); letter-spacing: .3em; }
.theme-bistro .list { background: transparent; border-radius: 0; }
.theme-bistro .add { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; border-radius: 2px; }
.theme-bistro .cats-ink { background: var(--ink); border-radius: 2px; }
.theme-bistro .cats-scroll a { border-radius: 2px; }
.theme-bistro .btn-primary, .theme-bistro .cart-bar button { border-radius: 2px; background: var(--ink); }
.theme-bistro .chip span, .theme-bistro .search-bar input { border-radius: 2px; }
.theme-bistro .sheet { border-radius: 6px 6px 0 0; background: var(--surface); }
.theme-bistro .foot { background: var(--ink); }
.theme-bistro .stage-name { color: var(--ink); font-weight: 600; }

/* ---- Street Food: groß, laut, kräftig ---- */
.theme-street { --radius: 12px; --shadow: 4px 4px 0 #111; }
.theme-street .top { background: #111; }
.theme-street .headline { text-transform: uppercase; font-weight: 900; font-size: clamp(2.3rem, 12vw, 3.4rem); line-height: .95; color: #111; letter-spacing: -.02em; }
.theme-street .headline .lk-script { color: var(--secondary); }
.theme-street .headline .lk-script::after { color: #111; }
.theme-street .home-eyebrow, .theme-street .cat-kicker { color: var(--secondary); font-weight: 800; }
.theme-street .stage-imgs { border: 3px solid #111; box-shadow: 6px 6px 0 #111; border-radius: 14px; }
.theme-street .tile-pic { border: 3px solid #111; box-shadow: 3px 3px 0 #111; }
.theme-street .card { border: 2.5px solid #111; border-radius: 14px; }
.theme-street .card-name, .theme-street .cat-head h2, .theme-street .stage-name { color: #111; text-transform: uppercase; font-weight: 900; letter-spacing: -.01em; }
.theme-street .cat-head h2 { font-size: 1.9rem; }
.theme-street .card-price b { background: var(--accent); padding: 2px 8px; border-radius: 6px; }
.theme-street .add { background: var(--secondary); color: #fff; border: 2.5px solid #111; box-shadow: 2px 2px 0 #111; }
.theme-street .cats { border-bottom: 3px solid #111; }
.theme-street .cats-ink { background: var(--secondary); }
.theme-street .cats-scroll a { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.theme-street .btn-primary, .theme-street .cart-bar button { background: var(--secondary); border: 2.5px solid #111; box-shadow: 3px 3px 0 #111; }
.theme-street .cart-count { background: var(--accent); color: #111; }
.theme-street .tag-neu { background: var(--accent); color: #111; }
.theme-street .foot { background: #111; }
.theme-street .list { border: 2.5px solid #111; box-shadow: var(--shadow); }
.theme-street .chip span { border: 2px solid #111; }
.theme-street .chip input:checked + span { background: var(--accent); color: #111; border-color: #111; }

/* Filialauswahl (/filialen) in hellen Vorlagen */
.branches-page.theme-modern, .branches-page.theme-cafe, .branches-page.theme-bistro { background: var(--surface); color: var(--ink); }
.branches-page.theme-modern .choose .foot-legal a, .branches-page.theme-cafe .choose .foot-legal a, .branches-page.theme-bistro .choose .foot-legal a { color: var(--ink); }
.branches-page.theme-street { background: var(--accent); color: #111; }

/* ==========================================================================
   Schrift-Stile (Marke → Schrift) – Systemschriften, eigene Schriftdateien gehen vor
   ========================================================================== */
body.font-modern { --heading: 'Brand Heading', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
body.font-elegant { --heading: 'Brand Heading', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; }
body.font-rund { --heading: 'Brand Heading', ui-rounded, 'SF Pro Rounded', 'Arial Rounded MT Bold', 'Nunito', 'Trebuchet MS', sans-serif; --sans: 'Brand Sans', ui-rounded, 'SF Pro Rounded', -apple-system, 'Segoe UI', Roboto, sans-serif; }
body.font-kraeftig { --heading: 'Brand Heading', 'Arial Black', 'Helvetica Neue', Impact, system-ui, sans-serif; }
body.font-kraeftig .headline { letter-spacing: -.02em; }

/* Titelbild auf der Startseite: Foto mit Verlauf, Begrüßung und Slogan darauf */
.home.has-cover .home-top { margin: 14px 16px 0; padding: 130px 20px 22px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.66)), var(--cover) center / cover no-repeat, var(--primary); }
@media (min-width: 752px) { .home.has-cover .home-top { margin: 14px auto 0; padding-top: 170px; } }
.home.has-cover .home-eyebrow, .home.has-cover .headline, .home.has-cover .headline .lk-script::after { color: #fff; }
.home.has-cover .headline { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.home.has-cover .headline .lk-script { color: var(--accent); }
