/* JA Ontruiming — huisstijl: donkerblauw / groen / lichtgrijs */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* huisstijl: donkerblauw #1F3A5F, groen #3BA776, lichtgrijs #EEF1F4, wit */
  --navy-950: #10233b;   /* diepste tint: footer, laadscherm, tekst op groen */
  --navy-900: #1f3a5f;   /* hoofdkleur */
  --navy-800: #26466f;
  --navy-700: #2f5281;
  --navy-600: #3e6593;
  --green-300: #7fd0a7;  /* lichte tint: kleine groene tekst op donkerblauw */
  --green-400: #3ba776;  /* accent */
  --green-500: #33956a;
  --green-700: #267352;  /* donkere tint: groene tekst op lichtgrijs */
  --grey-50: #f7f8fa;
  --grey-100: #eef1f4;
  --grey-200: #dfe4ea;
  --grey-300: #c5cdd6;
  --grey-500: #7c8998;
  --grey-600: #56647a;
  --white: #fff;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --header-h: 76px;
  --section-y: clamp(80px, 12vw, 168px);
  color-scheme: light;
}

/* ------------------------------------------------------------ basis */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.6;
  color: var(--navy-900);
  background: var(--grey-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-400); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: 10px; background: var(--green-400); color: var(--navy-950); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

.accent { color: var(--green-400); }
.section--light .accent, .section--white .accent { color: var(--green-700); }
.muted { color: var(--grey-600); }

/* ------------------------------------------------------------ typografie */

.display {
  font-size: clamp(2.7rem, 7.4vw, 7.25rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -0.045em;
}
.display strong, .h2 strong { font-weight: 600; }
.h2 { font-size: clamp(2.1rem, 4.8vw, 4.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; }
.h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.55; max-width: 38em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-300);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--light .eyebrow, .section--white .eyebrow { color: var(--green-700); }
.eyebrow--dark { color: var(--navy-900) !important; }
.eyebrow__num { opacity: .6; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ knoppen */

.btn {
  --bg: var(--green-400); --fg: var(--navy-950); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.5em;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 1rem; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--white));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fg-hover, var(--navy-900)); }
.btn .icon-arrow { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn .icon-wa { width: 1.25em; height: 1.25em; fill: currentColor; }
.btn--primary { --bg: var(--green-400); --fg: var(--navy-950); --fill: var(--white); }
.btn--dark { --bg: var(--navy-900); --fg: var(--white); --fill: var(--white); --fg-hover: var(--navy-900); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / .28); --fill: var(--white); }
.btn--outline-dark { --bg: transparent; --fg: var(--navy-900); --bd: var(--navy-900); --fill: var(--navy-900); --fg-hover: var(--white); }
.btn--wa { --bg: var(--green-400); --fg: var(--navy-950); --fill: var(--white); }
.section--light .btn--ghost, .section--white .btn--ghost { --fg: var(--navy-900); --bd: rgb(11 26 46 / .25); --fill: var(--navy-900); --fg-hover: var(--white); }
.btn--sm { min-height: 44px; padding: .65em 1.15em; font-size: .92rem; }
.btn--lg { min-height: 60px; padding: 1em 1.8em; font-size: 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon-arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link-arrow:hover .icon-arrow { transform: translateX(4px); }

.dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green-400); flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.pill {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .5em 1em; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .05);
  font-size: .88rem; color: var(--grey-200);
}

