@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #1c1b1a; --muted: #6f6a64; --line: #e4e0da; --paper: #faf8f5; --card: #fff;
  --brand: #1f5f4a; --brand-ink: #fff; --danger: #b3261e; --gold: #b7791f; --ok-bg: #e5f3ec; --err-bg: #fbe9e7;
  --bg: #2b1d14; --fg: #fff; --accent: #e8b46a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 350 16px/1.55 "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; color: var(--ink); background: var(--paper); }
h1 { font-size: 1.75rem; font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 .8rem; }
h2 { font-size: 1.05rem; font-weight: 450; letter-spacing: -0.01em; margin: 0 0 .5rem; }
b, strong { font-weight: 550; }
a { color: var(--brand); }
small { font-size: .78rem; }
.muted, .opt { color: var(--muted); font-size: .88rem; font-weight: 400; }
.lead { color: var(--muted); margin: 0 0 1rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.hp { position: absolute; left: -9999px; }

/* Formulare */
label { display: block; font-weight: 450; font-size: .9rem; }
input, select, textarea { display: block; width: 100%; margin-top: .3rem; padding: .65rem .75rem; font: inherit; color: inherit; background: #fff; border: 1px solid #cfc9c0; border-radius: 10px; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
input[type=color] { padding: 2px; height: 44px; min-width: 70px; }
input[type=checkbox], input[type=radio] { display: inline-block; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; flex: none; accent-color: var(--brand); }
label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
label.check.inline { align-items: center; white-space: nowrap; }
fieldset { border: 0; padding: 0; margin: 0; } legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: .3rem; }
.stack > * + * { margin-top: .9rem; }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .5rem; }
.row > input, .row > select, .row > label { flex: 1 1 160px; margin-top: 0; }
.row.end { align-items: flex-end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem 1.1rem; font: inherit; font-weight: 500; color: var(--btn-ink, var(--brand-ink)); background: var(--btn, var(--brand)); border: 1px solid var(--btn, var(--brand)); border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { color: var(--ink); background: transparent; border-color: #cfc9c0; }
.btn.big { width: 100%; padding: .95rem 1.2rem; font-size: 1.08rem; border-radius: 14px; }
.btn.small { padding: .4rem .7rem; font-size: .88rem; }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.danger, .link.danger { color: var(--danger); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }
.note { padding: .7rem .9rem; border-radius: 10px; background: #f0ece5; margin: 0 0 1rem; }
.note.ok { background: var(--ok-bg); } .note.err { background: var(--err-bg); color: #7a1b15; }
.tag { display: inline-block; padding: .12rem .55rem; border-radius: 999px; background: #efebe4; font-size: .82rem; white-space: nowrap; }
.tag.ok { background: var(--ok-bg); } .tag.warn { background: #fdf0d5; color: #7a4b00; } .tag.gold { background: #f6e7c8; color: #6b4300; }

/* Zentrierte Boxen (Login, Meldungen) */
body.center { display: grid; place-items: center; min-height: 100vh; padding: 1rem; }
.box { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; }

/* Admin */
.top { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 1.2rem; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .brand { font-weight: 500; white-space: nowrap; }
.top nav { display: flex; gap: .2rem; flex: 1; overflow-x: auto; }
.top nav a { padding: .4rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .94rem; }
.top nav a:hover { background: #f1ede6; } .top nav a.on { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 500; }
.top-right { display: flex; gap: 1rem; align-items: center; white-space: nowrap; font-size: .92rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 1.4rem 1.2rem 4rem; }
.wrap > h2 { margin-top: 1.8rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.panel.narrow, form.narrow { max-width: 520px; margin-top: 1.5rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.kpis > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; display: flex; flex-direction: column; }
.kpis b { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpis small { color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: .93rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #f6f3ee; }
tr:last-child td { border-bottom: 0; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
td.empty { text-align: center; color: var(--muted); padding: 1.6rem; }
tr.void td { color: var(--muted); } tr.void .tag { text-decoration: line-through; }
td.act { white-space: nowrap; text-align: right; } td.act form { display: inline; } td.act > * + * { margin-left: .8rem; }
.chart { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.chart figcaption { font-weight: 600; margin-bottom: .6rem; } .chart figcaption span { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.chart svg { width: 100%; height: auto; display: block; } .chart rect { fill: var(--brand); } .chart rect:hover { fill: color-mix(in srgb, var(--brand) 78%, #000); }
.chart text { font-size: 10px; fill: var(--muted); text-anchor: middle; } .chart .axis { stroke: var(--line); }
.design .preview { position: sticky; top: 5rem; }
.colors label { flex: 1 1 100px; }
@media (max-width: 760px) { .top { flex-wrap: wrap; gap: .5rem; } .top nav { order: 3; flex-basis: 100%; } .top-right { margin-left: auto; } table { display: block; overflow-x: auto; } }

/* Karte (Vorschau + Kundenansicht) */
.pass { background: var(--bg); color: var(--fg); border-radius: 18px; padding: 1rem 1.1rem 1.1rem; max-width: 380px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pass-head { display: flex; align-items: center; gap: .6rem; }
.pass-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; flex: none; }
.pass-logo.ph { display: grid; place-items: center; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 1.2rem; }
.pass-name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-count { text-align: right; } .pass small { display: block; font-size: .64rem; letter-spacing: .08em; color: var(--accent); font-weight: 600; }
.pass-count b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.dots { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: .5rem; margin: 1rem 0; }
.dot { aspect-ratio: 1; max-width: 56px; width: 100%; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--fg) 45%, transparent); background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--accent); font-size: 1rem; }
.dot.full { background: var(--accent); border-color: var(--accent); color: var(--bg); } .dot svg { width: 58%; }
.pass-foot { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; } .pass-foot .r { text-align: right; font-family: ui-monospace, Menlo, monospace; }

.customer { max-width: 440px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.customer h1 { margin-top: 1.4rem; font-size: 1.4rem; }
.customer .btn { background: var(--bg); border-color: var(--bg); color: var(--fg); }
.customer .btn.ghost { background: transparent; color: var(--danger); border-color: #e2c4c1; }
.customer footer { margin-top: 2.5rem; text-align: center; color: var(--muted); font-size: .82rem; }
.status { text-align: center; font-size: 1.05rem; margin: 1.1rem 0; }
.offer { background: var(--accent); color: var(--bg); border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; }
.offer small { display: block; letter-spacing: .08em; font-weight: 700; opacity: .8; } .offer b { font-size: 1.1rem; } .offer p { margin: .2rem 0 0; }
.wallets { display: grid; gap: .6rem; }
.wallet { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1rem; border-radius: 12px; background: #000; color: #fff; font-weight: 600; text-decoration: none; }
.wallet.apple span::before { content: ""; } .wallet.google { background: #1f1f1f; }
.hint { text-align: center; color: var(--muted); font-size: .9rem; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin: 1.2rem auto; max-width: 260px; text-align: center; }
.qr svg { width: 100%; height: auto; display: block; } .qr small { color: var(--muted); display: block; margin-top: .4rem; }
.more { margin-top: 1.5rem; color: var(--muted); font-size: .92rem; } .more summary { cursor: pointer; }

/* Personal */
body.staff { background: var(--bg); color: var(--fg); --surface: color-mix(in srgb, var(--fg) 12%, var(--bg)); --line2: color-mix(in srgb, var(--fg) 30%, var(--bg)); --muted2: color-mix(in srgb, var(--fg) 78%, var(--bg)); --on-accent: #fff; }
body.staff input { background: var(--surface); border-color: var(--line2); color: var(--fg); }
body.staff .btn.ghost { color: var(--fg); border-color: var(--line2); }
body.staff .lead, body.staff small { color: var(--muted2); }
.staff-wrap { max-width: 460px; margin: 0 auto; padding: 1rem 1rem 3rem; }
.staff-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .staff-top small { display: block; }
.pin { font-size: 1.6rem; letter-spacing: .4em; text-align: center; }
.cam { position: relative; background: #000; border-radius: 18px; overflow: hidden; aspect-ratio: 1; margin-bottom: .8rem; }
.cam video { width: 100%; height: 100%; object-fit: cover; }
.cam .frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.cam p { position: absolute; left: 0; right: 0; bottom: .7rem; margin: 0; text-align: center; font-size: .9rem; text-shadow: 0 1px 3px #000; padding: 0 1rem; }
.found { background: var(--surface); border-radius: 18px; padding: 1.1rem; margin-bottom: .8rem; }
.found h2 { font-size: 1.5rem; font-weight: 400; margin: .1rem 0; }
.big-count { font-size: 2.8rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; } .big-count span { font-size: 1rem; font-weight: 500; color: var(--muted2); }
.found dl { margin: .8rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; font-size: .92rem; } .found dt { color: var(--muted2); } .found dd { margin: 0; }
.redeem { background: color-mix(in srgb, var(--gold) 22%, var(--bg)); border: 1px solid var(--gold); border-radius: 18px; padding: 1rem; margin-bottom: .8rem; }
.choices { display: grid; gap: .4rem; margin: .7rem 0; } .choices label { display: flex; gap: .6rem; align-items: center; font-weight: 500; padding: .6rem .7rem; background: rgba(255,255,255,.07); border-radius: 10px; }
.stamp-box { margin-bottom: .8rem; text-align: center; } .stamp-box small { display: block; margin: .3rem 0 .7rem; }
.stepper { display: flex; justify-content: center; align-items: center; gap: 1.2rem; }
.stepper button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface); color: var(--fg); font-size: 1.6rem; cursor: pointer; }
.stepper output { font-size: 2.2rem; font-weight: 300; min-width: 2ch; }
.blocked { color: #ffb4a8; margin: .6rem 0 0; }
body.staff .note.ok { background: color-mix(in srgb, #2f8a6a 30%, var(--bg)); color: var(--fg); } body.staff .note.err { background: color-mix(in srgb, #d0453a 30%, var(--bg)); color: var(--fg); }
body.staff .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); } body.staff .btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; } body.staff .btn.ghost { background: transparent; color: var(--fg); border-color: var(--line2); }


/* Pakete, Standorte, Events */
.top nav a.locked { color: var(--muted); }
.upsell { background: #fbf6ea; border-color: #ecdcb6; }
.perm { justify-content: space-between; } .perm > span { flex: 1 1 200px; font-weight: 500; } .perm > select { flex: 0 1 260px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { display: flex; gap: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.checklist p { margin: .15rem 0 0; color: var(--muted); font-size: .93rem; }
.checklist .tick { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 2px solid #cfc9c0; display: grid; place-items: center; font-weight: 700; }
.checklist li.done .tick { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.events { margin: 1.4rem 0; } .events h2 { font-size: 1rem; }
.events > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; margin-bottom: .5rem; }
.events small { display: block; color: var(--muted); } .events p { margin: .2rem 0 0; font-size: .93rem; }
body.staff select { background: var(--surface); border-color: var(--line2); color: var(--fg); }


/* Personal-Seite im Design des Lokals */
.staff-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.staff-brand .pass-logo { width: 44px; height: 44px; }
.staff-brand b { display: block; font-size: 1.15rem; line-height: 1.2; } .staff-brand small { display: block; }
.staff-login { text-align: center; padding-top: 2rem; } .staff-login .pass-logo { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 16px; font-size: 2rem; }
.staff-login img.pass-logo { display: block; }
.staff-top .staff-brand { margin: 0; }

/* Kopfzeile im Dashboard: Logo neben dem Namen */
.top .brand { display: flex; align-items: center; gap: .65rem; }
.top .brand .pass-logo { width: 30px; height: 30px; border-radius: 7px; font-size: .95rem; box-shadow: none; }
.inline { display: inline; }
.styles { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1rem; }
.style-pick { padding: .4rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; background: #fff; }
.style-pick.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Personal: Tagesübersicht und Abschluss */
.today-title { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; color: var(--muted2); margin: 1.8rem 0 .6rem; }
.today-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.today-grid > div { background: var(--surface); border-radius: 14px; padding: .85rem .5rem; text-align: center; }
.today-grid b { display: block; font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.today-grid span { display: block; font-size: .74rem; color: var(--muted2); line-height: 1.3; }
.today-place { color: var(--muted2); font-size: .88rem; margin: .7rem 0 0; }
.today-list { list-style: none; margin: 0; padding: 0; }
.today-list li { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: .6rem; align-items: baseline; padding: .65rem 0; border-bottom: 1px solid var(--line2); }
.today-list time { color: var(--muted2); font-variant-numeric: tabular-nums; font-size: .9rem; }
.today-list em { font-style: normal; font-weight: 450; }
.today-list .empty { display: block; color: var(--muted2); border: 0; text-align: center; padding: 1.4rem 0; }
.row.split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
#view-card .done { text-align: center; padding: 2.4rem 0 1.6rem; }
.done-mark { width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 1.1rem; }
#view-card .done h2 { font-size: 1.7rem; font-weight: 300; letter-spacing: -0.02em; margin: 0; }
#view-card .done p { color: var(--muted2); margin: .3rem 0 0; }
#view-card .done .done-reward { color: var(--fg); font-weight: 500; margin-top: .8rem; }
#view-card > .btn.big + .btn.big { margin-top: .6rem; }

/* Aufsteller (alle Maße in em: skaliert für Bildschirm und Druck) */
.poster-stage { display: flex; justify-content: center; padding: .5rem 0 2rem; }
.poster { --on-accent: #fff; --u: 14.5px; --fit: 1; width: calc(var(--u) * 31); height: calc(var(--u) * 43.84); font-size: calc(var(--u) * var(--fit)); max-width: none; position: relative; overflow: hidden; background: var(--bg); color: var(--fg); font-weight: 300; line-height: 1.4; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.18); border-radius: 4px; }
.poster p, .poster h2, .poster ol { margin: 0; }
.poster > * { flex-shrink: 0; }
.pz-qr { background: #fff; padding: 1.1em; border-radius: 1.1em; width: 13.5em; }
.pz-qr svg { display: block; width: 100%; height: auto; }
.pz-logo { max-height: 3.4em; max-width: 10em; object-fit: contain; }
.pz-steps { list-style: none; padding: 0; display: flex; gap: 1.2em; justify-content: center; }
.pz-steps li { display: flex; flex-direction: column; align-items: center; gap: .5em; font-size: .78em; max-width: 8.5em; line-height: 1.3; opacity: .85; }
.pz-steps span { width: 2.1em; height: 2.1em; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 400; font-size: 1.1em; }
.pz-where { font-size: .85em; opacity: .7; letter-spacing: .06em; margin-top: .3em; }
.pz-icon { width: 3em; height: 3em; color: var(--accent); }

/* Klar */
.pz1 { padding: 2em 2em 1.8em; }
.pz1 > .pz-icon { width: 2.2em; height: 2.2em; margin-bottom: .9em; }
.pz1 .pz-brand { display: flex; align-items: center; gap: .8em; text-transform: uppercase; letter-spacing: .28em; font-size: .85em; font-weight: 400; }
.pz1 .pz-head { font-size: 2.4em; font-weight: 300; line-height: 1.08; letter-spacing: -0.03em; margin-top: .9em; max-width: 9em; }
.pz1 .pz-head::after { content: ""; display: block; width: 2.4em; height: 3px; background: var(--accent); margin: .55em auto 0; }
.pz1 .pz-sub { margin-top: .7em; opacity: .72; max-width: 21em; }
.pz1 .pz-qr { margin-top: auto; width: 12em; }
.pz1 .pz-reward { margin-top: 1em; color: var(--accent); font-weight: 450; font-size: 1.05em; }
.pz1 .pz-steps { margin-top: 1.2em; }

/* Elegant */
.pz2 { padding: 1.5em; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; }
.pz-frame { flex: 1; width: 100%; min-height: 0; border: 1px solid var(--accent); outline: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: -.55em; display: flex; flex-direction: column; align-items: center; padding: 2em 1.8em 1.6em; }
.pz2 .pz-logo { max-height: 4em; }
.pz2 .pz-name { text-transform: uppercase; letter-spacing: .34em; font-size: 1.2em; font-weight: 400; margin-top: .9em; }
.pz-rule { display: flex; align-items: center; gap: .9em; width: 14em; margin: 1.1em 0; color: var(--accent); }
.pz-rule i { flex: 1; height: 1px; background: currentColor; opacity: .7; }
.pz-rule .pz-icon { width: 2em; height: 2em; }
.pz2 .pz-head { font-size: 2.2em; font-style: italic; line-height: 1.15; max-width: 10em; }
.pz2 .pz-sub { margin-top: .8em; opacity: .75; font-size: .98em; max-width: 20em; }
.pz2 .pz-qr { margin-top: auto; border: 1px solid var(--accent); box-shadow: 0 0 0 .35em #fff, 0 0 0 calc(.35em + 1px) var(--accent); }
.pz2 .pz-reward { margin-top: 1.7em; text-transform: uppercase; letter-spacing: .14em; font-size: .82em; color: var(--accent); }
.pz2 .pz-hint { margin-top: .7em; font-size: .78em; opacity: .65; letter-spacing: .04em; }
.pz2 > .pz-frame > .pz-icon { margin-bottom: 0; }

/* Kräftig */
.pz3 { background: var(--bg); }
.pz3 .pz-top { align-self: stretch; background: var(--accent); color: var(--on-accent); padding: 2.4em 2.2em 9em; text-align: left; }
.pz3 .pz-brand { display: flex; align-items: center; gap: .8em; text-transform: uppercase; letter-spacing: .2em; font-size: .85em; font-weight: 600; }
.pz3 .pz-logo { max-height: 2.8em; }
.pz3 .pz-where { opacity: .8; margin-top: .5em; }
.pz3 .pz-head { font-size: 3em; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin-top: 1.2em; max-width: 8.5em; }
.pz3 .pz-body { margin-top: -7em; display: flex; flex-direction: column; align-items: center; padding: 0 2em 2em; flex: 1; width: 100%; }
.pz3 .pz-qr { box-shadow: 0 .8em 2.4em rgba(0,0,0,.25); width: 14.5em; }
.pz3 .pz-reward { margin-top: 1.5em; font-weight: 600; font-size: 1.1em; max-width: 17em; }
.pz3 .pz-steps { margin-top: auto; }

@media print {
  @page { size: A4; margin: 0; }
  .top, .no-print, .wrap > h1, .note { display: none !important; }
  body { background: #fff; }
  .wrap { padding: 0; max-width: none; }
  .poster-stage { padding: 0; display: block; }
  .poster { --u: calc(210mm / 31); box-shadow: none; border-radius: 0; margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Anmeldeseite im MTOZZ-Design: heller Hintergrund mit Wellen und Bergen */
body.login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 1rem; background: #f5f8fa url(/brand/login-bg-desktop.webp) center bottom / cover no-repeat; --navy: #002941; }
@media (max-width: 700px) { body.login { background-image: url(/brand/login-bg-mobile.webp); background-position: center bottom; } }
.login-card { width: 100%; max-width: 380px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid #e3e9ee; border-radius: 22px; padding: 2.4rem 2rem 1.8rem; box-shadow: 0 24px 60px rgba(0,41,65,.10); }
.login-logo { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.login-logo img { height: 56px; width: auto; }
.login-logo span { font-size: .85rem; font-weight: 300; letter-spacing: .5em; text-indent: .5em; color: var(--navy); }
.login-sub { text-align: center; color: #5b6b76; font-size: .92rem; margin: .5rem 0 .8rem; }
.login-card label { color: #33444f; }
.login-card input { background: #fff; border-color: #d5dde3; }
.login-card input:focus { outline: 3px solid rgba(182,223,237,.9); border-color: var(--navy); }
.login-card .btn { background: var(--navy); border-color: var(--navy); }
.login-by { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 1.2rem 0 0; color: #7b8993; font-size: .74rem; letter-spacing: .04em; }
.login-by img { height: 14px; width: auto; opacity: .7; }
.powered { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .9rem; font-size: .72rem; color: var(--muted); text-decoration: none; }
.powered img { height: 12px; width: auto; opacity: .65; }

body.staff ::placeholder { color: var(--muted2); opacity: 1; }

.logo-colors { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.logo-colors i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }

/* Aufsteller: mehr Luft, besonders bei „Elegant“ */
.pz2 .pz-frame { padding: 1.7em 1.7em 1.4em; }
.pz2 .pz-logo { max-height: 3em; }
.pz2 .pz-name { margin-top: .8em; font-size: 1.12em; }
.pz-rule { margin: .9em 0; }
.pz2 .pz-head { font-size: 2.05em; }
.pz2 .pz-sub { margin: .7em 0 1.5em; max-width: 22em; }
.pz2 .pz-qr { margin-top: auto; width: 12.5em; }
.pz2 .pz-reward { margin-top: 1.6em; }
.pz2 .pz-hint { margin-top: .7em; }
.pz1 .pz-sub { margin-bottom: 1.2em; }
.pz3 .pz-reward { margin-bottom: 1.2em; }

/* Wochenplan der Aktionen */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.week .wd { background: var(--surface, #f6f4f0); border-radius: 12px; padding: .6rem .5rem; min-height: 4.5rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.week .wd > b { font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2, #888); }
.week .slot { display: block; font-size: .82rem; line-height: 1.25; padding: .35rem .45rem; border-radius: 8px; background: #fff; border: 1px solid var(--line, #e7e2da); color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.week .slot small { display: block; color: var(--muted2, #888); font-variant-numeric: tabular-nums; }
.week .slot.on { border-color: var(--brand, #1f6f50); box-shadow: inset 3px 0 0 var(--brand, #1f6f50); }
@media (max-width: 760px) { .week { grid-template-columns: 1fr; } .week .wd { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; } .week .wd > b { width: 2rem; } }
fieldset.days { border: 0; padding: 0; margin: 0; }
fieldset.days legend { font-size: .9rem; color: var(--muted2, #777); padding: 0; margin-bottom: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; min-width: 3rem; text-align: center; padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line, #ddd); background: #fff; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--brand, #1f6f50); border-color: var(--brand, #1f6f50); color: var(--brand-ink, #fff); }
.chip input:focus-visible + span { outline: 2px solid var(--brand, #1f6f50); outline-offset: 2px; }
.presets { display: flex; gap: 1rem; margin-top: .4rem; }
.promo { background: var(--surface, #f6f4f0); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .5rem; }
.promo small { display: block; font-size: .7rem; letter-spacing: .08em; color: var(--muted2, #888); }
.promo b { display: block; font-weight: 500; }
.promo span { display: block; font-size: .9rem; color: var(--muted2, #777); }
.promo.on { background: var(--accent); color: var(--bg); }
.promo.on small, .promo.on span { color: inherit; opacity: .85; }

/* ===== Handy-Feinschliff (Team + Inhaber): große Ziele, ruhige Flächen, Daumenzone ===== */
.staff-wrap { padding: max(1rem, env(safe-area-inset-top)) 1rem calc(2rem + env(safe-area-inset-bottom)); }
body.staff .btn { min-height: 54px; border-radius: 16px; font-weight: 550; font-size: 1.05rem; letter-spacing: -0.01em; border: 0; }
body.staff .btn.ghost { background: var(--surface); color: var(--fg); border: 0; }
body.staff .btn.small { min-height: 40px; font-size: .9rem; border-radius: 12px; padding: .4rem .9rem; }
body.staff .btn:active { transform: scale(.985); }
#start-scan { min-height: 72px; font-size: 1.2rem; border-radius: 20px; margin: .2rem 0 .8rem; }
#manual { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin: 0 0 .6rem; }
#manual input { min-height: 54px; margin: 0; border-radius: 16px; border: 0; font-size: 1rem; }
#manual .btn { min-height: 54px; padding: 0 1.2rem; }
.staff-top { gap: .6rem; }
.staff-top .staff-brand { min-width: 0; } .staff-top .staff-brand div { min-width: 0; }
.staff-top .staff-brand b, .staff-top .staff-brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-top .btn { flex: none; }
/* Scanner: hochkant, Rahmen mit Ecken, Abbrechen im Daumenbereich */
#view-scan { display: flex; flex-direction: column; min-height: calc(100dvh - 7.5rem); }
#view-scan .cam { aspect-ratio: auto; flex: 1; min-height: 52dvh; max-height: 68dvh; border-radius: 24px; margin-bottom: .8rem; }
#view-scan .cam .frame { inset: 50% auto auto 50%; width: min(70%, 280px); aspect-ratio: 1; transform: translate(-50%, -58%); border: 0; box-shadow: none; border-radius: 0;
  background:
    linear-gradient(#fff,#fff) 0 0/36px 4px, linear-gradient(#fff,#fff) 0 0/4px 36px,
    linear-gradient(#fff,#fff) 100% 0/36px 4px, linear-gradient(#fff,#fff) 100% 0/4px 36px,
    linear-gradient(#fff,#fff) 0 100%/36px 4px, linear-gradient(#fff,#fff) 0 100%/4px 36px,
    linear-gradient(#fff,#fff) 100% 100%/36px 4px, linear-gradient(#fff,#fff) 100% 100%/4px 36px;
  background-repeat: no-repeat; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
#view-scan .cam p { bottom: 1rem; font-size: .95rem; }
/* Kundenkarte */
.found { border-radius: 24px; padding: 1.3rem; }
.found small { letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.found h2 { font-size: 1.7rem; font-weight: 350; letter-spacing: -0.02em; }
.big-count { font-size: 2.6rem; font-weight: 250; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; } .big-count span { font-size: 1rem; color: var(--muted2); font-weight: 400; letter-spacing: 0; }
.meter { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--fg) 14%, var(--bg)); overflow: hidden; margin-top: .5rem; } .meter i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.redeem, .stamp-box { border-radius: 24px; }
.stepper button { width: 60px; height: 60px; border: 0; }
.row.split { gap: .6rem; margin-top: .2rem; }
#view-card > .btn.big, .stamp-box .btn.big { min-height: 60px; }
.done-mark { box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Inhaber-Ansicht am Handy */
@media (max-width: 760px) {
  body.admin { background: #f4f2ee; }
  .top { padding: max(.6rem, env(safe-area-inset-top)) 1rem .5rem; gap: .4rem .8rem; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0,0,0,.06); }
  .top .brand { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 550; min-width: 0; } .top .brand span { overflow: hidden; text-overflow: ellipsis; }
  .top .brand .pass-logo { width: 32px; height: 32px; }
  .top nav { gap: .4rem; padding: .1rem 0 .2rem; margin: 0 -1rem; padding-inline: 1rem; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 .95rem; border-radius: 999px; background: #eceae5; font-size: .95rem; scroll-snap-align: start; }
  .top nav a.on { background: var(--btn, var(--brand)); color: var(--btn-ink, var(--brand-ink)); font-weight: 550; }
  .top nav a:hover { background: #eceae5; } .top nav a.on:hover { background: var(--brand); }
  .top-right { font-size: .9rem; gap: .8rem; } .top-right .link { min-height: 36px; }
  .wrap { padding: 1rem 1rem calc(3rem + env(safe-area-inset-bottom)); }
  .wrap > h1 { font-size: 1.9rem; margin-bottom: 1rem; }
  .panel { border: 0; border-radius: 20px; padding: 1.1rem; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .kpis { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .kpis > div { border: 0; border-radius: 18px; padding: .9rem 1rem; }
  .grid2 { grid-template-columns: 1fr; }
  .btn { min-height: 48px; border-radius: 14px; padding: .6rem 1.2rem; }
  .btn.small { min-height: 40px; }
  input, select, textarea { min-height: 48px; border-radius: 12px; font-size: 16px; }
  table { border: 0; border-radius: 18px; }
  .row > input, .row > select, .row > label { flex: 1 1 100%; }
  .design .preview { position: static; }
  .note { border-radius: 14px; }
}
[hidden] { display: none !important; }

/* Wallet-Schaltflächen: Apple dunkel, Google hell – auf einen Blick unterscheidbar */
.wallets { gap: .75rem; }
.wallet { min-height: 60px; justify-content: flex-start; gap: .9rem; padding: .7rem 1.1rem; border-radius: 16px; text-align: left; border: 1.5px solid transparent; }
.wallet .wicon { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wallet .wtext { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3rem; line-height: 1.25; }
.wallet .wtext small { font-size: .78rem; font-weight: 400; opacity: .8; } .wallet .wtext b { font-size: 1.05rem; font-weight: 600; flex-basis: 100%; order: 2; }
.wallet .wtext small:first-child { order: 1; } .wallet .wtext small:last-child { order: 3; }
.wallet.apple { background: #000; color: #fff; }
.wallet.google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.wallet.google .wicon { fill: #4285f4; }
.wallet-badge { display: flex; justify-content: center; text-decoration: none; } .wallet-badge img { height: 54px; width: auto; max-width: 100%; display: block; }
/* Löschen-Schaltfläche (ohne "ghost"): gefüllt rot mit weißer Schrift, damit sie lesbar ist */
.btn.danger:not(.ghost) { background: var(--danger); border-color: var(--danger); color: #fff; }

/* Betriebsstatus */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.stat h2 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; font-size: 1rem; }
.stat .dot-s { width: .7rem; height: .7rem; border-radius: 50%; background: #2f8a6a; flex: none; }
.stat.warn .dot-s { background: #d99a1a; } .stat.err .dot-s { background: #c0392b; } .stat.off .dot-s { background: #b9b3aa; }
.stat p { margin: .1rem 0; color: var(--muted); font-size: .92rem; } .stat b { color: var(--ink); font-weight: 550; }
.overall { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 16px; margin-bottom: 1.2rem; font-weight: 500; background: var(--ok-bg); }
.overall.warn { background: #fdf0d5; } .overall.err { background: var(--err-bg); }
.overall .dot-s { width: .9rem; height: .9rem; border-radius: 50%; background: #2f8a6a; } .overall.warn .dot-s { background: #d99a1a; } .overall.err .dot-s { background: #c0392b; }

/* ===== Personal-Oberfläche hell (Farben kommen aus staffHead: --bg hell, --fg Tinte, --accent Firmenfarbe) ===== */
body.staff .btn.ghost { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.06), inset 0 0 0 1px var(--line2); }
body.staff input { border: 1px solid var(--line2); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
#manual input { border: 1px solid var(--line2); }
.choices label { background: var(--surface); border: 1px solid var(--line2); }
.found, .today-grid > div, .stepper button { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(20,30,50,.05); }
.stepper button { border: 1px solid var(--line2); }
.meter { background: var(--line2); }
.today-title { margin-top: 1.6rem; }
/* Hauptschaltfläche: Firmenfarbe, hebt sich mit Schatten ab */
body.staff #start-scan { gap: .7rem; min-height: 76px; font-size: 1.15rem; letter-spacing: -0.01em;
  box-shadow: 0 14px 28px -8px color-mix(in srgb, var(--accent) 55%, transparent), 0 4px 10px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.18); }
body.staff #start-scan:active { transform: translateY(1px) scale(.99); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--accent) 55%, transparent), 0 2px 5px rgba(0,0,0,.14); }
body.staff #do-stamp:not(:disabled) { box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--accent) 50%, transparent), 0 3px 8px rgba(0,0,0,.14); }
/* Was der Kunde bei der Anmeldung angegeben hat – zum direkten Ansprechen */
.insight { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--surface)); border-radius: 22px; padding: 1rem 1.1rem; margin-bottom: .8rem; }
.insight > small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 600; color: var(--muted2); margin-bottom: .5rem; }
.insight .fact { padding: .45rem 0; border-top: 1px solid color-mix(in srgb, var(--accent) 16%, var(--surface)); } .insight .fact:first-of-type { border-top: 0; padding-top: 0; }
.insight .fact span { display: block; font-size: .82rem; color: var(--muted2); }
.insight .fact b { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.insight .hint { margin: .5rem 0 0; font-size: .9rem; color: var(--muted2); }
.insight.bday { background: color-mix(in srgb, #e0a100 16%, var(--surface)); border-color: color-mix(in srgb, #e0a100 45%, var(--surface)); }

/* Kennzahlen in den Farben des Lokals (--d-bg Firmenfarbe, --d-fg Schrift darauf, --d-ac Akzent, --d-ink Zahlenfarbe auf Weiß) */
.dash { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.d-card { background: #fff; border: 1px solid #e4e7ec; border-radius: 22px; padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 1px 2px rgba(20,30,50,.04); }
.d-card small { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 500; color: #667085; margin-bottom: .55rem; }
.d-card b { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--d-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.d-card span { color: #667085; font-size: .92rem; margin-top: .45rem; }
.d-card.hero { background: var(--d-bg); border-color: var(--d-bg); color: var(--d-fg); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--d-bg) 70%, transparent); }
.d-card.hero small { color: color-mix(in srgb, var(--d-fg) 75%, var(--d-bg)); } .d-card.hero b { color: var(--d-fg); } .d-card.hero span { color: color-mix(in srgb, var(--d-fg) 78%, var(--d-bg)); }
.d-bar { height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--d-fg) 22%, var(--d-bg)); overflow: hidden; margin-top: auto; } .d-bar i { display: block; height: 100%; border-radius: 99px; background: var(--d-ac); min-width: 0; }
.d-card.hero .d-bar { margin-top: 1rem; } .d-card.hero em { font-style: normal; font-size: .84rem; color: color-mix(in srgb, var(--d-fg) 78%, var(--d-bg)); margin-top: .5rem; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr 1fr; } .d-card.hero { grid-column: 1 / -1; } .d-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .d-card { border-radius: 20px; padding: 1.05rem 1.1rem; } .d-card b { font-size: 2rem; } }
.insight { text-align: left; }

/* Auswertung */
.range { display: inline-flex; gap: .3rem; background: #eceae5; border-radius: 999px; padding: .25rem; margin-bottom: 1rem; }
.range a { padding: .4rem 1rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; min-height: 36px; display: inline-flex; align-items: center; }
.range a.on { background: #fff; font-weight: 550; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ana .d-card span em { font-style: normal; font-weight: 600; margin-right: .2rem; } .ana .d-card span em.up { color: #1f7a4f; } .ana .d-card span em.down { color: #b3261e; }
.ana .d-card.hero span em.up { color: color-mix(in srgb, #7be0ad 80%, var(--d-fg)); } .ana .d-card.hero span em.down { color: color-mix(in srgb, #ffa59c 85%, var(--d-fg)); }
.tips ul { margin: .3rem 0 0; padding-left: 1.1rem; } .tips li { margin: .45rem 0; line-height: 1.5; } .tips b { font-weight: 600; }
.ana .chart rect { fill: color-mix(in srgb, var(--d-bg) 62%, #fff); } .ana .chart rect.hi { fill: var(--d-bg); }
.ana .chart .avgline { fill: none; stroke: var(--d-ac); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ana .chart.wide { margin-bottom: 1rem; }
.ana .heat .cell { fill: var(--d-bg); fill-opacity: calc(.06 + var(--v) * .94); stroke: none; }
.ana .heat text { font-size: 11px; fill: var(--muted); text-anchor: middle; } .ana .heat .rl { text-anchor: end; font-size: 12px; } .ana .heat .cv { fill: var(--d-fg); font-weight: 600; font-size: 12px; }
ul.plain { list-style: none; margin: .5rem 0 0; padding: 0; } ul.plain li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); } ul.plain li:first-child { border-top: 0; } ul.plain b { font-weight: 550; white-space: nowrap; }
@media (max-width: 760px) { .ana .chart.wide { overflow-x: auto; } .ana .heat { min-width: 560px; } .range { display: flex; } .range a { flex: 1; justify-content: center; } }

/* Inhaber-Bereich in der Firmenfarbe: --brand/--brand-ink kommen aus adminPage (Lokalfarbe, bei Bedarf abgedunkelt für Lesbarkeit) */
.top nav a.on:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.danger:not(.ghost) { --btn: var(--danger); --btn-ink: #fff; }
.btn { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px -8px color-mix(in srgb, var(--btn, var(--brand)) 60%, transparent); }
.btn.ghost, .btn.danger.ghost, .btn:disabled { box-shadow: none; }

/* Aktionsbild */
.offer { overflow: hidden; }
.offer .offer-img { display: block; width: calc(100% + 2rem); max-width: none; margin: -.8rem -1rem .75rem; aspect-ratio: 16 / 9; object-fit: cover; }
.img-thumb { display: block; width: 100%; max-width: 360px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin: 0 0 .6rem; }
.img-thumb.sm { width: 96px; margin: 0 0 .4rem; border-radius: 8px; }
.img-now { display: flex; align-items: center; gap: 1rem; } .img-now img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
input[type=file] { padding: .55rem .6rem; }

/* Visitenkarten */
.vc-mini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #eceae5; color: var(--ink); font-size: .8rem; font-weight: 550; }
.vc-pass { background: var(--bg); color: var(--fg); border-radius: 20px; max-width: 320px; margin: 0 auto; padding: 1rem 1.1rem 0.8rem; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.vc-pass-head { display: flex; align-items: center; gap: .6rem; } .vc-pass-head b { font-weight: 550; }
.vc-pass-body { margin: 1.2rem 0 1rem; } .vc-pass-body small { display: block; color: var(--accent); letter-spacing: .08em; font-size: .64rem; font-weight: 600; margin-top: .6rem; } .vc-pass-body div { font-size: 1.2rem; font-weight: 500; }
.vc-pass-qr { display: grid; place-items: center; } .vc-pass-qr span { width: 110px; height: 110px; background: #fff; border-radius: 10px; background-image: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%), linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%); background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.vc-pass-foot { text-align: right; font-size: .62rem; opacity: .7; margin-top: .6rem; }

/* Öffentliche Visitenkarte (/v/…): Mobile first, Firmenfarben aus themeHead */
body.vcard { background: color-mix(in srgb, var(--bg) 5%, #f7f7f5); color: #1c1b1a; --vc-ink: color-mix(in srgb, var(--bg) 72%, #000); }
.vc { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.vc-hero { background: var(--bg); color: var(--fg); display: flex; align-items: center; gap: .7rem; padding: max(1.1rem, env(safe-area-inset-top)) 1.3rem 8.4rem; border-radius: 0 0 30px 30px; font-weight: 550; }
.vc-hero .pass-logo { width: 38px; height: 38px; }
.vc-card { background: #fff; margin: -3.6rem 1rem 0; border-radius: 26px; padding: 0 1.3rem 1.4rem; text-align: center; box-shadow: 0 10px 34px -12px rgba(20,30,50,.25), 0 1px 3px rgba(0,0,0,.06); }
.vc-photo { display: block; width: 112px; height: 112px; margin: -56px auto .8rem; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--accent); }
.vc-photo.ph { display: grid; place-items: center; font-size: 2.3rem; font-weight: 550; color: var(--bg); letter-spacing: .02em; }
.vc-card h1 { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.vc-role { margin: .3rem 0 0; color: #5d5a55; } .vc-firm { margin: .1rem 0 1.1rem; color: var(--vc-ink); font-weight: 550; }
.vcard .btn { background: var(--bg); border-color: var(--bg); color: var(--fg); }
.vc-save { min-height: 58px; gap: .6rem; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--bg) 70%, transparent), 0 2px 6px rgba(0,0,0,.12); }
.vc-quick { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .5rem; margin-top: .8rem; }
.vc-quick a { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .8rem .3rem; border-radius: 16px; background: color-mix(in srgb, var(--bg) 8%, #fff); color: var(--vc-ink); text-decoration: none; font-size: .82rem; font-weight: 550; min-height: 64px; }
.vc-list { list-style: none; margin: 1.1rem 0 0; padding: 0; text-align: left; } .vc-list li { border-top: 1px solid #eceae5; }
.vc-list a { display: flex; align-items: center; gap: .9rem; padding: .85rem .2rem; color: #1c1b1a; text-decoration: none; min-height: 56px; }
.vc-list svg { flex: none; color: var(--vc-ink); } .vc-list small { display: block; color: #6d6a64; font-size: .74rem; }
.vc-list span { min-width: 0; overflow-wrap: anywhere; }
.vc-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 1rem 0 0; } .vc-social a { color: var(--vc-ink); font-weight: 550; font-size: .92rem; }
.vc-foot { text-align: center; color: #77746e; font-size: .8rem; padding: 1.2rem 1rem 0; margin-top: auto; } .vc-foot a { color: inherit; }
.vcard .muted { color: #6d6a64; }
.vc-card.plain { padding-top: 1.6rem; }
.vc-wallets { display: grid; gap: .7rem; justify-items: center; margin: 1.2rem 0 .4rem; }
.vc-hint { color: #77746e; font-size: .85rem; margin: .8rem 0 0; }
.vc-share { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid #eceae5; }
.vc-qr { display: grid; justify-items: center; gap: .5rem; } .vc-qr svg { width: 168px; height: 168px; background: #fff; border-radius: 12px; border: 1px solid #eceae5; padding: 4px; } .vc-qr small { color: #77746e; }
.vc-share-links { display: flex; justify-content: center; gap: .5rem 1.4rem; flex-wrap: wrap; margin: .9rem 0 0; } .vc-share-links a { color: var(--vc-ink); font-weight: 550; font-size: .92rem; }
