/* ==========================================================================
   Midlog BV – prototype fase 1
   Ontwerpsysteem: tokens, basis, componenten, secties, utilities
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Groen – afgeleid van het logogroen #358E79 */
  --green-950: #061F1A;
  --green-900: #0A2B25;
  --green-800: #0F3B33;
  --green-700: #155246;
  --green-600: #1D6B5A;   /* tekst/links op licht: 6,4:1 op wit */
  --green-500: #358E79;   /* logogroen: iconen, lijnen, grote tekst */
  --green-300: #8DC6B6;
  --green-200: #C3E1D7;
  --green-100: #E1F0EA;
  --green-50:  #F0F7F4;

  /* Accentgroen – heldere variant van het logogroen #358E79.
     Uitsluitend voor de primaire actie en kleine accenten. */
  --accent: #3FAF8B;
  --accent-600: #36A07E;
  --accent-300: #6FD0B0;   /* accenttekst op donker en over video */
  /* Knopgroen – iets dieper dan het accent, zodat witte tekst 4,6:1 haalt (WCAG AA) */
  --cta: #2F8368;
  --cta-hover: #2B785F;
  --accent-100: #E2F4EC;

  /* Neutralen */
  --ink: #0E1C19;
  --ink-2: #33463F;
  --ink-3: #56685F;       /* 5,6:1 op wit */
  --line: #D3E1DB;
  --line-strong: #B4C8C0;
  --surface: #FFFFFF;
  --bg: #F4F8F6;

  /* Status */
  --danger: #B42318;
  --danger-bg: #FEF1EF;
  --success: #1D6B5A;

  /* Typografie */
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --stretch-display: 68%;
  --stretch-head: 78%;

  --fs-display: clamp(2.6rem, 1.15rem + 5.6vw, 6rem);
  --fs-h2: clamp(2.15rem, 1.35rem + 3vw, 3.75rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  /* Ruimte & vorm */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 43, 37, .06), 0 2px 8px rgba(10, 43, 37, .05);
  --shadow-md: 0 2px 6px rgba(10, 43, 37, .06), 0 14px 34px rgba(10, 43, 37, .10);
  --shadow-lg: 0 6px 16px rgba(10, 43, 37, .08), 0 30px 70px rgba(10, 43, 37, .16);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-600); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-800); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--green-900); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .site-header.is-overlay :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--green-950); font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.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;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

/* ---------- 3. Typografie ---------- */
.display, .h2 {
  font-stretch: var(--stretch-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: .9; }
.h2 { font-size: var(--fs-h2); line-height: .94; }
.h2 em, .display em { font-style: normal; color: var(--green-500); }
.on-dark .h2 em, .on-dark .display em { color: var(--accent-300); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.on-dark .lead { color: rgba(255, 255, 255, .84); }
/* Intro met vaste regelval: tekstbreedte 20.5em, lettergrootte schaalt mee met de kolom (min. 16px) */
.lead-fit { container-type: inline-size; }
.lead-fit .lead { font-size: max(15px, min(calc(100cqi / 20.5), clamp(1.1rem, 1.02rem + .35vw, 1.3rem))); max-width: 20.5em; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }

/* Eyebrow met de schuine balk uit het logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0 0 1.1rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 9px; border-radius: 2px;
  background: var(--green-500); transform: skewX(-28deg);
}
.on-dark .eyebrow { color: var(--green-200); }
.on-dark .eyebrow::before { background: var(--accent); }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- 4. Knoppen ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--green-900); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 54px; padding: .45rem 1.5rem;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--cta); --btn-fg: #fff; padding-right: .45rem; }
.btn--primary:hover { --btn-bg: var(--cta-hover); --btn-fg: #fff; box-shadow: 0 8px 22px rgba(47, 131, 104, .35); }
.btn__chip {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--green-900); color: #fff;
  transition: transform .25s var(--ease);
}
.btn--primary:hover .btn__chip { transform: translateX(3px) rotate(-45deg); }

.btn--secondary { --btn-bd: var(--green-800); --btn-fg: var(--green-800); }
.btn--secondary:hover { --btn-bg: var(--green-800); --btn-fg: #fff; }
.on-dark .btn--secondary, .is-overlay .btn--secondary { --btn-bd: rgba(255, 255, 255, .7); --btn-fg: #fff; }
.on-dark .btn--secondary:hover { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-bd: #fff; }

.btn--dark { --btn-bg: var(--green-900); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--green-700); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .35rem 1.1rem; font-size: .9375rem; }
.btn--sm.btn--primary { padding-right: .35rem; }
.btn--sm .btn__chip { width: 34px; height: 34px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--green-700); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--accent-300); }

.round-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--green-900);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.round-arrow svg { width: 20px; height: 20px; }

/* ---------- 5. Header & navigatie ---------- */
.site-header {
  position: fixed; inset: 12px 12px auto; z-index: 100;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter) + 24px, calc(var(--container) + 40px));
  margin-inline: auto; margin-top: 10px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 .65rem 0 1.4rem;
  border-radius: 999px;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), margin .3s var(--ease), height .3s var(--ease);
}
.site-header.is-solid .site-header__bar {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: var(--shadow-md);
  margin-top: 0; height: 66px;
}
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.brand .brand__light { display: none; }
.is-overlay .brand .brand__dark { display: none; }
.is-overlay .brand .brand__light { display: block; }

.nav { display: none; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 44px; padding: .4rem .85rem; border: 0; border-radius: 999px; background: none;
  color: var(--green-900); font-weight: 600; font-size: .975rem; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--green-100); color: var(--green-900); }
.is-overlay .nav__link, .is-overlay .nav__toggle { color: #fff; }
.is-overlay .nav__link:hover, .is-overlay .nav__toggle:hover, .is-overlay .nav__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green-500); border-radius: 0; }
.is-overlay .nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 360px;
  padding: .6rem; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-lg);
  list-style: none;
}
/* Onzichtbare brug over de ruimte tussen knop en paneel, zodat het menu open blijft tijdens het bewegen */
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__panel a {
  display: grid; grid-template-columns: 40px 1fr; gap: .15rem .85rem; align-items: center;
  padding: .75rem .8rem; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink);
}
.nav__panel a:hover { background: var(--green-50); }
.nav__panel .ico {
  grid-row: span 2; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--green-100); color: var(--green-700);
}
.nav__panel .ico svg { width: 20px; height: 20px; }
.nav__panel strong { font-size: .975rem; color: var(--green-900); }
.nav__panel span:not(.ico) { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.35; }
.nav__panel .nav__panel-foot { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .4rem; }
.nav__panel .nav__panel-foot a { display: flex; justify-content: space-between; font-weight: 700; color: var(--green-700); font-size: var(--fs-small); }
/* Menu Bestemmingen: landen in twee kolommen */
.nav__panel--countries { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .25rem; min-width: 420px; }
.nav__panel--countries a { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; }
.nav__panel--countries .ico { width: 32px; height: 32px; border-radius: 10px; }
.nav__panel--countries .ico svg { width: 17px; height: 17px; }
.nav__panel--countries small { margin-left: auto; padding: .1rem .45rem; border-radius: 999px; background: var(--accent-100); color: var(--green-800); font-size: .7rem; font-weight: 700; }
.nav__panel--countries .nav__panel-foot { grid-column: 1 / -1; }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-phone {
  display: none; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; color: var(--green-900); text-decoration: none;
  padding: .4rem .6rem; border-radius: 999px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--green-500); }
