/* ==========================================================================
   Focus Bijles — stylesheet
   Kleuren volledig afgeleid van het logo: diep groenblauw + salie + wit.
   Rustig en serieus, geschikt voor leerlingen van basisschool t/m vwo/mbo.
   ========================================================================== */

:root {
  --teal-900: #0E2B30;
  --teal-800: #143C42;
  --teal-700: #1B4D54;   /* hoofdkleur logo */
  --teal-600: #275F63;
  --teal-500: #3A7472;
  --sage-600: #5F8A6F;
  --sage-500: #86A68F;   /* tweede logokleur */
  --sage-300: #B7CBBD;
  --sage-200: #CFDDD3;
  --sage-100: #E2ECE5;
  --sage-50:  #F0F5F1;

  --bg:       #F7F9F7;
  --paper:    #FFFFFF;
  --ink:      #132A2E;
  --ink-soft: #4A6261;
  --line:     #DCE4DE;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 43, 48, .05), 0 2px 10px rgba(14, 43, 48, .04);
  --shadow:    0 14px 36px -16px rgba(14, 43, 48, .25);
  --shadow-lg: 0 30px 70px -30px rgba(14, 43, 48, .45);

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; color: var(--teal-900); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sage-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

.skip-link { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); background: var(--teal-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { transform: none; }
html, body { max-width: 100%; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  padding: .85rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { background: var(--sage-100); color: var(--teal-900); }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline:hover { background: var(--teal-700); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.04rem; }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar { background: var(--teal-900); color: var(--sage-200); font-size: .85rem; }
.topbar .container { display: flex; gap: 1.25rem; justify-content: flex-end; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sage-300); }
.topbar .topbar-note { margin-right: auto; }
@media (max-width: 720px) { .topbar .topbar-note { display: none; } .topbar .container { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal-700); }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: .02em; color: var(--teal-700); }
.brand-motto { font-family: var(--font-display); font-weight: 700; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-600); margin-top: .3rem; }
.brand-name { font-size: 1.3rem; letter-spacing: .08em; }
.brand-sub { font-family: var(--font-display); font-weight: 800; font-size: .74rem; letter-spacing: .085em; color: var(--teal-700); margin-top: .15rem; white-space: nowrap; }
.footer-brand .brand-sub { color: #fff; }
@media (max-width: 520px) { .topbar { font-size: .78rem; } .topbar .container { gap: .3rem 1rem; padding-block: .3rem; } }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .5rem .65rem; border-radius: 8px; }
.nav a:hover { background: var(--sage-50); color: var(--teal-900); }
.nav a.is-active { color: var(--teal-700); box-shadow: inset 0 -2px 0 var(--teal-700); border-radius: 0; }
.nav a.btn { margin-left: .6rem; padding: .65rem 1.05rem; color: #fff; border-radius: 10px; box-shadow: none; }
.nav a.btn:hover { background: var(--teal-900); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--sage-100); border-radius: 10px; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--teal-900); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1260px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .6rem; }
  .nav a.is-active { box-shadow: inset 3px 0 0 var(--teal-700); }
  .nav a.btn { margin: .75rem 0 0; }
}

