/* ==========================================================================
   ai-werkers.nl — stylesheet
   Eén bestand. Geen framework, geen build-stap.
   Tokens staan bovenaan; verander daar, niet verderop.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Blauw */
  --navy: #0F4C81;
  --navy-700: #0C3D68;
  --navy-deep: #0E3A60;
  --navy-deeper: #0A2E4D;
  --blue-mid: #5B8FC4;
  --blue-soft: #7DA8D0;

  /* Accent */
  --teal: #3FA68C;
  --teal-deep: #2F8A73;

  /* Tekst */
  --ink: #14181D;
  --body: #3F4F5C;
  --muted: #52677C;          /* 4.5:1 op wit én op het lichtblauwe vlak */

  /* Vlakken */
  --bg: #FFFFFF;
  --bg-blue: #E8EFFB;
  --bg-cream: #F4F2EC;
  --card: #FFFFFF;
  --border: #E7ECF3;
  --border-strong: #D6DEEA;

  /* Status */
  --ok-bg: #C6EFCE;  --ok-fg: #276221;
  --warn-bg: #FFEB9C; --warn-fg: #9C5700;
  --bad-bg: #FFC7CE;  --bad-fg: #9C0006;

  /* Schaduw */
  --shadow-sm: 0 1px 2px rgba(15,42,68,.05);
  --shadow-md: 0 18px 44px -22px rgba(15,42,68,.28);
  --shadow-lg: 0 40px 90px -40px rgba(15,42,68,.40);

  /* Logo */
  --logo-fig: #0F4C81;
  --logo-dot: #7DA8D0;
  --navy-vlak: #0F4C81;     /* zie dark mode: daar wijkt vlak af van tekstkleur */
  --focus: #14607F;         /* 5.9:1 op wit — de teal haalde maar 2.98:1 */
  --focus-halo: #B6E3F5;

  /* Maten */
  --maxw: 1200px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --header-h: 76px;

  /* Toegankelijkheid: schaalfactor, gezet door het a11y-paneel */
  --fs: 1;
}

:root[data-theme="dark"] {
  --navy: #6FA6DC;          /* tekst en links: 6.4:1 op de lichtste donkere ondergrond */
  --navy-vlak: #2F74BD;     /* knopvlakken: donkerder mag, want wit staat erop */
  --navy-700: #2864A8;
  --navy-deep: #0A1722;
  --navy-deeper: #06101A;
  --blue-mid: #6FA6DC;
  --blue-soft: #6E8FB6;
  --teal: #50C2A4;
  --teal-deep: #3FA88B;
  --ink: #F1F6FC;
  --body: #AFC1D4;
  --muted: #8CA1B8;
  --bg: #0B141D;
  --bg-blue: #10202E;
  --bg-cream: #0F1A24;
  --card: #131F2A;
  --border: #21323F;
  --border-strong: #2C404F;
  --ok-bg: #17361F;  --ok-fg: #8FDCA0;
  --warn-bg: #3A2E10; --warn-fg: #F0C96A;
  --bad-bg: #3A1518;  --bad-fg: #F0989F;
  --logo-fig: #E9F1FB;
  --logo-dot: #6FA6DC;
  --focus: #7FE0C4;
  --focus-halo: #10333B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 18px 44px -22px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 90px -40px rgba(0,0,0,.8);
}

/* Hoog contrast, gezet door het a11y-paneel */
:root[data-contrast="high"] {
  --body: #1B2530;
  --muted: #33414F;
  --border: #9FB0C2;
  --border-strong: #6C8098;
}
:root[data-theme="dark"][data-contrast="high"] {
  --body: #E6EEF7;
  --muted: #C3D2E1;
  --border: #52697E;
  --border-strong: #7B92A8;
}

/* --- 2. Basis ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: calc(17px * var(--fs));
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

img, svg { max-width: 100%; }
img { height: auto; }

strong { color: var(--ink); font-weight: 700; }

/* Focus — zichtbaar, overal, in beide thema's */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px var(--focus-halo);
}

/* Skip-link */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-vlak); color: #fff; padding: 12px 20px;
  border-radius: var(--r-sm); font-weight: 600;
  transition: top .15s ease;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section-pad { padding: clamp(36px, 3.6vw, 62px) 0; }
