/* IMBIS SIPARIS – iOS-Look, hell: Weiß · Orange · Grün */
:root {
  --primary: #FF6A00; --primary-dark: #E85A00; --green: #1FA855;
  --bg: #FFFFFF; --surface: #F5F5F3; --text: #17171A;
  --muted: #6E6E73; --hair: rgba(60, 60, 67, .13);
  --primary-soft: color-mix(in srgb, var(--primary) 10%, white);
  --green-soft: color-mix(in srgb, var(--green) 11%, white);
  --r: 16px; --nav: 60px; --tab: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -8px rgba(0,0,0,.12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: calc(var(--nav) + 64px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.4 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 15px 20px; font-weight: 700; font-size: 16px; transition: transform .12s, background .2s, opacity .2s; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.primary:disabled { background: #D9D9DE; color: #8E8E93; cursor: not-allowed; }
.btn.green { background: var(--green); color: #fff; }
.btn.ghost { background: var(--surface); color: var(--text); }
.btn.block { width: 100%; }
.btn .sp { margin-left: auto; }
.round-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 13px; position: relative; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn i { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--primary); color: #fff; font: 700 11px/18px var(--font); padding: 0 5px; font-style: normal; }
.link { color: var(--primary); font-weight: 600; }

/* ---------- Nav */
.nav { position: sticky; top: 0; z-index: 40; height: calc(var(--nav) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--hair); }
.addr { display: flex; align-items: center; gap: 8px; text-align: left; min-width: 0; }
.addr-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; flex: none; }
.addr-ico svg { width: 18px; height: 18px; fill: var(--primary); stroke: none; }
.addr-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.addr-txt small { font-size: 12px; color: var(--muted); }
.addr-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { width: 16px; height: 16px; color: var(--muted); }
.nav-brand { flex: 1; text-align: center; font-weight: 800; font-size: 17px; opacity: 0; transition: opacity .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav.scrolled .nav-brand { opacity: 1; }
.nav-right { display: flex; gap: 8px; margin-left: auto; }
.desk-only { display: none !important; }

/* ---------- Seite */
.page { max-width: 1240px; margin: 0 auto; }
.main { min-width: 0; padding-bottom: calc(var(--tab) + 90px + env(safe-area-inset-bottom)); }
/* Hero: Foto mit Verlauf, Name direkt auf dem Bild (Wolt-Stil) */
.hero { position: relative; height: 300px; overflow: hidden; background: #2a1a10; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroIn 1.2s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.1); opacity: .5; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,10,0,.72) 100%); }
.hero-txt { position: absolute; left: 18px; right: 18px; bottom: 44px; color: #fff; }
.hero-txt h1 { font-size: 32px; font-weight: 800; letter-spacing: -.5px; line-height: 1.05; margin: 8px 0 4px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-txt p { font-size: 15px; font-weight: 500; opacity: .92; }
.hero-txt .open-pill.open { background: rgba(255,255,255,.95); color: var(--green); }
.hero-txt .open-pill.closed { background: rgba(255,255,255,.95); color: var(--primary-dark); }
/* Karte, die wie ein iOS-Sheet über das Foto fährt */
.shop-card { position: relative; z-index: 2; margin-top: -26px; background: #fff; border-radius: 24px 24px 0 0; padding: 16px 0 2px; }
.sc-row { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.sc-logo { width: 52px; height: 52px; border-radius: 15px; flex: none; box-shadow: 0 4px 14px -4px rgba(255,106,0,.55); }
.sc-txt { flex: 1; min-width: 0; }
.sc-txt b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-txt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.sc-call { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); flex: none; }
.sc-call svg { width: 20px; height: 20px; fill: var(--green); stroke: none; }
.shop-card .seg { margin-top: 16px; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.open-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-pill.open { color: var(--green); background: var(--green-soft); }
.open-pill.closed { color: var(--primary-dark); background: var(--primary-soft); }

/* iOS segmented control */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #EEEEF0; border-radius: 12px; padding: 3px; margin: 18px 16px 0; }
.seg button { position: relative; z-index: 1; padding: 9px; font-weight: 600; font-size: 15px; border-radius: 9px; color: var(--text); transition: color .2s; }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: #fff; border-radius: 9px; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); transition: transform .3s var(--ease); }
.seg[data-on="pickup"] .seg-thumb { transform: translateX(100%); }

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 16px 0; border: .5px solid var(--hair); border-radius: var(--r); }
.info-row div { padding: 11px 8px; text-align: center; }
.info-row div + div { border-left: .5px solid var(--hair); }
.info-row b { display: block; font-size: 15px; }
.info-row small { color: var(--muted); font-size: 12px; }
.info-row .g { color: var(--green); }

.promos { display: grid; gap: 10px; margin: 14px 16px 0; }
.promo { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); text-align: left; width: 100%; }
.slot-promo { background: linear-gradient(120deg, var(--primary), #FF9A2E); color: #fff; box-shadow: 0 10px 24px -12px var(--primary); overflow: hidden; position: relative; }
.slot-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.promo-emoji { font-size: 30px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 14px; flex: none; }
.promo-txt { flex: 1; display: flex; flex-direction: column; }
.promo-txt b { font-size: 16px; }
.promo-txt small { opacity: .9; font-size: 13px; }
.promo-go { font-size: 28px; font-weight: 300; }
.green-promo { background: var(--green-soft); color: #0E6B34; font-weight: 600; font-size: 14px; }
.green-promo span { font-size: 22px; }

.search { display: flex; align-items: center; gap: 8px; margin: 16px 16px 0; background: #EEEEF0; border-radius: 12px; padding: 0 12px; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; background: none; padding: 11px 0; font: inherit; color: var(--text); outline: none; min-width: 0; }

.sec-head { padding: 0 16px; margin: 26px 0 12px; }
.sec-head h2 { font-size: 22px; font-weight: 800; }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.pop-card { flex: none; width: 168px; scroll-snap-align: start; text-align: left; }
.pop-card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface); }
.pop-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pop-card:hover .ph img { transform: scale(1.05); }
.pop-card b { display: block; margin-top: 8px; font-size: 15px; }
.pop-card small { color: var(--muted); font-size: 14px; }
.plus { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.badge-n { position: absolute; left: 8px; top: 8px; background: var(--primary); color: #fff; font-weight: 700; font-size: 12px; border-radius: 99px; padding: 2px 8px; }

/* ---------- Kategorien + Menü */
.cats { position: sticky; top: calc(var(--nav) + env(safe-area-inset-top)); z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; margin-top: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: .5px solid var(--hair); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; color: var(--text); padding: 8px 14px; border-radius: 99px; background: var(--surface); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.cats a.on { background: var(--text); color: #fff; }
.menu { padding: 0 16px; }
.cat { padding-top: 22px; }
.cat h2 { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.cat .cat-sub { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.items { display: grid; }
.item { display: grid; grid-template-columns: 1fr 104px; gap: 14px; padding: 14px 0; border-bottom: .5px solid var(--hair); text-align: left; width: 100%; align-items: center; }
.item:last-child { border-bottom: 0; }
.item h3 { font-size: 16px; font-weight: 700; }
.item p { margin: 3px 0 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.item .price { font-weight: 700; font-size: 15px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--surface); color: var(--muted); }
.tag.veg { background: var(--green-soft); color: var(--green); }
.tag.hot { background: var(--primary-soft); color: var(--primary-dark); }
.item .ph { position: relative; width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: var(--surface); }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.ph img.pack { object-fit: contain; padding: 8px; background: var(--surface); }
.empty-search { color: var(--muted); text-align: center; padding: 40px 0; }
.allergen-note { color: var(--muted); font-size: 12px; margin: 20px 0 0; }

/* ---------- Video-Stories (unten) */
.stories { margin-top: 18px; }
.story { flex: none; width: 150px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; position: relative; background: #222; scroll-snap-align: start; }
.story video { width: 100%; height: 100%; object-fit: cover; }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.story span { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; color: #fff; font-weight: 700; font-size: 14px; }
.story em { position: absolute; top: 10px; left: 10px; z-index: 1; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 99px; }

/* ---------- Footer */
.footer { margin: 30px 16px 0; padding-top: 20px; border-top: .5px solid var(--hair); display: grid; gap: 22px; font-size: 14px; color: var(--muted); }
.footer h4 { margin: 0 0 6px; color: var(--text); font-size: 15px; }
.footer table { border-collapse: collapse; }
.footer td { padding: 2px 14px 2px 0; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font-size: 12px; }
.footer .lnk { color: var(--muted); text-decoration: underline; }

/* ---------- Warenkorb-Leiste + Tab-Bar */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab) + 10px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--primary) 70%, black); transform: translateY(160%); transition: transform .35s var(--ease); }
.cart-bar.show { transform: none; }
.cart-bar b { margin-left: auto; }
.cb-count { background: rgba(255,255,255,.25); border-radius: 8px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 14px; }
.cart-bar.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.04); } }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid var(--hair); }
.tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: #8E8E93; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.on { color: var(--primary); }
.tabbar .tab-center i { font-style: normal; width: 52px; height: 52px; margin-top: -22px; border-radius: 50%; background: linear-gradient(135deg, #FF9A2E, var(--primary)); display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 18px -6px var(--primary); border: 4px solid #fff; }
.tabbar em { position: absolute; top: 6px; left: 54%; font-style: normal; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; padding: 0 5px; }

/* ---------- Sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0); pointer-events: none; transition: background .3s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-wrap.open { background: rgba(0,0,0,.38); pointer-events: auto; }
.sheet { width: 100%; max-height: 94svh; background: #fff; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .42s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.sheet-wrap.open .sheet { transform: none; }
.grabber { width: 38px; height: 5px; border-radius: 3px; background: #D1D1D6; margin: 8px auto 0; flex: none; position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sh-pad { padding: 22px 18px 18px; }
.sh-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 18px 6px; }
.sh-head h2 { font-size: 24px; font-weight: 800; }
.x-btn { width: 32px; height: 32px; border-radius: 50%; background: #EEEEF0; display: grid; place-items: center; font-size: 15px; color: #6E6E73; flex: none; }
.sheet-foot { position: sticky; bottom: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: .5px solid var(--hair); display: flex; gap: 10px; align-items: center; }
.sheet-foot .btn { flex: 1; }

/* Artikel */
.it-photo { position: relative; height: 250px; background: var(--surface); }
.it-photo img { width: 100%; height: 100%; object-fit: cover; }
.it-photo img.pack { object-fit: contain; padding: 24px; }
.it-photo .x-btn { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.92); }
.it-body { padding: 18px; }
.it-body h2 { font-size: 24px; font-weight: 800; }
.it-body > p { color: var(--muted); margin: 4px 0 0; }
.it-price { font-size: 20px; font-weight: 800; margin-top: 8px; }
.og { margin-top: 22px; }
.og-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.og-h b { font-size: 17px; }
.og-h small { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); padding: 3px 8px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-o { position: relative; }
.chip-o input { position: absolute; opacity: 0; pointer-events: none; }
.chip-o span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1.5px solid #E2E2E6; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip-o input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.chip-o input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.rows { border: .5px solid var(--hair); border-radius: 14px; overflow: hidden; }
.row-o { display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; }
.row-o + .row-o { border-top: .5px solid var(--hair); }
.row-o input { position: absolute; opacity: 0; }
.row-o .ck { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #C7C7CC; display: grid; place-items: center; flex: none; transition: all .15s; }
.row-o input:checked ~ .ck { background: var(--primary); border-color: var(--primary); }
.row-o input:checked ~ .ck::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.row-o span { flex: 1; }
.row-o em { font-style: normal; color: var(--muted); font-size: 14px; }
.allerg { margin-top: 18px; padding: 12px 14px; background: var(--surface); border-radius: 12px; font-size: 13px; color: var(--muted); }
.allerg b { color: var(--text); }
.field { width: 100%; border: 0; background: #EEEEF0; border-radius: 12px; padding: 13px 14px; font: inherit; color: var(--text); outline: none; }
.field:focus { box-shadow: 0 0 0 2px var(--primary); background: #fff; }
.stepper { display: inline-flex; align-items: center; background: #EEEEF0; border-radius: 12px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 9px; font-size: 20px; font-weight: 600; color: var(--primary); }
.stepper button:active { background: #fff; }
.stepper b { min-width: 26px; text-align: center; }
.stepper.sm button { width: 28px; height: 28px; font-size: 17px; }
.stepper.sm b { min-width: 20px; font-size: 14px; }

/* Warenkorb */
.cart-list { padding: 0 18px; }
.c-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: .5px solid var(--hair); align-items: center; }
.c-line img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.c-line img.pack { object-fit: contain; padding: 4px; }
.c-line b { font-size: 15px; font-weight: 600; }
.c-line small { display: block; color: var(--muted); font-size: 13px; }
.c-line .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-weight: 700; font-size: 15px; }
.upsell { padding: 16px 0 4px; }
.upsell h4 { margin: 0 18px 10px; font-size: 17px; }
.up-card { flex: none; width: 124px; background: var(--surface); border-radius: 14px; padding: 10px; text-align: center; font-size: 13px; position: relative; }
.up-card img { height: 72px; width: 100%; object-fit: contain; margin-bottom: 6px; }
.up-card b { display: block; font-size: 12.5px; line-height: 1.25; min-height: 2.5em; }
.up-card .plus { position: static; margin: 6px auto 0; width: 30px; height: 30px; font-size: 20px; }
.box { margin: 14px 18px 0; }
.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px 4px; text-transform: uppercase; letter-spacing: .02em; }
.sum { padding: 4px 18px 0; }
.sum div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); font-size: 15px; }
.sum .tot { color: var(--text); font-weight: 800; font-size: 18px; padding-top: 10px; }
.sum .g { color: var(--green); font-weight: 700; }
.bar { height: 6px; border-radius: 3px; background: #EEEEF0; overflow: hidden; margin: 8px 0 4px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--primary); transition: width .4s; }
.bar.g i { background: var(--green); }
.note { font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: 12px; margin-top: 10px; }
.note.o { background: var(--primary-soft); color: var(--primary-dark); }
.note.g { background: var(--green-soft); color: #0E6B34; }
.cart-empty { text-align: center; padding: 30px 20px 40px; color: var(--muted); }
.cart-empty div { font-size: 56px; }

/* Grouped form (iOS Einstellungen) */
.group { background: #fff; border: .5px solid var(--hair); border-radius: 14px; overflow: hidden; margin: 0 18px 18px; }
.group label { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 50px; }
.group label + label { border-top: .5px solid var(--hair); }
.group label > span { width: 92px; flex: none; font-size: 15px; }
.group input, .group textarea { flex: 1; border: 0; outline: none; font: inherit; padding: 14px 0; background: none; color: var(--text); min-width: 0; }
.group-title { margin: 0 22px 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 18px 8px; }
.pay { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1.5px solid #E2E2E6; cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay b { font-size: 15px; }
.pay small { color: var(--muted); font-size: 12px; }
.pay:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.legal { font-size: 12px; color: var(--muted); margin: 10px 18px; }
.err { color: #E5342B; font-weight: 600; font-size: 14px; min-height: 18px; margin: 0 18px 8px; }

/* Bestellstatus */
.trk { padding: 26px 20px 24px; text-align: center; }
.trk-ico { width: 78px; height: 78px; margin: 0 auto 12px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: 38px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.trk h2 { font-size: 24px; font-weight: 800; }
.trk .nr { color: var(--muted); margin-top: 4px; }
.trk .nr b { color: var(--primary); font-size: 20px; }
.tl { text-align: left; margin: 22px 0; position: relative; }
.tl-s { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; position: relative; color: var(--muted); }
.tl-s::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: #E5E5EA; }
.tl-s:last-child::before { display: none; }
.tl-s i { width: 28px; height: 28px; border-radius: 50%; background: #E5E5EA; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 800; flex: none; position: relative; z-index: 1; }
.tl-s b { color: inherit; display: block; padding-top: 4px; }
.tl-s.done { color: var(--text); }
.tl-s.done i { background: var(--green); }
.tl-s.done::before { background: var(--green); }
.tl-s.now { color: var(--text); }
.tl-s.now i { background: var(--primary); box-shadow: 0 0 0 0 var(--primary); animation: ring 1.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 55%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* ---------- Hunger-Automat */
.slot-sheet { padding: 26px 18px 18px; text-align: center; background: radial-gradient(120% 60% at 50% 0%, var(--primary-soft), #fff 60%); }
.slot-sheet h2 { font-size: 26px; font-weight: 800; }
.slot-sheet > p { color: var(--muted); margin: 6px auto 18px; max-width: 360px; }
.machine { position: relative; max-width: 440px; margin: 0 auto; padding: 16px 14px 14px; border-radius: 26px; background: linear-gradient(160deg, #FF9A2E, var(--primary) 55%, var(--primary-dark)); box-shadow: 0 20px 40px -18px var(--primary), inset 0 2px 0 rgba(255,255,255,.35); }
.bulbs { display: flex; justify-content: space-between; padding: 0 6px 10px; }
.bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #FFE6C7; opacity: .55; }
.machine.spinning .bulbs i { animation: bulb .5s infinite; }
.machine.spinning .bulbs i:nth-child(even) { animation-delay: .25s; }
.machine.win .bulbs i { background: #B9F5CF; opacity: 1; animation: bulb .25s 6; }
@keyframes bulb { 50% { opacity: 1; background: #fff; box-shadow: 0 0 10px #fff; } }
.window { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: inset 0 3px 10px rgba(0,0,0,.18); }
.reel { height: 150px; overflow: hidden; border-radius: 12px; background: var(--surface); position: relative; }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 34px; z-index: 2; pointer-events: none; }
.reel::before { top: 0; background: linear-gradient(#fff, transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, #fff); }
.reel.locked { box-shadow: inset 0 0 0 2.5px var(--green); }
.strip { will-change: transform; }
.sym { height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; }
.sym img { width: 100%; height: 92px; object-fit: cover; border-radius: 10px; }
.sym img.pack { object-fit: contain; }
.sym b { font-size: 12px; line-height: 1.15; font-weight: 700; }
.payline { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--green); transform: translateY(-50%); opacity: 0; box-shadow: 0 0 12px var(--green); transition: opacity .3s; }
.machine.win .payline { opacity: 1; }
.slot-status { min-height: 26px; margin: 14px 0 4px; font-weight: 800; color: var(--primary-dark); font-size: 16px; }
.slot-status.win { color: var(--green); }
.slot-res { min-height: 20px; }
.slot-res .combo { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.slot-res .combo small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.lever-btn { margin-top: 14px; }
.confetti { position: fixed; top: -12px; width: 8px; height: 13px; z-index: 99; pointer-events: none; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(760deg); } }

/* ---------- Onboarding PLZ */
.onboard { position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .35s; }
.onboard.open { opacity: 1; pointer-events: auto; }
.ob-photo { flex: 1 1 42%; min-height: 220px; background: #ddd center / cover no-repeat; position: relative; }
.ob-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 60%, rgba(0,0,0,.25)); }
.ob-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 16px 0; }
.ob-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.ob-brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ob-lang { background: rgba(255,255,255,.9); border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.ob-sheet { position: relative; margin-top: -26px; background: #fff; border-radius: 28px 28px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(0,0,0,.08); }
.ob-sheet h2 { font-size: 28px; font-weight: 800; line-height: 1.12; }
.ob-lead { color: var(--muted); margin: 8px 0 20px; }
.otp { position: relative; }
.otp-boxes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.otp-boxes span { height: 64px; border-radius: 16px; background: #F2F2F4; display: grid; place-items: center; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; border: 2px solid transparent; transition: border-color .15s, background .15s, transform .15s; }
.otp-boxes span.cur { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.otp-boxes span.cur::after { content: ""; width: 2px; height: 28px; background: var(--primary); animation: caret 1s steps(1) infinite; }
.otp-boxes span.filled { background: #fff; border-color: #E2E2E6; }
.otp.ok .otp-boxes span { border-color: var(--green); background: var(--green-soft); color: #0E6B34; }
.otp.no .otp-boxes span { border-color: var(--primary); }
.otp.shake { animation: shake .4s; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; caret-color: transparent; }
.ob-result { min-height: 8px; }
.res { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; margin-top: 16px; animation: pop .35s var(--ease); }
.res .ri { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 900; }
.res b { display: block; }
.res small { color: var(--muted); font-size: 13px; }
.res.ok { background: var(--green-soft); }
.res.ok .ri { background: var(--green); }
.res.no { background: var(--primary-soft); }
.res.no .ri { background: var(--primary); }
.res .btn { margin-top: 12px; }
.res > div { flex: 1; }
.ob-zones { margin: 18px 0 14px; }
.ob-zones small { color: var(--muted); font-size: 13px; }
#zoneChips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#zoneChips button { padding: 6px 11px; border-radius: 99px; background: var(--surface); font-size: 13px; font-weight: 600; }

.toast { position: fixed; left: 50%; top: calc(var(--nav) + 12px + env(safe-area-inset-top)); transform: translate(-50%, -16px); background: rgba(30,30,32,.92); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: 99px; z-index: 95; opacity: 0; transition: all .3s var(--ease); pointer-events: none; white-space: nowrap; backdrop-filter: blur(10px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Desktop: Wolt/Uber-Eats-Layout */
@media (min-width: 1000px) {
  :root { --nav: 68px; }
  .desk-only { display: grid !important; }
  .nav { padding: 0 28px; }
  .nav-brand { opacity: 1; }
  .page { display: grid; grid-template-columns: 1fr 370px; gap: 32px; padding: 20px 28px 0; }
  .main { padding-bottom: 40px; }
  .hero { height: 340px; border-radius: 24px; }
  .hero-txt { left: 32px; bottom: 56px; }
  .hero-txt h1 { font-size: 44px; }
  .shop-card { margin: -34px 18px 0; border-radius: 22px; padding: 18px 20px 18px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.18); }
  .sc-row { padding: 0; }
  .shop-card .seg, .shop-card .info-row { margin-left: 0; margin-right: 0; }
  .seg, .info-row, .promos, .search { margin-left: 0; margin-right: 0; }
  .seg { max-width: 360px; }
  .promos { grid-template-columns: 1fr 1fr; }
  .sec-head, .menu, .hscroll { padding-left: 0; padding-right: 0; }
  .cats { padding: 10px 0; margin-left: 0; margin-right: 0; }
  .pop-card { width: 220px; }
  .items { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item { border: .5px solid var(--hair); border-radius: var(--r); padding: 14px; transition: box-shadow .2s, transform .2s; }
  .item:last-child { border-bottom: .5px solid var(--hair); }
  .item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .item .ph { width: 116px; height: 116px; }
  .item { grid-template-columns: 1fr 116px; }
  .footer { margin-left: 0; margin-right: 0; grid-template-columns: repeat(3, 1fr); }
  .story { width: 180px; }
  .tabbar, .cart-bar { display: none; }
  .side-cart { display: block; position: sticky; top: calc(var(--nav) + 20px); align-self: start; max-height: calc(100vh - var(--nav) - 40px); overflow-y: auto; border: .5px solid var(--hair); border-radius: 22px; box-shadow: var(--shadow); }
  .side-cart .sheet-foot { border-radius: 0 0 22px 22px; }
  .sheet-wrap { align-items: center; }
  .sheet { width: min(560px, 92vw); border-radius: 24px; max-height: 88vh; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .3s var(--ease), opacity .25s; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .grabber { display: none; }
  .onboard { flex-direction: row; }
  .ob-photo { flex: 1 1 55%; }
  .ob-sheet { flex: 0 0 480px; margin: 0; border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px 44px; box-shadow: none; }
}
@media (max-width: 999px) { .side-cart { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