.is-overlay .header-phone { color: #fff; }
.is-overlay .header-phone svg { color: var(--accent); }
.header-cta { display: none; }

.menu-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--green-900); color: #fff;
}
.is-overlay .menu-btn { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.menu-btn svg { width: 22px; height: 22px; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-actions { margin-left: .5rem; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
/* Menu-items nooit over twee regels; telefoonnummer pas tonen als er ruimte is */
.nav__link, .nav__toggle, .header-phone, .header-cta { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav__list { gap: 0; }
  .nav__link, .nav__toggle { padding-inline: .6rem; }
}
@media (min-width: 1380px) {
  .header-phone { display: inline-flex; }
}

/* Mobiel menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--green-900); color: #fff;
  overflow-y: auto;
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu__top img { width: 140px; }
.mobile-menu nav ul { list-style: none; display: grid; gap: .25rem; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: var(--stretch-head); text-transform: uppercase; font-size: 1.6rem; letter-spacing: .01em;
}
.mobile-menu nav a small { font-weight: 500; font-stretch: 100%; text-transform: none; font-size: .9rem; color: var(--green-200); letter-spacing: 0; }
.mobile-menu nav .sub a { font-size: 1.05rem; font-stretch: 100%; text-transform: none; font-weight: 600; padding-left: 1rem; color: var(--green-100); }
.mobile-menu nav .sub--countries { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.mobile-menu__actions { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
.mobile-menu__contact { display: grid; gap: .35rem; margin-top: 1rem; font-size: var(--fs-small); color: var(--green-100); }
.mobile-menu__contact a { color: #fff; font-weight: 700; }
.close-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff;
}
.close-btn svg { width: 22px; height: 22px; }

/* Mobiele actiebalk: bellen, mailen en offerte altijd binnen bereik */
.action-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: auto auto 1fr; gap: .5rem;
  padding: .5rem; border-radius: 999px;
  background: rgba(10, 43, 37, .96); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.action-bar.is-hidden { transform: translateY(140%); opacity: 0; }
.action-bar a {
  min-height: 48px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: 0 1rem; text-decoration: none; font-weight: 700; font-size: .95rem;
  color: #fff; background: rgba(255, 255, 255, .1);
}
.action-bar a svg { width: 18px; height: 18px; }
.action-bar a { white-space: nowrap; }
.action-bar a.is-primary { background: var(--cta); color: #fff; }
body.has-action-bar { padding-bottom: 84px; }
@media (max-width: 520px) {
  .action-bar a:not(.is-primary) { width: 48px; padding: 0; }
  .action-bar .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .action-bar { display: none; }
  body.has-action-bar { padding-bottom: 0; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  margin: 12px; border-radius: var(--r-xl); overflow: hidden;
  background: var(--green-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Achtergrondvideo: start onzichtbaar en vervaagt in zodra hij speelt; de foto blijft de eerste weergave */
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); filter: saturate(.9); }
.hero__video.is-playing { opacity: 1; }
.route-bar-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.route-bar-head .route-bar__label { margin-bottom: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 31, 26, .82) 0%, rgba(6, 31, 26, .7) 30%, rgba(6, 31, 26, .8) 60%, rgba(6, 31, 26, .96) 100%);
}
@media (min-width: 900px) {
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(6, 31, 26, .9) 0%, rgba(6, 31, 26, .8) 40%, rgba(6, 31, 26, .64) 80%, rgba(6, 31, 26, .38) 100%),
      linear-gradient(180deg, rgba(6, 31, 26, .55) 0%, rgba(6, 31, 26, 0) 22%, rgba(6, 31, 26, 0) 70%, rgba(6, 31, 26, .55) 100%);
  }
}
.hero__inner {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  padding-top: calc(var(--header-h) + clamp(4rem, 3rem + 6vw, 8rem));
  padding-bottom: clamp(2rem, 1rem + 4vw, 4rem);
}
/* Homepage: hero schermvullend en rand tot rand. Inhoud verticaal gecentreerd, aanvraagbalk onderaan. */
.hero--home { margin: 0; border-radius: 0; }
.hero--home .hero__inner {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 3vw, 3.5rem)); padding-bottom: clamp(1.5rem, .75rem + 2vw, 2.75rem);
}
.hero--home .hero__content { margin-block: auto; }
.static-mode .hero--home .hero__inner { min-height: var(--static-vh, 900px); }
/* Lage (laptop)schermen: compacter, zodat kop, knoppen én aanvraagbalk in beeld blijven */
@media (min-width: 900px) and (max-height: 760px) {
  .hero--home .hero__inner { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 1.25rem; }
  .hero--home .eyebrow { margin-bottom: .75rem; }
  .hero--home .lead { margin-top: .9rem; font-size: 1.05rem; }
  .hero--home .btn-row { margin-top: 1.25rem; }
  .hero--home .route-bar-wrap { margin-top: 1.5rem; }
}
.hero__content { max-width: 860px; }
.hero--home .hero__content { max-width: none; }
/* H1 homepage: precies twee regels; lettergrootte schaalt mee met de beschikbare breedte */
.hero .display.display--2l { font-size: min(5.4rem, calc((100vw - 44px - 2 * var(--gutter)) / 13.1), 9.5vh); } /* ook begrensd door schermhoogte */
@media (min-width: 601px) { .static-mode .hero .display.display--2l { font-size: min(5.4rem, calc((100vw - 44px - 2 * var(--gutter)) / 13.1), calc(var(--static-vh, 900px) * .095)); } }
.hero .display--2l .line { white-space: nowrap; }
@media (min-width: 900px) and (max-height: 760px) {
  .hero .display.display--2l { font-size: min(5.4rem, calc((100vw - 44px - 2 * var(--gutter)) / 13.1), 8.5vh); }
}
@media (max-width: 600px) {
  .hero .display.display--2l { font-stretch: 62%; font-size: calc((100vw - 34px - 2 * var(--gutter)) / 12.1); }
  .hero--home .lead { font-size: 1rem; margin-top: 1rem; }
  /* Mobiel: compacter, zodat de volledige hero binnen één scherm past */
  .hero--home .hero__inner { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 1.25rem; }
  .hero--home .eyebrow { letter-spacing: .08em; margin-bottom: .8rem; }
  .hero--home .btn-row { margin-top: 1.25rem; gap: .6rem; }
  .hero--home .route-bar-wrap { margin-top: 1.5rem; }
  .hero--home .route-bar__link { height: 10px; }
  .hero--home .route-field { min-height: 56px; }
  .hero--home .route-bar .btn { min-height: 56px; }
}
.hero .display { color: #fff; font-size: clamp(2.5rem, .9rem + 4.6vw, 5.4rem); }
.hero .display .accent { display: block; color: var(--accent-300); }
.hero .lead { margin-top: 1.25rem; color: rgba(255, 255, 255, .86); max-width: 52ch; }
.hero .btn-row { margin-top: 1.75rem; }
.hero .btn--secondary { background: rgba(6, 31, 26, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .btn--secondary:hover { background: #fff; }
.hero__phone { margin-top: 1.25rem; font-size: var(--fs-small); color: rgba(255, 255, 255, .8); }
.hero__phone a { color: #fff; font-weight: 700; }


/* Glazen informatiekaartje in de hero */
.glass-chip {
  display: inline-flex; align-items: center; gap: .9rem; max-width: 380px;
  padding: .8rem 1.1rem .8rem .8rem; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font-size: var(--fs-small); line-height: 1.35;
}
.glass-chip .ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent); color: var(--green-950);
}
.glass-chip .ico svg { width: 22px; height: 22px; }
.glass-chip strong { display: block; font-size: 1rem; }
.photo-frame .glass-chip strong, .photo-frame .glass-chip span span { white-space: nowrap; }
/* Label op foto: schaalt mee met de fotobreedte zodat beide regels op één regel blijven */
.photo-frame { container-type: inline-size; }
.photo-frame .glass-chip strong { font-size: min(1rem, calc((100cqi - 124px) / 16.5)); }
.photo-frame .glass-chip span span { font-size: min(var(--fs-small), calc((100cqi - 124px) / 14.5)); }
.glass-chip span { color: rgba(255, 255, 255, .78); }

/* Routebalk (snelstart-aanvraag): Van → Naar → Dienst → Offerte */
.route-bar-wrap { margin-top: clamp(2rem, 1.25rem + 2.5vw, 3rem); }
.route-bar__label {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .75rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.route-bar__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(63, 175, 139, .3); }
.route-bar {
  display: grid; gap: .4rem; padding: .5rem;
  border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
.route-field {
  position: relative; display: flex; align-items: center; gap: .8rem; min-width: 0;
  min-height: 62px; padding: .35rem .9rem .35rem .8rem; border-radius: 16px;
  background: var(--green-50); border: 1.5px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.route-field:hover { background: var(--green-100); }
.route-field:focus-within { border-color: var(--green-600); background: #fff; }
.route-field .marker { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.route-field__body { flex: 1; min-width: 0; }
.route-field label { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); line-height: 1.2; padding-top: .2rem; }
.route-field input, .route-field select {
  width: 100%; border: 0; background: transparent; padding: .1rem 0 .25rem;
  font-weight: 600; font-size: 1rem; color: var(--ink); outline: none; text-overflow: ellipsis;
}
.route-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6B5A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; }
.route-field input::placeholder { color: #75877F; font-weight: 500; }
.route-bar__link { display: grid; place-items: center; height: 18px; color: var(--green-500); }
.route-bar__link svg { width: 40px; transform: rotate(90deg); }
.route-bar .btn { min-height: 62px; border-radius: 16px; }
/* Containerquery: de balk schakelt op beschikbare breedte, niet op schermbreedte */
.route-bar-wrap { container-type: inline-size; }
@container (min-width: 860px) {
  .route-bar { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) minmax(0, .95fr) auto; align-items: center; gap: .5rem; }
  .route-bar__link { height: auto; }
  .route-bar__link svg { width: 44px; transform: none; }
}

/* Routemarkeringen (herbruikbaar) */
.dot-origin {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px rgba(53, 142, 121, .22);
}
.pin-dest { width: 22px; height: 22px; color: var(--green-700); }

/* Subpagina-hero: gesplitste kaart */
.hero--split .hero__inner { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero--split .hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) {
  .hero--split .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}
.hero--split .hero__photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.hero--split .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero__photo .glass-chip { position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: none; background: rgba(10, 43, 37, .55); }
/* Schermvullende hero (landenpagina): rand tot rand, inhoud gecentreerd, aanvraagbalk onderaan */
.hero--full { margin: 0; border-radius: 0; }
.hero--full .hero__inner {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(1.25rem, .5rem + 2vw, 2.5rem)); padding-bottom: clamp(1.5rem, .75rem + 2vw, 2.75rem);
}
.hero--full .hero__grid { margin-block: auto; padding-block: 1.5rem; }
.static-mode .hero--full .hero__inner { min-height: var(--static-vh, 900px); }
@media (min-width: 900px) and (max-height: 820px) {
  .hero--full .hero__inner { padding-top: calc(var(--header-h) + .75rem); padding-bottom: 1.25rem; }
  .hero--full .breadcrumb { margin-bottom: .75rem; }
  .hero--full .hero__grid { padding-block: .75rem; gap: 2rem; }
  .hero--full .country-route { padding: .9rem; }
  .hero--full .country-route .route-svg { max-height: 230px; }
  .hero--full .route-bar-wrap { margin-top: 1.25rem; }
  .hero--full .btn-row { margin-top: 1.25rem; }
  .hero--full .hero__content > .tag-list { display: none; }
}
.hero--photo { background: var(--green-950); }
/* Wegtransport: truck rechts zichtbaar */
.hero--truck .hero__media img { object-position: 72% 55%; }

.hero--photo .hero__media img { object-position: 22% 55%; }
.hero--photo .hero__media::after {
  background:
    linear-gradient(180deg, rgba(6, 31, 26, .7) 0%, rgba(6, 31, 26, .55) 35%, rgba(6, 31, 26, .82) 100%);
}
@media (min-width: 900px) {
  .hero--photo .hero__media::after {
    background:
      linear-gradient(90deg, rgba(6, 31, 26, .9) 0%, rgba(6, 31, 26, .75) 50%, rgba(6, 31, 26, .38) 72%, rgba(6, 31, 26, .22) 100%),
      linear-gradient(180deg, rgba(6, 31, 26, .5) 0%, rgba(6, 31, 26, 0) 22%, rgba(6, 31, 26, 0) 58%, rgba(6, 31, 26, .8) 100%);
  }
}
.hero--photo .country-route, .hero--photo .facts div {
  background: rgba(6, 31, 26, .48); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* Intro in de hero: vaste maat (24em), lettergrootte schaalt mee: altijd drie regels */
.hero .lead-fit .lead { font-size: max(14px, min(calc(100cqi / 21.5), var(--fs-lead))); max-width: 21.5em; }
.hero--plain { background: var(--green-900); }
.hero--plain .hero__bg-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(141, 198, 182, .28) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 10%, #000 60%);
  mask-image: linear-gradient(110deg, transparent 10%, #000 60%);
}

.breadcrumb { margin-bottom: 1.75rem; font-size: var(--fs-small); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em;
  background: var(--green-100); color: var(--green-800);
}
.on-dark .tag, .hero .tag { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.tag--accent { background: var(--accent) !important; color: var(--green-950) !important; border-color: transparent !important; }

/* ---------- 7. Dienstkaarten ---------- */
.service-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--r-lg) - 8px); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.045); }
@media (min-width: 1100px) { .service-card__media { aspect-ratio: auto; height: clamp(230px, 19vw, 270px); } }
.service-card__media .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--green-900); }
.service-card__media .round-arrow { position: absolute; right: 12px; top: 12px; }
.service-card:hover .round-arrow { transform: rotate(-45deg); background: var(--accent); }
.service-card__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; container-type: inline-size; }
/* Tekst schaalt mee met de kaartbreedte (cqi), zodat de regelval op elk scherm gelijk blijft:
   vraag op één regel, omschrijving op drie regels */
