/* TaxReady base.css - shared design system (docs/DESIGN-PLAN.md sections 3 and 4; usage guide: docs/DESIGN-SYSTEM.md).
   Tokens, reset, typography, layout, components, utilities. Strict CSP: no @import, no url(), no fonts, no images.
   Theme follows the OS (prefers-color-scheme); there is no manual toggle. Page CSS adds layout only. */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light dark;
  /* colour (light) */
  --c-bg: #f7f6f2;
  --c-surface: #ffffff;
  --c-surface-2: #efede6;
  --c-line: #dcd9cf;
  --c-border-strong: #76817b;
  --c-text: #1b2420;
  --c-muted: #4b5650;
  --c-primary: #1e5a43;
  --c-primary-hover: #164634;
  --c-on-primary: #ffffff;
  --c-primary-soft: #e3efe8;
  --c-focus: #9c3f1a;
  --c-success: #1d6b3a; --c-success-bg: #e7f3ec; --c-success-line: #b9dcc6;
  --c-danger: #a3261b; --c-danger-bg: #fcecea; --c-danger-line: #efc2bd;
  --c-warning-ink: #7a5300; --c-warning-bg: #fbf1d4; --c-warning-line: #e6cf8f;
  --c-marker: #fde3d4;
  /* derived: text links and input fill differ per scheme */
  --c-link: var(--c-primary);
  --c-field-bg: var(--c-surface);

  /* type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --fs-display: clamp(2.125rem, 1.6rem + 1.6vw, 2.75rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 0.9vw, 2rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + 0.25vw, 1.3125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 1rem;
  --fs-eyebrow: 0.875rem;
  --fs-price: clamp(2.75rem, 2.2rem + 1.8vw, 3.5rem);

  /* spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* radii, shadows */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(27 36 32 / .06);
  --sh-2: 0 1px 2px rgb(27 36 32 / .05), 0 8px 24px -6px rgb(27 36 32 / .10);
  --sh-3: 0 2px 4px rgb(27 36 32 / .04), 0 24px 48px -12px rgb(27 36 32 / .16);

  /* layout */
  --w-page: 1120px; --w-text: 680px; --w-checkout: 960px; --w-form: 560px; --w-auth: 440px;
  --gutter: 16px;
  --header-h: 56px;
  --ease: 120ms ease-out;
}
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #111816;
    --c-surface: #18211e;
    --c-surface-2: #202b27;
    --c-line: #2c3833;
    --c-border-strong: #6e7d76;
    --c-text: #e8eeea;
    --c-muted: #a7b4ad;
    --c-primary: #6fc79f;
    --c-primary-hover: #90d6b6;
    --c-on-primary: #0d2219;
    --c-primary-soft: #1a2c24;
    --c-focus: #f4b9a0;
    --c-success: #74d39c; --c-success-bg: #16271e; --c-success-line: #2d5a3f;
    --c-danger: #ff9a8f; --c-danger-bg: #2a1a18; --c-danger-line: #6b302a;
    --c-warning-ink: #e8b85c; --c-warning-bg: #2a2412; --c-warning-line: #5c4a1c;
    --c-marker: #3a2a22;
    --c-link: var(--c-primary-hover);
    --c-field-bg: var(--c-bg);
    --sh-1: none; --sh-2: none; --sh-3: none;
  }
}
@media (min-width: 720px) { :root { --gutter: 24px; --header-h: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font: 400 var(--fs-body)/1.6 var(--font); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding-left: 1.25em; }
img, picture, video, canvas { max-width: 100%; }
img, video { height: auto; }
svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-5) 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:target { scroll-margin-top: var(--sp-6); }

a { color: var(--c-link); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-focus); outline-offset: 2px;
}
:where([tabindex="-1"]):focus:not(:focus-visible) { outline: 0; }
::selection { background: var(--c-primary-soft); color: var(--c-text); }
mark, .mark { background: var(--c-marker); color: var(--c-text); border-radius: var(--r-sm); padding: 0 .2em; }

