:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --ink: #17181A;
  --muted: #6B6F76;
  --line: #E4E1D9;
  --brand: #461248;
  --brand-2: #A43547;
  --peach: #F09E5E;
  --brand-ink: #FFFFFF;
  --gold: #F09E5E;
  --ok: #1E7F4F;
  --warn: #A1580E;
  --err: #B3261E;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 4px 16px rgba(20, 20, 20, .05);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.5; font-size: 15px; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: 28px; }
h2 { font-size: 19px; }
h3 { font-size: 15px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }

/* Knoppen en formulieren */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .05s, opacity .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.danger { background: var(--surface); color: var(--err); border-color: #F0C8C4; }
.btn.lg { padding: 14px 20px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
input[type=color] { width: 44px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field { margin-bottom: 16px; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.radio-cards { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.radio-cards label { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; font-weight: 500; }
.radio-cards input { margin-right: 8px; }
.radio-cards label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* Admin-layout */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 700; font-size: 17px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: url(/static/logo-icon.png) center/cover var(--brand); display: grid; place-items: center; overflow: hidden; }
.logo-mark svg { display: none; }
.side a.nav { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 9px; text-decoration: none; color: #3A3D42; font-weight: 500; }
.side a.nav:hover { background: #F2F0EA; }
.side a.nav.active { background: #ECEAE3; color: var(--ink); font-weight: 600; }
.side .spacer { flex: 1; }
.side .store-box { border-top: 1px solid var(--line); padding: 14px 8px 0; font-size: 13px; }
.lock { font-size: 11px; font-weight: 600; color: var(--muted); background: #F0EEE7; border-radius: 6px; padding: 2px 6px; }
main.content { padding: 32px 40px 60px; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head p { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid.kpi { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid.two { grid-template-columns: 1.35fr 1fr; align-items: start; }
.kpi .card { padding: 18px 20px; }
.kpi .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpi .value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 12.5px; color: var(--muted); }
.meter { height: 8px; background: #EEEBE3; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.meter.warn > span { background: var(--warn); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid #EFEDE7; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #EFEDE6; color: #45484D; }
.badge.ok { background: #E3F3EA; color: var(--ok); }
.badge.gold { background: #FBF0D9; color: #8A5A00; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; border: 1px solid; }
.alert.ok { background: #EEF8F2; border-color: #CBE8D7; color: #145C38; }
.alert.err { background: #FDF1F0; border-color: #F3CFCB; color: #8C1D17; }
.alert.info { background: #F4F2EC; border-color: var(--line); color: #45484D; }
.upsell { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #461248, #A43547); color: #fff; border-radius: var(--radius); padding: 22px 24px; }
.upsell p { margin: 4px 0 0; opacity: .85; }
.upsell .btn { background: var(--gold); color: #2A1E00; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 500; background: #fff; }
.tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 10px; }
.chart .bar { flex: 1; background: color-mix(in srgb, var(--brand) 80%, white); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.chart .bar:hover { background: var(--brand); }
.chart .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Wallet-kaart (preview & webkaart) */
.wallet { width: 100%; max-width: 360px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.wallet .w-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; gap: 10px; }
.wallet .w-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; min-width: 0; }
.wallet .w-logo img { max-height: 30px; max-width: 150px; }
.wallet .w-field { text-align: right; }
.wallet .w-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wallet .w-value { font-size: 18px; font-weight: 500; }
.wallet .w-strip { display: block; width: 100%; aspect-ratio: 750 / 246; }
.wallet .w-fields { display: flex; justify-content: space-between; padding: 12px 14px 4px; gap: 10px; }
.wallet .w-fields .w-value { font-size: 15px; }
.wallet .w-qr { display: flex; flex-direction: column; align-items: center; padding: 14px 0 18px; }
.wallet .w-qr .box { background: #fff; padding: 8px; border-radius: 8px; width: 150px; }
.wallet .w-qr .box svg { width: 100%; height: auto; display: block; }
.wallet .w-qr .code { margin-top: 6px; font-size: 12px; letter-spacing: .08em; opacity: .85; }

/* Publieke pagina's */
.public { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 18px 40px; }
.public .wrap { width: 100%; max-width: 440px; }
.join-hero { text-align: center; margin-bottom: 22px; }
.join-hero .store-logo { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; overflow: hidden; font-weight: 700; font-size: 26px; box-shadow: var(--shadow); }
.join-hero .store-logo img { width: 100%; height: 100%; object-fit: contain; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 12px; border: 0; background: #000; color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; }
.wallet-btn + .wallet-btn { margin-top: 10px; }
.wallet-btn.google { background: #1F1F1F; }
.perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; color: #45484D; }
.perks li { display: flex; gap: 8px; align-items: center; justify-content: center; }
details.optional { margin: 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
details.optional summary { cursor: pointer; font-size: 14px; font-weight: 500; }
.powered { margin-top: 28px; font-size: 12px; color: var(--muted); text-align: center; }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth .card { width: 100%; max-width: 420px; padding: 30px; }

/* Scanner */
.scan-app { max-width: 520px; margin: 0 auto; padding: 16px 16px 40px; }
.scan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.viewfinder { position: relative; aspect-ratio: 1; background: #111; border-radius: 18px; overflow: hidden; }
.viewfinder video, .viewfinder #reader { width: 100%; height: 100%; object-fit: cover; }
.viewfinder .frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.viewfinder .msg { position: absolute; inset: 0; display: grid; place-items: center; color: #ddd; text-align: center; padding: 30px; font-size: 14px; }
.manual { display: flex; gap: 8px; margin-top: 12px; }
.manual input { text-transform: uppercase; letter-spacing: .08em; font-family: ui-monospace, Menlo, monospace; }
.cust { margin-top: 16px; }
.cust .progress { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.cust .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed #CFCBC0; display: grid; place-items: center; }
.cust .dot.on { background: var(--gold); border: 0; }
.cust .dot img { width: 62%; height: 62%; object-fit: contain; }
.qty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; }
.qty .btn { padding: 16px 0; font-size: 18px; }
.reward-box { background: #FBF0D9; border: 1px solid #F1D9A6; border-radius: 12px; padding: 14px; margin: 12px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; transition: all .25s; z-index: 10; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--err); }

/* Marketing */
.mk-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; max-width: 1140px; margin: 0 auto; }
.mk-hero { max-width: 1140px; margin: 0 auto; padding: 40px 32px 60px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.mk-hero h1 { font-size: 46px; letter-spacing: -.03em; }
.mk-hero .lead { font-size: 18px; color: #45484D; max-width: 520px; }
.steps { counter-reset: s; display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; flex: none; }
.plans { max-width: 1140px; margin: 0 auto; padding: 20px 32px 80px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: relative; display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--brand); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan .price { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { padding: 0; list-style: none; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.plan.current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .side .spacer, .side .store-box { display: none; }
  main.content { padding: 20px 16px 50px; }
  .grid.two, .mk-hero, .plan-grid { grid-template-columns: 1fr; }
  .mk-hero h1 { font-size: 34px; }
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
[hidden] { display: none !important; }
td.nowrap, .nowrap { white-space: nowrap; }
.row.colors { grid-template-columns: repeat(3, minmax(0, 140px)); }
.upsell .btn { white-space: nowrap; flex: none; }

/* Kaarteditor */
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.presets button { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; }
.presets button:hover { border-color: #CFCBC0; }
.presets button.active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.presets .pal { width: 34px; height: 26px; border-radius: 6px; position: relative; display: grid; place-items: center; flex: none; border: 1px solid rgba(0,0,0,.08); }
.presets .pal b { font-size: 11px; font-weight: 700; }
.presets .pal i { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; }
.color-input { display: flex; gap: 6px; align-items: center; }
.color-input .hex { width: 92px; padding: 8px; font-size: 13px; text-transform: uppercase; }
.color-input .hex.bad { border-color: var(--err); }
.contrast { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; padding: 9px 12px; border-radius: 10px; margin: -4px 0 16px; border: 1px solid; }
.contrast.ok { color: var(--ok); background: #EEF8F2; border-color: #CBE8D7; }
.contrast.warn { color: #7A4300; background: #FDF6E9; border-color: #F1DDB4; }
.contrast.err { color: #8C1D17; background: #FDF1F0; border-color: #F3CFCB; }
.contrast .btn { padding: 5px 10px; font-size: 12.5px; flex: none; }
.upload-row { display: flex; gap: 14px; align-items: center; }
.thumb { width: 96px; height: 56px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; flex: none; border: 1px solid rgba(0,0,0,.08); }
.thumb img { max-width: 86%; max-height: 80%; object-fit: contain; }
.thumb span { font-size: 11px; color: rgba(255,255,255,.75); mix-blend-mode: difference; }
.thumb.round { width: 52px; height: 52px; border-radius: 50%; }
.thumb.round img, .thumb.round svg { width: 60%; height: 60%; }
.suggest { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #F7F5EF; border: 1px solid var(--line); font-size: 13px; }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(0,0,0,.1); }
@media (max-width: 900px) { .presets { grid-template-columns: repeat(2, 1fr); } }

/* Taalkeuze, proefperiode, demo */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: #fff; }
.lang-switch a { padding: 4px 10px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.trial-bar { background: #FBF0D9; border: 1px solid #F1D9A6; color: #6B4A00; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.trial-bar.soon { background: #FDF1F0; border-color: #F3CFCB; color: #8C1D17; }
.trial-bar a { font-weight: 600; margin-left: 6px; }
.demo-step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.demo-step > div { flex: 1; min-width: 0; }
.demo-step p { margin: 4px 0 12px; }
.demo-step .num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }

/* ---------- Platform v1 aanvullingen ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: #fff; }
.lang-switch a { padding: 4px 10px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.trial-bar { background: #FBF0D9; border: 1px solid #F1D9A6; color: #6B4A00; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.side .nav .soon { font-size: 11px; font-weight: 600; color: var(--muted); background: #F0EEE7; border-radius: 6px; padding: 2px 6px; }
.side a.nav.disabled { color: #A3A6AB; pointer-events: none; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #CFCBC0; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.checklist li.done .tick { background: var(--ok); border-color: var(--ok); }
.checklist li.done .what { color: var(--muted); text-decoration: line-through; }
.checklist .what { flex: 1; }
.checklist .soon { font-size: 12px; color: var(--muted); }
.inline-form { display: inline; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
details.menu > summary { list-style: none; cursor: pointer; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu[open] .menu-body { display: block; }
.menu-body { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #FAF9F6; }
.pair-code { font-family: ui-monospace, Menlo, monospace; font-size: 34px; letter-spacing: .14em; font-weight: 700; }
.brand-preview { border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.brand-preview .logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; font-weight: 700; font-size: 20px; background: rgba(255,255,255,.12); }
.brand-preview .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.activity td { vertical-align: top; }

/* Kassa-app */
.pos { min-height: 100vh; background: #17181A; color: #fff; display: flex; flex-direction: column; }
.pos-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 14px; color: #B9BCC2; }
.pos-top strong { color: #fff; }
.pos-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; gap: 18px; }
.pos h1 { font-size: 24px; text-align: center; }
.pos .muted { color: #9DA1A8; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; width: 100%; max-width: 560px; }
.staff-tile { background: #26282C; border: 1px solid #34373C; border-radius: 16px; padding: 22px 12px; text-align: center; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; }
.staff-tile .av { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #2A1E00; display: grid; place-items: center; margin: 0 auto 10px; font-size: 20px; }
.pin-dots { display: flex; gap: 14px; justify-content: center; margin: 6px 0 4px; }
.pin-dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #6B6F76; }
.pin-dots span.on { background: #fff; border-color: #fff; }
.keypad { display: grid; grid-template-columns: repeat(3, 84px); gap: 14px; }
.keypad button { height: 84px; border-radius: 50%; border: 0; background: #26282C; color: #fff; font: inherit; font-size: 28px; font-weight: 500; cursor: pointer; }
.keypad button:active { background: #3A3D42; }
.keypad button.ghost { background: transparent; font-size: 15px; color: #B9BCC2; }
.pos .alert.err { background: #3B1F1D; border-color: #6B2C27; color: #FFC9C3; }
.scan-cta { width: 100%; max-width: 420px; height: 180px; border-radius: 24px; border: 0; background: var(--gold); color: #2A1E00; font: inherit; font-size: 26px; font-weight: 800; letter-spacing: .02em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.scan-cta small { font-size: 13px; font-weight: 600; opacity: .7; letter-spacing: 0; }
.pos input[type=text] { background: #26282C; border-color: #34373C; color: #fff; text-transform: uppercase; letter-spacing: .12em; text-align: center; font-size: 22px; font-family: ui-monospace, Menlo, monospace; }
.pos .btn.secondary { background: #26282C; color: #fff; border-color: #34373C; }

/* Klantenkaart-editor */
.card-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.preview-col { position: sticky; top: 20px; }
.preview-col .tabs { margin-bottom: 12px; }
.phone { background: #1C1C1E; border-radius: 34px; padding: 28px 16px 24px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.pass-apple { border-radius: 12px; overflow: hidden; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.pa-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; min-height: 58px; }
.pa-logo { display: flex; align-items: center; font-weight: 600; font-size: 16px; min-width: 0; }
.pa-logo img { max-height: 32px; max-width: 160px; object-fit: contain; }
.pa-hf { text-align: right; }
.pa-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pa-value { font-size: 20px; font-weight: 400; }
.pa-value.sm { font-size: 15px; }
.pa-strip, .pg-hero { line-height: 0; }
.pa-strip img, .pa-strip svg, .pg-hero svg { width: 100%; height: auto; display: block; aspect-ratio: 750 / 246; }
.pa-fields { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px 6px; }
.pa-qr, .pg-qr { display: flex; flex-direction: column; align-items: center; padding: 16px 0 18px; }
.pa-qr .box, .pg-qr .box { background: #fff; padding: 8px; border-radius: 8px; width: 132px; line-height: 0; }
.pa-qr .code, .pg-qr .code { font-size: 11px; margin-top: 6px; letter-spacing: .06em; opacity: .85; }
.pass-google { border-radius: 22px; overflow: hidden; font-family: Roboto, "Google Sans", Arial, sans-serif; }
.pg-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 6px; }
.pg-logo { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #333; display: grid; place-items: center; overflow: hidden; font-weight: 700; flex: none; }
.pg-logo img { width: 100%; height: 100%; object-fit: contain; }
.pg-issuer { font-size: 14px; font-weight: 500; }
.pg-title { font-size: 22px; padding: 4px 16px 10px; }
.pg-points { display: flex; gap: 32px; padding: 0 16px 6px; }
.pg-label { font-size: 12px; opacity: .8; }
.pg-value { font-size: 18px; }
.btn.gold { background: var(--gold); color: #2A1E00; }
.linkish { background: none; border: 0; color: #B9BCC2; font: inherit; cursor: pointer; text-decoration: none; padding: 0; }
.pos-card { width: 100%; max-width: 380px; }
.pos-card h1 { margin-bottom: 8px; }
.pos-form { display: grid; gap: 8px; }
.pos-form label { color: #B9BCC2; font-weight: 600; font-size: 13px; margin-top: 8px; }
.pos-form input { background: #26282C; border-color: #34373C; color: #fff; font-size: 20px; padding: 14px; }
.pos-form input[type=password] { letter-spacing: .3em; }
.pos-form .btn { margin-top: 14px; }
.pos .lang-switch { background: #26282C; border-color: #34373C; }
.pos .lang-switch a { color: #B9BCC2; }
.pos .lang-switch a.active { background: #fff; color: #17181A; }
.pos .alert.ok { background: #1E3A2B; border-color: #2E5A41; color: #BDF0D2; }
@media (max-width: 1100px) { .card-layout { grid-template-columns: 1fr; } .preview-col { position: static; max-width: 400px; } }

/* ---------- Klantenpagina, scanner, statistieken, abonnement ---------- */
.wallet-btn[disabled] { opacity: .45; cursor: not-allowed; }
.join-form { margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #45484D; margin: 4px 0 16px; line-height: 1.4; }
.consent input { margin-top: 2px; }
.pass-live { box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.scanner { width: 100%; max-width: 420px; }
.cam { position: relative; width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #0E0F10; }
.cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame { position: absolute; inset: 18%; border: 3px solid rgba(233,180,76,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.cam-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: #E9E7E1; background: #17181A; font-size: 15px; }
.pos #manualCode { text-transform: uppercase; letter-spacing: .12em; text-align: center; font-size: 20px; }
.customer-panel { background: #222428; border: 1px solid #34373C; border-radius: 20px; padding: 18px; max-width: 420px; }
.customer-panel h2 { margin: 2px 0 0; color: #fff; font-size: 22px; }
.cp-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cp-count { font-size: 26px; font-weight: 800; color: #fff; }
.cp-dots { display: grid; gap: 10px; margin: 18px 0 12px; justify-content: center; }
.cp-dots .dot { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #55585E; }
.cp-dots .dot.on { background: var(--gold); border: 0; }
.customer-panel .reward-box { color: #2A1E00; }
.customer-panel .btn.secondary { background: #2D3035; color: #fff; border-color: #3B3F45; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpis .card, .plans .card { margin: 0; }
.kpis .card { padding: 16px 18px; }
.kpis .num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.kpis .lbl { font-size: 13px; color: var(--muted); }
.search-row { display: flex; gap: 8px; margin-bottom: 12px; max-width: 520px; }
.mini-dots { display: inline-flex; gap: 3px; vertical-align: middle; margin-left: 8px; }
.mini-dots i { width: 7px; height: 7px; border-radius: 50%; background: #E4E1DA; }
.mini-dots i.on { background: var(--gold); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans .card.current { border: 2px solid var(--brand); }
.plans .price { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.plans ul { padding-left: 18px; margin: 12px 0 18px; display: grid; gap: 6px; font-size: 14px; }
.meter { height: 10px; background: #EEEBE4; border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--gold); }
.poster { width: 420px; max-width: 100%; border-radius: 22px; padding: 30px 28px; text-align: center; box-shadow: var(--shadow); }
.poster h2 { font-size: 26px; margin: 0 0 6px; }
.poster .qrbox { background: #fff; border-radius: 16px; padding: 14px; width: 240px; margin: 20px auto 14px; line-height: 0; }
.poster .logo { max-height: 56px; max-width: 200px; margin: 0 auto 12px; display: block; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } .plans { grid-template-columns: 1fr; } }
@media print { .side, .trial-bar, .no-print, .alert { display: none !important; } .content { padding: 0 !important; } .shell { display: block; } .poster { box-shadow: none; margin: 0 auto; } }
.pg-value.sm { font-size: 14px; }

/* ---------- Developer-portaal en facturen ---------- */
.shell.dev .side { background: #17181A; border-right-color: #2A2C30; }
.shell.dev .side .brand, .shell.dev .side .nav { color: #D9D7D1; }
.shell.dev .side .nav:hover { background: #24262A; }
.shell.dev .side .nav.active { background: #2D3035; color: #fff; }
.shell.dev .store-box { color: #D9D7D1; border-top-color: #2A2C30; }
.shell.dev .store-box .muted { color: #8D9096; }
.dev-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #F09E5E; color: #2A0E1E; border-radius: 6px; padding: 2px 6px; margin-left: 4px; }
.invoice-body { background: #F2F0EB; padding: 24px 16px 60px; }
.invoice-bar { max-width: 780px; margin: 0 auto 14px; display: flex; justify-content: space-between; gap: 8px; }
.invoice { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 44px 48px; box-shadow: var(--shadow); font-size: 14px; }
.invoice header { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.invoice h1 { margin: 0 0 4px; font-size: 26px; }
.inv-brand { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.inv-meta { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; }
.inv-meta .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.inv-lines { width: 100%; border-collapse: collapse; }
.inv-lines th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 0; }
.inv-lines td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.inv-totals { margin: 16px 0 0 auto; width: 280px; display: grid; gap: 6px; }
.inv-totals div { display: flex; justify-content: space-between; }
.inv-totals .total { font-weight: 800; font-size: 17px; border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 4px; }
@media print { .invoice-body { background: #fff; padding: 0; } .invoice { box-shadow: none; padding: 0; } }

/* ---------- Opties op de klantenpagina ---------- */
.tiles { display: grid; gap: 10px; margin-top: 18px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
a.tile, .tile > summary { display: flex; align-items: center; gap: 12px; padding: 16px 16px; cursor: pointer; list-style: none; }
.tile > summary::-webkit-details-marker { display: none; }
.tile > summary::after { content: '▾'; margin-left: auto; color: var(--muted); }
.tile[open] > summary::after { content: '▴'; }
.tile .ti { font-size: 22px; width: 28px; text-align: center; }
.tile-arrow { margin-left: auto; color: var(--muted); }
.tile-body { padding: 0 16px 16px; font-weight: 400; }
.wifi-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; flex-wrap: wrap; }
.wifi-row .muted { width: 90px; }
.sudoku-bar { display: flex; gap: 8px; justify-content: center; margin: 8px 0 14px; }
.sudoku { display: grid; grid-template-columns: repeat(9, 1fr); background: #fff; border: 2px solid #1C1D1F; border-radius: 10px; overflow: hidden; max-width: 420px; margin: 0 auto; }
.sudoku .cell { aspect-ratio: 1; border: 0; border-right: 1px solid #E2DFD8; border-bottom: 1px solid #E2DFD8; background: #fff; font: inherit; font-size: 20px; font-weight: 600; color: #2D5BA8; padding: 0; cursor: pointer; }
.sudoku .cell.fixed { color: #1C1D1F; font-weight: 800; }
.sudoku .cell.br { border-right: 2px solid #1C1D1F; }
.sudoku .cell.bb { border-bottom: 2px solid #1C1D1F; }
.sudoku .cell.sel { background: color-mix(in srgb, var(--accent, #E9B44C) 35%, #fff); }
.sudoku .cell.bad { color: #C0392B; background: #FDECEA; }
.sudoku-pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; margin: 14px auto 6px; }
.sudoku-pad button { height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 99px; border: 0; background: #D7D4CC; cursor: pointer; flex: none; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.switch.on { background: #2E8B57; }
.switch.on::after { left: 23px; }
.opt-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.opt-row:last-child { border-bottom: 0; }
.opt-row .ti { font-size: 22px; width: 30px; text-align: center; }
.opt-row .what { flex: 1; }
.opt-row .what strong { display: block; }
.nav .count { background: var(--gold); color: #2A1E00; border-radius: 99px; font-size: 11px; font-weight: 800; padding: 1px 7px; margin-left: 6px; }
.sug { padding: 14px 4px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.sug:last-child { border-bottom: 0; }
.sug .body { flex: 1; }
.sug .msg { white-space: pre-wrap; margin-top: 4px; }
.sug.unread { background: #FFFBF0; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.activation-box { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; }
.activation-box .qr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; line-height: 0; }
@media (max-width: 700px) { .activation-box { grid-template-columns: 1fr; } }

/* ---------- Website ---------- */
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.site-sec { max-width: 1140px; margin: 0 auto; padding: 36px 32px; }
.site-sec.narrow { max-width: 760px; }
.site-sec > h2 { font-size: 30px; text-align: center; margin-bottom: 26px; letter-spacing: -.02em; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 .card, .feat-grid .card { margin: 0; }
.stepnum { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-phone { position: relative; }
.lock-note { margin: 14px auto 0; max-width: 300px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; font-size: 13px; box-shadow: var(--shadow); }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.closing { text-align: center; padding-bottom: 60px; }
.site-foot { max-width: 1140px; margin: 0 auto; padding: 24px 32px 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.join-steps { padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.legal h2 { font-size: 18px; margin-top: 26px; }
.legal li { margin-bottom: 6px; }
@media (max-width: 900px) { .steps3, .feat-grid { grid-template-columns: 1fr; } .site-sec { padding: 28px 18px; } .mk-nav { padding: 16px 18px; } .mk-nav .btn.ghost { display: none; } }