/* ---------- Secties ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; }
.section--white { background: var(--paper); }
.section--sage { background: var(--sage-50); }
.section--teal { background: var(--teal-700); color: #E3ECE6; }
.section--dark { background: var(--teal-900); color: #CFDDD3; }
.section--teal h2, .section--teal h3, .section--dark h2, .section--dark h3 { color: #fff; }
.section--teal a:not(.btn), .section--dark a:not(.btn) { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--sage-500); }
.section--teal .eyebrow, .section--dark .eyebrow { color: var(--sage-300); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.18rem); color: var(--ink-soft); }
.section--teal .lead, .section--dark .lead { color: var(--sage-200); }

/* ---------- Grids & kaarten ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.35rem, 2.4vw, 1.9rem); position: relative; min-width: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.card--hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-300); }
.card--tint { background: var(--sage-50); border-color: transparent; }
.card--teal { background: var(--teal-800); border-color: rgba(255,255,255,.08); color: var(--sage-200); }
.card--teal h3 { color: #fff; }
.card-tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); background: var(--sage-100); padding: .3rem .65rem; border-radius: 6px; margin-bottom: 1rem; }
.card--teal .card-tag, .section--dark .card-tag { background: rgba(134,166,143,.18); color: var(--sage-300); }
.icon-bubble { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--sage-100); color: var(--teal-700); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.icon-bubble svg { width: 24px; height: 24px; }
.card--teal .icon-bubble, .section--teal .icon-bubble, .section--dark .icon-bubble { background: rgba(134,166,143,.18); color: var(--sage-300); }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.tick-list li { position: relative; padding-left: 1.85rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231B4D54' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.section--teal .tick-list li::before, .section--dark .tick-list li::before, .card--teal .tick-list li::before {
  background-color: rgba(134,166,143,.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23CFDDD3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--sage-600); }
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.8rem 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; color: var(--teal-800); }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--sage-600); }

/* Concentrische ringen (afgeleid van het logo-embleem) */
.rings { position: absolute; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 38px, rgba(134,166,143,.22) 38px 40px); }
.hero .rings { width: 760px; height: 760px; right: -220px; top: -160px; }

