/* ==========================================================================
   Rijschool ZUKO — stijl
   Fris en commercieel, in lijn met moderne Nederlandse rijschoolwebsites:
   wit canvas, donkerblauw + oranje, ronde knoppen, kaarten met vinkjes.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0e2a4a;
  --navy-800: #123458;
  --navy-700: #16406f;
  --navy-100: #dbe7f5;

  --orange-500: #ff6c1f;
  --orange-600: #e85d0d;
  --orange-050: #fff3ea;

  --green-500: #1fa45c;

  --bg: #ffffff;
  --bg-soft: #f2f6fb;
  --bg-warm: #fff3ea;
  --line: #e3e9f1;

  --text-900: #12283f;
  --text-600: #45566b;
  --muted: #6b7a8d;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(14, 42, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 42, 74, 0.10);
  --shadow-lg: 0 18px 50px rgba(14, 42, 74, 0.16);

  --topbar-h: 38px;
  --header-h: 78px;
}

/* ---------- Reset & basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-900);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; font-weight: 700; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-600);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

::selection {
  background: var(--navy-100);
  color: var(--navy-900);
}

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

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--navy-900);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange-600);
  background: var(--orange-050);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin: 0 0 1.1rem;
}

.section {
  padding-block: clamp(3.8rem, 8vw, 6rem);
}

.section-soft {
  background: var(--bg-soft);
}

.section-warm {
  background: var(--bg-warm);
}

/* Op warme secties matcht de kicker-achtergrond (orange-050) de sectiekleur —
   witte pill zodat het label leesbaar blijft. */
.section-warm .kicker {
  background: #fff;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-600);
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 108, 31, 0.32);
}

.btn-primary:hover {
  background: var(--orange-600);
  color: #fff;
}

.btn-outline {
  border-color: var(--navy-100);
  color: var(--navy-900);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-navy {
  background: var(--navy-900);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-700);
  color: #fff;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 1.15rem 2.1rem;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- Topbar + header ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.topbar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar strong {
  color: #fff;
  font-weight: 600;
}

.topbar-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
}

.topbar-stars {
  color: #ffc24c;
  letter-spacing: 1px;
  font-size: 0.92rem;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  height: 60px;
  width: auto;
  flex: none;
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-900);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.main-nav a:hover {
  color: var(--orange-600);
}

.main-nav a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--navy-900);
}

.main-nav .nav-cta {
  display: none;
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  background: none;
  border: 2px solid var(--navy-100);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  color: var(--navy-900);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 82vh, 780px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

/* Full-bleed rij-animatie */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -2;
}

/* Statische fallback-achtergrond (geen-JS / geen-WebGL): lichte lucht + weg */
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(58% 42% at 80% 12%, rgba(255, 248, 232, 0.95), transparent 60%),
    linear-gradient(180deg, #a9cdf2 0%, #cfe2f6 52%, #dcea9a 52%, #7f9e63 100%);
}

.hero__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #6f7b8b;
  clip-path: polygon(46% 58%, 54% 58%, 82% 100%, 18% 100%);
}

/* Leesbaarheids-sluier: sterker links (waar de tekst staat), transparant rechts */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 250, 253, 0.95) 0%, rgba(247, 250, 253, 0.82) 32%, rgba(247, 250, 253, 0.34) 60%, rgba(247, 250, 253, 0) 82%),
    linear-gradient(0deg, rgba(247, 250, 253, 0.6) 0%, rgba(247, 250, 253, 0) 42%);
}

/* Flex-item mag krimpen (anders zou de brede kop op smalle schermen overlopen) */
.hero > .container {
  min-width: 0;
}

/* Op smalle schermen ligt de tekst over de hele breedte (incl. de donkere
   cockpit onderin) — daar een gelijkmatiger, iets sterkere lichte sluier. */
@media (max-width: 720px) {
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(247, 250, 253, 0.88) 0%,
      rgba(247, 250, 253, 0.72) 48%,
      rgba(247, 250, 253, 0.5) 74%,
      rgba(247, 250, 253, 0.66) 100%
    );
  }
}

