/* Layout: een rustige leesroute. Hero met brochurestapel, een route van vier fases die
   guides en artikelen tot één verhaal verbindt, daarna guides, artikelen, over Proland en afsluiter. */
:root {
  color-scheme: light;

  /* Proland huisstijl */
  --brand: #255EAD;
  --brand-deep: #1C4C8F;
  --surface: #F0F6FF;
  --navy: #13233E;
  --black: #020617;

  /* Afgeleide neutralen, licht blauw getint */
  --paper: #FFFFFF;
  --page: #F8FBFF;
  --text: #13233E;
  --muted: #4B5D7A;
  --line: #D9E4F3;
  --line-strong: #BCCDE6;
  --sky: #DCE9FA;
  --danger: #B42318;
  --success: #1F7A4D;

  --font-display: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(19, 35, 62, .06), 0 2px 8px rgba(19, 35, 62, .05);
  --shadow-m: 0 10px 30px -12px rgba(19, 35, 62, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: #fff; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(37, 94, 173, .7); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--secondary { background: var(--paper); color: var(--brand); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); color: var(--brand-deep); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--surface); color: var(--navy); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-color: currentColor; }

.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(248, 251, 255, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.03em;
  color: var(--black);
  text-decoration: none;
  margin-right: auto;
}
.wordmark:hover { color: var(--black); }
.wordmark--small { font-size: 1.25rem; margin-right: 0; }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: var(--muted); font-weight: 500; text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--navy); }
@media (min-width: 760px) { .site-nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 8vw, 96px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 80% at 85% 20%, var(--sky) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--page) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero__copy { display: grid; gap: 20px; max-width: 36rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 33rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }

.hero__visual {
  position: relative;
  height: 300px;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
}
.hero__visual .cover {
  position: absolute;
  width: 46%;
  top: 50%; left: 50%;
  box-shadow: var(--shadow-m);
}
.hero__visual .cover:nth-child(1) { transform: translate(-108%, -48%) rotate(-8deg); }
.hero__visual .cover:nth-child(2) { transform: translate(-50%, -54%) rotate(1deg); z-index: 2; }
.hero__visual .cover:nth-child(3) { transform: translate(6%, -44%) rotate(9deg); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero__visual { height: 400px; max-width: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: .06s; }
  .hero__copy > *:nth-child(3) { animation-delay: .12s; }
  .hero__copy > *:nth-child(4) { animation-delay: .18s; }
  .hero__visual .cover { animation: settle .9s var(--ease) both; }
  .hero__visual .cover:nth-child(1) { animation-delay: .15s; --from: translate(-90%, -40%) rotate(-2deg); }
  .hero__visual .cover:nth-child(2) { animation-delay: .25s; --from: translate(-50%, -40%) rotate(0deg); }
  .hero__visual .cover:nth-child(3) { animation-delay: .35s; --from: translate(-10%, -40%) rotate(3deg); }
}
@keyframes rise { from { opacity: .001; transform: translateY(14px); } }
@keyframes settle { from { opacity: .001; transform: var(--from); } }

