/* JWC subpagina's (privacy, algemene voorwaarden, betalen, betaald). Zelfde stijl als de homepage (03-11-2026). */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-var-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-var-latin.woff2') format('woff2');
  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: #0B1220; --ink-2: #2B3445; --muted: #5A6576; --line: #E3E7ED; --soft: #F4F6F9; --white: #FFFFFF;
  --accent: #2F5FEA; --accent-press: #2348B8; --accent-wash: #EBF0FE;
  --ok: #15803D; --ok-wash: #E7F6EC; --warn: #B45309; --warn-wash: #FDF3E4;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--white); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2 { text-wrap: balance; letter-spacing: -0.015em; }

/* ===== Juridische pagina's (privacy, voorwaarden) ===== */
body.doc { padding: 0 max(20px, env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.doc .wrap { max-width: 780px; margin: 0 auto; }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.doc header img { height: 30px; width: auto; }
.doc header a.terug { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.doc header a.terug:hover { color: var(--accent); }
.doc .label { font-size: 14px; font-weight: 600; color: var(--accent); }
.doc h1 { font-size: clamp(32px, 6vw, 44px); font-weight: 600; line-height: 1.12; margin: 8px 0 14px; }
.doc .intro { color: var(--ink-2); font-size: 17px; margin-bottom: 28px; max-width: 62ch; }
.doc .gegevens { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin-bottom: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; font-size: 15px; }
.doc .gegevens dt { color: var(--muted); font-size: 13px; }
.doc .gegevens dd { color: var(--ink); font-weight: 500; }
.doc nav.inhoud { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc nav.inhoud ol { list-style: none; columns: 2; column-gap: 32px; font-size: 15px; }
.doc nav.inhoud li { break-inside: avoid; padding: 4px 0; }
.doc nav.inhoud a { color: var(--ink-2); text-decoration: none; }
.doc nav.inhoud a:hover { color: var(--accent); }
.doc section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 24px; }
.doc h2 { font-size: 21px; font-weight: 600; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.doc h2 span { font-size: 14px; color: var(--accent); font-weight: 600; min-width: 26px; font-variant-numeric: tabular-nums; }
.doc section ol { list-style: none; }
.doc section ol > li { position: relative; padding-left: 42px; color: var(--ink-2); margin-bottom: 12px; }
.doc section ol > li::before { content: attr(data-nr); position: absolute; left: 0; top: 0; font-size: 14px; color: var(--muted); line-height: 1.85; font-variant-numeric: tabular-nums; }
.doc section ul { margin: 6px 0 0 20px; color: var(--ink-2); }
.doc section ul li { margin-bottom: 4px; }
.doc .tabelwrap { overflow-x: auto; margin-bottom: 10px; }
.doc .tabel { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 15px; }
.doc .tabel th, .doc .tabel td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc .tabel th { color: var(--muted); font-size: 13px; font-weight: 600; }
.doc .tabel td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.doc footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.doc footer a { color: var(--ink-2); text-decoration: none; }
.doc footer a:hover { color: var(--accent); }
@media (max-width: 560px) { .doc nav.inhoud ol { columns: 1; } .doc section ol > li { padding-left: 36px; } .doc header { margin-bottom: 32px; } }
@media print {
  body.doc { padding: 0; font-size: 11pt; }
  .doc header a.terug, .doc nav.inhoud { display: none; }
  .doc .gegevens { background: none; }
}

/* ===== Betaalpagina's (betalen, betaald) ===== */
body.pay { background: var(--soft); display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100dvh;
  padding: 28px max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.pay header { width: 100%; max-width: 440px; margin-bottom: 24px; }
.pay header img { height: 30px; width: auto; }
.pay main { width: 100%; max-width: 440px; flex: 1; }
.pay .kaart { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px; box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 12px 32px rgba(11,18,32,.06); }
.pay .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.pay .omschrijving { font-size: 17px; font-weight: 600; margin-top: 4px; }
.pay .bedrag { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 20px 0 24px; font-variant-numeric: tabular-nums; }
.pay .knop { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px;
  background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: 6px; font: 600 16px/1 var(--sans);
  cursor: pointer; text-decoration: none; transition: background-color .15s; -webkit-tap-highlight-color: transparent; }
.pay .knop:hover { background: var(--accent-press); }
.pay .knop:disabled { opacity: .6; cursor: default; }
.pay .knop.secundair { background: var(--white); color: var(--ink); border-color: #C9D0DB; }
.pay .knop.secundair:hover { border-color: var(--ink); }
.pay .veilig { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; margin-top: 14px; }
.pay .veilig svg { flex: none; margin-top: 3px; }
.pay .status-icoon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.pay .status-icoon.ok { background: var(--ok-wash); color: var(--ok); }
.pay .status-icoon.let-op { background: var(--warn-wash); color: var(--warn); }
.pay .status-icoon.bezig { background: var(--soft); color: var(--muted); }
.pay .status-icoon.bezig svg { animation: draai 1s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
.pay h1 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.pay p, .pay p.toelichting { color: var(--ink-2); }
.pay .test { display: inline-block; margin-bottom: 16px; padding: 3px 10px; border-radius: 40px; font-size: 13px; font-weight: 600; background: var(--warn-wash); color: var(--warn); }
.pay .laden .balk { height: 14px; border-radius: 7px; background: var(--line); animation: puls 1.2s ease-in-out infinite; }
.pay .laden .balk + .balk { margin-top: 12px; }
@keyframes puls { 50% { opacity: .5; } }
.pay .overmaken { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay .overmaken .label { margin-bottom: 10px; }
.pay .gegevens { display: grid; gap: 8px; }
.pay .gegevens .rij { display: flex; align-items: center; gap: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 10px 14px; }
.pay .gegevens .tekst { flex: 1; min-width: 0; }
.pay .gegevens .k { font-size: 13px; color: var(--muted); }
.pay .gegevens .v { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay .kopieer { flex: none; min-height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid #C9D0DB; background: var(--white); color: var(--ink);
  font: 600 14px/1 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pay .kopieer:hover { border-color: var(--ink); }
.pay .kopieer.klaar { color: var(--ok); border-color: var(--ok); }
.pay footer { width: 100%; max-width: 440px; margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.8; }
.pay footer a { color: var(--ink-2); text-decoration: none; }
.pay footer a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .pay .laden .balk, .pay .status-icoon.bezig svg { animation: none; } .pay .knop { transition: none; } }
.pay .kaart > a.knop { margin-top: 20px; }
