/* ============================================================================
   Rijscholen-sectortemplate — style.css
   Opbouw:  1 tokens · 2 basis · 3 knoppen & iconen · 4 header · 5 hero
            6 vertrouwen · 7 route · 8 prijzen · 9 instructeurs · 10 matcher
            11 reviews · 12 contact · 13 footer · 14 responsive
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --ink:        #0b1b33;
  --ink-2:      #12294a;
  --ink-3:      #1e3a63;
  --blauw:      #00abe6;
  --blauw-600:  #0089ba;
  --blauw-licht:#4dc4ee;
  --lucht:      #7dd3fc;
  --groen:      #16a34a;
  --wa:         #25d366;
  --wa-donker:  #128c4a;

  --wit:        #ffffff;
  --grijs-50:   #f8fafc;
  --grijs-100:  #f1f5f9;
  --grijs-200:  #e6ecf3;
  --grijs-300:  #cbd5e1;
  --grijs-500:  #64748b;
  --grijs-600:  #475569;

  --tekst:      #0f1e33;
  --tekst-zacht:#4a5b73;

  --radius-s: 10px;
  --radius:   18px;
  --radius-l: 26px;
  --radius-xl:34px;

  --schaduw-s:  0 1px 2px rgba(11,27,51,.06), 0 2px 8px rgba(11,27,51,.05);
  --schaduw:    0 4px 12px rgba(11,27,51,.07), 0 18px 40px -14px rgba(11,27,51,.22);
  --schaduw-l:  0 10px 24px rgba(11,27,51,.09), 0 40px 80px -26px rgba(11,27,51,.35);

  --wrap: 1200px;
  --sectie-y: clamp(68px, 8.5vw, 128px);

  --soepel: cubic-bezier(.22,.75,.28,1);
  --veer:   cubic-bezier(.34,1.4,.5,1);
}

/* ---------- 2. BASIS ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Inter komt van Google Fonts. Blokkeert een netwerk of adblocker dat, dan
   valt de site terug op de systeemletter van het apparaat: die staat qua
   breedte en x-hoogte dicht genoeg bij Inter om de layout heel te houden. */
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', 'Helvetica Neue', 'Noto Sans', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--tekst);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0 0 .4em;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); letter-spacing: -.015em; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sectie { padding-block: var(--sectie-y); position: relative; }

.sectie-kop { max-width: 46rem; margin: 0 auto clamp(34px, 4vw, 58px); text-align: center; }
.sectie-kop p { color: var(--tekst-zacht); font-size: 1.08rem; margin: 0; }
.sectie-kop-links { text-align: left; margin-inline: 0; }
.subkop { text-align: center; margin: clamp(56px, 6vw, 84px) 0 28px; font-size: clamp(1.3rem, 2vw, 1.6rem); }

.label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--blauw);
  margin: 0 0 .7em;
}

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--soepel), transform .7s var(--soepel); }
.reveal.zichtbaar { opacity: 1; transform: none; }

/* Notitie onder een sectie met voorbeeldinhoud: moet opvallen als toelichting,
   niet als waarschuwing. Rustig, klein, met een streepje ervoor. */
.demo-notitie {
  display: flex;
  gap: .6em;
  margin: 18px 0 0;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--grijs-500);
}
.demo-notitie::before {
  content: '';
  flex: none;
  width: 3px;
  border-radius: 3px;
  background: var(--grijs-300);
}
.sectie-kop .demo-notitie { justify-content: center; max-width: 34rem; margin-inline: auto; text-align: left; }
.contact-sectie .demo-notitie, .matcher-kaart .demo-notitie { color: rgba(255,255,255,.5); }
.contact-sectie .demo-notitie::before, .matcher-kaart .demo-notitie::before { background: rgba(255,255,255,.25); }

/* ---------- 3. KNOPPEN & ICONEN ---------- */
.btn {
  --btn-bg: var(--blauw);
  --btn-tekst: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .82em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-tekst);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--veer), box-shadow .25s var(--soepel), background .2s ease, color .2s ease;
  box-shadow: 0 2px 6px rgba(11,27,51,.14);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -6px rgba(11,27,51,.34); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--lucht); outline-offset: 3px; }

.btn-lg { padding: 1.02em 1.9em; font-size: 1.04rem; }
.btn-sm { padding: .62em 1.15em; font-size: .89rem; }
.btn-block { width: 100%; }

