/* ============================================================
   Rijschool Confiance - stylesheet
   3 ontwerprichtingen via [data-style="warm|strak|energiek"]
   Accentkleur en lettertype overschrijfbaar via Tweaks
   ============================================================ */

:root {
  /* overschreven door Tweaks */
  --accent: #2f6fd0;
  --accent-deep: color-mix(in oklab, var(--accent) 74%, #07122a);

  /* basispalet (blauw / vertrouwen) */
  --ink: #0f1b2e;
  --ink-soft: #2a3a52;
  --muted: #5b6b82;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --line: #e1e8f2;
  --navy: #0d1f3c;
  --navy-2: #112a52;

  --radius: 0px;
  --radius-lg: 0px;
  --radius-sm: 0px;
  --pill: 0px;

  --shadow-sm: 0 1px 2px rgba(13, 31, 60, .06), 0 2px 8px rgba(13, 31, 60, .05);
  --shadow-md: 0 8px 24px rgba(13, 31, 60, .10);
  --shadow-lg: 0 24px 60px rgba(13, 31, 60, .16);

  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-scale: 1;
  --body-weight: 400;

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

@media (min-width: 1280px) {
  :root {
    --maxw: 1240px;
    --gutter: clamp(28px, 3vw, 64px);
  }
}

@media (min-width: 1536px) {
  :root {
    --maxw: 1320px;
  }
}

/* ---- Richting: STRAK & MODERN ---- */
[data-style="strak"] {
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --bg: #f4f6fa;
  --shadow-md: 0 6px 18px rgba(13, 31, 60, .08);
  --shadow-lg: 0 18px 44px rgba(13, 31, 60, .12);
}

/* ---- Richting: ENERGIEK & JONG ---- */
[data-style="energiek"] {
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.035em;
  --display-scale: 1.12;
  --bg: #f0f5ff;
}

/* ============================================================
   Reset / basis
   ============================================================ */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-width: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }

/* Afwisselende sectiebanden: licht (wit) ↔ gedempt (pagina-grijs) */
.band-light { background: var(--surface); }
.band-muted { background: var(--bg); }

/* voorkom overflow in grids op desktop */
.hero-inner > *,
.split > *,
.price-grid > *,
.faq-grid > * {
  min-width: 0;
}
.aanmeld-card { min-width: 0; }

/* image-slot baseline */
image-slot {
  display: block;
  max-width: 100%;
  background:
    repeating-linear-gradient(135deg, #dfe7f4 0 12px, #e8eefb 12px 24px);
  color: var(--muted);
  border-radius: var(--radius);
}

/* ============================================================
   Buttons & chips
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
  padding: 15px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px color-mix(in oklab, var(--accent) 65%, transparent);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-lg { font-size: 1.1rem; padding: 17px 32px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--surface-2);
  color: var(--accent-deep);
  border: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}


/* ============================================================
   Navbar
   ============================================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 20, 41, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: color-mix(in oklab, var(--line) 80%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(190px, 42vw);
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink-soft);
  padding: 10px 13px;
  border-radius: var(--pill);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover {
  color: var(--accent-deep);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: var(--pill);
  transition: color .15s ease, background .15s ease;
}
.nav-phone:hover {
  color: var(--accent-deep);
  background: var(--surface-2);
}
.nav-phone span { white-space: nowrap; }
.nav-cta-btn {
  font-size: .98rem;
  padding: 13px 22px;
}

/* ── hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  border-radius: var(--pill);
  transition: background .15s ease, border-color .15s ease;
}
.nav-toggle:hover {
  background: var(--surface-2);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; width: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── mobiel slide-in menu ── */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(88%, 360px);
  height: 100dvh;
  height: 100vh;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 48px rgba(13, 31, 60, .14);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility .32s;
}
.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
}
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-mobile-head .brand-logo {
  height: 40px;
  max-width: min(170px, 48vw);
}
.nav-close {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.nav-close:hover {
  background: var(--surface-2);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
}
.nav-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-close span:first-child { transform: rotate(45deg); }
.nav-close span:last-child { transform: rotate(-45deg); }

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 12px var(--gutter);
  gap: 2px;
}
.nav-mobile nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: color .15s ease, padding-left .15s ease;
}
.nav-mobile nav a:hover {
  color: var(--accent-deep);
  padding-left: 20px;
}
.nav-mobile-foot {
  flex-shrink: 0;
  display: grid;
  gap: 12px;
  padding: 20px var(--gutter) max(24px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile-foot .btn {
  width: 100%;
  justify-content: center;
}
.nav-mobile-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-deep);
  padding: 12px;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }
  .nav-toggle {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}