.chip { display: inline-flex; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--grey-300); background: var(--white); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------ header */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
  transition: transform .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
  view-transition-name: site-header;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header.is-scrolled { background: rgb(11 26 46 / .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: var(--navy-950); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo__box {
  display: inline-flex; align-items: baseline; gap: .28em;
  padding: .55em .95em .58em; border-radius: 12px;
  background: var(--navy-900); border: 1px solid rgb(255 255 255 / .16);
  font-size: 1.15rem; font-weight: 600; line-height: 1; letter-spacing: -0.015em;
  transition: transform .6s var(--ease), border-color .4s;
}
.logo__ja { color: var(--green-400); }
.logo__word { color: var(--white); }
.logo:hover .logo__box { transform: translateY(-2px) rotate(-2deg); border-color: var(--green-400); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__link { position: relative; padding: 6px 0; font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .86; transition: opacity .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--green-400); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; margin: auto; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 99;
  background: var(--navy-950); color: var(--white); overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { display: flex; flex-direction: column; gap: 40px; padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px)); min-height: 100%; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgb(255 255 255 / .08); }
.menu__link { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 300; letter-spacing: -0.03em; text-decoration: none; transform: translateY(110%); transition: transform .8s var(--ease) calc(var(--i) * 60ms + 150ms), color .3s; }
.menu.is-open .menu__link { transform: none; }
.menu__link:hover, .menu__link[aria-current="page"] { color: var(--green-400); }
.menu__num { font-size: .8rem; font-weight: 600; color: var(--green-300); letter-spacing: .1em; }
.menu__contact { margin-top: auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.menu__tel { font-size: 1.3rem; text-decoration: none; }

/* ------------------------------------------------------------ secties */

.section { position: relative; padding-block: var(--section-y); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--darker { background: var(--navy-950); color: var(--white); }
.section--light { background: var(--grey-100); color: var(--navy-900); }
.section--white { background: var(--white); color: var(--navy-900); }
.section--green { background: var(--green-400); color: var(--navy-950); }
.section--dark .muted, .section--darker .muted { color: var(--grey-300); }
.section__head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
.section__head--split .lead { margin: 0; justify-self: end; }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 64px) 72px;
  background: var(--navy-900); color: var(--white);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--1 { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: radial-gradient(circle, rgb(59 167 118 / .38), transparent 65%); }
.hero__glow--2 { width: 40vw; height: 40vw; left: -16vw; bottom: -20vw; background: radial-gradient(circle, rgb(42 74 110 / .9), transparent 65%); }
.hero > .wrap { min-width: 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { margin-bottom: clamp(24px, 3vw, 36px); }
.hero__title strong { color: var(--green-400); font-weight: 500; }
.hero__lead { color: var(--grey-200); margin-bottom: clamp(28px, 3.5vw, 44px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: clamp(32px, 4vw, 52px); font-size: .92rem; color: var(--grey-300); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon-check { width: 18px; height: 18px; fill: none; stroke: var(--green-400); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgb(255 255 255 / .3); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--green-400); animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* pagina-hero voor subpagina's */
.page-hero { position: relative; overflow: hidden; padding-block: calc(var(--header-h) + clamp(56px, 9vw, 120px)) clamp(64px, 9vw, 120px); background: var(--navy-900); color: var(--white); }
.page-hero .hero__grid { mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000 20%, transparent 70%); }
.page-hero__inner { position: relative; max-width: 1020px; }
.page-hero .display { font-size: clamp(2.5rem, 6.4vw, 6rem); margin-bottom: clamp(20px, 3vw, 32px); }
.page-hero .lead { color: var(--grey-200); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.5vw, 40px); }

.crumbs { margin-bottom: clamp(24px, 4vw, 40px); font-size: .88rem; color: var(--grey-300); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green-300); }

/* ------------------------------------------------------------ dossier-kaart (hero) */

.dossier-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03));
  border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dossier-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.dossier-card__title { font-weight: 600; font-size: 1.02rem; }
.dossier-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; background: rgb(59 167 118 / .14); color: var(--green-300); }
.dossier-card__addr { margin: -10px 0 18px; font-size: .85rem; color: var(--grey-300); }
.dossier-card__rooms { display: grid; gap: 8px; }
.dossier-card__room {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgb(255 255 255 / .05);
  font-size: .95rem;
}
.dossier-card__room .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .25); flex: none; transition: background .4s, border-color .4s; }
.dossier-card__room .tick svg { width: 15px; height: 15px; fill: none; stroke: var(--navy-900); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.dossier-card__room .photos { margin-left: auto; font-size: .78rem; color: var(--grey-300); }
.dossier-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.dossier-card__bar { flex: 1; height: 6px; border-radius: 6px; background: rgb(255 255 255 / .1); overflow: hidden; }
.dossier-card__bar span { display: block; height: 100%; width: 100%; background: var(--green-400); transform-origin: left; transform: scaleX(0); }
.dossier-card__done { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-300); opacity: 0; }
.dossier-card__float {
  position: absolute; left: -28px; bottom: -26px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--white); color: var(--navy-900);
  font-size: .85rem; font-weight: 600;
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .55);
}
.dossier-card__float .icon-wa { width: 22px; height: 22px; fill: var(--green-500); }