.bg-blue { background: var(--bg-blue); }
.bg-cream { background: var(--bg-cream); }

/* Twee secties met dezelfde achtergrondkleur achter elkaar geven een dubbele
   witruimte zonder dat je de overgang ziet. Halveer die. */
.section-pad + .section-pad { padding-top: clamp(24px, 2.4vw, 40px); }
.bg-blue + .bg-blue, .bg-cream + .bg-cream { padding-top: clamp(20px, 2vw, 34px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Typografie-klassen ----------------------------------------------- */

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
  /* Een regelhoogte onder de 1 knipt de puntjes van een Ü of het accent van een
     É af: het teken steekt boven de regelbox uit. Op de Nederlandse tekst valt
     dat niet op, op de Duitse en Franse koppen wel. */
  padding-top: .16em;
}

.h-section {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
  padding-top: .06em;      /* zie .display: ruimte voor accenten en umlauten */
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch;
  color: var(--body);
}

/* De eyebrow zit BINNEN de kop (screenreaders lezen hem dan mee) */
.eyebrow {
  display: block;
  font-size: calc(.8rem * var(--fs));
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .6em;
  line-height: 1.4;
}

.grad {
  background: linear-gradient(104deg, var(--navy) 0%, var(--blue-mid) 46%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 60ch; margin-bottom: 1.7rem; }
.section-head .lead { max-width: 58ch; }

/* --- 4. Knoppen ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: inherit; font-weight: 600;
  border: none; border-radius: 999px;
  padding: 15px 26px;
  white-space: nowrap; cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .18s ease; }

.btn-primary { background: var(--navy-vlak); color: #fff; box-shadow: 0 14px 30px -14px rgba(15,76,129,.7); }
.btn-primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(15,76,129,.75); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--navy); background: rgba(15,76,129,.05); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--navy); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--teal-deep); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-lg { padding: 18px 34px; font-size: calc(1.08rem * var(--fs)); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --- 5. Header ----------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; gap: 18px; }

/* Het menu zelf mag over twee regels vallen; de header blijft één rij.
   Dat is er voor WCAG 1.4.12: zet een bezoeker de letter- en woordafstand
   ruimer, dan groeit het menu. Zonder dit schuift de rechterkant buiten beeld,
   met dit wordt het menu een regel hoger en blijft alles leesbaar. */
.nav-links { flex-wrap: wrap; row-gap: 2px; min-width: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.lm-stroke { stroke: var(--logo-fig); fill: none; }
.lm-fill { fill: var(--logo-fig); }
.lm-dot-stroke { stroke: var(--logo-dot); fill: none; }
.lm-dot-fill { fill: var(--logo-dot); }
/* De merknaam staat in het blauw van het zaaiertje, niet in de tekstkleur. */
.brand-name { white-space: nowrap; font-weight: 800; font-size: calc(1.12rem * var(--fs)); color: var(--navy); letter-spacing: -.02em; }

/* 15px in plaats van 26: met vier talen in de header en een Engels of Duits
   menu (dat is breder dan het Nederlandse) liep het anders 20px buiten beeld. */
.nav-links { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.nav-links a { position: relative; text-decoration: none; color: var(--body); font-weight: 500; font-size: calc(.98rem * var(--fs)); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--navy); transition: width .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
/* Iets compacter dan elders op de site: in de header moet er sinds de
   taalwisselaar meer naast elkaar, en het Duitse menu is het breedst. */
.header .btn-primary { padding: 13px 20px; }

.icon-btn {
  width: 42px; height: 42px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--body); cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 19px; height: 19px; }

/* Maantje / zonnetje: één knop, twee iconen */
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); transition: transform .22s ease, opacity .18s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 95;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 22px 28px 30px; display: none;
}
.mobile-menu.open { display: block; }
body:has(.mobile-menu.open) .a11y-toggle,
body:has(.mobile-menu.open) .a11y-panel { display: none; }
.mobile-menu a { display: block; padding: 13px 0; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 18px; }
/* De knop in het uitklapmenu is een knop, geen menu-regel */
.mobile-menu a.btn { display: flex; justify-content: center; border-bottom: none; color: #fff; }

/* --- 6. Hero ------------------------------------------------------------- */

.hero { padding: clamp(20px, 2vw, 34px) 0 clamp(24px, 2.4vw, 38px); }
.hero h1 { max-width: 16ch; margin-bottom: .38em; }
.hero .lead { max-width: 50ch; margin-bottom: 1.25rem; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 16px 9px 13px;
  font-size: calc(.8rem * var(--fs)); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .9rem;
}
.badge .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--teal); flex: none; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 1.2rem; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: calc(.95rem * var(--fs)); color: var(--muted); }
.trust svg { width: 17px; height: 17px; color: var(--teal-deep); flex: none; }
.trust { list-style: none; padding: 0; }