/* ---------- 3. Typography ---------- */
h1, .display { font-size: var(--fs-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; text-wrap: balance; }
h4, h5, h6 { font-size: var(--fs-body); line-height: 1.4; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.eyebrow { font-size: var(--fs-eyebrow); line-height: 1.4; font-weight: 600; letter-spacing: .01em; color: var(--c-primary); }
.price, .num, [data-amount] { font-variant-numeric: tabular-nums; }
.price { font-size: var(--fs-price); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
strong, b, .semibold { font-weight: 600; }
.measure { max-width: 68ch; }
.muted { color: var(--c-muted); }
.prose > * + * { margin-top: var(--sp-4); }
.prose > * + h2 { margin-top: var(--sp-7); }
.prose > * + h3 { margin-top: var(--sp-5); }
.prose { max-width: 68ch; }
.link-quiet { text-decoration: none; font-weight: 600; color: var(--c-text); }
.link-quiet:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- 4. Layout: containers, sections, utilities ---------- */
.container { --w: var(--w-page); width: 100%; max-width: calc(var(--w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-text { --w: var(--w-text); }
.container-checkout { --w: var(--w-checkout); }
.container-form { --w: var(--w-form); }
.container-auth { --w: var(--w-auth); }
.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page > main { flex: 1 0 auto; }
.section { padding-block: var(--sp-8); }
.section-sm { padding-block: var(--sp-6); }
.band { background: var(--c-surface-2); }
.panel { background: var(--c-surface-2); border-radius: var(--r-xl); padding: var(--sp-5); }

.stack-1 > * + * { margin-top: var(--sp-1); }
.stack-2 > * + * { margin-top: var(--sp-2); }
.stack-3 > * + * { margin-top: var(--sp-3); }
.stack-4 > * + * { margin-top: var(--sp-4); }
.stack-5 > * + * { margin-top: var(--sp-5); }
.stack-6 > * + * { margin-top: var(--sp-6); }
.stack-7 > * + * { margin-top: var(--sp-7); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.cluster-4 { gap: var(--sp-4); }
.cluster-between { justify-content: space-between; }
.center { text-align: center; }
.center-block { margin-inline: auto; }
.cluster.center { justify-content: center; }
.grid { display: grid; gap: var(--sp-4); }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4) !important; }
.mt-5 { margin-top: var(--sp-5) !important; }
.mt-6 { margin-top: var(--sp-6) !important; }
.mb-0 { margin-bottom: 0 !important; }
.nowrap { white-space: nowrap; }
@media (max-width: 719.98px) { .hide-sm { display: none !important; } }  /* hidden below 720 px */
@media (max-width: 479.98px) { .hide-xs { display: none !important; } }  /* hidden below 480 px */

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-2); top: var(--sp-2); z-index: 100;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--c-surface); color: var(--c-text); font-weight: 600; text-decoration: none;
  border: 2px solid var(--c-primary);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

@media (min-width: 480px) {
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .section { padding-block: var(--sp-9); }
  .section-sm { padding-block: var(--sp-7); }
  .panel { padding: var(--sp-6); }
  .grid { gap: var(--sp-5); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .show-sm { display: none !important; }    /* visible only below 720 px */
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-width: 44px; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-md);
  font-size: var(--fs-label); line-height: 1.2; font-weight: 600; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn svg, .btn img { flex: none; width: 20px; height: 20px; }
.btn-md { min-height: 44px; padding: 0 20px; font-size: var(--fs-label); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: var(--fs-small); }  /* touch target stays 44 px */
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
@media (max-width: 479.98px) { .btn-block-xs, form .btn-primary[type="submit"] { display: flex; width: 100%; } }

.btn-primary { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.btn-primary:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); }
.btn-primary:active { background: var(--c-primary-hover); border-color: var(--c-primary-hover); box-shadow: inset 0 2px 0 rgb(0 0 0 / .12); }
.btn-secondary { background: var(--c-surface); border-color: var(--c-border-strong); color: var(--c-text); }
.btn-secondary:hover { background: var(--c-surface-2); }
.btn-secondary:active { background: var(--c-line); }
.btn-ghost { background: transparent; color: var(--c-link); padding-inline: 12px; }
.btn-ghost:hover, .btn-ghost:active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled {
  background: var(--c-surface-2); border-color: var(--c-line); color: var(--c-muted);
  cursor: not-allowed; box-shadow: none; text-decoration: none;
}
.btn-ghost:disabled, .btn-ghost[aria-disabled="true"] { background: transparent; border-color: transparent; }
/* busy: JS swaps the label to "Bezig..." and locks min-width inline via a class on the page (no inline style here) */
.btn[aria-busy="true"], .btn.is-loading { cursor: progress; pointer-events: none; }
.btn[aria-busy="true"]::after, .btn.is-loading::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .btn[aria-busy="true"]::after, .btn.is-loading::after { animation: bw-spin .8s linear infinite; }
}
@keyframes bw-spin { to { transform: rotate(360deg); } }

/* ---------- 6. Header, language switch ---------- */
.site-header { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.site-header-inner { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--header-h); flex-wrap: nowrap; }
.site-logo { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; flex: none; color: var(--c-text); text-decoration: none; }
.site-logo img, .site-logo svg { width: 28px; height: 28px; flex: none; }
.site-logo-text { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: var(--c-text); white-space: nowrap; }
.site-nav { display: none; align-items: center; gap: var(--sp-5); margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--c-text); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; flex: none; }
.site-actions .btn-secondary { padding-inline: 16px; }
@media (max-width: 479.98px) {  /* "Inloggen" turns into a ghost button so the header stays one row at 320 px */
  .site-actions .btn-secondary { background: transparent; border-color: transparent; color: var(--c-link); padding-inline: 8px; }
  .site-actions .btn-secondary:hover { text-decoration: underline; text-decoration-thickness: 2px; }
}
@media (min-width: 720px) {
  .site-logo img, .site-logo svg { width: 32px; height: 32px; }
  .site-logo-text { font-size: 1.1875rem; }
  .site-actions { gap: var(--sp-3); }
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-actions { margin-left: var(--sp-5); }
}

.lang-switch {
  display: inline-flex; align-items: center; padding: 2px;
  border: 1px solid var(--c-border-strong); border-radius: var(--r-pill); background: var(--c-surface);
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 4px;
  border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; line-height: 1;
  color: var(--c-muted); text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}
.lang-switch a:hover { color: var(--c-text); }
.lang-switch a[aria-current="true"] { background: var(--c-primary-soft); color: var(--c-link); }
@media (max-width: 479.98px) {  /* show only the other language, as one 44x44 pill */
  .lang-switch { padding: 0; border: 0; background: transparent; }
  .lang-switch a { width: 44px; height: 44px; border: 1px solid var(--c-border-strong); color: var(--c-text); }
  .lang-switch a[aria-current="true"] { display: none; }
}

/* ---------- 7. Cards, panels ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: var(--sp-5); }
.card-xl { border-radius: var(--r-xl); padding: var(--sp-5); box-shadow: var(--sh-3); }
.card > * + * { margin-top: var(--sp-3); }
.card > h2 + *, .card > h3 + * { margin-top: var(--sp-2); }
@media (max-width: 719.98px) { .card:not(.card-xl) { padding: 20px; } }
@media (min-width: 720px) { .card-xl { padding: var(--sp-6); } }
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--c-primary-soft); color: var(--c-link); font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.4;
}
.chip-source { border-radius: var(--r-sm); padding: 2px 8px; background: var(--c-surface-2); color: var(--c-muted); font-weight: 400; }

/* ---------- 8. Forms ---------- */
.field { display: grid; gap: var(--sp-2); min-width: 0; }
.field + .field, .form > * + *, form > .field + .btn, form > .field + .cluster { margin-top: var(--sp-5); }
.field-label, .field > label { font-size: var(--fs-label); line-height: 1.4; font-weight: 600; color: var(--c-text); }
.field-optional { font-size: var(--fs-small); font-weight: 400; color: var(--c-muted); }
.field-hint { font-size: var(--fs-small); line-height: 1.5; color: var(--c-muted); }

.input, .field :is(input, select, textarea):not([type="checkbox"], [type="radio"]) {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  background-color: var(--c-field-bg); color: var(--c-text);
  border: 1px solid var(--c-border-strong); border-radius: var(--r-md);
  font-size: var(--fs-body); line-height: 1.4;
  transition: border-color var(--ease), background-color var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.input:hover, .field :is(input, select, textarea):not([type="checkbox"], [type="radio"]):hover { border-color: var(--c-text); }
/* second border pixel is an inset shadow so the 1 px -> 2 px change never moves the layout */
.input:focus, .field :is(input, select, textarea):not([type="checkbox"], [type="radio"]):focus {
  border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary);
  outline: 3px solid var(--c-focus); outline-offset: 2px;
}
.input[aria-invalid="true"], .field :is(input, select, textarea)[aria-invalid="true"], .field.is-invalid :is(input, select, textarea):not([type="checkbox"], [type="radio"]) {
  border-color: var(--c-danger); box-shadow: inset 0 0 0 1px var(--c-danger);
}
.input:disabled, .field :is(input, select, textarea):disabled {
  background-color: var(--c-surface-2); color: var(--c-muted); border-color: var(--c-line); cursor: not-allowed;
}
.input[readonly], .field :is(input, textarea)[readonly] { background-color: var(--c-surface-2); }

/* error / success / rule lines: the icon is a text glyph in a small disc (no image, no data URI) */
.field-error, .field-success, .field-rule { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-small); line-height: 1.5; }
.field-error { font-weight: 600; color: var(--c-danger); }
.field-success { font-weight: 600; color: var(--c-success); }
.field-rule { color: var(--c-muted); }
.field-error::before, .field-success::before, .alert::before {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  font-size: 11px; line-height: 1; font-weight: 700; color: var(--c-surface);
}
.field-error::before { content: "!"; background: var(--c-danger); }
.field-success::before { content: "\2713"; background: var(--c-success); }
.field-rule::before { content: "\25CB"; flex: none; width: 16px; text-align: center; }
.field-rule.is-met { color: var(--c-success); font-weight: 600; }
.field-rule.is-met::before { content: "\2713"; }
.field-error:empty, .field-success:empty { display: none; }