.service-card__q { font-weight: 700; color: var(--green-700); font-size: clamp(14px, 4.63cqi, 1.02rem); line-height: 1.4; }
.service-card__body p { color: var(--ink-2); }
.service-card__body p:not(.service-card__q) { font-size: clamp(14px, 4.83cqi, 1.0625rem); max-width: 20.7em; } /* 20.7em = 352px bij 17px: zelfde regelval in bredere kaarten */
@media (max-width: 400px) { .service-card__body { padding-inline: 1.1rem; } }
@media (max-width: 370px) { .service-card__body p:not(.service-card__q) { font-size: clamp(13.5px, 4.74cqi, 1.0625rem); } }
@media (min-width: 1100px) and (max-width: 1279px) {
  .service-grid { gap: .75rem; }
  .service-card__body { padding-inline: 1.1rem; }
}
.service-card__body .link-arrow { margin-top: auto; padding-top: .5rem; }
.service-card__body .link-arrow::after { content: ""; position: absolute; inset: 0; } /* hele kaart klikbaar */

.note-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding: 1.1rem 1.4rem; border-radius: var(--r-md);
  border: 1.5px dashed var(--line-strong); color: var(--ink-2);
}
.note-line p { margin: 0; }

/* ---------- 8. Aanpak: situaties als haltes op een route ---------- */
.approach { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .approach { grid-template-columns: 380px 1fr; gap: 3.5rem; align-items: start; } }