.btn-wa      { --btn-bg: var(--wa); --btn-tekst: #04220f; font-size: .96rem; }
.btn-wa:hover{ --btn-bg: #2ee06f; }
.btn-donker  { --btn-bg: var(--ink); }
.btn-donker:hover { --btn-bg: var(--ink-2); }
.btn-outline {
  --btn-bg: transparent; --btn-tekst: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.34);
}
.btn-outline:hover { --btn-bg: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost {
  --btn-bg: transparent; --btn-tekst: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--grijs-200);
  font-size: calc(.97rem - 2px);
}
.btn-ghost:hover { --btn-bg: var(--grijs-100); box-shadow: inset 0 0 0 1.5px var(--grijs-300); }

/* Iconen als CSS-masks: geen extra requests */
.ico { width: 1.15em; height: 1.15em; flex: none; background: currentColor; display: inline-block; }
.ico-phone {
  -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5a1.6 1.6 0 0 1 1.5 1l1.1 2.6c.2.6.1 1.2-.4 1.6l-1.2 1a12.5 12.5 0 0 0 5.7 5.7l1-1.2c.4-.5 1-.6 1.6-.4l2.6 1.1c.6.2 1 .8 1 1.5v2.5c0 1-.8 1.7-1.8 1.6C10.4 19.9 4.1 13.6 3.4 4.3 3.3 3.3 4 2.5 5 2.5z'/%3E%3C/svg%3E");
}
.ico-wa {
  -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.ico-mail {
  -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1v-11c0-.6.4-1 1-1zm1.7 2L12 12.6l7.3-5.1z' /%3E%3C/svg%3E");
}

.tekstlink {
  color: var(--blauw);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(29,78,216,.28);
  transition: border-color .2s ease;
}
.tekstlink:hover { border-color: var(--blauw); }

.rond-knop {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--grijs-200);
  background: var(--wit);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  display: grid; place-items: center;
  transition: transform .2s var(--veer), border-color .2s ease, background .2s ease;
}
.rond-knop:hover { border-color: var(--blauw); color: var(--blauw); transform: translateY(-2px); }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-block: 14px;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-gescrold {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,27,51,.08), 0 10px 30px -18px rgba(11,27,51,.35);
  padding-block: 9px;
}
.header-inner { display: flex; align-items: center; gap: 22px; }

/* Wordmark: de bedrijfsnaam ís het logo. Geen afbeelding, dus geen extra
   request en geen gedoe met logo's die de rijschool niet heeft.
   De maat schaalt mee met de lengte van de naam: script.js zet .brand-lang
   (vanaf 22 tekens) of .brand-xlang (vanaf 34 tekens). Namen als
   "Vamor Auto- & Motorrijschool De Langen" passen zo nog steeds. */
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
  max-width: min(46vw, 30rem);
  padding-block: 2px;
}
.brand-naam {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #fff;
  transition: color .35s ease;
  text-wrap: balance;
}
.brand-plaats {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  transition: color .35s ease;
  white-space: nowrap;
}
.brand-lang  .brand-naam { font-size: .97rem; letter-spacing: -.02em; }
.brand-xlang .brand-naam { font-size: .87rem; letter-spacing: -.015em; line-height: 1.14; }
.brand-xlang .brand-plaats { font-size: .66rem; }
.is-gescrold .brand-naam { color: var(--ink); }
.is-gescrold .brand-plaats { color: var(--grijs-500); }

.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block;
  padding: .5em .8em;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.12); }
