/* ==========================================================================
   Kland B.V. — stylesheet
   Opbouw: 1. Fonts  2. Tokens  3. Basis  4. Layout  5. Componenten
           6. Secties  7. Juridische pagina's  8. Animatie  9. Responsive
   ========================================================================== */

/* 1. Fonts — zelf gehost (geen verzoeken naar externe partijen, AVG-vriendelijk) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens — afgeleid van het logo: nachtblauw en metallic zilver */
:root {
  --navy-950: #0c1128;
  --navy-900: #111833;
  --navy-800: #18213f;   /* exacte achtergrond van het logo */
  --navy-700: #232d52;
  --navy-600: #343f69;

  /* Zilver-accenten (uit het logo). Op lichte achtergrond: staalblauw voor voldoende contrast */
  --silver-50: #f6f7f9;
  --steel-700: #3d4660;   /* accenttekst op licht */
  --steel-500: #6b7489;   /* lijnen/iconen op licht */
  --metal: linear-gradient(135deg, #f6f7f9 0%, #d6dae1 28%, #a3aaba 58%, #e3e6eb 82%, #b9bfcb 100%);
  --metal-hover: linear-gradient(135deg, #ffffff 0%, #e2e5ea 30%, #b6bcc9 60%, #eceef2 85%, #c8cdd7 100%);
  --metal-line: linear-gradient(90deg, #e3e6eb, #9aa1b2);
  --metal-line-dark: linear-gradient(90deg, #6b7489, #c3c8d3);
  --silver-to-navy: linear-gradient(135deg, #c3c8d3 0%, #6b7489 45%, #232d52 100%);

  --silver-100: #eef0f4;
  --silver-200: #dde1e8;
  --silver-300: #c3c8d3;
  --silver-400: #9aa1b2;

  --paper: #f7f6f3;
  --paper-2: #efede8;
  --white: #ffffff;
  --ink: #141a31;
  --ink-soft: #3b4258;
  --muted: #5a6175;
  --line: #dcdad4;
  --line-dark: rgba(195, 200, 211, 0.16);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 144px);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 51, 0.06), 0 2px 8px rgba(17, 24, 51, 0.04);
  --shadow: 0 2px 4px rgba(17, 24, 51, 0.04), 0 12px 32px -8px rgba(17, 24, 51, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3. Basis */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--navy-600); color: var(--white); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--silver-200);
}

.visually-hidden {
  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: 16px; top: -100px; z-index: 200;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-900); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 4. Layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.on-dark { background: var(--navy-800); color: var(--silver-200); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-700);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--metal-line-dark);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--silver-300); }
.on-dark .eyebrow::before, .hero .eyebrow::before { background: var(--metal-line); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); }
.section-head .lead { margin-top: 20px; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }
.on-dark .lead { color: var(--silver-300); }

/* 5. Componenten ---------------------------------------------------------- */

/* Knoppen */
.btn {
  --btn-bg: var(--metal);
  --btn-fg: var(--navy-900);
  --btn-bd: rgba(255, 255, 255, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .9375rem/1.2 var(--font-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --btn-bg: var(--metal-hover); transform: translateY(-1px); box-shadow: 0 10px 28px -12px rgba(195, 200, 211, .55); }
/* Op lichte achtergronden: nachtblauwe knop met zilveren tekst */
.process .btn, .contact .btn {
  --btn-bg: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-800) 55%, var(--navy-950) 100%);
  --btn-fg: var(--silver-100);
  --btn-bd: var(--navy-800);
}
.process .btn:hover, .contact .btn:hover {
  --btn-bg: linear-gradient(135deg, #46517e 0%, var(--navy-700) 55%, var(--navy-900) 100%);
  box-shadow: 0 10px 28px -12px rgba(17, 24, 51, .55);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(221, 225, 232, .35); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: var(--silver-300); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .875rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* effen, exact gelijk aan de logo-achtergrond zodat het logo naadloos opgaat in de header */
  background: var(--navy-800);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex-shrink: 0; border-radius: 4px; }
.brand img {
  width: auto; height: 52px;
  /* de logo-PNG heeft rechts een lichte rand van 1px — die snijden we visueel weg */
  clip-path: inset(0 0.6% 0 0);
}
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  position: relative; display: block;
  padding: 10px 14px;
  color: var(--silver-300); text-decoration: none;
  font-size: .9375rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--metal-line);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: transparent; color: var(--white); cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle-bars { position: relative; display: block; width: 22px; height: 14px; margin: auto; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Security-first label */
.badge-secure {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(107, 116, 137, .35); border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(221, 225, 232, .6));
  color: var(--steel-700);
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.badge-secure svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero .badge-secure, .on-dark .badge-secure { border-color: rgba(221, 225, 232, .32); background: linear-gradient(135deg, rgba(221, 225, 232, .14), rgba(221, 225, 232, .03)); color: var(--silver-200); }

/* Kaarten */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--navy-600), #c3c8d3 50%, rgba(195, 200, 211, 0));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--silver-300); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 28px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: var(--silver-200);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3125rem; margin-bottom: 12px; color: var(--ink); }
.card p { color: var(--muted); margin: 0; }
.card .badge-secure { margin-top: 24px; align-self: flex-start; }
.card-index {
  position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px);
  font: 500 .8125rem/1 var(--font-body); letter-spacing: .1em; color: #767c8e;
}