/* --- 7. Grids en kaarten ------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.pain-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.pain-card h3 { font-size: calc(1.22rem * var(--fs)); }
.pain-card p { font-size: calc(.98rem * var(--fs)); margin: 0; }

.prod-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.prod-card h3 { font-size: calc(1.4rem * var(--fs)); margin-bottom: .35em; }
.prod-card p { font-size: calc(.98rem * var(--fs)); flex: 1; }
.prod-cat { font-size: calc(.72rem * var(--fs)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: .5em; }

.icon-sq {
  width: 52px; height: 52px; border-radius: 15px; background: var(--bg-blue);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon-sq svg { width: 28px; height: 28px; color: var(--navy); }

.prod-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; margin-top: 18px; }
.prod-link:hover .arrow { transform: translateX(4px); }
.prod-link .arrow { transition: transform .18s ease; }

/* Pilaren */
.pillar {
  border-left: 3px solid var(--navy); padding: 4px 0 4px 24px;
}
.pillar h3 { font-size: calc(1.25rem * var(--fs)); margin-bottom: .3em; }
.pillar .pillar-tag { font-size: calc(.82rem * var(--fs)); color: var(--muted); font-weight: 500; }
.pillar p { font-size: calc(.98rem * var(--fs)); margin: .6em 0 .7em; }
.pillar ul { margin: 0 0 1em; padding-left: 1.1em; font-size: calc(.94rem * var(--fs)); color: var(--muted); }
.pillar li { margin-bottom: .25em; }

/* --- 8. Bewijs ----------------------------------------------------------- */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 2.4rem; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.stat .num {
  display: block; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.04em; line-height: 1; margin-bottom: .35em;
}
.stat .what { display: block; font-size: calc(.98rem * var(--fs)); color: var(--body); margin-bottom: .8em; }
.stat .src { display: block; font-size: calc(.8rem * var(--fs)); color: var(--muted); border-top: 1px solid var(--border); padding-top: .8em; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 28px; box-shadow: var(--shadow-sm);
}
.case-card blockquote { margin: 0 0 22px; font-size: calc(1.1rem * var(--fs)); color: var(--ink); line-height: 1.5; }
.case-meta { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 999px; flex: none;
  background: linear-gradient(150deg, var(--navy-vlak), #2C6DA8);
  color: #fff; font-weight: 800; font-size: calc(.9rem * var(--fs));
  display: inline-flex; align-items: center; justify-content: center;
}
/* Dezelfde plek, maar dan met een echte foto. object-fit voorkomt dat een
   vierkante bron in een rondje wordt uitgerekt. */
img.avatar { object-fit: cover; border: 2px solid var(--border); background: var(--card); }
.case-meta .who { font-weight: 700; color: var(--ink); font-size: calc(.98rem * var(--fs)); }
.case-meta .where { font-size: calc(.9rem * var(--fs)); color: var(--muted); }

.logos { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; margin: 1.8rem 0; }
.logos span { font-weight: 700; color: var(--muted); font-size: calc(1.05rem * var(--fs)); letter-spacing: -.01em; }

/* --- 9. Stappen ---------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--navy-vlak); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: calc(1rem * var(--fs));
}
.step h3 { font-size: calc(1.25rem * var(--fs)); }
.step p { font-size: calc(.98rem * var(--fs)); margin: 0; }

/* --- 10. Tabel ----------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--card); }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; font-size: calc(.98rem * var(--fs)); border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--bg-blue); color: var(--ink); font-weight: 700; }
table.compare tbody th { font-weight: 600; color: var(--ink); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.ours { color: var(--ink); font-weight: 600; }

/* --- 11. FAQ ------------------------------------------------------------- */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 44px 18px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: calc(1.1rem * var(--fs));
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; max-width: 68ch; }

