/* Bestellsystem – Mobile-first, ohne externe Schriften (DSGVO) */
:root {
  --brand: #12864a;
  --brand-ink: #fff;
  --accent: #f97316;
  --ink: #13241a;
  --muted: #5d7266;
  --bg: #f5faf6;
  --card: #fff;
  --line: #e1ebe4;
  --ok: #178a4c;
  --warn: #c26a00;
  --bad: #c62828;
  --blue: #2457c5;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .06), 0 6px 20px rgba(20, 20, 30, .06);
  --safe-b: env(safe-area-inset-bottom, 0px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden, [hidden] { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 16px; }
.container.narrow { max-width: 640px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }

/* Buttons – groß genug für Touch */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; touch-action: manipulation; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-danger { color: var(--bad); border-color: #f1c4c4; background: #fff5f5; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; border-radius: 10px; }
.btn-lg { min-height: 56px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #ece9e1; color: #4b4a50; }
.badge.ok { background: #dcf3e5; color: var(--ok); }
.badge.warn { background: #fdecd0; color: var(--warn); }
.badge.bad { background: #fbdcdc; color: var(--bad); }
.badge.blue { background: #dfe8fb; color: var(--blue); }

/* Formulare */
.field { display: block; margin-bottom: 14px; }
.field > span, .field > label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .92rem; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=time], input[type=url], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfccc3; border-radius: 12px; background: #fff; font: inherit; color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
input[type=color] { width: 64px; height: 46px; padding: 3px; border: 1px solid #cfccc3; border-radius: 12px; background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 16px; }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; white-space: pre-line; border: 1px solid; }
.flash.success { background: #e7f6ec; border-color: #bfe4cd; color: #135f35; }
.flash.error { background: #fdeeee; border-color: #f2c5c5; color: #8e1c1c; }
.flash.info { background: #e9f0fd; border-color: #c5d6f5; color: #1c3f8e; }

table.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* Kopfzeilen */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0); }
.topbar .inner { display: flex; align-items: center; gap: 8px; max-width: 1400px; margin: 0 auto; padding: 8px 12px; }
.brand-name { font-weight: 800; font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: inline-block; }
.badge-count { background: var(--bad); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: auto; font-weight: 700; }

/* Seitenmenü (Admin + Restaurant-Backend) */
.app-main { min-width: 0; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 276px; max-width: 86vw; background: #fff; border-right: 1px solid var(--line); z-index: 60; display: flex; flex-direction: column; transform: translateX(-102%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; padding-top: env(safe-area-inset-top, 0); }
body.nav-open .sidebar { transform: none; visibility: visible; transition: transform .2s ease; box-shadow: 0 0 40px rgba(16,24,40,.25); }
.side-backdrop { position: fixed; inset: 0; background: rgba(16,24,40,.45); z-index: 55; display: none; }
body.nav-open .side-backdrop { display: block; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px 10px; }
.side-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.side-brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.side-brand-txt strong { font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-brand-txt small { color: var(--muted); font-size: .8rem; }
.side-close { border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; width: 40px; height: 40px; border-radius: 10px; }
.side-nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.side-group { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #98a2b3; padding: 12px 10px 4px; }
.side-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 12px; margin: 1px 0; border-radius: 10px; text-decoration: none; color: #344054; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; min-height: 40px; }
.side-link .ico { flex: none; color: #667085; }
.side-link:hover { background: #f2f5fa; }
.side-link.active { background: color-mix(in srgb, var(--brand) 11%, #fff); color: var(--brand); }
.side-link.active .ico { color: var(--brand); }
.side-foot { border-top: 1px solid var(--line); padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0)); }
.side-version { color: var(--muted); font-size: .75rem; padding: 4px 12px 0; }
@media (min-width: 1100px) {
  .app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
  .sidebar { position: sticky; top: 0; height: 100vh; width: auto; max-width: none; transform: none; visibility: visible; box-shadow: none; z-index: 10; }
  .app .topbar, .side-close, .side-backdrop { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }

/* Login / Landing */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.auth-card { width: 100%; max-width: 420px; }
.hero-home { padding: 64px 16px; text-align: center; }
.hero-home h1 { font-size: clamp(1.8rem, 5vw, 3rem); }

/* ====== Kunden-Bestellseite ====== */
.shop { --brand-ink: #fff; }
.shop-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 72%, #000), color-mix(in srgb, var(--brand) 40%, #000)); background-size: cover; background-position: center; color: #fff; padding: 28px 16px 20px; position: relative; }
.shop-hero.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.65)); }
.shop-hero .inner { position: relative; max-width: 1100px; margin: 0 auto; display: flex; gap: 16px; align-items: flex-end; }
.shop-logo { width: 72px; height: 72px; border-radius: 18px; background: #fff; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.shop-hero h1 { margin: 0 0 4px; font-size: 1.6rem; color: #fff; }
.shop-hero p { margin: 0; opacity: .95; }
.status-pill { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(255,255,255,.2); margin-top: 8px; }
.status-pill i { width: 9px; height: 9px; border-radius: 50%; background: #5be38b; display: inline-block; }
.status-pill.closed i { background: #ff8a80; }
.shop-main { max-width: 1100px; margin: 0 auto; padding: 0 16px calc(110px + var(--safe-b)); display: grid; gap: 20px; }
.cats { position: sticky; top: 0; z-index: 20; background: var(--bg); margin: 0 -16px; padding: 10px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.cats a.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.cat-title { margin: 22px 0 10px; scroll-margin-top: 70px; }
.items { display: grid; gap: 12px; grid-template-columns: 1fr; }
.item { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; position: relative; min-height: 96px; }
.item.soldout { opacity: .55; cursor: default; }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item h3 { margin: 0; }
.item .desc { color: var(--muted); font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item .meta { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.price { font-weight: 800; }
.allergen { font-size: .72rem; font-weight: 700; background: #f0eee8; color: #55535a; border-radius: 6px; padding: 1px 6px; }
.item-img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.add-btn { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.item.has-img .add-btn { right: 10px; }
.legal-links { text-align: center; padding: 24px 16px calc(130px + var(--safe-b)); color: var(--muted); font-size: .85rem; }
.legal-links a { color: var(--muted); margin: 0 8px; }

.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + var(--safe-b)); background: linear-gradient(180deg, rgba(245,244,241,0), var(--bg) 40%); }
.cartbar .btn { width: 100%; max-width: 640px; margin: 0 auto; display: flex; justify-content: space-between; min-height: 56px; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cart-panel { position: fixed; inset: 0; z-index: 60; display: none; }
.cart-panel.open { display: block; }
.cart-panel .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.cart-panel .sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line .opts { color: var(--muted); font-size: .85rem; grid-column: 1; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; padding: 4px 0; }
.sum-row.total { font-weight: 800; font-size: 1.15rem; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 10px; }
.note-input { grid-column: 1 / -1; min-height: 40px; font-size: .9rem; }

.modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal .box { position: relative; background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); }
.modal .group { margin: 14px 0; }
.modal .group h4 { margin: 0 0 4px; }
.opt { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center; }
.opt input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.opt .l { display: flex; gap: 12px; align-items: center; }
.err-text { color: var(--bad); font-size: .85rem; margin-top: 4px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; text-align: center; padding: 14px 10px; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; background: #fff; }
.choice input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); }

.steps { display: flex; gap: 6px; margin: 16px 0; }
.steps div { flex: 1 1 0; min-width: 0; text-align: center; font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; hyphens: auto; }
.steps div::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 6px; }
.steps div.done::before { background: var(--brand); }
.steps div.done { color: var(--ink); font-weight: 700; }
.legal-text h3 { margin-top: 1.4em; }
.legal-text p { white-space: pre-line; }

/* Mobil: Warenkorb ist ein Bottom-Sheet, Desktop: feste Seitenleiste */
.cart-aside { display: contents; }
@media (min-width: 720px) {
  .items { grid-template-columns: 1fr 1fr; }
  .modal { align-items: center; }
  .modal .box { border-radius: 22px; }
}
@media (min-width: 1000px) {
  .shop-main.with-cart { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .cartbar { display: none; }
  .cart-aside { display: block; position: sticky; top: 16px; }
  .cart-panel { position: static; display: block; z-index: auto; }
  .cart-panel .backdrop { display: none; }
  .cart-panel .sheet { position: static; max-height: none; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .cart-panel .close-x { display: none; }
  .legal-links { padding-bottom: 32px; }
  .shop-main { padding-bottom: 32px; }
}

/* ====== Küche / Tablet ====== */
.kitchen-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 12px; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.kitchen-bar .grow { flex: 1; }
.board { display: grid; gap: 14px; padding: 14px 12px 60px; max-width: 1500px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 760px) { .board { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.col h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; justify-content: space-between; }
.col .cnt { background: var(--ink); color: #fff; border-radius: 999px; padding: 0 9px; font-size: .8rem; }
.col.new h2 .cnt { background: var(--bad); }
.ocard { background: #fff; border: 1px solid var(--line); border-left: 8px solid #bbb; border-radius: 14px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.ocard.s-new { border-left-color: var(--bad); animation: pulse 1.4s ease-in-out infinite; }
.ocard.s-accepted { border-left-color: var(--warn); }
.ocard.s-ready, .ocard.s-out_for_delivery { border-left-color: var(--ok); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198,40,40,.0), var(--shadow); } 50% { box-shadow: 0 0 0 6px rgba(198,40,40,.22), var(--shadow); } }
.ocard .head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.ocard .head .sub { white-space: nowrap; }
.ocard .num { font-size: 1.35rem; font-weight: 800; }
.ocard .items-list { margin: 10px 0; padding: 0; list-style: none; }
.ocard .items-list li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.ocard .items-list .q { font-weight: 800; margin-right: 6px; }
.ocard .sub { color: var(--muted); font-size: .88rem; }
.ocard .note { background: #fff7d6; border-radius: 8px; padding: 6px 10px; margin: 8px 0; font-size: .92rem; }
.ocard .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.ocard select.eta { width: auto; min-height: 46px; }
.empty { color: var(--muted); text-align: center; padding: 24px 8px; border: 2px dashed var(--line); border-radius: 14px; }
.sound-overlay { position: fixed; inset: 0; background: rgba(20,20,30,.82); z-index: 100; display: grid; place-items: center; padding: 20px; text-align: center; color: #fff; }
.sound-overlay .btn { font-size: 1.2rem; min-height: 64px; padding: 0 32px; }
.ringing .topbar, .ringing .sidebar { background: #fdeaea; }

/* Menü-Editor */
.cat-block { margin-bottom: 22px; }
.item-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.item-row .thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #eee; flex: none; }
.item-row .grow { flex: 1; min-width: 160px; }
.item-row.off { opacity: .6; }
.mini-form { display: inline; }
.preview-img { max-width: 220px; border-radius: 12px; }
.qr-box canvas, .qr-box img, .qr-box svg { max-width: 260px; width: 100%; height: auto; image-rendering: pixelated; }
.copy-row { display: flex; gap: 8px; }
.copy-row input, .copy-row textarea { flex: 1; }
pre.code { background: #17161a; color: #e8e6ee; padding: 12px; border-radius: 12px; overflow-x: auto; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { .ocard.s-new { animation: none; } }
@media print { .topbar, .sidebar, .side-backdrop, .kitchen-bar, .no-print { display: none !important; } .app { display: block; } }

/* Farbwahl */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; padding: 0; position: relative; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.swatch[aria-pressed="true"]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.swatch-custom { display: flex; align-items: center; gap: 8px; margin-left: 6px; }

.app-version { text-align: center; color: var(--muted); font-size: .75rem; padding: 18px 12px 24px; }

[hidden] { display: none !important; }

/* Login: animierter Hintergrund */
.auth-page { background: var(--brand); }
.auth-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 60%, #6ee7b7) 52%, color-mix(in srgb, var(--brand) 18%, #f0fdf4) 100%); background-size: 160% 160%; animation: bgshift 18s ease-in-out infinite alternate; }
.auth-bg .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; will-change: transform; }
.auth-bg .o1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: #ffffff; opacity: .35; animation: float1 17s ease-in-out infinite alternate; }
.auth-bg .o2 { width: 38vmax; height: 38vmax; right: -10vmax; bottom: -12vmax; background: #fdba74; opacity: .38; animation: float2 21s ease-in-out infinite alternate; }
.auth-bg .o3 { width: 26vmax; height: 26vmax; left: 38%; top: 48%; background: #fef08a; opacity: .35; animation: float3 25s ease-in-out infinite alternate; }
.auth-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); animation: gridmove 30s linear infinite; }
@keyframes bgshift { to { background-position: 100% 100%; } }
@keyframes float1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes float2 { to { transform: translate(-12vmax, -8vmax) scale(1.2); } }
@keyframes float3 { to { transform: translate(-18vmax, -14vmax) scale(.85); } }
@keyframes gridmove { to { background-position: 44px 44px, 44px 44px; } }
.auth-page .auth-wrap { position: relative; z-index: 1; min-height: calc(100vh - 72px); min-height: calc(100dvh - 72px); }
.auth-fancy { background: rgba(255,255,255,.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 24px 70px rgba(5,14,50,.45); padding: 28px 26px; border-radius: 22px; animation: cardin .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.login-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #6ee7b7)); color: var(--brand-ink, #fff); box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 45%, transparent); animation: glow 3.2s ease-in-out infinite; }
.login-mark .ico { width: 30px; height: 30px; }
.login-logo { display: block; margin: 0 auto; max-width: 200px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
@keyframes glow { 50% { box-shadow: 0 10px 40px color-mix(in srgb, var(--brand) 70%, #6ee7b7); } }
.auth-page .app-version { position: relative; z-index: 1; color: #fff; text-shadow: 0 1px 6px rgba(10,40,110,.55); }
.auth-page .app-version a { color: #fff; }
.brand-logo { height: 36px; width: auto; max-width: 110px; border-radius: 8px; object-fit: contain; flex: none; }
@media (prefers-reduced-motion: reduce) { .auth-bg, .auth-bg .orb, .auth-bg .grid, .auth-fancy, .login-mark { animation: none; } }

/* Schwebende Food-/Liefer-/Software-Symbole und Lieferroller */
.auth-bg .fi { position: absolute; left: var(--x); bottom: -80px; width: var(--s); height: var(--s); color: rgba(255,255,255,.55); animation: rise var(--d) linear var(--w) infinite; will-change: transform; }
.auth-bg .fi .ico { width: 100%; height: 100%; stroke-width: 1.4; }
@keyframes rise { 0% { transform: translateY(0) rotate(var(--r)); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-115vh) rotate(calc(var(--r) * -1)); opacity: 0; } }
.auth-bg .road { position: absolute; left: 0; right: 0; bottom: 26px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 18px, transparent 18px 36px); }
.auth-bg .rider { position: absolute; bottom: 4px; left: 0; width: 46px; height: 46px; color: #fff7ed; animation: ride 14s linear infinite; filter: drop-shadow(0 4px 8px rgba(10,40,110,.35)); }
.auth-bg .rider .ico { width: 100%; height: 100%; stroke-width: 1.6; }
@keyframes ride { from { transform: translateX(-80px); } to { transform: translateX(calc(100vw + 40px)); } }
@media (prefers-reduced-motion: reduce) { .auth-bg .fi, .auth-bg .rider { animation: none; } .auth-bg .fi { bottom: auto; top: 20%; } }

/* ====== Speisekarte & Extras (modern) ====== */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.page-head h1 { margin: 0 0 2px; }
.page-head p { margin: 0; }
.stack-sm > * + * { margin-top: 10px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 12px; }
.toolbar .search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; background: #f2f5fa; border-radius: 12px; padding: 0 12px; color: var(--muted); }
.toolbar .search input { border: 0; background: transparent; box-shadow: none; padding-left: 0; width: 100%; font-size: 1rem; min-height: 44px; }
.toolbar .search input:focus { outline: 0; }
.toolbar .addcat { display: flex; gap: 8px; flex: 1 1 280px; }
.toolbar .addcat input { flex: 1; min-width: 0; }
.chips-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; position: sticky; top: 0; z-index: 5; background: var(--bg); }
.chips-nav::-webkit-scrollbar { display: none; }
.chips-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.chips-nav a:hover { border-color: var(--brand); color: var(--brand); }
.empty-state { text-align: center; padding: 32px 16px; }

.cat { padding: 0; overflow: hidden; scroll-margin-top: 64px; }
.cat.is-off .item-list, .cat.is-off .quick { opacity: .55; }
.cat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cat-name { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 8px; }
.cat-name input { font-size: 1.15rem; font-weight: 800; border: 1px solid transparent; background: transparent; padding: 6px 8px; margin-left: -8px; border-radius: 10px; }
.cat-name input:hover { background: #f2f5fa; }
.cat-name input:focus { background: #fff; border-color: var(--brand); }
.count { background: #eef2f8; color: var(--muted); border-radius: 999px; padding: 2px 10px; font-size: .82rem; font-weight: 700; }
.saved { font-size: .8rem; font-weight: 700; color: var(--ok); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.saved.on { opacity: 1; }
.saved.err { color: var(--bad); opacity: 1; }

/* Schalter */
.switch-form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.switch { position: relative; width: 46px; height: 28px; border-radius: 999px; border: 0; background: #cfd6e2; cursor: pointer; padding: 0; transition: background .18s; flex: none; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.3); transition: transform .18s; }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"] .knob { transform: translateX(18px); }
.switch:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.switch-label { font-size: .85rem; font-weight: 600; color: var(--muted); min-width: 58px; }
@media (prefers-reduced-motion: reduce) { .switch, .switch .knob { transition: none; } }

/* Mehr-Menü */
.pop { position: relative; }
.pop summary { list-style: none; }
.pop summary::-webkit-details-marker { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; padding: 0; }
.icon-btn:hover { background: #f2f5fa; }
.danger-ico { color: var(--bad); }
.pop-menu { position: absolute; right: 0; top: 42px; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(16,24,40,.18); min-width: 190px; padding: 6px; }
.pop-menu form { margin: 0; }
.pop-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.pop-menu button:hover { background: #f2f5fa; }
.pop-menu .danger { color: var(--bad); }

/* Artikelzeilen */
.item-list { padding: 4px 16px; }
.mitem { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mitem:last-child { border-bottom: 0; }
.mitem .thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #eef2f8; }
.mitem .thumb.ph { display: grid; place-items: center; color: #a3adc2; }
.item-name { font-weight: 700; text-decoration: none; color: var(--ink); }
.item-name:hover { color: var(--brand); }
.item-desc { color: var(--muted); font-size: .88rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.item-price { font-weight: 800; white-space: nowrap; }
.item-actions { display: flex; gap: 6px; align-items: center; }
.item-actions .mini-form { display: inline-flex; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.chip-soft { background: #eef2f8; color: #475467; }
.chip-off { background: #fdecec; color: var(--bad); }
.empty-cat { padding: 14px 0; margin: 0; }
.mitem.hide-by-search, [data-cat].hide-by-search { display: none; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 16px 16px; background: #f8fafd; border-top: 1px solid var(--line); }
.quick input[type=text] { flex: 1 1 220px; min-width: 0; }
.quick .q-price { flex: 0 0 110px; min-width: 0; }
@media (max-width: 640px) {
  .mitem { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .mitem .thumb { width: 48px; height: 48px; }
  .item-actions { grid-column: 2 / -1; }
}

/* Extras: Optionszeilen */
.opt { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.opt:last-child { border-bottom: 0; }
.opt.is-off .opt-edit { opacity: .55; }
.opt-edit { flex: 1 1 260px; display: flex; gap: 8px; align-items: center; min-width: 0; margin: 0; }
.opt-edit > input[type=text] { flex: 1; min-width: 0; }
.price-in { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-weight: 700; }
.price-in input { width: 90px; text-align: right; }
.newgroup > summary, .rules > summary { cursor: pointer; list-style: none; }
.newgroup > summary::-webkit-details-marker, .rules > summary::-webkit-details-marker { display: none; }
.newgroup[open] > summary { margin-bottom: 12px; }
.rules { margin: 0 0 8px; }
.rules > summary { color: var(--brand); font-weight: 600; font-size: .9rem; }
.rules[open] > summary { margin-bottom: 10px; }
.rules form { padding-bottom: 8px; }
.cat > .chips, .cat > .rules { padding: 0 16px; }
.cat > .chips { padding-top: 12px; }
@media print { .toolbar, .chips-nav, .quick { display: none !important; } }

/* ====== Bestellseite: Kopfbereich in drei Designs ====== */
.sh { color: #fff; }
.sh-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; position: relative; }
.sh-logo { width: 84px; height: 84px; border-radius: 22px; background: #fff; object-fit: cover; flex: none; box-shadow: 0 8px 24px rgba(10,20,40,.28); border: 3px solid #fff; }
.sh-logo-ph { display: grid; place-items: center; color: var(--brand); }
.sh-logo-ph .ico { width: 40px; height: 40px; }
.sh-titles { min-width: 0; }
.sh h1 { margin: 0; font-size: clamp(1.6rem, 4.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: inherit; }
.sh-slogan { margin: 6px 0 0; font-size: clamp(1rem, 2.6vw, 1.25rem); font-weight: 500; opacity: .95; }
.sh-desc { margin: 8px 0 0; opacity: .9; max-width: 60ch; }
.sh .status-pill { margin: 0; backdrop-filter: blur(8px); }
.sh .ico { flex: none; }

/* Details „Öffnungszeiten“ */
.sh-hours { position: relative; }
.sh-hours summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.sh-hours summary::-webkit-details-marker { display: none; }
.sh-hours ul { position: absolute; z-index: 30; margin: 8px 0 0; padding: 10px 12px; list-style: none; min-width: 250px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px rgba(10,20,40,.28); }
.sh-hours li { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; font-size: .92rem; }
.sh-hours li.today { font-weight: 800; color: var(--brand); }

/* Design 1: Titelbild */
.sh-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 80%, #000), color-mix(in srgb, var(--brand) 45%, #0b1020)); background-size: cover; background-position: center; position: relative; padding: 22px 0 26px; min-height: 300px; display: flex; align-items: flex-end; }
.sh-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 300px at 80% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(180deg, rgba(8,14,30,.15) 0%, rgba(8,14,30,.78) 100%); }
.sh-hero .sh-wrap { width: 100%; display: flex; flex-direction: column; gap: 18px; padding-top: 70px; }
.sh-hero .sh-top { position: absolute; top: 0; left: 16px; }
.sh-hero .status-pill { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
.sh-id { display: flex; gap: 16px; align-items: flex-end; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-chip, .sh-hero .sh-hours summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; backdrop-filter: blur(8px); }
.sh-chip:hover, .sh-hero .sh-hours summary:hover { background: rgba(255,255,255,.28); }
.sh-chip-main { background: #fff; color: var(--brand); border-color: #fff; }
.sh-chip-main:hover { background: #fff; filter: brightness(.96); }
.sh-chip .ico, .sh-hero .sh-hours .ico { width: 18px; height: 18px; }

/* Design 2: Kacheln */
.sh-tiles { color: var(--ink); }
.sh-band { height: 190px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #7dd3fc)); background-size: cover; background-position: center; position: relative; }
.sh-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 15% 0%, rgba(255,255,255,.28), transparent 60%); }
.sh-band.has-cover::after { background: linear-gradient(180deg, rgba(8,14,30,.1), rgba(8,14,30,.45)); }
.sh-tiles .sh-wrap { margin-top: -78px; }
.sh-card { background: #fff; border-radius: 24px; box-shadow: 0 18px 50px rgba(16,24,40,.14); padding: 20px; border: 1px solid var(--line); }
.sh-card-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sh-card-head .sh-logo { width: 76px; height: 76px; box-shadow: 0 6px 18px rgba(16,24,40,.18); border-color: #fff; outline: 1px solid var(--line); }
.sh-card-head .sh-titles { flex: 1 1 220px; }
.sh-tiles .sh-slogan { color: var(--brand); font-weight: 700; opacity: 1; }
.sh-tiles .sh-desc { color: var(--muted); opacity: 1; }
.sh-tiles .status-pill { background: #eef2f8; color: var(--ink); }
.sh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0 0; }
.sh-facts div { background: #f5f7fb; border-radius: 14px; padding: 10px 14px; }
.sh-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.sh-facts dd { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sh-btn, .sh-tiles .sh-hours summary, .sh-clean .sh-hours summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; min-height: 44px; }
.sh-btn:hover, .sh-tiles .sh-hours summary:hover, .sh-clean .sh-hours summary:hover { background: #f5f7fb; }
.sh-btn-main { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.sh-btn-main:hover { background: var(--brand); filter: brightness(1.08); }

/* Design 3: Clean */
.sh-clean { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); position: relative; }
.sh-clean::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #7dd3fc)); }
.sh-clean-row { display: flex; gap: 18px; align-items: center; padding: 22px 0; flex-wrap: wrap; }
.sh-clean .sh-logo { width: 88px; height: 88px; border-radius: 20px; box-shadow: none; border: 1px solid var(--line); }
.sh-clean .sh-titles { flex: 1 1 280px; }
.sh-clean .sh-slogan { color: var(--muted); }
.sh-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .92rem; font-weight: 600; }
.sh-meta a, .sh-meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.sh-meta .ico { width: 17px; height: 17px; color: var(--brand); }
.sh-meta a:hover { color: var(--brand); }
.sh-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.sh-clean .status-pill { background: #eef2f8; color: var(--ink); }
.sh-clean .sh-hours ul { right: 0; }

/* Speisekarte: Karten je Design */
.design-hero .item { border-radius: 20px; border-color: transparent; box-shadow: 0 2px 10px rgba(16,24,40,.07); transition: box-shadow .15s, transform .15s; }
.design-hero .item:hover { box-shadow: 0 10px 28px rgba(16,24,40,.13); transform: translateY(-2px); }
@media (min-width: 900px) { .design-hero .items, .design-tiles .items { grid-template-columns: 1fr 1fr; } }
.design-hero .cat-title, .design-tiles .cat-title, .design-clean .cat-title { font-size: 1.35rem; letter-spacing: -.01em; }
.design-hero .cats a.on, .design-tiles .cats a.on { box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 40%, transparent); }

/* Kacheln: Bild oben */
.design-tiles .items { gap: 16px; }
.design-tiles .item { flex-direction: column-reverse; padding: 0; overflow: hidden; border-radius: 20px; border-color: var(--line); gap: 0; min-height: 0; transition: box-shadow .15s, transform .15s; }
.design-tiles .item:hover { box-shadow: 0 10px 28px rgba(16,24,40,.13); transform: translateY(-2px); }
.design-tiles .item-img { width: 100%; height: 170px; border-radius: 0; }
.design-tiles .item-body { padding: 14px 16px 16px; }
.design-tiles .item .desc { -webkit-line-clamp: 2; }
.design-tiles .item .meta { padding-right: 52px; margin-top: 8px; }
.design-tiles .item.has-img .add-btn { bottom: auto; top: 134px; border: 3px solid #fff; }
.design-tiles .item:not(.has-img) { min-height: 120px; }
.design-tiles .item .add-btn { right: 12px; bottom: 12px; }

/* Clean: Liste, Kategorien links */
.design-clean .items { gap: 0; }
.design-clean .item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 18px 4px; min-height: 0; }
.design-clean .item:hover { background: color-mix(in srgb, var(--brand) 4%, #fff); }
.design-clean .item-img { width: 92px; height: 92px; border-radius: 16px; }
.design-clean .add-btn { background: #fff; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; width: 38px; height: 38px; font-size: 1.4rem; }
.design-clean .add-btn:hover { background: var(--brand); color: var(--brand-ink); }
@media (min-width: 1000px) {
  .design-clean .shop-main.with-cart > div:first-child { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .design-clean .shop-main.with-cart > div:first-child > * { grid-column: 2; }
  .design-clean .shop-main.with-cart > div:first-child > .cats { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 16px; flex-direction: column; margin: 0; padding: 16px 0; background: transparent; overflow: visible; }
  .design-clean .cats a { border: 0; background: transparent; border-radius: 10px; padding: 10px 12px; }
  .design-clean .cats a.on { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
}
@media (max-width: 640px) {
  .sh-id { flex-direction: column; align-items: flex-start; }
  .sh-hero { min-height: 340px; }
  .sh-side { align-items: flex-start; }
  .sh-hours ul { min-width: 230px; }
}

/* Bestellseite: zarter Hintergrund mit Essens- und Liefer-Symbolen in der Restaurantfarbe */
body.shop:not(.auth-page) { background: #fbfcfe; }
body.shop:not(.auth-page)::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--brand); opacity: .055; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><g transform='translate(30 34) scale(2)'><path d='M12 21 3.5 6.5a17 17 0 0 1 17 0z'/><circle cx='9.5' cy='9.5' r='.9'/><circle cx='14' cy='10.5' r='.9'/></g><g transform='translate(210 20) rotate(12 20 20) scale(2)'><path d='M4 11a8 8 0 0 1 16 0z'/><path d='M3 14.5h18'/><path d='M5 18h14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z'/></g><g transform='translate(120 120) rotate(-10 20 20) scale(2)'><path d='M6 5h12l-1.5 16h-9z'/><path d='M6.6 10h10.8M13.5 5l1.2-3'/></g><g transform='translate(260 150) scale(2)'><circle cx='5.5' cy='18' r='2.5'/><circle cx='18.5' cy='18' r='2.5'/><path d='M8 18h7l2-8h3M12 10H9'/><path d='M2 7h6v5H2z'/></g><g transform='translate(20 200) rotate(8 20 20) scale(2)'><path d='M5 8h14l-1 13H6z'/><path d='M9 8a3 3 0 0 1 6 0'/></g><g transform='translate(150 270) scale(2)'><path d='M5 3v6a2.5 2.5 0 0 0 5 0V3M7.5 3v18M17 3c-2 2-3 5-3 8h3v10'/></g><g transform='translate(290 290) rotate(-12 20 20) scale(1.8)'><path d='M12 21 3.5 6.5a17 17 0 0 1 17 0z'/></g></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><g transform='translate(30 34) scale(2)'><path d='M12 21 3.5 6.5a17 17 0 0 1 17 0z'/><circle cx='9.5' cy='9.5' r='.9'/><circle cx='14' cy='10.5' r='.9'/></g><g transform='translate(210 20) rotate(12 20 20) scale(2)'><path d='M4 11a8 8 0 0 1 16 0z'/><path d='M3 14.5h18'/><path d='M5 18h14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z'/></g><g transform='translate(120 120) rotate(-10 20 20) scale(2)'><path d='M6 5h12l-1.5 16h-9z'/><path d='M6.6 10h10.8M13.5 5l1.2-3'/></g><g transform='translate(260 150) scale(2)'><circle cx='5.5' cy='18' r='2.5'/><circle cx='18.5' cy='18' r='2.5'/><path d='M8 18h7l2-8h3M12 10H9'/><path d='M2 7h6v5H2z'/></g><g transform='translate(20 200) rotate(8 20 20) scale(2)'><path d='M5 8h14l-1 13H6z'/><path d='M9 8a3 3 0 0 1 6 0'/></g><g transform='translate(150 270) scale(2)'><path d='M5 3v6a2.5 2.5 0 0 0 5 0V3M7.5 3v18M17 3c-2 2-3 5-3 8h3v10'/></g><g transform='translate(290 290) rotate(-12 20 20) scale(1.8)'><path d='M12 21 3.5 6.5a17 17 0 0 1 17 0z'/></g></svg>"); -webkit-mask-size: 360px 360px; mask-size: 360px 360px; }
.err-mark { margin: 0 auto; animation: none; }
.err-code { font-size: .95rem; font-weight: 800; letter-spacing: .18em; color: var(--brand); }
.auth-fancy.center h1 { font-size: 1.5rem; }

/* Update-Seite */
.upd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.upd-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.upd-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-weight: 800; }
.upd-steps p { margin: 2px 0 8px; }
.upd-backup { padding: 10px 0; border-top: 1px solid var(--line); }
code { background: #eef2f8; border-radius: 6px; padding: 1px 6px; font-size: .88em; }

/* Frisches Farbkonzept: Grün als Basis, Orange als Akzent */
.badge-count { background: var(--accent); }
.sh-chip-main .ico, .sh-btn-main .ico { color: inherit; }
.chips-nav a:hover, .cats a:hover { border-color: var(--brand); color: var(--brand); }
.status-pill i { background: #4ade80; }
.cat-title::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; margin-top: 6px; background: var(--accent); }
.price { color: var(--ink); }
.design-clean .add-btn:hover { background: var(--brand); }

/* Tische & Hinweise */
.callout { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff8ec; border: 1px solid #fde3b4; border-radius: 16px; padding: 14px 16px; }
.callout > div { flex: 1 1 220px; }
.callout-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fdecc8; color: #b45309; }
.how { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; }
.how li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; font-size: .92rem; }
.how li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 800; }
.tbl-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .tbl-grid { grid-template-columns: 1.1fr 1fr; } }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink); }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fbfdfb; text-align: center; overflow-wrap: anywhere; }
.tile .ico { color: var(--brand); }
.tile:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); transform: translateY(-1px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ====== Globale Verschönerung (überall) ====== */
html { scroll-behavior: smooth; }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-weight: 750; letter-spacing: -.01em; }
a { color: color-mix(in srgb, var(--brand) 85%, #000); text-underline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--brand) 25%, #fff); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }

.card { border-radius: 20px; border-color: var(--line); box-shadow: 0 1px 2px rgba(16,40,28,.04), 0 8px 24px rgba(16,40,28,.05); }
.card > h2:first-child, .card > h3:first-child { margin-bottom: .7em; }

.btn { transition: background .15s, border-color .15s, box-shadow .15s, transform .08s, filter .15s; }
.btn:hover { background: #f1f6f2; border-color: #cfdcd3; }
.btn-primary { box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 32%, transparent); }
.btn-primary:hover { background: var(--brand); filter: brightness(1.08); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 40%, transparent); }
.btn-danger:hover { background: #ffecec; border-color: #eaa9a9; }
.btn-sm { box-shadow: none; }

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=time], input[type=url], input[type=search], select, textarea {
  border: 1px solid #d3e0d7; background: #fcfefc; transition: border-color .15s, box-shadow .15s, background .15s;
}
input:hover, select:hover, textarea:hover { border-color: #b9cbbf; }
input:focus, select:focus, textarea:focus { background: #fff; outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
::placeholder { color: #9aaba0; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%235d7266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m1 1.5 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field > span { color: #2b4034; }
input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed #c3d4c8; border-radius: 12px; background: #f8fcf9; font: inherit; }
input[type=file]::file-selector-button { border: 0; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-weight: 700; padding: 8px 14px; border-radius: 10px; margin-right: 12px; cursor: pointer; }

.flash { border-radius: 14px; border-width: 1px; border-left-width: 5px; box-shadow: 0 2px 8px rgba(16,40,28,.05); }
.flash.success { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--bad); }
.flash.info { border-left-color: var(--blue); }

.badge { padding: 3px 11px; background: #e9efea; color: #3f5247; }
.badge.ok { background: #d9f3e3; color: #0f6a38; }
.badge.warn { background: #fdecd0; color: #9a5600; }

table.tbl { border-collapse: separate; border-spacing: 0; }
.tbl th { background: #f3f8f4; border-bottom: 1px solid var(--line); }
.tbl th:first-child { border-radius: 10px 0 0 10px; } .tbl th:last-child { border-radius: 0 10px 10px 0; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: #f8fcf9; }

.page-head h1 + p { max-width: 62ch; }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 800; font-size: 1.1rem; flex: none; }
.person-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.person { display: flex; flex-direction: column; gap: 12px; }
.person-head { display: flex; gap: 12px; align-items: center; }
.person-head .grow { flex: 1; min-width: 0; }
.person-head strong { display: block; }
.person .row { gap: 8px; }
.login-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #f3f8f4; border: 1px dashed #c3d4c8; border-radius: 14px; padding: 10px 12px; }
.login-box code { flex: 1 1 200px; background: transparent; word-break: break-all; font-size: .92rem; }
.container.stack { padding-top: 22px; }

/* Ruhiger: weniger Runde und Rahmen */
.sh-chips { gap: 8px 22px; }
.sh-chip, .sh-hero .sh-hours summary { padding: 4px 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; font-weight: 600; }
.sh-chip:hover, .sh-hero .sh-hours summary:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.sh-chip-main { background: #fff; color: var(--brand); padding: 8px 14px; border-radius: 8px; }
.sh-chip-main:hover { background: #fff; text-decoration: none; }
.chips-nav a, .cats a { border: 0; border-radius: 8px; background: transparent; padding: 8px 12px; }
.chips-nav a:hover, .cats a:hover { background: color-mix(in srgb, var(--brand) 10%, #fff); }
.design-tiles .sh-chip, .design-clean .sh-chip { color: var(--ink); }
.design-tiles .sh-chip-main, .design-clean .sh-chip-main { background: var(--brand); color: #fff; }
.cats a.on { background: var(--brand); color: var(--brand-ink); }
.design-clean .cats a.on { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.design-hero .cats a.on, .design-tiles .cats a.on { box-shadow: none; }

/* Kategorien-Leiste im Stil einer flachen, hellen Navigationszeile */
.chips-nav, .cats { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,40,28,.05), 0 6px 18px rgba(16,40,28,.05); padding: 4px 8px; gap: 2px; }
.chips-nav a, .cats a { border-radius: 0; padding: 12px 14px; font-weight: 600; color: #2b4034; position: relative; background: none; }
.chips-nav a:hover, .cats a:hover { background: none; color: var(--brand); }
.cats a.on, .design-hero .cats a.on, .design-tiles .cats a.on { background: none; color: var(--brand); box-shadow: none; }
.cats a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--brand); }
.design-clean .cats { background: none; box-shadow: none; padding: 0; }
.design-clean .cats a.on { background: color-mix(in srgb, var(--brand) 12%, #fff); }
.design-clean .cats a.on::after { display: none; }

/* Suche + Kategorie-Kacheln mit Foto */
.msearch { position: relative; margin: 16px 0 12px; }
.msearch .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.msearch input { padding-left: 46px; border-radius: 14px; min-height: 50px; background: #fff; }
.design-hero .cats, .design-tiles .cats { display: flex; gap: 6px; overflow-x: auto; padding: 10px 8px; scrollbar-width: none; }
.design-hero .cats a, .design-tiles .cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px; min-width: 76px; flex: none; font-size: .82rem; }
.design-hero .cats a::after, .design-tiles .cats a::after { display: none; }
.cats .ct { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); transition: transform .15s; }
.cats .ct img { width: 100%; height: 100%; object-fit: cover; }
.cats .ct .ico { width: 26px; height: 26px; }
.cats a:hover .ct { transform: translateY(-2px); }
.cats a.on .ct { outline: 3px solid var(--brand); outline-offset: 1px; }
.design-clean .cats .ct { display: none; }
.msearch input[type=search] { width: 100%; border: 1px solid #d3e0d7; padding-right: 14px; font: inherit; }
.design-hero .cats, .design-tiles .cats { position: sticky; top: 8px; z-index: 6; }

/* Produktinfo-Seitenleiste */
.pinfo { border: 0; background: none; padding: 0; font: inherit; font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: 4px; position: relative; z-index: 2; }
.pinfo:hover { color: var(--brand); }
.drawer-bg { position: fixed; inset: 0; background: rgba(10,25,16,.45); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 91; box-shadow: -12px 0 40px rgba(10,25,16,.2); display: flex; flex-direction: column; animation: drawer-in .2s ease-out; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.drawer-body { padding: 18px; overflow-y: auto; }
.drawer-body h3 { font-size: 1.2rem; }
.drawer-body h4 { margin: 20px 0 8px; font-size: .95rem; }
.drawer-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.drawer-body li { padding: 10px 12px; border-radius: 10px; background: #f3f8f4; }

/* Gericht-Fenster: Bild oben, Extras, feste Fußleiste */
.modal .box { padding: 0; display: flex; flex-direction: column; overflow: hidden; max-height: 92vh; }
.m-media { flex: none; overflow: hidden; background: #f4f7f5; display: grid; place-items: center; }
.m-media img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.m-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(19,36,26,.65); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.m-scroll { overflow-y: auto; flex: 1; padding: 0 0 8px; }
.m-head { padding: 18px 18px 8px; }
.m-head h2 { font-size: 1.4rem; margin-bottom: 6px; }
.m-price { font-weight: 800; margin-bottom: 8px; }
.modal .group { margin: 0; }
.g-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: #f3f8f4; margin-top: 12px; }
.g-head h4 { margin: 0; font-size: 1.05rem; }
.g-tag { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; background: #e1ebe4; color: #3f5247; white-space: nowrap; }
.g-tag.req { background: #fdecd0; color: #9a5600; }
.modal .opt { padding: 14px 18px; }
.modal .group.collapsed .opt.more { display: none; }
.m-more { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 12px 18px; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.modal .err-text { padding: 0 18px; }
.m-foot { flex: none; display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.m-foot .btn { flex: 1; }
.modal .box > .m-media + .m-x { }

/* Leerer Warenkorb */
.cart-empty { text-align: center; padding: 28px 8px 20px; }
.cart-empty .ce-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); margin-bottom: 14px; }
.cart-empty .ce-ic .ico { width: 36px; height: 36px; }
.cart-empty h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cart-empty p { margin-bottom: 16px; }

/* Mindestbestellwert-Leiste im Warenkorb */
.minbar { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; background: #fff; }
.mb-top { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; margin-bottom: 8px; }
.mb-top span { color: var(--muted); }
.mb-track { height: 8px; border-radius: 8px; background: #e1ebe4; overflow: hidden; }
.mb-track i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fbbf24)); transition: width .3s; }
.minbar.done .mb-track i { background: var(--brand); }
.minbar.done .mb-top span { color: var(--brand); font-weight: 700; }

/* Statistik-Dashboard */
.rangebar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.seg-link { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: #2b4034; font-weight: 600; font-size: .92rem; }
.seg-link:hover { background: #f1f6f2; }
.seg-link.on { background: var(--brand); color: #fff; }
.rangeform { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.rangeform input[type=date] { min-height: 38px; padding: 4px 10px; width: auto; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.kpi .kl { color: var(--muted); font-weight: 600; font-size: .88rem; }
.kpi strong { font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.1; }
.dl { font-size: .82rem; font-weight: 700; color: var(--muted); }
.dl.up { color: var(--ok); } .dl.down { color: var(--bad); }
.chart { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.chart .grid { stroke: #e1ebe4; stroke-width: 1; }
.chart .ax { fill: #7a8c80; font-size: 11px; }
.chart .bar { fill: var(--brand); opacity: .88; }
.chart g:hover .bar { opacity: 1; fill: var(--accent); }
.hbar { margin: 12px 0; }
.hb-top { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.hb-track { height: 10px; border-radius: 10px; background: #e9efea; overflow: hidden; }
.hb-track i { display: block; height: 100%; border-radius: 10px; background: var(--brand); }
.hbar.alt .hb-track i { background: var(--accent); }
.th-sort { color: inherit; text-decoration: none; } .th-sort.on { color: var(--brand); }
.pbar { position: relative; height: 26px; border-radius: 8px; background: #f0f5f1; overflow: hidden; }
.pbar i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--brand) 22%, #fff); border-radius: 8px; }
.pbar span { position: relative; padding: 0 10px; line-height: 26px; font-weight: 700; font-size: .88rem; }

.heat { display: grid; grid-template-columns: 34px repeat(var(--cols), 1fr); gap: 3px; margin-top: 12px; align-items: center; }
.heat .hh, .heat .hw { font-size: .72rem; color: var(--muted); font-weight: 600; text-align: center; }
.heat .hw { text-align: left; }
.heat .hc { display: block; aspect-ratio: 1.3; border-radius: 5px; background: color-mix(in srgb, var(--brand) calc(var(--a) * 100%), #eef3ef); }
.heat .hc:hover { outline: 2px solid var(--accent); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); }
.legend i, .lg-row i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.legend b { color: var(--ink); }
.lg-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.donut-wrap { display: grid; place-items: center; margin: 4px 0 12px; }
.donut { width: 190px; height: 190px; }
.donut .dn { font-size: 30px; font-weight: 800; fill: var(--ink); }
.donut .ds { font-size: 11px; fill: var(--muted); }
.lineblock { grid-template-columns: 1.8fr 1fr; }
@media (max-width: 800px) { .lineblock { grid-template-columns: 1fr; } }

/* Marketing */
.mk-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.mk-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.mk-ic .ico { width: 24px; height: 24px; }
.stack-sm > * + * { margin-top: 12px; }
.share-text pre { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .88rem; background: #f3f8f4; border-radius: 12px; padding: 10px 12px; margin: 6px 0; }
.promo-banner, .promo-prev { display: flex; gap: 10px; align-items: center; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 6%, #fff)); border: 1px solid color-mix(in srgb, var(--accent) 35%, #fff); color: #9a3d06; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin-top: 16px; }
.promo-banner .ico { width: 22px; height: 22px; flex: none; }
input[type=date] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d3e0d7; border-radius: 12px; background: #fcfefc; font: inherit; color: var(--ink); }
input[type=date]:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }

/* Liefergebiet */
.zone { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; padding: 14px; }
.zone-map { position: relative; height: 460px; border-radius: 16px; overflow: hidden; background: #eaf3ec; border: 1px solid var(--line); touch-action: none; }
.zone-map canvas { display: block; cursor: grab; touch-action: none; }
.zone-ctl { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.zone-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(19,36,26,.82); color: #fff; padding: 8px 14px; border-radius: 10px; font-size: .88rem; pointer-events: none; text-align: center; max-width: 80%; }
.zone-side { display: flex; flex-direction: column; gap: 12px; }
.zone-side input[type=range] { width: 100%; accent-color: var(--brand); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } .zone-map { height: 360px; } }

/* Fahrer-App */
.dr { padding-top: 14px; }
.dr-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dr-hi { display: flex; gap: 12px; align-items: center; }
.dr-hi strong { display: block; line-height: 1.2; }
.dr-conn { font-size: .8rem; font-weight: 700; }
.dr-conn::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--ok); }
.dr-conn.bad { color: var(--bad); } .dr-conn.bad::before { background: var(--bad); } .dr-conn.ok { color: var(--ok); }
.dr-hero-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; margin: 0 auto 8px; }
.dr-hero-ic .ico { width: 40px; height: 40px; }
.dr-share { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); cursor: pointer; }
.dr-share.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.dr-share-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); flex: none; }
.dr-share-tx { flex: 1; min-width: 0; } .dr-share-tx strong { display: block; } .dr-share-tx small { color: var(--muted); display: block; font-size: .8rem; line-height: 1.3; }
.sw { position: relative; flex: none; width: 52px; height: 30px; }
.sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.sw i { position: absolute; inset: 0; border-radius: 30px; background: #cdd8d0; transition: background .2s; }
.sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.sw input:checked + i { background: var(--brand); } .sw input:checked + i::after { transform: translateX(22px); }
.dr-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; margin-bottom: 14px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.dr-top { display: flex; align-items: center; gap: 10px; }
.dr-num { background: var(--ink); color: #fff; border-radius: 10px; padding: 3px 10px; font-weight: 800; }
.dr-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-addr { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--ink); font-size: 1.1rem; font-weight: 700; background: #f3f8f4; border-radius: 14px; padding: 12px; }
.dr-addr .ico { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.dr-addr small { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.dr-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.dr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dr-pay { border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.dr-pay.cash { background: #fff4e0; color: #8a4b00; } .dr-pay.cash strong { font-size: 1.15rem; } .dr-pay.cash small { display: block; font-weight: 500; }
.dr-pay.paid { background: #e7f6ec; color: #135f35; }
.dr-empty { text-align: center; padding: 40px 16px; background: #fff; border: 1px dashed var(--line); border-radius: 20px; display: grid; gap: 6px; justify-items: center; }
.dr-empty-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); }
.dr-empty-ic .ico { width: 34px; height: 34px; }

.live-list { display: grid; gap: 8px; margin-top: 8px; }
.live-row { background: #f3f8f4; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }


/* Unsere Services */
.svc-section { max-width: 1100px; margin: 28px auto 8px; padding: 26px 20px 30px; background: color-mix(in srgb, var(--brand) 6%, #f6f8f6); border-radius: 22px; text-align: center; }
.svc-section h2 { margin: 0 0 20px; font-size: 1.35rem; color: var(--brand); letter-spacing: -.01em; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 22px 14px; justify-items: center; }
.svc-item { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 150px; }
.svc-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 2px 10px rgba(16,24,40,.07); }
.svc-ic svg.ico { width: 34px; height: 34px; stroke-width: 1.5; }
.svc-name { font-size: .9rem; font-weight: 600; color: var(--brand); line-height: 1.25; }
@media (max-width: 640px) { .svc-section { margin: 20px 12px 6px; padding: 20px 12px 24px; border-radius: 18px; } .svc-grid { grid-template-columns: repeat(3, 1fr); } .svc-ic { width: 56px; height: 56px; } }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.svc-opt { cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line, #dfe7e1); border-radius: 14px; background: #fff; transition: .15s; }
.svc-opt svg.ico { width: 24px; height: 24px; flex: none; color: #6b7c71; }
.svc-opt b { font-weight: 600; font-size: .9rem; }
.svc-opt input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); }
.svc-opt input:checked + span svg { color: var(--brand); }
.svc-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Reiter & feste Speichern-Leiste (Plattform-Einstellungen) */
.set-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 18px; padding: 5px; background: #fff; border: 1px solid var(--line, #dfe7e1); border-radius: 999px; position: sticky; top: 8px; z-index: 5; box-shadow: 0 4px 16px rgba(16,24,40,.06); }
.set-tabs button { flex: 1 1 auto; border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; color: #44574b; }
.set-tabs button.on { background: var(--brand, #12864a); color: var(--brand-ink, #fff); }
.set-tabs button:focus-visible { outline: 2px solid var(--brand, #12864a); outline-offset: 2px; }
[data-tab][hidden] { display: none !important; }
.savebar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border: 1px solid var(--line, #dfe7e1); border-radius: 16px; box-shadow: 0 -4px 20px rgba(16,24,40,.08); z-index: 4; }
@media (max-width: 560px) { .set-tabs { border-radius: 18px; } .set-tabs button { padding: 9px 10px; font-size: .85rem; } }

/* ---- Bestellseite: Feinschliff ---- */
body.shop:not(.auth-page)::before { opacity: .035; }
.closed-note { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(135deg, #fff6e8, #fffdf8); border: 1px solid #f4d9ae; color: #7a4a0c; }
.closed-note .cn-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #ffe6c2; color: #c2640a; }
.closed-note .cn-ic svg { width: 24px; height: 24px; }
.closed-note strong { display: block; color: #5c3608; font-size: 1.02rem; }
.closed-note span { font-size: .92rem; }
.closed-note b { color: #5c3608; }
.cats.hidden { display: none; }
.cat-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cat-count { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.shop .items, .items { gap: 14px; }
.items .item .item-body { padding-right: 54px; }
.items .item.has-img .item-body { padding-right: 0; }
.items .item { padding: 16px; border-radius: 20px; border: 1px solid #e4ece6; background: #fff; box-shadow: 0 1px 2px rgba(16,40,28,.04), 0 6px 18px rgba(16,40,28,.04); gap: 14px; min-height: 112px; transition: box-shadow .18s, transform .18s, border-color .18s; }
.items .item:not(.soldout):hover { box-shadow: 0 12px 30px rgba(16,40,28,.12); transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, #e4ece6); }
.items .item h3 { font-size: 1.06rem; letter-spacing: -.005em; }
.items .item .desc { line-height: 1.4; }
.items .item .price { display: inline-block; padding: 3px 11px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: color-mix(in srgb, var(--brand) 82%, #000); font-size: .98rem; }
.items .item .item-img { width: 104px; height: 104px; border-radius: 16px; }
.items .item .add-btn { right: 12px; bottom: 12px; width: 44px; height: 44px; font-size: 1.7rem; transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 45%, transparent); }
.items .item .add-btn:hover { transform: scale(1.08); }
.items .item .add-btn:active { transform: scale(.94); }
.items .item.soldout .add-btn { display: none; }
.cart-panel { border-radius: 22px; }
@media (max-width: 640px) { .closed-note { padding: 12px 14px; } .items .item .item-img { width: 88px; height: 88px; } }

/* Pflichtangaben in der Kasse */
.field.req > span::after { content: " *"; color: #c0392b; font-weight: 800; }
.req-hint { margin: -4px 0 8px; font-size: .85rem; color: var(--muted); }
.req-hint b, .req-star { color: #c0392b; }
.card input:required:user-invalid, .card input:user-invalid { border-color: #d64545; background: #fff7f7; }

/* Status-Karte Bestellannahme */
.status-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin: 0 0 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid #e4ece6; box-shadow: 0 1px 2px rgba(16,40,28,.04), 0 6px 18px rgba(16,40,28,.05); }
.status-card .sc-state { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; }
.status-card .sc-state > div { display: flex; flex-direction: column; min-width: 0; }
.status-card strong { font-size: 1.1rem; }
.status-card .sc-state span:not(.sc-dot) { font-size: .85rem; color: var(--muted); }
.sc-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: #b9c4bd; box-shadow: 0 0 0 5px rgba(185,196,189,.25); }
.status-card.is-open .sc-dot { background: #1a9d57; box-shadow: 0 0 0 5px rgba(26,157,87,.2); animation: scpulse 2s infinite; }
.status-card.is-closed .sc-dot { background: #d64545; box-shadow: 0 0 0 5px rgba(214,69,69,.18); }
@keyframes scpulse { 50% { box-shadow: 0 0 0 8px rgba(26,157,87,.08); } }
.seg3 { display: inline-flex; padding: 4px; gap: 2px; background: #eef3ef; border-radius: 999px; }
.seg3 button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; color: #44574b; }
.seg3 button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); box-shadow: 0 2px 8px rgba(16,40,28,.18); }
.seg3 button[data-mode="paused"][aria-pressed="true"] { background: #d64545; color: #fff; }
.status-card .sc-link { font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .seg3 { width: 100%; } .seg3 button { flex: 1; padding: 10px 6px; } }

.zone-addr { grid-column: 1 / -1; padding: 4px 4px 12px; }
.zone-addr h2 { margin: 0 0 4px; font-size: 1.1rem; }
.zone-addr .inline-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }

/* Liefer-Ringe */
.ring-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px 14px 16px; margin-bottom: 10px; border-radius: 16px; background: #fff; border: 1px solid #e4ece6; border-left: 5px solid var(--rc); box-shadow: 0 1px 2px rgba(16,40,28,.04); }
.ring-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.ring-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rc); flex: none; }
.ring-head strong { font-size: 1rem; }
.ring-row label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); min-width: 0; }
.ring-row input { width: 100%; min-height: 42px; padding: 8px 10px; font-weight: 600; color: var(--ink); }
.ring-row input::placeholder { font-weight: 400; color: #a5b3aa; }
.ring-row:focus-within { border-color: var(--rc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 14%, transparent); }
.zone-side .field > span { font-weight: 700; display: block; margin: 14px 0 8px; }
.zone-side .check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin: 0 0 8px; border: 1.5px solid #e1ebe4; border-radius: 14px; background: #fff; cursor: pointer; }
.zone-side .check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.zone-side .check:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.zone-side .check span { line-height: 1.35; }
.zone-side .hint { font-size: .82rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 861px) { .zone-map { position: sticky; top: 12px; align-self: start; } }

.inline-fields { align-items: end; }
.inline-fields > .field { min-width: 0; }

.order-preview { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, #fff); font-size: 1.05rem; }

/* Unsere Services – flach, modern, clean (überschreibt die erste Fassung) */
.svc-section, .svc-section { max-width: 1100px; margin: 22px auto 6px; padding: 0 16px; background: none; border-radius: 0; text-align: left; }
.svc-section h2 { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.svc-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; grid-template-columns: none; }
.svc-item { flex-direction: row; align-items: center; gap: 9px; max-width: none; padding: 6px 15px 6px 6px; background: #fff; border: 1px solid #e4ece6; border-radius: 999px; box-shadow: 0 1px 2px rgba(16,40,28,.04); }
.svc-ic { width: 30px; height: 30px; background: color-mix(in srgb, var(--brand) 10%, #fff); box-shadow: none; }
.svc-ic svg.ico { width: 17px; height: 17px; stroke-width: 1.8; }
.svc-name { font-size: .86rem; font-weight: 600; color: #2b4034; line-height: 1.2; }
@media (max-width: 640px) { .svc-section { margin: 16px 0 4px; padding: 0 12px; } .svc-grid { gap: 6px; } .svc-item { padding-right: 12px; } .svc-ic { width: 28px; height: 28px; } }

/* Hinweis: Ton nicht aktiv */
.sound-hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; background: #c62828; color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: 700 1rem/1.2 inherit; box-shadow: 0 6px 24px rgba(0,0,0,.3); cursor: pointer; animation: hintPulse 1.4s infinite; max-width: 92vw; }
.sound-hint.hidden { display: none; }
@keyframes hintPulse { 50% { transform: translateX(-50%) scale(1.04); } }

/* Fahrer-Einladung & App-Installation */
.invite-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border: 2px solid var(--brand); }
.invite-card .qr-box { background: #fff; border-radius: 12px; padding: 6px; line-height: 0; }
.invite-card .qr-box canvas { width: 168px; height: 168px; }
.invite-card .login-box code { word-break: break-all; font-size: .78rem; }
.pwa-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.pwa-card.hidden { display: none; }
@media print { .invite-card .btn, .invite-card .login-box { display: none; } }

/* Tische – schöner */
.tbl-edit, .tbl-list { padding: 20px; }
.tbl-head { display: flex; gap: 12px; align-items: center; }
.tbl-head h2 { margin: 0; font-size: 1.15rem; }
.tbl-head p { margin: 2px 0 0; }
.tbl-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.tbl-ic svg.ico { width: 22px; height: 22px; }
.tbl-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.tbl-presets .chip-btn { background: color-mix(in srgb, var(--brand) 6%, #fff); border-color: color-mix(in srgb, var(--brand) 22%, #fff); color: var(--brand); }
.tbl-presets .chip-btn:hover { background: var(--brand); color: var(--brand-ink, #fff); }
.tbl-presets .chip-clear { background: #fff; border-color: var(--line); color: var(--muted); margin-left: auto; }
.tbl-edit textarea { background: #fbfdfb; border-radius: 12px; line-height: 1.5; min-height: 96px; }
.tbl-preview { background: #f6faf7; border: 1px dashed #d5e0d8; border-radius: 12px; padding: 10px 12px; }
.tbl-preview-t { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tpills { display: flex; flex-wrap: wrap; gap: 6px; max-height: 118px; overflow: auto; }
.tpill { background: #fff; border: 1px solid #dfe8e1; border-radius: 999px; padding: 3px 11px; font-size: .84rem; font-weight: 600; }
.tpill-more { background: color-mix(in srgb, var(--brand) 10%, #fff); border-color: transparent; color: var(--brand); }
.tiles-qr { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); max-height: 520px; }
.tiles-qr .tile { padding: 10px 8px 12px; gap: 4px; }
.tiles-qr .tile .qr { display: block; width: 78px; line-height: 0; border: 1px solid #e6eee8; border-radius: 8px; overflow: hidden; background: #fff; }
.tiles-qr .tile .qr canvas { width: 100%; height: auto; display: block; }
.tiles-qr .tile small { font-size: .72rem; color: var(--brand); font-weight: 700; opacity: 0; transition: opacity .15s; }
.tiles-qr .tile:hover small, .tiles-qr .tile:focus-visible small { opacity: 1; }
@media (hover: none) { .tiles-qr .tile small { opacity: .8; } }

/* Liefergebiet-Status */
.cov-card { display: flex; gap: 12px; align-items: center; border-radius: 14px; padding: 12px 16px; border: 1px solid #cfe6d8; background: #eef8f1; }
.cov-card p { margin: 2px 0 0; font-size: .92rem; }
.cov-card .cov-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #12864a; color: #fff; font-weight: 800; }
.cov-card.warn { background: #fff1f0; border-color: #f2c2bd; }
.cov-card.warn .cov-ic { background: #c62828; }

/* Update-Sperre */
.upd-lock { display: flex; gap: 14px; align-items: center; border: 1px solid #f0d9a8; background: #fffaf0; flex-wrap: wrap; }
.upd-lock.open { border-color: #bfe3cc; background: #eef8f1; }
.upd-lock.stack-sm { display: grid; align-items: stretch; }
.upd-lock-ic { font-size: 1.6rem; line-height: 1; }

/* Rechnungsmodus-Auswahl */
.opt-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.opt-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #fbfdfb; }
.opt-card input { margin-top: 4px; accent-color: var(--brand); }
.opt-card small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; line-height: 1.45; }
.opt-card:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); box-shadow: 0 0 0 1px var(--brand) inset; }

/* Admin: Startseite bearbeiten */
.land-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfb; }
.land-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.land-ic svg.ico { width: 20px; height: 20px; }
.land-n { font-weight: 800; border-radius: 50%; background: var(--brand); color: var(--brand-ink, #fff); }

/* Extras: neue Gruppe */
.newgroup > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.newgroup > summary::-webkit-details-marker { display: none; }
.newgroup[open] > summary { margin-bottom: 14px; }
.ng-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 800; font-size: 1.2rem; }
.ng-name { font-size: 1.1rem; padding: 14px 16px; }
.ng-presets { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ng-presets .opt-card b { display: block; }

/* Tischplan */
.plan-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan-sel { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, #fff); }
.plan-sel b { margin-right: 4px; }
.plan-sel .seg[aria-pressed=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-danger-soft { background: #fdecec; color: #b42318; border-color: #f5c6c6; }
.plan { position: relative; aspect-ratio: 16 / 10; min-height: 260px; width: 100%; border: 2px dashed color-mix(in srgb, var(--brand) 30%, #fff); border-radius: 18px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background-color: #fbfdfb; background-image: linear-gradient(color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px); background-size: 5% 8%; }
.plan-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.pt { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; cursor: grab; background: #fff; border: 2px solid var(--brand); color: var(--ink, #14231b); font-weight: 800; box-shadow: 0 3px 10px rgba(20, 50, 30, .14); touch-action: none; transition: box-shadow .12s, transform .12s; }
.pt span { font-size: clamp(.85rem, 2.4vw, 1.15rem); line-height: 1; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-long span { font-size: .72rem; }
.pt-round { width: clamp(46px, 8%, 70px); aspect-ratio: 1; border-radius: 50%; }
.pt-square { width: clamp(46px, 8%, 70px); aspect-ratio: 1; border-radius: 12px; }
.pt-wide { width: clamp(70px, 13%, 112px); aspect-ratio: 2 / 1; border-radius: 12px; }
.pt.is-sel { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent), 0 6px 16px rgba(20, 50, 30, .25); z-index: 2; }
.pt.is-drag { cursor: grabbing; transform: translate(-50%, -50%) scale(1.08); z-index: 3; }
.pt:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.pt-long span { white-space: normal; overflow: visible; text-align: center; font-size: .7rem; line-height: 1.1; overflow-wrap: anywhere; }
.pt-long.pt-round, .pt-long.pt-square { width: clamp(58px, 10%, 84px); }

/* Fahrer-Karten */
.drv { gap: 14px; transition: box-shadow .15s, transform .15s; }
.drv:hover { box-shadow: 0 8px 24px rgba(20, 50, 30, .10); }
.drv.is-off { opacity: .75; }
.drv .person-head { align-items: flex-start; }
.drv .avatar { width: 48px; height: 48px; border-radius: 16px; font-size: 1.2rem; }
.drv-line { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .86rem; color: var(--muted, #5b6b61); text-decoration: none; word-break: break-all; }
.drv-line svg.ico { width: 15px; height: 15px; flex: none; opacity: .7; }
.drv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drv-actions .btn { min-height: 40px; }
.btn-soft { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 25%, #fff); font-weight: 700; }
.drv-more { border-top: 1px dashed var(--line); padding-top: 10px; }
.drv-more > summary { cursor: pointer; color: var(--muted, #5b6b61); font-weight: 600; font-size: .88rem; list-style: none; }
.drv-more > summary::-webkit-details-marker { display: none; }
.drv-more > summary::after { content: " ▾"; }
.drv-more[open] > summary { margin-bottom: 10px; }
.drv-more form + form { margin-top: 10px; }
.person-grid:has(.drv) { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Fahrer-Zeiten */
.seg-row { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }
.seg-row .seg { text-decoration: none; }
.drv-time { gap: 12px; }
.kv { margin: 0; display: grid; gap: 8px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted, #5b6b61); font-size: .88rem; }
.kv dt small { display: block; font-size: .75rem; opacity: .8; }
.kv dd { margin: 0; font-weight: 700; white-space: nowrap; }
.kv dd.big { font-size: 1.4rem; color: var(--brand); }

/* Backup */
.bk-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-left: 4px solid var(--line); }
.bk-status.ok { border-left-color: var(--brand); }
.bk-status.bad { border-left-color: #d92d20; }
.bk-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.bk-status.bad .bk-ic { background: #fdecec; color: #b42318; }
.bk-err { margin-top: 4px; color: #b42318; font-size: .88rem; }
.bk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.bk-row:last-child { border-bottom: 0; }
.bk-dl { display: flex; gap: 6px; }
.bk-dl input { width: 150px; min-height: 36px; padding: 4px 10px; }
.bk-code { margin: 0; padding: 12px 14px; background: #101a14; color: #d7f5e0; border-radius: 12px; overflow-x: auto; font-size: .85rem; }

/* Artikel-Liste: Verfügbarkeit */
.mitem.is-off .thumb, .mitem.is-off .item-main, .mitem.is-off .item-price { opacity: .5; }
.mitem.is-off .item-name { text-decoration: line-through; }
.item-price { text-align: right; font-weight: 700; }
.item-price .vat { display: block; font-size: .7rem; font-weight: 500; color: var(--muted, #5b6b61); }
.item-actions .switch-form { margin-right: 6px; }
.item-actions .switch-label { min-width: 24px; font-size: .78rem; }

/* Artikel-Formular */
.sec-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; }
.sec-h small { font-weight: 500; font-size: .8rem; }
.sec-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-size: .85rem; font-weight: 800; }
.img-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.img-row .preview-img { width: 140px; height: 105px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.apill { position: relative; display: block; cursor: pointer; }
.apill input { position: absolute; opacity: 0; inset: 0; }
.apill span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .86rem; background: #fff; min-height: 44px; transition: background .12s, border-color .12s; }
.apill b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; background: #eef2f8; font-size: .75rem; }
.apill input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); font-weight: 600; }
.apill input:checked + span b { background: var(--brand); color: #fff; }
.apill input:focus-visible + span { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.opt-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }

/* Bilderkatalog */
.cat-h { margin: 14px 0 8px; font-size: .95rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.cat-img { position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cat-img input { position: absolute; opacity: 0; inset: 0; }
.cat-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-img span { display: block; padding: 6px 8px; font-size: .78rem; font-weight: 600; text-align: center; }
.cat-img:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.cat-img:has(input:focus-visible) { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.cat-none { display: flex; gap: 8px; align-items: center; font-size: .9rem; }

/* Speisekarte: übersichtlich auch bei vielen Artikeln */
.menu-page .toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.menu-page .toolbar .search { flex: 1 1 240px; }
.addcat-d { position: relative; }
.addcat-d > summary { list-style: none; cursor: pointer; }
.addcat-d > summary::-webkit-details-marker { display: none; }
.addcat-d .addcat { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 24, 40, .16); width: min(360px, 86vw); }
.addcat-d .addcat input { flex: 1; min-width: 0; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; position: sticky; top: 0; z-index: 6; background: linear-gradient(var(--bg, #f4f8f5) 80%, transparent); scrollbar-width: thin; }
.ctab { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--ink); white-space: nowrap; }
.ctab span { margin-left: 4px; color: var(--muted, #5b6b61); font-weight: 600; }
.ctab.is-on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink, #fff); }
.ctab.is-on span { color: inherit; opacity: .85; }
[data-cat].hide-by-tab { display: none; }
.cat-fold { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #eef2ef; cursor: pointer; font-size: 1rem; color: var(--ink); transition: transform .15s; }
.cat.is-collapsed .cat-fold { transform: rotate(-90deg); }
.cat.is-collapsed .item-list, .cat.is-collapsed .quick-d { display: none; }
.cat-head { gap: 10px; }
.mitem { grid-template-columns: 44px minmax(0, 1fr) auto auto; padding: 8px 0; gap: 10px; }
.mitem .thumb { width: 44px; height: 44px; border-radius: 10px; }
.item-name { font-size: .98rem; }
.item-desc { font-size: .82rem; }
.item-meta { font-size: .76rem; color: var(--muted, #5b6b61); margin-top: 2px; }
.item-meta .meta-off { text-decoration: line-through; opacity: .6; }
.sort-only { display: none !important; }
.sorting .sort-only { display: inline-flex !important; }
.sorting .item-edit { display: none; }
.sorting .cat-tabs { opacity: .5; pointer-events: none; }
.quick-d { border-top: 1px solid var(--line); }
.quick-d > summary { list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--brand); font-size: .92rem; }
.quick-d > summary::-webkit-details-marker { display: none; }
.quick-d[open] > summary { padding-bottom: 0; }
.quick-d .quick { border-top: 0; background: transparent; padding-top: 10px; }
.item-actions .item-edit { background: transparent; border-color: transparent; color: var(--brand); font-weight: 700; }
.item-actions .item-edit:hover { background: color-mix(in srgb, var(--brand) 10%, #fff); }
@media (max-width: 640px) {
  .cat-head .switch-label { display: none; }
  .mitem { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .item-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .item-actions .item-edit { display: none; }
  .sorting .item-actions { display: flex; }
  .item-actions:not(:has(.sort-only:not([hidden]))) { }
  .mitem .item-actions { display: none; }
  .sorting .mitem .item-actions { display: flex; }
}

/* Inline-Bearbeitung in der Liste */
.mitem { grid-template-columns: 44px minmax(0, 1fr) auto; }
.item-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; position: relative; min-width: 0; }
.ii-name { width: 100%; border: 1.5px solid transparent !important; background: transparent !important; padding: 6px 8px !important; font-weight: 700; font-size: .98rem; border-radius: 10px; min-height: 36px; box-shadow: none !important; }
.ii-name:hover { background: #f3f7f4 !important; }
.ii-name:focus { border-color: var(--brand) !important; background: #fff !important; }
.ii-price { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.ii-price input { width: 82px; text-align: right; padding: 6px 8px; min-height: 36px; font-weight: 800; border-radius: 10px; }
.ii-price span { color: var(--muted, #5b6b61); }
.item-inline .saved { position: absolute; right: 0; bottom: -2px; font-size: .7rem; }
.item-inline .item-main { padding-left: 0; }
.item-inline .item-desc, .item-inline .item-meta { padding-left: 8px; }
.pm-prices { padding: 10px 12px; border-top: 1px solid var(--line); }
.pm-prices label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.pm-row { display: flex; gap: 6px; }
.pm-row input { flex: 1; min-width: 0; }
.pm-row select { width: 62px; }
.pm-prices small { display: block; margin-top: 6px; color: var(--muted, #5b6b61); font-size: .72rem; }
@media (max-width: 640px) { .mitem { grid-template-columns: 40px minmax(0, 1fr); } .item-inline { grid-template-columns: minmax(0, 1fr) auto; } .item-actions { grid-column: 1 / -1; } }
.pop-menu { min-width: 250px; }
.pm-row button { width: auto !important; flex: none; background: var(--brand) !important; color: var(--brand-ink, #fff) !important; text-align: center !important; padding: 8px 12px !important; }
.ii-name { font-weight: 700 !important; }
@media (max-width: 640px) {
  .menu-page .page-head { flex-direction: column; align-items: stretch; }
  .menu-page .page-head .row { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 6px !important; }
  .menu-page .page-head .btn { padding: 8px 6px; font-size: .82rem; min-height: 40px; text-align: center; justify-content: center; }
  .menu-page .toolbar { flex-wrap: nowrap; gap: 8px; }
  .menu-page .toolbar .search { flex: 1 1 auto; min-width: 0; }
  .menu-page .toolbar .addcat-d { flex: none; }
  .menu-page .toolbar .addcat-d[open] { flex: 1 1 100%; }
  .menu-page .toolbar:has(.addcat-d[open]) { flex-wrap: wrap; }
  .cat-head { flex-wrap: nowrap; gap: 8px; padding: 10px 12px; }
  .cat-head .cat-name { flex: 1 1 auto; min-width: 0; }
  .cat-head .switch-label { display: none; }
}

/* Größen & Varianten */
.seg { display: inline-flex; background: #eef2ee; border-radius: 12px; padding: 4px; gap: 4px; align-self: flex-start; }
.seg label { cursor: pointer; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted, #5b6b61); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(16,24,40,.14); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); }
.vpresets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.vpresets .chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.vpresets .chip:hover { border-color: var(--brand); color: var(--brand); }
.v-rows { display: grid; gap: 8px; margin: 10px 0; }
.v-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.v-eur { display: flex; align-items: center; gap: 4px; margin: 0; }
.v-eur input { width: 96px; text-align: right; }
.v-del { border: 0; background: #f3f4f6; width: 36px; height: 36px; border-radius: 10px; font-size: 1.2rem; cursor: pointer; color: #6b7280; }
.v-del:hover { background: #fde8e8; color: #b42318; }
.ii-var { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ink); line-height: 1.15; padding: 2px 6px; border-radius: 10px; }
.ii-var:hover { background: #f3f7f4; }
.ii-var small { color: var(--muted, #5b6b61); font-size: .72rem; }
#modal-groups .vprice { font-weight: 800; }

/* Kasse: klarer, moderner */
.co-page { max-width: 620px; }
.co-form { counter-reset: step; gap: 14px; }
.co-step { counter-increment: step; padding: 18px; border-radius: 18px; }
.co-h { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin: 0 0 14px; }
.co-step > .co-h::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-size: .82rem; font-weight: 800; flex: none; }
.co-h2 { font-size: .98rem; margin: 0 0 10px; }
.co-h small, .co-h2 small { font-weight: 500; font-size: .78rem; }
.co-form .choice span { padding: 13px 8px; border-radius: 14px; font-size: .95rem; }
.co-form .choice-grid { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; }
.pay-grid { grid-template-columns: 1fr !important; }
.pay-grid .choice span { text-align: left; padding: 14px 16px 14px 46px; position: relative; }
.pay-grid .choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #c5cfc8; border-radius: 50%; background: #fff; }
.pay-grid .choice input:checked + span::before { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 45%, #fff 50%); }
.co-form .field { margin-bottom: 12px; }
.co-form .field:last-child { margin-bottom: 0; }
.co-form .field input, .co-form .field select, .co-form .field textarea { border-radius: 12px; min-height: 48px; }
.co-form .req-hint { margin: -6px 0 12px; font-size: .82rem; color: var(--muted, #5b6b61); }
.co-note, #coupon-card, #tip-card { padding: 14px 18px; }
.co-sum { background: color-mix(in srgb, var(--brand) 5%, #fff); border: 1.5px solid color-mix(in srgb, var(--brand) 22%, #fff); }
.co-sum .sum-row.total { font-size: 1.15rem; font-weight: 800; border-top: 2px solid color-mix(in srgb, var(--brand) 25%, #fff); padding-top: 12px; margin-top: 8px; }
.co-submit { position: sticky; bottom: 0; z-index: 5; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg, #f4f7f4) 70%, transparent); }
#submit-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 16px; min-height: 56px; }
#submit-order b:empty { display: none; }
@media (max-width: 520px) { .co-step { padding: 16px 14px; } .co-form .inline-fields { grid-template-columns: 1fr; } .co-form #delivery-fields .inline-fields { grid-template-columns: 110px 1fr; } }
.co-form .inline-fields { align-items: start; }
/* Shop mobil: Kategorieleiste darf die Seite nicht verbreitern */
.shop-main { grid-template-columns: minmax(0, 1fr); }
.shop-main > * { min-width: 0; }
/* Shop mobil: kompakter Kopf, schlanke Kategorieleiste, ruhigere Karten */
@media (max-width: 640px) {
  .sh-hero { min-height: 0 !important; }
  .sh-hero .sh-wrap { gap: 12px; padding-top: 58px; padding-bottom: 18px; }
  .sh-logo { width: 60px; height: 60px; border-radius: 16px; border-width: 2px; }
  .sh-logo-ph .ico { width: 28px; height: 28px; }
  .sh h1 { font-size: 1.5rem; }
  .design-hero .cats, .design-tiles .cats { padding: 6px 8px; gap: 2px; }
  .design-hero .cats a, .design-tiles .cats a { min-width: 60px; gap: 3px; font-size: .74rem; }
  .cats .ct { width: 44px; height: 44px; border-radius: 12px; }
  .cats .ct .ico { width: 20px; height: 20px; }
  .items .item { padding: 12px 14px; }
  .items .item h3 { font-size: 1rem; }
  .add-btn { width: 40px; height: 40px; }
}

/* Beispielbild-Auswahl besser sichtbar */
details.catalog > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 2px dashed color-mix(in srgb, var(--brand) 55%, #fff); border-radius: 14px; background: color-mix(in srgb, var(--brand) 7%, #fff); color: var(--brand); font-weight: 800; font-size: 1rem; }
details.catalog > summary::-webkit-details-marker { display: none; }
details.catalog > summary::after { content: "▾"; margin-left: auto; }
details.catalog[open] > summary::after { content: "▴"; }
details.catalog > summary:hover { background: color-mix(in srgb, var(--brand) 13%, #fff); }
details.catalog > summary small { font-weight: 500; color: var(--muted, #5b6b61); }
.cs-ico { font-size: 1.3rem; }

/* Kategorieleiste: schlichte Chips statt Bild-Kacheln */
.cats, .design-hero .cats, .design-tiles .cats, .design-clean .cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.cats a, .design-hero .cats a, .design-tiles .cats a { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; min-width: 0 !important; flex: none; padding: 9px 16px !important; border-radius: 999px !important; background: #fff !important; border: 1.5px solid var(--line) !important; color: var(--ink); font-size: .92rem !important; font-weight: 700; white-space: nowrap; box-shadow: none; }
.cats a::after { display: none !important; }
.cats a .cc { font-size: .75rem; font-weight: 700; color: var(--muted, #5b6b61); background: #f1f4f2; border-radius: 999px; padding: 1px 7px; }
.cats a.on, .design-hero .cats a.on, .design-tiles .cats a.on { background: var(--brand) !important; border-color: var(--brand) !important; color: var(--brand-ink, #fff) !important; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); }
.cats a.on .cc { background: rgba(255,255,255,.25); color: inherit; }
@media (min-width: 1000px) { .design-clean .shop-main.with-cart > div:first-child > .cats { flex-direction: column; align-items: stretch; } .design-clean .cats a { border-radius: 10px !important; border: 0 !important; background: transparent !important; } .design-clean .cats a.on { background: color-mix(in srgb, var(--brand) 12%, #fff) !important; color: var(--brand) !important; box-shadow: none; } .design-clean .cats a .cc { margin-left: auto; } }

/* Allergene: dezent als eine Zeile */
.allergen-line { margin-top: 6px; font-size: .72rem; color: #8a948d; letter-spacing: .02em; line-height: 1.3; }
.pinfo { margin-top: 2px; font-size: .75rem; color: #8a948d; text-decoration: none; }
.pinfo::before { content: "ⓘ "; }
.pinfo:hover { color: var(--brand); text-decoration: underline; }
.item-body .pinfo { align-self: flex-start; text-align: left; margin-left: 0; }

/* Dazu passt */
.sugg-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.sugg-grid .apill span { padding: 8px 12px; }
.upsell { margin: 14px 0 6px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 6%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 18%, #fff); }
.up-h { font-weight: 800; font-size: .92rem; margin-bottom: 8px; }
.up-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.up-card { flex: none; width: 128px; display: flex; flex-direction: column; gap: 3px; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px; position: relative; cursor: pointer; font: inherit; }
.up-card img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.up-n { font-weight: 700; font-size: .85rem; line-height: 1.2; padding-right: 26px; }
.up-p { font-size: .8rem; color: var(--muted, #5b6b61); font-weight: 700; }
.up-add { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--brand-ink, #fff); display: grid; place-items: center; font-weight: 800; }
.up-card:hover { border-color: var(--brand); }

/* Produktinfo-Panel */
.drawer-bg { z-index: 120; } .drawer { z-index: 121; }
.drawer { border-radius: 18px 0 0 18px; }
@media (max-width: 640px) { .drawer { top: auto; height: auto; max-height: 88vh; width: 100%; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(10,25,16,.3); } }
.info-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #f6f8f6; font-size: .85rem; line-height: 1.45; color: #4b5a51; }
.info-list { display: grid; gap: 4px !important; }
.info-list li { display: flex; align-items: center; gap: 12px; background: none !important; padding: 8px 2px !important; border-bottom: 1px solid #eef2ee; }
.info-code { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #eef2ee; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #4b5a51; }
#modal-info { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0; }
#modal-info.hidden { display: none; }

/* Kennzeichnung & Menü-Vorlagen */
.ibadge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle; background: #eef2ee; color: #4b5a51; }
.ibadge.b-popular { background: #fff1e0; color: #b45309; }
.ibadge.b-new { background: #e6f0ff; color: #1d4ed8; }
.ibadge.b-veggie, .ibadge.b-vegan { background: #e4f5e8; color: #15803d; }
.ibadge.b-spicy { background: #fde8e8; color: #b42318; }
.tpl-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; }
.tpl-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tpl-btns form { margin: 0; }
.free-nudge { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff8e8; border: 1px solid #f6e2b3; font-size: .85rem; color: #7a5a0c; }
.free-nudge .bar { height: 5px; border-radius: 5px; background: #f3e4bd; margin-top: 7px; overflow: hidden; }
.free-nudge .bar i { display: block; height: 100%; background: #e8a317; border-radius: 5px; }
.free-nudge.done { background: #e9f7ee; border-color: #bfe5cb; color: #166534; }

/* Speisekarte: eine Kategorie pro Seite */
.tabs-mode:not(.searching) .tab-off { display: none; }
.tabs-mode .items.slide-l { animation: slideInL .28s ease; }
.tabs-mode .items.slide-r { animation: slideInR .28s ease; }
@keyframes slideInL { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes slideInR { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tabs-mode .items { animation: none !important; } }

/* Admin: Kunden-Übersicht */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: .78rem; color: var(--muted, #5b6b61); font-weight: 600; }
.kpi strong { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.kpi small { font-size: .72rem; color: var(--muted, #5b6b61); }
.kpi.ok strong { color: var(--ok, #15803d); } .kpi.warn strong { color: #b45309; } .kpi.bad strong { color: var(--bad, #b42318); }
.cu-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.cu-tools input { flex: 1 1 240px; min-width: 0; }
.cu-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chipf { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.chipf.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink, #fff); }
.badge.warn { background: #fff1e0; color: #b45309; }
.cu-tbl td { vertical-align: top; }

/* Admin: Startseite / SEO */
.cmp-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 6px; margin-bottom: 6px; }
@media (max-width: 640px) { .cmp-row { grid-template-columns: 1fr; padding-bottom: 8px; border-bottom: 1px dashed var(--line); } }
.serp { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.serp-url { font-size: .8rem; color: #3c4043; }
.serp-t { color: #1a0dab; font-size: 1.15rem; margin: 2px 0; line-height: 1.3; }
.serp-d { color: #4d5156; font-size: .88rem; line-height: 1.45; }
.seo-links { display: grid; gap: 4px; font-size: .88rem; }
.seo-tips { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; background: #fafcfa; }
.seo-tips summary { cursor: pointer; font-weight: 800; padding: 10px 0; }
.seo-tips ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; font-size: .9rem; line-height: 1.5; }

/* Einstellungen: Farbe & Bilder */
.brand-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.brand-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.swatches { gap: 16px; }
.sw-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sw-item small { font-size: .74rem; color: var(--muted, #5b6b61); font-weight: 600; }
.swatch-custom { margin: 0; width: 52px; height: 52px; border-radius: 50%; position: relative; display: block; cursor: pointer; background: conic-gradient(#ef4444, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #ef4444); box-shadow: 0 0 0 2px var(--line); }
.swatch-custom input { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); padding: 0; border: 3px solid #fff; border-radius: 50%; background: none; cursor: pointer; overflow: hidden; }
.swatch-custom input::-webkit-color-swatch-wrapper { padding: 0; } .swatch-custom input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.up-tile { display: flex; gap: 14px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; align-items: flex-start; }
.up-prev { flex: none; border-radius: 14px; background: #f1f5f2; border: 1px dashed #c3d4c8; display: grid; place-items: center; overflow: hidden; color: #9db3a5; }
.up-sq { width: 84px; height: 84px; } .up-wide { width: 120px; height: 84px; }
.up-prev img { width: 100%; height: 100%; object-fit: cover; }
.up-prev .ico { width: 30px; height: 30px; }
.up-body { min-width: 0; flex: 1; display: grid; gap: 6px; }
.up-body p { margin: 0; font-size: .82rem; line-height: 1.4; color: var(--muted, #5b6b61); }
.up-body input[type=file] { padding: 6px; font-size: .85rem; border-radius: 10px; background: #fff; }
.up-rm { margin: 0; font-size: .85rem; }
@media (max-width: 520px) { .up-tile { flex-direction: column; } .up-wide { width: 100%; height: 110px; } }

/* Online-Zahlung */
.pp-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.pp-info > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 6%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff); }
.pp-info b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.pp-info span { font-size: .84rem; line-height: 1.4; color: #4b5a51; } .pp-info strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: .9rem; }
.pp-card { padding: 18px; display: grid; gap: 12px; border-radius: 20px; border-top: 4px solid var(--pp); }
.pp-head { display: flex; align-items: center; gap: 12px; }
.pp-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--pp); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.pp-title { flex: 1; min-width: 0; } .pp-title strong { font-size: 1.05rem; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pp-chips i { font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f4f2; color: #4b5a51; }
.pp-pill { flex: none; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #eef0ee; color: #5b6b61; white-space: nowrap; }
.pp-pill.ok { background: #e4f5e8; color: #15803d; } .pp-pill.warn { background: #fff1e0; color: #b45309; }
.pp-hint { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted, #5b6b61); }
.tgl { flex: none; position: relative; width: 50px; height: 30px; margin: 0; cursor: pointer; display: block; }
.tgl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.tgl-k { position: absolute; inset: 0; border-radius: 999px; background: #cfd8d2; transition: background .2s; }
.tgl-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .2s; }
.tgl input:checked + .tgl-k { background: var(--brand); } .tgl input:checked + .tgl-k::after { transform: translateX(20px); }
.tgl input:focus-visible + .tgl-k { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 520px) { .pp-head { flex-wrap: wrap; } .pp-pill { order: 3; } }

/* Klingelton-Auswahl */
.tone-pick { display: grid; gap: 8px; margin-top: 10px; }
.tone { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; margin: 0; }
.tone:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.tone input { flex: none; width: 20px; height: 20px; accent-color: var(--brand); }
.tone-b { flex: 1; display: grid; gap: 1px; } .tone-b small { color: var(--muted, #5b6b61); font-size: .8rem; }
.tone-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1rem; cursor: pointer; }

/* Schnelleingabe Optionen */
.quick-area { width: 100%; font: inherit; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; line-height: 1.5; }
.bulk-add { margin-top: 10px; } .bulk-add summary { cursor: pointer; color: var(--brand); font-weight: 700; font-size: .9rem; }
.bulk-add form { margin-top: 8px; }

/* Kunden-Übersicht (Admin) */
.cu-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 14px; }
.cu-k { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); --c: var(--brand); }
.cu-k.ok { --c: #15803d; } .cu-k.warn { --c: #d97706; } .cu-k.bad { --c: #dc2626; }
.cu-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-style: normal; }
.cu-ic svg.ico { width: 24px; height: 24px; }
.cu-k span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted, #5b6b61); }
.cu-k strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.cu-k.bad strong:not(:empty) { color: var(--c); }
.cu-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 18px; background: linear-gradient(135deg, #0f2a1d, #14532d); border-radius: 20px; overflow: hidden; color: #fff; }
.cu-money > div { padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.12); } .cu-money > div:last-child { border: 0; }
.cu-money span { display: block; font-size: .78rem; font-weight: 600; opacity: .75; }
.cu-money strong { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.cu-money small { font-size: .74rem; opacity: .65; }
.cu-card { padding: 18px; border-radius: 20px; }
.cu-search { position: relative; flex: 1 1 260px; margin: 0; display: block; }
.cu-search > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8aa095; display: grid; }
.cu-search svg.ico { width: 18px; height: 18px; }
.cu-search input { width: 100%; padding: 12px 14px 12px 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #f7faf8; }
.cu-filters .chipf { border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; }
.cu-tbl thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #7b8c82; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.cu-tbl tbody tr { transition: background .15s; } .cu-tbl tbody tr:hover { background: #f6faf7; }
.cu-tbl td { padding: 14px 10px; border-bottom: 1px solid #eef2ef; }
.cu-who { display: flex; align-items: center; gap: 12px; }
.cu-av { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, #fff); }
@media (max-width: 700px) { .cu-money > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* iPhone-Stil: roter Kreis mit Zahl für offene Aufgaben */
.num-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff3b30; color: #fff; font-size: .72rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #fff; margin-left: auto; animation: numpop .5s cubic-bezier(.2,1.6,.4,1) both; }
.side-link .num-badge { box-shadow: none; }
.menu-btn { position: relative; }
.menu-btn .num-badge { position: absolute; top: -4px; right: -4px; margin: 0; }
.num-badge.inline { margin: 0; box-shadow: none; flex: none; }
.todo-flash { display: flex; gap: 12px; align-items: flex-start; }
@keyframes numpop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .num-badge { animation: none; } }

/* Passwort-Skala */
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: .8rem; color: var(--muted, #5b6b61); }
.pw-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; max-width: 220px; }
.pw-bars i { height: 6px; border-radius: 6px; background: #e3e9e5; transition: background .2s; }
.pw-meter.bad .pw-bars i.f { background: #dc2626; } .pw-meter.mid .pw-bars i.f { background: #f59e0b; }
.pw-meter.good .pw-bars i.f { background: #65a30d; } .pw-meter.great .pw-bars i.f { background: #15803d; }
.pw-meter.on .pw-label { font-weight: 800; }
.pw-meter.bad .pw-label { color: #dc2626; } .pw-meter.mid .pw-label { color: #b45309; } .pw-meter.good .pw-label { color: #4d7c0f; } .pw-meter.great .pw-label { color: #15803d; }

/* Neuigkeiten */
.news-item { padding: 20px; border-radius: 20px; border-left: 5px solid var(--brand); display: grid; gap: 8px; }
.news-item.k-important { border-left-color: #dc2626; } .news-item.k-tip { border-left-color: #d97706; }
.news-head { display: flex; align-items: center; gap: 10px; }
.news-head time { margin-left: auto; }
.news-kind { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.news-item.k-important .news-kind { color: #dc2626; } .news-item.k-tip .news-kind { color: #b45309; }
.news-item h2 { margin: 0; font-size: 1.2rem; } .news-body { margin: 0; white-space: pre-line; line-height: 1.55; }
.news-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #eef2ef; flex-wrap: wrap; }
.news-row.is-off { opacity: .6; }

/* Registrierung */
.signup-card { max-width: 600px; width: 100%; padding: 32px 30px; gap: 16px; }
.signup-card .center { display: grid; justify-items: center; gap: 8px; margin-bottom: 4px; }
.signup-h { margin: 12px 0 0; font-size: clamp(1.6rem, 5vw, 2rem); letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.signup-lead { margin: 0; max-width: 44ch; color: var(--muted, #5b6b61); line-height: 1.5; text-wrap: balance; hyphens: manual; }
.signup-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.signup-points li { font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); }
.signup-points li::before { content: "✓ "; }
.signup-card textarea { min-height: 84px; }
.signup-card .inline-fields { gap: 14px; }
@media (max-width: 520px) { .signup-card { padding: 24px 18px; } }

/* Willkommens-Assistent */
.wiz-page { background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--brand, #12864a) 14%, #fff), transparent), #f5f8f6; min-height: 100vh; }
.wiz { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px 14px 40px; }
.wiz-card { width: 100%; max-width: 760px; background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 30px 80px -30px rgba(15,42,29,.35), 0 0 0 1px rgba(15,42,29,.05); display: grid; gap: 18px; position: relative; overflow: hidden; }
.wiz-top { display: flex; align-items: center; gap: 14px; }
.wiz-bar { flex: 1; height: 8px; border-radius: 8px; background: #e8efea; overflow: hidden; }
.wiz-bar i { display: block; height: 100%; width: 25%; background: var(--brand); border-radius: 8px; transition: width .45s cubic-bezier(.3,1.2,.5,1); }
.wiz-step { display: none; }
.wiz-step.on { display: block; animation: wizin .45s cubic-bezier(.2,.9,.3,1) both; }
@keyframes wizin { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.wiz h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; text-wrap: balance; }
.wiz h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); letter-spacing: -.02em; margin: 0 0 8px; }
.wiz-lead { font-size: 1.05rem; line-height: 1.55; color: #4b5a51; max-width: 54ch; }
.wiz-hero { font-size: 3.4rem; margin-bottom: 4px; display: inline-block; animation: wave 2.2s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } }
.wiz-promise { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.wiz-promise li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 8%, #fff); font-weight: 700; font-size: .9rem; color: var(--brand); }
.wiz-promise svg.ico { width: 22px; height: 22px; }
.wiz-split { display: grid; grid-template-columns: 1fr 230px; gap: 22px; align-items: start; margin-top: 14px; }
.wiz-sw { display: flex; flex-wrap: wrap; gap: 12px; }
.wiz-drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 14px; border: 2px dashed #c3d4c8; border-radius: 18px; background: #f8fcf9; cursor: pointer; transition: border-color .2s, background .2s; margin-top: 16px; }
.wiz-drop:hover, .wiz-drop.has { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.wiz-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wiz-drop-ic { color: var(--brand); } .wiz-drop-ic svg.ico { width: 30px; height: 30px; }
.wiz-drop small { color: #6b7b72; }
.wiz-phone { border: 8px solid #12201a; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.wiz-ph-head { background: var(--brand); color: #fff; padding: 16px 14px; font-weight: 800; display: flex; align-items: center; gap: 10px; transition: background .3s; }
.wiz-ph-head img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: #fff; }
.wiz-ph-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef2ef; font-size: .8rem; }
.wiz-ph-item i { width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 18%, #fff); flex: none; }
.wiz-ph-item div { flex: 1; } .wiz-ph-item b { display: block; } .wiz-ph-item small { color: #7a8a81; } .wiz-ph-item em { font-style: normal; font-weight: 800; }
.wiz-ph-btn { margin: 14px; padding: 12px; border-radius: 12px; background: var(--brand); color: #fff; text-align: center; font-weight: 800; transition: background .3s; }
.wiz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.wiz-tile { position: relative; margin: 0; cursor: pointer; }
.wiz-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; z-index: 2; margin: 0; }
.wiz-tile > span { display: grid; gap: 3px; justify-items: start; padding: 16px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: all .2s; height: 100%; }
.wiz-tile svg.ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 4px; }
.wiz-tile small { color: #6b7b72; font-size: .78rem; line-height: 1.35; }
.wiz-tile input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); box-shadow: 0 8px 24px -12px var(--brand); transform: translateY(-2px); }
.wiz-tile input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 40%, #fff); }
.wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-chip { margin: 0; position: relative; } .wiz-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.wiz-chip span { display: block; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: .9rem; background: #fff; transition: all .2s; }
.wiz-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.wiz-nav .btn-primary { margin-left: auto; background: var(--brand); border-color: var(--brand); }
.wiz-skip { background: none; border: 0; color: #6b7b72; text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 6px; }
.wiz-done { text-align: center; justify-items: center; }
.wiz-badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); animation: numpop .7s cubic-bezier(.2,1.6,.4,1) both; }
.wiz-badge svg.ico { width: 38px; height: 38px; }
.wiz-checks { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 8px; text-align: left; }
.wiz-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; }
.wiz-checks li.ok { background: #f2faf4; border-color: #cfe9d6; }
.wiz-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cfd8d2; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.wiz-checks li.ok .wiz-tick { background: #15803d; border-color: #15803d; }
.wiz-cl { flex: 1; font-weight: 600; }
.wiz-share { width: 100%; text-align: left; display: grid; gap: 6px; }
.wiz-link { display: flex; gap: 8px; } .wiz-link input { flex: 1; min-width: 0; }
.wiz-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wiz-confetti i { position: absolute; top: -12px; left: calc(var(--i) * 5.6%); width: 9px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 47), 85%, 60%); animation: fall 2.6s calc(var(--i) * .09s) ease-in forwards; }
@keyframes fall { to { transform: translateY(520px) rotate(540deg); opacity: 0; } }
@media (max-width: 640px) { .wiz-card { padding: 20px 16px; border-radius: 22px; } .wiz-split { grid-template-columns: 1fr; } .wiz-phone { max-width: 260px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .wiz-step.on, .wiz-hero, .wiz-confetti i, .wiz-badge { animation: none; } }

/* Liefer-Ringe: moderne Karten */
.ring-row { border: 1.5px solid #e4ece6; border-left: 1.5px solid #e4ece6; border-radius: 20px; padding: 16px; gap: 12px 12px; position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(16,40,28,.04); transition: border-color .2s, box-shadow .2s, opacity .2s; }
.ring-row::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--rc); opacity: .85; }
.ring-head { gap: 12px; margin-top: 4px; }
.ring-dot { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 800; box-shadow: 0 6px 14px -6px var(--rc); }
.ring-t { display: grid; line-height: 1.25; } .ring-t strong { font-size: 1.02rem; }
.ring-f { display: grid; gap: 5px; font-size: .74rem; font-weight: 700; color: #6b7b72; text-transform: uppercase; letter-spacing: .04em; }
.ring-f > span:first-child { text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 600; }
.unit { position: relative; display: block; }
.unit input { padding-right: 38px !important; border-radius: 12px; background: #f7faf8; border: 1.5px solid #e1eae4; }
.unit input:focus { background: #fff; border-color: var(--rc); outline: none; }
.unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; font-size: .85rem; color: #8a9a91; pointer-events: none; }
.ring-row:has(.ring-km:placeholder-shown) { opacity: .72; }
.ring-row:has(.ring-km:placeholder-shown):focus-within, .ring-row:has(.ring-km:placeholder-shown):hover { opacity: 1; }
.ring-row:has(.ring-km:placeholder-shown)::before { opacity: .35; }
.unit i { text-transform: none; letter-spacing: 0; }

/* Passwort-Skala in schmalen Zeilen (Fahrer-Liste) */
.row .pw-meter { flex-basis: 100%; margin-top: 4px; }
.drv-more .row { flex-wrap: wrap; }

.wiz-ph-head { background-size: cover; background-position: center; min-height: 64px; }
.wiz-ph-head.has-cover { padding-top: 30px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.wiz-drop + .wiz-drop { margin-top: 10px; }

/* Beispielbilder: eine durchgehende Reihe statt einer Zeile je Kategorie */
.cat-flow { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 10px; }
.cat-flow .cat-img { border-radius: 12px; }
.cat-flow .cat-img span { padding: 5px 6px 7px; font-size: .74rem; line-height: 1.2; }
.cat-flow .cat-img span small { display: block; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); margin-bottom: 1px; }

/* Einstellungen: Pflichtangaben */
.req-list { display: grid; gap: 10px; margin-top: 12px; }
.req-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; margin: 0; background: #fff; transition: border-color .2s, background .2s; }
.req-row:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, #fff); }
.req-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.req-ic svg.ico { width: 22px; height: 22px; }
.req-t { flex: 1; display: grid; gap: 2px; min-width: 0; } .req-t small { color: var(--muted, #5b6b61); font-size: .8rem; line-height: 1.35; }

/* Adress-Prüfung direkt an den Adressfeldern */
.addr-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-weight: 600; font-size: .92rem; line-height: 1.4; border: 1.5px solid transparent; margin: 2px 0 6px; animation: asin .25s ease both; }
.addr-status.hidden { display: none; }
.addr-status .as-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; }
.addr-status.err { background: #fef2f2; border-color: #fca5a5; color: #991b1b; } .addr-status.err .as-ic { background: #dc2626; } .addr-status.err .as-ic::before { content: "!"; }
.addr-status.ok { background: #f0fdf4; border-color: #86efac; color: #166534; } .addr-status.ok .as-ic { background: #16a34a; } .addr-status.ok .as-ic::before { content: "✓"; }
.addr-status.busy { background: #f4f7f5; border-color: #dbe5de; color: #4b5a51; } .addr-status.busy .as-ic { background: none; border: 3px solid #cbd7cf; border-top-color: var(--brand); animation: aspin .8s linear infinite; }
.field input[aria-invalid="true"] { border-color: #dc2626 !important; background: #fef2f2; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
@keyframes aspin { to { transform: rotate(360deg); } } @keyframes asin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