.stops { position: relative; list-style: none; display: grid; gap: .35rem; }
.stops::before {
  content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px;
  border-left: 2px dashed var(--green-300);
}
.stop {
  position: relative; width: 100%; text-align: left;
  display: flex; align-items: center; gap: 1rem;
  min-height: 56px; padding: .7rem 1rem .7rem .55rem;
  border: 1.5px solid transparent; border-radius: var(--r-sm); background: none;
  font-weight: 600; color: var(--ink-2); font-size: 1rem; line-height: 1.3;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.stop .stop__dot {
  position: relative; z-index: 1; width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--green-300); color: var(--green-600);
  font-size: .75rem; font-weight: 800;
  transition: all .2s var(--ease);
}
.stop:hover { background: var(--green-50); color: var(--green-900); }
.stop[aria-selected="true"] { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.stop[aria-selected="true"] .stop__dot { background: var(--accent); border-color: var(--accent); color: var(--green-950); }

.approach-panel {
  display: grid; border-radius: var(--r-lg); overflow: hidden;
  background: var(--green-50); border: 1px solid var(--green-100);
}
.approach > * { min-width: 0; }
@media (min-width: 760px) { .approach-panel { grid-template-columns: minmax(0, 1fr) 250px; } }
@media (min-width: 1000px) and (max-width: 1199px) {
  .approach-panel { grid-template-columns: 1fr; }
  .approach-panel__media { display: none; }
}
.approach-panel__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); container-type: inline-size; }
/* Opsommingen in de aanpak: vaste tekstbreedte (19.5em) en lettergrootte die meeschaalt met het paneel,
   zodat elk punt op ieder scherm op dezelfde plek afbreekt (twee regels) */
.approach-panel .check-list li {
  font-size: clamp(13px, calc((100cqi - 2.1rem) / 19.5), 1.0625rem);
  max-width: calc(2.1rem + 19.5em);
}
@media (max-width: 599px) {
  .approach-panel__body { padding: 1.35rem 1.1rem 1.5rem; }
}
.approach-panel__body h3 { margin-bottom: 1.25rem; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.approach-panel__media { position: relative; min-height: 220px; }
.approach-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.approach-panel__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: .5rem; }

.check-list { list-style: none; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2.1rem; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-dark .check-list li { color: rgba(255, 255, 255, .86); }
.on-dark .check-list li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2B25' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.approach-panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--green-200); }
.approach-panel__foot .tag-list { flex-basis: 100%; }

/* Zonder JavaScript: alle panelen onder elkaar tonen */
.no-js .stops { display: none; }
.no-js [role="tabpanel"][hidden] { display: grid !important; margin-top: 1rem; }

/* ---------- 9. Donkere sectie & route-lijn ---------- */
.dark-section {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 12px; border-radius: var(--r-xl);
  background: var(--green-900); color: #fff;
}
.dark-section .h2 { color: #fff; }
@media (max-width: 599px) { .dark-section { margin-inline: 8px; } }
.dark-section__bg { position: absolute; inset: 0; z-index: -1; }
.dark-section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.dark-section__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 43, 37, .97) 30%, rgba(10, 43, 37, .72) 70%, rgba(10, 43, 37, .55)); }

.route-line { list-style: none; position: relative; display: grid; gap: 0; }
.route-line__stop { position: relative; padding: 0 0 2.25rem 3.25rem; container-type: inline-size; }
.route-line__stop::before {
  /* verbindingslijn (mobiel: verticaal) */
  content: ""; position: absolute; left: 15px; top: 34px; bottom: -2px;
  border-left: 2px dashed rgba(141, 198, 182, .5);
}
.route-line__stop:last-child::before { display: none; }
.route-line__marker {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-800); border: 2px solid var(--green-300);
}
.route-line__marker::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-300); }
.route-line__stop--home .route-line__marker { background: var(--accent); border-color: var(--accent); }
.route-line__stop--home .route-line__marker::after { background: var(--green-900); }
.route-line__stop--highlight .route-line__marker { border-color: var(--accent); }
.route-line__stop--highlight .route-line__marker::after { background: var(--accent); }
.route-line__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); }
.route-line h3 { margin: .25rem 0 .5rem; color: #fff; font-size: 1.35rem; }
/* Haltetekst: vaste breedte (17em) en lettergrootte die meeschaalt met de kolom: overal drie regels */
.route-line p:not(.route-line__kicker) { color: rgba(255, 255, 255, .8); font-size: clamp(13px, calc(100cqi / 17), var(--fs-small)); max-width: 17em; }
.route-line .link-arrow { margin-top: .75rem; }

@media (min-width: 1100px) {
  .route-line { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 0; }
  .route-line__stop { padding: 3.5rem 0 0; }
  .route-line__stop::before {
    left: 34px; right: -1.5rem; top: 15px; bottom: auto; border-left: 0;
    border-top: 2px dashed rgba(141, 198, 182, .5);
  }
  .route-line__stop:last-child::before { display: block; right: 0; border-top-style: dotted; opacity: .5; }
}

/* Strook 'Transport per land': schaalt mee tot alle landenpagina's (gepland: 9) */
.country-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 2.5rem; padding: 1.1rem 1.25rem 1.1rem 1.4rem; border-radius: var(--r-md);
  border: 1.5px dashed rgba(255, 255, 255, .25);
}
.country-strip__main { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.country-strip__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); }
.country-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.country-list a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1.05rem .45rem .85rem;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-weight: 700; font-size: var(--fs-small); text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.country-list a svg { width: 16px; height: 16px; color: var(--accent-300); }
.country-list a:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.country-list a:hover svg { color: #fff; }
.country-strip__more { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; color: rgba(255, 255, 255, .85); font-size: var(--fs-small); }

/* Lopende stippellijn-animatie (alleen bij beweging toegestaan) */
@keyframes dash-flow { to { stroke-dashoffset: -40; } }
.route-svg .flow { stroke-dasharray: 6 8; animation: dash-flow 2.4s linear infinite; }
.route-svg .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s var(--ease); }
.is-visible .route-svg .draw, .route-svg.is-visible .draw { stroke-dashoffset: 0; }