@media (min-width: 921px) {
  .nav-backdrop { display: none; }
  .nav-mobile { display: none; }
}
@media (min-width: 921px) and (max-width: 1120px) {
  .nav-inner { gap: 10px; }
  .brand-logo { height: 40px; max-width: min(165px, 36vw); }
  .nav-links a { font-size: .88rem; padding: 9px 10px; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px; }
  .nav-cta-btn { font-size: .92rem; padding: 12px 18px; }
}
@media (max-width: 480px) {
  .nav-inner { height: 64px; }
  .brand-logo { height: 36px; max-width: min(180px, 58vw); }
}

/* ============================================================
   Hero - foto als achtergrond met donkere overlay
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 82vh, 760px);
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: clip;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/hero.png") center 35% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(8, 20, 41, 0.94) 0%,
      rgba(8, 20, 41, 0.82) 42%,
      rgba(8, 20, 41, 0.55) 72%,
      rgba(8, 20, 41, 0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy { max-width: min(640px, 100%); }
.hero h1 {
  font-size: calc(clamp(2.7rem, 6vw, 4.6rem) * var(--display-scale));
  margin: 0;
  color: #fff;
}
.hero h1 .hl {
  color: color-mix(in oklab, var(--accent) 55%, #fff);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 22px;
  max-width: min(52ch, 100%);
}

.hero-usps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.hero-usps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}
.hero-usps li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background-color: color-mix(in oklab, var(--accent) 65%, #fff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero-reassure { margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, 0.62); font-weight: 600; }

@media (max-width: 920px) {
  .hero::after {
    background: linear-gradient(180deg,
      rgba(8, 20, 41, 0.92) 0%,
      rgba(8, 20, 41, 0.78) 100%);
  }
  .hero-sub { max-width: none; }
}

@media (max-width: 640px) {
  .hero { min-height: clamp(480px, 88vh, 640px); }
  .hero h1 .hl { white-space: normal; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-usps li { font-size: .96rem; }
  .btn-lg { font-size: 1rem; padding: 15px 22px; }
  [data-style="energiek"] { --display-scale: 1; }
}

/* ============================================================
   Section heading
   ============================================================ */
.sec-head { max-width: min(660px, 100%); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 16px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }
@media (min-width: 921px) {
  .sec-head { max-width: min(720px, 100%); }
  .sec-head.center p { max-width: 58ch; margin-inline: auto; }
}

