/* BROVAN homepage V2, lokaal prototype.
   Kleuranker: brandboard (marine #0B1D33, antraciet #1F2328, licht #F5F5F5, goud #C8A96A).
   Eén licht thema: wit en lichtblauw als basis, marine als ritme (hero, werkwijze, advies, footer).
   Vormtaal: overal rechte hoeken, als kozijnprofielen. Goud alleen als accent; goudtekst op licht via --gold-ink. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* merk */
  --navy: #0B1D33;
  --navy-2: #132A45;
  --navy-deep: #071423;
  --gold: #C8A96A;
  --gold-hover: #D6BC86;
  --gold-ink: #7A5C22;
  --on-navy: #F1F3F5;
  --on-navy-muted: #D5DCE4;

  /* vlakken */
  --bg: #F5F5F5;
  --white: #FCFCFC;
  --blue-tint: #E7EEF5;
  --blue-line: #C3D1DF;

  /* tekst en lijnen */
  --ink: #0B1D33;
  --text: #1F2328;
  --muted: #44515D;
  --line: #C9D0D6;
  --error: #A63A2B;
  --focus: #0B1D33;

  --font-sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fs-small: .9375rem;   /* 15px: ondergrens voor secundaire tekst */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section-y: clamp(64px, 7.5vw, 112px);
}

/* ===== basis ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--gold); color: #0B1D33; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* donkere vlakken krijgen een gouden focusring, lichte vlakken (topbalk, formulier) een marineblauwe */
.site-header, .mobile-menu, .hero, .process, .request, .site-footer, .action-bar { --focus: #C8A96A; }
.form-panel { --focus: #0B1D33; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; background: var(--gold); color: #0B1D33; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: currentColor; }
.icon-lg { width: 2.25rem; height: 2.25rem; }

/* ===== typografie ===== */
.section { padding-block: var(--section-y); }
.section-title {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
  font-weight: 600;
  font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.005em;
  max-width: 22ch;
}
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.eyebrow-on-dark { color: var(--gold); }

/* ===== knoppen: rechte hoeken, één goud primair ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 0;
  font-size: .9375rem; font-weight: 650; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: var(--gold); color: #0B1D33; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-ghost-light { color: var(--on-navy); border-color: rgb(241 243 245 / .55); background: transparent; }
.btn-ghost-light:hover { background: var(--on-navy); color: #0B1D33; border-color: var(--on-navy); }
.btn-navy { background: #0B1D33; color: #F1F3F5; border-color: #0B1D33; }
.btn-navy:hover { background: #132A45; border-color: #132A45; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 650; text-decoration: none;
  border-bottom: 1.5px solid var(--gold); padding-bottom: 3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.text-link:hover { gap: 12px; color: var(--gold-ink); }
.text-link .icon { width: 1em; height: 1em; }

/* ===== beeldlabels (eigen foto, schema): altijd onder het beeld ===== */
.hero-figure figcaption, .crew-mosaic figcaption, .area-diagram figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-top: 10px; font-size: var(--fs-small); line-height: 1.45; color: var(--muted);
}
.tag {
  display: inline-block; padding: 2px 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid currentColor; line-height: 1.5;
}
.tag-real { color: var(--gold-ink); }
.tag-schema { color: var(--ink); }

.check-list li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px;
  border: 1.5px solid var(--gold-ink); transform: rotate(45deg) scale(.75);
}

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--on-navy);
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); flex: 0 0 auto; }
.logo-mark { width: 26px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2.5; }
.logo-type { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-type span { font-size: 1.12rem; font-weight: 550; letter-spacing: .24em; margin-right: -.24em; }
.logo-type small { font-size: .52rem; font-weight: 600; letter-spacing: .42em; margin-right: -.42em; color: var(--gold); padding-top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(14px, 1.5vw, 24px); }
.primary-nav a {
  position: relative; display: block; padding: 24px 0;
  font-size: .9375rem; font-weight: 550; text-decoration: none; color: var(--on-navy-muted); white-space: nowrap;
  transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--on-navy); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgb(255 255 255 / .25); color: var(--on-navy); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid rgb(255 255 255 / .1); padding: 8px var(--gutter) 24px; background: var(--navy); }
.mobile-menu ul { margin-bottom: 16px; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgb(255 255 255 / .08); }

@media (max-width: 1240px) {
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1241px) { .mobile-menu { display: none !important; } }
@media (max-width: 640px) {
  .header-cta { display: none; }
  .logo-type span { font-size: 1rem; }
}

