/*
 * Vakbureau.nl, hoofdstylesheet
 * Mobile first. Kleuren voldoen aan WCAG AA (tekst minimaal 4.5:1).
 * Oranje (#F97316) wordt alleen als vlakkleur met donkere tekst gebruikt; voor
 * oranje tekst op wit gebruiken we --accent-ink (#C2410C, 5.2:1).
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0F172A;
  --ink-2: #1E293B;
  --ink-3: #334155;
  --text: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --bg: #FAFAFB;
  --bg-2: #F2F4F7;
  --tint: #FFF4EB;
  --surface: #FFFFFF;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-ink: #C2410C;
  --accent-soft: #FFF7ED;
  --accent-line: #FED7AA;
  --success: #15803D;
  --success-soft: #F0FDF4;
  --success-line: #BBF7D0;
  --danger: #B91C1C;
  --danger-soft: #FEF2F2;
  --danger-line: #FECACA;
  --warning: #92400E;
  --warning-soft: #FFFBEB;
  --warning-line: #FDE68A;
  --info: #1D4ED8;
  --info-soft: #EFF6FF;
  --info-line: #BFDBFE;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 2px 6px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 80px -40px rgba(15, 23, 42, .45);
  --shadow-cta: 0 12px 28px -12px rgba(234, 88, 12, .7);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --gutter: 16px;
  /* Thema-tokens (feature 44): lichte waarden zijn exact de oude vaste kleuren */
  --on-accent: #0F172A;
  --inverse: #0F172A;
  --inverse-hover: #1E293B;
  --on-inverse: #FFFFFF;
  --on-inverse-muted: #CBD5E1;
  --inverse-shadow: rgba(15, 23, 42, .8);
  --navy: #0F172A;
  --navy-edge: transparent;
  --navy-tile: #0F172A;
  --selected: #0F172A;
  --success-fill: #15803D;
  --success-fill-hover: #166534;
  --success-text: #14532D;
  --danger-text: #7F1D1D;
  --warning-text: #78350F;
  --info-text: #1E3A8A;
  --accent-text: #7C2D12;
  --header-bg: rgba(250, 250, 251, .82);
  --header-line: rgba(226, 232, 240, .8);
  --header-solid: #FAFAFB;
  --logo-ink: #0F172A;
  --logo-tld: #C2410C;
  --logo-mark-edge: transparent;
  --logo-mark-radius: 0;
  --hero-top: #FFFFFF;
  --glow-accent: rgba(249, 115, 22, .13);
  --glow-accent-soft: rgba(249, 115, 22, .10);
  --glow-teal: rgba(14, 116, 144, .07);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --input-bg: #FFFFFF;
  --backdrop: rgba(15, 23, 42, .5);
  --chip-bg: rgba(255, 255, 255, .96);
  --photo-filter: none;
  --admin-bg: #F5F6F8;
  --admin-th: #FAFAFB;
  --row-hover: #FBFBFC;
  --mail-bg: #FFFFFF;
  color-scheme: light dark;
}

/* ---------- Donkere weergave (feature 44) ----------
 * Volgt het apparaat (prefers-color-scheme) tenzij de bezoeker zelf kiest:
 * theme.js zet dan data-theme="light" of "dark" op <html> voor de eerste weergave.
 * Alleen tokens wisselen; de twee blokken hieronder zijn identiek: wijzig ze altijd samen.
 * Alleen op scherm, zodat afdrukken (facturen, checklist, rapport) altijd licht blijft.
 */