/* ---------- Bevestiging: status en tracker ---------- */
.status-pill {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: #E4F4EA;
  color: var(--success);
  font-weight: 600; font-size: .88rem;
}
.status-pill__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success);
  display: grid; place-items: center;
}
.status-pill__dot::after {
  content: ""; width: 7px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
/* ---------- Voortgangsbanner ---------- */
.progress { padding-block: 0 clamp(20px, 3vw, 32px); margin-top: calc(-1 * clamp(16px, 3vw, 40px)); position: relative; z-index: 2; }
.progress__panel {
  display: grid;
  gap: 14px 28px;
  padding: 18px clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}
.progress__title { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; }
.progress__steps {
  --dot: 30px;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.progress__steps li { position: relative; display: flex; justify-content: center; min-width: 0; }
.progress__steps li:not(:last-child)::after {
  content: ""; position: absolute;
  top: calc(var(--dot) / 2 + 4px - 1px); left: calc(50% + var(--dot) / 2 + 4px); right: calc(-50% + var(--dot) / 2 + 4px);
  height: 2px; border-radius: 2px; background: var(--line);
}
.progress__steps li.is-done::after { background: var(--success); }
.progress__btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 4px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: center; min-width: 0; border-radius: 10px;
}
.progress__dot {
  width: var(--dot); height: var(--dot); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--muted);
  font: 700 .8rem/1 var(--font-display);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.progress__dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.is-done .progress__dot { background: #E4F4EA; color: var(--success); }
.is-now .progress__dot { background: var(--brand); color: #fff; }
.progress__label { font-size: .78rem; font-weight: 500; color: var(--muted); line-height: 1.25; }
.is-now .progress__label { color: var(--navy); font-weight: 600; }
.progress__btn:hover .progress__dot { transform: scale(1.12); }
.progress__btn[aria-pressed="true"] .progress__dot { box-shadow: 0 0 0 5px rgba(37, 94, 173, .18); }
.progress__btn[aria-pressed="true"] .progress__label { color: var(--navy); font-weight: 600; }
.progress__detail { font-size: .92rem; color: var(--muted); min-height: 1.5em; }
.progress__detail strong { color: var(--navy); }
.progress__detail a { font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .is-now .progress__dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(37, 94, 173, .1); } }
@media (min-width: 900px) {
  .progress__panel { grid-template-columns: auto 1fr; align-items: center; }
  .progress__title { grid-row: span 2; max-width: 7rem; font-size: 1.1rem; line-height: 1.2; }
  .progress__steps { --dot: 32px; }
  .progress__label { font-size: .85rem; }
}

/* ---------- Voorbereiding: vrije brochure ---------- */
.prep { padding-block: clamp(16px, 3vw, 32px) 0; }
.prep__main {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4.5vw, 48px);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: #C9D7EC;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.prep__main::after {
  content: ""; position: absolute; left: -60px; bottom: -110px;
  width: 300px; aspect-ratio: 1;
  background: var(--brand); opacity: .45;
  clip-path: polygon(50% 8%, 100% 46%, 100% 100%, 0 100%, 0 46%);
  z-index: -1;
}
.prep__cover { width: min(190px, 52%); justify-self: center; }
.prep__cover .cover { box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); transform: rotate(-4deg); transition: transform .4s var(--ease); }
.prep__main:hover .prep__cover .cover { transform: rotate(0deg) translateY(-4px); }
.prep__copy { display: grid; gap: 14px; max-width: 36rem; min-width: 0; }
.prep__copy .eyebrow { color: #9FC0EE; }
.prep__copy h2 { color: #fff; }
.prep__copy p:not(.eyebrow) { font-size: 1.05rem; }
.prep__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.prep__actions .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }
.prep__actions .btn--primary:hover { background: var(--surface); color: var(--navy); }
.prep__meta { font-size: .88rem; color: #9FB4D3; }
@media (min-width: 800px) { .prep__main { grid-template-columns: 220px 1fr; gap: 48px; } .prep__cover { width: 100%; } }

/* ---------- Visuele overgang ---------- */
.divider { padding-block: clamp(36px, 6vw, 64px) clamp(20px, 3vw, 28px); }
.divider__inner { display: flex; align-items: center; gap: 18px; }
.divider__line { flex: 1; height: 1px; background: var(--line-strong); min-width: 24px; }
.divider__text {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--navy); text-align: center;
}
.divider__text svg { color: var(--brand); flex: 0 0 auto; }
@media (max-width: 599px) { .divider__line { display: none; } .divider__inner { justify-content: center; } }

/* ---------- Brochure cover (hero, kaarten, modal) ---------- */
.cover {
  --cover-bg: var(--brand);
  --cover-fg: #fff;
  --cover-accent: rgba(255, 255, 255, .22);
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: 6px 12px 12px 6px;
  background: var(--cover-bg);
  color: var(--cover-fg);
  padding: 9% 10%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.cover::before { /* rug van de brochure */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0));
  z-index: 1;
}
.cover::after { /* dakvorm als huisstijlaccent */
  content: "";
  position: absolute;
  right: -18%; bottom: -10%;
  width: 90%; aspect-ratio: 1;
  background: var(--cover-accent);
  clip-path: polygon(50% 8%, 100% 46%, 100% 100%, 0 100%, 0 46%);
  z-index: -1;
}
.cover__brand { font-family: var(--font-display); font-weight: 700; font-size: 9cqw; letter-spacing: -.02em; opacity: .9; }
.cover__icon { margin-top: auto; width: 28%; opacity: .95; }
.cover__icon svg { width: 100%; height: auto; display: block; }
.cover__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5cqw;
  line-height: 1.12;
  margin-top: 10%;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.cover__tag { font-size: 6.5cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-top: 6%; }