/* afvinken: stap voor stap na laden */
html.is-ready .dossier-card__room:nth-child(1) .tick { --t: 1.4s; }
html.is-ready .dossier-card__room:nth-child(2) .tick { --t: 1.9s; }
html.is-ready .dossier-card__room:nth-child(3) .tick { --t: 2.4s; }
html.is-ready .dossier-card__room:nth-child(4) .tick { --t: 2.9s; }
html.is-ready .dossier-card__room .tick { animation: tickBg .4s var(--ease) var(--t) both; }
html.is-ready .dossier-card__room .tick svg { animation: tickDraw .5s var(--ease) calc(var(--t) + .1s) both; }
html.is-ready .dossier-card__bar span { animation: barFill 2.2s var(--ease-io) 1.2s both; }
html.is-ready .dossier-card__done { animation: fadeIn .6s var(--ease) 3.4s both; }
@keyframes tickBg { from { background: transparent; border-color: rgb(255 255 255 / .25); } to { background: var(--green-400); border-color: var(--green-400); } }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ marquee */

.marquee { overflow: hidden; background: var(--green-400); color: var(--navy-950); padding-block: clamp(14px, 2vw, 22px); border-block: 1px solid rgb(11 26 46 / .1); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); font-size: clamp(1.3rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -0.03em; white-space: nowrap; }
.marquee__item::after { content: ""; width: .38em; height: .38em; border-radius: 50%; background: var(--navy-950); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ intro (woorden lichten op tijdens scrollen) */

.statement { font-size: clamp(1.75rem, 4vw, 3.6rem); font-weight: 300; line-height: 1.14; letter-spacing: -0.035em; max-width: 22em; }
.statement .sw { transition: color .4s var(--ease); }
html.js .statement[data-scrub] .sw { color: var(--grey-300); }
html.js .statement[data-scrub] .sw.is-lit { color: var(--navy-900); }
html.js .statement[data-scrub] .sw.is-lit.is-accent { color: var(--green-700); }
.statement__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: clamp(36px, 5vw, 64px); }

/* ------------------------------------------------------------ kaarten (diensten) */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  min-height: clamp(260px, 26vw, 340px);
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-200);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), border-color .4s, background-color .5s var(--ease), color .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(59 167 118 / .22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.card:hover::before { opacity: 1; }
.card__num { font-size: .85rem; font-weight: 600; color: var(--green-700); letter-spacing: .08em; transition: color .4s; }
.card:hover .card__num { color: var(--green-300); }
.card__title { margin: auto 0 12px; font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; }
.card__text { margin: 0 0 22px; color: var(--grey-600); font-size: .98rem; transition: color .4s; }
.card:hover .card__text { color: var(--grey-200); }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.card__more .icon-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.card:hover .card__more .icon-arrow { transform: translateX(6px); }
.card--feature { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.card--feature .card__num { color: var(--green-300); }
.card--feature .card__text { color: var(--grey-200); }
.card--feature:hover { background: var(--green-400); color: var(--navy-900); border-color: var(--green-400); }
.card--feature:hover .card__text, .card--feature:hover .card__num { color: var(--navy-900); }
.card--feature::before { display: none; }

/* ------------------------------------------------------------ werkwijze (stappen met voortgang) */

.steps { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); --p: 0; }
.steps__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.steps__aside .lead { color: var(--grey-200); margin-top: 24px; }
.steps__progress { position: relative; height: 3px; margin-top: 40px; border-radius: 3px; background: rgb(255 255 255 / .1); overflow: hidden; }
.steps__progress span { position: absolute; inset: 0; background: var(--green-400); transform-origin: left; transform: scaleX(var(--p)); }
.steps__count { margin-top: 14px; font-size: .9rem; color: var(--grey-300); font-variant-numeric: tabular-nums; }
.steps__list { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px) clamp(64px, 7vw, 96px); border-top: 1px solid rgb(255 255 255 / .12); opacity: .38; transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 1px solid rgb(255 255 255 / .12); }
.step.is-active { opacity: 1; }
html:not(.js) .step { opacity: 1; }
.step__num { position: absolute; left: 0; top: clamp(28px, 4vw, 48px); display: grid; place-items: center; width: clamp(44px, 4.5vw, 56px); height: clamp(44px, 4.5vw, 56px); border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .25); font-weight: 600; font-size: .95rem; transition: background .5s var(--ease), color .5s, border-color .5s; }
.step.is-active .step__num { background: var(--green-400); border-color: var(--green-400); color: var(--navy-950); }
.step__title { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 12px; }
.step p { color: var(--grey-200); margin: 0; max-width: 34em; }
.step ul { margin-top: 16px; display: grid; gap: 8px; color: var(--grey-200); }
.step li { display: flex; gap: 10px; }
.step li::before { content: ""; width: 6px; height: 6px; margin-top: .65em; border-radius: 50%; background: var(--green-400); flex: none; }