.hero__content {
  position: relative;
  max-width: 44rem;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 1px 10px rgba(247, 250, 253, 0.7);
}

.hero h1 .accent {
  color: var(--orange-500);
}

.hero .lead {
  margin-bottom: 1.5rem;
  max-width: 34em;
}

.hero .actions {
  margin-bottom: 1.4rem;
}

/* Keurmerk-zegel onder de hero-knoppen — een kwaliteitsstempel, geen knop en geen vinkje */
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-600);
}

.hero-note .hero-seal {
  width: 44px;
  height: 44px;
  flex: none;
}

.hero-note strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

/* ---------- USP-bar ---------- */
.usp-bar {
  background: var(--navy-900);
  color: #fff;
  padding-block: 1.6rem;
}

.usp-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 2rem;
}

.usp-bar li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}

.usp-bar li svg {
  width: 19px;
  height: 19px;
  color: var(--orange-500);
  flex: none;
}

/* ---------- Vinkjeslijsten ---------- */
.checklist {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.checklist li svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 0.2em;
  color: var(--green-500);
}

.checklist.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Kaarten & grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange-050);
  color: var(--orange-600);
  margin-bottom: 1rem;
}

.icon-dot svg {
  width: 25px;
  height: 25px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* ---------- Prijskaarten ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card .pkg-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-900);
  margin: 0 0 0.1rem;
}

.price-card .pkg-lessons {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin: 0 0 0.2rem;
}

.price-card .pkg-lessons small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card .pkg-desc {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 1.1rem;
}

.price-card .checklist {
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.price-card.featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.price-card.featured .pkg-name,
.price-card.featured .pkg-lessons {
  color: #fff;
}

.price-card.featured .pkg-lessons small,
.price-card.featured .pkg-desc {
  color: rgba(255, 255, 255, 0.72);
}

.price-card.featured .checklist {
  color: rgba(255, 255, 255, 0.9);
}

.price-card.featured .checklist li svg {
  color: var(--orange-500);
}

.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.price-tag .amount {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}

.price-tag .per {
  color: var(--muted);
}

/* Groene "voordeel"-notitie (bijv. proefles terugbetaald) */
.tarief-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #e7f6ee;
  color: #14663a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.3rem;
}

.tarief-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--green-500);
  margin-top: 2px;
}

.tarief-note strong {
  color: #0f5730;
}

/* ---------- Informatiebalk (warme accenttint) ---------- */
.info-bar {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  background: var(--orange-050);
  border: 1px solid #ffd8bf;
  color: var(--navy-900);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  margin: 0 auto 1.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-bar svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--orange-600);
  margin-top: 2px;
}

.info-bar strong {
  color: var(--orange-600);
}

/* ---------- Pakketprijzen (streepprijs, actieprijs, korting) ---------- */
.pkg-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
}

.price-card .pkg-note {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-600);
  background: var(--orange-050);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

/* Prijspaneel: streepprijs boven, actieprijs + besparing op één rij */
.pkg-price {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.95rem;
  margin: 0.2rem 0 1.15rem;
}

.pkg-price .was {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.pkg-price .now-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pkg-price .now {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1;
}

.pkg-price .save {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange-500);
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .pkg-incl-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin: 0 0 0.65rem;
}

/* "Meest gekozen": oranje accentrand zodat de kaart opvalt */
.price-card.popular {
  border: 2px solid var(--orange-500);
}