.is-gescrold .nav-list a { color: var(--tekst-zacht); }
.is-gescrold .nav-list a:hover { color: var(--ink); background: var(--grijs-100); }
.nav-list a.actief { color: #fff; background: rgba(255,255,255,.16); }
.is-gescrold .nav-list a.actief { color: var(--blauw); background: rgba(29,78,216,.1); }

.header-cta { display: flex; gap: 8px; }
.header-cta .btn-ghost { --btn-tekst: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.header-cta .btn-ghost:hover { --btn-bg: rgba(255,255,255,.12); }
.is-gescrold .header-cta .btn-ghost { --btn-tekst: var(--ink); box-shadow: inset 0 0 0 1.5px var(--grijs-200); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 14px;
  background: rgba(255,255,255,.14);
  cursor: pointer;
  padding: 13px 12px;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--soepel), opacity .2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.is-gescrold .nav-toggle { background: var(--grijs-100); }
.is-gescrold .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: clamp(120px, 15vh, 168px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
  background: linear-gradient(160deg, #081428 0%, #0e2a52 46%, #00abe6 122%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 48% at 78% 12%, rgba(125,211,252,.3), transparent 68%),
    radial-gradient(46% 42% at 8% 86%, rgba(34,197,94,.16), transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(72% 62% at 50% 34%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 34%, #000 30%, transparent 78%);
}
.hero-fade {
  position: absolute; inset: auto 0 -1px; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--wit));
  z-index: 1; pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .42em 1em .42em .75em;
  margin: 0 0 1.1em;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font-size: .86rem; font-weight: 600;
  color: rgba(255,255,255,.94);
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.22);
}

.hero-titel { color: #fff; margin-bottom: .35em; }
.hero-titel .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero-titel .line > span { display: block; }
.hero-accent { color: var(--lucht); }

.hero-intro {
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  color: rgba(255,255,255,.8);
  max-width: 34rem;
  margin-bottom: 1.9em;
}
.hero-acties { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-acties .btn-wa { box-shadow: 0 8px 24px -6px rgba(37,211,102,.55); }

.hero-usps { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 26px 0 0; padding: 0; }
.hero-usps li {
  display: flex; align-items: center; gap: .5em;
  font-size: .92rem; font-weight: 500;
  color: rgba(255,255,255,.78);
  opacity: 0; transform: translateY(10px);
}
.hero-usps li::before {
  content: ''; width: 17px; height: 17px; flex: none; border-radius: 50%;
  background: rgba(74,222,128,.2);
  -webkit-mask: none;
  box-shadow: inset 0 0 0 1.5px rgba(74,222,128,.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-foto-kaart {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.14);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  aspect-ratio: 4 / 3;
}
.hero-foto-kaart img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto-glans {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,255,255,.2), transparent 42%),
              linear-gradient(0deg, rgba(6,16,32,.45), transparent 55%);
}

.hero-route-kaart {
  position: absolute;
  left: clamp(-26px, -2vw, -10px);
  bottom: -30px;
  width: min(78%, 330px);
  padding: 14px 15px 13px;
  border-radius: var(--radius-l);
  background: rgba(11,27,51,.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 54px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.14);
  color: #fff;
  opacity: 0; transform: translateY(18px);
}
.route-svg { width: 100%; height: auto; display: block; color: #fff; }
.route-pad { stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-auto { transition: opacity .3s ease; }
.route-vlag { transition: opacity .4s var(--veer); }

.route-voortgang { margin-top: 8px; }
.route-voortgang-label {
  display: flex; justify-content: space-between;
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 6px;
}
.route-balk { height: 5px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; }
.route-balk-vul {
  height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lucht), #4ade80);
}

/* Hero-opbouw animatie */
@keyframes opStijgen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes regelIn   { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes kaartIn   { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.js-hero-klaar .hero-badge  { animation: opStijgen .62s var(--soepel) .05s both; }
.js-hero-klaar .hero-titel .line > span { animation: regelIn .78s var(--soepel) both; }
.js-hero-klaar .hero-titel .line-1 > span { animation-delay: .16s; }
.js-hero-klaar .hero-titel .line-2 > span { animation-delay: .28s; }
.js-hero-klaar .hero-intro  { animation: opStijgen .62s var(--soepel) .42s both; }
.js-hero-klaar .hero-acties { animation: opStijgen .62s var(--soepel) .54s both; }
.js-hero-klaar .hero-usps li { animation: opStijgen .5s var(--soepel) both; }
.js-hero-klaar .hero-usps li:nth-child(1) { animation-delay: .68s; }
.js-hero-klaar .hero-usps li:nth-child(2) { animation-delay: .76s; }
.js-hero-klaar .hero-usps li:nth-child(3) { animation-delay: .84s; }
.js-hero-klaar .hero-foto-kaart { animation: kaartIn .85s var(--soepel) .2s both; }
.js-hero-klaar .hero-route-kaart { animation: opStijgen .7s var(--soepel) .62s both; }

/* ---------- 6. VERTROUWEN ---------- */
.vertrouwen { background: var(--wit); }
.vertrouwen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.mega-getal {
  display: flex; align-items: flex-start;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .88;
  color: var(--blauw);
  font-size: clamp(5rem, 13vw, 9.5rem);
  font-variant-numeric: tabular-nums;
}
.mega-getal .procent { font-size: .42em; margin-top: .18em; color: var(--blauw-licht); }
.mega-onder {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: .1em 0 1.3em;
}
.vertrouwen-tekst { color: var(--tekst-zacht); max-width: 34rem; margin: 26px 0 0; }

/* Geen slagingspercentage bekend: het cijferblok verdwijnt en de kop neemt
   zijn plaats in, zodat er geen gat in de kolom valt. */
.geen-cijfer #cijferBlok { display: none; }
.geen-cijfer .vertrouwen-kop {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  max-width: 20ch;
}
.geen-cijfer .vertrouwen-tekst { margin-top: 0; font-size: 1.06rem; }

.meter { display: grid; gap: 13px; max-width: 30rem; }
.meter-rij { display: grid; grid-template-columns: 8.5rem 1fr 3rem; align-items: center; gap: 12px; font-size: .88rem; }
.meter-naam { color: var(--tekst-zacht); font-weight: 600; }
.meter-baan { height: 10px; border-radius: 999px; background: var(--grijs-100); overflow: hidden; }
.meter-vul { height: 100%; width: 0; border-radius: 999px; transition: width 1.2s var(--soepel); }
.meter-vul-wij { background: linear-gradient(90deg, var(--blauw), var(--blauw-licht)); }
.meter-vul-nl  { background: var(--grijs-300); }
.meter-waarde { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.vertrouwen-foto { margin: 0 0 20px; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--schaduw); }
.vertrouwen-foto img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.stat-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stat-lijst li {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--grijs-50);
  box-shadow: inset 0 0 0 1px var(--grijs-200);
  transition: transform .25s var(--soepel), box-shadow .25s var(--soepel), background .25s ease;
}
.stat-lijst li:hover { transform: translateX(4px); background: var(--wit); box-shadow: var(--schaduw-s), inset 0 0 0 1px var(--grijs-200); }
.stat-getal { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stat-tekst { font-size: .93rem; line-height: 1.42; }
.stat-tekst strong { display: block; font-weight: 600; }
.stat-tekst small { color: var(--grijs-500); }

/* ---------- 6b. DIENSTENSTROOK (alleen bij meerdere rijopleidingen) ---------- */
.diensten-strook {
  position: relative;
  padding: clamp(30px, 4vw, 44px) 0 clamp(6px, 1vw, 12px);
  background: var(--wit);
}
.diensten-titel {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grijs-500);
  text-align: center;
  margin: 0 0 18px;
}
.diensten-lijst {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.dienst-kaart {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius);
  background: var(--grijs-50);
  box-shadow: inset 0 0 0 1.5px var(--grijs-200);
  transition: transform .25s var(--soepel), box-shadow .25s var(--soepel), background .25s ease;
}
.dienst-kaart:hover {
  transform: translateY(-3px);
  background: var(--wit);
  box-shadow: var(--schaduw-s), inset 0 0 0 1.5px rgba(29,78,216,.3);
}
.dienst-ico { width: 30px; height: 30px; flex: none; color: var(--blauw); }
.dienst-tekst { display: grid; line-height: 1.25; }
.dienst-tekst strong { font-size: 1.02rem; letter-spacing: -.015em; color: var(--ink); }
.dienst-tekst small { font-size: .82rem; color: var(--grijs-500); }
.dienst-badge {
  justify-self: start;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blauw);
}

/* ---------- 8b. PRIJZEN PER RIJOPLEIDING ---------- */
.prijs-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 0 clamp(24px, 3vw, 34px);
}
.prijs-tab {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .6em 1.25em;
  border: 0; border-radius: 999px;
  background: var(--grijs-100);
  color: var(--tekst-zacht);
  font-weight: 700; font-size: .95rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s var(--veer), box-shadow .2s ease;
}
.prijs-tab .dienst-ico { width: 20px; height: 20px; color: currentColor; }
.prijs-tab:hover { background: var(--grijs-200); transform: translateY(-2px); }
.prijs-tab.actief {
  background: var(--blauw); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(29,78,216,.7);
}
.prijs-tab:focus-visible { outline: 3px solid var(--lucht); outline-offset: 3px; }
.prijs-paneel[hidden] { display: none; }
.prijs-intro {
  max-width: 46rem; margin: 0 auto clamp(24px, 3vw, 34px);
  text-align: center; color: var(--tekst-zacht); font-size: 1.04rem;
}

/* Vestigingenlijst in de contactsectie */
.vestiging-lijst {
  list-style: none; margin: 0 0 8px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.vestiging-lijst li {
  padding: .28em .8em;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  font-size: .88rem;
  color: #fff;
}
.vestiging-noot { display: block; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- 7. ROUTE ---------- */
.route-sectie { background: var(--grijs-50); }
.tijdlijn { position: relative; }
/* De lijn loopt van het midden van de eerste bol tot het midden van de laatste.
   --inzet wordt door script.js gezet op basis van het aantal stappen. */
.tijdlijn-lijn {
  position: absolute;
  left: var(--inzet, 0); right: var(--inzet, 0); top: 27px;
  height: 3px; border-radius: 3px;
  background: var(--grijs-200);
}
.tijdlijn-lijn-vul {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--blauw), #4ade80);
  transition: width .6s var(--soepel);
}
.tijdlijn-stappen {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
}
.stap-knop {
  display: block; width: 100%;
  background: none; border: 0; padding: 0 8px;
  text-align: center; cursor: pointer;
  color: var(--tekst-zacht);
}
.stap-bol {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wit);
  box-shadow: inset 0 0 0 3px var(--grijs-200);
  font-weight: 800; font-size: 1.05rem; color: var(--grijs-500);
  transition: transform .32s var(--veer), box-shadow .3s ease, background .3s ease, color .3s ease;
}
.stap-knop:hover .stap-bol { transform: translateY(-3px); box-shadow: inset 0 0 0 3px var(--blauw-licht); color: var(--blauw); }
.stap-titel { display: block; font-weight: 700; color: var(--ink); font-size: .99rem; letter-spacing: -.015em; }
.stap-duur  { display: block; font-size: .82rem; color: var(--grijs-500); margin-top: 2px; }
.stap-knop.actief .stap-bol {
  background: var(--blauw); color: #fff;
  box-shadow: inset 0 0 0 3px var(--blauw), 0 8px 20px -6px rgba(29,78,216,.6);
  transform: scale(1.06);
}
.stap-knop.gedaan .stap-bol { background: #e8f7ee; color: var(--groen); box-shadow: inset 0 0 0 3px #a7e8bf; }
.stap-knop.actief .stap-titel { color: var(--blauw); }
.stap-knop:focus-visible { outline: 3px solid var(--lucht); outline-offset: 4px; border-radius: 12px; }

.stap-detail {
  margin-top: clamp(28px, 3.5vw, 44px);
  background: var(--wit);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--schaduw);
  min-height: 150px;
}
.stap-detail-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: .5em; }
.stap-detail h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.stap-chip {
  font-size: .78rem; font-weight: 700;
  padding: .34em .8em; border-radius: 999px;
  background: rgba(29,78,216,.1); color: var(--blauw);
}
.stap-detail p { margin: 0; color: var(--tekst-zacht); max-width: 56rem; }
.stap-detail .stap-kort {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .55em;
}
.stap-in { animation: opStijgen .45s var(--soepel) both; }

/* ---------- 8. PRIJZEN ---------- */
.prijzen-sectie { background: var(--wit); }
.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--schaduw-l);
  background: var(--wit);
}
.calc-links { padding: clamp(26px, 3.4vw, 44px); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--ink); }
.calc-lessen { font-size: 1.55rem; font-weight: 800; color: var(--blauw); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 34px; margin: 14px 0 0;
  background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blauw) var(--vul, 50%), var(--grijs-200) var(--vul, 50%));
}
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: var(--grijs-200); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--blauw); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px; margin-top: -10px;
  border-radius: 50%;
  background: var(--wit);
  border: 3px solid var(--blauw);
  box-shadow: 0 4px 14px -2px rgba(29,78,216,.55);
  transition: transform .18s var(--veer);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--wit); border: 3px solid var(--blauw);
  box-shadow: 0 4px 14px -2px rgba(29,78,216,.55);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--lucht); outline-offset: 2px; }

