/* Heißhunger Bonuskarte – gemeinsames Design (Kunden-App + Personal) */
@font-face { font-family: 'Bebas'; src: url(/fonts/bebas-neue-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 400; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 500; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 600; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 700; src: url(/fonts/inter-latin-700-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 800; src: url(/fonts/inter-latin-800-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --bg: #17171d;
  --bg-2: #1d1d25;
  --surface: #24242d;
  --surface-2: #2d2d38;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f6f1;
  --muted: #a3a3b0;
  --faint: #6f6f7c;
  --lime: #cecd11;
  --lime-2: #e3e24a;
  --lime-ink: #1c1c12;
  --red: #ce0044;
  --ok: #22c57a;
  --warn: #f2a83b;
  --bad: #ff5a7a;
  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(206, 0, 68, 0.13), transparent 60%),
    radial-gradient(800px 600px at -10% 10%, rgba(206, 205, 17, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 18px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 12px;
  background: linear-gradient(180deg, rgba(23, 23, 29, 0.95), rgba(23, 23, 29, 0.75));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .brand { display: flex; align-items: center; gap: 10px; }
.top .brand img { height: 22px; width: auto; }
.top .brand .pill { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime);
  border: 1px solid rgba(206, 205, 17, .35); padding: 3px 8px; border-radius: 99px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }

/* Typo */
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.display { font-family: 'Bebas', 'Inter', sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .92; margin: 0; }
h2.section { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 34px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px; border-radius: 16px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none !important;
  transition: transform .12s ease, filter .15s ease, background .15s ease;
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px -10px rgba(206, 205, 17, .55); }
.btn-lime:hover { filter: brightness(1.06); }
.btn-dark { background: #000; color: #fff; border: 1px solid #3a3a3a; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-red { background: var(--red); color: #fff; }
.btn-small { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-xl { min-height: 64px; font-size: 18px; border-radius: 20px; }

/* Formular */
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--bg-2); font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(206, 205, 17, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; margin: 6px 0 18px; }
.check input { width: 22px; height: 22px; accent-color: var(--lime); flex: none; margin-top: 1px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------------- */
/* Willkommen */
.hero { text-align: center; padding: 30px 0 8px; }
.hero-logo { width: min(270px, 70vw); margin: 4px auto 18px; filter: drop-shadow(0 10px 40px rgba(206, 205, 17, .18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.hero h1 { font-size: clamp(46px, 13vw, 64px); margin: 10px 0 12px; }
.hero h1 span { color: var(--lime); }
.hero p { color: var(--muted); margin: 0 auto; max-width: 400px; }

.steps { display: grid; gap: 10px; margin: 28px 0; }
.step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: rgba(206, 205, 17, .12); color: var(--lime); }
.step .num svg { width: 24px; height: 24px; }
.step b { display: block; font-size: 15px; }
.step span { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------------- */
/* Bonuskarte */
.hello { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 2px 14px; }
.hello h1 { font-size: 40px; }
.hello .since { font-size: 13px; color: var(--muted); }

.bonus {
  position: relative; overflow: hidden; border-radius: 26px; padding: 18px 18px 16px;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(206, 205, 17, .14), transparent 70%),
    radial-gradient(520px 280px at 110% 120%, rgba(206, 0, 68, .16), transparent 70%),
    linear-gradient(160deg, #2c2c37, #21212a);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.bonus::after { /* Glanz */
  content: ''; position: absolute; inset: -40% -60%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform: translateX(-30%); animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
.bonus-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bonus-head img { height: 78px; width: auto; margin: -6px 0 -4px -4px; }
.bonus-points { text-align: right; }
.bonus-points .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--lime); }
.bonus-points .val { font-family: 'Bebas'; font-size: 46px; line-height: .9; }
.bonus-points .val small { font-size: 26px; color: var(--muted); }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0 14px; }
.stamp { aspect-ratio: 1; position: relative; }
.stamp img { width: 100%; height: 100%; }
.stamp.on img { filter: drop-shadow(0 0 10px rgba(206, 205, 17, .35)); }
.stamp.pop img { animation: pop .7s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pop { 0% { transform: scale(.2) rotate(-30deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--lime-2)); transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.bonus-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; }
.bonus-foot .goal { color: var(--muted); }
.bonus-foot .goal b { color: var(--text); }
.chip { font: 600 12px/1 'Inter'; letter-spacing: .08em; padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--muted); white-space: nowrap; }

.news-banner { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 14px 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(206, 0, 68, .22), rgba(206, 0, 68, .07)); border: 1px solid rgba(206, 0, 68, .45); }
.news-banner .nb-ico { font-size: 24px; line-height: 1.2; }
.news-banner .nb-main { flex: 1; min-width: 0; }
.news-banner b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #ff7aa3; }
.news-banner span { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.nb-close { width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: var(--muted); cursor: pointer; flex: none; }
.notify-hint span { display: block; }
.h-ico.msg { background: rgba(206, 0, 68, .15); color: #ff7aa3; }

.ready-banner {
  display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(206, 205, 17, .22), rgba(206, 205, 17, .08)); border: 1px solid rgba(206, 205, 17, .45);
}
.ready-banner .em { font-size: 30px; }
.ready-banner b { display: block; }
.ready-banner span { font-size: 14px; color: var(--muted); }

.actions { display: grid; gap: 10px; margin-top: 18px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .row .btn { white-space: nowrap; padding: 0 12px; font-size: 15px; }
.wallet-btn { background: #000; color: #fff; border: 1px solid #444; gap: 10px; }
.wallet-btn .wl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.wallet-btn .wl small { font-size: 10px; font-weight: 500; opacity: .85; }
.wallet-btn .wl b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.hint { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); margin-top: 10px; }
.hint svg { width: 22px; height: 22px; flex: none; color: var(--lime); }

/* Verlauf */
.history { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.h-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.h-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 18px; }
.h-ico.ok { background: rgba(34, 197, 122, .14); color: var(--ok); }
.h-ico.wait { background: rgba(242, 168, 59, .14); color: var(--warn); }
.h-ico.no { background: rgba(255, 90, 122, .12); color: var(--bad); }
.h-ico.gift { background: rgba(206, 205, 17, .16); color: var(--lime); }
.h-ico svg { width: 20px; height: 20px; }
.h-main { flex: 1; min-width: 0; }
.h-main b { display: block; font-size: 15px; }
.h-main span { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.h-delta { font-family: 'Bebas'; font-size: 26px; line-height: 1; }
.h-delta.plus { color: var(--ok); }
.h-delta.minus { color: var(--lime); }
.empty { text-align: center; color: var(--muted); padding: 22px; border: 1px dashed var(--line-2); border-radius: 18px; font-size: 14px; }

.rules { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.rules div { display: flex; gap: 10px; align-items: flex-start; }
.rules svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 2px; }

.foot { text-align: center; font-size: 13px; color: var(--faint); padding: 40px 0 calc(30px + var(--safe-b)); }
.foot a { color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }

/* ---------------------------------------------------------------------- */
/* Bottom-Sheets */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(5, 5, 8, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease; }
.sheet-backdrop.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px;
  max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-2); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0;
  padding: 10px 20px calc(24px + var(--safe-b));
  transform: translateY(105%); transition: transform .34s cubic-bezier(.2, .9, .25, 1);
  box-shadow: 0 -30px 80px rgba(0,0,0,.5);
}
.sheet.open { transform: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 4px auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-family: 'Bebas'; font-weight: 400; font-size: 34px; line-height: 1; }

.tips { display: grid; gap: 10px; margin: 6px 0 20px; }
.tip { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.tip i { width: 34px; height: 34px; border-radius: 11px; background: rgba(206,205,17,.12); color: var(--lime); display: grid; place-items: center; font-style: normal; flex: none; }
.tip i svg { width: 18px; height: 18px; }

.receipt-ill { display: grid; place-items: center; padding: 10px 0 18px; }
.receipt-ill svg { width: 120px; height: auto; }

.scan-preview { position: relative; border-radius: 20px; overflow: hidden; background: #000; max-height: 52dvh; display: grid; place-items: center; }
.scan-preview img { max-height: 52dvh; width: auto; object-fit: contain; opacity: .9; }
.scan-preview::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(206,205,17,0) 0%, rgba(206,205,17,.06) 100%); }
.scan-line { position: absolute; left: 0; right: 0; height: 3px; background: var(--lime); box-shadow: 0 0 22px 6px rgba(206, 205, 17, .55); animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { from { top: 4%; } to { top: 96%; } }
.scan-status { text-align: center; margin: 18px 0 4px; font-weight: 700; font-size: 17px; min-height: 26px; }
.scan-sub { text-align: center; color: var(--muted); font-size: 14px; }
.dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.result { text-align: center; padding: 6px 0 4px; }
.result .big { width: 96px; height: 96px; border-radius: 50%; margin: 6px auto 16px; display: grid; place-items: center; }
.result .big svg { width: 48px; height: 48px; }
.result .big.ok { background: rgba(34,197,122,.15); color: var(--ok); animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.result .big.wait { background: rgba(242,168,59,.15); color: var(--warn); }
.result .big.no { background: rgba(255,90,122,.13); color: var(--bad); }
.result h4 { font-family: 'Bebas'; font-weight: 400; font-size: 44px; line-height: 1; margin: 0 0 8px; }
.result p { color: var(--muted); margin: 0 auto 20px; max-width: 380px; }
.result .mini-stamps { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin: 0 auto 22px; max-width: 360px; }
.result .btns { display: grid; gap: 10px; }

.qr-box { background: #fff; border-radius: 24px; padding: 22px; margin: 4px auto 14px; width: min(320px, 82vw); aspect-ratio: 1; display: grid; place-items: center; }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }
.qr-code { text-align: center; font-family: 'Bebas'; font-size: 38px; letter-spacing: .08em; }
.qr-name { text-align: center; color: var(--muted); margin-bottom: 18px; }

.menu-list { display: grid; gap: 8px; }
.menu-list button, .menu-list a {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); text-align: left; cursor: pointer; color: var(--text); font-weight: 600; text-decoration: none;
}
.menu-list svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.menu-list .danger { color: var(--bad); }
.menu-list .danger svg { color: var(--bad); }

/* Toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: #f6f6f1; color: #17171d; padding: 13px 18px; border-radius: 14px; font-weight: 600; font-size: 15px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4); transition: transform .3s cubic-bezier(.2,.9,.25,1); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.err { background: var(--bad); color: #fff; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

.loader { display: grid; place-items: center; min-height: 60dvh; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--lime); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn .45s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* Textseiten (Datenschutz) */
.prose { padding: 26px 0 50px; }
.prose h1 { font-family: 'Bebas'; font-weight: 400; font-size: 48px; line-height: 1; margin: 6px 0 18px; }
.prose h2 { font-size: 17px; margin: 28px 0 8px; }
.prose p, .prose li { color: #d6d6d0; }
.prose ul { padding-left: 20px; }

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

.notify-err { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 170, 60, .1); color: #ffc078; font-size: 13px; line-height: 1.45; }

/* Punkte-Aktion (Doppelte Punkte) */
.promo-banner { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 120, 40, .26), rgba(206, 205, 17, .12)); border: 1px solid rgba(255, 140, 60, .55); }
.promo-banner .nb-ico { font-size: 28px; line-height: 1; animation: flicker 1.6s ease-in-out infinite; }
.promo-banner .nb-main { flex: 1; min-width: 0; }
.promo-banner b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #ffb36b; }
.promo-banner span { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.12) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .promo-banner .nb-ico { animation: none; } }

/* ---------------------------------------------------------------------- */
/* Handy zuerst: Bedienung mit dem Daumen */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-wrap: break-word; }
button, a, label, input, select, textarea, summary { touch-action: manipulation; }
.input[type=search] { -webkit-appearance: none; appearance: none; }
.top .brand { text-decoration: none; min-width: 0; }
.top .brand img { height: 24px; width: auto; }
.top > .btn-small { flex: none; white-space: nowrap; }
.hello { flex-wrap: wrap; }
.hello h1 { min-width: 0; overflow-wrap: anywhere; }
.bonus-foot { flex-wrap: wrap; }
.nb-close { width: 40px; height: 40px; }
.h-main b { overflow-wrap: anywhere; }

/* Erklärung in Schritten – schlichte Liste (keine Kästen, die wie Knöpfe aussehen) */
.how { list-style: none; counter-reset: how; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.how li { counter-increment: how; position: relative; padding-left: 44px; min-height: 30px; }
.how li::before { content: counter(how); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--lime); border: 1.5px solid rgba(206, 205, 17, .5); }
.how li > b { display: block; font-size: 15px; color: var(--text); }
.how li > span { display: block; font-size: 14px; color: var(--muted); }

/* Kategorien-Leiste (Speisekarte, Hilfe, Anleitung) */
.menu-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 18px 10px; margin: 0 -18px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips a { flex: none; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.menu-chips a:active { border-color: var(--lime); color: var(--lime); }
.menu-chips.sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 10; background: rgba(23, 23, 29, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

/* Speisekarte */
.menu-hero { display: flex; align-items: center; gap: 16px; padding: 22px 0 10px; }
.menu-hero img { width: 104px; height: auto; flex: none; }
.menu-hero > div { min-width: 0; }
.menu-hero h1 { font-size: clamp(42px, 13vw, 60px); margin-top: 6px; }
.menu-info { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.menu-sec { scroll-margin-top: 140px; margin-top: 28px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.menu-head h2 { font-family: 'Bebas', sans-serif; font-weight: 400; font-size: 34px; line-height: 1; margin: 0; color: var(--lime); }
.pt-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(206, 205, 17, .35);
  padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.menu-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.menu-list-food { list-style: none; margin: 0; padding: 0; }
.menu-list-food li { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mi-main { min-width: 0; }
.mi-main b { display: block; font-size: 16px; }
.mi-main span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.mi-price { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag-veg { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7fd49a;
  border: 1px solid rgba(127, 212, 154, .4); padding: 1px 6px; border-radius: 99px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
.menu-foot { margin-top: 26px; font-size: 14px; }
.menu-foot p { margin: 0 0 10px; color: #d6d6d0; }

/* Hilfe / Anleitung */
.prose h2 { scroll-margin-top: 90px; }
.prose .how { margin-top: 12px; }
.prose .how li > span { color: #c4c4be; }
.tipbox { font-size: 14px; margin: 14px 0; box-shadow: none; padding: 16px; }
.tipbox ul { margin: 8px 0 0; padding-left: 18px; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--lime); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 14px; font-size: 14px; }

/* Kleine Handys (iPhone SE, ältere Android) */
@media (max-width: 359px) {
  .wrap { padding: 0 14px; }
  .top { padding-left: 14px; padding-right: 14px; }
  .menu-chips { padding-left: 14px; padding-right: 14px; margin-left: -14px; margin-right: -14px; }
  .actions .row { grid-template-columns: minmax(0, 1fr); }
  .hello h1 { font-size: 34px; }
  .bonus { padding: 16px 14px 14px; }
  .stamps { gap: 7px; }
  .bonus-head img { height: 66px; }
  .bonus-points .val { font-size: 40px; }
  .sheet { padding-left: 16px; padding-right: 16px; }
  .btn-xl { font-size: 17px; min-height: 60px; }
  .card { padding: 16px; }
  .menu-hero img { width: 84px; }
}
.actions { grid-template-columns: minmax(0, 1fr); }
.actions .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.actions .row .btn { min-width: 0; }
.icon-btn { flex: none; }
.check input { width: 26px; height: 26px; }
.hint > span { min-width: 0; }
@media (max-width: 359px) { .actions .row { grid-template-columns: minmax(0, 1fr); } }
/* Startseite: Namensfeld soll ohne Scrollen sichtbar sein */
.hero { padding-top: 16px; }
.hero-logo { width: min(200px, 50vw); margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 12vw, 60px); margin: 8px 0 10px; }
@media (max-height: 700px) { .hero-logo { width: min(150px, 40vw); } .hero h1 { font-size: 36px; } }
.hero-logo { height: auto; }

/* Scannen: Fortschrittsleiste */
.scan-preview, .scan-preview img { max-height: 44dvh; }
.scan-bar { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; margin: 18px 0 10px; }
.scan-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--lime-2));
  box-shadow: 0 0 14px rgba(206, 205, 17, .45); transition: width .35s ease-out; }
.scan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 28px; }
.scan-row span { font-weight: 700; font-size: 16px; min-width: 0; }
.scan-row b { font-family: 'Bebas', sans-serif; font-weight: 400; font-size: 26px; line-height: 1; color: var(--lime); flex: none; font-variant-numeric: tabular-nums; }

/* ====================================================================== */
/* App-Rahmen: Kopfzeile, Seiten, Leiste unten, Menü zum Ausklappen */
html, body { overscroll-behavior-y: none; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { -webkit-appearance: none; appearance: none; }
.wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.top { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }

.appbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 10px; }
.appbar .brand { justify-self: center; display: flex; align-items: center; min-height: 44px; }
.appbar .icon-btn { width: 44px; height: 44px; position: relative; border-radius: 14px; }
.appbar > .icon-btn[hidden] { display: grid !important; visibility: hidden; }
.icon-btn { color: var(--text); }
.icon-btn:active { background: var(--surface-2); }
.dot { position: absolute; top: 9px; right: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); }

.page { animation: pageIn .22s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.page-h { font-size: clamp(34px, 10vw, 42px); margin: 22px 2px 14px; }
.hello { margin-top: 18px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 10px; }
.sec-head h2.section { margin: 0; }
.link-btn { border: 0; background: none; color: var(--lime); font-weight: 600; font-size: 14px; min-height: 44px; padding: 0 4px; cursor: pointer; }
.back-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 10px 0 0 -6px; padding: 0 10px 0 4px; border: 0; background: none; color: var(--lime); font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 12px; }
.back-btn svg { width: 22px; height: 22px; }
.loader.small { min-height: 30dvh; }
#docBody .prose { padding-top: 6px; }
#docBody .prose h1 { font-size: clamp(34px, 10vw, 44px); }
#menuBody .menu-hero { padding-top: 14px; }

body.has-tabs main { padding-bottom: calc(112px + var(--safe-b)); }
body.has-tabs .toast { bottom: calc(100px + var(--safe-b)); }

/* Schnellzugriff auf der Startseite */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.tile { display: flex; align-items: center; gap: 12px; min-height: 64px; min-width: 0; padding: 10px 14px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line-2); color: var(--text); text-align: left; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.tile:active { transform: scale(.98); background: var(--surface-2); }
.tile svg { width: 28px; height: 28px; flex: none; color: var(--lime); }
.tile.wallet { background: #000; border-color: #444; }
.tile.wallet svg { width: 36px; height: 27px; }
.tile span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tile small { font-size: 11px; font-weight: 500; color: var(--muted); }
.tile b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.first-tip { margin-top: 14px; box-shadow: none; }
.first-tip p { margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.first-tip p b { color: var(--text); }

.news-banner { width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; align-items: center; }
.news-banner .nb-ico { font-size: 24px; line-height: 1.2; flex: none; }
.news-banner .nb-main { display: block; }
.news-banner .nb-main > span { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-go { width: 20px; height: 20px; flex: none; color: #ff7aa3; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.stats div { padding: 12px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; min-width: 0; }
.stats b { display: block; font-family: 'Bebas', sans-serif; font-weight: 400; font-size: 32px; line-height: 1; color: var(--lime); }
.stats span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Leiste unten */
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: rgba(23, 23, 29, .95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right, 0px) var(--safe-b) env(safe-area-inset-left, 0px); }
.tabs-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 560px; margin: 0 auto; height: 64px; padding: 0 4px; }
.tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 0;
  border: 0; background: none; color: var(--faint); font: 600 11px/1 'Inter', system-ui, sans-serif; cursor: pointer; border-radius: 14px; }
.tabs button svg { width: 24px; height: 24px; }
.tabs button span { white-space: nowrap; }
.tabs button.active { color: var(--lime); }
.tabs button.active::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lime); }
.tabs .fab { color: var(--text); justify-content: flex-end; padding-bottom: 9px; }
.tabs .fab i { position: absolute; top: -24px; left: 50%; margin-left: -29px; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(206, 205, 17, .6), 0 0 0 6px var(--bg); transition: transform .12s ease; }
.tabs .fab i svg { width: 28px; height: 28px; }
.tabs .fab:active i { transform: scale(.93); }
.tabs .fab[disabled] { opacity: .45; }

/* Menü zum Ausklappen (von links) */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(5, 5, 8, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.drawer-backdrop.open { opacity: 1; }
.drawer { position: fixed; z-index: 61; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-2); border-right: 1px solid var(--line-2); box-shadow: 30px 0 80px rgba(0, 0, 0, .5);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 12px calc(16px + var(--safe-b)) calc(12px + env(safe-area-inset-left, 0px));
  transform: translateX(-103%); transition: transform .3s cubic-bezier(.2, .9, .25, 1); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 0 2px; }
.drawer .avatar { width: 48px; height: 48px; border-radius: 16px; background: rgba(206, 205, 17, .14); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.drawer .who { flex: 1; min-width: 0; }
.drawer .who b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer .who span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.drawer-points { margin: 14px 2px 10px; padding: 12px 14px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.drawer-points > div:first-child { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; }
.drawer-points b { font-family: 'Bebas', sans-serif; font-weight: 400; font-size: 34px; line-height: 1; color: var(--lime); }
.drawer-points span { font-size: 13px; color: var(--muted); }
.drawer-nav { display: grid; gap: 2px; }
.drawer-nav button, .drawer-group summary { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 50px; padding: 0 12px; border: 0; border-radius: 14px;
  background: none; color: var(--text); font: 600 16px/1.2 'Inter', system-ui, sans-serif; text-align: left; cursor: pointer; list-style: none; }
.drawer-nav button:active, .drawer-group summary:active { background: var(--surface); }
.drawer-nav button.active { background: rgba(206, 205, 17, .1); color: var(--lime); }
.drawer-nav svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.drawer-nav button.active svg { color: var(--lime); }
.drawer-group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group .chev { margin-left: auto; width: 18px; height: 18px; transition: transform .2s ease; }
.drawer-group[open] .chev { transform: rotate(180deg); }
.group-body { display: grid; gap: 2px; padding: 2px 0 6px 36px; }
.drawer-nav .group-body button { min-height: 46px; font-weight: 500; font-size: 15px; color: #d6d6d0; }
.drawer-nav .group-body .danger { color: var(--bad); }
.count { margin-left: auto; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: var(--red); color: #fff; }
.drawer-foot { margin-top: auto; padding: 18px 12px 0; font-size: 12px; line-height: 1.6; color: var(--faint); }
.drawer-foot a { color: var(--muted); }

/* Fenster von unten: nie breiter/höher als der Bildschirm, Rand für Geräte mit Kerbe */
.sheet { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 12px); }

/* Handy quer */
@media (max-height: 480px) and (orientation: landscape) {
  .tabs-in { height: 54px; }
  .tabs .fab { padding-bottom: 0; justify-content: center; flex-direction: row; gap: 8px; }
  .tabs .fab i { position: static; margin: 0; width: 40px; height: 40px; box-shadow: none; }
  .tabs .fab i svg { width: 22px; height: 22px; }
  .tabs button { flex-direction: row; gap: 7px; font-size: 12px; }
  body.has-tabs main { padding-bottom: calc(74px + var(--safe-b)); }
  body.has-tabs .toast { bottom: calc(66px + var(--safe-b)); }
  .scan-preview, .scan-preview img { max-height: 34dvh; }
  .hero-logo { display: none; }
  .qr-box { width: min(46dvh, 300px); }
}

/* Tablet und PC: die App bleibt eine schmale Spalte in der Mitte, die Leiste schwebt */
@media (min-width: 700px) {
  .wrap { max-width: 560px; }
  .tabs { left: 50%; right: auto; width: 520px; transform: translateX(-50%); bottom: 18px; padding: 0; border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
  .tabs .fab i { box-shadow: 0 10px 26px -6px rgba(206, 205, 17, .6), 0 0 0 6px #1b1b22; }
  body.has-tabs main { padding-bottom: 140px; }
  body.has-tabs .toast { bottom: 110px; }
  .sheet { border-radius: 28px; bottom: 24px; border-bottom: 1px solid var(--line-2); max-height: calc(100dvh - 48px); }
  .appbar { padding-left: max(18px, calc(50vw - 262px)); padding-right: max(18px, calc(50vw - 262px)); }
}
@media (max-width: 359px) {
  .tabs button { font-size: 10.5px; }
  .tabs .fab i { width: 54px; height: 54px; margin-left: -27px; }
  .stats b { font-size: 28px; }
  .tile { padding: 10px 12px; }
}
.drawer:focus { outline: none; }
.hint .btn { display: flex; width: fit-content; }
@media (max-height: 640px) { .receipt-ill { padding: 0 0 10px; } .receipt-ill svg { width: 84px; } .tips { margin-bottom: 14px; } }

/* Gesperrte Karte */
.blocked-banner { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 90, 122, .2), rgba(255, 90, 122, .07)); border: 1px solid rgba(255, 90, 122, .55); }
.blocked-banner svg { width: 26px; height: 26px; flex: none; color: var(--bad); margin-top: 2px; }
.blocked-banner b { display: block; }
.blocked-banner span { display: block; font-size: 14px; color: #e6c9cf; margin-top: 2px; }
.blocked-banner span:empty { display: none; }
.tabs .fab[disabled] i { background: #55555f; color: #c9c9d2; box-shadow: 0 0 0 6px var(--bg); }

/* ====================================================================== */
/* Restaurant-Startseite (/) */
.home-wrap { padding-top: calc(env(safe-area-inset-top, 0px) + 8px); }
.home-hero { text-align: center; padding: 18px 0 6px; }
.home-logo { width: min(230px, 58vw); height: auto; margin: 0 auto 6px; filter: drop-shadow(0 10px 40px rgba(206, 205, 17, .16)); }
.home-hero h1 { font-size: clamp(46px, 14vw, 66px); margin: 8px 0 10px; }
.home-hero h1 span { color: var(--lime); }
.home-hero p { color: var(--muted); margin: 0 auto; max-width: 360px; }
.open-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--muted); }
.open-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.open-chip.open { color: #8ff0bd; border-color: rgba(34, 197, 122, .45); background: rgba(34, 197, 122, .1); }
.open-chip.open i { background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 197, 122, .2); }
.home-actions { display: grid; gap: 12px; margin: 26px 0 6px; }
.home-btn { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 16px; border-radius: 22px; text-decoration: none !important;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); transition: transform .12s ease, background .15s ease; }
.home-btn:active { transform: scale(.985); }
.home-btn.primary { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); box-shadow: 0 14px 34px -14px rgba(206, 205, 17, .6); }
.hb-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: rgba(206, 205, 17, .14); color: var(--lime); }
.home-btn.primary .hb-ico { background: rgba(28, 28, 18, .12); color: var(--lime-ink); }
.hb-ico svg { width: 28px; height: 28px; }
.hb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.hb-text b { font-family: 'Bebas', sans-serif; font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .02em; }
.hb-text small { font-size: 14px; font-weight: 500; opacity: .75; margin-top: 3px; }
.hb-go { width: 24px; height: 24px; flex: none; opacity: .7; }
.home-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-cats a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none !important; min-height: 96px; }
.home-cats a:active { background: var(--surface-2); }
.home-cats span { font-size: 28px; line-height: 1; margin-bottom: 6px; }
.home-cats b { font-size: 16px; }
.home-cats small { font-size: 13px; color: var(--muted); }
.home-bonus { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px; border-radius: 20px; text-decoration: none !important; color: var(--text);
  background: linear-gradient(135deg, rgba(206, 205, 17, .16), rgba(206, 205, 17, .05)); border: 1px solid rgba(206, 205, 17, .4); }
.home-bonus b { display: block; font-size: 16px; }
.home-bonus span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.hbo-stamps { display: grid; grid-template-columns: repeat(5, 12px); gap: 4px; flex: none; }
.hbo-stamps i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed rgba(206, 205, 17, .55); }
.hbo-stamps i.on { background: var(--lime); border: 0; }
.home-info { box-shadow: none; display: grid; gap: 14px; }
.hi-row { display: flex; gap: 12px; align-items: flex-start; }
.hi-row > svg { width: 22px; height: 22px; color: var(--lime); flex: none; margin-top: 2px; }
.hi-row > div { flex: 1; min-width: 0; }
.hi-row b { display: block; }
.hi-row > div > span:not(.small) { display: block; color: var(--muted); font-size: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 6px 0 4px; font-size: 14px; color: var(--muted); }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .today { color: var(--text); font-weight: 700; }
.hi-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hi-btns .btn { min-width: 0; padding: 0 12px; }
.hb-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) {
  .wrap.home-wrap { max-width: 780px; }
  .home-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-hero { padding-top: 34px; }
}
@media (max-width: 359px) {
  .home-btn { min-height: 76px; padding: 12px; gap: 12px; }
  .hb-ico { width: 46px; height: 46px; }
  .hb-text b { font-size: 28px; }
}

/* Verlauf leeren + halbe Stempel */
.hist-clear { margin-top: 16px; color: var(--muted); }
.stamp.half img { filter: drop-shadow(0 0 8px rgba(206, 205, 17, .22)); }

/* Google Wallet (Android): etwas kompakter, damit "Google Wallet" ganz passt */
.tile.gwallet { gap: 8px; padding-left: 10px; padding-right: 8px; }
.tile.gwallet svg { width: 28px; height: 21px; }
.tile.gwallet b { font-size: 14.5px; letter-spacing: -.01em; }
/* Schmale Handys: Kachel-Text darf in die zweite Zeile statt abgeschnitten zu werden */
@media (max-width: 400px) { .tile b { white-space: normal; line-height: 1.12; } }