.cover--navy { --cover-bg: var(--navy); --cover-accent: rgba(37, 94, 173, .55); }
.cover--sky { --cover-bg: var(--sky); --cover-fg: var(--navy); --cover-accent: rgba(37, 94, 173, .16); }
.cover--white { --cover-bg: #fff; --cover-fg: var(--navy); --cover-accent: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cover--image { padding: 0; }
.cover--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover--image::after { display: none; }


/* ---------- Route: vier woonfases als tijdlijn ---------- */
.route { padding-block: clamp(8px, 2vw, 16px) clamp(24px, 4vw, 40px); }
.route__panel {
  position: relative;
  padding: clamp(24px, 4.5vw, 52px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  isolation: isolate;
}
.route__head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.route__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }

.route__list {
  --badge: 76px;
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 32px;
}
/* doorlopende lijn, mobiel verticaal */
.route__list::before {
  content: "";
  position: absolute;
  left: calc(var(--badge) / 2 - 2px);
  top: calc(var(--badge) / 2);
  bottom: calc(var(--badge) / 2 + 40px);
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sky), var(--brand));
}
/* reizend stipje dat de voortgang laat zien */
.route__list::after {
  content: "";
  position: absolute;
  left: calc(var(--badge) / 2 - 7px);
  top: calc(var(--badge) / 2 - 7px);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px rgba(37, 94, 173, .25);
  display: none;
}