/* Featured (navy) kaart: prijzen en labels licht */
.price-card.featured .pkg-price {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.price-card.featured .pkg-price .was {
  color: rgba(255, 255, 255, 0.68);
}

.price-card.featured .pkg-price .now {
  color: #fff;
}

.price-card.featured .pkg-incl-label {
  color: rgba(255, 255, 255, 0.62);
  border-top-color: rgba(255, 255, 255, 0.16);
}

.price-card.featured .pkg-note {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- Route (4 fases — strakke route-indicator) ---------- */
:root {
  --route-node: 40px;   /* diameter van de genummerde markering */
  --route-top: 52px;    /* ruimte boven de kaarten voor de route */
  --route-y: 22px;      /* verticaal midden van de lijn/markering */
}

.route {
  position: relative;
  padding-top: var(--route-top);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}

.steps li {
  counter-increment: step;
  position: relative;
  top: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: top 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Lift via top (geen transform) zodat er geen stacking context ontstaat en
   de genummerde cirkels altijd boven de verbindingslijn blijven. */
.steps li:hover {
  top: -3px;
  box-shadow: var(--shadow-md);
  border-color: var(--navy-100);
}

/* genummerde markering (01–04), strak en plat */
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: calc(var(--route-y) - var(--route-node) / 2 - var(--route-top));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--route-node);
  height: var(--route-node);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy-100);
  color: var(--navy-800);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  z-index: 2;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.steps li:hover::before {
  border-color: var(--orange-500);
  color: var(--orange-600);
}

/* laatste markering = eindbestemming (rijbewijs) */
.steps li:last-child::before {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #fff;
}

.steps li:last-child:hover::before {
  border-color: var(--orange-600);
  background: var(--orange-600);
  color: #fff;
}

/* dunne verbindingslijn tussen twee markeringen */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--route-y) - var(--route-top) - 1px);
  left: 50%;
  width: calc(100% + 1.5rem);
  height: 2px;
  background: var(--navy-100);
  z-index: 1;
}

.steps h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 780px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--orange-500);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-900);
  list-style: none;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .chev {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange-050);
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background-color 0.18s ease, color 0.18s ease;
}

.faq summary .chev svg {
  width: 15px;
  height: 15px;
}

.faq details[open] summary .chev {
  transform: rotate(45deg);
  background: var(--orange-500);
  color: #fff;
}

.faq .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-600);
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Regiokaart ---------- */
.map-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.5vw, 1.8rem);
}

.map-panel {
  margin: 0;
}