:root[data-theme="light"] { color-scheme: light; }
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #F8FAFC;
    --ink-2: #1A2438;
    --ink-3: #CBD5E1;
    --text: #E5E7EB;
    --text-muted: #94A3B8;
    --text-subtle: #8A99AE;
    --line: #1F2A3D;
    --line-strong: #2B3850;
    --bg: #0B1120;
    --bg-2: #172033;
    --tint: rgba(249, 115, 22, .12);
    --surface: #111827;
    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-ink: #FB923C;
    --accent-soft: rgba(249, 115, 22, .10);
    --accent-line: rgba(249, 115, 22, .38);
    --success: #4ADE80;
    --success-soft: rgba(34, 197, 94, .12);
    --success-line: rgba(34, 197, 94, .35);
    --danger: #F87171;
    --danger-soft: rgba(239, 68, 68, .12);
    --danger-line: rgba(239, 68, 68, .40);
    --warning: #FBBF24;
    --warning-soft: rgba(245, 158, 11, .12);
    --warning-line: rgba(245, 158, 11, .35);
    --info: #60A5FA;
    --info-soft: rgba(59, 130, 246, .12);
    --info-line: rgba(59, 130, 246, .40);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, .9);
    --shadow-cta: 0 12px 28px -12px rgba(234, 88, 12, .45);
    --on-accent: #0F172A;
    --inverse: #E2E8F0;
    --inverse-hover: #CBD5E1;
    --on-inverse: #0F172A;
    --on-inverse-muted: #475569;
    --inverse-shadow: rgba(0, 0, 0, .5);
    --navy: #060A13;
    --navy-edge: #1F2A3D;
    --navy-tile: #253149;
    --selected: #F97316;
    --success-fill: #15803D;
    --success-fill-hover: #166534;
    --success-text: #86EFAC;
    --danger-text: #FCA5A5;
    --warning-text: #FCD34D;
    --info-text: #93C5FD;
    --accent-text: #FDBA74;
    --header-bg: rgba(11, 17, 32, .82);
    --header-line: rgba(43, 56, 80, .7);
    --header-solid: #0B1120;
    --logo-ink: #F8FAFC;
    --logo-tld: #FB923C;
    --logo-mark-edge: rgba(148, 163, 184, .4);
    --logo-mark-radius: 21.875%;
    --hero-top: #0F1729;
    --glow-accent: rgba(249, 115, 22, .09);
    --glow-accent-soft: rgba(249, 115, 22, .07);
    --glow-teal: rgba(14, 116, 144, .10);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --input-bg: #0D1424;
    --backdrop: rgba(2, 6, 16, .72);
    --chip-bg: rgba(23, 32, 51, .96);
    --photo-filter: brightness(.92);
    --admin-bg: #0B1120;
    --admin-th: #0E1526;
    --row-hover: #141D2E;
    --mail-bg: #111827;
  }
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #F8FAFC;
    --ink-2: #1A2438;
    --ink-3: #CBD5E1;
    --text: #E5E7EB;
    --text-muted: #94A3B8;
    --text-subtle: #8A99AE;
    --line: #1F2A3D;
    --line-strong: #2B3850;
    --bg: #0B1120;
    --bg-2: #172033;
    --tint: rgba(249, 115, 22, .12);
    --surface: #111827;
    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-ink: #FB923C;
    --accent-soft: rgba(249, 115, 22, .10);
    --accent-line: rgba(249, 115, 22, .38);
    --success: #4ADE80;
    --success-soft: rgba(34, 197, 94, .12);
    --success-line: rgba(34, 197, 94, .35);
    --danger: #F87171;
    --danger-soft: rgba(239, 68, 68, .12);
    --danger-line: rgba(239, 68, 68, .40);
    --warning: #FBBF24;
    --warning-soft: rgba(245, 158, 11, .12);
    --warning-line: rgba(245, 158, 11, .35);
    --info: #60A5FA;
    --info-soft: rgba(59, 130, 246, .12);
    --info-line: rgba(59, 130, 246, .40);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, .9);
    --shadow-cta: 0 12px 28px -12px rgba(234, 88, 12, .45);
    --on-accent: #0F172A;
    --inverse: #E2E8F0;
    --inverse-hover: #CBD5E1;
    --on-inverse: #0F172A;
    --on-inverse-muted: #475569;
    --inverse-shadow: rgba(0, 0, 0, .5);
    --navy: #060A13;
    --navy-edge: #1F2A3D;
    --navy-tile: #253149;
    --selected: #F97316;
    --success-fill: #15803D;
    --success-fill-hover: #166534;
    --success-text: #86EFAC;
    --danger-text: #FCA5A5;
    --warning-text: #FCD34D;
    --info-text: #93C5FD;
    --accent-text: #FDBA74;
    --header-bg: rgba(11, 17, 32, .82);
    --header-line: rgba(43, 56, 80, .7);
    --header-solid: #0B1120;
    --logo-ink: #F8FAFC;
    --logo-tld: #FB923C;
    --logo-mark-edge: rgba(148, 163, 184, .4);
    --logo-mark-radius: 21.875%;
    --hero-top: #0F1729;
    --glow-accent: rgba(249, 115, 22, .09);
    --glow-accent-soft: rgba(249, 115, 22, .07);
    --glow-teal: rgba(14, 116, 144, .10);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --input-bg: #0D1424;
    --backdrop: rgba(2, 6, 16, .72);
    --chip-bg: rgba(23, 32, 51, .96);
    --photo-filter: brightness(.92);
    --admin-bg: #0B1120;
    --admin-th: #0E1526;
    --row-hover: #141D2E;
    --mail-bg: #111827;
  }
}
@media print {
  :root, :root[data-theme] { color-scheme: light; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg.icon { flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 1.3rem + 4vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 1.1875rem; font-weight: 750; letter-spacing: -.015em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
strong { font-weight: 650; }
small { font-size: .875rem; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent-line); color: var(--ink); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--inverse); color: var(--on-inverse); padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 8px; color: var(--on-inverse); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.container-tight { max-width: 640px; }
.section { padding-block: 56px; }
.section-sm { padding-block: 36px; }
.section-white { background: var(--surface); }
.section-dark { background: var(--navy); color: #CBD5E1; box-shadow: inset 0 1px 0 var(--navy-edge), inset 0 -1px 0 var(--navy-edge); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #FDBA74; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }
.section-head.text-center { margin-inline: auto; }
.section-head .eyebrow, .section-head-row .eyebrow { color: var(--accent-ink); font-size: 1rem; }
.section-dark .section-head .eyebrow { color: #FDBA74; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-head-row h2 { margin: 0; }
.eyebrow { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.005em; color: var(--accent-ink); margin-bottom: 10px; }
.section-dark .eyebrow { color: #FDBA74; }
@media (min-width: 768px) { .section { padding-block: 104px; } .section-sm { padding-block: 56px; } }

.grid { display: grid; gap: 20px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } }
.split-even { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .split-even { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); font-size: .875rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.lead { font-size: 1.125rem; color: var(--text-muted); }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }
.inline-form { display: inline; margin: 0; }
.nowrap { white-space: nowrap; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px;
  font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); box-shadow: 0 16px 32px -12px rgba(234, 88, 12, .8); }
.btn-secondary { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); box-shadow: 0 12px 28px -14px var(--inverse-shadow); }
.btn-secondary:hover { background: var(--inverse-hover); color: var(--on-inverse); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-ghost-inverse { background: transparent; color: #E2E8F0; border-color: rgba(255,255,255,.2); }
.btn-ghost-inverse:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger-line); }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-success { background: var(--success-fill); color: #fff; border-color: var(--success-fill); }
.btn-success:hover { background: var(--success-fill-hover); color: #fff; }
.btn-sm { min-height: 38px; padding: 7px 12px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; cursor: pointer; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; font-size: .75rem; font-weight: 700; line-height: 1.5;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-3);
  white-space: nowrap;
}
.badge-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.badge-success { background: var(--success-soft); border-color: var(--success-line); color: var(--success); }
.badge-warning { background: var(--warning-soft); border-color: var(--warning-line); color: var(--warning); }
.badge-danger { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.badge-info { background: var(--info-soft); border-color: var(--info-line); color: var(--info); }
.badge-dark { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.badge-kvk { background: var(--success-soft); border-color: var(--success-line); color: var(--success); }

/* ---------- Meldingen ---------- */
.flash-stack { padding-top: 16px; display: grid; gap: 8px; }
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.alert p { margin: 0; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--success-soft); border-color: var(--success-line); color: var(--success-text); }
.alert-error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger-text); }
.alert-warning { background: var(--warning-soft); border-color: var(--warning-line); color: var(--warning-text); }
.alert-info { background: var(--info-soft); border-color: var(--info-line); color: var(--info-text); }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.label-optional { font-weight: 400; color: var(--text-subtle); font-size: .875rem; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background-color: var(--input-bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 12px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(249, 115, 22, .35); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .875rem; color: var(--text-muted); margin: 0; }
.field-error { font-size: .875rem; color: var(--danger); margin: 0; font-weight: 500; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-subtle); pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .9375rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.check-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .check-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; margin-bottom: 10px; }

/* Keuzetegels (radio/checkbox als kaart) */
.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body {
  display: flex; gap: 12px; align-items: center; height: 100%;
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  transition: border-color .15s, background-color .15s;
}
.choice-body .icon { color: var(--ink-3); }
.choice-body strong { display: block; font-size: .9375rem; }
.choice-body small { color: var(--text-muted); display: block; }
.choice:hover .choice-body { border-color: var(--text-subtle); }
.choice input:checked + .choice-body { border-color: var(--selected); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--selected); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Kaarten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-header h2, .card-header h3 { margin: 0; font-size: 1.0625rem; }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@media (min-width: 768px) { .card-body { padding: 24px; } }
.card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); color: inherit; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--header-line); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--header-solid); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
/* Logo-component (partials/logo.php). Alle maten schalen met --logo-f (lettergrootte f). */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-lockup { display: inline-flex; align-items: center; gap: .409em; font-size: var(--logo-f, 22px); line-height: 1; }
.logo-lockup .logo-mark { display: block; flex-shrink: 0; height: 1.636em; width: 1.636em; }
.logo-lockup.logo-dark .logo-mark { height: .75em; width: calc(.75em * 21.83 / 14.66); }
.logo-word { font-family: var(--font); font-size: 1em; font-weight: 800; letter-spacing: -.025em; color: var(--logo-ink); white-space: nowrap; }
.logo-tld { color: var(--logo-tld); }
.logo-light .logo-mark { border-radius: var(--logo-mark-radius); box-shadow: 0 0 0 1px var(--logo-mark-edge); }
.logo-dark .logo-word { color: #FFFFFF; }
.logo-dark .logo-tld { color: #F97316; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer;
}
.nav-drawer {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--surface); padding: 16px var(--gutter) 32px; overflow-y: auto;
  border-top: 1px solid var(--line);
}
.nav-drawer.is-open { display: block; }
.nav-list { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-list a {
  display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-list a[aria-current="page"] { color: var(--accent-ink); }
.nav-actions { display: grid; gap: 10px; }
.nav-actions .btn { width: 100%; }
.nav-actions form .btn { width: 100%; }
body.nav-open { overflow: hidden; }
/* Open lade: backdrop-filter maakt de header het referentiekader voor position: fixed, waardoor de lade maar 49px hoog werd */
body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--header-solid); }