/* ---------- 10. Over Midlog ---------- */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .about { grid-template-columns: .92fr 1.08fr; gap: 4rem; align-items: start; } }
.about__text .h2 { margin-bottom: 1.5rem; }
.about__text > p { color: var(--ink-2); max-width: 54ch; }
.about__visual { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.about__visual figure { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; }
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about__visual .is-wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.about__visual .is-tall { aspect-ratio: 4 / 5; }
.about__visual figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: inline-flex; width: fit-content; max-width: calc(100% - 24px);
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(10, 43, 37, .72); color: #fff; font-size: var(--fs-xs); font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (min-width: 1000px) { .about__visual { position: sticky; top: 100px; } }

.pillars { list-style: none; display: grid; gap: 1.1rem; margin: 2rem 0; }
.pillars li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.pillars .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.pillars .ico svg { width: 24px; height: 24px; }
.pillars strong { display: block; color: var(--green-900); font-size: 1.05rem; }
.pillars span { color: var(--ink-3); font-size: var(--fs-small); }
/* Omschrijving op één regel: lettergrootte schaalt mee met de kolom (min. 13px) */
.pillars li > div { min-width: 0; container-type: inline-size; }
.pillars li > div > span { display: block; font-size: clamp(13px, calc(100cqi / 19.5), var(--fs-small)); }

.vision {
  position: relative; margin: 2rem 0; padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: var(--r-md); background: var(--green-900); color: #fff;
  overflow: hidden;
}
.vision::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--accent); }
.vision p { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.vision small { display: block; margin-top: .5rem; color: var(--green-200); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.vision img { width: 190px; margin-top: 1rem; opacity: .95; }

.person-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center;
  padding: 1.1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-800); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
}
img.avatar { display: block; object-fit: cover; background: var(--green-100); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--green-200); }
.person-card strong { display: block; color: var(--green-900); font-size: 1.05rem; }
.person-card .role { font-size: var(--fs-small); color: var(--ink-3); }
.person-card__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.person-card__links a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .45rem .9rem; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100);
  font-weight: 600; font-size: var(--fs-small); text-decoration: none; color: var(--green-800);
  overflow-wrap: anywhere;
}
.person-card__links a:hover { background: var(--green-100); }
.person-card__links svg { width: 16px; height: 16px; flex: none; color: var(--green-600); }