/* 6. Secties ----------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(64px, 10vw, 128px) clamp(72px, 10vw, 136px);
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(195, 200, 211, .10), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(52, 63, 105, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--silver-200);
}
.hero::before {
  /* zeer subtiel raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195, 200, 211, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 200, 211, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(40px, 6vw, 88px);
}
.hero .badge-secure { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2.125rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--silver-100) 0%, var(--silver-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-top: 28px; max-width: 600px; color: var(--silver-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hv-grid-dot { fill: rgba(195, 200, 211, .22); }
.hv-path { fill: none; stroke: rgba(195, 200, 211, .28); stroke-width: 1.2; }
.hv-path--strong { stroke: rgba(195, 200, 211, .5); }
.hv-flow {
  fill: none; stroke: var(--silver-50); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 10 190; stroke-dashoffset: 200;
  animation: hv-flow 5.5s linear infinite;
  opacity: .9;
}
.hv-flow--2 { animation-delay: -1.8s; animation-duration: 6.5s; }
.hv-flow--3 { animation-delay: -3.6s; animation-duration: 7s; }
.hv-node rect, .hv-node circle { fill: rgba(17, 24, 51, .85); stroke: rgba(195, 200, 211, .42); stroke-width: 1.2; }
.hv-node--core rect { stroke: url(#hv-metal); fill: rgba(195, 200, 211, .08); stroke-width: 1.6; }
.hv-node line { stroke: rgba(195, 200, 211, .45); stroke-width: 1.2; stroke-linecap: round; }
.hv-node--core line { stroke: rgba(221, 225, 232, .7); }
.hv-scatter circle { fill: rgba(195, 200, 211, .45); }
.hv-label { fill: var(--silver-400); font: 500 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.hv-shield { fill: none; stroke: var(--silver-100); stroke-width: 1.4; stroke-linejoin: round; }
.hv-ring { fill: none; stroke: rgba(221, 225, 232, .22); stroke-width: 1; }
.hv-pulse { transform-box: fill-box; transform-origin: center; animation: hv-pulse 3.6s var(--ease) infinite; }
@keyframes hv-flow { to { stroke-dashoffset: 0; } }
@keyframes hv-pulse {
  0% { opacity: .7; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}

/* Vertrouwensbalk */
.trust { background: var(--navy-900); color: var(--silver-200); border-top: 1px solid var(--line-dark); }
.trust-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 32px clamp(16px, 2.2vw, 32px);
  border-left: 1px solid var(--line-dark);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--silver-300); }
.trust-item strong { display: block; color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.trust-item span { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--silver-400); }

/* Expertise */
.expertise { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card--featured {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(154, 161, 178, .16), transparent 60%),
    var(--white);
  border-color: var(--silver-300);
}
.card--featured .card-icon { background: var(--metal); color: var(--navy-900); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 12px -4px rgba(17, 24, 51, .3); }