.calc-schaal { display: flex; justify-content: space-between; font-size: .8rem; color: var(--grijs-500); margin-top: -2px; }

.calc-extras { border: 0; padding: 26px 0 0; margin: 22px 0 0; border-top: 1px solid var(--grijs-200); }
.calc-extras legend { padding: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.extra-rij {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-top: 9px;
  border-radius: 14px;
  background: var(--grijs-50);
  box-shadow: inset 0 0 0 1px var(--grijs-200);
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.extra-rij:hover { background: var(--wit); box-shadow: inset 0 0 0 1px var(--grijs-300); }
.extra-rij input { width: 20px; height: 20px; accent-color: var(--blauw); cursor: pointer; flex: none; }
.extra-rij .extra-label { flex: 1; font-size: .95rem; font-weight: 500; }
.extra-rij .extra-prijs { font-weight: 700; font-variant-numeric: tabular-nums; }
.extra-rij:has(input:checked) { background: rgba(29,78,216,.06); box-shadow: inset 0 0 0 1px rgba(29,78,216,.28); }

.calc-rechts {
  padding: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  display: flex; flex-direction: column;
}
.calc-kop { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.6); margin: 0; }
.calc-bedrag {
  display: flex; align-items: flex-start; gap: .1em;
  font-size: clamp(2.9rem, 5.4vw, 4rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
  margin: .18em 0 .5em;
  font-variant-numeric: tabular-nums;
}
.calc-bedrag .euro { font-size: .48em; margin-top: .28em; color: rgba(255,255,255,.62); }
.calc-specificatie { list-style: none; margin: 0 0 16px; padding: 0; font-size: .92rem; }
.calc-specificatie li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}
.calc-specificatie li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-specificatie .korting { color: #6ee7a1; }
.calc-uitleg { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0 0 18px; }
.calc-rechts .btn { margin-top: auto; }

.pakketten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
/* Eén of twee pakketten: gecentreerd in plaats van in een lege driekolomsgrid */
.pakketten-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
.pakketten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-inline: auto; }
.pakketten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pakket {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-l);
  background: var(--wit);
  box-shadow: inset 0 0 0 1.5px var(--grijs-200);
  transition: transform .3s var(--soepel), box-shadow .3s var(--soepel);
  display: flex; flex-direction: column;
  height: 100%;
}
.pakket:hover { transform: translateY(-5px); box-shadow: var(--schaduw), inset 0 0 0 1.5px var(--grijs-200); }
.pakket.uitgelicht {
  background: linear-gradient(170deg, #fff, #f5f8ff);
  box-shadow: 0 0 0 2px var(--blauw), var(--schaduw-l);
}
.pakket.uitgelicht:hover { box-shadow: 0 0 0 2px var(--blauw), var(--schaduw-l); transform: translateY(-5px); }
.pakket-vlag {
  position: absolute; top: -13px; left: 26px;
  padding: .34em .9em;
  border-radius: 999px;
  background: var(--blauw); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(29,78,216,.6);
}
.pakket h3 { margin-bottom: .15em; }
.pakket-omschrijving { color: var(--tekst-zacht); font-size: .93rem; margin-bottom: 1.1em; }
.pakket-prijs { display: flex; align-items: baseline; gap: .4em; margin-bottom: 1.2em; }
.pakket-prijs b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.pakket-prijs span { font-size: .88rem; color: var(--grijs-500); }
.pakket-bevat { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.pakket-bevat li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--tekst-zacht); }
.pakket-bevat li::before {
  content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(22,163,74,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pakket .btn { margin-top: auto; }
.voorwaarde { text-align: center; font-size: .84rem; color: var(--grijs-500); margin: 24px auto 0; max-width: 44rem; }

/* ---------- 9. INSTRUCTEURS ---------- */
.instructeurs-sectie { background: var(--grijs-50); }
.instructeurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; }
/* Eén of twee instructeurs: niet uitrekken over de volle breedte */
.instructeurs-1 { max-width: 760px; margin-inline: auto; }
.instructeurs-2 { max-width: 780px; margin-inline: auto; }
/* Bij één instructeur: foto naast de tekst in plaats van erboven, zodat de
   kaart breder en minder lang wordt. */
.instructeurs-1 .instructeur { display: flex; flex-direction: row; align-items: stretch; }
.instructeurs-1 .instructeur-foto { width: 40%; flex: none; aspect-ratio: auto; }
.instructeurs-1 .instructeur-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 32px;
}
.instructeur {
  background: var(--wit);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--schaduw-s);
  transition: transform .32s var(--soepel), box-shadow .32s var(--soepel);
}
.instructeur:hover { transform: translateY(-6px); box-shadow: var(--schaduw-l); }
.instructeur-foto { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--grijs-100); }
.instructeur-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--soepel); }
.instructeur:hover .instructeur-foto img { transform: scale(1.05); }
.instructeur-jaren {
  position: absolute; left: 16px; bottom: 16px;
  padding: .4em .85em; border-radius: 999px;
  background: rgba(11,27,51,.8);
  backdrop-filter: blur(6px);
  color: #fff; font-size: .8rem; font-weight: 600;
}
.instructeur-body { padding: 22px 24px 26px; }
.instructeur-body h3 { margin-bottom: .1em; }
.instructeur-rol { color: var(--blauw); font-weight: 600; font-size: .88rem; margin-bottom: .9em; }
.instructeur-bio { color: var(--tekst-zacht); font-size: .95rem; margin-bottom: 1.1em; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: .78rem; font-weight: 600;
  padding: .34em .8em; border-radius: 999px;
  background: var(--grijs-100); color: var(--tekst-zacht);
}