/* ---------- 11. Werkwijze ---------- */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { min-height: 280px; } .step h3 { margin-top: auto; } }
.step {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  padding: 1.6rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step__num {
  font-stretch: var(--stretch-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: .6rem;
}
.step__num::after { content: ""; flex: 1; border-top: 2px dashed currentColor; opacity: .35; }
.step h3 { margin-top: .75rem; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.7rem); font-stretch: var(--stretch-head); font-weight: 800; text-transform: uppercase; line-height: 1.02; }
.step p { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }
.step--dark { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.step--dark h3 { color: #fff; }
.step--dark p { color: rgba(255, 255, 255, .8); }
.step--dark .step__num { color: var(--accent); }
.step--accent { background: var(--accent); border-color: var(--accent); }
.step--accent p { color: var(--green-900); }
.step--mint { background: var(--green-100); border-color: var(--green-100); }
.steps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

/* Verticale tijdlijn (dienst- en landenpagina) */
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; border-left: 2px dashed var(--green-300); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-900); color: var(--accent); font-weight: 800; font-stretch: var(--stretch-head);
}
.timeline li:last-child .num { background: var(--accent); color: var(--green-950); }
.timeline h3 { font-size: 1.15rem; margin: .55rem 0 .35rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.timeline li > div { min-width: 0; container-type: inline-size; }
.timeline li > div > p { font-size: max(13.5px, min(var(--fs-small), calc(100cqi / 30))); max-width: 30em; }
.on-dark .timeline h3 { color: #fff; }
.on-dark .timeline p { color: rgba(255, 255, 255, .8); }
.on-dark .timeline li::before { border-color: rgba(141, 198, 182, .5); }
.on-dark .timeline .num { background: var(--green-700); }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq__intro { position: sticky; top: 110px; align-self: start; } }
.faq__intro .h2 { margin-bottom: 1.25rem; }
.faq__intro p { color: var(--ink-2); }
/* Tekst met vaste regelval: breedte 22em, lettergrootte schaalt mee met de kolom (min. 14px) */
.text-fit { container-type: inline-size; }
.text-fit > p { font-size: max(14px, min(calc(100cqi / 22), var(--fs-body))); max-width: 22em; }
.nowrap { white-space: nowrap; }
.text-fit--faq > p { font-size: max(12px, min(calc(100cqi / 25), var(--fs-body))); max-width: none; }
.faq__contact { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.faq__contact a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; font-weight: 700; color: var(--green-800); font-size: var(--fs-small);
}
.faq__contact svg { width: 16px; height: 16px; color: var(--green-500); }

.accordion { display: grid; gap: .75rem; }
.accordion details {
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.accordion details[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 1rem 1.25rem 1rem 1.5rem;
  font-weight: 700; font-size: 1.05rem; color: var(--green-900); line-height: 1.35;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm {
  position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--green-50); border: 1px solid var(--green-100);
  transition: background-color .2s var(--ease), transform .3s var(--ease);
}
.accordion summary .pm::before, .accordion summary .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--green-800); transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.accordion summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary .pm { background: var(--accent); border-color: var(--accent); }
.accordion details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion summary:hover .pm { background: var(--green-100); }
.accordion .answer { padding: 0 1.5rem 1.4rem; color: var(--ink-2); max-width: 68ch; }
.accordion .answer a { font-weight: 600; }

/* ---------- 13. Contact & formulier ---------- */
.contact { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .contact { grid-template-columns: 400px 1fr; gap: 1.5rem; align-items: start; } }

.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg);
  background: var(--green-900); color: #fff;
}
.contact-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; z-index: -1;
  background-image: radial-gradient(rgba(141, 198, 182, .3) 1.2px, transparent 1.3px); background-size: 16px 16px;
  border-radius: 50%;
}
.contact-card h3 { color: #fff; margin-bottom: .35rem; }
.contact-card .muted { color: var(--green-200); }
/* Intro op één regel: schaalt mee met de kaartbreedte (min. 13px) */
.contact-card { container-type: inline-size; }
.contact-card > p.muted { font-size: clamp(13px, calc(100cqi / 19.5), var(--fs-small)); }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin: 1.5rem 0; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--accent); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list span { display: block; font-size: var(--fs-xs); color: var(--green-200); font-weight: 600; letter-spacing: .03em; }
.contact-list a, .contact-list address { color: #fff; font-weight: 700; font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-card .person-mini { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 52px 1fr; gap: .9rem; align-items: center; }
.contact-card .person-mini .avatar { width: 52px; height: 52px; font-size: 1rem; background: var(--accent); color: var(--green-950); }
.contact-card .person-mini img.avatar { box-shadow: 0 0 0 2px var(--green-900), 0 0 0 4px var(--accent-300); }
.contact-card .person-mini strong { display: block; }
.contact-card .person-mini div > span { display: block; font-size: var(--fs-small); color: var(--green-200); }
.contact-card .person-mini a { display: inline-block; margin-top: .2rem; color: #fff; font-weight: 700; font-size: var(--fs-small); text-decoration: none; }
.contact-card .person-mini a:hover { text-decoration: underline; }

.form-card {
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.form-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.form-card__head h3 { font-size: 1.35rem; }
.form-grid { display: grid; gap: 1.1rem 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }

.field { display: grid; gap: .4rem; align-content: start; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--green-900); padding: 0; }
.field .req { color: var(--danger); margin-left: .15rem; }
.field .opt { font-weight: 500; color: var(--ink-3); font-size: var(--fs-xs); margin-left: .25rem; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); margin-top: -.15rem; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .75rem .95rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
  font-size: 1rem; color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #84948E; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--green-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(53, 142, 121, .2); }
.textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6B5A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}
.input[readonly] { background: var(--green-50); }
.input:disabled, .select:disabled, .textarea:disabled { background: #EEF2F0; color: #8A9993; border-color: var(--line); cursor: not-allowed; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); background: #fffafa; }
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.field-error { display: none; align-items: flex-start; gap: .4rem; color: var(--danger); font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.field-error svg { width: 16px; height: 16px; flex: none; margin-top: .1em; }
.field.has-error .field-error { display: flex; }

/* Route-velden in het formulier */
.route-pair { position: relative; display: grid; gap: 1rem; padding: 1.1rem; border-radius: var(--r-md); background: var(--green-50); border: 1px solid var(--green-100); }
@media (min-width: 640px) { .route-pair { grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; } }
.route-pair__line { display: none; }
@media (min-width: 640px) {
  .route-pair__line { display: grid; place-items: center; position: absolute; left: 50%; top: 2.85rem; width: 40px; transform: translateX(-50%); color: var(--green-500); }
  .route-pair__line svg { width: 24px; height: 24px; }
}
.route-pair .field label { display: flex; align-items: center; gap: .5rem; }
.route-pair .field label .dot-origin { width: 11px; height: 11px; box-shadow: 0 0 0 3px rgba(53, 142, 121, .22); }
.route-pair .field label .pin-dest { width: 16px; height: 16px; }

/* Keuzechips (richting, bijzonderheden) */
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 46px;
  padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 600; font-size: var(--fs-small); color: var(--ink-2);
  transition: all .15s var(--ease);
}
.choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; flex: none;
  transition: all .15s var(--ease);
}
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice input:checked + span { border-color: var(--green-700); background: var(--green-50); color: var(--green-900); }
.choice input:checked + span::before { border-color: var(--green-700); background: var(--green-700); box-shadow: inset 0 0 0 3px #fff; }
.choice input[type="checkbox"]:checked + span::before {
  box-shadow: none;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--green-500); outline-offset: 2px; }
.choice input:hover + span { border-color: var(--green-500); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Optionele vrachtgegevens */
.extra {
  border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); background: #fff;
}
.extra summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .75rem 1.1rem; font-weight: 700; color: var(--green-800);
}
.extra summary::-webkit-details-marker { display: none; }
.extra summary small { font-weight: 500; color: var(--ink-3); }
.extra summary .pm-sm { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); flex: none; transition: transform .25s var(--ease); }
.extra summary .pm-sm svg { width: 14px; height: 14px; }
.extra[open] summary .pm-sm { transform: rotate(45deg); }
.extra[open] { border-style: solid; border-color: var(--green-200); }
.extra__body { padding: .25rem 1.1rem 1.25rem; }

.form-card { container-type: inline-size; }
/* Privacyzin op een eigen regel boven de knop; lettergrootte schaalt mee zodat hij op één regel past */
.form-footer { display: grid; gap: 1rem; justify-items: start; margin-top: 1.5rem; }
.form-footer p { margin: 0; font-size: clamp(12px, calc(100cqi / 36.5), var(--fs-xs)); color: var(--ink-3); }

.error-summary {
  margin-bottom: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r-sm);
  border: 2px solid var(--danger); background: var(--danger-bg);
}
.error-summary h4 { display: flex; align-items: center; gap: .5rem; color: var(--danger); font-size: 1.05rem; margin-bottom: .5rem; }
.error-summary h4 svg { width: 20px; height: 20px; }
.error-summary ul { padding-left: 1.75rem; display: grid; gap: .2rem; }
.error-summary a { color: var(--danger); font-weight: 600; }

.form-success { text-align: left; }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--accent); color: var(--green-950);
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .75rem; outline: none; }
.form-success dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 1.5rem 0; padding: 1.25rem; border-radius: var(--r-sm); background: var(--green-50); font-size: var(--fs-small); }
.form-success dt { color: var(--ink-3); font-weight: 600; }
.form-success dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- 14. CTA-band & footer ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-lg);
  background: var(--accent); color: var(--green-950);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); color: var(--green-950); }
.cta-band p { margin: .5rem 0 0; color: var(--green-900); max-width: 52ch; }
.cta-band .btn--dark .btn__chip { background: var(--accent); color: var(--green-950); }
.cta-band::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; z-index: -1;
  border: 2px dashed rgba(10, 43, 37, .18); border-radius: 50%;
}

