/* Kundenshop – Design „Klar & schnell“ (mobil zuerst) */
body { padding-bottom: calc(96px + var(--safe-b)); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 12px; }
h2.sec { font-size: 22px; font-weight: 900; margin: 26px 4px 12px; display: flex; align-items: baseline; gap: 8px; }
h2.sec small { font-size: 13px; color: var(--muted); font-weight: 700; }

/* ---- Markenleiste ---- */
.bar { position: sticky; top: 0; z-index: 60; background: var(--brand); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.bar-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: #fff; text-decoration: none; background: none; border: 0; padding: 0; text-align: start; }
.brand .lg { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 22px; flex: none; overflow: hidden; }
.brand .lg img { width: 100%; height: 100%; object-fit: cover; }
.brand b { font-size: clamp(14px, 4.4vw, 19px); font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.08; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.bar-btn { height: 42px; min-width: 42px; padding: 0 10px; border-radius: 12px; border: 0; background: rgba(255,255,255,.16); color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; position: relative; flex: none; }
.bar-btn:active { background: rgba(255,255,255,.28); }
.bar-btn .dot { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 900; display: grid; place-items: center; padding: 0 5px; }

/* ---- Kopfbereich ---- */
.head { background: var(--brand); color: #fff; padding: 4px 0 18px; }
.head .wrap { display: grid; gap: 12px; }
/* Titelbild (im Admin unter „Restaurant & Recht“ hochgeladen) */
.head.has-cover { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 55%, var(--brand) 100%), var(--cover) center 35% / cover no-repeat, var(--brand); padding-top: clamp(120px, 26vw, 260px); }
.head.has-cover .status-line { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.18); white-space: nowrap; }
.pill.open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7CFC8A; }
.pill.closed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode button { min-height: 58px; border-radius: 14px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mode button.active { background: #fff; color: var(--brand-text, var(--brand)); border-color: #fff; }
.mode button .i { font-size: 22px; }
.where { background: #fff; color: var(--ink); border-radius: 14px; padding: 6px; display: flex; gap: 6px; align-items: center; }
.where .input { border: 0; min-height: 48px; background: transparent; box-shadow: none !important; font-weight: 700; }
.where .btn { min-height: 46px; }
.where .ic { font-size: 20px; padding-inline-start: 8px; }
.where-ok { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-weight: 800; }
.where-ok span { flex: 1; }
.where-ok button { border: 0; background: var(--card-2); border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact { background: rgba(0,0,0,.14); border-radius: 12px; padding: 9px 10px; }
.fact small { display: block; font-size: 11px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }
.fact b { font-size: 16px; font-weight: 900; }
.hint-bad { background: #fff; color: var(--bad); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.notice { margin-top: 12px; padding: 14px; border-radius: 14px; background: #FFF4D6; color: #5C4300; font-weight: 700; display: flex; gap: 10px; align-items: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice { background: #3A2E0E; color: #FFE08A; } }

/* ---- Aktionen ---- */
.deals { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 14px -12px 0; padding: 0 12px 4px; }
.deals::-webkit-scrollbar { display: none; }
.deal { flex: 0 0 min(80%, 340px); scroll-snap-align: start; border-radius: 16px; padding: 16px; background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; min-height: 96px; }
.deal:only-child { flex-basis: 100%; }
.deal.alt { background: #141414; color: #fff; }
.deal h3 { font-size: 19px; font-weight: 900; max-width: 78%; line-height: 1.15; }
.deal p { margin: 6px 0 0; font-size: 13px; font-weight: 600; max-width: 75%; opacity: .85; }
.deal .big { position: absolute; inset-inline-end: 10px; bottom: 6px; font-size: 52px; }

/* ---- Kategorie-Kacheln ---- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(5, 1fr); } }
.tile { border: 0; background: var(--card); border-radius: 16px; padding: 14px 12px; display: flex; align-items: center; gap: 12px; text-align: start; box-shadow: var(--shadow); min-height: 74px; }
.tile:active { transform: scale(.98); }
.tile .te { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; flex: none; background: var(--brand-soft); }
.tile b { display: block; font-size: 15px; font-weight: 900; line-height: 1.15; }
.tile small { color: var(--muted); font-weight: 700; font-size: 12px; }

/* ---- Kategorie-Leiste ---- */
.chipnav { position: sticky; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 20px; }
.chipnav-in { max-width: 1100px; margin: 0 auto; display: flex; gap: 6px; padding: 8px 12px; align-items: center; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 0; background: var(--card); border-radius: 10px; height: 38px; padding: 0 14px; font-weight: 800; font-size: 14px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.chips button.active { background: var(--ink); color: var(--bg); }
.sbtn { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--card); flex: none; font-size: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.searchrow { display: flex; gap: 6px; flex: 1; }
.searchrow .input { min-height: 40px; padding: 8px 12px; border-radius: 10px; }

/* ---- Produkt-Kacheln ---- */
.cat { scroll-margin-top: 126px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tagrow { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tg { background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 11px; padding: 4px 8px; border-radius: 8px; text-transform: uppercase; letter-spacing: .02em; }
.tg.vg { background: #2B8A3E; color: #fff; }
.tg.hot { background: #fff; color: #C92A2A; }
.tg.out { background: #141414; color: #fff; }
.fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 18px; display: grid; place-items: center; color: #C92A2A; }
.qbadge { position: absolute; bottom: 8px; inset-inline-end: 8px; min-width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 900; display: grid; place-items: center; padding: 0 8px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.no-res { text-align: center; padding: 40px 10px; color: var(--muted); font-weight: 700; }

/* ---- Warenkorb-Leiste ---- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + var(--safe-b)); background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 85%, transparent) 30%); transform: translateY(120%); transition: transform .3s cubic-bezier(.2,.9,.25,1.15); pointer-events: none; }
.cartbar.show { transform: none; pointer-events: auto; }
.cartbar button { max-width: 620px; margin: 0 auto; width: 100%; min-height: 62px; border-radius: 16px; border: 0; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 10px; font-weight: 900; font-size: 17px; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 45%, transparent); }
.cartbar .n { min-width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.2); display: grid; place-items: center; }
.cartbar .l { flex: 1; text-align: start; }
.cartbar .s { padding-inline-end: 8px; }
.cartbar.bump button { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.04); } }

/* ---- Gericht-Sheet ---- */
.isheet .hero-img { position: relative; }
.isheet .hero-img .im { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; font-size: 90px; }
.isheet .x { position: absolute; top: 12px; inset-inline-end: 12px; }
.isheet .favx { position: absolute; top: 12px; inset-inline-start: 12px; color: #C92A2A; }
.isheet h2 { font-size: 24px; font-weight: 900; margin-top: 16px; }
.isheet .pr-big { font-size: 20px; font-weight: 900; margin-top: 6px; }
.isheet .desc { color: var(--ink-2); margin: 8px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
details.allergens { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
details.allergens summary { cursor: pointer; font-weight: 800; color: var(--muted); }
.og { border: 0; padding: 0; margin: 22px 0 0; }
.og legend { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 0 0 10px; font-size: 18px; font-weight: 900; }
.og legend small { font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 8px; background: var(--card-2); color: var(--ink-2); }
.og legend small.req { background: var(--accent); color: var(--accent-ink); }
.og legend small.done { background: var(--ok-soft); color: var(--ok); }
.og.shake { animation: shake .4s; }
.og.shake legend small { background: var(--bad); color: #fff; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--card); transition: border-color .12s, background .12s; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { appearance: none; width: 24px; height: 24px; border: 2px solid var(--line); margin: 0; flex: none; display: grid; place-items: center; background: var(--card); }
.opt input[type=radio] { border-radius: 50%; }
.opt input[type=checkbox] { border-radius: 7px; }
.opt input:checked { border-color: var(--brand); background: var(--brand); }
.opt input[type=radio]:checked { box-shadow: inset 0 0 0 4px var(--card); }
.opt input[type=checkbox]:checked::after { content: "✓"; color: #fff; font-weight: 900; font-size: 15px; }
.opt .on { flex: 1; font-weight: 800; }
.opt .op { color: var(--ink-2); font-size: 14px; font-weight: 800; }
.opt.dis { opacity: .45; cursor: default; }
.foot-row { display: flex; gap: 10px; align-items: center; }
.foot-row .btn-primary { flex: 1; min-width: 0; min-height: 56px; justify-content: space-between; padding: 0 16px; font-size: 16px; }
.foot-row .btn-primary span:first-child { overflow: hidden; text-overflow: ellipsis; }
.foot-row .stepper button { width: 38px; height: 38px; }

/* ---- Warenkorb-Sheet ---- */
.cline { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.cline .ci { flex: 1; min-width: 0; }
.cline .cn { font-weight: 900; background: none; border: 0; padding: 0; text-align: start; font-size: 16px; }
.cline .co { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cline .cp { font-weight: 900; margin-top: 4px; }
.cline .stepper button { width: 36px; height: 36px; font-size: 18px; }
.cline .stepper span { min-width: 26px; font-size: 16px; }
.progress { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; font-weight: 800; box-shadow: var(--shadow); }
.bar-p { height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; margin-top: 8px; }
.bar-p i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s; }
.bar-p.done i { background: var(--ok); }
.upsell { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; }
.upsell::-webkit-scrollbar { display: none; }
.up { flex: 0 0 136px; border: 0; background: var(--card); border-radius: 14px; padding: 0; text-align: start; box-shadow: var(--shadow); overflow: hidden; }
.up .uim { width: 100%; height: 80px; object-fit: cover; font-size: 36px; }
.up .ub { padding: 8px 10px 10px; font-size: 13px; font-weight: 800; line-height: 1.2; }
.up .ub b { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; color: var(--ink); }
.up .ub b i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.totals { padding: 12px 16px 18px; display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .disc { color: var(--ok); font-weight: 800; }
.totals .grand { font-size: 20px; font-weight: 900; padding-top: 8px; border-top: 2px solid var(--ink); margin-top: 4px; }
.totals .sm { font-size: 12px; color: var(--muted); }
.empty { text-align: center; padding: 40px 20px 50px; }
.empty .e { font-size: 64px; }
.empty h3 { font-size: 20px; font-weight: 900; margin-top: 8px; }

/* ---- Unterseiten (Kasse, Status, Konto) ---- */
.subbar { position: sticky; top: 0; z-index: 60; background: var(--brand); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.subbar-in { max-width: 680px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.subbar h1 { font-size: 19px; font-weight: 900; flex: 1; }
.page { max-width: 680px; margin: 0 auto; padding: 8px 12px 40px; }
.box { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; margin-top: 12px; }
.box > h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.num { width: 28px; height: 28px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900; flex: none; }
.rc { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; margin-top: 8px; cursor: pointer; background: var(--card); }
.rc:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.rc input { accent-color: var(--brand); width: 20px; height: 20px; margin: 0; flex: none; }
.rc .t { flex: 1; font-weight: 800; }
.rc .t small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.rc.dis { opacity: .5; cursor: not-allowed; }
.pm { min-width: 62px; height: 36px; padding: 0 8px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; border: 1px solid var(--line); background: #fff; color: #111; white-space: nowrap; flex: none; }
.pm.pp { color: #003087; font-style: italic; font-size: 15px; } .pm.pp b { color: #009cde; }
.pm.wl { background: #000; color: #fff; border-color: #000; }
.pm.em { font-size: 20px; }
.chips2 { display: flex; gap: 8px; flex-wrap: wrap; }
.chips2 button { border: 2px solid var(--line); background: var(--card); border-radius: 12px; min-height: 44px; padding: 0 16px; font-weight: 800; }
.chips2 button.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.rowc { display: flex; gap: 8px; }
.msg { font-size: 14px; margin-top: 8px; font-weight: 700; }
.msg.ok { color: var(--ok); } .msg.bad { color: var(--bad); }
.legal { font-size: 13px; color: var(--muted); padding: 14px 4px 4px; }
.legal button { background: none; border: 0; color: var(--brand-text, var(--brand)); padding: 0; font-size: 13px; text-decoration: underline; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 12px; color: var(--ink-2); font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.stickyfoot { position: sticky; bottom: 0; z-index: 55; padding: 12px 0 calc(12px + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 25%); margin-top: 8px; }
.errors { background: var(--bad-soft); color: var(--bad); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; margin-top: 12px; }
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.ac-list button { display: block; width: 100%; text-align: start; border: 0; background: none; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.ac-list button small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.ac-list button:last-child { border-bottom: 0; }
.linkbtn { border: 0; background: none; color: var(--brand-text, var(--brand)); font-weight: 800; padding: 6px 0; font-size: 14px; }
.addr-chips { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.addr-chips button { flex: none; border: 2px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 13px; text-align: start; max-width: 220px; }
.addr-chips button.active { border-color: var(--brand); }
.login-cta { display: flex; gap: 12px; align-items: center; background: #141414; color: #fff; border-radius: 16px; padding: 14px 16px; margin-top: 12px; }
.login-cta .e { font-size: 28px; }
.login-cta div { flex: 1; font-weight: 800; }
.login-cta small { display: block; font-weight: 600; opacity: .75; }
.pts-box { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 16px; margin-top: 12px; }
.pts-box .v { font-size: 34px; font-weight: 900; }
.pts-box .bar-p { background: rgba(0,0,0,.15); }
.pts-box .bar-p i { background: #141414; }

/* Status */
.st-hero { text-align: center; padding: 26px 16px 20px; }
.st-emoji { font-size: 80px; line-height: 1; display: inline-block; animation: float 2.4s ease-in-out infinite; }
.st-emoji.cook { animation: wobble 1.2s ease-in-out infinite; }
.st-emoji.ride { animation: ride 1.4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes wobble { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes ride { 50% { transform: translateX(10px); } }
.st-hero h2 { font-size: 26px; font-weight: 900; margin-top: 12px; }
.st-hero .eta { font-size: 16px; margin-top: 6px; color: var(--ink-2); }
.st-hero .eta b { color: var(--brand-text, var(--brand)); font-size: 28px; display: block; font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 4px; }
.steps div { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.steps div::before { content: ""; display: block; height: 8px; border-radius: 9px; background: var(--card-2); margin-bottom: 8px; }
.steps div.done { color: var(--ink); }
.steps div.done::before { background: var(--brand); }
.steps div.now::before { background: linear-gradient(90deg, var(--brand) 0 50%, var(--card-2) 50%); background-size: 200% 100%; animation: prog 1.4s linear infinite; }
@keyframes prog { from { background-position: 100% 0; } to { background-position: 0 0; } }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.kv span:first-child { color: var(--muted); }
.ol { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; justify-content: space-between; }
.ol:last-child { border: 0; }
.ol small { color: var(--muted); display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

/* Info */
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: end; }
.hours tr.today td { font-weight: 900; color: var(--brand-text, var(--brand)); }
.legal-text { white-space: pre-wrap; font-size: 14px; color: var(--ink-2); }
.langs { display: grid; gap: 8px; padding: 0 16px 24px; }
.langs button { min-height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.langs button.active { border-color: var(--brand); background: var(--brand-soft); }
footer.site { padding: 30px 16px 20px; text-align: center; color: var(--muted); font-size: 13px; }
footer.site .links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
footer.site button { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font-size: 13px; }
[dir="rtl"] .stepper, [dir="rtl"] .kv span:last-child { direction: ltr; }

/* 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: linear-gradient(135deg, var(--cat-bg1, #FFF4E5), var(--cat-bg2, #FFE9D6)); color: #3B2410; 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: #3B2410; color: #fff; font-weight: 800; text-decoration: none; }
.catering .cat-btn.ghost { background: #fff; color: #3B2410; border: 1px solid rgba(0,0,0,.12); }
@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: 12px 0; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.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 14px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: 900; }
.progress.deal-prog { background: #FFF4D6; color: #5A3B00; }
.review-box { text-align: center; }
.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.deal { border: 0; text-align: start; font: inherit; cursor: pointer; display: block; }
.deal .deal-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.deal-sheet .ds-lead { font-size: 16px; font-weight: 700; margin: 4px 0 12px; }
.deal-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deal-facts li { font-size: 16px; font-weight: 700; padding: 12px 14px; border-radius: 12px; background: var(--card-2); }

/* ================= Gerichte-Karten (gut lesbar, alle gleich groß) ================= */
.card-p { position: relative; display: grid; background: var(--card); color: var(--ink); border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; text-align: start; }
.card-p.has-q { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 4px 14px rgba(0,0,0,.06); }
.card-p .pi { position: relative; overflow: hidden; background: var(--card-2); }
.card-p .pi .im { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; font-size: 46px; transition: transform .35s ease; }
.card-p .bdg { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 4px 8px; border-radius: 8px; }
.card-p .fav { width: 34px; height: 34px; font-size: 17px; top: 8px; inset-inline-end: 8px; }
.card-p .pi-off { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(255,255,255,.62); color: #141414; font-weight: 800; font-size: 14px; text-align: center; padding: 8px; }
.card-p .bd { display: flex; flex-direction: column; min-width: 0; }
.card-p .nm { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-p .ds { margin: 4px 0 0; font-size: 14px; line-height: 1.42; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-p .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; min-height: 22px; overflow: hidden; max-height: 22px; }
.card-p .ch { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--card-2); color: var(--ink-2); }
.card-p .ch.vg { background: #E6F4EA; color: #1E6B34; }
.card-p .ch.hot { background: #FDECEC; color: #B42318; padding: 0 6px; }
.card-p .ch.sold { background: #FFF1E6; color: #A1430F; }
.card-p .ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.card-p .pr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; min-width: 0; font-variant-numeric: tabular-nums; }
.card-p .pr b { font-size: 18px; font-weight: 800; }
.card-p .pr small { font-size: 13px; color: var(--muted); font-weight: 600; }
.card-p .pr s { font-size: 13px; color: var(--muted); }
.card-p .pr .deal-tag { margin: 0; }
.card-p .addb { flex: none; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: transform .1s ease; }
.card-p .addb:active { transform: scale(.92); }
.card-p .addb .qn { font-size: 15px; font-weight: 800; background: rgba(255,255,255,.25); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.card-p .addb.in { background: var(--ink); color: var(--bg); }
.card-p .mt { margin-top: 6px; font-size: 11.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-p.off { opacity: .7; }
.card-p.off .addb { background: var(--card-2); color: var(--muted); }

/* Handy: Liste – Text links, quadratisches Foto rechts */
@media (max-width: 639px) {
  .card-p { grid-template-columns: minmax(0, 1fr) 118px; min-height: 150px; }
  .card-p .pi { order: 2; margin: 12px 12px 12px 0; border-radius: 14px; aspect-ratio: 1 / 1; align-self: start; }
  .card-p .bd { order: 1; padding: 14px 4px 12px 14px; }
  .card-p .nm { font-size: 16.5px; }
  .card-p .ds { font-size: 13.5px; }
  .card-p .fav { width: 30px; height: 30px; font-size: 15px; top: 6px; inset-inline-end: 6px; }
  .card-p .bdg { top: 6px; inset-inline-start: 6px; font-size: 10px; padding: 3px 6px; }
}
/* Tablet & PC: Raster – Foto oben (4:3), Text darunter */
@media (min-width: 640px) {
  .card-p { grid-template-rows: auto 1fr; }
  .card-p .pi { aspect-ratio: 4 / 3; }
  .card-p .bd { padding: 14px 16px 14px; }
  .card-p .nm { min-height: calc(2 * 1.25em); }
  .card-p .ds { min-height: calc(2 * 1.42em); }
}
@media (hover: hover) and (min-width: 640px) { .card-p:hover { box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.10); transform: translateY(-2px); } .card-p:hover .pi .im { transform: scale(1.04); } }
h2.sec { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 30px 2px 12px; }
/* Hinweiszeile (Pfand/Zusatzstoffe): im Raster immer Platz reservieren → alle Karten gleich hoch */
@media (min-width: 640px) { .card-p .mt { min-height: 1.3em; } }
@media (max-width: 639px) { .card-p .mt:empty { display: none; } }
/* Handy-Liste: jede Zeile exakt gleich hoch (Name max. 2 Zeilen, Beschreibung max. 2 Zeilen, Hinweise 1 Zeile) */
@media (max-width: 639px) {
  .card-p { height: 206px; min-height: 0; }
  .card-p .bd { padding: 13px 4px 12px 14px; overflow: hidden; }
  .card-p .nm { font-size: 16px; line-height: 1.25; }
  .card-p .ds { font-size: 13.5px; line-height: 1.4; margin-top: 3px; }
  .card-p .chips { margin-top: 6px; }
  .card-p .ft { padding-top: 6px; }
  .card-p .mt:empty { display: block; }
  .card-p .mt { margin-top: 4px; min-height: 1.3em; }
}
/* Feinschliff Karten */
.card-p .ch.bdg-ch { background: #FFF4CC; color: #6B4E00; }
@media (min-width: 640px) { .card-p .ch.bdg-ch { display: none; } }   /* im Raster steht „Bestseller“ auf dem Foto */
@media (max-width: 639px) {
  .card-p { height: 184px; grid-template-columns: minmax(0, 1fr) 122px; }
  .card-p .pi { width: 110px; margin: 12px 12px 12px 0; justify-self: end; }
  .card-p .bdg { display: none; }                       /* auf dem Handy als Chip im Text */
  .card-p .bd { padding: 12px 4px 10px 14px; }
  .card-p .ft { padding-top: 4px; }
  .card-p .pr { flex-wrap: nowrap; white-space: nowrap; }
  /* „+“ sitzt wie bei den großen Liefer-Apps unten am Foto */
  .card-p .addb { position: absolute; top: 98px; inset-inline-end: 22px; height: 40px; min-width: 40px; font-size: 22px; box-shadow: 0 3px 10px rgba(0,0,0,.22); border: 2px solid var(--card); z-index: 3; }
}