/* --- 12. Eind-CTA en footer ---------------------------------------------- */

.endcta { background: var(--navy-deep); color: #DCE8F5; border-radius: var(--r-lg); padding: clamp(48px, 7vw, 88px); text-align: center; }
.endcta h2 { color: #fff; max-width: 18ch; margin-left: auto; margin-right: auto; }
.endcta p { max-width: 52ch; margin-left: auto; margin-right: auto; margin-bottom: 2rem; color: #C6D8EC; }
.endcta .btn-primary { background: #fff; color: var(--navy-deep); }
.endcta .btn-primary:hover { background: #EAF2FB; color: var(--navy-deep); }

.footer { background: var(--navy-deeper); color: #B9CDE2; padding: 72px 0 34px; margin-top: clamp(72px, 10vw, 130px); }
.footer a { color: #C2D5E8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h2, .footer h3 { color: #7C97B5; font-size: calc(.78rem * var(--fs)); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .65em; font-size: calc(.96rem * var(--fs)); }
.foot-tag { max-width: 26ch; color: #9DB4CE; font-size: calc(.96rem * var(--fs)); margin-top: 1rem; }
.footer .logo-mark { width: 30px; height: 30px; }
.footer .brand-name { color: #fff; }
.made { display: inline-block; margin-top: 1.2rem; font-size: calc(.85rem * var(--fs)); color: #9DB4CE; border: 1px solid #23415C; border-radius: 999px; padding: 6px 14px; }
.foot-bottom { border-top: 1px solid #16324B; margin-top: 48px; padding-top: 26px; color: #8099B6; font-size: calc(.88rem * var(--fs)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
/* WCAG 2.2 doelgrootte: elk klikbaar doel minimaal 24 bij 24 pixels */
.foot-bottom a, .foot-bottom span { display: inline-flex; align-items: center; min-height: 24px; }

/* --- 13. Artikelen ------------------------------------------------------- */

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.art-card h2 { font-size: calc(1.22rem * var(--fs)); line-height: 1.25; margin-bottom: .5em; }
.art-card h2 a { text-decoration: none; color: var(--ink); }
.art-card h2 a:hover { color: var(--navy); }
.art-card p { font-size: calc(.96rem * var(--fs)); flex: 1; }
/* align-items op center, anders rekt de pil mee met de hoogte van de regel
   zodra de datum afbreekt — dan wordt het een blob in plaats van een badge. */
.art-meta { font-size: calc(.85rem * var(--fs)); color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 1em; }
.art-meta > * { align-self: center; }
.art-meta .tag { flex: 0 0 auto; align-self: center; white-space: nowrap;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 3px 11px; line-height: 1.35; font-weight: 600; }
.art-meta .tag.actueel { color: var(--ok-fg); background: var(--ok-bg); border-color: transparent; }
.art-meta .tag.archief { color: var(--muted); }

.article { max-width: 46rem; margin: 0 auto; }
.article-head { padding: clamp(48px, 7vw, 88px) 0 0; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; }
.article-byline { display: flex; align-items: center; gap: 14px; margin: 2rem 0; flex-wrap: wrap; }
.article-byline .who { font-weight: 700; color: var(--ink); font-size: calc(.98rem * var(--fs)); }
.article-byline .meta { font-size: calc(.9rem * var(--fs)); color: var(--muted); }

.article-body { font-size: calc(1.08rem * var(--fs)); line-height: 1.75; }
.article-body h2 { font-size: calc(1.7rem * var(--fs)); margin-top: 2.2em; }
.article-body h3 { font-size: calc(1.28rem * var(--fs)); margin-top: 1.8em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin-bottom: 1.3em; }
.article-body li { margin-bottom: .45em; }
.article-body blockquote {
  margin: 2rem 0; padding: 4px 0 4px 26px;
  border-left: 4px solid var(--navy);
  font-size: calc(1.28rem * var(--fs)); line-height: 1.45;
  color: var(--ink); font-weight: 600;
}

.pullquote {
  margin: 2.6rem 0; padding: 28px 32px;
  background: var(--bg-blue); border-radius: var(--r-md);
  font-size: calc(1.3rem * var(--fs)); line-height: 1.4; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em;
}

.bio-box {
  margin-top: 60px; padding: 32px;
  background: var(--bg-blue); border-left: 4px solid var(--navy);
  border-radius: var(--r-sm);
  display: flex; gap: 20px; align-items: flex-start;
}
.bio-box .avatar { width: 68px; height: 68px; font-size: calc(1.1rem * var(--fs)); }
.bio-box h2 { font-size: calc(1.1rem * var(--fs)); color: var(--navy); margin-bottom: .2em; }
.bio-box .role { font-style: italic; color: var(--muted); font-size: calc(.94rem * var(--fs)); margin-bottom: .8em; }
.bio-box p { font-size: calc(.95rem * var(--fs)); }

.note {
  border: 1px dashed var(--border-strong); border-radius: var(--r-sm);
  padding: 18px 22px; font-size: calc(.92rem * var(--fs)); color: var(--muted);
  background: var(--bg-cream);
}

/* --- 14. Cookiebanner ---------------------------------------------------- */

.cookie-bar {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  max-width: 430px; width: calc(100% - 40px);
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 24px 26px;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-top { display: flex; gap: 16px; align-items: flex-start; }
.cookie-bar .cookie { width: 48px; height: 48px; flex: none; }
.cookie-bar h2 { font-size: calc(1.1rem * var(--fs)); margin-bottom: .4em; }
.cookie-bar p { font-size: calc(.93rem * var(--fs)); margin-bottom: 1.2em; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Weigeren en accepteren zijn even zwaar. Geen dark pattern. */
.cookie-actions .btn { flex: 1 1 auto; justify-content: center; padding: 13px 20px; font-size: calc(.95rem * var(--fs)); }
/* min-height 24px: WCAG 2.2 doelgrootte (2.5.8). Zonder dit is de link 22px hoog. */
.cookie-link {
  display: inline-flex; align-items: center; min-height: 24px;
  margin-top: 12px; font-size: calc(.86rem * var(--fs)); color: var(--muted);
}

/* --- 15. Toegankelijkheidspaneel ----------------------------------------- */

.a11y-toggle {
  position: fixed; left: 20px; bottom: 20px; z-index: 85;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--navy-vlak); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.a11y-toggle svg { width: 24px; height: 24px; }

.a11y-panel {
  position: fixed; left: 20px; bottom: 78px; z-index: 86;
  width: 280px; background: var(--card);
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 22px; display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-size: calc(1rem * var(--fs)); margin-bottom: 1em; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: calc(.92rem * var(--fs)); }
.a11y-row .group { display: flex; gap: 6px; }
.a11y-panel button.mini {
  border: 1px solid var(--border-strong); background: transparent; color: var(--ink);
  border-radius: 8px; padding: 5px 11px; cursor: pointer; font: inherit; font-size: calc(.88rem * var(--fs));
}
.a11y-panel button.mini[aria-pressed="true"] { background: var(--navy-vlak); color: #fff; border-color: var(--navy-vlak); }

/* --- 16. Reveal ---------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
/* Vangnet: als JS faalt of te laat is, blijft niets onzichtbaar */
html.reveal-done .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
:root[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
:root[data-motion="off"] * { transition: none !important; animation: none !important; }

/* --- 17. Responsief ------------------------------------------------------ */

/* Zeven menu-items passen naast het logo, de taalknop en de intake-knop pas
   vanaf ongeveer 1120px — het Frans is daarin de maat, want daar heten de
   pagina's Références en À propos. Daaronder het uitklapmenu: liever een
   hamburger dan een menu dat over twee regels valt. */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .grid-3, .grid-2, .grid-4, .stat-grid, .case-grid, .steps, .art-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Onder deze breedte past de intake-knop niet meer naast het menu.
   Hij staat in het uitklapmenu, dus hier verbergen we hem — anders ligt hij
   over de hamburgerknop heen en is het menu niet meer te openen. */
@media (max-width: 760px) {
  .header .btn-primary { display: none; }
  .header .wrap { gap: 12px; }
}

@media (max-width: 560px) {
  body { font-size: calc(16px * var(--fs)); }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-lg { padding: 16px 22px; }
  .endcta .btn, .endcta { max-width: 100%; }
  .wrap { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-bar { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
  .cookie-bar .cookie { display: none; }
  /* De knop hoort linksonder en nergens anders. Hij stond hier eerder
     linksboven om de cookiebalk te ontwijken, maar die balk is er even en de
     knop staat er altijd — dus lag hij de hele dag over de kop van de pagina.
     Nu schuift hij omhoog zolang de balk er staat, precies zo ver als die
     balk hoog is. --cookiehoogte wordt door het script gezet. */
  .a11y-toggle { bottom: calc(var(--cookiehoogte, 0px) + 20px); top: auto; }
  .a11y-panel {
    bottom: calc(var(--cookiehoogte, 0px) + 78px); top: auto;
    width: calc(100% - 40px);
  }
  .btn-row .btn { width: 100%; justify-content: center; }
  .bio-box { flex-direction: column; }
}

@media print {
  .header, .footer, .cookie-bar, .a11y-toggle, .a11y-panel, .skip { display: none !important; }
  body { color: #000; background: #fff; }
}


/* --- 16. Foto's ---------------------------------------------------------- */

/* Eén blok voor de twee oprichters. Op smal scherm onder elkaar. */
.personen { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); margin: 2rem 0 2.4rem; }
.persoon { text-align: left; }
.persoon img {
  width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-lg); display: block; background: var(--card);
}
.persoon .naam { font-weight: 700; margin-top: .8rem; }
.persoon .rol { color: var(--muted); font-size: calc(.92rem * var(--fs)); }

.foto-breed { margin: 2rem 0 2.4rem; }
.foto-breed img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); background: var(--card);
}
.foto-breed figcaption {
  color: var(--muted); font-size: calc(.88rem * var(--fs)); margin-top: .7rem;
}

@media (max-width: 560px) {
  .personen { grid-template-columns: 1fr; }
  .persoon img { max-width: 100%; }
}

/* --- 17. Taalwisselaar ---------------------------------------------------- */

/* De vlag staat er als versiering bij, de taalcode is de eigenlijke knop.
   Een vlag is een land en geen taal, en een screenreader maakt van een
   vlagemoji niets bruikbaars — vandaar aria-hidden op de vlag zelf. */
.taalwisselaar { position: relative; }
.taalwisselaar > summary {
  display: inline-flex; align-items: center; gap: 3px;
  min-height: 34px; padding: 4px 6px 4px 8px; border-radius: var(--r-sm);
  cursor: pointer; list-style: none; color: var(--body);
  border: 1px solid transparent;
}
.taalwisselaar > summary::-webkit-details-marker { display: none; }
.taalwisselaar > summary:hover { background: var(--bg-blue); border-color: var(--border); }
.taalwisselaar[open] > summary { background: var(--bg-blue); border-color: var(--border); }
.taal-pijl { width: 14px; height: 14px; opacity: .65; transition: transform .18s ease; }
.taalwisselaar[open] .taal-pijl { transform: rotate(180deg); }
/* Vaste breedte, want de ene vlagemoji is breder dan de andere en dan
   staan de taalnamen niet onder elkaar. */
.taal-vlag { font-size: 1.05rem; line-height: 1; width: 1.4em;
             display: inline-block; text-align: center; flex: none; }

.taal-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 95;
  min-width: 180px; padding: 6px;
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.taal-optie {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 6px 12px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--body);
  font-size: calc(.95rem * var(--fs)); white-space: nowrap;
}
.taal-optie:hover { background: var(--bg-blue); color: var(--ink); }
.taal-optie.is-actief { background: var(--bg-blue); color: var(--ink); font-weight: 600; }

/* De platte lijst staat alleen in het uitklapmenu, de uitklapknop alleen in
   de balk. Precies één van de twee is zichtbaar. */
.taallijst { display: none; }

@media (max-width: 760px) {
  .header .taalwisselaar { display: none; }
  .mobile-menu .taallijst {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 14px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu .taal-optie {
    min-height: 44px; padding: 8px 12px; gap: 8px;
    border: 1px solid var(--border); border-radius: var(--r-sm);
    font-size: calc(.92rem * var(--fs));
  }
}

/* --- Hulpklassen voor witruimte ------------------------------------------ */
/* Deze vervangen de style="..."-attributen die eerder in de content stonden.
   Een strikte CSP zonder 'unsafe-inline' weigert zo'n attribuut: de pagina ziet
   er lokaal goed uit en op de server verschuift de witruimte, zonder één fout
   in beeld. build.py zet de attributen om naar deze klassen; check.py weigert
   een pagina waar er nog één in staat. */
.mt-2      { margin-top: 2rem; }
.mt-24     { margin-top: 2.4rem; }
.mt-26     { margin-top: 2.6rem; }
.mt-3      { margin-top: 3rem; }
.mb-3      { margin-bottom: 3rem; }
.mt-mini   { margin: 1.2em 0 0; }
.pb-sectie { padding-bottom: clamp(48px, 7vw, 90px); }
.pt-0      { padding-top: 0; }
.p-0       { padding: 0; }
.gap-34    { gap: 34px; }
.breed-62  { max-width: 62ch; }
.breed-70  { max-width: 70ch; }
.kop-404   { font-size: clamp(2.4rem, 5vw, 4rem); }

/* --- Reviews -------------------------------------------------------------- */
/* Geen widget van een derde partij: die zet cookies, kost een extern verzoek en
   de CSP van deze site laat hem niet gestyled binnen. Dit is gewone HTML uit
   content/reviews/. */
.review-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.sterren { display: flex; gap: 3px; }
.ster { width: 17px; height: 17px; fill: #E8A317; flex: none; }
.ster.leeg { fill: var(--border-strong); }
.review blockquote {
  margin: 0; font-size: calc(1rem * var(--fs)); line-height: 1.6;
  color: var(--ink);
}
.review blockquote::before { content: "\201E"; }
.review blockquote::after { content: "\201C"; }
.review-wie {
  margin: auto 0 0; font-weight: 600; font-size: calc(.95rem * var(--fs));
  display: flex; flex-direction: column; gap: 2px;
}
.review-bron {
  font-weight: 400; font-size: calc(.85rem * var(--fs)); color: var(--muted);
}
#reviews .lead a { color: var(--navy); }


/* --- 17. Vera, de AI-collega --------------------------------------------- */
/* Vera staat in dezelfde rij als Rick en Bart, met dezelfde kaart, dezelfde kop
   eronder en dezelfde quote. Eén verschil blijft staan en dat is met opzet:
   waar zij een foto hebben, heeft zij een gestippeld vlak. Een gegenereerd
   portret zou haar een nepmens maken; een leeg vlak met een stippellijn zegt
   precies wat het is. */
.personen { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pasfoto-ai {
  width: 100%; max-width: 300px; aspect-ratio: 1;
  border-radius: var(--r-lg);
  border: 2px dashed var(--blue-soft);
  background: var(--bg-blue); color: var(--navy);
  display: grid; place-items: center;
}
.pasfoto-ai svg { width: 30%; max-width: 74px; height: auto; display: block; }

/* Het personeelsdossier onder haar stuk. Bewust zonder kader: het moet in
   hetzelfde ritme vallen als de alinea's van Rick en Bart, niet ernaast staan
   als los onderdeel. */
.dossier {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 24px; margin: 1.8rem 0; padding: 16px 0 0;
  border-top: 1px solid var(--border-strong);
}
.dossier div { display: flex; flex-direction: column; gap: 2px; }
.dossier dt {
  font-size: calc(.68rem * var(--fs)); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}
.dossier dd { margin: 0; font-weight: 700; color: var(--navy); }

/* --- 18. De vier lagen (ServiceFlow) ------------------------------------- */
/* Rick wilde de vier lagen in beeld in plaats van in een zin. Vier balken
   onder elkaar, genummerd, met daaronder waar ze samen op uitkomen. Geen
   afbeelding: dit schaalt mee naar mobiel en blijft leesbaar als iemand de
   letters groter zet. */
.lagen { display: flex; flex-direction: column; gap: 8px; margin: 1.8rem 0 1.6rem; }
.laag {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-blue); border-left: 4px solid var(--navy);
  border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 14px 18px;
}
.laag .nr {
  flex: none; width: 1.3em;
  font-weight: 800; color: var(--blue-mid);
  font-variant-numeric: tabular-nums;
}
.laag div { display: flex; flex-direction: column; gap: 2px; }
.laag b { color: var(--navy); font-weight: 800; }
.laag .uitleg { color: var(--body); font-size: calc(.95rem * var(--fs)); }
.lagen-uit {
  display: flex; gap: 10px; align-items: baseline;
  margin: 2px 0 0 22px; font-weight: 800; color: var(--navy);
}