/* ===== witte topbalk: werkgebied, subsidie, telefoon ===== */
.topbar { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 4px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; text-decoration: none; color: var(--ink); }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
/* checks: herkenbaar als link (onderstreping in goud, pijl die meebeweegt) */
.topbar-links a span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.topbar-links a:hover { color: var(--gold-ink); }
.topbar .icon-arrow { width: .95em; height: .95em; color: var(--ink); transition: transform .25s var(--ease); }
.topbar-links a:hover .icon-arrow { transform: translateX(3px); }
.topbar .icon { width: 1.05em; height: 1.05em; color: var(--gold-ink); }
@media (max-width: 640px) {
  .topbar .topbar-phone, .topbar .tb-long { display: none; }
  .topbar-links { gap: 2px 20px; }
}
@media (max-width: 380px) { .topbar-links .icon { display: none; } }

/* ===== hero (marine) ===== */
.hero {
  background: var(--navy); color: var(--on-navy);
  padding-block: clamp(28px, 3vw, 44px);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
/* kop hoger in de hero: tekst start bovenaan, ongeveer op de hoogte van de foto */
.hero-copy { padding-top: clamp(4px, 1.5vw, 20px); }
.hero h1 {
  color: var(--on-navy);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, .47rem + 3.57vw, 3.5rem);
  line-height: 1.06; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.h1-line { display: block; }
.h1-accent { display: block; color: var(--gold); }
.hero-lead { max-width: 44ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--on-navy-muted); margin-bottom: 36px; }
.hero-figure { justify-self: end; width: min(100% - 22px, 400px); }
/* foto schaalt mee met de schermhoogte, zodat de kernfeitenbalk op een laptopscherm zichtbaar blijft
   (topbalk + header ~111 px, hero-padding ~80 px, tekst kernfeitenbalk ~92 px) */
@media (min-width: 861px) {
  .hero-figure { width: min(100% - 22px, 400px, max(300px, (100vh - 300px) * .8)); }
  @supports (height: 100svh) { .hero-figure { width: min(100% - 22px, 400px, max(300px, (100svh - 300px) * .8)); } }
}
.hero-figure figcaption { color: var(--on-navy-muted); }
.hero-figure .tag-real { color: var(--gold); }

/* merkmotief: twee verschoven kozijnvormen uit het logo, hier als gouden lijn achter de foto */
.frame-echo { position: relative; isolation: isolate; }
.frame-echo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 2px solid var(--gold);
  transform: translate(-22px, -22px);
}
.frame-echo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--navy-2); }

@media (prefers-reduced-motion: no-preference) {
  .js .frame-echo::before { animation: frame-in 1.1s var(--ease) .25s both; }
  .js .hero-copy > * { animation: rise .8s var(--ease) both; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
}
@keyframes frame-in { from { transform: translate(0, 0); opacity: 0; } to { transform: translate(-22px, -22px); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; width: min(100% - 22px, 420px); margin-left: 22px; }
}

/* ===== kernfeiten (wit) ===== */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid li { display: flex; gap: 12px; padding: 18px 20px; border-left: 1px solid var(--line); }
.facts-grid li:first-child { border-left: 0; padding-left: 0; }
.facts-grid .icon { width: 26px; height: 26px; color: var(--gold-ink); margin-top: 1px; }
.facts-grid strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.35; white-space: nowrap; }
.facts-grid span { display: block; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; margin-top: 2px; }
@media (max-width: 1240px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid li { border-left: 0; padding: 16px 0; }
  .facts-grid li:nth-child(odd) { padding-right: 16px; }
  .facts-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid li { padding: 14px 0; }
  .facts-grid strong { white-space: normal; }
  .facts-grid li + li { border-top: 1px solid var(--line); }
}

