:root {
  --navy: #0f2d55;
  --navy-2: #0b2244;
  --groen: #22a447;
  --groen-d: #1a8a3a;
  --groen-bg: #e8f6ec;
  --geel: #fbbf24;
  --geel-bg: #fff8e6;
  --rood: #c62828;
  --rood-bg: #fdecea;
  --grijs: #94a3b8;
  --bg: #f6f8fb;
  --card: #ffffff;
  --tekst: #13213a;
  --muted: #55627a;
  --rand: #e2e8f0;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--tekst); line-height: 1.65; font-size: 17px; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--groen-d); }
h1, h2, h3, .h4 { color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 44px 0 12px; }
h3 { font-size: 1.15rem; margin: 22px 0 6px; }
.h4 { font-size: 1rem; margin: 0 0 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.smal { max-width: 780px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--rand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-tekst { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.01em; }
.logo-tekst .g { color: var(--groen); }
.site-header { position: relative; z-index: 20; }
.site-nav { display: flex; gap: 10px; align-items: center; }
.site-nav .btn { padding: 9px 18px; font-size: .95rem; }
.btn-menu { background: #fff; color: var(--navy); border: 2px solid var(--navy); list-style: none; user-select: none; }
.btn-menu::-webkit-details-marker { display: none; }
.btn-menu:hover { background: var(--navy); color: #fff; }
.menu[open] .btn-menu { background: var(--navy); color: #fff; }
.menu[open] .pijl { display: inline-block; transform: rotate(180deg); }
.btn-inloggen { background: var(--groen); }
.btn-inloggen:hover { background: var(--groen-d); }
.menu-paneel { position: absolute; right: 16px; top: calc(100% - 6px); width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(15,45,85,.18); padding: 8px; }
.menu-cat > summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--navy); padding: 11px 14px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
.menu-cat > summary::-webkit-details-marker { display: none; }
.menu-cat > summary::after { content: "›"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .15s; }
.menu-cat[open] > summary { background: var(--groen-bg); }
.menu-cat[open] > summary::after { transform: rotate(90deg); color: var(--groen-d); }
.menu-cat > summary:hover { background: var(--bg); }
.menu-cat ul { list-style: none; margin: 4px 0 8px; padding: 0 0 0 14px; }
.menu-cat li a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--tekst); text-decoration: none; font-size: .95rem; border-left: 2px solid var(--rand); }
.menu-cat li a:hover { background: var(--bg); color: var(--groen-d); border-left-color: var(--groen); }
.menu-cat .menu-alle { font-weight: 700; color: var(--navy); }
.btn-inloggen { display: inline-flex; align-items: center; gap: 6px; }
.inlog-icoon { display: none; }
@media (max-width: 560px) {
  .site-header .wrap { min-height: 60px; gap: 10px; }
  .logo { gap: 6px; min-width: 0; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-tekst { font-size: .98rem; white-space: nowrap; }

  .site-nav { gap: 8px; flex-shrink: 0; }
  .site-nav .btn-menu { padding: 8px 12px; font-size: .88rem; border-width: 2px; }
  .btn-inloggen { width: 40px; height: 40px; padding: 0 !important; justify-content: center; border-radius: 50%; }
  .btn-inloggen .btn-tekst { display: none; }
  .inlog-icoon { display: block; }
  .menu-paneel { left: 16px; right: 16px; width: auto; top: 100%; }
}
@media (max-width: 340px) { .logo-tekst { display: none; } }

/* Knoppen */
.btn { display: inline-block; background: var(--navy); color: #fff; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; text-align: center; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-groen { background: var(--groen); }
.btn-groen:hover { background: var(--groen-d); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #164178 60%, #1d5296 100%); color: #fff; padding: 48px 0 0; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.cirkel { position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.c1 { width: 520px; height: 520px; left: -200px; bottom: -260px; }
.c2 { width: 360px; height: 360px; right: -90px; top: -150px; background: rgba(255,255,255,.09); }
.c3 { width: 180px; height: 180px; right: 34%; top: -70px; background: rgba(34,164,71,.18); }
.boog { position: absolute; right: -40px; top: -30px; width: 440px; height: 440px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: end; }
.hero-tekst { padding-bottom: 92px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); margin: 18px 0 10px; }
.hero-sub { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 700; color: var(--geel); margin: 0 0 14px !important; }
.hero p { font-size: 1.08rem; max-width: 620px; margin: 0 0 26px; opacity: .95; }
.hero-label { display: inline-block; background: var(--groen-bg); color: var(--groen-d); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; }
.btn-groot { padding: 15px 30px; font-size: 1.05rem; box-shadow: 0 8px 22px rgba(34,164,71,.35); }
.hero-beeld { position: relative; display: flex; justify-content: center; align-self: end; }
.hero-boog { width: min(400px, 100%); aspect-ratio: 4 / 4.6; background: #fff; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 0 0 10px rgba(255,255,255,.12); }
.hero-boog { display: flex; align-items: flex-end; }
.hero-boog img { width: 100%; height: auto; display: block; }
.hero-badge { position: absolute; left: -70px; top: 52%; z-index: 2; }
.usp-balk { position: relative; z-index: 3; list-style: none; margin: -46px 0 0; padding: 22px; background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgba(11,34,68,.14); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp-balk li { display: flex; gap: 14px; align-items: flex-start; }
.usp-balk strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 2px; }
.usp-balk li > span:last-child > span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }
.usp-icoon { width: 52px; height: 52px; border-radius: 50%; background: var(--groen-bg); color: var(--groen-d); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usp-icoon svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .usp-balk { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tekst { padding-bottom: 0; }
  .hero-beeld { margin-top: 10px; }
  .hero-boog { width: min(300px, 80%); }
  .hero-beeld { flex-direction: column; align-items: center; gap: 18px; }
  .hero-badge { position: static; }
  .boog { width: 260px; height: 260px; }
  .usp-balk { grid-template-columns: 1fr; margin-top: -24px; }
}

/* Kruimelpad */
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 18px 0 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* Cursuspagina */
.cursus-kop { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 26px; }
.lead { font-size: 1.08rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 14px 0 0; }
.facts li { background: var(--groen-bg); color: var(--groen-d); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; }
.meta { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }
.toc { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px 22px; margin-top: 24px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; }
.cursus section { scroll-margin-top: 16px; }
.vinkjes { list-style: none; padding: 0; }
.vinkjes li { position: relative; padding-left: 30px; margin: 10px 0; }
.vinkjes li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--groen); color: #fff; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.voorbeeld { background: #fff; border: 1px dashed var(--grijs); border-radius: var(--radius); padding: 20px; margin-top: 18px; }
.voorbeeld ul { list-style: none; padding: 0; margin: 10px 0 18px; }
.voorbeeld li { border: 1px solid var(--rand); border-radius: 8px; padding: 9px 12px; margin: 6px 0; display: flex; gap: 10px; }
.voorbeeld li span { font-weight: 700; color: var(--navy); }
.voorbeeld-vraag { font-weight: 700; margin: 4px 0; }
.label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--groen-d); margin: 0; }
.tabel-wrap { overflow-x: auto; }
.feiten { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rand); }
.feiten th, .feiten td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.feiten th { width: 32%; color: var(--navy); background: #f9fbfd; }
.feiten tr:last-child th, .feiten tr:last-child td { border-bottom: 0; }

/* Startformulier */
.startbox { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; margin-top: 24px; scroll-margin-top: 16px; }
.startbox h2 { color: #fff; margin: 0 0 6px; }
.startbox p { margin: 0 0 14px; opacity: .95; }
.startbox a { color: #fff; }
.startform-rij { display: flex; gap: 10px; flex-wrap: wrap; }
.startform input[type=email] { flex: 1 1 240px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 2px solid transparent; font-size: 1rem; font-family: inherit; }
.startform input[type=email]:focus { outline: none; border-color: var(--geel); }
.startform .btn { flex: 0 0 auto; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; margin-top: 12px; opacity: .95; cursor: pointer; }
.check input { margin-top: 5px; }
.form-melding { margin: 10px 0 0 !important; font-weight: 600; }
.form-melding.fout { color: #ffd2d2; }
.startbox.verstuurd .startform { display: none; }
.bevestiging { background: #fff; color: var(--tekst); border-radius: 10px; padding: 16px 18px; }
.bevestiging strong { color: var(--groen-d); }
.usp { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 14px 0 0; font-size: .9rem; }
.usp li::before { content: "✓ "; color: var(--geel); font-weight: 800; }
.privacy-noot { font-size: .8rem; margin: 10px 0 0 !important; opacity: .8 !important; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 5; background: var(--groen); color: #fff; text-align: center; padding: 14px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(15,45,85,.3); }
  body:has(.sticky-cta) { padding-bottom: 76px; }
}

/* Kaarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--tekst); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--groen); transform: translateY(-2px); color: var(--tekst); }
.card-titel { font-weight: 800; color: var(--navy); font-size: 1.08rem; }
.card-tekst { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { color: var(--groen-d); font-weight: 700; margin-top: 8px; }
.cat-kop { margin-top: 30px; }
.cat-kop a { text-decoration: none; }
.stappen { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.stappen li { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px; counter-increment: s; display: flex; flex-direction: column; gap: 4px; }
.stappen li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--groen); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.stappen span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Tekstpagina's */
.tekst { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 26px; margin: 10px 0 40px; }
.tekst h2 { margin-top: 26px; }

/* Toets */
.laden { text-align: center; padding: 60px 0; color: var(--muted); }
.toets-kop { margin: 26px 0 10px; }
.voortgang { height: 8px; background: var(--rand); border-radius: 999px; overflow: hidden; margin: 10px 0 20px; }
.voortgang span { display: block; height: 100%; background: var(--groen); width: 0; transition: width .2s; }
.vraag { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px; margin: 0 0 14px; }
.vraag legend { font-weight: 700; padding: 0; margin-bottom: 8px; color: var(--navy); float: left; width: 100%; }
.vraag legend + * { clear: both; }
.optie { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--rand); border-radius: 10px; margin: 8px 0; cursor: pointer; }
.optie:hover { border-color: var(--groen); }
.optie input { margin-top: 5px; accent-color: var(--groen); }
.optie:has(input:checked) { border-color: var(--groen); background: var(--groen-bg); }
.toets-acties { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.toets-acties .hint { color: var(--muted); font-size: .9rem; }

/* Resultaat */
.score-kaart { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 24px; margin-top: 26px; text-align: center; }
.score-getal { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 10px 0; }
.score-kaart.geslaagd { border: 2px solid var(--groen); }
.score-kaart.gezakt { border: 2px solid var(--geel); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.badge.ok { background: var(--groen-bg); color: var(--groen-d); }
.badge.nok { background: var(--geel-bg); color: #8a5a00; }
.aanbod { background: var(--geel-bg); border: 2px solid var(--geel); border-radius: var(--radius); padding: 24px; margin-top: 18px; }
.aanbod h2 { margin: 0 0 8px; }
.aanbod .code { display: inline-block; background: #fff; border: 2px dashed var(--navy); border-radius: 8px; padding: 4px 12px; font-weight: 800; letter-spacing: .08em; }
.aanbod .aftellen { font-weight: 700; color: var(--navy); }
.res-vraag { background: #fff; border: 1px solid var(--rand); border-left: 6px solid var(--groen); border-radius: var(--radius); padding: 18px 20px; margin: 12px 0; }
.res-vraag.fout { border-left-color: var(--rood); }
.res-vraag h3 { margin: 0 0 8px; font-size: 1.02rem; }
.res-vraag ul { list-style: none; padding: 0; margin: 0 0 10px; }
.res-vraag li { padding: 7px 11px; border-radius: 8px; margin: 4px 0; border: 1px solid var(--rand); font-size: .96rem; }
.res-vraag li.juist { background: var(--groen-bg); border-color: var(--groen); }
.res-vraag li.gekozen-fout { background: var(--rood-bg); border-color: var(--rood); }
.res-vraag .tag { font-size: .75rem; font-weight: 800; margin-left: 6px; }
.uitleg { background: var(--bg); border-left: 4px solid var(--navy); border-radius: 4px; padding: 10px 12px; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-2); color: #c7d2e3; padding: 40px 0 28px; font-size: .92rem; margin-top: 56px; }
.site-footer a { color: #e5ecf6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-intro { margin: 6px 0 22px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; }
.site-footer .h4, .site-footer .h4 a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.small { font-size: .8rem; color: #93a3bd; margin-top: 28px; }

/* Google-badge en reviews */
.g-badge { position: relative; display: inline-flex; align-items: center; gap: 16px; background: #fff; color: var(--tekst); border-radius: 16px; padding: 14px 22px 14px 16px; text-decoration: none; box-shadow: 0 10px 30px rgba(11,34,68,.22), 0 1px 0 rgba(255,255,255,.6) inset; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.g-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(11,34,68,.28); color: var(--tekst); }
.g-badge:hover .g-pijl { transform: translateX(4px); }
.g-badge-icoon { width: 54px; height: 54px; border-radius: 50%; background: #f1f3f4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.g-badge-icoon .g-icoon { width: 30px; height: 30px; }
.g-badge-tekst { display: flex; flex-direction: column; gap: 3px; }
.g-badge-kop { display: flex; align-items: baseline; gap: 6px; }
.g-badge-label { font-size: .95rem; font-weight: 600; color: #5f6368; }
.g-logo { font-family: "Product Sans", Arial, sans-serif; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; }
.g-logo b { font-weight: 500; }
.g-rij { display: flex; align-items: center; gap: 8px; }
.g-score { font-size: 1.65rem; font-weight: 800; color: #202124; line-height: 1; }
.g-badge .sterren { font-size: 1.25rem; }
.g-aantal { font-size: .85rem; color: #5f6368; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.g-pijl { color: #1a73e8; transition: transform .18s ease; }
.sterren { position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; }
.sterren-leeg { color: #dadce0; }
.sterren-vol { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #fbbc04; }
.reviews-kop { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.reviews-kop h1 { margin-bottom: 6px; }
.reviews-kop .lead { margin: 0; max-width: 620px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.review { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 1px 4px rgba(15,45,85,.08); display: flex; flex-direction: column; gap: 10px; }
.review header { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.review-wie { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review-wie strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-wie time { font-size: .82rem; color: var(--muted); }
.g-icoon { width: 22px; height: 22px; flex-shrink: 0; }
.review-sterren { display: flex; align-items: center; gap: 6px; }
.review-sterren .sterren { font-size: 1.05rem; }
.geverifieerd { width: 16px; height: 16px; }
.review-tekst { margin: 0; font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-tekst.open { -webkit-line-clamp: unset; display: block; }
.lees-meer { align-self: flex-end; background: none; border: 0; color: #1a73e8; font: inherit; font-size: .85rem; cursor: pointer; padding: 0; }
.reviews-meer { text-align: center; margin-top: 24px; }
.reviews-cta { margin-top: 40px; }

/* Startknop op de pagina + pop-up met formulier */
.start-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.start-cta h2 { margin: 0 0 4px; }
.start-cta .usp { margin: 6px 0 0; }
.start-cta .btn-groot { flex-shrink: 0; }
.start-dialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; }
.start-dialog::backdrop { background: rgba(11,34,68,.6); backdrop-filter: blur(3px); }
.start-dialog[open] { animation: dialoogIn .18s ease-out; }
@keyframes dialoogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.start-dialog .startbox { margin: 0; position: relative; padding: 30px 26px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.start-dialog h2 { padding-right: 34px; }
.dialog-sluit { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dialog-sluit:hover { background: rgba(255,255,255,.25); }
@media (max-width: 560px) {
  .start-cta .btn-groot { width: 100%; }
  .start-dialog .startform .btn { width: 100%; }
}

/* Trainingskaarten */
.trainingen { margin-top: 44px; scroll-margin-top: 16px; }
.trainingen-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px 12px 20px; margin-bottom: 14px; }
.trainingen-kop h2 { margin: 0; }
.btn-klein { padding: 8px 18px; font-size: .92rem; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1.5px solid var(--rand); background: #fff; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 15px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--groen); color: var(--groen-d); }
.chip.actief { background: var(--navy); border-color: var(--navy); color: #fff; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--rand); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.tcard:hover { box-shadow: 0 12px 30px rgba(15,45,85,.12); transform: translateY(-2px); }
.tcard[hidden] { display: none; }
.tcard-foto { position: relative; display: block; aspect-ratio: 16 / 8.5; overflow: hidden; }
.tcard-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
/* Wft/PE-foto's hebben een ingebrande titel onderin: uitsnede naar beneden, ons label rechtsboven. */
.tcard:is([data-cat="wft"], [data-cat="pe"]) .tcard-foto img { object-position: 50% 92%; }
.tcard-deco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.25rem; }
.tcard-deco svg { width: 58px; height: 58px; opacity: .95; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.tcard-label { position: absolute; top: 14px; left: 0; background: var(--geel); color: var(--navy); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px 5px 14px; border-radius: 0 999px 999px 0; }
.tcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tcard-meta { font-size: .8rem; color: var(--muted); }
.tcard h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.tcard h3 a { color: var(--navy); text-decoration: none; }
.tcard h3 a:hover { color: var(--groen-d); }
.tcard p { color: var(--muted); font-size: .93rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-merk { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--navy); margin-top: auto; }
.tcard-merk svg { width: 28px; height: 28px; }
.tcard-knop { margin-top: 14px; width: 100%; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; padding: 11px; }
.tcard-prijs { align-self: flex-end; font-weight: 800; font-size: 1.2rem; color: var(--groen-d); margin-top: 12px; }
.paginering { display: flex; justify-content: flex-end; gap: 6px; margin-top: 22px; }
.paginering[hidden] { display: none; }
.pag { min-width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.pag:hover { background: var(--groen-bg); }
.pag.actief { background: var(--groen); color: #fff; }
@media (max-width: 560px) {
  .trainingen-kop { flex-wrap: wrap; }
  .filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .chip { flex-shrink: 0; }
  .paginering { justify-content: center; }
}
/* Bij een echte foto staat het label rechtsboven (de foto heeft linksonder al een eigen titel). */
.tcard:is([data-cat="wft"], [data-cat="pe"]) .tcard-foto:has(img) .tcard-label { left: auto; right: 0; border-radius: 999px 0 0 999px; padding: 5px 14px 5px 12px; }

/* Header op smalle telefoons (na de 560px-regels, zodat deze voorgaan) */
@media (max-width: 400px) {
  .logo-mark { width: 28px; height: 28px; }
  .logo-tekst { font-size: .86rem; }
  .site-nav .btn-menu { padding: 7px 10px; font-size: .84rem; }
  .btn-inloggen { width: 38px; height: 38px; }
}
/* Headerknoppen: specifieker dan .btn, zodat uitlijning altijd klopt */
.site-nav .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.site-nav .menu { position: static; }

/* Antwoordoverzicht na de toets */
.res-kop { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.res-nr { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.res-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.res-status.ok { background: var(--groen-bg); color: var(--groen-d); }
.res-status.nok { background: var(--rood-bg); color: var(--rood); }
.res-status.open { background: var(--bg); color: var(--muted); }
.res-vraag h3 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.4; }
.res-vraag li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; margin: 6px 0; border: 1px solid var(--rand); background: #fff; }
.res-vraag li.juist { background: var(--groen-bg); border-color: var(--groen); }
.res-vraag li.gekozen-fout { background: var(--rood-bg); border-color: var(--rood); }
.optie-letter { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 800; background: var(--bg); color: var(--navy); border: 1px solid var(--rand); }
li.juist .optie-letter { background: var(--groen); border-color: var(--groen); color: #fff; }
li.gekozen-fout .optie-letter { background: var(--rood); border-color: var(--rood); color: #fff; }
.optie-tekst { flex: 1; min-width: 0; }
.res-vraag .tag { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: var(--groen); color: #fff; }
.tag-nok { background: var(--rood); color: #fff; }
@media (max-width: 480px) {
  .res-vraag li { flex-wrap: wrap; }
  .res-vraag .tag { margin-left: 40px; }
}

/* Checkout, inloggen en cursusomgeving */
.checkout label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.checkout input[type=text], .checkout input[type=email] { width: 100%; padding: 12px 14px; border: 2px solid var(--rand); border-radius: 10px; font: inherit; }
.checkout input:focus { outline: none; border-color: var(--groen); }
.check-donker { font-weight: 400 !important; color: var(--tekst) !important; display: flex !important; gap: 10px; align-items: flex-start; margin: 18px 0 !important; }
.check-donker input { margin-top: 5px; }
.checkout .btn-groot { width: 100%; margin-top: 4px; }
.product { background: var(--bg); border: 1px solid var(--rand); border-radius: 12px; padding: 18px 20px; margin-bottom: 8px; }
.product h2 { margin: 2px 0 8px; }
.product-prijs, .aanbod-prijs { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 8px 0 12px; }
.product-prijs span, .aanbod-prijs span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.form-melding.ok { color: var(--groen-d); }
.tekst .form-melding.fout { color: var(--rood); }
.klein { font-size: .85rem; color: var(--muted); }
.cursus-app { padding: 24px 0 40px; }
.cursus-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--rand); margin: 16px 0 20px; overflow-x: auto; }
.cursus-tabs a { padding: 10px 16px; text-decoration: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.cursus-tabs a.actief { color: var(--navy); border-bottom-color: var(--groen); }
.oefen-stand { color: var(--muted); font-weight: 600; }
.optie-juist { border-color: var(--groen) !important; background: var(--groen-bg) !important; }
.optie-fout { border-color: var(--rood) !important; background: var(--rood-bg) !important; }
#oefen-feedback .btn { margin-top: 12px; }
/* SEO-onderdelen */
.bronnen { background: var(--bg); border: 1px solid var(--rand); border-radius: 12px; padding: 16px 20px; margin-top: 18px; }
.bronnen h3, .bronnen .h4 { margin-top: 0; }
.bronnen ul { margin: 6px 0; padding-left: 18px; }
.verdieping { background: var(--groen-bg); border-radius: 10px; padding: 12px 16px; }
.opleidingen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.opleiding { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 14px 18px; }
.opleiding h3 { margin: 0 0 6px; }
.opleiding h3 a { text-decoration: none; }
.opleiding p { margin: 0; font-size: .93rem; color: var(--muted); }
.steun-cta { background: var(--navy); color: #fff; border-radius: 14px; padding: 22px; margin: 28px 0; }
.steun-cta h2 { color: #fff; margin: 0 0 6px; }
.steun-cta p { margin: 0 0 14px; }
.steun table thead th { background: #f9fbfd; color: var(--navy); text-align: left; padding: 10px 12px; }

/* Toegankelijk contrast (WCAG AA) voor groene tekst en knoppen */
.btn-groen, .site-nav .btn-inloggen, .sticky-cta, .tag-ok, .pag.actief { background: #17803a; }
.btn-groen:hover, .site-nav .btn-inloggen:hover { background: #11632c; }
.logo-tekst .g, .card .more, .tcard-prijs, .label { color: #17803a; }
.hero-label, .facts li { color: #11632c; }

/* Tweede knop op trainingskaarten: direct inschrijven */
.tcard-koop { background: var(--navy); color: #fff; margin-top: 8px !important; text-transform: none !important; letter-spacing: 0 !important; }
.tcard-koop:hover { background: var(--navy-2); color: #fff; }

/* CTA-knoppen op cursuskaarten */
.tcard-acties { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.tknop { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tknop-gratis { background: #388345; color: #fff; border: 1px solid #388345; }
.tknop-gratis:hover { background: #2f6f3a; border-color: #2f6f3a; color: #fff; box-shadow: 0 4px 12px rgba(56,131,69,.25); transform: translateY(-1px); }
.tknop-cursus { background: #F1F5FB; color: #172B53; border: 1px solid #172B53; }
.tknop-cursus:hover { background: #e3ebf7; color: #172B53; box-shadow: 0 4px 12px rgba(23,43,83,.12); transform: translateY(-1px); }
.tknop-pijl { transition: transform .15s ease; }
.tknop-cursus:hover .tknop-pijl { transform: translateX(3px); }
.tknop:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
.tknop:active { transform: none; box-shadow: none; }
@media (max-width: 340px) { .tknop { font-size: .88rem; padding: 10px; } }

/* Logo-afbeelding in de header */
.logo-img { height: 40px; width: auto; }
@media (max-width: 560px) { .logo-img { height: 32px; } }
@media (max-width: 380px) { .logo-img { height: 28px; } }

/* Illustratie bij elke vraag */
.vraag-img{display:block;width:100%;max-width:220px;height:auto;aspect-ratio:240/150;margin:4px 0 14px;border-radius:14px}
.res-vraag .vraag-img{max-width:160px;margin:6px 0 10px}
.voorbeeld .vraag-img{max-width:260px}
