/* NedUAV — site.css
   Kleuren komen uit het logo: slate (#4b6982) en mint (#b4ffd8).
   Mint alleen op donkere vlakken; op licht gebruiken we --mint-ink voor contrast. */

@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-var.woff") format("woff");
  font-weight: 100 900; font-stretch: 50% 125%; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/plex-var.woff") format("woff");
  font-weight: 100 700; font-stretch: 85% 100%; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/plex-var-italic.woff") format("woff");
  font-weight: 100 700; font-stretch: 85% 100%; font-style: italic; font-display: swap;
}

:root {
  --ink: #14222d;
  --ink-2: #1d3040;
  --slate: #4b6982;
  --slate-soft: #8aa1b3;
  --mint: #b4ffd8;
  --mint-ink: #146a4b;
  --paper: #f1f4f6;
  --white: #ffffff;
  --line: #cfd9e0;
  --text: #17252f;
  --muted: #4d606d;

  --display: "Saira", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.site-header { view-transition-name: header; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
@media (min-width: 60rem) { body { font-size: 1.125rem; } }
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.9rem); font-stretch: 78%; line-height: .95; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 82%; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-stretch: 92%; line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 38em; }
.measure { max-width: 38em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) * .6); }
.dark { background: var(--ink); color: #e5edf2; }
.dark .lede, .dark .muted { color: #a9bccb; }
.white { background: var(--white); }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--mint); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 1rem/1 var(--body);
  padding: 1em 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background: var(--ink); color: var(--white);
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--slate); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--white); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: .7em 1.05em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,244,246,.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.1rem; height: 2.1rem; color: var(--slate); }
.brand-word { font: 500 1.35rem/1 var(--display); font-stretch: 88%; letter-spacing: .16em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a:not(.btn) { display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 500; font-size: 1rem; border-radius: var(--radius); }
.site-nav a:not(.btn):hover { background: rgba(75,105,130,.1); }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--slate); border-radius: 0; }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; }

/* header boven de hero-video op de homepage */
.has-hero .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; color: var(--white); transition: background-color .3s, border-color .3s; }
.has-hero .site-header .brand, .has-hero .site-header .brand-mark { color: var(--white); }
.has-hero .site-header .btn { background: var(--mint); color: var(--ink); }
.has-hero .site-header.is-solid { background: rgba(20,34,45,.88); backdrop-filter: blur(10px); border-color: rgba(180,255,216,.12); }
.has-hero .site-nav a:not(.btn):hover { background: rgba(255,255,255,.1); }
.has-hero .site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--mint); }

@media (max-width: 62rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem;
    background: none; border: 1.5px solid currentColor; color: inherit;
    border-radius: var(--radius); padding: .5rem .8rem; font: 500 .95rem var(--body); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 1.1rem; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before { content: ""; position: absolute; top: 5px; }
  .nav-toggle-bars { transform: translateY(-2.5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-5px) rotate(-90deg); }
  .site-nav {
    position: fixed; inset: 4.25rem 0 auto; background: var(--ink); color: var(--white);
    padding: 1rem var(--gutter) 2rem; border-top: 1px solid rgba(180,255,216,.15);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { font: 500 1.6rem/1.1 var(--display); font-stretch: 85%; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .site-nav a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--mint); }
  .site-nav a:not(.btn):hover { background: none; color: var(--mint); }
  .nav-cta { margin: 1.25rem 0 0; }
  .nav-cta .btn { background: var(--mint); color: var(--ink); width: 100%; justify-content: center; padding: 1em; }
}