.pw-wrap { position: relative; }
.pw-wrap > input { padding-right: 96px !important; }
.pw-toggle {
  position: absolute; top: 4px; right: 4px; height: 40px; min-width: 44px; padding: 0 12px;
  background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border-strong); border-radius: var(--r-sm);
  font-size: var(--fs-small); font-weight: 600; line-height: 1;
  transition: background-color var(--ease);
}
.pw-toggle:hover { background: var(--c-surface-2); }
.pw-toggle:active { background: var(--c-line); }

.check { display: flex; align-items: flex-start; gap: var(--sp-3); min-height: 44px; padding-block: 10px; cursor: pointer; }
.check input[type="checkbox"], .field input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; position: relative; flex: none; margin: 0; width: 24px; height: 24px;
  background: var(--c-field-bg); border: 2px solid var(--c-border-strong); border-radius: var(--r-sm); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease);
}
.check input[type="checkbox"]:hover { border-color: var(--c-text); }
.check input[type="checkbox"]:checked { background: var(--c-primary); border-color: var(--c-primary); }
.check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px;
  border: solid var(--c-on-primary); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check input[type="checkbox"][aria-invalid="true"] { border-color: var(--c-danger); }
.check input[type="checkbox"]:disabled { background: var(--c-surface-2); border-color: var(--c-line); cursor: not-allowed; }
.check > span { line-height: 1.45; }
.field-error-summary a { color: inherit; font-weight: 600; }

