@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Sora:wght@600;700&display=swap');

/* Verkeersschool Flammeus. Colours from their own material, see ../BRAND.md:
   #2162d8 blue of their logo (logo-flameus.png), #1b2230 navy of the current lesson car,
   #c7e63d yellow-green striping on that car (only small, on dark). Neutrals are tints of the navy.
   Fonts Sora (headings) + Open Sans (body, the text font of their own WordPress theme). */
:root {
  --blue: #2162d8;
  --blue-dk: #184da9;
  --navy: #1b2230;
  --navy-2: #252e40;
  --lime: #c7e63d;
  --ink: #20242b;
  --text: #2d333d;
  --muted: #5b6270;
  --line: #d9dce2;
  --paper: #fff;
  --soft: #f4f5f2;
  --wrap: 1180px;
  --r: 4px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 'Open Sans', system-ui, sans-serif; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: Sora, 'Open Sans', sans-serif; font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--lime); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: var(--r); background: var(--blue); color: #fff; border: 1px solid var(--blue); font: 600 15px/1.2 'Open Sans', sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--blue-dk); border-color: var(--blue-dk); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #9aa1ad; }
.btn.ghost:hover { background: var(--soft); }
.on-dark .btn { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.on-dark .btn:hover { background: #b5d42f; border-color: #b5d42f; }
.on-dark .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.on-dark .btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 56px; height: auto; }
.brand strong { display: block; font: 700 17px/1.15 Sora, sans-serif; letter-spacing: -.01em; }
.brand small { display: block; font-size: 13px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--text); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--blue); }
.nav-link[aria-current="page"] { border-bottom-color: var(--blue); color: var(--ink); }
.menu-btn { display: none; }

