/* =========================================================================
   Rijschool Donatella, vormgeving voor alle pagina's
   Kleuren en lettertypes staan hieronder als variabelen.
   ========================================================================= */

:root {
  --roze: #D61F69;
  --roze-licht: #FF7FB0;
  --roze-donker: #8A0F3E;
  --blauw: #1565D8;
  --blauw-licht: #8DB8FF;
  --nacht: #14163A;
  --geel: #FFC94D;
  --blush: #FFF3F7;
  --ijs: #EEF4FE;
  --creme: #FFF7E3;
  --grijs: #4B4F6B;
  --grijs-licht: #C9CBE0;
  --lijn: #ECE3EA;
  --kop: 'Archivo', system-ui, sans-serif;
  --tekst: 'Inter', system-ui, sans-serif;
  --hand: 'Pacifico', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--tekst); font-size: 17px; line-height: 1.6; color: var(--nacht); background: var(--nacht); }
img { max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .88; }
h1, h2, h3 { font-family: var(--kop); font-weight: 800; margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0; }
.roze { color: var(--roze); }
.eyebrow { font-size: 13px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: var(--roze); }
.eyebrow.blauw { color: var(--blauw); }
.eyebrow.licht { color: var(--roze-licht); }
.h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: 19px; color: var(--grijs); }
.muted { color: var(--grijs); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.kop-rij { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* Secties */
.sec { padding: 96px 0; }
.sec-kop { padding: 64px 0 72px; }
.bg-wit { background: #FFFFFF; }
.bg-blush { background: var(--blush); }
.bg-ijs { background: var(--ijs); }
.bg-creme { background: var(--creme); }
.bg-nacht { background: var(--nacht); color: #FFFFFF; }
.bg-roze { background: var(--roze); color: #FFFFFF; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-roze { background: var(--roze); color: #FFFFFF; box-shadow: 0 10px 24px rgba(214,31,105,.25); }
.btn-wit { background: #FFFFFF; color: var(--roze); }
.btn-nacht { background: var(--nacht); color: #FFFFFF; }
.btn-rand { background: #FFFFFF; color: var(--nacht); border: 2px solid var(--nacht); padding: 12px 24px; }
.btn-klein { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Kop van de site */
.site-kop { background: #FFFFFF; border-bottom: 1px solid #F3D3E0; position: sticky; top: 0; z-index: 50; }
.site-kop .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { display: block; height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 4px 0; }
.nav a[aria-current="page"] { color: var(--roze); font-weight: 700; border-bottom: 2px solid var(--roze); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; background: var(--roze); color: #FFFFFF; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; min-height: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 54px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 20px 40px rgba(20,22,58,.22); padding: 10px; display: flex; flex-direction: column; min-width: 240px; font-size: 16px; }
.menu nav a { text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.menu nav a[aria-current="page"] { background: var(--blush); color: var(--roze); font-weight: 700; }
.menu nav .btn { margin-top: 6px; }

/* Paginakop (subpagina's) */
.paginakop p { max-width: 680px; }

/* Kaarten */
.kaart { border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.kaart h3 { font-size: 20px; font-weight: 700; }
.kaart p { color: var(--grijs); font-size: 16px; }
.icoon { width: 52px; height: 52px; border-radius: 16px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; }
.icoon svg { width: 24px; height: 24px; }
.wit-kaart { background: #FFFFFF; border-radius: 22px; padding: 22px; }
.schaduw { box-shadow: 0 8px 28px rgba(20,22,58,.08); }

/* Sterren */
.sterren { display: inline-flex; gap: 2px; color: #F5A300; }
.sterren svg { width: 17px; height: 17px; }

/* Home */
.hero { overflow: hidden; }
.hero .split { padding-top: 72px; padding-bottom: 88px; gap: 64px; }
.badge { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border-radius: 18px; padding: 14px 20px; box-shadow: 0 8px 28px rgba(20,22,58,.08); text-decoration: none; }
.badge .g { width: 44px; height: 44px; border-radius: 999px; background: #E8F0FD; color: var(--blauw); display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-weight: 800; font-size: 20px; }
.illustratie { position: relative; padding: 36px 20px 40px; }
.illustratie .achter { position: absolute; inset: 12px 30px 20px 10px; border-radius: 36px; background: var(--roze); transform: rotate(-4deg); }
.leskaart { position: relative; background: #FFFFFF; border-radius: 26px; padding: 28px; box-shadow: 0 24px 48px rgba(20,22,58,.22); display: flex; flex-direction: column; gap: 16px; max-width: 400px; margin: 0 auto; }
.vaardigheid { display: flex; flex-direction: column; gap: 6px; }
.vaardigheid .label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.balk { height: 10px; border-radius: 999px; background: #F1F1F8; overflow: hidden; }
.balk span { display: block; height: 10px; border-radius: 999px; }
.lbord { position: absolute; top: 0; right: 4px; width: 78px; height: 78px; border-radius: 14px; background: var(--blauw); border: 4px solid #FFFFFF; box-shadow: 0 10px 24px rgba(21,101,216,.35); transform: rotate(10deg); display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-weight: 800; font-size: 50px; color: #FFFFFF; }
.sticker { position: absolute; left: -6px; bottom: 6px; background: var(--geel); color: var(--nacht); border-radius: 999px; padding: 12px 26px; box-shadow: 0 14px 30px rgba(20,22,58,.25); transform: rotate(-6deg); font-family: var(--hand); font-size: 30px; line-height: 1.2; }
.quote { position: absolute; right: -4px; bottom: -44px; margin: 0; background: var(--nacht); color: #FFFFFF; border-radius: 18px; padding: 14px 18px; max-width: 230px; box-shadow: 0 14px 30px rgba(20,22,58,.3); transform: rotate(3deg); }
.quote blockquote { margin: 0; font-size: 14px; line-height: 1.4; }
.quote figcaption { font-size: 12px; color: var(--grijs-licht); margin-top: 4px; }

/* Werkwijze */
.stappen { position: relative; display: flex; flex-direction: column; gap: 28px; }
.stappen::before { content: ""; position: absolute; left: 54px; top: 32px; bottom: 32px; border-left: 3px dashed #E7A9C2; }
.stap { position: relative; display: flex; gap: 28px; align-items: flex-start; }
.stap .nr { flex: none; width: 64px; height: 64px; border-radius: 999px; color: #FFFFFF; border: 6px solid #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-weight: 800; font-size: 20px; }
.stap .inhoud { flex: 1 1 auto; min-width: 0; border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.stap h2 { font-size: 26px; }
.stap .tag { font-size: 13px; font-weight: 700; background: #FFFFFF; padding: 4px 12px; border-radius: 999px; font-family: var(--tekst); }
.stap p { color: var(--grijs); max-width: 780px; }

/* Tarieven */
.actie-wrap { position: relative; padding: 18px 10px 10px; flex: 0 1 430px !important; }
.actie-wrap .achter { position: absolute; inset: 30px 0 0 24px; border-radius: 30px; background: var(--blauw); transform: rotate(4deg); }
.actie { position: relative; background: var(--roze); color: #FFFFFF; border-radius: 30px; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 24px 48px rgba(214,31,105,.35); }
.actie .boven { padding: 28px 30px 22px; display: flex; flex-direction: column; gap: 6px; }
.actie .scheur { border-top: 3px dashed rgba(255,255,255,.55); margin: 0 26px; }
.actie ul { margin: 0; padding: 20px 30px 8px; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.actie li { display: flex; gap: 10px; }
.actie li::before { content: "✓"; color: var(--geel); font-weight: 800; }
.actie .onder { padding: 14px 30px 28px; }
.actie .onder .btn { width: 100%; }
.actie-sticker { position: absolute; top: 0; right: 0; width: 88px; height: 88px; border-radius: 999px; background: var(--geel); color: var(--nacht); transform: rotate(12deg); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(20,22,58,.25); font-family: var(--kop); font-weight: 800; font-size: 12px; line-height: 1.1; text-align: center; }
.prijs-xl { font-family: var(--kop); font-weight: 800; font-size: 60px; line-height: 1; }
.chip { background: #FFFFFF; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.stip { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }

.pakket { border-radius: 26px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.pakket .titel { min-height: 92px; }
.pakket .letter { font-size: 13px; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.pakket .naam { font-family: var(--kop); font-weight: 800; font-size: 28px; line-height: 1.15; }
.pakket .sub { font-size: 14px; opacity: .9; }
.pakket .prijs { font-family: var(--kop); font-weight: 800; font-size: 48px; line-height: 1; }
.pakket hr { border: 0; height: 1px; margin: 0; background: currentColor; opacity: .2; }
.pakket ul, .pk-lijst ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pakket li, .pk-lijst li { display: flex; gap: 10px; }
.pakket li::before, .pk-lijst li::before { content: "✓"; font-weight: 800; }
.pakket li.optie, .pk-lijst li.optie { opacity: .9; }
.pakket li.optie::before, .pk-lijst li.optie::before { content: "+"; }
.pakket .btn { margin-top: auto; background: #FFFFFF; }
.p-geel { background: var(--geel); color: var(--nacht); }
.p-geel .btn { color: var(--nacht); }
.p-roze { background: var(--roze); color: #FFFFFF; }
.p-roze .btn { color: var(--roze); }
.p-blauw { background: var(--blauw); color: #FFFFFF; }
.p-blauw .btn { color: var(--blauw); }
.p-nacht { background: var(--nacht); color: #FFFFFF; }
.p-nacht .btn { color: var(--nacht); }

.pk-mobiel { display: none; flex-direction: column; gap: 10px; }
.pk { border-radius: 18px; overflow: hidden; }
.pk summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 12px; min-height: 64px; }
.pk summary::-webkit-details-marker { display: none; }
.pk .links { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.pk .klein { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.pk .naam { font-family: var(--kop); font-weight: 800; font-size: 19px; }
.pk .prijs { flex: none; font-family: var(--kop); font-weight: 800; font-size: 24px; white-space: nowrap; }
.pk .pijl { flex: none; font-size: 22px; font-weight: 800; opacity: .85; transition: transform .2s; }
.pk[open] .pijl { transform: rotate(90deg); }
.pk-lijst { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pk-lijst .btn { background: #FFFFFF; min-height: 48px; }

.herexamen { margin-top: 20px; background: var(--ijs); border-radius: 26px; padding: 30px 32px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.herexamen .bedrag { font-family: var(--kop); font-weight: 800; font-size: 52px; color: var(--blauw); }

.prijslijst { background: var(--nacht); color: #FFFFFF; border-radius: 32px; padding: 56px clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.prijslijst .groepen { display: grid; gap: 24px 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.prijslijst h3 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.prijslijst h3 span { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.regel { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.1); }
.regel .wat { flex: 0 1 auto; min-width: 0; }
.regel .wat b { display: block; font-weight: 600; font-size: 16px; }
.regel .wat small { display: block; font-size: 13px; color: #A9ACC8; }
.regel .stippels { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(255,255,255,.22); }
.regel .bedrag { flex: none; white-space: nowrap; font-family: var(--kop); font-weight: 700; font-size: 18px; }

.termijn { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: space-between; background: #FFFFFF; border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.iban { background: #FFFFFF; border-radius: 16px; padding: 18px 20px; }
.iban b { display: block; font-family: var(--kop); font-weight: 800; font-size: clamp(17px, 5vw, 24px); letter-spacing: .02em; white-space: nowrap; }

/* Over ons */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { border-radius: 22px; padding: 22px; background: #FFFFFF; }
.stat > b { display: block; font-family: var(--kop); font-weight: 800; font-size: 42px; line-height: 1; }
.stat > span { display: block; font-size: 14px; margin-top: 6px; }
.vergelijk { background: #FFFFFF; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 30px rgba(214,31,105,.1); }
.vergelijk .kop { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; font-weight: 800; }
.tijdbalk { display: flex; gap: 4px; height: 44px; font-size: 13px; font-weight: 700; }
.tijdbalk > div { display: flex; align-items: center; justify-content: center; text-align: center; }
.tijd-jij { background: var(--roze); color: #FFFFFF; }
.tijd-weg { border: 2px dashed #E7A9C2; background: var(--blush); color: var(--roze-donker); }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; }
.legenda span { display: flex; align-items: center; gap: 8px; }
.legenda i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.review { margin: 0; background: #FFFFFF; border: 1px solid var(--lijn); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; border-top-width: 6px; }
.review blockquote { margin: 0; color: #2C2F52; flex-grow: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grijs); }
.review .av { width: 34px; height: 34px; border-radius: 999px; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Info */
.linkkaart { text-decoration: none; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.linkkaart .titel { font-family: var(--kop); font-size: 22px; font-weight: 800; line-height: 1.2; }
.linkkaart .tekst { color: var(--grijs); font-size: 16px; flex-grow: 1; }
.linkkaart .ga { font-weight: 700; }

/* Contact */
.contactkaart { text-decoration: none; background: #FFFFFF; border-radius: 18px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.contactkaart small { display: block; font-size: 13px; color: var(--grijs); }
.formulier { background: #FFFFFF; border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 48px rgba(20,22,58,.1); }
.formulier label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.formulier input, .formulier select, .formulier textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #D5D6E3; border-radius: 12px; background: #FAFAFD; min-height: 48px; color: var(--nacht); width: 100%; }
.formulier textarea { resize: vertical; min-height: 120px; }
.formulier .twee { display: flex; flex-wrap: wrap; gap: 16px; }
.formulier .twee label { flex: 1 1 180px; }
.formulier .verborgen { display: none; }
.formulier .klein { font-size: 13px; color: var(--grijs); }
.uren { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }

/* Afsluitende balk en voet */
.cta .inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 72px 24px; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.voet { background: var(--nacht); color: var(--grijs-licht); font-size: 14px; }
.voet .boven { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; padding: 48px 24px 24px; }
.voet .merk { display: flex; flex-direction: column; gap: 14px; flex: 1 1 280px; }
.voet .merk img { height: 40px; width: auto; align-self: flex-start; }
.voet nav { display: flex; flex-direction: column; gap: 8px; }
.voet nav a { text-decoration: none; }
.voet .onder { padding-top: 18px; padding-bottom: 28px; }
.voet .onder span { display: block; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }

/* Telefoon */
@media (max-width: 860px) {
  .nav, .kop-knop { display: none !important; }
  .menu { display: block; }
  .logo img { height: 30px; }
  .site-kop .inner { min-height: 64px; }
  .sec { padding: 72px 0; }
  .quote { display: none; }
  .stap { gap: 14px; }
  .stap .inhoud { padding: 20px; }
  .actie-sticker { width: 74px; height: 74px; font-size: 11px; }
  .pk-desktop { display: none !important; }
  .pk-mobiel { display: flex; }
  .kaart, .formulier { padding: 24px !important; }
  .actie-chip { display: none; }
  .stappen::before { left: 54px; }
}

/* Logo als WebP met PNG als reserve */
.logo picture, .voet .merk picture { display: block; }
.voet .merk picture { align-self: flex-start; }

/* Veelgestelde vragen */
.faq { display: flex; flex-direction: column; gap: 12px; }
.vraag { background: #FFFFFF; border-radius: 18px; box-shadow: 0 6px 20px rgba(20,22,58,.06); }
.vraag summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.vraag summary::-webkit-details-marker { display: none; }
.vraag summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px; background: var(--blush); color: var(--roze); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.vraag[open] summary::after { content: "×"; background: var(--roze); color: #FFFFFF; }
.vraag p { padding: 0 22px 20px; color: var(--grijs); font-size: 16px; }
.vraag p a { color: var(--roze); font-weight: 600; }

/* Lange woorden (zoals het mailadres) netjes afbreken op smalle schermen */
main, .voet { overflow-wrap: break-word; }
.contactkaart > span:last-child { min-width: 0; }
.contactkaart b, main a[href^="mailto:"], .voet a[href^="mailto:"] { overflow-wrap: anywhere; }