/* ---------- 9. Alerts ---------- */
.alert {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--sp-3);
  padding: var(--sp-4) 20px; border-radius: var(--r-md);
  border: 1px solid var(--c-line); border-left: 4px solid var(--c-text);
  background: var(--c-surface-2); color: var(--c-text);
}
.alert::before { content: "i"; grid-column: 1; grid-row: 1; width: 20px; height: 20px; margin-top: 1px; font-size: 13px; }
.alert > * { grid-column: 2; }
.alert > * + * { margin-top: var(--sp-2); }
.alert-title { font-weight: 700; font-size: var(--fs-body); line-height: 1.4; }
.alert ul, .alert ol { padding-left: 1.1em; }
.alert li + li { margin-top: var(--sp-2); }
.alert a { color: inherit; }
.alert-info { background: var(--c-primary-soft); border-color: var(--c-line); border-left-color: var(--c-primary); }
.alert-info::before { background: var(--c-primary); color: var(--c-on-primary); }
.alert-info .alert-title { color: var(--c-link); }
.alert-success { background: var(--c-success-bg); border-color: var(--c-success-line); border-left-color: var(--c-success); }
.alert-success::before { content: "\2713"; background: var(--c-success); }
.alert-success .alert-title { color: var(--c-success); }
.alert-warning { background: var(--c-warning-bg); border-color: var(--c-warning-line); border-left-color: var(--c-warning-ink); }
.alert-warning::before { content: "!"; background: var(--c-warning-ink); color: var(--c-warning-bg); }
.alert-warning .alert-title { color: var(--c-warning-ink); }
.alert-danger { background: var(--c-danger-bg); border-color: var(--c-danger-line); border-left-color: var(--c-danger); }
.alert-danger::before { content: "!"; background: var(--c-danger); }
.alert-danger .alert-title { color: var(--c-danger); }
.alert:focus { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ---------- 10. Price card ---------- */
.price-card {
  width: 100%; max-width: 440px; padding: var(--sp-5);
  background: var(--c-surface); border: 2px solid var(--c-primary); border-radius: var(--r-xl); box-shadow: var(--sh-2);
}
.price-card .eyebrow { display: block; }
.price-card .price { display: block; margin-top: var(--sp-2); }
.price-note { margin-top: var(--sp-2); color: var(--c-muted); }
.price-card hr { margin: var(--sp-5) 0; }
.price-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.price-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.price-list li::before { content: "\2713"; flex: none; width: 16px; margin-top: 1px; color: var(--c-primary); font-weight: 700; text-align: center; }
.price-fine { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--c-muted); text-align: center; }
@media (min-width: 720px) { .price-card { padding: var(--sp-6); } }