/* Hero */
.hero { background: var(--soft); padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .btn-row { margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue); }
.hero-photo { margin: 0; justify-self: end; max-width: 460px; width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 26px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font: 600 1.15rem/1.3 Sora, sans-serif; color: var(--ink); }
.facts span { font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Register list (Mobbin REFS 1) */
.register { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.register li { border-bottom: 1px solid var(--line); }
.register a { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 24px; align-items: center; min-height: 76px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.register .desc { font-size: 14px; color: var(--muted); }
.register .name { font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 Sora, sans-serif; letter-spacing: -.01em; }
.register .name small { font: 500 15px 'Open Sans', sans-serif; color: var(--blue); margin-left: 10px; letter-spacing: 0; }
.register svg { width: 22px; height: 22px; color: var(--blue); transition: transform .15s; }
.register a:hover .name { color: var(--blue); }
.register a:hover svg { transform: translateX(4px); }

/* Split: photo + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > figure { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--r); }
.rows { list-style: none; margin: 20px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows svg { width: 18px; height: 18px; color: var(--blue); flex: none; transform: translateY(3px); }
.on-dark .rows { border-color: rgba(255,255,255,.18); }
.on-dark .rows li { border-color: rgba(255,255,255,.18); }
.on-dark .rows svg { color: var(--lime); }

/* Dark band: reviews */
.on-dark { background: var(--navy); color: #d6dae2; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.reviews-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }
.quotes { list-style: none; margin: 8px 0 32px; padding: 0; }
.quotes li { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.18); }
.quotes li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.quotes blockquote { margin: 0; }
.quotes p { font-size: 1.12rem; color: #fff; margin-bottom: .6em; }
.quotes cite { font-style: normal; font-size: 15px; color: #aeb5c2; }
.reviews-photo { margin: 0; }
.reviews-photo img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.reviews-photo figcaption { font-size: 14px; color: #aeb5c2; margin-top: 10px; }

/* CTA */
.cta { text-align: center; }
.cta p { max-width: 560px; margin-inline: auto; color: var(--muted); }
.cta .btn-row { justify-content: center; margin-top: 24px; }

/* Page head (subpages) */
.page-head { background: var(--soft); padding: 52px 0 56px; }
.page-head-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-head figure { margin: 0; justify-self: end; width: 100%; max-width: 520px; }
.page-head figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.page-head .btn-row { margin-top: 24px; }

/* Course blocks */
.course { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.course:last-child { border-bottom: 1px solid var(--line); }
.course h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.course .price { display: block; margin-top: 10px; font: 600 1.05rem 'Open Sans', sans-serif; color: var(--blue); }
.course .body p { max-width: 62ch; text-wrap: pretty; }
.course .body p:last-child { margin-bottom: 0; }
.course .body .btn-row { margin-top: 20px; }
.course .partner { margin-top: 18px; width: 200px; border-radius: var(--r); }
.steps { list-style: none; margin: 0 0 1em; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps strong { color: var(--ink); }

/* Price tables */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.price-list { margin: 0; border-top: 1px solid var(--line); }
.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list dt { color: var(--text); }
.price-list dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pkg h3 { margin-bottom: 4px; }
.pkg > p { color: var(--muted); font-size: 15px; }
.pkg table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pkg th, .pkg td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); }
.pkg thead th { font-size: 14px; font-weight: 500; color: var(--muted); border-top: 1px solid var(--line); }
.pkg td:last-child, .pkg th:last-child { text-align: right; padding-right: 0; }
.pkg tbody th { font-weight: 600; color: var(--ink); }
.pkg .tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--r); background: var(--navy); color: var(--lime); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.pkg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Over ons */
.split-top { align-items: start; }
.duo.stack { grid-template-columns: 1fr; }
.duo.stack img { aspect-ratio: 3/2; }
.band { margin: 0; }
.band img { width: 100%; aspect-ratio: 21/7; object-fit: cover; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.review-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.review-list li { break-inside: avoid; padding: 22px 0; border-top: 1px solid var(--line); }
.review-list blockquote { margin: 0; }
.review-list blockquote p { text-wrap: pretty; }
.review-list p { margin-bottom: .5em; }
.review-list cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.kv { margin: 0 0 28px; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.kv dd { margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials svg { width: 20px; height: 20px; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #b9bec8; border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--r); background: #e8effc; color: var(--ink); border: 1px solid #b7cbf3; }
.form-ok.show { display: block; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.map-block { margin-top: 0; padding: 28px; background: var(--soft); border-radius: var(--r); }
.map-block p { margin-bottom: 14px; }

/* Footer */
.site-footer { background: var(--navy); color: #c3c8d2; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr .8fr; gap: 40px; }
.foot-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 700 17px Sora, sans-serif; margin-bottom: 14px; }
.foot-logo img { width: 52px; background: #fff; border-radius: 50%; }
.site-footer h2 { font: 500 13px 'Open Sans', sans-serif; color: #8f97a6; margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; color: #8f97a6; }
.callbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Tablet */
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
  .menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ''; }
  .menu-btn > span:first-child::before { position: absolute; top: -6px; }
  .menu-btn > span:first-child::after { position: absolute; top: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero-in, .split, .reviews-in, .page-head-in, .contact-grid, .prices, .pkg-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > figure { order: 0; }
  .hero-photo, .page-head figure { justify-self: stretch; max-width: none; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .course { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .reviews-photo { max-width: 420px; }
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .section { padding: 60px 0; }
  .hero { padding: 32px 0 44px; }
  .page-head { padding: 32px 0 40px; }
  .brand small { display: none; }
  .brand img { width: 46px; }
  .register a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .register .desc { grid-column: 1; grid-row: 1; }
  .register .name { grid-column: 1; grid-row: 2; }
  .register svg { grid-column: 2; grid-row: 1 / span 2; }
  .register .name small { display: block; margin: 2px 0 0; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 16px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .review-list { columns: 1; }
  .duo, .two { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 2px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .band img { aspect-ratio: 16/7; }
  .hero-photo img { aspect-ratio: 1/1; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fff; text-decoration: none; font-weight: 600; }
  .callbar a:first-child { background: var(--lime); color: var(--navy); }
  .callbar svg { width: 20px; height: 20px; }
}
