/* Kabul – Traditional Afghan Kitchen · Designsprache angelehnt an Wolt: farbig, freundlich, klare Listen */
:root {
  --accent: #2563EB; --accent-hover: #1D4FD8; --accent-soft: #E7EEFF; --accent-ink: #1A47B8; --on-accent: #fff; --accent-2: #7C3AED;
  --ink: #202125; --ink-2: #44464C; --muted: #6E7178; --faint: #9A9CA3;
  --bg: #F3F4F6; --bg-2: #EBECEF; --card: #FFFFFF; --line: #E2E3E7; --line-2: #ECEDF0; --fill: rgba(32,33,37,.06);
  --ok: #1F8A4C; --ok-soft: #E3F5EA; --bad: #D92D20; --warn: #B54708; --glass: rgba(255,255,255,.86);
  --saffron: #FFF1D6; --saffron-i: #9A5B00; --pom: #FDE4E8; --pom-i: #A3203D; --pist: #E4F4DD; --pist-i: #2F6B1F;
  --lapis: #E3EBFF; --lapis-i: #23419C; --sand: #F5ECDD; --sand-i: #7A5427; --rose: #FBE6F1; --rose-i: #8E2766; --mint: #DDF4EF; --mint-i: #17695A;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 16px; --r-lg: 24px; --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 2px 10px rgba(16,24,40,.06); --shadow-lg: 0 16px 48px rgba(16,24,40,.2);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --accent: #5B8CFF; --accent-hover: #7AA2FF; --accent-soft: rgba(91,140,255,.16); --accent-ink: #9DB9FF;
    --ink: #F3F4F6; --ink-2: #D1D3D8; --muted: #A2A5AD; --faint: #80838B; --bg: #0E0F11; --bg-2: #17181B; --card: #1C1D21; --line: #2E3036; --line-2: #26282D; --fill: rgba(255,255,255,.08); --glass: rgba(20,21,24,.86); --ok-soft: rgba(31,138,76,.2);
    --saffron: #3A2C12; --saffron-i: #FFCF7A; --pom: #3D1820; --pom-i: #FF9BAF; --pist: #1E3218; --pist-i: #A6DD8F; --lapis: #18233F; --lapis-i: #A9C0FF; --sand: #33291B; --sand-i: #E8C79A; --rose: #3A1730; --rose-i: #F5A6D3; --mint: #12302A; --mint-i: #8EE0CF; color-scheme: dark; --on-accent: #fff; }
}
:root[data-theme="dark"] { --accent: #5B8CFF; --accent-hover: #7AA2FF; --accent-soft: rgba(91,140,255,.16); --accent-ink: #9DB9FF;
    --ink: #F3F4F6; --ink-2: #D1D3D8; --muted: #A2A5AD; --faint: #80838B; --bg: #0E0F11; --bg-2: #17181B; --card: #1C1D21; --line: #2E3036; --line-2: #26282D; --fill: rgba(255,255,255,.08); --glass: rgba(20,21,24,.86); --ok-soft: rgba(31,138,76,.2);
    --saffron: #3A2C12; --saffron-i: #FFCF7A; --pom: #3D1820; --pom-i: #FF9BAF; --pist: #1E3218; --pist-i: #A6DD8F; --lapis: #18233F; --lapis-i: #A9C0FF; --sand: #33291B; --sand-i: #E8C79A; --rose: #3A1730; --rose-i: #F5A6D3; --mint: #12302A; --mint-i: #8EE0CF; color-scheme: dark; --on-accent: #fff; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Navigation */
.gnav { position: sticky; top: 0; z-index: 60; background: var(--glass); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line-2); padding-top: env(safe-area-inset-top, 0px); }
.gnav-in { max-width: 1040px; margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); background: none; border: 0; padding: 0 6px; margin-inline-end: auto; display: flex; align-items: baseline; gap: 6px; }
.wordmark small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink); display: grid; place-items: center; position: relative; }
.nbtn .count { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--card); }
.nbtn.txt { width: auto; padding: 0 12px; border-radius: 21px; font-size: 13px; font-weight: 700; gap: 5px; display: inline-flex; align-items: center; }
.nbtn.txt .ic { width: 18px; height: 18px; }