/* ---------- 10. MATCHER ---------- */
.matcher-sectie { background: var(--grijs-50); padding-top: 0; }
.matcher-kaart {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  box-shadow: var(--schaduw-l);
}
.matcher-kaart h2 { color: #fff; }
.matcher-kaart .sectie-kop p { color: rgba(255,255,255,.72); }
.matcher-voortgang { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .8em; font-weight: 700; }
.matcher-vraag { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1em; }
.matcher-opties { display: flex; flex-wrap: wrap; gap: 10px; }
.matcher-optie {
  padding: .8em 1.4em;
  border-radius: 999px; border: 0;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2);
  color: #fff; font-weight: 600; font-size: .96rem;
  cursor: pointer;
  transition: transform .22s var(--veer), background .2s ease, box-shadow .2s ease;
}
.matcher-optie:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
/* Meerkeuzevraag: gekozen antwoorden blijven staan tot je op "verder" klikt */
.matcher-optie.gekozen {
  background: var(--lucht);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--lucht), 0 6px 18px -6px rgba(125,211,252,.6);
}
.matcher-optie.gekozen::before {
  content: '';
  display: inline-block;
  width: 15px; height: 15px;
  margin-right: .5em;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b33' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.matcher-hint {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin: -.6em 0 1em;
}
.matcher-verder { margin-top: 16px; }
.matcher-verder .btn[disabled] { opacity: .4; pointer-events: none; }
.matcher-resultaat { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; animation: opStijgen .5s var(--soepel) both; }
.matcher-resultaat img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.matcher-resultaat h3 { color: #fff; margin-bottom: .1em; }
.matcher-resultaat p { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 1em; }
.matcher-acties { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.matcher-opnieuw {
  background: none; border: 0; color: rgba(255,255,255,.7);
  font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: underline;
  padding: .5em;
}
.matcher-opnieuw:hover { color: #fff; }

/* ---------- 11. REVIEWS ---------- */
.reviews-sectie { background: var(--wit); overflow: hidden; }
.reviews-score { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--tekst-zacht); }
.sterren { display: inline-flex; gap: 2px; }
.ster { width: 18px; height: 18px; background: #f5a524; -webkit-mask: var(--sm) center/contain no-repeat; mask: var(--sm) center/contain no-repeat; }
.ster.leeg { background: var(--grijs-300); }
:root { --sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.3 7 1-5 4.9 1.2 6.9L12 17.7 5.7 21l1.2-6.9-5-4.9 7-1z'/%3E%3C/svg%3E"); }

.reviews-viewport { overflow: hidden; margin-inline: -8px; padding: 8px; }
.reviews-spoor { display: flex; gap: 22px; transition: transform .55s var(--soepel); will-change: transform; }
.review {
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex; flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-l);
  background: var(--grijs-50);
  box-shadow: inset 0 0 0 1px var(--grijs-200);
  transition: transform .3s var(--soepel), box-shadow .3s var(--soepel), background .3s ease;
}
.review:hover { background: var(--wit); box-shadow: var(--schaduw); transform: translateY(-4px); }
.review-tekst { font-size: 1.01rem; color: var(--tekst); margin: 14px 0 22px; }
.review-tekst::before { content: '\201C'; }
.review-tekst::after { content: '\201D'; }
.review-voet { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blauw), var(--blauw-licht));
  color: #fff; font-weight: 700; font-size: .95rem;
}
.review-naam { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.review-meta { font-size: .82rem; color: var(--grijs-500); }

.reviews-bediening { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.reviews-punten { display: flex; gap: 8px; }
.punt {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0;
  background: var(--grijs-300); cursor: pointer;
  transition: width .3s var(--soepel), background .3s ease;
}
.punt.actief { width: 26px; background: var(--blauw); }

/* ---------- 12. CONTACT ---------- */
.contact-sectie {
  background: linear-gradient(165deg, var(--ink) 0%, #123057 60%, #1b3f74 100%);
  color: #fff;
}
.contact-sectie h2 { color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
/* Geen WhatsApp bij dit bedrijf: de chatwidget vervalt en de tekstkolom
   blijft op leesbreedte in plaats van over de volle breedte uit te lopen. */
.contact-solo { grid-template-columns: minmax(0, 1fr); max-width: 62rem; }

.contact-intro { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 30rem; }
.contact-acties { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-acties .btn-donker { --btn-bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.contact-acties .btn-donker:hover { --btn-bg: rgba(255,255,255,.2); }
.reactietijd { display: flex; align-items: center; gap: .5em; font-size: .88rem; color: rgba(255,255,255,.62); margin-top: 14px; }
.reactietijd::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }

.contact-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.info-blok h3 { color: rgba(255,255,255,.55); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9em; }
.info-blok address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.9); margin-bottom: .6em; }
.info-blok .ico-mail {
  -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1v-11c0-.6.4-1 1-1zm1.7 2L12 12.6l7.3-5.1z' /%3E%3C/svg%3E");
}

.tekstlink { color: var(--lucht); border-color: rgba(125,211,252,.35); }
.info-blok .tekstlink:hover { border-color: var(--lucht); }
/* Lange e-mailadressen mogen afbreken in plaats van de kolom op te rekken */
.email-link { display: inline-block; overflow-wrap: anywhere; line-height: 1.5; }
.tijden { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.tijden li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: rgba(255,255,255,.76); }
.tijden li.vandaag { color: #fff; font-weight: 700; }
.tijden .dicht { color: rgba(255,255,255,.42); }

/* WhatsApp-widget */
.wa-widget { perspective: 1200px; }
.wa-venster {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #0d1a16;
  box-shadow: var(--schaduw-l), inset 0 0 0 1px rgba(255,255,255,.1);
  transform: rotate(-1.2deg);
  transition: transform .4s var(--soepel), box-shadow .4s var(--soepel);
  max-width: 420px;
  margin-inline: auto;
}
.wa-venster:hover { transform: rotate(0deg) translateY(-4px); }
.wa-kop { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #1f2c33; color: #fff; }
.wa-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blauw), var(--blauw-licht));
  font-weight: 700; font-size: .9rem;
}
.wa-kop-tekst { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.wa-kop-tekst strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-kop-tekst small { font-size: .75rem; color: #86efac; }
.wa-kop-ico { color: var(--wa); width: 22px; height: 22px; }
.wa-chat {
  padding: 18px 16px;
  display: grid; gap: 10px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.03) 1px, transparent 1px) 0 0/22px 22px,
    #0b141a;
  min-height: 200px;
}
.wa-bubbel {
  max-width: 82%;
  padding: 9px 13px 7px;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.45;
  color: #e9edef;
  opacity: 0;
  transform: translateY(8px) scale(.97);
}
.wa-bubbel.in { animation: bubbelIn .42s var(--veer) both; }
@keyframes bubbelIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-bubbel.klant { justify-self: start; background: #202c33; border-top-left-radius: 4px; }
.wa-bubbel.rijschool { justify-self: end; background: #005c4b; border-top-right-radius: 4px; }
.wa-tijd { display: block; text-align: right; font-size: .66rem; color: rgba(233,237,239,.5); margin-top: 2px; }
.wa-typen { display: inline-flex; gap: 4px; padding: 4px 2px; }
.wa-typen i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233,237,239,.6); animation: typen 1.1s infinite; }
.wa-typen i:nth-child(2) { animation-delay: .16s; }
.wa-typen i:nth-child(3) { animation-delay: .32s; }
@keyframes typen { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-balk { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #1f2c33; }
.wa-invoer {
  flex: 1; padding: 9px 14px; border-radius: 999px;
  background: #2a3942; color: rgba(233,237,239,.72); font-size: .89rem;
}
.wa-verstuur {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--wa); color: #04220f;
  display: grid; place-items: center; font-size: 1rem;
}

/* ---------- 13. FOOTER ---------- */
.site-footer { background: #060f1e; color: rgba(255,255,255,.6); padding: 34px 0; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.footer-merk { margin: 0; font-weight: 700; color: #fff; }
.footer-merk .scheider { color: rgba(255,255,255,.3); margin-inline: .3em; }
.footer-links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.7); font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-klein { margin: 0; margin-left: auto; }

/* ---------- Mobiele CTA-balk ---------- */
.mobiel-balk {
  position: fixed; z-index: 70;
  inset: auto 0 0;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(11,27,51,.1), 0 -12px 30px -20px rgba(11,27,51,.5);
  transform: translateY(110%);
  transition: transform .4s var(--soepel);
}
.mobiel-balk.zichtbaar { transform: none; }
.mobiel-balk .btn { flex: 1; }

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav-list a { padding: .5em .62em; font-size: .88rem; }
  .header-cta .btn-ghost { display: none; }
  .pakketten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .nav-toggle { display: block; }
  .header-cta { display: none; }

  /* Wordmark op mobiel: nooit breder dan de ruimte naast de menuknop, en
     maximaal twee regels. Lange namen zonder spaties (Bromfiets/Motorrijschool)
     mogen daarbij middenin een woord afbreken. */
  .brand { max-width: calc(100% - 62px); }
  .brand-naam {
    font-size: 1rem;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .brand-lang  .brand-naam { font-size: .9rem; }
  .brand-xlang .brand-naam { font-size: .82rem; line-height: 1.16; }
  .nav {
    position: fixed; inset: 0 0 auto;
    padding: 92px 22px 26px;
    background: rgba(9,20,38,.97);
    backdrop-filter: blur(18px);
    transform: translateY(-102%);
    transition: transform .42s var(--soepel);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
  }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { color: rgba(255,255,255,.88); font-size: 1.08rem; padding: .75em 1em; }
  .is-gescrold .nav-list a { color: rgba(255,255,255,.88); }
  .is-gescrold .nav-list a:hover { color: #fff; background: rgba(255,255,255,.1); }

  .hero { padding-top: clamp(104px, 14vh, 132px); }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-route-kaart { left: -8px; bottom: -22px; width: min(72%, 300px); }

  .vertrouwen-grid, .contact-grid, .calculator, .matcher-kaart { grid-template-columns: 1fr; }
  .vertrouwen-zij { order: -1; }
  .vertrouwen-foto { max-width: 520px; }
  .meter-rij { grid-template-columns: 7.5rem 1fr 2.6rem; }

  .pakketten { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .review { flex: 0 0 calc((100% - 22px) / 2); }

  .instructeurs-1 { max-width: 420px; }
  .instructeurs-1 .instructeur { flex-direction: column; }
  .instructeurs-1 .instructeur-foto { width: 100%; aspect-ratio: 4/5; }
  .instructeurs-1 .instructeur-body { padding: 22px 24px 26px; }

  .matcher-kaart .sectie-kop { margin-bottom: 6px; }
}

@media (max-width: 720px) {
  /* Ruimte onder de pagina zodat de vaste CTA-balk nooit over de footer of
     de laatste sectie valt. De balk is ~68px hoog plus de veilige zone van
     telefoons met een home-indicator. */
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 26px; }
  .mobiel-balk { display: flex; }

  .sectie-kop { text-align: left; }
  .reviews-score { justify-content: flex-start; }

  /* Tijdlijn wordt verticaal */
  .tijdlijn-lijn { left: 27px; right: auto; top: 36px; bottom: 36px; width: 3px; height: auto; }
  .tijdlijn-lijn-vul { width: 100%; height: 0; transition: height .6s var(--soepel); }
  .tijdlijn-stappen { grid-auto-flow: row; grid-auto-columns: auto; gap: 4px; }
  .stap-knop { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 16px; text-align: left; padding: 8px 0; }
  .stap-bol { margin: 0; }
  .stap-detail { margin-top: 22px; }

  .review { flex: 0 0 100%; }
  .dienst-kaart { flex: 1 1 100%; }
  .prijs-tabs { justify-content: flex-start; }
  .prijs-tab { flex: 1 1 auto; justify-content: center; }

  .matcher-resultaat { grid-template-columns: 1fr; }
  .matcher-resultaat img { width: 76px; height: 76px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-klein { margin-left: 0; }

  .calc-bedrag { font-size: 3rem; }
  .stat-lijst li { padding: 14px 16px; }
}

@media (max-width: 420px) {
  .hero-acties { flex-direction: column; align-items: stretch; }
  .hero-acties .btn { width: 100%; }
  .hero-route-kaart { position: static; width: 100%; margin-top: 14px; }
  .hero-visual { display: grid; gap: 0; }
}

/* Toegankelijkheid: rustige weergave */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-foto-kaart, .hero-route-kaart { opacity: 1; transform: none; }
  .hero-usps li { opacity: 1; transform: none; }
}

/* Print: alleen het nuttige */
@media print {
  .site-header, .mobiel-balk, .reviews-bediening { display: none !important; }
  .hero, .contact-sectie, .calc-rechts, .matcher-kaart { background: #fff !important; color: #000 !important; }
}