.route__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--badge) 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-content: start;
}
.route__step > :not(.route__badge) { grid-column: 2; min-width: 0; }
.route__badge {
  grid-row: 1 / span 3;
  position: relative;
  width: var(--badge); height: var(--badge);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--tint, var(--surface));
  box-shadow: 0 0 0 6px var(--paper);
  transition: transform .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.route__step:nth-child(1) { --tint: #F0F6FF; }
.route__step:nth-child(2) { --tint: #E3EEFC; }
.route__step:nth-child(3) { --tint: #D2E3F9; }
.route__step:nth-child(4) { --tint: var(--brand); }

.route__icon { width: 58%; height: auto; overflow: visible; }
.route__icon .i-line { fill: none; stroke: var(--navy); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.route__icon .i-fill { fill: #fff; transition: fill .35s var(--ease); }
.route__icon .i-fill.i-line { fill: #fff; }
.route__icon .i-accent { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }

/* eindbestemming: gevuld in merkkleur */
.route__step:nth-child(4) .i-line { stroke: #fff; }
.route__step:nth-child(4) .i-fill { fill: rgba(255, 255, 255, .16); }
.route__step:nth-child(4) .i-accent { stroke: #BFD6F5; }

.route__num {
  position: absolute;
  top: -4px; right: -4px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 .85rem/1 var(--font-display);
  box-shadow: 0 0 0 3px var(--paper);
}
.route__step h3 { font-size: 1.12rem; font-weight: 700; margin-top: 6px; }
.route__step p { color: var(--muted); font-size: .94rem; }

.route__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  font: 600 .88rem/1.3 var(--font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.route__link span { transition: transform .25s var(--ease); }
.route__link:hover { background: var(--brand); color: #fff; }
.route__link:hover span { transform: translateX(3px); }

/* hover: fase licht op */
.route__step:hover .route__badge,
.route__step:focus-within .route__badge {
  transform: translateY(-4px) scale(1.05);
  background: var(--brand);
  box-shadow: 0 0 0 6px var(--paper), 0 14px 26px -12px rgba(37, 94, 173, .7);
}
.route__step:hover .i-line, .route__step:focus-within .i-line { stroke: #fff; }
.route__step:hover .i-fill, .route__step:focus-within .i-fill { fill: rgba(255, 255, 255, .16); }
.route__step:hover .i-accent, .route__step:focus-within .i-accent { stroke: #BFD6F5; }

@media (min-width: 600px) {
  .route__list { --badge: 88px; }
}

/* desktop: horizontale tijdlijn */
@media (min-width: 900px) {
  .route__list {
    --badge: 112px;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 24px;
  }
  .route__list::before {
    left: 12.5%; right: 12.5%;
    top: calc(var(--badge) / 2 - 2px);
    bottom: auto;
    width: auto; height: 4px;
    background: linear-gradient(90deg, var(--sky), var(--brand));
  }
  .route__list::after {
    display: block;
    left: 12.5%;
    top: calc(var(--badge) / 2 - 7px);
  }
  .route__step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 6px;
  }
  .route__step > :not(.route__badge) { grid-column: 1; }
  .route__badge { grid-row: auto; margin-bottom: 12px; }
  .route__step p { max-width: 15rem; }
  .route__link { justify-self: center; white-space: nowrap; }
  /* pijltje op de lijn tussen twee fases */
  .route__step + .route__step::before {
    content: "";
    position: absolute;
    left: -12px;
    top: calc(var(--badge) / 2);
    width: 12px; height: 12px;
    border-top: 3px solid var(--brand);
    border-right: 3px solid var(--brand);
    background: var(--paper);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
    opacity: .85;
  }
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .route__list::after { animation: travel 7s var(--ease) infinite; }
}
@keyframes travel {
  0% { left: 12.5%; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(87.5% - 14px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .route__badge, .route__link, .route__link span { transition: none; }
}

/* ---------- Secties ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section__head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section__intro { color: var(--muted); font-size: 1.05rem; }
.notice { padding: 16px; background: var(--surface); border-radius: var(--radius-s); }

/* ---------- Downloadkaarten ---------- */
.download-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .download-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .download-grid { grid-template-columns: repeat(3, 1fr); } }

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.dl-card__stage {
  display: grid;
  place-items: center;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, var(--surface), #E7F0FD);
}
.dl-card__stage .cover {
  width: 52%;
  box-shadow: 0 14px 24px -14px rgba(19, 35, 62, .55);
  transform: rotate(-3deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dl-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.dl-card__body h3 { font-size: 1.2rem; font-weight: 700; }
.dl-card__body p { color: var(--muted); font-size: .95rem; }
.dl-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--muted); font-weight: 500;
  margin-top: 4px;
}
.dl-card__meta .pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  font-weight: 600;
}
.dl-card__meta .pill--open { background: #E4F4EA; color: var(--success); }
.dl-card__action { margin-top: auto; padding-top: 12px; }
.dl-card__action .btn { width: 100%; }
.dl-card__action .btn::after { /* hele kaart klikbaar */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.dl-card:hover .cover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 20px 30px -16px rgba(19, 35, 62, .6); }
.dl-card:focus-within { border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) {
  .dl-card, .dl-card .cover, .btn { transition: none; }
  .dl-card:hover { transform: none; }
}

/* ---------- Artikelen ---------- */
.advice { background: var(--paper); border-block: 1px solid var(--line); }
.article-list { display: grid; gap: 24px; }
@media (min-width: 900px) { .article-list { grid-template-columns: 1fr 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.article-card:hover { box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.article-card__media {
  aspect-ratio: 16 / 9;
  max-width: 100%;
  display: grid;
  place-items: center;
  background: var(--surface);
  overflow: hidden;
}
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.article-card__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); font-weight: 700; }
.article-card__body p:not(.eyebrow) { color: var(--muted); }
.article-card__body .btn { align-self: flex-start; margin-top: auto; }
.article-card__body > p:last-of-type { margin-bottom: 10px; }

.energy-scale {
  width: min(78%, 340px);
  display: grid;
  gap: 6px;
}
.energy-scale span {
  width: var(--w);
  height: 22px;
  display: flex; align-items: center;
  padding-left: 10px;
  background: var(--c);
  color: #fff;
  font: 700 .8rem/1 var(--font-display);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}
.article-card__media--house { color: var(--navy); }
.house-illustration { width: min(62%, 280px); height: auto; }

/* ---------- Over Proland ---------- */
.about { background: linear-gradient(180deg, var(--page) 0%, var(--surface) 100%); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__copy { display: grid; gap: 16px; order: -1; }
.about__copy h2 { margin-bottom: 4px; }
.about__lead { color: var(--muted); font-size: 1.08rem; max-width: 34rem; }

.pillars { display: grid; gap: 12px; margin-top: 12px; }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pillar:hover { border-color: var(--line-strong); transform: translateX(4px); box-shadow: var(--shadow-s); }
.pillar > div { min-width: 0; display: grid; gap: 4px; }
.pillar h3 { font-size: 1.05rem; font-weight: 700; }
.pillar p { color: var(--muted); font-size: .93rem; }
.pillar__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand);
}
.pillar__icon svg { width: 22px; height: 22px; }

/* Beeldcompositie: foto met zoekerhoeken, plattegrond, energielabel en 360° */
.showcase {
  position: relative;
  padding-bottom: 56px;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.showcase__photo {
  position: relative;
  width: 86%;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  background: var(--sky);
}
.showcase__photo svg, .showcase__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase__frame { /* zoekerhoeken van een camera */
  --c: rgba(255, 255, 255, .95);
  position: absolute;
  inset: 16px;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / 24px 3px,
    linear-gradient(var(--c), var(--c)) top left / 3px 24px,
    linear-gradient(var(--c), var(--c)) top right / 24px 3px,
    linear-gradient(var(--c), var(--c)) top right / 3px 24px,
    linear-gradient(var(--c), var(--c)) bottom left / 24px 3px,
    linear-gradient(var(--c), var(--c)) bottom left / 3px 24px,
    linear-gradient(var(--c), var(--c)) bottom right / 24px 3px,
    linear-gradient(var(--c), var(--c)) bottom right / 3px 24px;
  background-repeat: no-repeat;
}
.showcase__chip {
  position: absolute;
  left: 28px; top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font: 600 .85rem/1 var(--font-body);
  box-shadow: var(--shadow-m);
}
.showcase__chip svg { color: var(--brand); }
.showcase__card {
  position: absolute;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}
.showcase__card--plan { bottom: 0; width: 44%; }
.showcase__card--plan svg { width: 100%; height: auto; display: block; }
.showcase__card--label { top: 14%; width: 34%; }
.showcase__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-label { display: grid; gap: 4px; }
.mini-label span {
  width: var(--w);
  height: 14px;
  display: flex; align-items: center;
  padding-left: 6px;
  background: var(--c);
  color: #fff;
  font: 700 .62rem/1 var(--font-display);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .showcase__card--label { animation: bob 6s ease-in-out infinite; }
  .showcase__card--plan { animation: bob 7s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { transform: translateY(-6px); } }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .about__copy { order: 0; }
}

/* ---------- Afsluiter ---------- */
.closing { padding-block: 0 clamp(56px, 9vw, 104px); }
.closing__panel {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.closing__panel::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 280px; aspect-ratio: 1;
  background: var(--brand);
  opacity: .55;
  clip-path: polygon(50% 8%, 100% 46%, 100% 100%, 0 100%, 0 46%);
  z-index: -1;
}
.closing__copy { display: grid; gap: 12px; max-width: 36rem; }
.closing h2 { color: #fff; }
.closing p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.closing .btn { justify-self: start; }
@media (min-width: 900px) {
  .closing__panel { grid-template-columns: 1fr auto; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 24px;
  padding-block: 28px;
  font-size: .9rem;
  color: var(--muted);
}
.site-footer__links { display: flex; gap: 16px; }
.site-footer__copy { margin-left: auto; }
@media (max-width: 600px) { .site-footer__copy { margin-left: 0; width: 100%; } }

/* ---------- Modals ---------- */
.modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(2, 6, 23, .45);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(19, 35, 62, .55); backdrop-filter: blur(3px); }
.modal__inner { position: relative; padding: clamp(24px, 5vw, 36px); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.modal__close:hover { background: var(--sky); }
.modal[open] { animation: modal-in .28s var(--ease); }
.modal[open]::backdrop { animation: fade-in .28s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop { animation: none; }
}

.modal__head { display: flex; align-items: center; gap: 18px; padding-right: 48px; margin-bottom: 18px; }
.modal__head h2 { font-size: clamp(1.35rem, 3.6vw, 1.7rem); margin-top: 4px; }
.modal__cover { flex: 0 0 72px; }
.modal__cover .cover { box-shadow: 0 10px 18px -10px rgba(19, 35, 62, .5); transform: rotate(-4deg); }
.modal__intro { color: var(--muted); margin-bottom: 20px; }

.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--navy);
  font: 400 1rem/1.3 var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 94, 173, .16); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__error, .form-error { color: var(--danger); font-size: .9rem; font-weight: 500; }
.form-error { background: #FDF0EF; border: 1px solid #F4C7C3; padding: 12px 14px; border-radius: var(--radius-s); }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-s);
  background: var(--surface);
}
.consent input {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent label { font-size: .92rem; color: var(--navy); cursor: pointer; }
.consent__note { font-size: .82rem; color: var(--muted); margin-top: -6px; }

.success { display: grid; gap: 14px; justify-items: start; }
.success__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #E4F4EA;
  color: var(--success);
}
.success h3 { font-size: 1.35rem; font-weight: 700; }
.success h3:focus { outline: none; }
.success p { color: var(--muted); }
.success__fallback { font-size: .9rem; }

/* Artikelmodal */
.modal--article { width: min(760px, calc(100% - 32px)); }
.modal--article h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 6px 48px 20px 0; }
.article-body { display: grid; gap: 14px; max-width: 40rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin-top: 14px; }
.article-body p, .article-body li { color: #2D3E5A; }
.article-body ul, .article-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.article-body li::marker { color: var(--brand); font-weight: 600; }
.article-lead { font-size: 1.1rem; color: var(--navy) !important; }
.tip, .proland-note {
  margin: 6px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-m);
  display: grid;
  gap: 8px;
}
.tip { background: var(--surface); }
.tip__title, .proland-note__title { font-family: var(--font-display); font-weight: 700; color: var(--navy) !important; }
.proland-note { border: 1.5px solid var(--line-strong); background: var(--paper); margin-top: 14px; }
.proland-note .btn { justify-self: start; margin-top: 6px; }

/* Mobiel: modals als sheet onderaan */
@media (max-width: 599px) {
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 92%;
    margin: auto 0 0;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
  }
  .modal__inner { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  @keyframes modal-in { from { transform: translateY(40px); opacity: 0; } }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .92rem;
  box-shadow: var(--shadow-m);
}
.toast a { color: #fff; font-weight: 600; }

/* Preview-banner (alleen in de voorbeeldweergave) */
.preview-banner {
  background: #FFF6DB;
  color: #5C4400;
  font-size: .85rem;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid #F1DE9F;
}

/* Vergelijkingstabel in artikelen */
.compare {
  margin-top: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.compare table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--surface); font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.compare tbody th { width: 28%; font-weight: 600; color: var(--navy); }
.compare td { color: #2D3E5A; }