/* ===== aanbod (licht): hoofdproduct als paneel, overige diensten als rij ===== */
.offer .section-title { margin-bottom: clamp(32px, 4vw, 52px); }
.offer-feature {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: clamp(20px, 3vw, 36px);
}
.offer-feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offer-feature-body { max-width: 60ch; padding-top: 4px; }
.offer-feature-body h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.offer-feature-body > p { color: var(--muted); margin-bottom: 18px; }
.offer-feature-body .check-list { margin-bottom: 24px; }
.offer-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px); }
.offer-row li { padding-top: 20px; border-top: 2px solid var(--navy); }
.offer-row h3 { margin-bottom: 6px; }
.offer-row p { color: var(--muted); font-size: var(--fs-small); }
.offer-row .text-link { margin-top: 14px; font-size: var(--fs-small); }
@media (max-width: 960px) { .offer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .offer-feature { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .offer-row { grid-template-columns: 1fr; } }

/* ===== keuzes (lichtblauw, tabs) ===== */
.choices { background: var(--blue-tint); }
.choices .section-title { margin-bottom: clamp(24px, 3vw, 40px); }
.tablist { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--blue-line); margin-bottom: clamp(28px, 4vw, 44px); }
.tab {
  position: relative; padding: 14px 20px; min-height: 48px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: 1rem;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold-ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tabpanel + .tabpanel { margin-top: 56px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.tabpanel[hidden] { display: none; }
.tabpanel .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tabpanel-body { max-width: 58ch; padding-top: 4px; }
.tabpanel-body h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 600; letter-spacing: 0; line-height: 1.12; margin-bottom: 16px; }
.tabpanel-body > p { color: var(--muted); margin-bottom: 22px; }
.tabpanel-body .check-list li { border-top-color: var(--blue-line); }
.tabpanel-body .text-link { margin-top: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .js .tabpanel:not([hidden]) { animation: fade .45s var(--ease) both; }
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .section { padding-block: 48px; }
  .offer .section-title, .choices .section-title { margin-bottom: 24px; }
  .offer-feature { gap: 20px; }
  .offer-row { margin-top: 24px; gap: 20px; }
  .tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { padding: 12px 6px; font-size: .9375rem; line-height: 1.3; text-align: center; }
  .tabpanel { grid-template-columns: 1fr; gap: 20px; }
  .tabpanel .media img { aspect-ratio: 4 / 3; }
}

/* ===== montage / mensen (wit) ===== */
.crew { background: var(--white); }
.crew-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.crew-copy .section-title { margin-bottom: 22px; }
.crew-copy > p { color: var(--muted); max-width: 52ch; margin-bottom: 32px; font-size: 1.0625rem; }
.crew-facts { margin: 0 0 32px; border-top: 2px solid var(--gold); }
.crew-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.crew-facts dt { font-size: var(--fs-small); font-weight: 700; color: var(--muted); padding-top: 1px; }
.crew-facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.crew-mosaic { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.crew-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.crew-mosaic .m-a { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.crew-mosaic .m-b { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; }
.crew-mosaic .m-c { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 5; object-position: 50% 30%; }
.crew-mosaic figcaption { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 860px) {
  .crew-grid { grid-template-columns: 1fr; }
  .crew-mosaic { order: -1; }
}
@media (max-width: 480px) { .crew-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ===== werkwijze (marine band) ===== */
.process {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-navy-muted);
  /* merkaccent: zachte gouden gloed rechtsboven en een lichte verloop naar rechts */
  background:
    radial-gradient(ellipse 55% 75% at 86% 22%, rgb(200 169 106 / .11), transparent 62%),
    linear-gradient(100deg, var(--navy) 52%, #11294A);
}
/* merkaccent: het logomerk (twee verschoven kozijnvormen) groot en dun in goud, deels afgesneden */
.process::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -21%; right: 3%;
  width: clamp(200px, 23vw, 340px); aspect-ratio: 44 / 54;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 44 54'%3E%3Cpath d='M5 10 29 2v40H5V10Z M13 17 37 8v42H13V17Z' fill='none' stroke='%23C8A96A' stroke-width='.32' stroke-linejoin='miter'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .38;
}
/* tweede, kleinere echo van hetzelfde merk, iets verschoven: herhaalt het dubbele kader */
.process::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  bottom: -7%; right: 9%;
  width: clamp(90px, 8vw, 120px); aspect-ratio: 44 / 54;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 44 54'%3E%3Cpath d='M5 10 29 2v40H5V10Z M13 17 37 8v42H13V17Z' fill='none' stroke='%23C8A96A' stroke-width='.32' stroke-linejoin='miter'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .28;
}
@media (max-width: 960px) {
  .process::before { top: -70px; right: -64px; width: 170px; opacity: .3; }
  .process::after { display: none; }
}
.process .section-title { color: var(--on-navy); margin-bottom: clamp(36px, 5vw, 56px); }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.process-steps li { padding-top: 18px; border-top: 1px solid rgb(241 243 245 / .22); }
.step-num { display: block; font-variant-numeric: lining-nums; font-family: var(--font-display); font-weight: 600; font-size: 3.25rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.process-steps h3 { color: var(--on-navy); margin-bottom: 8px; }
.process-steps p { font-size: 1rem; line-height: 1.6; }
.process-more { margin-top: 44px; }
.process .text-link { color: var(--on-navy); }
.process .text-link:hover { color: var(--gold); }
@media (max-width: 960px) { .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; row-gap: 0; }
  .process-steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; padding: 20px 0; }
  .step-num { grid-row: 1 / 3; font-size: 2.6rem; margin: 0; }
}

/* ===== werkgebied + subsidie (licht) ===== */
.area-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.area-copy .section-title { margin-bottom: 18px; }
.area-copy > p { color: var(--muted); max-width: 60ch; }
.place-list { columns: 3; column-gap: 24px; margin: 20px 0 24px; }
.place-list li { position: relative; padding: 4px 0 4px 18px; break-inside: avoid; color: var(--ink); font-weight: 600; }
.place-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.area-note { color: var(--muted); max-width: 60ch; }
.area-note + .area-note { margin-top: 14px; }
.area-note strong { color: var(--ink); }
.area-diagram { justify-self: center; width: min(100%, 480px); }
.wg-svg { display: block; width: 100%; height: auto; }
/* werkgebiedkaart: gemeentegrenzen uit PDOK/BAG, lokaal getekend (geen externe kaartdienst) */
.wg-map { border: 1px solid var(--line); background: #D7DEE5; }
.wg-bg { fill: #D7DEE5; }
.wg-gem { fill: #E4E9EF; stroke: #B4C3D2; stroke-width: .8; stroke-linejoin: round; }
.wg-service-fill { fill: #EAD9B4; }
.wg-boundaries .wg-gem { fill: none; }
.wg-national-boundary { fill: none; stroke: #697787; stroke-width: 1.5; stroke-linejoin: round; }
.wg-area { fill: none; stroke: var(--navy); stroke-width: 1.6; }
.wg-radius { stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 6 5; }
.wg-km { fill: var(--gold-ink); font: 700 15px var(--font-sans); paint-order: stroke; stroke: #FCFCFC; stroke-width: 5px; stroke-linejoin: round; }
.wg-country { fill: var(--muted); font: 600 14px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; paint-order: stroke; stroke: #D7DEE5; stroke-width: 5px; stroke-linejoin: round; }
.wg-excluded { fill: var(--muted); font: 500 13px var(--font-sans); paint-order: stroke; stroke: #D7DEE5; stroke-width: 4px; stroke-linejoin: round; }
.wg-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.wg-legend span { display: inline-flex; align-items: center; gap: 8px; }
.wg-key { width: 16px; height: 16px; border: 1px solid #697787; flex: 0 0 auto; }
.wg-key-service { background: #EAD9B4; }
.wg-key-outside { background: #D7DEE5; }
.wg-dot { fill: var(--navy); }
.wg-center { fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; }
.wg-label { fill: var(--ink); font: 600 14px var(--font-sans); paint-order: stroke; stroke: #FCFCFC; stroke-width: 5px; stroke-linejoin: round; }
.wg-label-main { font-size: 17px; font-weight: 700; }

.subsidy {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px clamp(20px, 3vw, 40px); align-items: center;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 3.5vw, 40px);
  background: var(--blue-tint); border-left: 4px solid var(--gold);
}
.subsidy .icon-lg { color: var(--navy); }
.subsidy h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.2rem); line-height: 1.1; margin-bottom: 8px; }
.subsidy p { color: var(--muted); max-width: 68ch; }
@media (max-width: 960px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-diagram { justify-self: start; }
  .subsidy { grid-template-columns: 1fr; }
  .subsidy .btn { justify-self: start; }
}
@media (max-width: 520px) {
  .place-list { columns: 2; }
  .wg-label, .wg-km, .wg-country { font-size: 17px; }
  .wg-label-main { font-size: 20px; }
}

/* ===== vragen (wit, twee kolommen) ===== */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-head { margin-bottom: clamp(28px, 4vw, 44px); }
.faq-head .section-title { margin-bottom: 12px; }
.faq-head p { color: var(--muted); }
.faq-head a { color: var(--ink); font-weight: 650; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion-col details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 650; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--gold-ink); transition: transform .3s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion summary:hover { color: var(--gold-ink); }
.accordion details p { padding: 0 40px 20px 0; color: var(--muted); }
@media (max-width: 860px) {
  .accordion { grid-template-columns: 1fr; }
  .accordion-col + .accordion-col details:first-child { border-top: 0; }
}

/* ===== advies aanvragen (marine) ===== */
.request { background: var(--navy); color: var(--on-navy-muted); }
.request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.request .section-title { color: var(--on-navy); margin-bottom: 18px; }
.request-copy > p { max-width: 48ch; margin-bottom: 24px; font-size: 1.0625rem; }
.contact-actions { display: grid; gap: 10px; max-width: 440px; }
.contact-actions a {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  border: 1px solid rgb(241 243 245 / .24); text-decoration: none; color: var(--on-navy);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.contact-actions a:hover { border-color: var(--gold); background: rgb(255 255 255 / .05); transform: translateX(4px); }
.contact-actions .icon { width: 26px; height: 26px; color: var(--gold); }
.contact-actions span { display: flex; flex-direction: column; line-height: 1.4; font-size: 1.0625rem; color: var(--on-navy-muted); }
.contact-actions strong { color: var(--on-navy); font-weight: 650; }
.next-title { color: var(--on-navy); font-size: 1.0625rem; margin: 32px 0 10px; }
.next-steps { counter-reset: next; max-width: 440px; }
.next-steps li { counter-increment: next; position: relative; padding: 10px 0 10px 36px; font-size: 1.0625rem; line-height: 1.55; color: var(--on-navy); border-top: 1px solid rgb(241 243 245 / .18); }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: 10px;
  font-family: var(--font-display); font-variant-numeric: lining-nums; font-weight: 600; font-size: 1.35rem; line-height: 1.1; color: var(--gold);
}

.form-panel { background: #FCFCFC; color: #1F2328; padding: clamp(24px, 3.5vw, 40px); border-top: 3px solid var(--gold); }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; grid-column: 1 / -1; align-content: start; }
.field-half { grid-column: span 1; }
.field label { font-weight: 650; font-size: 1rem; color: #0B1D33; }
.optional { font-weight: 500; color: #44515D; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #FFFFFF; color: #1F2328;
  border: 1.5px solid #6B7782; border-radius: 0;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #0B1D33; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #0B1D33; outline-offset: 0; border-color: #0B1D33; }
.field [aria-invalid="true"] { border-color: #A63A2B; }
.field-help { font-size: var(--fs-small); color: #44515D; }
.field-error { font-size: var(--fs-small); font-weight: 600; color: #A63A2B; }
.demo-form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-left: 3px solid #C8A96A; background: #F5F0E4; color: #1F2328; font-size: var(--fs-small); }
.form-status strong { color: #0B1D33; }
@media (max-width: 860px) { .request-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-half { grid-column: 1 / -1; } }

/* ===== footer ===== */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding-top: 64px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 32ch; }
.footer-title { color: var(--gold); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links li + li { margin-top: 4px; }
.footer-links a, .site-footer address { color: var(--on-navy); }
.footer-links a { display: inline-block; padding-block: 3px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.site-footer .muted, .footer-small { color: var(--on-navy-muted); }
.footer-small { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 32px; border-top: 1px solid rgb(255 255 255 / .1); padding-block: 20px 28px; font-size: var(--fs-small); color: var(--on-navy-muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== mobiele actiebalk ===== */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: var(--navy); border-top: 1px solid rgb(255 255 255 / .14);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px;
    color: var(--on-navy); text-decoration: none; font-weight: 650; font-size: .9375rem;
  }
  .action-bar a + a { border-left: 1px solid rgb(255 255 255 / .14); }
  .action-bar .icon { color: var(--gold); }
  .action-bar .action-primary { background: var(--gold); color: #0B1D33; border-left: 0; }
  .action-bar :focus-visible { outline-offset: -4px; }
  .action-bar .action-primary:focus-visible { outline-color: #0B1D33; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ===== zonder JavaScript: knoppen die dan niets doen verbergen; alle inhoud blijft zichtbaar ===== */
html:not(.js) .menu-toggle, html:not(.js) .tablist { display: none !important; }

/* ===== reveal bij scrollen: inhoud is altijd zichtbaar (ook in screenshots en printen);
   alleen bij in beeld komen een korte fade-in, en alleen zonder reduced motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal].is-visible { animation: reveal-in .8s var(--ease) both; }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ===== footer: juridische links onderaan (gedeeld met de vervolgpagina's) ===== */
.footer-bottom a { color: var(--on-navy); text-decoration: underline; text-decoration-color: rgb(200 169 106 / .7); text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom a[aria-current="page"] { color: var(--gold); }

/* ===== demoformulier: velden staan in een fieldset die pas met JavaScript wordt vrijgegeven ===== */
.demo-fields { display: contents; border: 0; margin: 0; padding: 0; min-width: 0; }
.demo-fields:disabled .field input, .demo-fields:disabled .field select, .demo-fields:disabled .field textarea { background: #EEF1F4; cursor: not-allowed; }
.demo-fields:disabled .btn { opacity: .55; cursor: not-allowed; transform: none; }
.form-note { grid-column: 1 / -1; font-size: var(--fs-small); color: #44515D; }
.form-note a { color: #0B1D33; font-weight: 600; text-decoration-color: var(--gold-ink); text-underline-offset: 3px; }