/* ------------------------------------------------------------ USP-blokken */

.usps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--grey-300); border: 1px solid var(--grey-300); border-radius: var(--radius); overflow: hidden; }
.usp { padding: clamp(26px, 3vw, 40px); background: var(--grey-100); transition: background .5s var(--ease); }
.usp:hover { background: var(--white); }
.usp__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: clamp(36px, 5vw, 64px); border-radius: 14px; background: var(--navy-900); transition: transform .6s var(--ease), background .4s; }
.usp:hover .usp__icon { transform: rotate(-8deg) scale(1.06); background: var(--green-400); }
.usp__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.usp:hover .usp__icon svg { stroke: var(--navy-900); }
.usp h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.usp p { margin: 0; color: var(--grey-600); font-size: .98rem; }

/* ------------------------------------------------------------ split-blokken */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split .h2, .steps__aside .h2 { margin-bottom: clamp(20px, 2.5vw, 32px); }
.split .h2 + .lead { margin-top: 0; }
.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .icon-check { width: 24px; height: 24px; flex: none; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--green-400); fill: none; stroke: var(--navy-900); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.section--light .checklist .icon-check, .section--white .checklist .icon-check { background: var(--navy-900); stroke: var(--green-400); }

/* panel met voor/na */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beforeafter figure { margin: 0; }
.beforeafter figcaption { margin-top: 10px; font-size: .85rem; color: var(--grey-300); display: flex; justify-content: space-between; }
.section--light .beforeafter figcaption, .section--white .beforeafter figcaption { color: var(--grey-600); }