/* Titelbild mit afghanischem Muster */
.cover { position: relative; height: 190px; overflow: hidden; background: linear-gradient(135deg, var(--cover-a, #1E3A8A) 0%, var(--cover-b, #2563EB) 55%, var(--cover-c, #C2410C) 140%); }
.cover-art { position: absolute; inset: 0; opacity: .22;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 38%, #fff 39%, #fff 42%, transparent 43%),
    conic-gradient(from 45deg, transparent 0 25%, rgba(255,255,255,.9) 0 27%, transparent 0 50%, rgba(255,255,255,.9) 0 52%, transparent 0 75%, rgba(255,255,255,.9) 0 77%, transparent 0);
  background-size: 64px 64px, 64px 64px; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.25)); }
.cover-plate { position: absolute; right: 8%; bottom: -26px; font-size: 150px; filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); transform: rotate(-8deg); z-index: 1; }
@media (min-width: 760px) { .cover { height: 260px; } .cover-plate { font-size: 200px; } }

/* Restaurant-Karte */
.venue { position: relative; z-index: 2; margin-top: -48px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 48px 18px 18px; }
.venue-logo { position: absolute; top: -34px; left: 18px; width: 68px; height: 68px; border-radius: 18px; background: linear-gradient(140deg, var(--logo-a, #3D6BDB), var(--logo-b, #1E3F8F)); color: var(--on-accent); font-size: 34px; font-weight: 700; display: grid; place-items: center; border: 4px solid var(--card); box-shadow: 0 6px 16px rgba(30,63,143,.35); }
.venue h1 { font-size: 30px; }
.venue-sub { margin: 2px 0 0; font-weight: 700; color: var(--accent-ink); font-size: 14px; }
.venue-desc { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.closed { background: var(--saffron); color: var(--saffron-i); }
.info-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.info { background: var(--bg); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.info b { font-size: clamp(12.5px, 3.7vw, 15px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info small { font-size: clamp(11px, 3vw, 12px); color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zip { display: flex; align-items: center; margin-top: 12px; background: var(--bg); border-radius: 14px; padding: 6px 6px 6px 14px; gap: 8px; border: 2px solid transparent; color: var(--muted); }
.zip:focus-within { border-color: var(--accent); background: var(--card); }
.zip input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; font-weight: 600; padding: 10px 0; outline: none; color: var(--ink); }
.zip .go { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.zip .loc { height: 44px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; flex: none; }
.venue-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mode-seg { margin-top: 14px; max-width: 420px; }
.mode-seg button { height: 46px; font-size: 15px; }
.zip-ok { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 12px 14px; }
.zip-ok span { flex: 1; }
.zip-ok button { border: 0; background: var(--card); color: var(--accent-ink); padding: 7px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; }
.facts { margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.hint { color: var(--warn); font-size: 14px; margin-top: 10px; font-weight: 600; }
.notice { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--saffron); color: var(--saffron-i); font-size: 14px; font-weight: 700; }

/* Aktion */
.promo { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; }
.promo-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--card); display: grid; place-items: center; font-weight: 900; font-size: 20px; flex: none; }
.promo b { display: block; font-size: 16px; font-weight: 800; }
.promo small { font-size: 13px; font-weight: 600; opacity: .85; }

/* Farbtöne */
.t-saffron { background: var(--saffron); color: var(--saffron-i); } .t-pom { background: var(--pom); color: var(--pom-i); }
.t-pist { background: var(--pist); color: var(--pist-i); } .t-lapis { background: var(--lapis); color: var(--lapis-i); }
.t-sand { background: var(--sand); color: var(--sand-i); } .t-rose { background: var(--rose); color: var(--rose-i); } .t-mint { background: var(--mint); color: var(--mint-i); }

/* Kategorien als farbige Kacheln */
.sec-h.sm { font-size: 20px; margin: 26px 2px 12px; }
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin: 0 -16px; padding-inline: 16px; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); margin: 0; padding-inline: 0; } }
.cat-tile { border: 0; border-radius: 16px; padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: start; min-height: 112px; position: relative; overflow: hidden; transition: transform .15s; }
.cat-tile:active { transform: scale(.97); }
.cat-tile .ce { font-size: 38px; line-height: 1; margin-bottom: auto; }
.cat-tile b { font-size: 14px; font-weight: 800; line-height: 1.15; margin-top: 10px; }
.cat-tile small { font-size: 12px; font-weight: 700; opacity: .7; }

/* Tabs */
.subnav { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 50; background: var(--glass); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line-2); margin-top: 22px; }
.subnav-in { max-width: 1040px; margin: 0 auto; display: flex; gap: 8px; align-items: center; padding: 8px 16px; }
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; border: 0; background: var(--card); font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.pill.on { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.searchf { display: flex; flex: 1; align-items: center; gap: 8px; background: var(--card); border-radius: 12px; padding: 0 12px; height: 40px; box-shadow: inset 0 0 0 1px var(--line); }
.searchf input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; }

/* Sektionen */
section.sec { padding: 30px 0 4px; scroll-margin-top: 120px; }
.sec-h { font-size: 24px; font-weight: 800; margin: 0 2px 14px; }
.sec-h span { color: var(--muted); font-weight: 700; }

/* Beliebt – Regal */
.shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 16px 10px; margin: 0 -16px; scroll-padding: 16px; }
.shelf::-webkit-scrollbar { display: none; }
.hcard { flex: 0 0 172px; scroll-snap-align: start; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 0; padding: 0; text-align: start; position: relative; cursor: pointer; }
.hcard .media { aspect-ratio: 4 / 3; position: relative; }
.hcard .media .im { width: 100%; height: 100%; object-fit: cover; font-size: 64px; }
.hcard .body { padding: 10px 12px 12px; }
.hcard .name { font-size: 15px; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.hcard .price { margin-top: 4px; }
.hcard .plus { position: absolute; right: 8px; bottom: 8px; }

/* Gerichte als Liste mit Bild rechts */
.list { display: grid; gap: 10px; }
@media (min-width: 800px) { .list { grid-template-columns: 1fr 1fr; gap: 14px; } }
.row-card { display: flex; gap: 12px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; cursor: pointer; position: relative; transition: transform .15s; }
.row-card:active { transform: scale(.99); }
.rc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rc-text .name { font-size: 16px; font-weight: 800; line-height: 1.25; }
.rc-text .desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-text .meta { font-size: 12px; color: var(--faint); font-weight: 600; }
.rc-media { width: 112px; height: 96px; flex: none; position: relative; border-radius: 12px; overflow: visible; }
.rc-media .im { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; font-size: 46px; overflow: hidden; }
.rc-media .plus { position: absolute; right: -6px; bottom: -6px; }
.rc-media .fav { top: 4px; left: 4px; right: auto; width: 28px; height: 28px; }
.rc-media .fav .ic { width: 15px; height: 15px; }
.price { font-size: 15px; font-weight: 800; color: var(--accent-ink); margin-top: auto; padding-top: 4px; }
.price s { color: var(--faint); font-weight: 600; margin-inline-start: 6px; font-size: 13px; }
.chips-row { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.chip { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.chip.g { background: var(--pist); color: var(--pist-i); } .chip.r { background: var(--pom); color: var(--pom-i); }
.chip.b { background: var(--saffron); color: var(--saffron-i); } .chip.o { background: var(--ink); color: var(--bg); }
.plus { width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 3px var(--card); transition: transform .12s; font-weight: 800; }
.plus:active { transform: scale(.9); }
.plus .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.plus.in { background: var(--accent); color: var(--on-accent); font-size: 15px; }
.tags { display: none; }
.fav { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; color: #202125; z-index: 1; }
.fav.on { color: #E11D48; }
.fav .ic { width: 17px; height: 17px; }
.fav.on .ic { fill: currentColor; }
.row-card.off, .hcard.off { opacity: .55; }
.no-res { text-align: center; color: var(--muted); padding: 60px 0; font-weight: 600; }

/* Platzhalter-Bilder in warmen Tönen */
.ph { display: grid; place-items: center; background: var(--saffron); }
.ph[data-hue="1"] { background: var(--pom); } .ph[data-hue="2"] { background: var(--pist); } .ph[data-hue="3"] { background: var(--lapis); }
.ph[data-hue="4"] { background: var(--sand); } .ph[data-hue="5"] { background: var(--rose); }
.ph span { filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); }

/* Warenkorb-Leiste */
.bagbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + var(--safe-b)); transform: translateY(130%); transition: transform .35s cubic-bezier(.2,.9,.2,1.1); pointer-events: none; }
.bagbar.show { transform: none; pointer-events: auto; }
.bagbar button { max-width: 640px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px 0 10px; border-radius: 16px; border: 0; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 800; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 40%, transparent); }
.bagbar .n { background: rgba(255,255,255,.22); min-width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; }
.bagbar .l { flex: 1; text-align: start; }

/* Buttons & Formulare */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0; font-size: 16px; font-weight: 800; background: var(--accent-soft); color: var(--accent-ink); transition: background .2s, transform .1s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-blue { background: var(--accent); color: var(--on-accent); }
.btn-blue:hover:not(:disabled) { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.link { border: 0; background: none; color: var(--accent); padding: 0; font-size: inherit; font-weight: 700; }

.group-h { font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; padding: 0 6px 8px; margin-top: 26px; font-weight: 800; }
.group-f { font-size: 13px; color: var(--muted); padding: 8px 6px 0; }
.group { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.cell { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 16px; position: relative; background: transparent; border: 0; width: 100%; text-align: start; color: inherit; }
.cell + .cell::before, .ac-list + .cell::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--line-2); }
.cell .t { flex: 1; min-width: 0; font-weight: 600; }
.cell .t small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.cell .v { color: var(--muted); font-size: 15px; font-weight: 600; }
.cell .chk { width: 24px; height: 24px; color: var(--on-accent); background: var(--accent); border-radius: 50%; padding: 4px; flex: none; opacity: 0; transform: scale(.6); transition: .15s; stroke-width: 3; }
.cell input[type=radio], .cell input[type=checkbox].hidden-in { position: absolute; opacity: 0; pointer-events: none; }
.cell:has(input:checked) { background: var(--accent-soft); }
.cell:has(input:checked) .chk { opacity: 1; transform: none; }
.cell.dis { opacity: .4; }
label.cell { cursor: pointer; }
.cell input.f, .cell select.f, .cell textarea.f { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; padding: 4px 0; min-width: 0; font-weight: 600; }
.cell textarea.f { resize: vertical; min-height: 60px; font-weight: 500; }
.cell .lbl { width: 96px; flex: none; font-size: 14px; color: var(--muted); font-weight: 700; }
.cell.invalid { background: var(--pom); }
.cell.invalid .lbl { color: var(--bad); }
.toggle { position: relative; width: 51px; height: 31px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle i { position: absolute; inset: 0; background: var(--line); border-radius: 16px; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s; }
.toggle input:checked + i { background: var(--accent); }
.toggle input:checked + i::after { transform: translateX(20px); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 64px; border: 0; height: 44px; border-radius: 12px; font-size: 14px; font-weight: 800; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.seg button.on { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.stepper { display: inline-flex; align-items: center; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; height: 48px; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; font-weight: 800; color: inherit; display: grid; place-items: center; border-radius: 12px; }
.stepper span { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.pm { width: 48px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #fff; color: #000; flex: none; }
.pm.dark { background: #000; color: #fff; border-color: #000; }
.pm.pp { color: #003087; font-style: italic; font-size: 12px; }

/* Seiten */
.page { max-width: 680px; margin: 0 auto; padding: 22px 16px calc(60px + var(--safe-b)); }
.page-h { font-size: 32px; font-weight: 800; margin-top: 6px; }
.page-sub { font-size: 16px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.bag-line { display: flex; gap: 14px; padding: 16px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 10px; }
.bag-line .media { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; flex: none; }
.bag-line .media .im { width: 100%; height: 100%; font-size: 36px; }
.bag-line .info { flex: 1; min-width: 0; }
.bag-line .info h3 { font-size: 16px; font-weight: 800; }
.bag-line .opts { color: var(--muted); font-size: 13px; margin-top: 3px; }
.bag-line .act { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; row-gap: 8px; }
.bag-line .act .stepper { height: 38px; }
.bag-line .lp { font-size: 16px; font-weight: 800; white-space: nowrap; color: var(--accent-ink); }
.summary { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .tot { font-size: 20px; font-weight: 800; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: 4px; }
.summary .minor { font-size: 12px; color: var(--muted); }
.summary .disc { color: var(--ok); font-weight: 700; }
.progress { margin-top: 14px; font-size: 14px; color: var(--saffron-i); background: var(--saffron); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.progress .bar { height: 6px; border-radius: 3px; background: rgba(0,0,0,.08); margin-top: 8px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--saffron-i); border-radius: 3px; transition: width .5s; }
.foot-cta { position: sticky; bottom: 0; padding: 14px 0 calc(14px + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 30%); margin-top: 14px; }
.legal { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.legal button { border: 0; background: none; color: var(--accent); padding: 0; font-size: 12px; font-weight: 700; }
.errors { color: var(--bad); font-size: 14px; margin-top: 12px; font-weight: 700; }
.ac-list { background: var(--card); }
.ac-list button { display: block; width: 100%; text-align: start; border: 0; background: var(--accent-soft); padding: 12px 16px; font-size: 15px; font-weight: 700; color: var(--ink); }
.ac-list button small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.ac-list button + button { border-top: 1px solid var(--card); }
.login-cta { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--lapis); color: var(--lapis-i); display: flex; gap: 14px; align-items: center; }
.login-cta div { flex: 1; font-size: 14px; font-weight: 600; }
.login-cta b { display: block; font-size: 16px; font-weight: 800; }

/* Status */
.st-h { font-size: 34px; font-weight: 800; margin-top: 14px; }
.st-eta { font-size: 17px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.st-eta b { color: var(--accent-ink); font-weight: 800; font-size: 22px; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 6px; }
.track div { font-size: 12px; color: var(--muted); font-weight: 700; }
.track div::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--bg-2); margin-bottom: 8px; }
.track div.done { color: var(--ink); }
.track div.done::before { background: var(--accent); }
.track div.now::before { background: linear-gradient(90deg, var(--accent) 50%, var(--bg-2) 50%); background-size: 200% 100%; animation: tr 1.6s linear infinite; }
@keyframes tr { from { background-position: 100% 0; } to { background-position: 0 0; } }
.pts { margin-top: 18px; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, var(--cover-b, #2563EB), var(--accent-2)); color: #fff; }
.pts .v { font-size: 40px; font-weight: 800; }
.pts .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.3); margin-top: 12px; overflow: hidden; }
.pts .bar i { display: block; height: 100%; background: #fff; }

/* Sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(16,24,40,.45); opacity: 0; transition: opacity .3s; }
.sheet-backdrop.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 94dvh; background: var(--bg); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .4s cubic-bezier(.2,.9,.2,1); display: flex; flex-direction: column; overflow: hidden; }
.sheet.open { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.7); position: absolute; top: 8px; left: 50%; translate: -50% 0; z-index: 5; }
.sheet-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--line-2); background: var(--card); display: flex; gap: 10px; align-items: center; }
.sheet-foot .btn { flex: 1; min-width: 0; justify-content: space-between; }
.sheet-foot .btn span:first-child { overflow: hidden; text-overflow: ellipsis; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 8px; }
.sheet-head h2 { font-size: 24px; }
.xbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink); display: grid; place-items: center; flex: none; }
.xbtn .ic { width: 16px; height: 16px; stroke-width: 2.6; }
@media (min-width: 740px) {
  .sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: min(600px, 92vw); max-height: 88vh; border-radius: 24px; transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none; transition: transform .3s cubic-bezier(.2,.9,.2,1), opacity .25s; box-shadow: var(--shadow-lg); }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
  .sheet-grip { display: none; }
}
.item-media { aspect-ratio: 16 / 10; position: relative; }
.item-media .im { width: 100%; height: 100%; object-fit: cover; font-size: 110px; }
.item-media .xbtn { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.9); color: #202125; }
.item-media .fav { top: 14px; left: 14px; right: auto; width: 36px; height: 36px; }
.item-head { padding: 18px 18px 20px; background: var(--card); }
.item-head h2 { font-size: 26px; }
.item-head .pr { font-size: 18px; margin-top: 4px; font-weight: 800; color: var(--accent-ink); }
.item-head p { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; }
.item-head .meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.item-groups { padding: 0 16px 24px; }
.og.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.og .group-h { display: flex; justify-content: space-between; }
.og .group-h em { font-style: normal; text-transform: none; letter-spacing: 0; padding: 2px 8px; border-radius: 999px; background: var(--card); }
.og .group-h em.req { background: var(--saffron); color: var(--saffron-i); }
.og.shake .group-h em { background: var(--bad); color: #fff; }

/* Toast */
.toasts { position: fixed; top: calc(66px + env(safe-area-inset-top, 0px)); left: 50%; translate: -50% 0; z-index: 200; display: grid; gap: 8px; width: min(92vw, 380px); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 13px 16px; border-radius: 14px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg); animation: tin .3s; text-align: center; }
.toast.bad { background: var(--bad); color: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }
.skeleton { background: linear-gradient(90deg, var(--bg-2), var(--card), var(--bg-2)); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
.spinner { width: 20px; height: 20px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
footer.site { background: #172554; color: #C7D2FE; margin-top: 56px; padding: 28px 16px calc(110px + var(--safe-b)); font-size: 13px; }
footer.site .wrap { padding: 0; }
footer.site p { margin: 0 0 8px; line-height: 1.5; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(199,210,254,.2); padding-top: 14px; margin-top: 14px; }
footer.site .links button { border: 0; background: rgba(255,255,255,.08); color: #fff; padding: 7px 12px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.legal-text { white-space: pre-wrap; font-size: 14px; color: var(--ink-2); padding: 0 18px 30px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 11px 16px; border-top: 1px solid var(--line-2); }
.hours tr:first-child td { border-top: 0; }
.hours td:last-child { text-align: end; color: var(--muted); }
.hours tr.today td { font-weight: 800; color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.info b { white-space: nowrap; font-size: 14px; }
.info { padding: 10px; }
.zip .loc { width: 44px; padding: 0; display: grid; place-items: center; }
/* PLZ-Feld auf grauen Seiten sichtbar machen */
.page .zip { background: var(--card); box-shadow: var(--shadow); border: 2px solid var(--line); color: var(--muted); }
.page .zip:focus-within { border-color: var(--accent); }
/* „Passt dazu“-Kacheln im Warenkorb */
.tile { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.tile .media { aspect-ratio: 4 / 3; }
.tile .media .im { width: 100%; height: 100%; font-size: 44px; }
.tile .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile .name { font-size: 14px; font-weight: 800; line-height: 1.2; min-height: 34px; }
.tile .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.tile .price { padding: 0; margin: 0; }

/* Eigenes Titelbild & Motiv */
.cover.has-img { background-size: cover; background-position: center; }
.cover-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cover::after { z-index: 1; }
.cover-plate { z-index: 2; }
.cover-plate img { width: 210px; height: auto; max-height: 210px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); }
@media (min-width: 760px) { .cover-plate img { width: 290px; max-height: 290px; } }

/* Bestellen per WhatsApp */
.wa-order { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 4px; padding: 10px 16px; border-radius: 999px; background: #25D366; color: #fff !important; font-weight: 800; text-decoration: none; }

.wa-btn { margin-top: 8px; background: #25D366 !important; color: #fff !important; border: 0; font-weight: 800; }

/* Adress-Vorschläge (schwebend unter dem Feld) */
.ac-pop { position: fixed; z-index: 1000; background: var(--card, #fff); color: var(--ink, #111); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.18); border: 1px solid var(--line, #e5e5e5); overflow: hidden; max-height: 60vh; overflow-y: auto; }
.ac-pop.hidden { display: none; }
.ac-pop button { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: start; border: 0; background: none; padding: 12px 14px; font: inherit; font-weight: 700; font-size: 15px; color: inherit; cursor: pointer; }
.ac-pop button + button { border-top: 1px solid var(--line, #eee); }
.ac-pop button:hover, .ac-pop button.on { background: rgba(0,0,0,.05); }
.ac-pop small { display: block; color: var(--muted, #777); font-weight: 600; font-size: 13px; margin-top: 2px; }
.ac-pop .ac-ic { flex: none; }

/* Hinweis im Warenkorb, wenn geschlossen */
.closed-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 2px solid; }
.closed-box.pre { background: #FFF6E0; border-color: #F2B233; color: #5A3B00; }
.closed-box.no { background: #FDECEC; border-color: #E5484D; color: #7A1518; }
.closed-box .cb-ic { font-size: 28px; line-height: 1; flex: none; }
.closed-box .cb-tx { display: grid; gap: 4px; flex: 1; min-width: 0; font-size: 15px; }
.closed-box .cb-tx b { font-size: 17px; }
.closed-box .cb-sm { font-size: 13px; opacity: .8; }
.closed-box select { margin-top: 6px; background: #fff; color: #222; min-height: 44px; font-weight: 800; width: 100%; border: 1px solid rgba(0,0,0,.15); border-radius: 12px; padding: 0 12px; }

/* Catering auf Anfrage */
.catering { display: flex; gap: 16px; align-items: flex-start; margin: 34px 0 10px; padding: 20px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(0,0,0,.06); }
.catering .cat-ic { font-size: 40px; line-height: 1; flex: none; }
.catering .cat-tx { flex: 1; min-width: 0; }
.catering h2 { margin: 0 0 6px; font-size: 22px; }
.catering p { margin: 0; font-size: 15px; line-height: 1.5; }
.catering .cat-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.catering .cat-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 800; text-decoration: none; }
.catering .cat-btn.ghost { background: var(--card); color: var(--accent-ink); border: 1px solid var(--line); }
@media (max-width: 520px) { .catering { flex-direction: column; gap: 8px; } }

/* Mini-Karte (Lieferverfolgung) */
.mmap { position: relative; overflow: hidden; border-radius: 16px; background: #e8eef2; height: 240px; isolation: isolate; }
.mmap-tiles img { position: absolute; width: 256px; height: 256px; user-select: none; pointer-events: none; }
.mmap-marks { position: absolute; inset: 0; pointer-events: none; }
.mmap-mk { position: absolute; left: 0; top: 0; transition: transform 1.6s linear; will-change: transform; }
.mmap-marks.jump .mmap-mk { transition: none; }
.mmap-mk > * { position: absolute; transform: translate(-50%, -50%); }
.mmap-pin { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 20px; box-shadow: 0 3px 10px rgba(0,0,0,.28); border: 3px solid #fff; }
.mmap-mk.drv .mmap-pin { background: var(--brand, #E23D28); color: #fff; width: 44px; height: 44px; font-size: 22px; }
.mmap-mk.drv .mmap-pulse { width: 44px; height: 44px; border-radius: 50%; background: var(--brand, #E23D28); opacity: .35; animation: mmapPulse 1.8s ease-out infinite; }
.mmap-lbl { white-space: nowrap; transform: translate(-50%, 18px) !important; background: rgba(20,20,20,.82); color: #fff; font: 800 11.5px/1 system-ui, sans-serif; padding: 5px 8px; border-radius: 999px; }
.mmap-attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; background: rgba(255,255,255,.8); color: #333; padding: 1px 5px; border-radius: 6px; text-decoration: none; z-index: 2; }
@keyframes mmapPulse { from { transform: translate(-50%, -50%) scale(.6); opacity: .5; } to { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mmap-mk { transition: none; } .mmap-mk.drv .mmap-pulse { animation: none; } }

/* Live-Lieferverfolgung */
.trk .trk-h { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.trk .trk-dot { width: 10px; height: 10px; border-radius: 50%; background: #aaa; flex: none; }
.trk.live .trk-dot { background: #2fb344; box-shadow: 0 0 0 0 rgba(47,179,68,.6); animation: trkDot 1.6s infinite; }
.trk .trk-s { font-size: 12.5px; margin: 2px 0 10px 18px; min-height: 1em; }
.trk .trk-map { height: 240px; }
@keyframes trkDot { 70% { box-shadow: 0 0 0 8px rgba(47,179,68,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,68,0); } }

/* Mehr Umsatz: „Nochmal bestellen“ + Aktions-Fortschritt + Bewertung */
.reorder { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2, #eee); }
.reorder .ro-ic { font-size: 26px; flex: none; }
.reorder .ro-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.reorder .ro-tx small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reorder .ro-btn { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.progress.deal-prog { background: #EAF1FF; color: #0F2A5C; }
.progress.deal-prog .bar i { background: var(--accent); }
.review-box { text-align: center; margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--card); }
.review-box .stars { font-size: 30px; letter-spacing: 4px; margin: 4px 0 6px; }

/* Rabatt direkt am Produkt */
.deal-p { color: #D9480F !important; }
.deal-tag { display: inline-block; margin-inline-start: 4px; padding: 2px 6px; border-radius: 6px; background: #D9480F; color: #fff; font-size: 11px; font-weight: 900; vertical-align: middle; }
.deal-hint { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 999px; background: #FFF4D6; color: #7A4B00; font-size: 12px; font-weight: 800; }

.catering .cat-btn.wa { background: #1FA855; color: #fff; }

.cash-note { display: block; color: #B54708 !important; font-weight: 700; }

/* Aktionen: anklickbar + Detailfenster */
button.promo { border: 0; text-align: start; font: inherit; cursor: pointer; width: 100%; }
.promo .promo-more { margin-inline-start: auto; font-size: 24px; opacity: .55; padding-inline-start: 8px; }
.deal-sheet .ds-lead { font-size: 16px; font-weight: 600; margin: 4px 0 12px; }
.deal-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deal-facts li { font-size: 15px; font-weight: 600; padding: 12px 14px; border-radius: 12px; background: var(--card-2, #f2f2f2); }