.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 12px; border-radius: var(--r-xl);
  background: var(--green-950); color: rgba(255, 255, 255, .78);
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 2rem;
  font-size: var(--fs-small);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr; gap: 2rem; } }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-brand p { max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer .footer-countries { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: rgba(255, 255, 255, .16); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Iconen (eigen duotone set) ----------
   Lijn = currentColor, vlak = --ico-tint, accent = --ico-accent. Op donkere vlakken wisselen de variabelen. */
.on-dark, .action-bar {
  --ico-accent: var(--accent-300); --ico-tint: rgba(111, 208, 176, .16); --ico-bg: var(--green-900);
}
.nav__panel .ico, .pillars .ico, .situation .ico, .why li:not(:first-child) .ico {
  background: linear-gradient(160deg, #fff 0%, var(--green-50) 100%);
  border: 1px solid var(--green-100);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(10, 43, 37, .06);
  color: var(--green-800);
}
.task-list .ico, .mode .ico {
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff; --ico-accent: var(--accent-300); --ico-tint: rgba(111, 208, 176, .18); --ico-bg: var(--green-900);
}
.why li:first-child .ico, .glass-chip .ico {
  color: var(--green-950); --ico-accent: #fff; --ico-tint: rgba(255, 255, 255, .32); --ico-bg: var(--accent); --ico-on-accent: var(--green-900);
}
.contact-list .ico { color: #fff; }
.country-list a svg { color: #fff; }
.pillars .ico svg, .why .ico svg { width: 28px; height: 28px; }
.situation .ico svg { width: 28px; height: 28px; }
.nav__panel .ico svg { width: 22px; height: 22px; }
.nav__panel--countries .ico svg { width: 19px; height: 19px; }
.task-list .ico svg { width: 24px; height: 24px; }
.country-list a svg { width: 18px; height: 18px; }

/* ---------- 15. Introductievideo ---------- */
.intro-video { position: relative; margin: clamp(3.5rem, 2rem + 5vw, 6rem) 0 0; }
.intro-video__frame {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  background: var(--green-950); box-shadow: var(--shadow-lg);
}
.intro-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-video__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 31, 26, .25) 0%, rgba(6, 31, 26, .35) 45%, rgba(6, 31, 26, .88) 100%);
}
.intro-video__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border-radius: var(--r-lg); }
.intro-video__btn {
  position: relative; width: clamp(68px, 4rem + 3vw, 104px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--cta); color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.intro-video__btn::before {
  /* zachte pulserende ring */
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(111, 208, 176, .55);
  animation: play-pulse 2.6s var(--ease) infinite;
}
@keyframes play-pulse { 0% { transform: scale(.85); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
.intro-video__btn svg { width: 34%; height: 34%; margin-left: 7%; }
.intro-video__play:hover .intro-video__btn { transform: scale(1.07); background: var(--cta-hover); }
.intro-video__frame:hover .intro-video__poster { transform: scale(1.03); }
.intro-video__play:focus-visible { outline: 3px solid var(--accent-300); outline-offset: -8px; }
.intro-video__frame video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; background: #000; }
.intro-video.is-playing .intro-video__frame::after { display: none; }

.intro-video__meta { display: grid; gap: .25rem; margin-top: 1rem; }
.intro-video__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.intro-video__title { font-stretch: var(--stretch-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); line-height: 1; color: var(--green-900); }
.intro-video__info { font-size: var(--fs-small); color: var(--ink-3); }
/* Vanaf tablet: titel als overlay linksonder in het beeld */
@media (min-width: 600px) {
  .intro-video__meta {
    position: absolute; left: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.1rem, 2.5vw, 2rem); z-index: 2;
    margin: 0; pointer-events: none;
  }
  .intro-video__kicker { color: var(--accent-300); }
  .intro-video__title { color: #fff; }
  .intro-video__info { color: rgba(255, 255, 255, .8); }
  .intro-video.is-playing .intro-video__meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .intro-video__btn::before { animation: none; opacity: .6; } }

/* ---------- 16. Dienstpagina ---------- */
.situations { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 1200px) { .situations { grid-template-columns: 1fr 1fr; } }
.situation { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); background: var(--surface); }
.situation .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.situation .ico svg { width: 26px; height: 26px; }
.situation h3 { margin-bottom: .4rem; }
.situation p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.situation > div { min-width: 0; container-type: inline-size; }
.situation > div > p { font-size: max(13.5px, min(var(--fs-small), calc(100cqi / 30))); max-width: 30em; }
.situation p a { font-weight: 700; }
@media (max-width: 599px) { .situation { grid-template-columns: 1fr; gap: .9rem; } }
.situation .link-arrow { margin-top: .75rem; font-size: var(--fs-small); }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 1200px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split--reverse > :first-child { order: 2; } }
.photo-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame--portrait { aspect-ratio: 4 / 5; }
.photo-frame--land { aspect-ratio: 4 / 3; }
.photo-frame .glass-chip { position: absolute; left: 14px; bottom: 14px; background: rgba(10, 43, 37, .6); }
.side-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.btn--block { white-space: normal; text-align: center; }
.side-stack .photo-frame { margin: 0; }

.task-list { list-style: none; display: grid; gap: 0; }
.task-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.task-list li:last-child { border-bottom: 1px solid var(--line); }
.task-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-900); color: var(--accent); }
.task-list .ico svg { width: 22px; height: 22px; }
.task-list strong { display: block; color: var(--green-900); font-size: 1.05rem; margin-bottom: .2rem; }
.task-list p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.task-list li > div { min-width: 0; container-type: inline-size; }
.task-list li > div > p { font-size: max(13px, min(var(--fs-small), calc(100cqi / 31))); max-width: 31em; }

