/* Basement – Bestellseite für Gäste (Handy zuerst) */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Anton"; src: url("../assets/fonts/anton-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --black: #000;
  --bg: #F2F1EE;
  --card: #FFFFFF;
  --ink: #1A1815;
  --ink-2: #57524B;
  --ink-3: #8A847B;
  --line: #E4E1DB;
  --fill: #F6F5F2;
  --or: #F27B1F;
  --or-press: #DB6A12;
  --or-ink: #A3470A;
  --or-soft: #FDEEDF;
  --lime: #86C23A;
  --lime-ink: #3D6B12;
  --red: #C4301F;
  --red-soft: #FCEBE8;
  --r1: 10px; --r2: 16px; --r3: 24px;
  --sh1: 0 1px 2px rgba(26, 24, 21, .06), 0 2px 8px rgba(26, 24, 21, .05);
  --sh2: 0 10px 40px rgba(0, 0, 0, .22);
  --f: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fd: "Anton", "Impact", "Arial Narrow", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.45 var(--f); font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-2); }

/* ---------- Kopf ---------- */
.top { background: var(--black); color: #fff; padding: 12px 16px 14px; }
.top__in { max-width: 1180px; margin: 0 auto; }
.top__row { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.brand b { font: 400 22px/1 var(--fd); letter-spacing: .02em; display: block; }
.brand small { display: block; font-size: 13px; color: #B9B3AA; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grow { flex: 1; }
.tbtn { min-width: 44px; height: 44px; border-radius: 22px; border: 1px solid #3A3733; background: transparent; color: #fff; font-weight: 600; font-size: 15px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tbtn:active { background: #1E1C1A; }
.tbtn .badge { background: var(--or); color: #000; border-radius: 11px; min-width: 22px; height: 22px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #1C1A18; border-radius: 14px; padding: 4px; margin-top: 14px; }
@media (min-width: 980px) { .modes, .search { max-width: 520px; } }
.modes button { border: 0; background: transparent; color: #D8D3CB; border-radius: 11px; padding: 9px 10px; text-align: left; line-height: 1.2; }
.modes button b { display: block; font-size: 16px; font-weight: 650; color: #fff; }
.modes button small { font-size: 13px; }
.modes button.on { background: #fff; color: var(--ink-2); }
.modes button.on b { color: var(--ink); }
.modes button:disabled { opacity: .45; cursor: not-allowed; }
.modes--single { grid-template-columns: 1fr; }
.modes--single div { padding: 9px 12px; }
.modes--single b { font-size: 16px; display: block; color: #fff; }
.modes--single small { display: block; font-size: 13px; color: #D8D3CB; }

.search { position: relative; display: block; margin-top: 10px; }
.search input { width: 100%; height: 48px; border-radius: 14px; border: 0; background: #1C1A18; color: #fff; padding: 0 16px 0 44px; font-size: 16px; }
.search input::placeholder { color: #9C968D; }
.search svg { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; stroke: #9C968D; }

/* ---------- Kategorien (klebt oben) ---------- */
.cats { position: sticky; top: 0; z-index: 20; background: rgba(242, 241, 238, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cats__in { max-width: 1180px; margin: 0 auto; display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.cats__in::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 14px; border-radius: 20px; white-space: nowrap; }
.cats a.active { background: var(--ink); color: #fff; }

/* ---------- Aufbau ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 16px 16px 120px; display: grid; gap: 24px; }
@media (min-width: 980px) { .wrap { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; padding-bottom: 60px; } }

.notice { border-radius: var(--r2); padding: 14px 16px; background: var(--or-soft); color: #5C2B07; font-size: 16px; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.notice--red { background: var(--red-soft); color: #7A1A10; }
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }

/* Wie letztes Mal */
.again { background: var(--card); border-radius: var(--r3); padding: 16px; box-shadow: var(--sh1); margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.again__txt { flex: 1; min-width: 0; }
.again__txt b { display: block; font-size: 17px; }
.again__txt span { display: block; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Baukasten-Bühne auf der Karte */
.hero { position: relative; display: grid; grid-template-columns: 1fr 46%; align-items: end; gap: 6px; border-radius: var(--r3); overflow: hidden; background: radial-gradient(120% 90% at 78% 85%, #3B3530 0%, #151311 55%, #000 100%); color: #fff; padding: 22px 0 0 20px; min-height: 220px; text-align: left; width: 100%; border: 0; margin-bottom: 28px; }
.hero h2 { font: 400 34px/1.02 var(--fd); margin: 0 0 8px; letter-spacing: .01em; }
.hero p { margin: 0 0 14px; color: #CFC9C0; font-size: 15px; line-height: 1.4; }
.hero .cta { border: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--or); color: #000; font-weight: 700; font-size: 16px; padding: 12px 18px; border-radius: 24px; margin-bottom: 22px; }
.hero__art { height: 210px; display: flex; align-items: flex-end; }
.hero__art svg { width: 118%; height: 100%; margin-left: -9%; }
.hero__price { font-size: 14px; color: #B9B3AA; }
@media (min-width: 640px) { .hero { min-height: 260px; padding: 32px 0 0 32px; } .hero h2 { font-size: 46px; } .hero__art { height: 250px; } }

/* Kategorie-Abschnitte */
.cat { margin-bottom: 30px; }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 10px; }
.cat__title { font: 400 30px/1.05 var(--fd); margin: 0; letter-spacing: .01em; }
.cat__sub { font-size: 14px; color: var(--ink-2); margin: 2px 4px 10px; }
.list { background: var(--card); border-radius: var(--r3); box-shadow: var(--sh1); overflow: hidden; }

.item { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 16px 16px 18px; border-top: 1px solid var(--line); cursor: pointer; }
.item:first-child { border-top: 0; }
.item:active { background: var(--fill); }
.item__txt { flex: 1; min-width: 0; }
.item__name { font-size: 17px; font-weight: 650; margin: 0; line-height: 1.3; }
.item__desc { font-size: 15px; color: var(--ink-2); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.item__price { font-weight: 650; font-size: 16px; }
.item__incl { font-size: 13px; color: var(--ink-2); }
.item__pic { width: 96px; height: 96px; border-radius: 14px; background: var(--fill) center/cover no-repeat; flex: none; }
.item.is-sold { cursor: default; }
.item.is-sold .item__txt { opacity: .5; }
.add { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.add svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; }
.add:active { transform: scale(.94); }
.add.has { background: var(--or); color: #000; font-weight: 750; font-size: 17px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 650; border-radius: 8px; padding: 2px 8px; vertical-align: 2px; margin-left: 6px; }
.tag--veggie { background: #EAF5DC; color: var(--lime-ink); }
.tag--hot { background: var(--red-soft); color: var(--red); }
.tag--sold { background: #ECEAE6; color: var(--ink-2); }
.tag--new { background: var(--or-soft); color: var(--or-ink); }

.foot { font-size: 14px; color: var(--ink-2); padding: 8px 4px 0; line-height: 1.6; }
.foot a { color: var(--ink); }
.empty-res { background: var(--card); border-radius: var(--r3); padding: 28px 20px; text-align: center; color: var(--ink-2); }

/* ---------- Warenkorb-Leiste / Panel ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 60%, rgba(242, 241, 238, 0)); }
.cartbar button { width: 100%; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 58px; border: 0; border-radius: 29px; background: var(--or); color: #000; font-weight: 700; font-size: 17px; padding: 0 22px 0 10px; box-shadow: 0 8px 24px rgba(242, 123, 31, .35); }
.cartbar .n { background: #000; color: #fff; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.cartbar .grow { text-align: left; }
.cartbar button.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.03); } }
@media (min-width: 980px) { .cartbar { display: none; } }

.panel { display: none; }
@media (min-width: 980px) { .panel { display: block; position: sticky; top: 76px; background: var(--card); border-radius: var(--r3); box-shadow: var(--sh1); padding: 20px; max-height: calc(100vh - 96px); overflow: auto; } }
.panel h2 { font: 400 26px/1 var(--fd); margin: 0 0 12px; }
.panel .btn { margin-top: 14px; }
.panel-empty { color: var(--ink-2); font-size: 15px; padding: 10px 0; }

/* ---------- Knöpfe, Felder ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 26px; border: 0; font-weight: 700; font-size: 17px; text-decoration: none; }
.btn--main { background: var(--or); color: #000; }
.btn--main:active { background: var(--or-press); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn--sm { min-height: 40px; font-size: 15px; padding: 0 16px; }
.btn--block { width: 100%; }
.btn:disabled { background: #E3E0DA; color: #8A847B; box-shadow: none; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--or-ink); font-weight: 650; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

.stepper { display: inline-flex; align-items: center; background: var(--fill); border-radius: 26px; height: 52px; flex: none; }
.stepper button { width: 46px; height: 52px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink); }
.stepper b { min-width: 22px; text-align: center; font-size: 18px; }
.stepper.sm { height: 38px; } .stepper.sm button { width: 36px; height: 38px; font-size: 20px; } .stepper.sm b { font-size: 16px; }

.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.inp, .field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1.5px solid #D5D1CA; background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 17px; }
.field textarea, textarea.inp { min-height: 0; resize: vertical; }
.field input:focus, .field select:focus, .inp:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242, 123, 31, .35); }
.field.bad input, .field.bad select { border-color: var(--red); background: #FFF8F7; }
.err { display: block; color: var(--red); font-size: 14.5px; font-weight: 600; margin-top: 6px; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }

/* ---------- Blätter (von unten) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(10, 9, 8, .55); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
.sheet { position: relative; background: var(--card); width: 100%; max-width: 620px; max-height: 94vh; max-height: 94dvh; border-radius: 26px 26px 0 0; overflow: auto; overscroll-behavior: contain; padding: 0 20px calc(20px + var(--safe-b)); animation: up .32s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 26px; max-height: 90vh; } }
@keyframes up { from { transform: translateY(40px); } }
@keyframes fade { from { opacity: 0; } }
.grab { position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 12px 12px 8px 0; margin: 0 -20px 4px; pointer-events: none; background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0)); }
.grab::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; border-radius: 3px; background: #D9D5CE; transform: translateX(-50%); }
.x { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(246, 245, 242, .95); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh1); }
.x svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.2; }
.sheet h2.t { font: 400 32px/1.05 var(--fd); margin: 0; letter-spacing: .01em; padding-right: 8px; }
.sheet .lead { color: var(--ink-2); font-size: 16px; margin: 8px 0 0; }
.sheet .price-line { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.sheet .price-line b { font-size: 19px; }
.sec { margin-top: 26px; }
.sec__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sec__h h3 { font-size: 19px; font-weight: 700; margin: 0; }
.sec__h span { font-size: 14px; color: var(--ink-2); }
.sec__h .req { color: var(--or-ink); font-weight: 650; }
.sec__h .ok { color: var(--lime-ink); font-weight: 650; }

/* Kachel-Reihen (Beilage, Soße) – waagrecht wischbar */
.shelf { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 10px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 108px; scroll-snap-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; padding: 10px 8px 10px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: border-color .15s, box-shadow .15s; }
.tile__art { width: 72px; height: 72px; margin-bottom: 6px; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.tile__art svg { width: 100%; height: 100%; }
.tile b { font-size: 14px; font-weight: 650; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; justify-content: center; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.tile small { font-size: 13px; color: var(--ink-2); }
.tile.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.tile.on .tile__art { transform: translateY(-3px) scale(1.06); }
.tile.on::after { content: ""; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.tile:disabled { opacity: .4; }
.tile .cnt { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border-radius: 10px; min-width: 20px; height: 20px; padding: 0 6px; display: none; align-items: center; justify-content: center; }
.tile.on .cnt { display: inline-flex; }
.tile--wide { width: 128px; }
.tile--wide .tile__art { width: 104px; height: 52px; }

/* Chips (Extras, Ohne) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 22px; min-height: 44px; padding: 8px 14px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip small { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on small { color: #D6D1C9; }
.chip--ohne.on { background: var(--red-soft); color: var(--red); border-color: #F2C4BD; text-decoration: line-through; }
.chip:disabled { opacity: .4; }
.chip svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; }

.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.size { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; text-align: left; }
.size b { display: block; font-size: 17px; }
.size span { font-size: 15px; color: var(--ink-2); }
.size.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.size:disabled { opacity: .4; }

.alg-line { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.alg-line b { color: var(--ink); font-weight: 600; }

.sticky-foot { position: sticky; bottom: calc(-20px - var(--safe-b)); margin: 22px -20px calc(-20px - var(--safe-b)); padding: 12px 20px calc(14px + var(--safe-b)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); z-index: 4; }
.sticky-foot .sum-line { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-foot .acts { display: flex; gap: 10px; }
.sticky-foot .btn { flex: 1; white-space: nowrap; font-size: 16.5px; padding: 0 14px; min-width: 0; }
.note-toggle { margin-top: 18px; }

/* Baukasten */
.sheet--builder { padding-top: 0; }
.stage { position: sticky; top: 0; z-index: 2; margin: 0 -20px; height: min(36vh, 300px); background: radial-gradient(90% 80% at 50% 92%, #3B3530 0%, #191715 55%, #050505 100%); display: flex; align-items: flex-end; justify-content: center; padding: 0 12px 4px; }
.stage svg.bk-burger { height: 100%; width: 100%; max-width: 420px; }
.stage .x { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.stage .x svg { stroke: #fff; }
.stage__price { position: absolute; left: 16px; top: 14px; color: #fff; }
.stage__price b { font: 400 26px/1 var(--fd); display: block; }
.stage__price span { font-size: 13px; color: #BDB6AC; }
.bases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.base { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 8px 4px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tile__art { display: block; }
.base .tile__art { width: 100%; height: 34px; margin: 0 0 4px; }
.base b { display: block; font-size: 13.5px; line-height: 1.2; }
.base small { font-size: 12.5px; color: var(--ink-2); }
.base.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.ings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 520px) { .ings { grid-template-columns: repeat(4, 1fr); } }
.ing { position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 8px 6px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ing .tile__art { width: 100%; height: 40px; margin: 2px 0 6px; }
.ing b { font-size: 13.5px; font-weight: 650; line-height: 1.2; }
.ing small { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.ing.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); background: #FFFBF6; }
.ing .cnt { position: absolute; top: 6px; right: 6px; background: var(--or); color: #000; font-size: 12px; font-weight: 750; border-radius: 10px; min-width: 20px; height: 20px; padding: 0 6px; display: none; align-items: center; justify-content: center; }
.ing.on .cnt { display: inline-flex; }
.ing.off { opacity: .55; }
.ing.off .tile__art { filter: grayscale(1); }
.ing:disabled { opacity: .35; }
.hint { font-size: 14px; color: var(--ink-2); margin: -4px 0 10px; }

/* ---------- Warenkorb & Kasse ---------- */
.line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__body { flex: 1; min-width: 0; }
.line__body b { display: block; font-size: 16px; font-weight: 650; }
.line__opts { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.line__price { font-weight: 650; white-space: nowrap; padding-top: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; font-weight: 650; font-size: 16px; }
.seg span small { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.seg input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.seg input:disabled + span { opacity: .45; }
.pay { display: grid; gap: 8px; }
.pay label { position: relative; display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; }
.pay input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.pay b { display: block; font-size: 16px; }
.pay small { color: var(--ink-2); font-size: 14px; }
.pay label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.sums { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.sum { display: flex; justify-content: space-between; padding: 4px 0; font-size: 16px; }
.sum--total { font-weight: 750; font-size: 19px; padding-top: 8px; }
.alert { border-radius: 14px; padding: 12px 14px; background: var(--red-soft); color: #7A1A10; font-size: 15.5px; font-weight: 600; margin-top: 14px; display: flex; gap: 10px; }
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: currentColor; }
.alert--info { background: var(--or-soft); color: #5C2B07; }
.privacy { font-size: 13.5px; color: var(--ink-2); margin: 14px 0 0; }

/* ---------- Status ---------- */
.status { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 20px calc(32px + var(--safe-b)); max-width: 520px; margin: 0 auto; }
.status img.logo { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 18px; }
.status .no-label { font-size: 15px; color: var(--ink-2); margin: 0; }
.status .no { font: 400 92px/1 var(--fd); margin: 4px 0 6px; letter-spacing: .02em; }
.status .msg { font-size: 20px; font-weight: 650; margin: 8px 0 18px; line-height: 1.35; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin: 6px 0 22px; }
.steps div { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.steps i { display: block; height: 6px; border-radius: 3px; background: #E2DED7; margin-bottom: 8px; }
.steps .done i { background: var(--ink); }
.steps .on i { background: var(--or); animation: pulse 1.4s ease-in-out infinite; }
.steps .done, .steps .on { color: var(--ink); }
@keyframes pulse { 50% { opacity: .45; } }
.status .card { background: var(--card); border-radius: var(--r3); box-shadow: var(--sh1); padding: 16px 18px; width: 100%; text-align: left; font-size: 16px; }
.status .card div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.status .card span { color: var(--ink-2); }
.status .acts { display: grid; gap: 10px; width: 100%; margin-top: 18px; }

/* ---------- Kiosk ---------- */
body.kiosk { font-size: 19px; }
.kiosk-start { width: 100%; min-height: 100vh; border: 0; background: radial-gradient(90% 70% at 50% 75%, #3B3530, #000 70%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.kiosk-start img { width: 160px; height: 160px; border-radius: 50%; }
.kiosk-start .big { font: 400 72px/1 var(--fd); }
.kiosk-start small { font-size: 20px; color: #CFC9C0; }
.kiosk-lang { display: flex; gap: 10px; margin-top: 20px; }
.kiosk-lang span { border: 1.5px solid #5A544D; border-radius: 24px; padding: 10px 20px; }
.kiosk-lang span.on { background: #fff; color: #000; }

/* ---------- Meldungen ---------- */
.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; bottom: calc(92px + var(--safe-b)); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 24px; font-size: 15.5px; font-weight: 600; z-index: 80; box-shadow: var(--sh2); max-width: calc(100% - 32px); animation: up .25s ease; display: flex; gap: 8px; align-items: center; }
.toast.err { background: var(--red); }
.offline { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: var(--red); color: #fff; text-align: center; font-size: 15px; font-weight: 600; padding: 8px 12px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 15px; }
.legend b { display: inline-block; width: 22px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Nach oben */
.totop { position: fixed; right: 16px; bottom: calc(88px + var(--safe-b)); z-index: 29; height: 48px; padding: 0 16px 0 12px; border-radius: 24px; border: 0; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--sh2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.totop svg { width: 20px; height: 20px; stroke: currentColor; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 980px) { .totop { bottom: 24px; } }
.remember { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; cursor: pointer; }
.remember input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.remember b { display: block; font-size: 15.5px; font-weight: 600; }
.remember small { font-size: 14px; color: var(--ink-2); }

/* Abhol-/Lieferzeit auf der Statusseite */
.eta { width: 100%; background: var(--card); border-radius: var(--r3); box-shadow: var(--sh1); padding: 16px 18px; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; }
.eta span { font-size: 16px; color: var(--ink-2); }
.eta b { font: 400 40px/1 var(--fd); letter-spacing: .02em; }
.eta small { flex-basis: 100%; font-size: 15px; color: #5C2B07; }
.eta--moved { background: var(--or-soft); box-shadow: 0 0 0 2px var(--or); }
.eta__tag { flex-basis: 100%; font-weight: 700; color: var(--or-ink) !important; font-size: 14px !important; }

/* GSAP übernimmt Ein-/Ausblenden */
.gs .sheet-bg, .gs .sheet { animation: none; }
.fly { position: fixed; z-index: 95; width: 18px; height: 18px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.25); pointer-events: none; }
/* 3D-Baukasten */
.stage.is-3d { background: radial-gradient(110% 90% at 50% 100%, #2E2925 0%, #141210 55%, #050505 100%); height: min(44vh, 360px); }
.b3d { position: relative; width: 100%; height: 100%; }
.b3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.b3d canvas:active { cursor: grabbing; }
.stage .drag-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); color: #CFC8BE; font-size: 13px; background: rgba(0,0,0,.35); border-radius: 12px; padding: 4px 10px; pointer-events: none; }

/* Foto-Baukasten */
.bf-box { position: relative; width: 100%; height: 100%; display: block !important; }
.bf { position: absolute; left: 50%; bottom: 0; top: 0; transform: translateX(-50%); }
.bf-l { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; user-select: none; will-change: transform; }
.bf-shadow { position: absolute; left: 50%; transform: translateX(-50%); height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); z-index: 1; }
.hero .bf-shadow { opacity: .8; }
.stage.is-foto { background: radial-gradient(90% 75% at 50% 92%, #3A332D 0%, #171412 55%, #050505 100%); }
.bf-icon { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero__art.bf-box { height: 210px; }
@media (min-width: 640px) { .hero__art.bf-box { height: 250px; } }