/* ---------- 11. Steps, benefits, trust strip ---------- */
.steps { --step-media-h: 160px; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); counter-reset: none; }
.step-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "media badge" "media title" "media text"; column-gap: var(--sp-4); align-content: start; position: relative; }
.step-media { grid-area: media; align-self: start; aspect-ratio: 3 / 2; border-radius: var(--r-md); background: var(--c-surface-2); overflow: hidden; }
.step-media img, .step-media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.step-badge {
  grid-area: badge; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); background: var(--c-primary-soft); color: var(--c-link); font-size: var(--fs-small); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-title { grid-area: title; margin-top: var(--sp-2); font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
.step-text { grid-area: text; margin-top: var(--sp-1); color: var(--c-muted); font-size: var(--fs-small); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-5); } }
@media (min-width: 720px) {
  .step-card { display: block; }
  .step-media { width: 100%; height: var(--step-media-h); aspect-ratio: auto; border-radius: var(--r-lg); margin-bottom: var(--sp-4); }
  .step-title { margin-top: var(--sp-3); }
  .step-text { margin-top: var(--sp-2); font-size: var(--fs-body); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step-card:not(:last-child)::after {  /* decorative dashed connector between badges */
    content: ""; position: absolute; left: 44px; right: calc(-1 * var(--sp-5) + 8px);
    top: calc(var(--step-media-h) + var(--sp-4) + 15px); border-top: 2px dashed var(--c-line);
  }
}

.benefit-row { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.benefit-icon { display: block; width: 48px; height: 48px; margin-bottom: var(--sp-3); }
.benefit-title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
.benefit-text { margin-top: var(--sp-2); color: var(--c-muted); }
@media (min-width: 720px) { .benefit-row { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

.trust-strip {
  list-style: none; margin: 0; padding: var(--sp-5) 0; border-block: 1px solid var(--c-line);
  display: grid; gap: var(--sp-3); align-items: start;
}
.trust-strip > * { display: flex; align-items: flex-start; gap: var(--sp-3); font-weight: 600; line-height: 1.4; font-size: var(--fs-label); }
.trust-icon { flex: none; width: 24px; height: 24px; }
@media (min-width: 480px) { .trust-strip { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-5); } }
@media (min-width: 1024px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. Footer, details ---------- */
.site-footer { background: var(--c-bg); border-top: 1px solid var(--c-line); padding-block: var(--sp-7); color: var(--c-muted); font-size: var(--fs-small); line-height: 1.5; }
.footer-grid { display: grid; gap: var(--sp-6); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-text); text-decoration: none; font-weight: 600; font-size: var(--fs-label); }
.footer-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-footer .site-logo-text { font-size: 1.0625rem; }
.footer-note { margin-top: var(--sp-3); max-width: 36ch; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-7); } .site-footer { padding-block: var(--sp-7) var(--sp-6); } }

.faq details { border-top: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 52px; padding-block: var(--sp-2); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--c-link); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { padding-bottom: var(--sp-4); color: var(--c-muted); }

/* ---------- 13. Preferences and forced colours ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid Highlight; }
  .btn, .pw-toggle { border: 1px solid ButtonText; }
  .btn-primary { background: ButtonFace; color: ButtonText; border-width: 2px; }
  .btn:disabled, .btn[aria-disabled="true"] { border-color: GrayText; color: GrayText; }
  .alert { border: 1px solid CanvasText; border-left-width: 4px; }
  .price-card { border: 2px solid CanvasText; }
  .card, .lang-switch { border: 1px solid CanvasText; }
  .lang-switch a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; border: 1px solid Highlight; }
  .check input[type="checkbox"]:checked { background: Highlight; border-color: Highlight; }
  .check input[type="checkbox"]:checked::after { border-color: HighlightText; }
  .input, .field :is(input, select, textarea) { border-color: FieldText; }
  .field select { background-image: none; }
  .field-error::before, .field-success::before, .alert::before { border: 1px solid CanvasText; }
}

/* long Dutch compounds (Toegankelijkheidsverklaring) must wrap, not widen the page at 320-390 px */
h1, h2, h3 { overflow-wrap: break-word; }