/* Lesoverzicht-mockup in de hero */
.lesson { position: relative; max-width: 500px; width: 100%; margin: 0 auto; }
.lesson-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; position: relative; z-index: 1; }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.lesson-head strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-900); display: block; }
.lesson-head span { font-size: .85rem; color: var(--ink-soft); }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: var(--sage-100); color: var(--teal-700); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-600); }
.lesson-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.lesson-steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: .75rem; align-items: center; font-size: .94rem; }
.lesson-steps .n { width: 28px; height: 28px; border-radius: 8px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .8rem; }
.lesson-steps .t { font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.lesson-quote { margin-top: 1.1rem; background: var(--sage-50); border-radius: 10px; padding: .85rem 1rem; font-size: .9rem; color: var(--teal-900); }
.lesson-quote b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: .2rem; }
.lesson-float { position: absolute; z-index: 2; background: var(--teal-900); color: #fff; border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--shadow); font-size: .85rem; display: flex; gap: .65rem; align-items: center; max-width: 250px; line-height: 1.35; }
.lesson-float svg { width: 22px; height: 22px; flex: none; color: var(--sage-300); }
.lesson-float.f1 { right: -28px; top: -22px; }
.lesson-float.f2 { left: -36px; bottom: -26px; background: #fff; color: var(--teal-900); border: 1px solid var(--line); }
.lesson-float.f2 svg { color: var(--teal-600); }
.lesson-note { text-align: right; font-size: .75rem; color: var(--ink-soft); margin-top: 2.6rem; }
@media (max-width: 560px) { .lesson-float { position: static; max-width: none; margin: .75rem 0; } .lesson-note { margin-top: .5rem; } .lesson-steps li { grid-template-columns: 28px 1fr; } .lesson-steps .t { display: none; } }

/* Pagina-hero (subpagina's) */
.page-hero { padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.5rem, 5vw, 3.8rem); position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero .rings { width: 560px; height: 560px; right: -160px; top: -180px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 24ch; }
.page-hero .hero-lead { max-width: 40rem; }
.page-hero .container { position: relative; }
@media (max-width: 700px) { .page-hero .rings { opacity: .5; } }
.breadcrumb { font-size: .86rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Vertrouwensbalk ---------- */
.trustbar { background: var(--teal-700); color: #fff; padding: 1.3rem 0; }
.trustbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
.trustbar li { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.trustbar li svg { flex: none; width: 30px; height: 30px; color: var(--sage-300); }
@media (max-width: 900px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trustbar ul { grid-template-columns: 1fr; } }

/* ---------- Doelgroep ---------- */
.level-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
@media (max-width: 980px) { .level-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .level-row { grid-template-columns: repeat(2, 1fr); } }
.level { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 1.15rem 1.05rem; border-top: 3px solid var(--sage-500); }
.level strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--teal-900); margin-bottom: .2rem; }
.level span { font-size: .87rem; color: var(--ink-soft); line-height: 1.4; display: block; }
.level.l2 { border-top-color: var(--teal-500); } .level.l3 { border-top-color: var(--teal-700); }

/* ---------- Waarom ons ---------- */
.why { display: grid; grid-template-columns: .9fr 2fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr; } }
.why-feature { background: var(--teal-700); color: var(--sage-200); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.3rem); position: sticky; top: 100px; overflow: hidden; }
@media (max-width: 980px) { .why-feature { position: relative; top: 0; } }
.why-feature h3 { color: #fff; font-size: 1.5rem; }
.why-feature .big { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; color: #fff; line-height: 1; margin: .6rem 0 .2rem; }
.why-feature .big small { font-size: 1rem; font-weight: 600; color: var(--sage-300); }
.why-feature .rings { width: 360px; height: 360px; right: -140px; bottom: -150px; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(255,255,255,.08) 26px 28px); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.why-item .icon-bubble { width: 44px; height: 44px; margin: 0; }
.why-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.why-item p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Stappen ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--sage-500); color: var(--teal-900); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; top: 1.3rem; left: 3.3rem; right: -.8rem; border-top: 2px dashed rgba(255,255,255,.25); }
.section--white .steps li::after, .section--sage .steps li::after, .card .steps li::after { border-top-color: var(--sage-300); }
.steps li:last-child::after { display: none; }
@media (max-width: 980px) { .steps li::after { display: none; } }
.steps p { margin: 0; }
.section--white .steps li::before, .section--sage .steps li::before { background: var(--teal-700); color: #fff; }
.steps--vertical { grid-template-columns: 1fr !important; gap: 1rem; }
.steps--vertical li { padding: .3rem 0 0 3.4rem; min-height: 2.6rem; }
.steps--vertical li::after { display: none; }
.steps--vertical li::before { background: var(--teal-700); color: #fff; }

/* ---------- Tijdlijn ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }
.timeline--one { grid-template-columns: 1fr; }
.timeline li { background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-left: 4px solid var(--sage-500); }
.timeline li:nth-child(even) { border-left-color: var(--teal-700); }
.timeline li p { margin: 0; color: var(--ink-soft); }
.timeline li h3 { margin-bottom: .3rem; }
.section--teal .timeline li, .section--dark .timeline li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); border-left-color: var(--sage-500); }
.section--teal .timeline li p, .section--dark .timeline li p { color: var(--sage-200); }

/* ---------- Toestemming / transcriptie ---------- */
.consent-panel { border: 2px solid var(--teal-700); background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
@media (max-width: 760px) { .consent-panel { grid-template-columns: 1fr; } }
.consent-panel .shield { width: 64px; height: 64px; border-radius: 16px; background: var(--teal-700); color: #fff; display: grid; place-items: center; }
.consent-panel .shield svg { width: 34px; height: 34px; }
.consent-panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.consent-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 1.5rem; margin: 1.2rem 0; }
@media (max-width: 640px) { .consent-facts { grid-template-columns: 1fr; } }
.consent-facts div { border-left: 3px solid var(--sage-500); padding-left: .9rem; }
.consent-facts strong { display: block; font-family: var(--font-display); color: var(--teal-900); font-size: .95rem; }
.consent-facts span { font-size: .93rem; color: var(--ink-soft); }
.notice { background: var(--sage-50); border-left: 4px solid var(--teal-700); padding: 1rem 1.2rem; border-radius: 8px; font-size: .95rem; }
.notice strong { color: var(--teal-900); }

/* ---------- Infographic ---------- */
.infographic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
@media (max-width: 860px) { .infographic { grid-template-columns: 1fr; gap: 2.5rem; } }
.info-item { text-align: center; }
.info-item h3 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 1rem; border-bottom: 2px solid var(--teal-900); margin-bottom: 1.5rem; }
.info-item img { height: 160px; width: auto; margin: 0 auto 1.25rem; }
.info-item p { font-size: 1.06rem; max-width: 22rem; margin-left: auto; margin-right: auto; }
.info-item strong { color: var(--teal-900); }
.source { font-size: .8rem; color: var(--ink-soft); margin-top: 2rem; }

/* ---------- Prijzen ---------- */
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; display: flex; flex-direction: column; position: relative; }
.price-card .btn { margin-top: auto; }
.price-card--featured { border: 2px solid var(--teal-700); box-shadow: var(--shadow); }
.price-card .badge { position: absolute; top: -13px; left: 1.9rem; background: var(--teal-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .06em; padding: .32rem .75rem; border-radius: 6px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--teal-900); margin: .4rem 0 .35rem; font-variant-numeric: tabular-nums; }
.price small { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.price-from { font-size: .85rem; color: var(--ink-soft); font-weight: 600; font-family: var(--font-body); }
.price-note { color: var(--ink-soft); font-size: .93rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
table.prices { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
table.prices th, table.prices td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.prices thead th { background: var(--teal-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
table.prices thead th small { display: block; font-weight: 500; opacity: .8; font-family: var(--font-body); }
table.prices tbody th { font-family: var(--font-display); font-size: .95rem; color: var(--teal-900); }
table.prices tbody tr:last-child th, table.prices tbody tr:last-child td { border-bottom: 0; }
table.prices td.best { background: var(--sage-100); font-weight: 700; color: var(--teal-900); }

.calc { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-form { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.4rem; }
.calc-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-form legend { font-family: var(--font-display); font-weight: 700; margin-bottom: .6rem; color: var(--teal-900); font-size: .95rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: .6rem 1rem; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 600; font-size: .93rem; cursor: pointer; transition: all .15s; background: var(--bg); }
.seg input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sage-500); outline-offset: 2px; }
.calc-result { background: var(--teal-700); color: #fff; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: .4rem; }
.calc-result .label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-300); font-weight: 700; }
.calc-result .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.calc-result .big small { font-size: .95rem; font-weight: 600; color: var(--sage-300); }
.calc-result .save { align-self: flex-start; background: var(--sage-500); color: var(--teal-900); font-weight: 700; padding: .3rem .7rem; border-radius: 6px; font-size: .86rem; margin-top: .6rem; }
.calc-result .month { color: var(--sage-200); margin-top: .8rem; font-size: .96rem; }
.calc-result .fine { font-size: .8rem; color: var(--sage-300); margin-top: .6rem; }

/* ---------- Banners ---------- */
.banner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line); }
.banner .icon-bubble { width: 64px; height: 64px; margin: 0; border-radius: 16px; }
.banner .icon-bubble svg { width: 32px; height: 32px; }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } }
.banner h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .35em; }
.banner p { margin: 0; color: var(--ink-soft); }