/* ============================================================
   Over / featured split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media image-slot { width: 100%; height: clamp(420px, 42vw, 560px); }
.feature-list { display: grid; gap: 0; margin-top: 30px; }
.feature-list .fi { padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list .fi h4 { font-size: 1.12rem; }
.feature-list .fi p { color: var(--muted); margin-top: 6px; font-size: .98rem; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media { max-width: none; width: 100%; }
  .split-media image-slot { height: clamp(280px, 55vw, 440px); }
}
@media (min-width: 921px) {
  .split-media image-slot { height: clamp(400px, 36vw, 520px); }
}

/* ============================================================
   Tarieven
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
.price-card.feat {
  background: linear-gradient(165deg, var(--navy), var(--navy-2));
  color: #fff; border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card .pc-tag { align-self: flex-start; }
.price-card.feat .pc-tag { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.2); }
.price-card h3 { font-size: 1.35rem; margin-top: 18px; }
.price-card.feat h3 { color: #fff; }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.price-card .amount .val { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.price-card .amount .per { color: var(--muted); font-weight: 600; white-space: nowrap; }
.price-card.feat .amount .per { color: rgba(255,255,255,.7); }
.price-card .desc { color: var(--muted); margin-top: 14px; font-size: .98rem; }
.price-card.feat .desc { color: rgba(255,255,255,.78); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.price-card li::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; margin-top: 8px; }
.price-card.feat li::before { background: color-mix(in oklab, var(--accent) 55%, #fff); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

.losse-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.losse-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.losse-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.losse-per { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.losse-val { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--accent-deep); }
@media (max-width: 700px) { .losse-prices { grid-template-columns: 1fr; gap: 12px; } }

@media (max-width: 1099px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }
@media (min-width: 1100px) {
  .price-grid { gap: 28px; }
}
@media (max-width: 480px) {
  .price-grid { margin-top: 36px; gap: 16px; }
  .price-card { padding: 24px 20px; }
  .price-card .amount .val { font-size: 2.5rem; }
  .price-card:hover { transform: none; }
}

/* ============================================================
   Reviews
   ============================================================ */
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rev-score { display: flex; align-items: center; gap: 14px; }
.rev-score-top { display: flex; align-items: center; gap: 12px; }
.rev-score .num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.rev-score .stars { color: #f5a623; font-size: 1.3rem; letter-spacing: 2px; }
.rev-score small { display: block; color: var(--muted); font-weight: 600; margin-top: 4px; }
.geslaagd-marquee {
  margin-top: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.geslaagd-marquee::-webkit-scrollbar { display: none; }
.geslaagd-marquee:active { cursor: grabbing; }
.geslaagd-track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  padding-inline: var(--gutter);
}
.geslaagd-item {
  flex: none;
  margin: 0;
  width: clamp(220px, 26vw, 300px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.geslaagd-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 640px) {
  .rev-head { flex-direction: column; align-items: flex-start; }
  .rev-score .num { font-size: 2.1rem; }
  .geslaagd-item { width: clamp(200px, 62vw, 260px); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq-q .ico { flex: none; width: 28px; height: 28px; background: var(--surface-2); color: var(--accent-deep); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1; transition: background .2s, color .2s; }
.faq-item.open .faq-q .ico { background: var(--accent); color: #fff; }
/* grid-accordion: hoogte past zich aan inhoud aan */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .32s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  line-height: 1.65;
  visibility: hidden;
}
.faq-item.open .faq-a-inner {
  padding: 0 22px 22px;
  visibility: visible;
}
/* FAQ-items niet verbergen via scroll-reveal (voorkomt lege kaarten op mobiel) */
html[data-anim="on"] .faq-list .faq-item {
  opacity: 1;
  transform: none;
}
@media (max-width: 920px) { .faq-grid { grid-template-columns: 1fr; } }
@media (min-width: 921px) {
  .faq-grid { gap: clamp(40px, 5vw, 80px); }
}
@media (max-width: 480px) {
  .faq-q { font-size: 1rem; padding: 16px 18px; gap: 12px; }
  .faq-a-inner { padding: 0 18px; }
  .faq-item.open .faq-a-inner { padding: 0 18px 18px; }
}

/* ============================================================
   Aanmelden - losstaand, gecentreerd formulier
   ============================================================ */
.aanmeld-wrap {
  max-width: 660px;
  margin-inline: auto;
}
.aanmeld-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 48px);
  box-shadow: var(--shadow-md);
}

/* ── stappen-indicator ── */
.aanmeld-head {
  margin-bottom: clamp(26px, 3vw, 36px);
  padding-bottom: clamp(22px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
}
.aanmeld-steps {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.aanmeld-step-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  color: var(--muted);
}
.aanmeld-step-tab::after {
  content: "";
  flex: 1;
  height: 1.5px;
  margin: 0 12px;
  background: var(--line);
  transition: background .25s ease;
}
.aanmeld-step-tab:last-child {
  flex: 0 1 auto;
}
.aanmeld-step-tab:last-child::after { display: none; }
.aanmeld-step-tab.done::after { background: var(--accent); }
.aanmeld-step-num {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--muted);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.aanmeld-step-tab.active .aanmeld-step-num,
.aanmeld-step-tab.done .aanmeld-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.aanmeld-step-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aanmeld-step-tab.active .aanmeld-step-name { color: var(--ink); }
.aanmeld-step-tab.done .aanmeld-step-name { color: var(--ink-soft); }

/* ── stap-inhoud ── */
.aanmeld-step { animation: aanmeld-fade .3s ease; }
@keyframes aanmeld-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.aanmeld-step-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/* ── keuze-opties met selectievak ── */
.aanmeld-opts {
  display: grid;
  gap: 10px;
}
.aanmeld-opt {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  text-align: left;
  padding: 17px 18px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.aanmeld-opt:hover { border-color: color-mix(in oklab, var(--accent) 38%, var(--line)); }
.aanmeld-opt.on {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, var(--surface));
}
.aanmeld-opt-radio {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition: border-color .15s ease, background .15s ease;
}
.aanmeld-opt.on .aanmeld-opt-radio { border-color: var(--accent); background: var(--accent); }
.aanmeld-opt.on .aanmeld-opt-radio::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}
.aanmeld-opt-body { display: flex; flex-direction: column; min-width: 0; }
.aanmeld-opt-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.aanmeld-opt-desc {
  margin-top: 5px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

/* ── velden ── */
.aanmeld-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aanmeld-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.aanmeld-field:last-child { margin-bottom: 0; }
.aanmeld-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
}
.aanmeld-opt-label { font-weight: 500; color: var(--muted); }
.aanmeld-field input,
.aanmeld-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.aanmeld-field input::placeholder,
.aanmeld-field textarea::placeholder { color: color-mix(in oklab, var(--muted) 70%, transparent); }
.aanmeld-field input:focus,
.aanmeld-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}
.aanmeld-field textarea { resize: vertical; min-height: 112px; line-height: 1.55; }
.aanmeld-field.err input,
.aanmeld-field.err textarea { border-color: #c93a40; }
.aanmeld-msg { color: #b42318; font-size: .82rem; font-weight: 600; }

/* ── overzicht ── */
.aanmeld-review {
  margin: 0 0 22px;
  padding: 4px 18px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.aanmeld-review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.aanmeld-review-row:first-child { border-top: none; }
.aanmeld-review dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.aanmeld-review dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  text-align: right;
  word-break: break-word;
}

/* ── navigatie ── */
.aanmeld-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(26px, 3vw, 34px);
  padding-top: clamp(22px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}
.aanmeld-actions .btn { min-width: 172px; justify-content: center; }
.aanmeld-link {
  background: none;
  border: none;
  padding: 6px 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease;
}
.aanmeld-link:hover { color: var(--accent-deep); }

/* ── succes ── */
.aanmeld-done { text-align: center; padding: clamp(8px, 2vw, 22px) 0; }
.aanmeld-done-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  background: color-mix(in oklab, var(--accent) 14%, var(--surface));
  color: var(--accent-deep);
}
.aanmeld-done h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.aanmeld-done > p { color: var(--muted); margin: 14px auto 0; max-width: 40ch; }
.aanmeld-done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .aanmeld-frow { grid-template-columns: 1fr; }
  .aanmeld-step-tab:not(.active) .aanmeld-step-name { display: none; }
  .aanmeld-step-tab:not(.active) { flex: 0 0 auto; }
  .aanmeld-actions { flex-direction: column-reverse; align-items: stretch; }
  .aanmeld-actions .btn { width: 100%; }
  .aanmeld-done-actions { flex-direction: column; }
  .aanmeld-done-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .aanmeld-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .aanmeld-step { animation: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0a1631;
  color: rgba(255, 255, 255, .64);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-inner {
  padding-block: clamp(48px, 7vw, 84px) clamp(22px, 3vw, 30px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr;
  gap: clamp(34px, 5vw, 84px);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* ── merk ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #2ea0e6;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .9);
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.05;
}
.footer-logo-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 50%, #fff);
}
.footer-about {
  margin: 24px 0 0;
  max-width: 42ch;
  font-size: .97rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .58);
}

/* ── kolommen ── */
.footer-col h5 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.footer-col > a:not(.footer-contact) {
  display: block;
  margin-bottom: 12px;
  font-size: .98rem;
  color: rgba(255, 255, 255, .72);
  transition: color .15s ease, transform .15s ease;
}
.footer-col > a:not(.footer-contact):hover {
  color: #fff;
  transform: translateX(3px);
}

/* ── contact ── */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  margin-bottom: 22px;
  text-decoration: none;
}
.footer-contact:last-child { margin-bottom: 0; }
.footer-contact-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  line-height: 1.2;
}
.footer-contact-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #fff;
  word-break: break-word;
  transition: color .15s ease;
}
a.footer-contact:hover .footer-contact-value {
  color: color-mix(in oklab, var(--accent) 50%, #fff);
}

/* ── onderbalk ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: clamp(22px, 3vw, 28px);
  font-size: .85rem;
  color: rgba(255, 255, 255, .42);
}
.footer-motto {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
   Mobiel - algemene aanpassingen
   ============================================================ */
@media (max-width: 640px) {
  :root { --gutter: clamp(16px, 4.5vw, 24px); }
  .section-pad { padding-block: clamp(48px, 12vw, 88px); }
  .sec-head h2 { font-size: clamp(1.65rem, 7vw, 2.25rem); }
  .sec-head p { font-size: 1rem; }
  .btn { white-space: normal; }
  .price-card:hover { transform: none; }
}

/* ============================================================
   Reveal on scroll - content is standaard ZICHTBAAR.
   Entrance wordt alleen geactiveerd als animatieframes draaien
   (html[data-anim="on"]), zodat content nooit onzichtbaar blijft
   in omgevingen waar transitions niet doorlopen.
   ============================================================ */
html[data-anim="on"] .reveal { opacity: 0; transform: translateY(22px); }
html[data-anim="on"] .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce) {
  html[data-anim="on"] .reveal { opacity: 1; transform: none; transition: none; }
  .faq-a { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Desktop - layout verfijning (≥921px)
   ============================================================ */
@media (min-width: 921px) {
  .hero-copy { max-width: min(680px, 100%); }
  .hero-sub { max-width: 48ch; }
}

@media (min-width: 1100px) {
  .hero-sub { max-width: 52ch; }
  .rev-head { align-items: center; }
}

@media (min-width: 1280px) {
  .section-pad { padding-block: clamp(80px, 7vw, 140px); }
}