/* Vergelijkingstabel mogelijkheden */
.options { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.options caption { text-align: left; }
.options th, .options td { padding: 1.15rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.options tr:last-child th, .options tr:last-child td { border-bottom: 0; }
.options thead th { background: var(--green-900); color: #fff; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; }
.options tbody th { width: 26%; color: var(--green-900); font-size: 1.05rem; }
.options tbody th small { display: block; font-weight: 600; color: var(--green-600); font-size: var(--fs-xs); letter-spacing: .06em; margin-top: .2rem; }
.options td { color: var(--ink-2); font-size: var(--fs-small); }
.options tbody tr:hover th, .options tbody tr:hover td { background: var(--green-50); }
@media (max-width: 759px) {
  .options thead { display: none; }
  .options, .options tbody, .options tr, .options th, .options td { display: block; width: 100%; }
  .options tbody tr { border-bottom: 1px solid var(--line); padding: 1rem 1.1rem; }
  .options tbody tr:last-child { border-bottom: 0; }
  .options th, .options td { padding: .2rem 0; border: 0; }
  .options tbody th { width: 100%; margin-bottom: .35rem; }
  .options td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-top: .5rem; }
}

.benefits { display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 1200px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); background: rgba(10, 43, 37, .7); }
.benefit .num { font-stretch: var(--stretch-display); font-weight: 800; color: var(--accent); font-size: 1rem; letter-spacing: .06em; }
.benefit h3 { color: #fff; margin: .65rem 0 .45rem; }
.benefit p { margin: 0; color: rgba(255, 255, 255, .8); font-size: var(--fs-small); }
.benefit { container-type: inline-size; }
.benefit > p { font-size: max(13.5px, min(var(--fs-small), calc(100cqi / 30))); max-width: 30em; }

.checklist-card { padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.checklist-card h3 { margin-bottom: .5rem; }
.checklist-card > p { color: var(--ink-3); font-size: var(--fs-small); }
.checklist-card .check-list { margin: 1.25rem 0; }
.checklist-card .check-list li { font-size: var(--fs-small); }
.checklist-card .check-list li::before { background-color: var(--green-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6B5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.callout { display: flex; gap: .85rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--accent-100); color: var(--green-900); font-size: var(--fs-small); }
.callout svg { width: 20px; height: 20px; flex: none; color: var(--green-700); margin-top: .1em; }

.related { display: grid; gap: 1rem; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  position: relative; display: grid; gap: .4rem; padding: 1.5rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.related a:hover { border-color: var(--green-300); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.related .kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.related strong { font-size: 1.2rem; color: var(--green-900); }
.related span:not(.kicker) { color: var(--ink-3); font-size: var(--fs-small); }
.related .round-arrow { position: absolute; right: 1.1rem; top: 1.1rem; width: 38px; height: 38px; background: var(--green-50); }
.related a:hover .round-arrow { background: var(--accent); transform: rotate(-45deg); }

/* ---------- 17. Landenpagina ---------- */
.country-route { position: relative; margin: 0; padding: 1.25rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.country-route .route-svg { width: 100%; height: auto; }
.country-route .tag svg { width: 14px; height: 14px; }
.country-route .route-svg text { font-family: var(--font); }
.country-route__legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.route-mover {
  offset-path: path("M78 92 C 210 30, 330 120, 360 180 S 440 290, 486 262");
  offset-rotate: 0deg; opacity: 0;
  animation: move-along 6.5s var(--ease) 1.6s infinite;
}
@keyframes move-along {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  82% { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.hero--split .facts { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

.facts { display: grid; gap: 1px; margin-top: 2.5rem; border-radius: var(--r-md); overflow: hidden; background: rgba(255, 255, 255, .12); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 1.1rem 1.25rem; background: rgba(6, 31, 26, .55); }
.facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-300); }
.facts dd { margin: .3rem 0 0; color: #fff; font-weight: 600; line-height: 1.4; }

.direction-tabs { display: inline-flex; padding: .35rem; gap: .25rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 2rem; flex-wrap: wrap; }
.direction-tabs button {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1.3rem;
  border: 0; border-radius: 999px; background: none; font-weight: 700; color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.direction-tabs button svg { width: 18px; height: 18px; }
.direction-tabs button:hover { background: var(--green-50); }
.direction-tabs button[aria-selected="true"] { background: var(--green-900); color: #fff; }
.direction-tabs button[aria-selected="true"] svg { color: var(--accent); }
.no-js .direction-tabs { display: none; }
@media (max-width: 639px) {
  .direction-tabs { display: flex; width: 100%; flex-wrap: nowrap; }
  .direction-tabs button { flex: 1; justify-content: center; padding: .5rem .6rem; font-size: .9rem; text-align: center; line-height: 1.2; }
  .direction-tabs button svg { display: none; }
}

.flow { list-style: none; display: grid; gap: 1rem; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { position: relative; padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.flow li::before {
  counter-increment: flow; content: "0" counter(flow);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: .9rem;
}
.flow li:last-child::before { background: var(--accent); color: var(--green-950); }
@media (min-width: 900px) {
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 2.75rem; right: -1rem; width: 1rem; border-top: 2px dashed var(--green-300);
  }
}
/* Titel op één regel; de container staat op de h3 zelf, zodat de stapnummering (counter) doorloopt */
.flow h3 { container-type: inline-size; margin-bottom: .4rem; }
.flow h3 > span { display: block; font-size: min(1.1rem, calc(100cqi / 12.6)); white-space: nowrap; }
.flow p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }

.prose { max-width: 62ch; }
.prose p { color: var(--ink-2); }
.prose h3 { margin: 1.75rem 0 .6rem; }
.prose strong { color: var(--green-900); }
.disclaimer { display: flex; gap: .6rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); }
.disclaimer svg { width: 16px; height: 16px; flex: none; margin-top: .15em; }

.modes { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.mode .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-900); color: var(--accent); }
.mode .ico svg { width: 28px; height: 28px; }
.mode h3 { margin-bottom: .35rem; }
.mode p { margin: 0 0 .75rem; color: var(--ink-2); font-size: var(--fs-small); }
.mode dl { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.mode dl div { display: inline-flex; flex-wrap: wrap; column-gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: var(--green-50); font-size: var(--fs-xs); }
.mode dt { white-space: nowrap; }
.mode dt { color: var(--ink-3); font-weight: 600; }
.mode dd { margin: 0; color: var(--green-900); font-weight: 700; }
/* Kaart met afbeelding over de volle breedte; icoon valt half over de foto */
.mode--media { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--r-lg); }
.mode__media { position: relative; aspect-ratio: 2 / 1; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--green-100); }
.mode__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mode--media:hover .mode__media img { transform: scale(1.04); }
.mode__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem 1.5rem 1.6rem; flex: 1; container-type: inline-size; }
.mode__body > p { font-size: max(14px, min(1rem, calc(100cqi / 30))); max-width: 30em; }
@media (min-width: 1000px) { .mode__body > p { font-size: max(13px, min(1rem, calc(100cqi / 30))); } }
.mode__body .ico { margin-top: -30px; margin-bottom: 1rem; box-shadow: 0 0 0 5px var(--surface), 0 10px 20px rgba(10, 43, 37, .18); }
.mode__body .link-arrow { margin-top: auto !important; padding-top: .75rem; }

.highlight-block { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--green-100); }
@media (min-width: 900px) { .highlight-block { grid-template-columns: 1.15fr .85fr; } }
.highlight-block__body { padding: clamp(1.6rem, 1rem + 3vw, 3.25rem); }
.highlight-block__media { min-height: 280px; position: relative; }
.highlight-block__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.highlight-block .h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: 1rem; }
.highlight-block p { color: var(--ink-2); max-width: 54ch; }

.why { display: grid; gap: 1rem; }
@media (min-width: 1200px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why li { list-style: none; padding: 1.6rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.why .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: 1rem; }
.why .ico svg { width: 24px; height: 24px; }
.why h3 { margin-bottom: .4rem; }
.why li > p { font-size: max(13px, min(var(--fs-small), calc(100cqi / 22.5))); max-width: 22.5em; }
@media (max-width: 599px) { .why li { padding: 1.4rem 1.25rem; } }
.why li { container-type: inline-size; }
.why h3 { white-space: nowrap; font-size: min(var(--fs-h3), calc(100cqi / 12.6)); }
.why p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.why li:first-child { background: var(--green-900); border-color: var(--green-900); }
.why li:first-child h3 { color: #fff; }
.why li:first-child p { color: rgba(255, 255, 255, .82); }
.why li:first-child .ico { background: var(--accent); color: var(--green-950); }

/* ---------- 18. Onthul-animatie (ingetogen) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

.hero .display .line { display: block; }
.js .hero-anim .line, .js .hero-anim .fade-up { opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) forwards; }
.js .hero-anim .line:nth-child(2) { animation-delay: .08s; }
.js .hero-anim .line:nth-child(3) { animation-delay: .16s; }
.js .hero-anim .fade-up { animation-delay: .28s; }
.js .hero-anim .fade-up.d2 { animation-delay: .4s; }
.js .hero-anim .fade-up.d3 { animation-delay: .55s; }
@keyframes rise { to { 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; }
  .js .reveal, .js .hero-anim .line, .js .hero-anim .fade-up { opacity: 1 !important; transform: none !important; }
  .route-svg .flow { animation: none; }
}

/* Statische modus voor schermafdrukken (?static) */
.static-mode .reveal, .static-mode .hero-anim .line, .static-mode .hero-anim .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
.static-mode .site-header { position: absolute; }
.static-mode .action-bar { position: absolute; display: none; }

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .action-bar, .mobile-menu { display: none !important; }
  .hero, .dark-section, .site-footer { margin: 0; border-radius: 0; }
}