/* kamer-illustraties */
.room { width: 100%; height: auto; border-radius: 14px; overflow: hidden; }
.room__wall { fill: #dfe6ee; }
.room__floor { fill: #c9b79d; }
.room__window { fill: #bfe3f2; stroke: #fff; stroke-width: 5; }
.room__frame { stroke: #fff; stroke-width: 4; }
.room__lamp { stroke: var(--navy-700); stroke-width: 2; }
.room__lampshade { fill: var(--navy-700); }
.room__bulb { fill: #ffffff; stroke: var(--grey-300); }
.room__box { fill: #c59a62; stroke: #a37c48; stroke-width: 2; }
.room__box--alt { fill: #d8b483; }
.room__sofa { fill: var(--navy-600); }
.room__bag { fill: #3a3f46; }
.room__shine path { fill: var(--green-500); transform-box: fill-box; transform-origin: center; animation: shine 2.4s var(--ease) infinite; }
.room__shine path:nth-child(2) { animation-delay: .8s; }
.room__broom { stroke: #8a6a3e; stroke-width: 4; stroke-linecap: round; }
.room__broom-head { fill: var(--green-700); }
.room__wood { fill: #b98a55; stroke: #9a6f3f; stroke-width: 2; }
.room__wood--light { fill: #d2a873; }
.room__seam { stroke: rgb(16 35 59 / .25); stroke-width: 1.5; }
.room__knob { fill: var(--navy-700); }
.room__lamp-foot { fill: var(--navy-700); }
.room__mattress { fill: #ffffff; stroke: var(--grey-300); stroke-width: 1.5; }
.room__pillow { fill: #f4f6f8; stroke: var(--grey-300); stroke-width: 1.5; }
.room__blanket { fill: var(--navy-600); }
.room__tiles { fill: #f4f7fa; }
.room__tile-line { stroke: #cfd8e2; stroke-width: 1; }
.room__cabinet { fill: #f7f9fb; stroke: #c5cdd6; stroke-width: 1.5; }
.room__counter { fill: #6b7f95; }
.room__handle { fill: #8c99a8; }
.room__tap { fill: none; stroke: #8c99a8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.room__fridge { fill: #ffffff; stroke: #c5cdd6; stroke-width: 2; }
.room__appliance { fill: #3a3f46; }
.room__window-dark { fill: #5b6878; }
.room__pan { fill: var(--navy-700); }
.room__plate { fill: #ffffff; stroke: #c5cdd6; stroke-width: 1; }
.room__wall--shed { fill: #d9dee4; }
.room__floor--concrete { fill: #aeb5bd; }
.room__door { fill: #c9a26f; stroke: #a37c48; stroke-width: 2; }
.room__door-panel { fill: none; stroke: #a37c48; stroke-width: 1.5; }
.room__rack { fill: #7c8998; }
.room__can { fill: #e8ecf0; stroke: #8c99a8; stroke-width: 1.5; }
.room__can--alt { fill: var(--green-500); stroke: var(--green-700); }
.room__wheel { fill: none; stroke: #3a3f46; stroke-width: 3; }
.room__bike { fill: none; stroke: var(--green-700); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes shine { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* ------------------------------------------------------------ werkgebied / radar */

.radar { width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; }
.radar__ring { fill: none; stroke: var(--grey-300); stroke-width: 1; stroke-dasharray: 3 5; }
.section--dark .radar__ring, .section--darker .radar__ring { stroke: rgb(255 255 255 / .18); }
.radar__axis { stroke: var(--grey-300); stroke-width: .6; opacity: .6; }
.section--dark .radar__axis { stroke: rgb(255 255 255 / .12); }
.radar__pulse { fill: rgb(59 167 118 / .12); stroke: var(--green-400); stroke-width: 1; transform-origin: 200px 200px; animation: radarPulse 3.2s var(--ease) infinite; }
@keyframes radarPulse { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
.radar__home circle { fill: var(--green-400); stroke: var(--navy-900); stroke-width: 3; }
.radar__home text { font-family: var(--font); font-size: 15px; font-weight: 700; fill: currentColor; }
.radar__town circle { fill: var(--navy-900); }
.section--dark .radar__town circle { fill: var(--white); }
.radar__town text { font-family: var(--font); font-size: 11.5px; font-weight: 500; fill: currentColor; }
html.js .radar__town { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 90ms); }
html.js .is-in .radar__town, html.js .radar.is-in .radar__town { opacity: 1; transform: none; }

/* ------------------------------------------------------------ FAQ */

.faq { display: grid; border-top: 1px solid var(--grey-300); }
.faq__item { border-bottom: 1px solid var(--grey-300); interpolate-size: allow-keywords; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px, 2.4vw, 30px) 0; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; transition: color .3s; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--green-700); }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .5s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__a { padding: 0 64px clamp(20px, 2.4vw, 30px) 0; color: var(--grey-600); max-width: 52em; }
.faq__a p { margin: 0; }

/* ------------------------------------------------------------ CTA */

.section--green .btn--dark { --bg: var(--navy-950); }
.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.8rem, 9vw, 8.5rem); font-weight: 300; line-height: .95; letter-spacing: -0.05em; margin-bottom: clamp(24px, 3vw, 36px); }
.cta__text { max-width: 36em; font-size: clamp(1.05rem, 1.3vw, 1.25rem); margin-bottom: clamp(28px, 4vw, 48px); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------ tekstpagina's */

.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -0.03em; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 1.6em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green-700); font-weight: 500; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 32px); padding: 32px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.aside-card h2 { font-size: 1.6rem; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 12px; }
.aside-card p { color: var(--grey-200); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card__tel { display: block; margin-top: 18px; text-align: center; color: var(--grey-200); text-decoration: none; font-size: .95rem; }
.aside-card__tel:hover { color: var(--green-300); }

/* ------------------------------------------------------------ formulier */

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .92rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--grey-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid var(--grey-300); border-radius: 12px;
  background: var(--white); color: var(--navy-900);
  font: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgb(59 167 118 / .35); }
.field input:user-invalid, .field select:user-invalid { border-color: #c2412d; }
.field__hint { font-size: .85rem; color: var(--grey-600); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form__note { font-size: .88rem; color: var(--grey-600); margin: 0; }
.form-success { padding: 32px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.form-success h2 { font-size: 1.8rem; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 12px; }
.form-success p { color: var(--grey-200); }
.photo-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.photo-tips li { padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--grey-200); font-size: .95rem; }
.photo-tips strong { display: block; margin-bottom: 2px; }

/* ------------------------------------------------------------ voorbeeld-opleverdossier */

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: #e3f3eb; color: var(--navy-950); border: 1px solid #b5dfc8; border-left: 4px solid var(--green-400); font-size: .95rem; }
.notice strong { white-space: nowrap; }
.dossier { display: grid; gap: clamp(16px, 2vw, 24px); }
.dossier__head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--grey-200); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.dossier__stat { padding: 22px 24px; background: var(--white); }
.dossier__stat span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 6px; }
.dossier__stat strong { font-size: 1.15rem; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); }
.dossier__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.room-card { padding: clamp(18px, 2vw, 26px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-200); }
.room-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.room-card__head h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.room-card__ok { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--green-700); }
.room-card__ok .icon-check { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.room-card ul { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; color: var(--grey-600); }
.room-card li::before { content: "✓"; color: var(--green-700); font-weight: 700; margin-right: 8px; }
.dossier__panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-200); }
.dossier__panel h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 16px; }
.dossier__files { display: grid; gap: 10px; }
.dossier__file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--grey-100); font-size: .95rem; }
.dossier__file span:last-child { margin-left: auto; font-size: .85rem; color: var(--grey-600); }
.file-icon { display: grid; place-items: center; width: 36px; height: 44px; border-radius: 6px; background: var(--navy-900); color: var(--green-400); font-size: .62rem; font-weight: 700; flex: none; }

/* ------------------------------------------------------------ over ons */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.person { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-200); }
.person__avatar { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 28px; border-radius: 50%; background: var(--navy-900); color: var(--green-400); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; }
.person h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.person__role { margin: 4px 0 14px; font-size: .9rem; font-weight: 600; color: var(--green-700); }
.person p:last-child { margin: 0; color: var(--grey-600); }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.value { border-top: 1px solid rgb(255 255 255 / .16); padding-top: 24px; }
.value__num { font-size: .85rem; font-weight: 600; color: var(--green-300); letter-spacing: .08em; }
.value h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.03em; margin: 16px 0 10px; }
.value p { color: var(--grey-200); margin: 0; }

/* ------------------------------------------------------------ 404 */

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: calc(var(--header-h) + 40px) 80px; background: var(--navy-900); color: var(--white); }
.notfound__code { font-size: clamp(6rem, 22vw, 16rem); font-weight: 200; line-height: .9; letter-spacing: -0.06em; color: var(--green-400); }
.notfound .lead { color: var(--grey-200); margin: 20px auto 36px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------ footer */

.site-footer { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px) calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--navy-950); color: var(--white); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer__lead { max-width: 18em; margin: 0; font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; }
.footer__lead a { color: var(--green-300); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease); }
.footer__lead a:hover { background-size: 0 2px; background-position: 100% 100%; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer__about { margin: 24px 0 18px; color: var(--grey-300); font-size: .95rem; max-width: 26em; }
.footer__status { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .9rem; color: var(--grey-200); }
.footer__title { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; font-size: .97rem; color: var(--grey-200); }
.footer__col a { text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: var(--green-300); }
.footer__word { margin: 0; font-size: clamp(3.4rem, 13.4vw, 13.5rem); font-weight: 600; line-height: .8; letter-spacing: -0.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .14); user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(24px, 3vw, 40px); padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .86rem; color: var(--grey-500); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--green-300); }
.footer__top-link { margin-left: auto; }

/* ------------------------------------------------------------ laadscherm */

.preloader { display: none; }
html.is-loading .preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter); padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  background: var(--navy-950); color: var(--white);
  animation: preloaderFailsafe .01s 4s forwards;
}
html.is-loading.is-leaving .preloader { animation: preloaderOut .8s var(--ease-io) forwards; }
.preloader__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.preloader__brand { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; }
.preloader__brand .logo__ja { color: var(--green-400); }
.preloader__count { font-size: clamp(4.5rem, 16vw, 14rem); font-weight: 200; line-height: .8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: var(--green-400); }
.preloader__bar { height: 2px; margin-top: 24px; background: rgb(255 255 255 / .1); }
.preloader__bar span { display: block; height: 100%; background: var(--green-400); transform-origin: left; transform: scaleX(var(--load, 0)); }
@keyframes preloaderOut { to { transform: translateY(-100%); } }
@keyframes preloaderFailsafe { to { visibility: hidden; opacity: 0; } }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 101; height: 2px; background: var(--green-400); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* ------------------------------------------------------------ animaties: tekst & reveal */

/* koppen woord voor woord omhoog */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w__i { display: inline-block; }
html.js [data-split].is-split .w__i { transform: translateY(110%); }
html.js.is-ready .hero [data-split].is-split .w__i,
html.js.is-ready .page-hero [data-split].is-split .w__i,
html.js [data-split].is-split.is-in .w__i { animation: wordUp 1.1s var(--ease) calc(var(--i) * 55ms + 80ms) both; }
@keyframes wordUp { from { transform: translateY(110%); } to { transform: translateY(0); } }

/* hero-onderdelen faden in na laden */
html.js [data-hero] { opacity: 0; transform: translateY(24px); }
html.js.is-ready [data-hero] { animation: heroIn 1.1s var(--ease) calc(var(--d, 0) * 1ms + 450ms) both; }
/* vangnet: als het script niet laadt, verschijnt de hero na het laadscherm toch */
html.is-loading:not(.is-ready) [data-hero] { animation: heroIn 1s var(--ease) 4s both; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* blokken verschijnen tijdens scrollen */
html.js [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="scale"].is-in { transform: none; }

/* ------------------------------------------------------------ eigen cursor (alleen muis) */

.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--green-400); transition: opacity .3s, width .3s, height .3s; }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgb(59 167 118 / .6); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .35s, border-color .35s, opacity .3s; }
.cursor__label { font-size: .78rem; font-weight: 700; color: var(--navy-900); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
html.has-cursor.cursor-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(59 167 118 / .18); border-color: var(--green-400); }
html.has-cursor.cursor-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--green-400); border-color: var(--green-400); }
html.has-cursor.cursor-label .cursor__label { opacity: 1; transform: none; }
html.has-cursor.cursor-label .cursor__dot { opacity: 0; }
html.has-cursor.cursor-hidden .cursor { opacity: 0; }

/* ------------------------------------------------------------ paginaovergangen */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .6s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(22px); } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav, .nav__cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 520px; }
  .usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .dossier__head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .section__head--split, .split, .steps { grid-template-columns: 1fr; }
  .section__head--split .lead { justify-self: start; }
  .steps__aside { position: static; }
  .steps__progress, .steps__count { display: none; }
  .step { opacity: 1; }
  .values { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .dossier__rooms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .usps { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .form__row, .photo-tips { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
  .hero__actions .btn, .page-hero__actions .btn, .cta__actions .btn { width: 100%; }
  .dossier-card__float { left: 12px; bottom: -22px; }
  .faq__a { padding-right: 0; }
  .logo__box { font-size: 1rem; }
  .footer__top-link { margin-left: 0; }
}

/* ------------------------------------------------------------ telefoon: rustige, gelijke tekstgroottes en grote tikvlakken */

@media (max-width: 640px) {
  body { font-size: 16.5px; }

  /* één vaste maat voor kleine labels (14px), één voor kleine lopende tekst (15px), de rest 16,5px */
  .eyebrow, .footer__title, .card__num, .value__num, .menu__num, .dossier__stat span,
  .dossier-card__tag, .crumbs, .pill, .footer__bottom, .room-card__ok { font-size: .875rem; }
  .eyebrow { letter-spacing: .1em; }
  .dossier-card__addr, .dossier-card__room .photos, .dossier-card__float, .dossier-card__foot,
  .form__note, .field__hint, .beforeafter figcaption, .dossier__file span:last-child,
  .person__role, .footer__status, .aside-card__tel { font-size: .9375rem; }
  .card__text, .card__more, .usp p, .step p, .step ul, .hero__meta, .room-card ul, .dossier__file,
  .field label, .consent, .checklist, .faq__a, .aside-card p, .footer__col ul, .footer__about,
  .photo-tips li, .notice, .prose { font-size: 1rem; }
  .file-icon { font-size: .72rem; }

  /* knoppen: overal even breed en hoog, tekst mag netjes afbreken */
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn--lg { min-height: 56px; font-size: 1.02rem; padding: .9em 1.3em; }
  .hero__actions, .page-hero__actions, .cta__actions, .form__actions, .notfound__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .page-hero__actions .btn, .cta__actions .btn, .form__actions .btn,
  .notfound__actions .btn, .footer__top .btn, .split .btn, .aside-card .btn { width: 100%; }
  .footer__top { align-items: stretch; }

  /* tikvlakken minimaal 44px */
  .logo { min-height: 44px; }
  .logo__box { padding: .72em .95em .75em; }
  .menu-toggle { width: 48px; height: 48px; }
  .link-arrow { padding-block: 13px 5px; }
  .statement__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .aside-card__tel { padding: 15px 0 5px; }
  .crumbs ol { align-items: center; }
  .crumbs li { display: flex; align-items: center; }
  .crumbs a, .crumbs [aria-current] { display: inline-block; padding-block: 11px; }
  .cta__actions, .notfound__actions { width: 100%; }
  .dossier__head { grid-template-columns: 1fr; }
  .dossier__stat { padding: 16px 20px; }
  .dossier__file { flex-wrap: wrap; row-gap: 4px; }
  .dossier__file span:last-child { white-space: nowrap; }
  .card__more { display: block; }
  .card__more .icon-arrow { display: inline-block; vertical-align: -3px; margin-left: 6px; }
  .footer__col ul { gap: 2px; }
  .footer__col li a, .footer__bottom a { display: inline-block; padding-block: 11px; }
  .footer__bottom { align-items: center; gap: 4px 24px; }
  .consent { padding-block: 6px; }
  .consent input { width: 24px; height: 24px; margin-top: 0; }
  .faq__q { min-height: 64px; }
  .chip { padding: .55em 1.05em; }

  /* kleine schermen: koppen iets compacter zodat lange woorden passen */
  .display { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .page-hero .display { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .h2 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .cta__title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .statement { font-size: clamp(1.55rem, 7vw, 2rem); }
  .section { padding-block: clamp(64px, 16vw, 88px); }
  .page-hero { padding-bottom: 56px; }
  .dossier-card__float { position: relative; left: auto; bottom: auto; margin-top: 14px; width: fit-content; }
}

/* touchscreens: geen 'blijvende' hover-effecten na een tik, wel korte feedback bij indrukken */
@media (hover: none) {
  .btn:hover::before { transform: translateY(101%); }
  .btn:hover { color: var(--fg); }
  .btn:hover .icon-arrow, .link-arrow:hover .icon-arrow, .card:hover .card__more .icon-arrow { transform: none; }
  .btn:active { transform: scale(.97); }
  .card:hover { transform: none; background: var(--white); color: inherit; border-color: var(--grey-200); }
  .card:hover::before { opacity: 0; }
  .card:hover .card__num { color: var(--green-700); }
  .card:hover .card__text { color: var(--grey-600); }
  .card--feature:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
  .card--feature:hover .card__text { color: var(--grey-200); }
  .card--feature:hover .card__num { color: var(--green-300); }
  .card:active { transform: scale(.985); }
  .usp:hover { background: var(--grey-100); }
  .usp:hover .usp__icon { transform: none; background: var(--navy-900); }
  .usp:hover .usp__icon svg { stroke: var(--green-400); }
  .logo:hover .logo__box { transform: none; border-color: rgb(255 255 255 / .16); }
  .faq__q:hover { color: inherit; }
  .footer__lead a:hover { background-size: 100% 2px; }
  a, button, summary, label { -webkit-tap-highlight-color: rgb(59 167 118 / .18); }
}

/* ------------------------------------------------------------ minder beweging */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js [data-hero] { opacity: 1; transform: none; }
  html.js [data-split].is-split .w__i { transform: none; }
  .marquee__track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