.map__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Omliggende gemeenten — subtiele achtergrondtextuur */
.map__borders path {
  fill: var(--bg-soft);
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

/* Provincie Noord-Brabant — met diepte */
.map__prov {
  fill: url(#provGrad);
  stroke: var(--navy-700);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: url(#provShadow);
}

/* Lesgebied-vlakken — oranje met gloed */
.map__area {
  fill: url(#areaGrad);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: url(#areaGlow);
}

/* Steden — interactieve markeringen */
.city {
  cursor: pointer;
}

.city__hit {
  fill: transparent;
}

.city__ring {
  fill: var(--orange-500);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.3);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dot en label zijn standaard onzichtbaar: de kaart toont alleen het oranje
   lesgebied. Een plaats verschijnt pas als je de bijbehorende chip (of de
   plek op de kaart zelf) aanwijst. */
.city__dot {
  fill: var(--orange-500);
  stroke: #fff;
  stroke-width: 2.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.city__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 23px;
  fill: var(--navy-900);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4.5px;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Actieve stad (hover/keuze van chip, of hover op de kaart) */
.city.is-active .city__ring {
  opacity: 0.28;
  transform: scale(1);
  animation: cityPulse 1.8s ease-out infinite;
}

.city.is-active .city__dot,
.city:hover .city__dot {
  opacity: 1;
  transform: scale(1);
}

.city.is-active .city__label,
.city:hover .city__label {
  opacity: 1;
}

@keyframes cityPulse {
  0%   { opacity: 0.32; transform: scale(1); }
  70%  { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* Teken-animatie zodra de kaart in beeld komt (alleen met JS) */
html:not(.no-js) .map:not(.revealed) .map__prov {
  fill-opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

html:not(.no-js) .map:not(.revealed) .map__area,
html:not(.no-js) .map:not(.revealed) .map__cities {
  opacity: 0;
}

.map.revealed .map__prov {
  animation: mapDraw 2s ease 0.15s both;
}

.map.revealed .map__area {
  animation: mapFade 0.7s ease 1.05s both;
}

.map.revealed .map__cities {
  animation: mapFade 0.6s ease 1.4s both;
}

@keyframes mapDraw {
  0%   { fill-opacity: 0; stroke-dashoffset: 1; }
  55%  { fill-opacity: 0.55; }
  100% { fill-opacity: 1; stroke-dashoffset: 0; }
}

@keyframes mapFade {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .map__prov { fill-opacity: 1; stroke-dashoffset: 0; }
  .map__area,
  .map__cities { opacity: 1; }
  .map__prov,
  .map__area,
  .map__cities { animation: none; }
  .city__ring,
  .city__dot { transition: none; }
  .city.is-active .city__ring { animation: none; }
  .city__label { transition: none; }
}

.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.town-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy-900);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.town-tag:hover,
.town-tag:focus-visible {
  border-color: var(--navy-100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  outline: none;
}

.town-tag:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.town-tag.is-active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.town-tag svg {
  width: 16px;
  height: 16px;
  color: var(--orange-500);
  transition: color 0.2s ease;
}

.town-tag.is-active svg {
  color: #fff;
}

.town-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.town-hint svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--orange-500);
}

/* ---------- CTA-band ---------- */
.cta-band {
  background: var(--navy-900);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  max-width: 18em;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 40em;
  margin: 0 auto 2rem;
}

.cta-band .actions {
  justify-content: center;
}

/* ---------- Subpagina-kop ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% 10%, var(--navy-100), transparent 70%),
    var(--bg-soft);
  padding: clamp(3rem, 7vw, 4.8rem) 0;
}

.page-hero h1 {
  max-width: 16em;
  margin-bottom: 0.6rem;
}

.page-hero .lead {
  max-width: 42em;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--text-600);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-600);
}

.contact-card .icon-dot {
  margin: 0;
  flex: none;
}

.contact-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--text-900);
}

.contact-card span {
  font-size: 0.95rem;
}

/* ---------- Formulier ---------- */
/* Honeypot: buiten beeld i.p.v. display:none, zodat bots het invullen. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-900);
}

.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--text-900);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 108, 31, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.98rem;
}

.form-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
  accent-color: var(--orange-500);
  flex: none;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
}

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  font-weight: 500;
}

.form-status.visible {
  display: block;
}

.form-status.ok {
  background: #e8f7ef;
  border: 1px solid #bfe6d2;
  color: #1d6b47;
}

.form-status.err {
  background: #fdefe6;
  border: 1px solid #f5cfb3;
  color: #9a4a12;
}

/* ---------- Geslaagden (uitklappende panelen) ---------- */
.pass-panels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.7rem;
  height: clamp(320px, 42vw, 440px);
}

.pass-panel {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: flex-grow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pass-figure {
  position: relative;
  margin: 0;
  height: 100%;
  width: 100%;
}

.pass-ph,
.pass-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pass-img {
  object-fit: cover;
}

/* placeholdertegel: merkgradient + avatar-silhouet */
.pass-ph {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}

.pass-ph svg {
  width: 58%;
  max-width: 150px;
  height: auto;
  margin-bottom: -2px;
  fill: rgba(255, 255, 255, 0.16);
}

.pass-ph[data-variant="2"] { background: linear-gradient(160deg, #1c4b7a, var(--navy-900)); }
.pass-ph[data-variant="3"] { background: linear-gradient(160deg, var(--orange-600), #b8480a); }
.pass-ph[data-variant="3"] svg { fill: rgba(255, 255, 255, 0.22); }
.pass-ph[data-variant="4"] { background: linear-gradient(160deg, #17406f, #0b2138); }
.pass-ph[data-variant="5"] { background: linear-gradient(160deg, #245a8c, var(--navy-800)); }
.pass-ph[data-variant="6"] { background: linear-gradient(160deg, var(--orange-500), var(--orange-700, #c2510c)); }
.pass-ph[data-variant="6"] svg { fill: rgba(255, 255, 255, 0.22); }

.pass-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(14, 42, 74, 0.25);
  white-space: nowrap;
}

.pass-badge::before {
  content: "★";
  font-size: 0.85rem;
  line-height: 1;
}

.pass-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(to top, rgba(6, 20, 38, 0.82), transparent);
}

.pass-name {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pass-note {
  text-align: center;
  color: var(--muted);
  margin: 1.6rem 0 0;
}

/* Uitklappen op apparaten met een echte muis */
@media (hover: hover) {
  .pass-panel { flex-grow: 1; }
  /* in rust: het middelste paneel iets groter zodat de rij uitnodigend oogt */
  .pass-panels:not(:hover):not(:focus-within) .pass-panel:nth-child(3) { flex-grow: 2.2; }

  /* gehoverd/gefocust paneel groeit; de rest (:not) krimpt.
     De :not() voorkomt dat de krimpregel het actieve paneel overschrijft. */
  .pass-panel:hover,
  .pass-panel:focus-within { flex-grow: 5; }

  .pass-panels:hover .pass-panel:not(:hover),
  .pass-panels:focus-within .pass-panel:not(:focus-within) { flex-grow: 0.6; }

  /* naam pas volledig tonen wanneer het paneel is uitgeklapt */
  .pass-name { opacity: 0; transform: translateY(8px); }
  .pass-panels:not(:hover):not(:focus-within) .pass-panel:nth-child(3) .pass-name,
  .pass-panel:hover .pass-name,
  .pass-panel:focus-within .pass-name { opacity: 1; transform: none; }
}

/* Touch / geen hover: horizontale scroll-snap-rij */
@media (hover: none) {
  .pass-panels {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
  }

  .pass-panel {
    flex: 0 0 78%;
    scroll-snap-align: center;
    aspect-ratio: 3 / 4;
  }

  .pass-name { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pass-panel,
  .pass-name {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- WhatsApp-knop ---------- */
.wa-fab {
  position: fixed;
  right: 1.4rem;
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 18px rgba(37, 211, 102, 0.5);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.wa-fab:hover {
  transform: scale(1.07);
  box-shadow: 0 5px 22px rgba(37, 211, 102, 0.6);
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .wa-fab {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  }

  .wa-fab svg {
    width: 27px;
    height: 27px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 3rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange-500);
}

.footer-brand .brand-mark {
  height: 38px;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 30em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Scroll-reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Route wordt verticaal: de lijn loopt links naar beneden */
  .route {
    padding: 0 0 0 var(--route-top);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .steps li {
    padding: 1.5rem 1.5rem;
  }

  .steps li::before {
    top: 50%;
    left: calc(var(--route-y) - var(--route-node) / 2 - var(--route-top));
    transform: translateY(-50%);
  }

  .steps li:not(:last-child)::after {
    top: 50%;
    left: calc(var(--route-y) - var(--route-top) - 1px);
    width: 2px;
    height: calc(100% + 1.1rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .usp-bar ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem 1.25rem 1.4rem;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .main-nav a {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .main-nav .nav-cta {
    display: block;
    padding-top: 0.9rem;
  }

  .main-nav .nav-cta .btn {
    width: 100%;
    color: #fff; /* overschrijft de donkere .main-nav a-kleur, net als de andere btn-primary's */
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2,
  .price-grid,
  .steps,
  .form-grid,
  .checklist.cols-2 {
    grid-template-columns: 1fr;
  }

  .usp-bar ul {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .brand-mark {
    height: 48px;
  }
}

/* ---------- Snelcursus: 6 pakketten in 3 kolommen ---------- */
.price-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1020px) {
  .price-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .price-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ZUKO hoofdwebsite — conversie, privacy en toegankelijkheid
   ========================================================================== */
.topbar-phone{color:inherit;text-decoration:none}
.topbar-phone:hover{text-decoration:underline;text-underline-offset:3px}
body.nav-open{overflow:hidden}
.form-status:focus{outline:none}
.zuko-quick-summary{margin-top:1.5rem}
.section-actions.center{justify-content:center}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
}