/* ---------- hero met camera-OSD ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,34,45,.6) 0%, rgba(20,34,45,.25) 45%, rgba(20,34,45,0) 70%),
    linear-gradient(180deg, rgba(20,34,45,.55) 0%, rgba(20,34,45,0) 22%, rgba(20,34,45,.1) 45%, rgba(20,34,45,.88) 100%);
}
.osd { position: absolute; inset: clamp(5.5rem, 9vh, 7rem) var(--gutter) clamp(1rem, 3vh, 2rem); pointer-events: none; }
.osd-corner { position: absolute; width: clamp(28px, 4vw, 54px); aspect-ratio: 1; border: 2px solid var(--mint); opacity: .9; }
.osd-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.osd-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.osd-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.osd-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.osd-cross { position: absolute; left: 50%; top: 42%; width: 44px; height: 44px; translate: -50% -50%; opacity: .75; }
.osd-cross::before, .osd-cross::after { content: ""; position: absolute; background: var(--mint); }
.osd-cross::before { left: 0; right: 0; top: 50%; height: 1.5px; background: linear-gradient(90deg, var(--mint) 35%, transparent 35% 65%, var(--mint) 65%); }
.osd-cross::after { top: 0; bottom: 0; left: 50%; width: 1.5px; background: linear-gradient(180deg, var(--mint) 35%, transparent 35% 65%, var(--mint) 65%); }
.osd-telemetry {
  position: absolute; top: .9rem; left: clamp(2.5rem, 5vw, 4.5rem); right: clamp(2.5rem, 5vw, 4.5rem);
  display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; justify-content: space-between;
  font: 500 .95rem/1.2 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums;
  color: var(--mint); text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.osd-telemetry span { white-space: nowrap; }
.osd-rec::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: #ff5a4f; margin-right: .45em; vertical-align: .08em; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-content { padding-block: 0 clamp(4rem, 12vh, 7rem); position: relative; }
.hero h1 { max-width: 11.5em; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34em; color: #dce6ec; margin-bottom: 1.9rem; }

/* opstart-sequentie: de zoeker “klikt” in beeld */
@media (prefers-reduced-motion: no-preference) {
  .osd-corner { animation: lock .9s var(--ease) both .25s; }
  .osd-corner.tl { --dx: -24px; --dy: -24px; } .osd-corner.tr { --dx: 24px; --dy: -24px; }
  .osd-corner.bl { --dx: -24px; --dy: 24px; } .osd-corner.br { --dx: 24px; --dy: 24px; }
  .osd-cross { animation: fadein .6s ease both .9s; }
  .osd-telemetry { animation: fadein .5s ease both 1s; }
  .hero-content > * { animation: rise .8s var(--ease) both; }
  .hero-content > :nth-child(1) { animation-delay: .5s; }
  .hero-content > :nth-child(2) { animation-delay: .65s; }
  .hero-content > :nth-child(3) { animation-delay: .8s; }
}
@keyframes lock { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.4); } to { opacity: .9; transform: none; } }
@keyframes fadein { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 40rem) {
  .osd-telemetry { font-size: .8rem; gap: .25rem 1rem; left: 2.25rem; right: 2.25rem; }
  .osd-telemetry .osd-hide-sm { display: none; }
  .osd-cross { display: none; }
}