@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .nav-drawer {
    display: flex !important; position: static; padding: 0; border: 0; background: none; overflow: visible;
    align-items: center; gap: 16px; flex: 1; justify-content: space-between; margin-left: 24px;
  }
  .nav-list { display: flex; gap: 4px; margin: 0; }
  .nav-list a { border: 0; padding: 8px 12px; font-size: .9375rem; font-weight: 600; border-radius: var(--radius); color: var(--ink-3); white-space: nowrap; }
  .nav-list a:hover { background: var(--bg-2); color: var(--ink); }
  .nav-list a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  .nav-actions .btn, .nav-actions form .btn { width: auto; }
}

/* ---------- Kruimelpad ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .875rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .icon { color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); box-shadow: inset 0 1px 0 var(--navy-edge); color: #CBD5E1; margin-top: 0; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 40px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
.footer-brand p { margin: 16px 0 0; color: #94A3B8; }
.footer-brand a:not(.logo) { color: #E2E8F0; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.footer-brand a:not(.logo):hover { color: #fff; text-decoration: underline; }
.footer-title { font-size: .9375rem; font-weight: 700; letter-spacing: -.005em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #CBD5E1; text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #1E293B; font-size: .875rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px; }
.footer-bottom p { margin: 0; color: #94A3B8; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-block: 48px 56px;
  background:
    radial-gradient(42rem 28rem at 88% 8%, var(--glow-accent), transparent 70%),
    radial-gradient(36rem 26rem at 2% 100%, var(--glow-teal), transparent 70%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding-block: 88px 104px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero h1 { margin-bottom: 22px; max-width: 12ch; }
.hero .lead { margin-bottom: 28px; max-width: 560px; }
.hero-form {
  display: grid; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); max-width: 640px; box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .hero-form { grid-template-columns: 1.3fr 1fr auto; align-items: end; } }
.hero-form .field label { font-size: .8125rem; color: var(--text-muted); font-weight: 600; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9375rem; font-weight: 500; color: var(--ink-3); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--success); background: var(--success-soft); border-radius: 999px; padding: 3px; width: 22px; height: 22px; }
.page-hero { background: radial-gradient(40rem 22rem at 92% 0%, var(--glow-accent-soft), transparent 70%), linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding-block: 40px 44px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.page-hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .page-hero { padding-block: 72px 76px; } }

/* ---------- Categorieën ---------- */
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--accent-line); color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-tile strong { font-size: 1rem; }
.cat-tile span { font-size: .875rem; color: var(--text-muted); line-height: 1.45; }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; background: var(--tint); color: var(--accent-ink); border: 0;
}
.icon-box-dark { background: var(--navy-tile); color: var(--accent); }
.icon-box-sm { width: 40px; height: 40px; border-radius: 10px; }

/* ---------- Klus-kaart ---------- */
.job-list { display: grid; gap: 14px; }
.job-card { display: grid; gap: 10px; padding: 18px 20px; position: relative; }
.job-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-card h3 { font-size: 1.0625rem; margin: 0; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.job-card h3 a:hover { text-decoration: underline; }
.job-card p { margin: 0; color: var(--text-muted); font-size: .9375rem; }
.meta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--text-muted); }
.meta-list li { display: inline-flex; align-items: center; gap: 6px; }
.meta-list .icon { color: var(--text-subtle); }
.job-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .875rem; }
.slots { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.slot-dots { display: inline-flex; gap: 3px; }
.slot-dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--line-strong); }
.slot-dots i.is-taken { background: var(--accent); }
.tag-urgent { color: var(--danger); background: var(--danger-soft); border-color: var(--danger-line); }

/* ---------- Vakman-kaart ---------- */
.pro-card { display: grid; gap: 12px; padding: 20px; position: relative; }
.pro-card-head { display: flex; gap: 14px; align-items: center; }
.pro-card h3 { margin: 0; font-size: 1.0625rem; }
.pro-card h3 a { color: var(--ink); text-decoration: none; }
.pro-card h3 a::after { content: ""; position: absolute; inset: 0; }
.pro-card h3 a:hover { text-decoration: underline; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy-tile); color: #fff;
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--text-muted); }
.stars { display: inline-flex; gap: 1px; }
.star { color: var(--line-strong); display: inline-flex; }
.star.is-on { color: #D97706; }
.star.is-on svg { fill: currentColor; }

/* ---------- Stappen ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "Stap " counter(step);
  display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 700; color: var(--accent-ink);
}
.step h3 { font-size: 1.0625rem; }
.step p { margin: 0; color: var(--text-muted); }
.section-dark .step { background: var(--ink-2); border-color: #334155; }
.section-dark .step::before { color: var(--accent); }
.section-dark .step p { color: #CBD5E1; }

/* ---------- Kenmerken / vertrouwen ---------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--text-muted); font-size: .9375rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 3px; }
.section-dark .check-list .icon { color: var(--accent); }

/* ---------- Linkmatrix (intern linken) ---------- */
.link-columns { columns: 1; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.link-columns li { break-inside: avoid; padding: 5px 0; }
.link-columns a { color: var(--ink-3); text-decoration: none; }
.link-columns a:hover { color: var(--accent-ink); text-decoration: underline; }
@media (min-width: 560px) { .link-columns { columns: 2; } }
@media (min-width: 900px) { .link-columns { columns: 3; } .link-columns.cols-4 { columns: 4; } }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: .875rem; font-weight: 550;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-3); text-decoration: none;
}
.chip-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--text-subtle); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq-answer { padding: 0 20px 18px; color: var(--text-muted); }
.faq .faq-answer p:last-child { margin: 0; }

/* ---------- Tabellen ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); background: var(--bg); font-weight: 650; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a { font-weight: 550; }

/* ---------- Definitielijst ---------- */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; font-size: .9375rem; }
.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }

/* ---------- Paginering ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 550;
}
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }

/* ---------- Lege toestand ---------- */
.empty-state { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state .icon-box { margin: 0 auto 14px; }
.empty-state h2, .empty-state h3 { font-size: 1.125rem; }
.empty-state p { color: var(--text-muted); max-width: 460px; margin-inline: auto; }

/* ---------- Vergrendelde contactgegevens ---------- */
.locked { position: relative; }
.locked-value { filter: blur(5px); user-select: none; pointer-events: none; color: var(--ink-3); }
.lock-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); font-size: .9375rem; color: var(--accent-text); }

/* ---------- Mobiele actiebalk (bijv. lead kopen) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
}
.action-bar-info { display: grid; line-height: 1.3; }
.action-bar-info strong { font-size: 1.0625rem; }
.action-bar-info span { font-size: .8125rem; color: var(--text-muted); }
.has-action-bar { padding-bottom: 84px; }
@media (min-width: 960px) { .action-bar { display: none; } .has-action-bar { padding-bottom: 0; } }

/* ---------- Lade (filters, acties op mobiel) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: var(--backdrop); z-index: 60; }
.drawer {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 20px var(--gutter) 24px;
  box-shadow: var(--shadow-lg);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head h2 { margin: 0; font-size: 1.125rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-2); }
@media (min-width: 960px) {
  .drawer-desktop-static { position: static; max-height: none; overflow: visible; box-shadow: none; border-radius: var(--radius-lg); padding: 0; background: none; display: block !important; }
  .drawer-desktop-static .drawer-head { display: none; }
  .drawer-only-mobile { display: none !important; }
}

/* ---------- Tekstpagina's (juridisch) ---------- */
.prose { max-width: 760px; font-size: 1rem; }
.prose h2 { font-size: 1.375rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.125rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-3); }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th { background: var(--bg); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; }
.toc ol { margin: 0; padding-left: 1.25em; font-size: .9375rem; }
.toc li + li { margin-top: 4px; }
.toc a { color: var(--ink-3); }

/* ---------- Galerij ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.gallery figcaption { font-size: .875rem; color: var(--text-muted); margin-top: 6px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button {
  padding: 10px 14px; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--text-muted); text-decoration: none; white-space: nowrap;
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
}
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs [aria-current="page"], .tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Diversen ---------- */
.notice { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--accent-text); }
.notice p:last-child { margin: 0; }
.divider-label { display: flex; align-items: center; gap: 12px; color: var(--text-subtle); font-size: .875rem; margin: 8px 0; }
.divider-label::before, .divider-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.price-tag { font-size: 1.75rem; font-weight: 750; color: var(--ink); letter-spacing: -.02em; }
.price-tag small { font-size: .9375rem; font-weight: 500; color: var(--text-muted); }
.illustration { width: 100%; height: auto; }
.cta-band { background: radial-gradient(30rem 16rem at 100% 0%, rgba(249, 115, 22, .28), transparent 70%), var(--navy); color: #CBD5E1; border-radius: var(--radius-xl); padding: 32px; display: grid; gap: 20px; box-shadow: inset 0 0 0 1px var(--navy-edge), var(--shadow-lg); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; }
@media (min-width: 768px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; } }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.auth-wrap { padding-block: 40px 64px; }
.auth-card { max-width: 480px; margin-inline: auto; }
.auth-card h1 { font-size: 1.75rem; }

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

