/* Slim Werken met AI
   Layout: linksgelijnd, één brede kolom met een rustige zijbalk-kaart in de hero;
   vlasblauw als enige accent, werfgeel alleen als markeerstift. */
:root {
  --paper: #f4f7f6;
  --surface: #ffffff;
  --ink: #10282b;
  --muted: #4d6366;
  --line: #d3dddb;
  --vlas: #3552c9;
  --vlas-soft: #e6eafb;
  --werf: #f5c63a;
  --on-vlas: #ffffff;
  --good: #1f7a4d;
  --warn: #a86a00;
  --bad: #b3261e;
  --band-bg: #10282b;
  --band-fg: #f4f7f6;
  --koraal: #e2614a;
  --mint: #189e86;
  --tint-blue: #eef1fd;
  --tint-yellow: #fdf5e0;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.4rem + 3vw, 3.3rem);

  --wrap: 72rem;
  --radius: 6px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0c1a1c; --surface: #12262a; --ink: #e6efed; --muted: #9fb3b2;
  --line: #24393c; --vlas: #93a6ff; --vlas-soft: #1b2a55; --werf: #e9bb2e;
  --on-vlas: #0c1a1c; --good: #5cc48f; --warn: #e3a945; --bad: #f08a80; --band-bg: #163639; --band-fg: #e6efed;
  --koraal: #f08f79; --mint: #4fc8b1; --tint-blue: #14252e; --tint-yellow: #1d2a24;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--vlas); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 3px solid var(--vlas); outline-offset: 2px;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; font-stretch: 112%; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; max-width: 65ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.eyebrow {
  font-family: var(--f-mono); font-size: var(--step--1); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.mark { color: #10282b; background: linear-gradient(transparent 58%, var(--werf) 58%, var(--werf) 92%, transparent 92%); padding-inline: 0.06em; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.75rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-family: var(--f-mono); font-weight: 500; font-stretch: 100%; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--vlas); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font: 600 0.95rem var(--f-body); padding: 0.45rem 0.8rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem clamp(16px, 4vw, 40px) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.8rem; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.25rem; border-radius: var(--radius); font: 700 1rem var(--f-body); text-decoration: none; cursor: pointer; border: 2px solid var(--vlas); transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--vlas); color: var(--on-vlas); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--vlas); }
.btn-ghost:hover { background: var(--vlas-soft); }
.nav .btn { color: var(--on-vlas); padding: 0.55rem 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Sections */
section { padding-block: clamp(3rem, 6vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.25rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; max-width: 54rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--step--1); color: var(--muted); padding: 0; margin: 0; list-style: none; }
.hero-facts li::before { content: "✓"; color: var(--vlas); font-weight: 700; margin-right: 0.4rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Register card: the document a client gets after the training */
.register { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(16, 40, 43, .45); overflow: hidden; min-width: 0; }
.register-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.2rem; }
.register-head strong { font-family: var(--f-display); font-stretch: 110%; font-size: 1.05rem; }
.register-scroll { overflow-x: auto; }
.register table { width: 100%; border-collapse: collapse; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.register th, .register td { text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.register th { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.register tr:last-child td { border-bottom: 0; }
.register-foot { padding: 0.8rem 1.2rem; background: var(--vlas-soft); font-size: 0.82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tag { font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 99px; padding: 0.1rem 0.55rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.service:hover { border-color: var(--vlas); transform: translateY(-2px); }
.service p { color: var(--muted); }
.service .meta { margin-top: auto; padding-top: 0.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); border-top: 1px solid var(--line); }
.service .meta span:last-child { color: var(--vlas); font-weight: 700; }
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

/* Tool choice */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.split > div { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.1rem; border-top: 3px solid var(--ink); min-width: 0; }
.split .eyebrow { color: var(--vlas); }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.note { font-size: var(--step--1); color: var(--muted); }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--vlas); }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Band with call to action */
.band { background: var(--band-bg); color: var(--band-fg); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.band p { color: var(--band-fg); opacity: .82; }
.band .btn-primary { background: var(--werf); border-color: var(--werf); color: #10282b; }
.band .btn-ghost { color: var(--band-fg); border-color: var(--band-fg); }
.band .btn-ghost:hover { background: transparent; opacity: .85; }
@media (max-width: 720px) { .band .wrap { grid-template-columns: 1fr; } }

/* Service page */
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.page-head .stack > * { max-width: 48rem; }
.crumb { font-size: var(--step--1); color: var(--muted); }
.crumb a { color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5rem); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1rem; font-size: 0.95rem; }
.facts dt { font-family: var(--f-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 0.15rem; }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.prose { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 1.4rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; max-width: 62ch; }
.prose li::marker { color: var(--vlas); }
.program { border-top: 1px solid var(--line); }
.program > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.program .t { font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.program strong { display: block; }
.program span.d { color: var(--muted); font-size: 0.95rem; }
.callout { background: var(--vlas-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }

/* AI Act check */
.check { display: flex; flex-direction: column; gap: 1.25rem; }
.q { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 1.3rem; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.q legend { padding: 0; font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: 1.12rem; line-height: 1.3; float: left; width: 100%; }
.q legend + * { clear: both; }
.q .num { font-family: var(--f-mono); font-size: 0.78rem; color: var(--vlas); display: block; margin-bottom: 0.3rem; font-weight: 500; letter-spacing: 0.06em; }
.q .hint { font-size: var(--step--1); color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opts label { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--line); border-radius: 99px; padding: 0.45rem 0.95rem; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.opts input { accent-color: var(--vlas); margin: 0; }
.opts label:has(input:checked) { border-color: var(--vlas); background: var(--vlas-soft); }
.progress { font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted); }
.result { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; background: var(--surface); }
.result .level { display: inline-flex; align-self: flex-start; font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; padding: 0.25rem 0.7rem; border-radius: 99px; color: var(--paper); font-weight: 500; }
.level.good { background: var(--good); } .level.warn { background: var(--warn); } .level.bad { background: var(--bad); }
.actions { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.actions li { display: grid; grid-template-columns: 0.7rem minmax(0, 1fr); gap: 0.8rem; align-items: baseline; }
.actions li::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 2px; background: var(--warn); transform: translateY(0.1rem); }
.actions li.hi::before { background: var(--bad); }
.actions li.ok::before { background: var(--good); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label, .field .lbl { font-weight: 600; font-size: 0.95rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.8rem; width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.2rem; }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }
.checks label { display: inline-flex; gap: 0.45rem; align-items: center; font-weight: 500; }
.checks input { accent-color: var(--vlas); }
.form-msg { grid-column: 1 / -1; background: var(--vlas-soft); border-radius: var(--radius); padding: 0.9rem 1.1rem; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.copy { display: inline-flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.copy code { font-family: var(--f-mono); font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0.25rem 0.5rem; user-select: all; }
.copy button { font: 600 0.85rem var(--f-body); color: var(--vlas); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.3rem 0.6rem; cursor: pointer; }

/* About */
.photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--vlas-soft) 0 12px, var(--surface) 12px 24px); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-family: var(--f-mono); font-size: 0.85rem; text-align: center; padding: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer h4 { margin: 0 0 0.6rem; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.75rem; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.site-footer a { color: var(--muted); }
.site-footer .legal { line-height: 1.7; }
.todo { background: var(--werf); color: #10282b; padding: 0 0.3rem; border-radius: 3px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.person { display: flex; align-items: center; gap: 1.1rem; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.portrait { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 480px) { .person img { width: 64px; height: 64px; } }
h1, h2, h3, p, li, dd { overflow-wrap: break-word; }
.em { white-space: nowrap; }

/* --- Luchtiger en persoonlijker --- */
.tint { background: var(--tint-blue); }
.tint.t-yellow { background: var(--tint-yellow); }
section.tint + section, section + section.tint { border-top: 0; }

/* Portret in de hero */
.hero-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 22rem); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); box-shadow: 0 24px 50px -28px rgba(16, 40, 43, .6); position: relative; z-index: 1; }
.hero-photo .dot { position: absolute; border-radius: 50%; z-index: 0; }
.hero-photo .d1 { width: 9rem; height: 9rem; background: var(--werf); top: -1.2rem; right: -0.8rem; opacity: .9; }
.hero-photo .d2 { width: 6rem; height: 6rem; background: var(--koraal); bottom: 1.5rem; left: -1.6rem; opacity: .85; }
.hero-photo .d3 { width: 4rem; height: 4rem; background: var(--mint); bottom: -0.6rem; right: 3rem; opacity: .85; }
.name-tag { position: absolute; z-index: 2; left: 50%; bottom: -2.2rem; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 0.45rem 1.1rem; text-align: center; box-shadow: 0 10px 24px -16px rgba(16, 40, 43, .6); white-space: nowrap; }
.name-tag strong { font-family: var(--f-display); font-stretch: 110%; display: block; line-height: 1.2; }
.name-tag span { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { gap: 3.5rem; }
  .hero-photo { width: min(62%, 16rem); order: -1; }
}

/* Dienstenkaarten: elk een eigen kleur */
.service { border-top: 4px solid var(--vlas); }
.service .eyebrow { color: var(--vlas); }
.service.c2 { border-top-color: var(--mint); } .service.c2 .eyebrow { color: var(--mint); }
.service.c3 { border-top-color: var(--koraal); } .service.c3 .eyebrow { color: var(--koraal); }
.service.c4 { border-top-color: var(--warn); } .service.c4 .eyebrow { color: var(--warn); }
.service.c2:hover { border-color: var(--mint); } .service.c3:hover { border-color: var(--koraal); } .service.c4:hover { border-color: var(--warn); }

/* Stappen: gekleurde cijfers */
.steps li:nth-child(2)::before { color: var(--mint); }
.steps li:nth-child(3)::before { color: var(--koraal); }
.steps li:nth-child(4)::before { color: var(--warn); }
.split > div:nth-child(2) { border-top-color: var(--koraal); }
.split > div:nth-child(2) .eyebrow { color: var(--koraal); }
/* Donkere modus (alleen via data-theme): kleur de woorden in plaats van een markeerstift. */
:root[data-theme="dark"] .mark { background: none; color: var(--werf); }

/* AI Act: vier risiconiveaus */
.risks { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.risks li { background: var(--surface); border-radius: var(--radius); padding: 1.2rem; border-top: 4px solid var(--good); display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.risks h3 { font-size: 1.12rem; }
.risks p { color: var(--muted); font-size: 0.95rem; }
.risks .eyebrow { font-size: 0.72rem; }
.risks .r-ban { border-top-color: var(--bad); } .risks .r-ban .eyebrow { color: var(--bad); }
.risks .r-high { border-top-color: var(--koraal); } .risks .r-high .eyebrow { color: var(--koraal); }
.risks .r-mid { border-top-color: var(--warn); } .risks .r-mid .eyebrow { color: var(--warn); }
.risks .r-low .eyebrow { color: var(--good); }
.act-more .prose h3 { font-size: var(--step-2); }
@media (max-width: 860px) { .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .risks { grid-template-columns: 1fr; } }
.site-footer .ai-note { font-style: italic; }