/* ---------- paginakop (subpagina's) ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-head .lede:last-child { margin-bottom: 0; }
.page-head-split h1 { margin-bottom: 0; }
.page-head h1 { max-width: 13em; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.page-head-split { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 60rem) { .page-head-split { grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: last baseline; } }
.crumb { font-size: .95rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumb a { color: var(--muted); }
.full-bleed-img img { width: 100%; height: clamp(16rem, 52vw, 40rem); object-fit: cover; }

/* ---------- doelgroepen-lijst met wisselende preview ---------- */
.services { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .services { grid-template-columns: 1fr minmax(0, 28rem); gap: 4rem; align-items: start; } }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-link {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; align-items: baseline;
  padding: 1.6rem 0; text-decoration: none; position: relative;
}
.service-name { font: 600 clamp(2rem, 4.6vw, 3.6rem)/1 var(--display); font-stretch: 78%; transition: color .2s; }
.service-price { font: 500 1.05rem var(--display); font-stretch: 90%; color: var(--muted); white-space: nowrap; }
.service-desc { grid-column: 1 / -1; color: var(--muted); max-width: 34em; margin: 0; }
.service-link:hover .service-name, .service-link:focus-visible .service-name, .service-item.is-active .service-name { color: var(--slate); }
.service-thumb { display: none; }
.service-preview { position: sticky; top: 6rem; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.service-preview picture { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.service-preview picture.is-active { opacity: 1; }
.service-preview img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
@media (max-width: 59.99rem) {
  .service-preview { display: none; }
  .service-thumb { display: block; grid-column: 1 / -1; margin-top: .9rem; border-radius: var(--radius); overflow: hidden; }
  .service-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
}

/* ---------- bouwvoortgang-planner ---------- */
.planner { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .planner { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; } }
.planner-panel { background: var(--ink-2); border: 1px solid rgba(180,255,216,.14); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.freq { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid rgba(180,255,216,.35); border-radius: var(--radius); padding: 3px; margin: 0 0 1.75rem; }
.freq legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.freq input { position: absolute; opacity: 0; pointer-events: none; }
.freq label { text-align: center; font-size: clamp(.86rem, 2.6vw, .98rem); padding: .75rem .3rem; border-radius: 4px; cursor: pointer; font-weight: 500; transition: background-color .2s, color .2s; }
.freq input:checked + label { background: var(--mint); color: var(--ink); }
.freq input:focus-visible + label { outline: 3px solid var(--mint); outline-offset: 2px; }
.plan-price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .25rem; }
.plan-amount { font: 600 clamp(3rem, 7vw, 4.6rem)/1 var(--display); font-stretch: 80%; color: var(--mint); font-variant-numeric: tabular-nums; }
.plan-unit { color: #a9bccb; }
.plan-note { color: #a9bccb; font-size: .95rem; margin-bottom: 1.75rem; }
.timeline { margin: 0 0 .75rem; }
.timeline-track { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; height: 3.25rem; align-items: end; }
.timeline-week { height: 30%; background: rgba(169,188,203,.22); border-radius: 2px; transition: height .35s var(--ease), background-color .35s; }
.timeline-week.is-flight { height: 100%; background: var(--mint); }
.timeline-axis { display: flex; justify-content: space-between; font-size: .85rem; color: #a9bccb; margin-top: .55rem; font-variant-numeric: tabular-nums; }
.plan-count { font: 500 1.15rem var(--display); font-stretch: 92%; color: #e5edf2; margin: 1rem 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85rem; height: .45rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--mint-ink); }
.dark .ticks li::before { color: var(--mint); }

/* ---------- pakketten (makelaars) ---------- */
.packages { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.package-feature { background: var(--ink); color: #e5edf2; border-color: var(--ink); }
.package h3 { margin-bottom: .2rem; }
.package-price { font: 600 2.6rem/1 var(--display); font-stretch: 82%; margin: .9rem 0 .2rem; font-variant-numeric: tabular-nums; }
.package-feature .package-price { color: var(--mint); }
.package-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.package-feature .package-sub { color: #a9bccb; }
.package .ticks { margin-bottom: 1.75rem; font-size: 1rem; }
.package-feature .ticks li::before { color: var(--mint); }
.package .btn { margin-top: auto; align-self: flex-start; }
.package-feature .btn { background: var(--mint); color: var(--ink); }
.package-feature .btn:hover { background: var(--white); }

/* ---------- loep (inspecties) ---------- */
.loupe { position: relative; border-radius: var(--radius); overflow: hidden; cursor: crosshair; touch-action: none; background: var(--ink); }
.loupe > picture img { width: 100%; }
.loupe-lens {
  position: absolute; width: clamp(9rem, 22vw, 15rem); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--mint); box-shadow: 0 0 0 1px rgba(20,34,45,.6), 0 10px 30px rgba(0,0,0,.35);
  background-repeat: no-repeat; pointer-events: none; translate: -50% -50%;
  opacity: 0; transition: opacity .2s;
}
.loupe.is-active .loupe-lens { opacity: 1; }
.loupe-hint { position: absolute; left: .9rem; bottom: .9rem; background: rgba(20,34,45,.82); color: var(--white); font-size: .9rem; padding: .45rem .75rem; border-radius: 4px; transition: opacity .2s; }
.loupe.is-active .loupe-hint { opacity: 0; }

/* ---------- twee kolommen / tekst + beeld ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split-rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius); width: 100%; }
.uses { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 52rem) { .uses { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.use { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.use h3 { margin-bottom: .35rem; }
.use p { margin: 0; color: var(--muted); }

/* ---------- stappen (echte volgorde) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; padding: 1.5rem 0; border-top: 2px solid var(--ink); }
.dark .steps li { border-color: var(--mint); }
.steps li::before { content: counter(step); display: block; font: 600 2.4rem/1 var(--display); font-stretch: 80%; color: var(--slate); margin-bottom: .8rem; }
.dark .steps li::before { color: var(--mint); }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
.dark .steps p { color: #a9bccb; }

/* ---------- bevoegdheden ---------- */
.creds { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .creds { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.cred-list { margin: 0; display: grid; align-content: start; grid-template-columns: minmax(0, 8.5rem) 1fr; border-top: 1px solid var(--line); }
.cred-list dt, .cred-list dd { padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.cred-list dt { font: 600 1.15rem/1.3 var(--display); font-stretch: 88%; padding-right: 1rem; }
.cred-list dd { color: var(--muted); }

/* ---------- werkgebied ---------- */
.area { position: relative; color: var(--white); overflow: hidden; }
.area picture img { width: 100%; height: clamp(26rem, 55vw, 38rem); object-fit: cover; }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,34,45,.9) 0%, rgba(20,34,45,.3) 50%, rgba(20,34,45,0) 75%); }
.area-text { position: absolute; inset: auto 0 0; z-index: 1; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.area-places { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.area-places li { border: 1px solid rgba(180,255,216,.5); color: var(--mint); padding: .35rem .8rem; border-radius: 999px; font-size: .95rem; }

/* ---------- portfolio ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(6, 1fr); } .g-wide { grid-column: span 6; } .g-half { grid-column: span 3; } .g-third { grid-column: span 2; } }
.gallery figure { margin: 0; position: relative; }
.gallery button { all: unset; display: block; cursor: zoom-in; width: 100%; border-radius: var(--radius); overflow: hidden; }
.gallery button:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .6s var(--ease); }
.g-wide img { aspect-ratio: 21 / 9; }
.gallery button:hover img { transform: scale(1.025); }
.gallery figcaption { font-size: .95rem; color: var(--muted); padding-top: .55rem; }
.video-frame { border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-frame video { width: 100%; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(10,18,24,.9); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; object-fit: contain; border-radius: 4px; }
.lightbox p { color: #dce6ec; margin: .7rem 0 0; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; background: var(--mint); color: var(--ink); border: 0; border-radius: var(--radius); padding: .6rem .9rem; font: 600 1rem var(--body); cursor: pointer; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.25rem/1.3 var(--display); font-stretch: 92%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.55rem; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq details p { color: var(--muted); max-width: 42em; padding-bottom: 1.25rem; margin: 0; }

/* ---------- CTA-band ---------- */
.cta-band { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 60rem) { .cta-band { grid-template-columns: 1.3fr .7fr; gap: 4rem; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-actions { display: grid; gap: .75rem; justify-items: start; }
.cta-phone { font: 600 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); font-stretch: 82%; color: var(--mint); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-phone:hover { text-decoration: underline; }

/* ---------- formulier ---------- */
.form-grid { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .form-grid { grid-template-columns: 1.25fr .75fr; gap: 5rem; } }
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; font-size: 1rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .85rem .95rem; transition: border-color .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(75,105,130,.25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.chips { position: relative; }
.field .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; left: 0; top: 0; }
.chips label { display: inline-block; font-weight: 500; margin: 0; padding: .55rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chips input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 3px solid var(--slate); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; color: var(--muted); }
.form-error { background: #fde8e6; color: #7a1c15; border-radius: var(--radius); padding: .9rem 1rem; }
.contact-aside { display: grid; gap: 2rem; align-content: start; }
.contact-aside h2 { font-size: 1.6rem; }
.contact-line { font: 600 1.6rem/1.2 var(--display); font-stretch: 85%; text-decoration: none; display: block; }
.contact-line:hover { color: var(--slate); }

/* ---------- prose ---------- */
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9bccb; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer a { color: #e5edf2; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-word { font: 500 1.6rem/1 var(--display); font-stretch: 88%; letter-spacing: .16em; color: var(--mint); margin-bottom: 1rem; }
.footer-brand p:last-child { max-width: 24em; }
.footer-head { font: 600 1.05rem var(--display); font-stretch: 92%; color: #e5edf2; margin-bottom: .8rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-block: 1.25rem 2rem; border-top: 1px solid rgba(169,188,203,.18); font-size: .9rem; }
.footer-legal p { margin: 0; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-l { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.center-text { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  @view-transition { navigation: none; }
}
.mt-s { margin-top: 1.25rem; }
.section-tight.pt-0, .pt-0 { padding-top: 0; }
.fieldset-plain { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- ritme: twee opeenvolgende blokken met dezelfde achtergrond delen hun witruimte ---------- */
:is(.page-head, .section, .section-tight):not(.dark, .white) + :is(.section, .section-tight):not(.dark, .white),
.white + .white, .dark + .dark { padding-top: 0; }

/* donkere CTA direct boven de donkere footer: geen dubbele ruimte, wel een scheidingslijn */
main > .dark:last-child { padding-bottom: calc(var(--space) * .6); }
main:has(> .dark:last-child) + .site-footer { padding-top: 0; }
main:has(> .dark:last-child) + .site-footer .footer-grid { border-top: 1px solid rgba(169,188,203,.18); padding-top: calc(var(--space) * .6); }

/* mobiel: knoppen in een rij even breed en gecentreerd */
@media (max-width: 40rem) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn, .cta-actions .btn { justify-content: center; width: 100%; }
  .cta-actions { justify-items: stretch; }
}

/* mobiel: bevoegdheden onder elkaar in plaats van een smalle tweede kolom */
@media (max-width: 40rem) {
  .cred-list { grid-template-columns: 1fr; }
  .cred-list dt { padding-bottom: .2rem; border-bottom: 0; }
  .cred-list dd { padding-top: 0; }
}

/* ---------- icoontjes voor telefoon en e-mail ---------- */
a[href^="tel:"]:not(.prose a)::before,
a[href^="mailto:"]:not(.prose a, .form-note a)::before {
  content: ""; display: inline-block; flex: none;
  width: .95em; height: .95em; margin-right: .45em; vertical-align: -.12em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
a[href^="tel:"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
a[href^="mailto:"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.footer-list a[href^="tel:"], .footer-list a[href^="mailto:"],
.contact-line[href^="tel:"], .contact-line[href^="mailto:"],
.cta-phone { display: inline-flex; align-items: center; }
.cta-phone::before, .contact-line::before { width: .8em; height: .8em; }
.btn[href^="tel:"]::before, .btn[href^="mailto:"]::before { margin-right: 0; }

/* Laatste Instagram-post (data komt van /ig/latest.json, lokaal gehost) */
.ig { border-top: 1px solid var(--line); padding-top: calc(var(--space) * .6) !important; }
.ig-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .ig-grid { grid-template-columns: 1fr minmax(0, 22rem); gap: 4rem; } }
.ig-handle { font: 600 .95rem/1 var(--display); letter-spacing: .06em; color: var(--mint-ink); margin: 0 0 .75rem; }
.ig-caption { max-width: 34em; white-space: pre-line; }
.ig-date { font-size: .95rem; margin-bottom: 1.5rem; }
.ig .btn-ghost { color: var(--ink); }
.ig .btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ig-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 4 / 5; }
.ig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-media:hover img { transform: scale(1.03); }
.ig-badge { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: var(--white); font: 600 .8rem/1 var(--display); letter-spacing: .05em; padding: .45em .65em; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .ig-media img { transition: none; } .ig-media:hover img { transform: none; } }
[hidden] { display: none !important; }

/* hulptekst onder formuliervelden */
.form-note { font-size: .85rem; opacity: .7; margin: .4rem 0 0; line-height: 1.4; }