/* Security-band */
.security {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(32px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 360px at 0% 0%, rgba(195, 200, 211, .16), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--silver-200);
  position: relative; overflow: hidden;
}
.security::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid rgba(221, 225, 232, .14);
  box-shadow: 0 0 0 40px rgba(221, 225, 232, .03), 0 0 0 80px rgba(221, 225, 232, .02);
  pointer-events: none;
}
.security h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.15; color: var(--white); letter-spacing: -0.015em; }
.security p { color: var(--silver-300); margin-top: 16px; margin-bottom: 0; }
.security-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; position: relative; z-index: 1; }
.security-list li { padding-top: 16px; border-top: 1px solid var(--line-dark); }
.security-list strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.security-list span { font-size: .9375rem; color: var(--silver-300); line-height: 1.55; display: block; }

/* Over Henri */
.about {
  background:
    radial-gradient(900px 500px at 15% 30%, rgba(195, 200, 211, .09), transparent 60%),
    var(--navy-800);
  overflow: hidden;
}
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.portrait { margin: 0; }
.portrait-frame { position: relative; max-width: 500px; }
.portrait-frame::before {
  content: ""; position: absolute; inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(195, 200, 211, .14);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: -12%;
  border-radius: 50%;
  border: 1px dashed rgba(195, 200, 211, .09);
}
.portrait img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.portrait figcaption { margin-top: 36px; position: relative; z-index: 1; }
.portrait-name { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); line-height: 1.2; }
.portrait-role { display: block; margin-top: 4px; font-size: .9375rem; color: var(--silver-400); }

.about h2 { font-size: clamp(2.125rem, 4.4vw, 3.375rem); }
.about-body { margin-top: 32px; }
.about-body p { color: var(--silver-300); font-size: 1.0625rem; }
.about-body p:first-child { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--silver-100); line-height: 1.6; }
.about-body strong { color: var(--white); font-weight: 600; }
.facts { list-style: none; margin-top: 40px; border-top: 1px solid var(--line-dark); }
.facts li {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font-size: .9688rem; color: var(--silver-300);
}
.facts dt, .facts .fact-key { font: 600 .8125rem/1.6 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--silver-300); }
.quote {
  margin: 48px 0 0; padding: 28px 0 0 28px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #f6f7f9, #6b7489) 1;
  position: relative;
}
.quote p { font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.32; color: var(--white); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.quote-mark { position: absolute; top: -6px; left: 24px; width: 28px; height: 28px; color: var(--silver-300); }

/* Track record — tijdlijn */
.track { background: var(--paper-2); }
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.timeline::before {
  content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 1px;
  background: linear-gradient(90deg, var(--navy-600), var(--silver-400) 45%, var(--silver-300));
}
.timeline-item { position: relative; padding-top: 48px; }
.timeline-dot {
  position: absolute; top: 0; left: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--paper-2); border: 1.5px solid var(--steel-500);
}
.timeline-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--silver-to-navy); }
.timeline-item .card { height: 100%; }
.timeline-tag { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-700); margin-bottom: 16px; display: block; }

/* Werkwijze */
.process { background: var(--paper); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step {
  position: relative; padding: 36px clamp(16px, 2vw, 28px) 8px 0;
  counter-increment: step;
}
.step + .step { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 40px; background: var(--silver-to-navy);
  transition: width .6s var(--ease);
}
.step + .step::before { left: clamp(16px, 2vw, 28px); }
.step:hover::before { width: 80px; }
.step-num { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--silver-300); margin-bottom: 24px; font-weight: 400; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .9688rem; margin: 0; }
.step .step-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: .875rem; color: var(--steel-700); font-weight: 500; line-height: 1.45; }
.step-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.process-promise {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
}
.process-promise p { margin: 0; max-width: 680px; color: var(--ink-soft); font-size: 1.0625rem; }
.process-promise strong { color: var(--ink); }

/* Contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.125rem, 4.4vw, 3.375rem); }
.contact .lead { margin-top: 20px; }
.contact-details { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-details li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details svg { width: 20px; height: 20px; color: var(--steel-500); margin-top: 3px; }
.contact-details .label { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-details a { color: var(--ink); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.contact-details a:hover { background-size: 100% 1px; }
.contact-details .value { color: var(--ink); }

/* Formulier */
.form-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  font: 400 1rem/1.5 var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9c6be;
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6e7386; }
.field input:hover, .field textarea:hover { border-color: var(--silver-400); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(35, 45, 82, .12);
}
.field.has-error input, .field.has-error textarea { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .8438rem; color: #b3261e; font-weight: 500; }
.field.has-error .field-error { display: flex; }
.field-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.form-privacy { margin: 0; font-size: .8438rem; color: var(--muted); max-width: 380px; line-height: 1.55; }
.form-privacy a { color: var(--ink); }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: .9375rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #edf5ef; color: #1d5b33; border: 1px solid #c7e1cf; }
.form-status--error { background: #fbeeed; color: #8c1d16; border: 1px solid #f0cdca; }

/* Footer */
.site-footer { background: var(--navy-800); border-top: 1px solid var(--line-dark); color: var(--silver-300); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { }
.footer-brand img { height: 56px; width: auto; clip-path: inset(0 0.6% 0 0); }
.footer-brand p { margin-top: 24px; max-width: 360px; color: var(--silver-400); }
.footer-title { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--silver-400); margin-bottom: 18px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { color: var(--silver-200); text-decoration: none; transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--silver-400); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: .8438rem; color: var(--silver-400);
}
.footer-bottom p { margin: 0; }

/* 7. Juridische pagina's ----------------------------------------------------- */
.legal-hero { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: var(--silver-200); padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); }
.legal-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); color: var(--white); }
.legal-hero p { margin: 16px 0 0; color: var(--silver-300); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--silver-300); text-decoration: none; font-size: .9375rem; }
.legal-back:hover { color: var(--white); }
.legal-back svg { width: 16px; height: 16px; }
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: 48px 0 16px; }
.legal-body h3 { font-size: 1.0625rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-body a { color: var(--steel-700); text-underline-offset: 3px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .9375rem; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-meta { font-size: .875rem; color: var(--muted); margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }

/* 8. Animatie ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hv-flow { display: none; }
  .hv-pulse { opacity: 0; }
}

/* 9. Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-list a { padding-inline: 10px; }
  .nav-list a::after { left: 10px; right: 10px; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    padding: 24px var(--gutter) 40px;
    background: var(--navy-900);
    display: flex; flex-direction: column; align-items: stretch;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-list a { padding: 20px 0; font-family: var(--font-display); font-size: 1.625rem; color: var(--silver-100); }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="true"] { color: var(--white); background: linear-gradient(90deg, #ffffff, #9aa1b2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .header-cta { margin: 32px 0 0; width: 100%; min-height: 54px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; order: 2; margin-top: 8px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  /* mobiel: foto → tekst → partnerblok */
  .about-aside { display: contents; }
  .about-aside .portrait { order: 1; }
  .about-main { order: 2; }
  .about-aside .partners { order: 3; margin-top: 0; max-width: none; }
  .security { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline-item:not(:last-child)::after {
    content: ""; position: absolute; left: 9px; top: 51px; bottom: -32px; width: 1px;
    background: linear-gradient(180deg, var(--steel-500), var(--silver-300));
  }
  .timeline-item { padding: 0 0 24px 44px; }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-dot { top: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 48px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: 340px; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line-dark); }
  .trust-item:first-child { border-top: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .security-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step, .step:nth-child(3) { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .step:first-child { margin-top: 0; }
  .step::before, .step + .step::before { left: 0; }
  .step-num { font-size: 2.25rem; margin-bottom: 16px; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .process-promise { padding: 24px; }
  .process-promise .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .quote { padding-left: 20px; }
  .quote-mark { left: 16px; }
}

@media print {
  .site-header, .hero-visual, .nav-toggle, .form-card { display: none !important; }
  body { background: #fff; color: #000; }
  .on-dark, .hero, .about, .trust, .site-footer { background: #fff !important; color: #000 !important; }
}

/* Juridische tabellen op mobiel als gestapelde blokken */
@media (max-width: 640px) {
  .legal-body table, .legal-body tbody, .legal-body tr, .legal-body td { display: block; width: 100%; }
  .legal-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-body tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .legal-body td { padding: 4px 0; border: 0; }
  .legal-body td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* Over ons — Nederlandse ontwikkeling & partners */
.partners { margin-top: 56px; max-width: 500px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .025); }
.partners h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.2; }
.partners .security-list { grid-template-columns: 1fr; margin-top: 24px; gap: 16px; }