.cta-panel { background: var(--teal-700); color: var(--sage-200); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 3rem; align-items: center; position: relative; overflow: hidden; }
.cta-panel .rings { width: 520px; height: 520px; right: -200px; top: -200px; background: repeating-radial-gradient(circle, transparent 0 30px, rgba(255,255,255,.06) 30px 32px); }
.cta-panel > *:not(.rings) { position: relative; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: var(--sage-200); max-width: 36rem; }
.cta-panel .tick-list { margin: 0; font-weight: 600; color: #fff; }
.cta-panel .tick-list li::before { background-color: rgba(134,166,143,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .cta-panel { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .split--form { grid-template-columns: 1.5fr 1fr; } }

/* Twee lestypes (personalisatie) */
.choice { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.choice .or { align-self: center; font-family: var(--font-display); font-weight: 800; color: var(--sage-600); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .choice { grid-template-columns: 1fr; } .choice .or { justify-self: center; } }
.meter { height: 8px; border-radius: 99px; background: var(--sage-100); overflow: hidden; display: flex; margin: .8rem 0 .3rem; }
.meter i { display: block; background: var(--teal-700); }
.meter i + i { background: var(--sage-500); }
.meter-legend { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq details[open] { border-color: var(--sage-300); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--teal-900); padding: 1.1rem 2.2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 6px; background: var(--sage-100); display: grid; place-items: center; font-size: 1.1rem; color: var(--teal-700); }
.faq details[open] summary::after { content: "–"; background: var(--teal-700); color: #fff; }
.faq details > div { padding-bottom: 1.2rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 1rem; }

/* ---------- Formulier ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .94rem; color: var(--teal-900); }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { margin-bottom: .5rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .95rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px var(--sage-100); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B23A2A; }
.field .error-msg { color: #A33525; font-size: .85rem; display: none; }
.field.has-error .error-msg { display: block; }
.check-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-block; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; font-size: .92rem; background: var(--paper); cursor: pointer; }
.check input:checked + span { background: var(--sage-100); border-color: var(--teal-700); color: var(--teal-900); }
.check input:focus-visible + span { outline: 3px solid var(--sage-500); outline-offset: 2px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); font-weight: 400 !important; }
.consent input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--teal-700); }
.consent-box { border: 2px solid var(--teal-700); border-radius: 12px; padding: 1rem 1.1rem; background: var(--sage-50); }
.consent-box p { font-size: .9rem; color: var(--ink); margin: 0 0 .8rem; }
.form-success { display: none; background: var(--sage-100); border-left: 5px solid var(--teal-700); padding: 1.2rem 1.4rem; border-radius: 10px; margin-top: 1.2rem; }
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: var(--sage-300); padding: 4.2rem 0 1.5rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--sage-200); text-decoration: none; padding: .22rem 0; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-motto { color: var(--sage-300); }
.footer-brand .brand img { background: #fff; border-radius: 50%; padding: 2px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .84rem; }
.footer-bottom a { color: var(--sage-200); margin-left: 1.2rem; }
.footer-bottom p { margin: 0; }

.sticky-cta { position: fixed; right: 16px; bottom: 16px; z-index: 40; box-shadow: var(--shadow-lg); display: none; }
@media (max-width: 760px) { .sticky-cta { display: inline-flex; } }

.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }

/* ---------- Animaties ---------- */
[data-reveal] { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---------- Schetsen (eigen tekeningen in potloodstijl) ---------- */
.sketch { width: 100%; height: auto; display: block; color: var(--teal-700); overflow: visible; }
.sketch text { font-family: "Caveat", "Segoe Print", "Comic Sans MS", cursive; font-weight: 600; }
.sketch-figure { max-width: 460px; margin: 0 auto; }
.sketch-figure--wide { max-width: 560px; }
.sketch-figure--light .sketch { color: var(--sage-200); }
.sketch-figure--light { max-width: 320px; margin: 1.5rem 0 0; }
.sketch-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 980px) { .sketch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sketch-steps { grid-template-columns: 1fr; } }
.sketch-steps li { min-width: 0; }
.sketch-box { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius); padding: .8rem; margin-bottom: 1rem; }
.sketch-box .sketch { color: var(--sage-200); max-height: 150px; }
.sketch-steps .num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--sage-500); color: var(--teal-900); font-family: var(--font-display); font-weight: 800; font-size: .9rem; margin-bottom: .6rem; }
.sketch-steps h3 { margin-bottom: .3rem; }
.sketch-steps p { margin: 0; }
.sketch-steps--light .sketch-box { background: var(--sage-50); border-color: var(--sage-300); }
.sketch-steps--light .sketch-box .sketch { color: var(--teal-700); }
.sketch-steps--light .num { background: var(--teal-700); color: #fff; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: center; }
.page-hero-sketch { max-width: 280px; justify-self: end; background: #fff; border-radius: var(--radius-lg); padding: .5rem; }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-sketch { max-width: 200px; justify-self: start; } }
.consent-side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.consent-sketch { width: 150px; margin: 0; }
@media (max-width: 760px) { .consent-side { flex-direction: row; align-items: center; } .consent-sketch { width: 120px; } }

/* ---------- Taalkeuze ---------- */
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--teal-800); padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang[open] summary { border-color: var(--teal-700); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: .4rem; min-width: 170px; z-index: 60; }
.lang a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.lang a span { color: var(--ink-soft); font-weight: 500; font-size: .8rem; }
.lang a:hover { background: var(--sage-50); }
.lang a[aria-current="true"] { background: var(--sage-100); color: var(--teal-900); }
@media (max-width: 1260px) { .header-tools { margin-left: auto; } }
.nav a, .brand-motto, .brand-name { white-space: nowrap; }
@media (min-width: 1261px) { .header-tools { order: 3; margin-left: .6rem; } .nav { order: 2; } }
@media (max-width: 400px) { .brand-motto { display: none; } .brand img { width: 42px; height: 42px; } }

/* ---------- Rechts-naar-links (Arabisch) ---------- */
[dir="rtl"] body { font-family: "Noto Sans Arabic", var(--font-body); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .btn, [dir="rtl"] .eyebrow { font-family: "Noto Sans Arabic", var(--font-display); letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand-motto, [dir="rtl"] .card-tag { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .tick-list li { padding-left: 0; padding-right: 1.85rem; }
[dir="rtl"] .tick-list li::before { left: auto; right: 0; }
[dir="rtl"] .timeline li { border-left: 1px solid var(--line); border-right: 4px solid var(--sage-500); }
[dir="rtl"] .timeline li:nth-child(even) { border-right-color: var(--teal-700); }
[dir="rtl"] .notice, [dir="rtl"] .form-success { border-left: 0; border-right: 4px solid var(--teal-700); }
[dir="rtl"] .consent-facts div { border-left: 0; border-right: 3px solid var(--sage-500); padding-left: 0; padding-right: .9rem; }
[dir="rtl"] .steps li::before, [dir="rtl"] .steps--vertical li::before { left: auto; right: 0; }
[dir="rtl"] .steps--vertical li { padding: .3rem 3.4rem 0 0; }
[dir="rtl"] .steps li::after { left: -.8rem; right: 3.3rem; }
[dir="rtl"] .faq summary { padding: 1.1rem 0 1.1rem 2.2rem; }
[dir="rtl"] .faq summary::after { right: auto; left: 0; }
[dir="rtl"] .lang ul { right: auto; left: 0; }
[dir="rtl"] .nav a.btn { margin-left: 0; margin-right: .6rem; }
[dir="rtl"] .footer-bottom a { margin-left: 0; margin-right: 1.2rem; }
[dir="rtl"] .hero .rings, [dir="rtl"] .page-hero .rings, [dir="rtl"] .cta-panel .rings { right: auto; left: -200px; }
[dir="rtl"] .lesson-float.f1 { right: auto; left: -28px; }
[dir="rtl"] .lesson-float.f2 { left: auto; right: -36px; }
[dir="rtl"] .lesson-note { text-align: left; }
[dir="rtl"] .page-hero-sketch { justify-self: start; }
[dir="rtl"] .sticky-cta { right: auto; left: 16px; }
[dir="rtl"] table.prices th, [dir="rtl"] table.prices td { text-align: right; }
[dir="rtl"] .price-card .badge { left: auto; right: 1.9rem; }
[dir="rtl"] .hero-actions svg { transform: scaleX(-1); }
[dir="rtl"] .sketch text { direction: ltr; unicode-bidi: plaintext; }
.ltr { direction: ltr; unicode-bidi: isolate; }