@media print {
  .site-header, .site-footer, .action-bar, .breadcrumbs, .btn { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Klussen, vakmensengids en accounts (wizard, leadoverzicht, profielen)
   ========================================================================== */
.h3-size { font-size: 1.125rem; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth-card-wide { max-width: 760px; }
.meta-list-lg { font-size: .9375rem; gap: 8px 20px; }
.job-description p:last-child { margin-bottom: 0; }

/* Wizard */
.wizard { overflow: hidden; }
.wizard-step { padding: 20px; }
.wizard-step + .wizard-step { border-top: 1px solid var(--line); }
.wizard.is-enhanced .wizard-step + .wizard-step { border-top: 0; }
.wizard-step > legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; }
.wizard-step > legend + * { clear: both; }
.wizard-step > legend h2 { font-size: 1.25rem; margin: 2px 0 0; outline: none; }
.wizard-count { display: block; font-size: .8125rem; font-weight: 650; color: var(--accent-ink); }
.wizard-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.wizard-nav [data-prev] { margin-right: auto; }
.wizard-progress { list-style: none; margin: 0; padding: 14px 20px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.wizard-progress li { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; font-size: .8125rem; color: var(--text-subtle); }
.wizard-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; color: var(--text-muted); }
.wizard-label { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard-progress li[aria-current] { color: var(--ink); font-weight: 650; }
.wizard-progress li[aria-current] .wizard-label { display: inline; }
.wizard-progress li[aria-current] .wizard-num { background: var(--navy-tile); border-color: var(--navy-tile); color: var(--accent); }
.wizard-progress li.is-done .wizard-num { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
@media (min-width: 760px) { .wizard-label { display: inline; } .wizard-step { padding: 24px 28px; } .wizard-nav { padding: 16px 28px; } }
.suggestions { margin-top: 6px; display: grid; gap: 6px; }
.suggestions .btn { font-weight: 550; }
.input-file { padding: 9px; cursor: pointer; }
.photo-previews { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-previews img { width: 112px; height: 84px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.mini-steps { margin: 0; padding-left: 1.25em; display: grid; gap: 10px; color: var(--ink-3); font-size: .9375rem; }
.mini-steps strong { color: var(--ink); }

/* Leadoverzicht en gids */
.listing { display: grid; gap: 24px; }
@media (min-width: 960px) { .listing { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; } .listing > .drawer-desktop-static { position: sticky; top: calc(var(--header-h) + 20px); } }
.filter-form { gap: 14px; }
.drawer .filter-form.card { border: 0; box-shadow: none; padding: 0; }
@media (min-width: 960px) { .drawer-desktop-static .filter-form.card { border: 1px solid var(--line); padding: 20px; } }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-count { font-size: 1.0625rem; margin: 0; }
.search-bar { display: grid; gap: 10px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 900px) { .search-bar { grid-template-columns: 1.4fr 1fr .8fr .6fr auto; align-items: end; } }
.search-bar .field label { font-size: .8125rem; color: var(--text-muted); }

/* Profiel en reviews */
.profile-head { display: flex; gap: 18px; align-items: flex-start; }
.rating-summary { display: grid; gap: 20px; margin-bottom: 12px; }
@media (min-width: 640px) { .rating-summary { grid-template-columns: auto 1fr; align-items: center; gap: 32px; } }
.rating-score { display: grid; justify-items: start; gap: 4px; }
.rating-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .875rem; }
.rating-bars li { display: grid; grid-template-columns: 72px 1fr 28px; gap: 10px; align-items: center; }
.rating-bars .bar-track { height: 10px; background: var(--bg-2); border-radius: var(--radius-sm); overflow: hidden; }
.rating-bars .bar-fill { display: block; height: 100%; background: #D97706; }
.rating-bars .num { text-align: right; color: var(--text-muted); }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.review-head h3 { margin: 0; font-size: 1rem; }
.review > .subtle { margin: 4px 0 10px; }
.review p { color: var(--ink-3); }
.review-reply { margin-top: 10px; padding: 12px 14px; background: var(--bg); border-left: 3px solid var(--line-strong); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9375rem; }
.review-reply p:last-child { margin-bottom: 0; }
/* Einde blok klussen, vakmensengids en accounts */

/* ==========================================================================
   Publieke pagina's en SEO-landingspagina's (home, uitleg, juridisch, regio's)
   ========================================================================== */
.h3 { font-size: 1.1875rem; }
.h4 { font-size: 1rem; }
.icon.inline { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.hero-visual { display: none; }
@media (min-width: 960px) { .hero-visual { display: block; } }
.hero-visual .illustration { border-radius: var(--radius-lg); }
.audience-card { display: grid; gap: 12px; align-content: start; }
.audience-card h2 { margin: 4px 0 0; }
.audience-card p { margin: 0; }
.audience-card .btn { justify-self: start; }
.steps + .steps-label { margin-top: 40px; }
.steps-label { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); margin: 0 0 14px; }
.steps-label .icon { color: var(--accent-ink); }
@media (min-width: 1100px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) and (max-width: 1099px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
.region-blocks { display: grid; gap: 24px; }
.region-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.section-dark .feature p { color: #CBD5E1; }
.section-dark .feature h3 { color: #fff; }
.section-dark .icon-box { background: var(--ink-2); border-color: #334155; color: var(--accent); }
.faq-group-title { font-size: 1.25rem; margin: 32px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.faq-group-title:first-child { margin-top: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.plan-highlight { border-color: var(--selected); box-shadow: inset 0 0 0 1px var(--selected); }
.legal-layout aside { order: -1; }
@media (min-width: 960px) { .legal-layout aside { order: 0; } }
.prose code { font-size: .875em; background: var(--bg-2); padding: 1px 5px; border-radius: var(--radius-sm); }
/* Einde blok publieke pagina's */

/* Klussen en accounts, aanvulling: vakmensen zonder KVK (particulier) */
.type-choice { display: grid; gap: 10px; }
@media (min-width: 640px) { .type-choice { grid-template-columns: 1fr 1fr; } }
.type-choice .choice { text-decoration: none; color: var(--ink); }
.type-choice .choice[aria-current] .choice-body { border-color: var(--selected); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--selected); }
.type-choice .choice:focus-visible { outline: none; }
.type-choice .choice:focus-visible .choice-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.check.is-disabled { color: var(--text-subtle); cursor: not-allowed; }
.check.is-disabled .badge { margin-left: 4px; }
.search-bar-check { grid-column: 1 / -1; font-size: .875rem; }
.kvk-pref { display: grid; gap: 8px; }
.kvk-pref .notice { display: flex; gap: 8px; align-items: center; margin: 0; }
.job-blocked .job-card { opacity: .8; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.job-blocked-note { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 20px; font-size: .875rem; color: var(--info-text); background: var(--info-soft); border: 1px solid var(--info-line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
/* Einde aanvulling particulier */

/* ==========================================================================
   Hero-compositie: zwevende interface-elementen (decoratief, aria-hidden)
   ========================================================================== */
.mock { position: relative; min-height: 560px; }
.mock-window {
  position: absolute; top: 40px; left: 0; right: 112px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-bar i:first-child { background: #F87171; } .mock-bar i:nth-child(2) { background: #FBBF24; } .mock-bar i:nth-child(3) { background: #34D399; }
.mock-url { margin-left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; font-size: .75rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.mock-body { padding: 22px 22px 24px; }
.mock-progress { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-progress i { flex: 1; height: 5px; border-radius: 4px; background: var(--bg-2); }
.mock-progress i.is-done { background: var(--accent); }
.mock-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 14px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-tile { display: flex; flex-direction: column; gap: 6px; padding: 10px; font-size: .75rem; font-weight: 700; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
.mock-tile .icon { color: var(--ink-3); }
.mock-tile.is-active { border-color: var(--selected); background: var(--tint); box-shadow: inset 0 0 0 1px var(--selected); }
.mock-actions { display: flex; justify-content: flex-start; margin-top: 16px; }
.mock-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: .75rem; font-weight: 800; color: var(--on-accent); background: var(--accent); border-radius: 8px; box-shadow: var(--shadow-cta); }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 196px; padding: 8px;
  background: var(--navy-tile); border-radius: 30px; box-shadow: var(--shadow-lg);
}
.mock-screen { background: var(--bg); border-radius: 22px; padding: 16px 12px 14px; display: grid; gap: 10px; }
.mock-notch { width: 64px; height: 6px; border-radius: 4px; background: var(--line-strong); margin: 0 auto 4px; }
.mock-label { font-size: .75rem; font-weight: 700; color: var(--accent-ink); }
.mock-lead { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; font-size: .75rem; color: var(--text-muted); }
.mock-lead strong { font-size: .8125rem; color: var(--ink); line-height: 1.3; }
.mock-lead span { display: inline-flex; align-items: center; gap: 5px; }
.mock-lead .mock-btn { justify-content: center; margin-top: 4px; box-shadow: none; }
.mock-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px;
  font-size: .8125rem; font-weight: 700; color: var(--ink); background: var(--chip-bg);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.mock-chip .icon { color: var(--success); }
.mock-chip small { display: block; font-size: .6875rem; font-weight: 600; color: var(--text-muted); }
.mock-chip-top { top: 0; right: 0; }
.mock-chip-bottom { left: -24px; bottom: 28px; }
/* Einde hero-compositie */

/* Verfijningen na redesign */
.check-list.panel { padding: 24px 26px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); gap: 14px; }
.check-list .icon { background: var(--success-soft); border-radius: 999px; padding: 3px; width: 22px; height: 22px; }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.panel { border-radius: var(--radius-lg); }
.cat-tile strong, .cat-tile span { overflow-wrap: anywhere; }

/* Sfeerbeelden (lib/images.php). Altijd 3:2; afmetingen staan in de HTML, dus geen layoutverschuiving. */
.photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-2); filter: var(--photo-filter); }
.hero-photo { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-photo-stack.has-photo { position: relative; }
.hero-photo-stack.has-photo > .panel {
  position: relative; margin: -72px 20px 0; background: var(--surface); box-shadow: var(--shadow-lg); border-radius: var(--radius-lg);
}
@media (min-width: 960px) { .hero-photo-stack.has-photo > .panel { margin: -96px 0 0 48px; } }
.audience-card { display: block; overflow: hidden; padding: 0; }
.audience-body { display: grid; gap: 12px; align-content: start; }
.audience-card .card-photo { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* Afspraken (homepage): kop links, afspraken in twee kolommen met scheidingslijnen */
.promise { display: grid; gap: 32px; }
@media (min-width: 960px) { .promise { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.promise-intro h2 { margin-bottom: 14px; }
.promise-intro .muted { font-size: 1.125rem; }
.promise-note { display: flex; gap: 10px; align-items: center; margin-top: 24px; font-size: .9375rem; color: var(--ink-3); }
.promise-note .icon { color: var(--success); }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 40px; }
@media (min-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.promise-list h3 { font-size: 1.0625rem; margin: 12px 0 6px; }
.promise-list p { margin: 0; color: var(--text-muted); font-size: .9375rem; }
.promise-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); }
/* Leesbare secundaire tekst op donkere secties */
.section-dark .section-head p, .section-dark .muted, .section-dark .lead { color: #CBD5E1; }

/* Meekijken door beheer */
.impersonation-bar { background: var(--tint); border-bottom: 1px solid var(--accent-line); color: var(--accent-text); font-size: .9375rem; }
.impersonation-inner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 8px; }
.impersonation-inner p { margin: 0; display: inline-flex; gap: 8px; align-items: center; }

/* Uitgelichte klus en sitebrede mededeling */
.job-card.is-featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), var(--shadow); background: linear-gradient(var(--surface), var(--surface)) padding-box; }
.job-card.is-featured::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.site-banner { background: var(--navy); color: #E2E8F0; font-size: .875rem; }
.site-banner .container { display: flex; gap: 8px; align-items: center; justify-content: center; padding-block: 8px; text-align: center; }
.site-banner .icon { color: var(--accent); }

/* ==========================================================================
   Vakman: offertesjablonen en "Niet interessant" (kluspagina), certificaten
   en openingstijden (profiel), afdrukbare factuur
   ========================================================================== */
.template-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; background: var(--bg); }
.template-list[hidden] { display: none; }
.template-list summary { cursor: pointer; font-weight: 600; }
.template-list .field { margin-top: 10px; }
.hide-job-form { display: grid; gap: 4px; justify-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.hide-job-form .btn { padding-inline: 0; color: var(--text-muted); }
.hide-job-form .btn:hover { color: var(--ink); }
.cert-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.cert-list li { display: flex; gap: 10px; align-items: flex-start; }
.cert-list .icon { flex-shrink: 0; margin-top: 2px; color: var(--success); }
.hours-list dd { font-variant-numeric: tabular-nums; }
.invoice-page { background: var(--bg-2); }
.invoice-wrap { max-width: 820px; margin: 0 auto; padding: 24px 16px 56px; }
.invoice-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.invoice-print-hint { margin: 0 0 16px; }
.invoice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 48px); color: var(--text); }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.invoice-brand { margin: 0 0 8px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.invoice-meta h1 { margin: 0 0 8px; font-size: 1.75rem; }
.invoice-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; margin: 0; font-size: .875rem; }
.invoice-kv dt { color: var(--text-subtle); }
.invoice-kv dd { margin: 0; overflow-wrap: anywhere; }
.invoice-to { padding: 24px 0; }
.invoice-to h2 { margin: 0 0 6px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-subtle); }
.invoice-to p { margin: 0; overflow-wrap: anywhere; }
.invoice-lines { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.invoice-lines th, .invoice-lines td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.invoice-lines .num { padding-left: 16px; text-align: right; white-space: nowrap; }
.invoice-lines thead th { font-size: .8125rem; font-weight: 600; color: var(--text-subtle); }
.invoice-lines tfoot th { font-weight: 500; text-align: right; color: var(--text-muted); }
.invoice-lines tfoot tr:last-child th, .invoice-lines tfoot tr:last-child td { border-bottom: 0; }
@media screen and (max-width: 599.98px) {
  .invoice-lines { font-size: .8125rem; }
  .invoice-lines .num { padding-left: 8px; }
  .invoice-lines thead th { white-space: normal; overflow-wrap: anywhere; }
  .invoice-lines td:first-child { overflow-wrap: anywhere; }
}
.invoice-total th, .invoice-total td { border-top: 2px solid var(--ink); font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.invoice-detail { font-size: .875rem; color: var(--text-muted); }
.invoice-foot { margin-top: 28px; font-size: .875rem; color: var(--text-muted); }
.invoice-foot p { margin: 0 0 6px; }
@media print {
  .invoice-page { background: #fff; }
  .no-print { display: none !important; }
  .invoice-wrap { max-width: none; padding: 0; }
  .invoice { border: 0; border-radius: 0; padding: 0; }
}

/* ==========================================================================
   Ronde 2a systeem: kale layout (onderhoud, offline) en onderhoudsbalk voor beheerders
   ========================================================================== */
.is-minimal { min-height: 100vh; display: flex; flex-direction: column; }
.minimal-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.minimal-header .container { display: flex; align-items: center; min-height: 68px; }
.minimal-main { flex: 1 0 auto; display: flex; align-items: center; }
.minimal-main > .section { width: 100%; }
.minimal-footer { border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-subtle); }
.minimal-footer p { margin: 0; padding-block: 16px; text-align: center; }
.system-state .system-state-icon { margin: 0 auto 20px; }
.system-state .system-state-actions { justify-content: center; }
.maintenance-bar { background: var(--warning-soft); border-bottom: 1px solid var(--warning-line); color: var(--warning-text); font-size: .9375rem; }
.maintenance-bar-inner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 8px; }
.maintenance-bar-inner p { margin: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.is-admin .maintenance-bar-inner { max-width: none; padding-inline: 20px; }

/* Deelknoppen */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-buttons .share-link { flex: 1 1 200px; min-height: 38px; padding: 7px 10px; font-size: .875rem; }

/* ==========================================================================
   Ronde 2a content: kennisbank, inspiratie, reviews, zoeken, checklist, nieuwsbrief, paginateksten
   ========================================================================== */
.chip-links a[aria-current] { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.chip-links a[aria-current] .subtle { color: var(--on-inverse-muted); }
.empty-actions { justify-content: center; margin-top: 16px; }

/* Kennisbank */
.kb-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .kb-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; } }
.kb-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kb-grid { grid-template-columns: repeat(2, 1fr); } }
.kb-card { display: flex; flex-direction: column; overflow: hidden; }
.kb-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--photo-filter); }
.kb-card-body { display: flex; flex-direction: column; flex: 1; }
.kb-card-body .eyebrow { font-size: .8125rem; margin-bottom: 6px; }
.kb-card h2 { margin-bottom: 8px; }
.kb-card h2 a { color: var(--ink); text-decoration: none; }
.kb-card h2 a:hover { text-decoration: underline; }
.kb-card .muted { font-size: .9375rem; }
.kb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: auto 0 0; font-size: .875rem; color: var(--text-subtle); }
.page-hero .kb-meta { margin-top: 16px; }
.page-hero .eyebrow a { color: inherit; }
.kb-photo { margin: 0 0 24px; }
.kb-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); filter: var(--photo-filter); }
.kb-body ul, .kb-body ol { padding-left: 1.25em; }
.kb-body h2:first-child { margin-top: 0; }
.kb-prevnext { display: grid; gap: 12px; }
@media (min-width: 640px) { .kb-prevnext { grid-template-columns: 1fr 1fr; } .kb-next { grid-column: 2; text-align: right; } }
.kb-prevnext .card-link { display: grid; gap: 4px; }
.kb-prevnext .subtle { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; }
.kb-next .subtle { justify-content: flex-end; }
.kb-related { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.kb-related li { display: grid; gap: 2px; }
.kb-related a { font-weight: 600; }
.kb-related .subtle { font-size: .875rem; }
@media (min-width: 960px) { .kb-aside { position: sticky; top: calc(var(--header-h) + 16px); } }

/* Nieuwsbrief */
.newsletter-card .muted { font-size: .9375rem; }
.newsletter-form { gap: 12px; }
.newsletter-audience { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.newsletter-audience legend { font-weight: 600; font-size: .9375rem; margin-bottom: 4px; padding: 0; }
.newsletter-status { text-align: center; justify-items: center; }
.newsletter-status h1 { font-size: 1.75rem; }
.newsletter-status .cluster { justify-content: center; }
.footer-newsletter { margin-top: 20px; display: grid; gap: 8px; }
.footer-newsletter .footer-title { margin: 0; }
.footer-newsletter-row { display: flex; gap: 8px; }
.footer-newsletter-row .input { flex: 1; min-width: 0; min-height: 40px; background: var(--ink-2); border-color: #475569; color: #fff; }
.footer-newsletter-row .input::placeholder { color: #94A3B8; }
.footer-newsletter-row .btn { flex: none; }
.footer-newsletter .field-error { color: #FCA5A5; margin: 0; }

/* Inspiratie */
.inspiration-gallery { gap: 20px; }
@media (min-width: 960px) { .inspiration-gallery { grid-template-columns: repeat(4, 1fr); } }
.inspiration-gallery figcaption { display: grid; gap: 2px; }
.inspiration-gallery figcaption strong { color: var(--ink); }
.inspiration-desc { color: var(--text-muted); }

/* Reviews */
.review-list .review.card { border-top: 1px solid var(--line); padding: 20px; margin-bottom: 12px; }
.review-list .review h2 { margin: 0; }

/* Zoeken */
.site-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.site-search .input-icon { flex: 1 1 280px; }
.site-search .input { min-height: 52px; font-size: 1.0625rem; }
.site-search .btn { min-height: 52px; }
.search-group { margin-bottom: 28px; }
.search-group h2 { display: flex; align-items: center; gap: 8px; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.search-results .card-link { display: grid; gap: 2px; padding: 14px 18px; }
.search-results .card-link strong { color: var(--ink); }
.search-results .subtle { font-size: .9375rem; }
.search-suggest { position: relative; }
.search-suggest-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 360px; overflow-y: auto; }
.search-suggest-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); font-size: .9375rem; }
.search-suggest-list li[aria-selected="true"], .search-suggest-list li:hover { background: var(--accent-soft); }
.search-suggest-list li.is-all { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); color: var(--accent-ink); font-weight: 600; }
.search-suggest-type { flex: none; font-size: .75rem; font-weight: 600; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .04em; }

/* Checklist per vakgebied */
.prep-checklist { display: grid; gap: 16px; }
.checklist-section h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.checklist-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: .875rem; font-weight: 800; }
.checklist-items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist-items .check { align-items: flex-start; }
.checklist-items input { margin-top: 3px; }
.checklist-items input:checked + span { color: var(--text-subtle); text-decoration: line-through; }
.checklist-lines { display: grid; gap: 0; }
.checklist-lines span { display: block; height: 34px; border-bottom: 1px solid var(--line-strong); }
.print-only { display: none; }
.checklist-link { display: flex; align-items: center; gap: 14px; }
.checklist-link > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.checklist-link strong { color: var(--ink); }
.checklist-link > .icon { color: var(--accent-ink); flex: none; }

/* Paginateksten op dienst- en regiopagina's */
.content-block { max-width: 760px; }
.content-block h2:first-child { margin-top: 0; }

@media print {
  .no-print, .site-banner, .impersonation-bar, .skip-link, .flash-stack, .cta-band { display: none !important; }
  .print-only { display: block; }
  .page-hero, .checklist-hero { background: none; border: 0; padding-block: 0 12px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero .lead { font-size: 1rem; }
  .section-sm, .section { padding-block: 0; }
  .prep-checklist { max-width: none; gap: 10px; }
  .checklist-section { box-shadow: none; border: 1px solid #94A3B8; break-inside: avoid; padding: 12px 16px; }
  .checklist-items { gap: 4px; }
  .checklist-items input:checked + span { text-decoration: none; color: inherit; }
  .checklist-num { background: none; border: 1px solid #0F172A; color: #0F172A; }
  .checklist-source { font-size: .8125rem; color: #475569; }
  a { color: inherit; text-decoration: none; }
}
/* Einde blok Ronde 2a content */
/* Zoeklink in de header: op desktop alleen het icoon */
@media (min-width: 1120px) {
  .nav-search { padding-inline: 10px; } .nav-search-label { display: none; }
  /* Ingelogd past de balk anders niet: uitloggen als pictogram (label blijft voor schermlezers), compactere links */
  .nav-logout { padding-inline: 10px; }
  .nav-label-icon { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .nav-actions .btn { white-space: nowrap; }
}
@media (min-width: 1120px) and (max-width: 1365.98px) {
  .nav-drawer { margin-left: 12px; gap: 12px; }
  .nav-list { gap: 0; }
  .nav-list a { padding-inline: 9px; font-size: .875rem; }
  .nav-actions { gap: 4px; }
  .nav-actions .btn-ghost { padding-inline: 9px; }
  /* Dashboardknop alleen als pictogram met teller; de naam staat in aria-label/title van de link */
  .nav-label-compact { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

/* ==========================================================================
   Ronde 2b vakman: prestatiebadges, vakmensen vergelijken, doorverwijzing
   ========================================================================== */
.perf-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.perf-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: .8125rem; font-weight: 600; color: var(--success); background: var(--success-soft); border: 1px solid var(--success-line); border-radius: 999px; }
.perf-badges-lg { flex-direction: column; gap: 6px; }
.perf-badges-lg .perf-badge { align-items: flex-start; border-radius: var(--radius); padding: 6px 10px; font-weight: 500; color: var(--ink); }
.perf-badges-lg .perf-badge .icon { color: var(--success); margin-top: 2px; flex-shrink: 0; }
.perf-badges-lg .perf-badge strong { color: var(--success); }
@media (min-width: 760px) { .perf-badges-lg { flex-direction: row; } }
.compare-check { position: relative; z-index: 1; align-self: end; width: max-content; padding-top: 8px; font-size: .9375rem; }
.pro-card .perf-badges { position: relative; z-index: 1; }
.compare-bar { position: sticky; bottom: 12px; z-index: 5; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(15, 23, 42, .08); }
.compare-bar p { display: flex; align-items: center; gap: 8px; }
.compare-bar.is-active { border-color: var(--accent-line); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.compare-table { min-width: 640px; }
.compare-table thead th { vertical-align: bottom; font-size: 1rem; }
.compare-table thead th .avatar { display: flex; margin-bottom: 8px; }
.compare-table tbody th { width: 180px; color: var(--text-muted); font-weight: 600; }
.compare-table td, .compare-table th { vertical-align: top; }
.compare-list { margin: 0; padding-left: 18px; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.referral-banner { align-items: flex-start; }

/* ==========================================================================
   Ronde 2b opdrachtgever en klus: betaalbeleid, offerteregels, afspraken,
   exclusieve lead, deellink kopiëren en afdrukbare offerte
   ========================================================================== */
.pay-policy-note { display: flex; gap: 10px; align-items: flex-start; }
.pay-policy-note > .icon { flex-shrink: 0; margin-top: 3px; }
.pay-policy-note p { margin: 0; }
.pay-policy-title { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.pay-policy p:last-child { margin-bottom: 0; }
.quote-wrap { margin: 4px 0; }
.quote-table { font-size: .875rem; }
.quote-table th, .quote-table td { padding: 8px 12px; }
.quote-table tfoot th { text-align: right; text-transform: none; letter-spacing: 0; font-size: .875rem; background: transparent; color: var(--text-muted); font-weight: 500; }
.quote-table tfoot td { border-bottom: 0; }
.quote-table .quote-total th, .quote-table .quote-total td { color: var(--ink); font-weight: 750; border-top: 2px solid var(--line); }
.quote-mini { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 0 0 6px; font-size: .875rem; }
.quote-mini dt { color: var(--text-muted); }
.quote-mini dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.quote-editor { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; background: var(--bg); }
.quote-editor > summary { cursor: pointer; font-weight: 600; }
.quote-editor[open] > summary { margin-bottom: 8px; }
.quote-input { min-width: 640px; }
.quote-input th { font-size: .75rem; padding: 8px; white-space: normal; }
.quote-input td { padding: 6px 8px; vertical-align: middle; }
.quote-input .input { min-height: 38px; padding: 6px 8px; font-size: .9375rem; }
.quote-input .quote-qty { width: 72px; }
.quote-input .quote-unit { width: 84px; }
.quote-input .quote-price { width: 110px; }
.quote-input td[data-quote-line-total] { min-width: 90px; font-size: .875rem; }
.quote-editor-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-top: 12px; }
.quote-vat { width: 110px; }
.quote-live { flex: 1 1 260px; margin: 0; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.appt-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .is-dashboard .appt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.appt-card.is-open { border-color: var(--accent-line); }
.appt-head { display: flex; gap: 12px; align-items: flex-start; }
.appt-head-main { flex: 1; min-width: 0; }
.appt-head-main a { overflow-wrap: anywhere; }
.appt-when { display: flex; gap: 6px; align-items: center; }
.appt-slots { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.appt-slots legend { margin-bottom: 4px; padding: 0; font-size: .875rem; }
.appt-slot { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.appt-slot:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.appt-slot-list { margin: 0; padding-left: 20px; font-size: .9375rem; color: var(--text-muted); }
.appt-note { padding: 8px 12px; border-left: 3px solid var(--line); color: var(--text-muted); font-size: .9375rem; overflow-wrap: anywhere; }
.appt-propose { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.appt-propose legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.exclusive-offer { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.exclusive-offer .check { margin: 0; font-weight: 600; color: var(--ink); }
.exclusive-offer h3 { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; }
/* Leadprijs in de zijbalk van de kluspagina: bedrag, toelichting en kortingsbadge onder elkaar */
.price-tag { line-height: 1.15; margin: 2px 0; }
.price-tag + .subtle { display: block; font-size: .875rem; }
.price-tag ~ .badge { margin-top: 8px; }
/* Uitklapblokken (kluspagina vakman en opdrachtgever): zelfde vlak als offertesjablonen, met eigen pijltje */
.disclosure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; border-radius: var(--radius);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: -4px 2px 0 0;
  border-right: 2px solid var(--text-subtle); border-bottom: 2px solid var(--text-subtle); transform: rotate(45deg); transition: transform .2s;
}
.disclosure[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.disclosure > summary:hover { color: var(--accent-ink); }
.disclosure > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.disclosure > :not(summary) { margin: 0; padding: 0 14px 12px; }
.disclosure > .row-list { padding: 0 8px 8px; }
.disclosure .proposal-message { color: var(--ink-3); font-size: .9375rem; overflow-wrap: anywhere; }
.disclosure .proposal-message p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .disclosure > summary::after { transition: none; } }
.share-copy-btn { flex-shrink: 0; }
.share-copy-status { flex-basis: 100%; min-height: 1em; font-size: .875rem; }
.share-copy-status:empty { display: none; }
.direct-pro-note p { margin: 0; }
.quote-print-message { margin-top: 28px; }
.quote-print-message h2 { margin: 0 0 8px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-subtle); }

/* ==========================================================================
   Feature 44: weergavekeuze (licht, donker, systeem). Partial theme-toggle.php, app.js initTheme.
   ========================================================================== */
.theme-switch { position: relative; }
.theme-toggle { padding-inline: 10px; }
.theme-ico { display: none; }
:root:not([data-theme]) .theme-ico-system, :root[data-theme="light"] .theme-ico-light, :root[data-theme="dark"] .theme-ico-dark { display: block; }
.theme-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 184px; padding: 6px; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg), var(--shadow-sm);
}
.theme-switch.is-open .theme-menu { display: grid; }
.theme-option {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px;
  font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.2; color: var(--ink-3); text-align: left;
  background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.theme-option:hover { background: var(--bg-2); color: var(--ink); }
.theme-option[aria-pressed="true"] { background: var(--tint); color: var(--accent-ink); }
.theme-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
/* Drie knoppen naast elkaar: zijbalk van het dashboard en de mobiele navigatielade */
.theme-switch-inline .theme-menu {
  display: grid; position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; min-width: 0; padding: 4px;
  background: var(--bg-2); border-radius: 10px; box-shadow: none;
}
.theme-menu-title { grid-column: 1 / -1; padding: 2px 6px 0; font-size: .75rem; font-weight: 700; color: var(--text-subtle); }
.theme-switch-inline .theme-option { flex-direction: column; justify-content: center; gap: 4px; min-height: 0; padding: 8px 2px; font-size: .75rem; font-weight: 650; text-align: center; border-radius: 8px; }
.theme-switch-inline .theme-option:hover { background: var(--surface); }
.theme-switch-inline .theme-option[aria-pressed="true"] { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
@media (max-width: 1119.98px) {
  .nav-actions .theme-toggle { display: none; }
  .nav-actions .theme-menu {
    display: grid; position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; min-width: 0; padding: 4px;
    background: var(--bg-2); border-radius: 10px; box-shadow: none;
  }
  .nav-actions .theme-option { justify-content: center; border-radius: 8px; }
  .nav-actions .theme-option:hover { background: var(--surface); }
  .nav-actions .theme-option[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
}
@media print { .theme-switch { display: none !important; } }

/* Over ons: bedrijfsgegevens onder elkaar, niet cursief */
.about-address { font-style: normal; display: grid; gap: 4px; }
.about-address > span { display: block; }
