/* ==========================================================================
   Bijlesplek - designsysteem
   Basis: de W&J Wooninrichting / Leeghaalservice-template, opnieuw gekleurd.
   Inktblauw = vertrouwen (de ouder betaalt), amber = actie (staat nergens
   anders op de pagina, dus de knop is altijd het felste punt in beeld).
   Amberknop met inktblauwe tekst haalt 7,3:1 contrast; wit op amber zou zakken.
   ========================================================================== */
:root {
  --ink: #131e3a;
  --ink-2: #0b1226;
  --text: #2a3242;
  --muted: #667089;
  --bg: #f8f6f1;
  --card: #ffffff;
  --line: #e7e3d9;
  --line-2: #d8d2c4;
  --amber: #f9a11b;
  --amber-hi: #ffb43d;
  --amber-soft: #fdf1dc;
  --green: #0f7b55;
  --green-soft: #e6f3ec;
  --red: #b3402e;
  --star: #f5b301;
  --radius: 20px;
  --radius-s: 13px;
  --shadow: 0 18px 46px rgba(19, 30, 58, 0.09);
  --shadow-lift: 0 26px 60px rgba(19, 30, 58, 0.14);
  --shadow-btn: 0 10px 22px rgba(214, 133, 12, 0.32);
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografie ---------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(33px, 5.2vw, 55px); line-height: 1.03; letter-spacing: -0.045em; }
h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.03em; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.58; font-weight: 500; max-width: 56ch; }
.kicker { color: var(--green); font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 11px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- knoppen ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--radius-s);
  font-family: inherit; font-size: 16.5px; font-weight: 850; line-height: 1;
  cursor: pointer; text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn .ar { transition: transform 160ms ease; font-weight: 900; }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--amber-hi); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(214, 133, 12, 0.42); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(214, 133, 12, 0.3); }
/* glimmer: loopt langzaam over de knop zodat hij aanklikbaar oogt zonder te schreeuwen */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -55%; width: 38%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: skewX(-18deg); animation: glim 4.2s ease-in-out infinite; pointer-events: none;
}
@keyframes glim { 0%, 74% { left: -55%; } 100% { left: 132%; } }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2b50; transform: translateY(-2px); }
.btn-wide { width: 100%; }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: 15px; border-radius: 11px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .ar, .btn-primary::after { transition: none; animation: none; }
  .btn:hover, .btn-primary:hover { transform: none; }
}

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(248, 246, 241, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: -0.05em; color: var(--ink); }
.logo svg { flex: none; }
.hd-links { display: flex; gap: 22px; color: var(--muted); font-size: 15px; font-weight: 750; }
.hd-links a:hover { color: var(--ink); }
.hd-act { display: flex; align-items: center; gap: 9px; }

/* ---------- pills, badges ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); font-size: 14px; font-weight: 750; color: var(--text); }
.pill .tick { width: 18px; height: 18px; flex: none; border-radius: 999px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; }
.pill.on-dark { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.18); color: #eef1f7; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13.5px; font-weight: 900; }
.badge .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .badge .dot { animation: none; } }

/* ---------- secties ---------- */
.sec { padding: 68px 0; }
.sec-tight { padding: 46px 0; }
.sec-head { max-width: 62ch; margin-bottom: 30px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.dark { background: var(--ink); color: #d7dced; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark .small { color: #a9b2ca; }
.dark .kicker { color: var(--amber); }

/* ---------- prijsblok ---------- */
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 46px; font-weight: 900; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.price span { color: var(--muted); font-weight: 750; font-size: 16px; }
.price-list { display: grid; gap: 9px; margin-top: 18px; }
.price-list div { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 650; color: var(--text); }

/* ---------- stappen / voordelen ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--amber-soft); color: #a3670a; display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 16px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; font-weight: 500; }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 9px; max-width: 860px; margin: 0 auto; }
.faq-i { background: var(--card); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.faq-b { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 19px 20px; font: inherit; font-size: 16.5px; font-weight: 850; color: var(--ink); text-align: left; cursor: pointer; }
.faq-p { width: 27px; height: 27px; border-radius: 999px; background: var(--amber-soft); color: #a3670a; display: flex; align-items: center; justify-content: center; font-weight: 900; flex: none; transition: transform 180ms ease; }
.faq-i.open .faq-p { transform: rotate(45deg); }
.faq-c { display: none; padding: 0 20px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; font-weight: 500; }
.faq-i.open .faq-c { display: block; }

/* ---------- footer ---------- */
.ft { background: var(--ink-2); color: rgba(255, 255, 255, 0.66); padding: 44px 0 30px; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 30px; }
.ft h4 { color: var(--amber); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 12px; }
.ft a:hover { color: #fff; }
.ft-links { display: grid; gap: 7px; }
.ft-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

/* ---------- mobiele actiebalk ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(19, 30, 58, 0.1); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar .btn { min-height: 50px; font-size: 15.5px; }
  body.has-mbar { padding-bottom: 74px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hd-links { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 26px, var(--max)); }
  .sec { padding: 44px 0; }
  .panel { padding: 22px; border-radius: 22px; }
  .grid-3, .grid-2, .ft-grid { grid-template-columns: 1fr; }
  .hd-nav { min-height: 60px; }
  .logo { font-size: 17.5px; }
  .hd-act .btn-ghost { display: none; }
  .hd-act .btn { min-height: 44px; padding: 0 15px; font-size: 14.5px; }
  .price b { font-size: 40px; }
}


/* ---------- tool ---------- */
  .tool {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow-lift);
    position: relative;
  }
  .tool-hd { margin-bottom: 16px; }
  .tool-title { font-size: 22px; line-height: 1.15; }
  .tool-sub { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; font-weight: 500; }
  .tool-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 22px; }
  .tool-bar span { height: 4px; border-radius: 999px; background: var(--line); transition: background 240ms ease; }
  .tool-bar span.on { background: var(--amber); }

  .tstep[hidden] { display: none; }
  .tlabel { display: block; font-size: 13px; font-weight: 850; color: var(--ink); margin: 0 0 9px; letter-spacing: -0.01em; }
  .tlabel + .chips, .tlabel + .opts { margin-bottom: 20px; }

  .opts { display: grid; gap: 8px; }
  .opts button {
    display: flex; align-items: center; gap: 11px; width: 100%;
    padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 13px;
    background: #fdfcfa; font: inherit; font-size: 16px; font-weight: 750; color: var(--ink);
    cursor: pointer; text-align: left; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
  }
  .opts button::before {
    content: ""; width: 19px; height: 19px; border-radius: 999px; border: 2px solid var(--line-2);
    flex: none; transition: border-color 150ms ease, box-shadow 150ms ease;
  }
  .opts button:hover { border-color: var(--amber); transform: translateY(-1px); }
  .opts button[aria-pressed="true"] { border-color: var(--ink); background: #fff; }
  .opts button[aria-pressed="true"]::before { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips button {
    padding: 11px 15px; border: 1.5px solid var(--line); border-radius: 999px; background: #fdfcfa;
    font: inherit; font-size: 15px; font-weight: 750; color: var(--ink); cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
  }
  .chips button:hover { border-color: var(--amber); transform: translateY(-1px); }
  .chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

  .trow { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
  .trow .btn-primary { flex: 1; }
  .tfoot { margin-top: 13px; text-align: center; font-size: 13.5px; color: var(--muted); font-weight: 600; }

  .verdict { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 16px; border-radius: 15px; margin-bottom: 18px; }
  .verdict strong { display: block; font-size: 16.5px; color: var(--ink); font-weight: 900; margin-bottom: 4px; }
  .verdict p { font-size: 14.5px; line-height: 1.5; color: var(--text); font-weight: 500; }
  .verdict .v-icon { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; color: #fff; }
  .verdict.ok { background: var(--green-soft); border: 1px solid #bfdfd0; }
  .verdict.ok .v-icon { background: var(--green); }
  .verdict.wait { background: var(--amber-soft); border: 1px solid #f0d6a8; }
  .verdict.wait .v-icon { background: #c2820f; }
  .verdict[hidden] { display: none; }

  .tsummary { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
  .tsummary span { font-size: 13px; font-weight: 750; color: var(--muted); background: #f4f2ec; border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }

  .tfields { display: grid; gap: 13px; }
  .tfield label { display: block; font-size: 13px; font-weight: 850; color: var(--ink); margin-bottom: 6px; }
  .tfield .opt { font-weight: 650; color: var(--muted); font-size: 12px; }
  .tfield input {
    width: 100%; padding: 14px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; font-size: 16px; background: #fdfcfa; color: var(--text); outline: none;
    transition: border-color 150ms ease, background 150ms ease;
  }
  .tfield input:focus { border-color: var(--ink); background: #fff; }
  .tfield input.bad { border-color: var(--red); background: #fdf4f2; }
  .thint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }

  .tcheck { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; margin-top: 15px; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 550; cursor: pointer; }
  .tcheck input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
  .tcheck a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
  .terr { margin-top: 12px; color: var(--red); font-size: 13.5px; font-weight: 750; }
  .terr[hidden] { display: none; }

  .tdone { text-align: center; padding: 12px 0 6px; }
  .done-icon { width: 62px; height: 62px; border-radius: 999px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 29px; font-weight: 900; margin: 0 auto 16px; }
  .tdone h3 { font-size: 23px; }
  .tdone p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; font-weight: 500; }
  .done-next { display: grid; gap: 9px; margin-top: 20px; }

  @media (max-width: 760px) {
    .tool { padding: 20px; border-radius: 20px; }
    .tool-title { font-size: 20px; }
    .trow { flex-wrap: wrap; }
    .trow .btn-sm { width: 100%; order: 2; }
    .trow .btn-primary { order: 1; width: 100%; flex: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .opts button, .chips button, .tool-bar span { transition: none; }
    .opts button:hover, .chips button:hover { transform: none; }
  }

/* ---------- prijsblok ---------- */
  .pb { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
  .pb.compact { padding: 24px; }
  .tick2 { width: 21px; height: 21px; flex: none; border-radius: 999px; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 1px; }
  @media (max-width: 860px) { .pb { grid-template-columns: 1fr; gap: 22px; padding: 22px; } }

/* ---------- docent ---------- */
  .doc { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 38px; box-shadow: var(--shadow); }
  .doc-photo { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
  .doc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; z-index: 1; }
  .doc-fallback { font-size: 84px; font-weight: 900; color: var(--amber); letter-spacing: -0.05em; }
  @media (max-width: 860px) {
    .doc { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
    .doc-photo { max-width: 170px; }
  }

/* ---------- slot-cta ---------- */
  .fin { background: var(--ink); color: #fff; border-radius: 30px; padding: 52px 40px; text-align: center; }
  .fin h2 { color: #fff; }
  .fin .kicker { color: var(--amber); }
  .fin .lead { color: #aeb7cf; max-width: 52ch; }
  .fin .small { color: #8e97b3; }
  .fin-act { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
  .fin .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
  .fin .btn-ghost:hover { border-color: #fff; }
  @media (max-width: 760px) {
    .fin { padding: 32px 20px; border-radius: 22px; }
    .fin-act { display: grid; }
    .fin-act .btn { width: 100%; }
  }

/* ---------- variant A ---------- */
  .hero-a { padding: 52px 0 40px; }
  .hero-a-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 480px); grid-template-areas: "copy tool" "extra tool"; grid-template-rows: auto 1fr; column-gap: 52px; align-items: start; }
  .ha-copy { grid-area: copy; }
  .hero-a-tool { grid-area: tool; }
  .ha-extra { grid-area: extra; margin-top: 26px; }
  .hero-a h1 { margin-top: 20px; }
  .hero-a-note { margin-top: 22px; font-size: 15px; color: var(--muted); font-weight: 600; }
  .hero-a-note a { color: var(--ink); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 1000px) {
    .hero-a-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "tool" "extra"; row-gap: 28px; }
    .hero-a-tool { max-width: 560px; }
    .ha-extra { margin-top: 0; }
  }
  @media (max-width: 760px) {
    .hero-a { padding: 26px 0 26px; }
    .hero-a-tool { max-width: 100%; }
  }

/* ---------- variant B ---------- */
  .hero-b { padding: 54px 0 20px; }
  .hero-b-copy { max-width: 760px; margin: 0 auto; text-align: center; }
  .hero-b-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-b-cards { display: grid; grid-template-columns: 340px 1fr; gap: 18px; margin-top: 38px; align-items: stretch; }
  .hb-price { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; }
  .hb-tel { display: block; text-align: center; margin-top: 12px; font-size: 14.5px; font-weight: 750; color: var(--muted); }
  .hb-tel:hover { color: var(--ink); }
  .hb-list { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
  .hb-list h3 { margin-bottom: 16px; }
  .hb-list .price-list div { align-items: flex-start; font-weight: 550; }
  .hb-list b { font-weight: 850; color: var(--ink); }
  .tick2 { width: 21px; height: 21px; flex: none; border-radius: 999px; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 2px; }
  .tool-band { background: var(--ink); padding: 60px 0; margin-top: 44px; }
  .tool-band h2, .tool-band .kicker { color: #fff; }
  .tool-band .kicker { color: var(--amber); }
  .tool-band .lead { color: #aeb7cf; }
  .tool-band .pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #e6eaf4; }
  .tool-band-grid { display: grid; grid-template-columns: 1fr minmax(390px, 470px); gap: 48px; align-items: center; }
  @media (max-width: 1000px) {
    .hero-b-cards { grid-template-columns: 1fr; }
    .tool-band-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 760px) {
    .hero-b { padding: 26px 0 8px; }
    .hb-price, .hb-list { padding: 20px; border-radius: 20px; }
    .tool-band { padding: 40px 0; margin-top: 30px; }
  }

/* ---------- variant C ---------- */
  .hero-c { padding: 48px 0 34px; }
  .hero-c-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: center; }
  .hc-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-lift); }
  .hc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
  .hc-fallback { font-size: 110px; font-weight: 900; color: var(--amber); letter-spacing: -0.06em; }
  .hc-cap { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--ink); color: #fff; padding: 12px 18px; border-top-right-radius: 16px; font-size: 15px; font-weight: 900; }
  .hc-cap em { display: block; font-style: normal; color: var(--amber); font-size: 13px; font-weight: 700; margin-top: 2px; }
  .hero-c h1 { margin-top: 18px; }
  .letter { margin-top: 18px; font-size: 18px; line-height: 1.62; color: var(--text); font-weight: 500; max-width: 54ch; }
  .hc-act { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 26px; }
  .hc-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hc-why article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .hc-why p { margin-top: 9px; color: var(--muted); font-size: 15.5px; line-height: 1.55; font-weight: 500; }
  .tool-c { padding: 56px 0; background: linear-gradient(180deg, var(--bg), #f2eee4); }
  .tool-c-grid { display: grid; grid-template-columns: 1fr minmax(390px, 470px); gap: 48px; align-items: center; }
  @media (max-width: 1000px) {
    .hero-c-grid { grid-template-columns: 1fr; gap: 26px; }
    .hc-photo { max-width: 280px; }
    .hc-why { grid-template-columns: 1fr; }
    .tool-c-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 760px) {
    .hero-c { padding: 24px 0 20px; }
    .hc-photo { max-width: 200px; border-radius: 20px; }
    .hc-fallback { font-size: 80px; }
    .hc-act { display: grid; }
    .hc-act .btn { width: 100%; }
    .tool-c { padding: 36px 0; }
  }

/* ---------- juridische pagina's ---------- */
  .legal { max-width: 68ch; }
  .legal h2 { font-size: 21px; margin-top: 30px; }
  .legal p { margin-top: 12px; color: var(--text); font-size: 16.5px; line-height: 1.62; }
  .legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .legal .btn { text-decoration: none; }

/* ---------- juridische pagina's ---------- */
.legal { max-width: 68ch; }
.legal h2 { font-size: 21px; margin-top: 30px; }
.legal p { margin-top: 12px; color: var(--text); font-size: 16.5px; line-height: 1.62; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { text-decoration: none; }

/* ---------- mobiel: minder hoogte vóór de tool ---------- */
@media (max-width: 760px) {
  .pills { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .pill { font-size: 12.8px; padding: 9px 10px; line-height: 1.25; }
  .pill .tick { width: 16px; height: 16px; font-size: 10px; }
  .mbar .btn { white-space: nowrap; font-size: 14.5px; padding: 0 10px; }
  .badge { font-size: 12.5px; padding: 7px 12px; line-height: 1.3; }
  .lead { font-size: 16.5px; }
}

/* ==========================================================================
   Mobiel: alles tot en met de eerste knop van de tool moet in het eerste
   scherm passen. Gerekend op ~620px bruikbare hoogte (375x812 minus de
   adresbalk van Safari). Elke regel hieronder haalt daar hoogte weg.
   ========================================================================== */
.only-mobile { display: none; }
.mbar[hidden] { display: none !important; }
.tfine { margin-top: 10px; text-align: center; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.tfine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .only-mobile { display: inline; }
  .only-desktop { display: none; }

  .hd-nav { min-height: 54px; }
  .hd-act .btn { min-height: 42px; font-size: 14px; padding: 0 14px; }

  .hero-a { padding: 14px 0 20px; }
  .hero-a-grid { row-gap: 16px; }
  .hero-a h1 { font-size: 27px; line-height: 1.06; margin-top: 13px; }
  .hero-a .lead { font-size: 15.5px; line-height: 1.5; margin-top: 11px !important; }
  .badge { font-size: 11.5px; padding: 6px 11px; white-space: nowrap; }

  .tool { padding: 16px; border-radius: 18px; }
  .tool-hd { margin-bottom: 12px; }
  .tool-title { font-size: 18.5px; }
  .tool-sub { display: none; }
  .tool-bar { margin-bottom: 15px; }
  .tlabel { font-size: 12.5px; margin-bottom: 7px; }
  .tlabel + .chips, .tlabel + .opts { margin-bottom: 14px; }

  /* niveau naast elkaar in plaats van drie rijen onder elkaar: scheelt 130px */
  .opts.niveau { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .opts.niveau button { flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    text-align: center; padding: 10px 5px; font-size: 14.5px; min-height: 50px; }
  .opts.niveau button::before { display: none; }
  .opts.niveau button .nx { font-size: 10.5px; font-weight: 650; color: var(--muted); letter-spacing: -.01em; }
  .opts.niveau button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .opts.niveau button[aria-pressed="true"] .nx { color: rgba(255, 255, 255, .72); }

  /* klas als zes cijfers op één regel: scheelt nog eens 40px */
  #optKlas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  #optKlas button { padding: 12px 0; font-size: 15px; }
  #optKlas .kx { display: none; }

  .tool .btn { min-height: 50px; font-size: 16px; }
  .tfoot { margin-top: 10px; font-size: 12.5px; }
  .tfields { gap: 11px; }
  .thint { font-size: 11.5px; }
}

/* Heel korte schermen (iPhone SE, 667px): nog een tandje strakker. */
@media (max-width: 760px) and (max-height: 700px) {
  .hero-a h1 { font-size: 24px; }
  .hero-a .lead { display: none; }
  .hero-a .badge { display: none; }
  .tool-title { font-size: 17px; }
  .verdict { padding: 11px; margin-bottom: 11px; }
  .tfields { gap: 9px; }
}

/* ---------- prijsregel ---------- */
.price-note { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }

/* ---------- resultaten uit eerdere bijles ---------- */
.res { margin-top: 20px; background: var(--ink); border-radius: 24px; padding: 32px; color: #c9d0e2; }
.res .kicker { color: var(--amber); }
.res h3 { color: #fff; font-size: 22px; }
.res-head { margin-bottom: 22px; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jump { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  padding: 20px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.jump .van { font-size: 27px; font-weight: 800; color: #7d879f; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.jump .pijl { color: var(--amber); font-size: 19px; font-weight: 900; }
.jump .naar { font-size: 38px; font-weight: 900; color: var(--amber); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.res-fine { margin-top: 16px; font-size: 14px; line-height: 1.55; color: #97a1ba; max-width: 62ch; }

/* ---------- bewijsregel onder de tool ---------- */
.proofrow { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
.proofrow div { display: flex; flex-direction: column; }
.proofrow b { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.proofrow span { font-size: 12.5px; font-weight: 750; color: var(--muted); margin-top: 2px; }

@media (max-width: 760px) {
  .res { padding: 22px; border-radius: 20px; }
  .res-grid { grid-template-columns: 1fr; gap: 8px; }
  .jump { padding: 14px; }
  .jump .naar { font-size: 32px; }
  .proofrow { gap: 14px; }
  .proofrow b { font-size: 19px; }
}

/* ==========================================================================
   Stap 2 en 3 moeten net zo goed in het eerste scherm passen als stap 1.
   De kaart blijft staan waar hij staat; er wordt tussen stappen niet gescrold.
   ========================================================================== */
@media (max-width: 760px) {
  .trow { flex-wrap: nowrap; gap: 8px; }
  .trow .btn-sm { width: auto; flex: none; order: 0; padding: 0 14px; min-height: 50px; }
  .trow .btn-primary { width: auto; flex: 1; order: 0; }

  .tsummary { display: none; }
  .thint { display: none; }

  .verdict { grid-template-columns: 28px 1fr; gap: 11px; padding: 13px; margin-bottom: 14px; }
  .verdict .v-icon { width: 28px; height: 28px; font-size: 15px; }
  .verdict strong { font-size: 15.5px; }
  .verdict p { font-size: 13.8px; line-height: 1.45; }

  .tfields { gap: 10px; }
  .tfield label { font-size: 12px; margin-bottom: 4px; }
  .tfield input { padding: 12px 13px; }

  .tfoot { font-size: 11.5px; margin-top: 9px; }
  .tfine { font-size: 10.8px; margin-top: 6px; }
  .chips button { padding: 10px 13px; font-size: 14px; }
}

/* Laatste tandje voor stap 3: de knop moet ook met de adresbalk van Safari
   in beeld staan. Elke regel hieronder is puur hoogtewinst. */
@media (max-width: 760px) {
  .hero-a { padding-top: 10px; }
  .hero-a-grid { row-gap: 14px; }
  .hero-a h1 { margin-top: 10px; }
  .hero-a .lead { margin-top: 9px !important; }
  .trow .btn-primary { font-size: 15px; white-space: nowrap; }
  .tool .tstep[data-step="3"] .tfoot { margin-top: 8px; }
}

/* De garantie is het enige dat geen enkele concurrent biedt, dus krijgt hij
   als enige van de vier bolletjes vulling in plaats van alleen een randje. */
.pill.hl { background: var(--green); border-color: var(--green); color: #fff; }
.pill.hl .tick { background: #fff; color: var(--green); }

/* ==========================================================================
   Mobiel: zo min mogelijk boven de tool. Geen badge, één regel tekst, en het
   bewijs als één zin in plaats van drie blokken naast elkaar.
   ========================================================================== */
.m-only { display: none; }
.prooftext { font-size: 13px; font-weight: 750; color: var(--muted); }

@media (max-width: 760px) {
  .d-only { display: none; }
  .m-only { display: block; }
  .hero-a .badge { display: none; }
  .hero-a h1 { margin-top: 2px; }
  .hero-a .lead { font-size: 15px; margin-top: 10px !important; }
  .prooftext { margin-bottom: 14px; font-size: 12.5px; }
}

/* ==========================================================================
   Stap 2: onder elkaar, met een vierkantje in plaats van een rondje, zodat je
   ziet dat je er meerdere mag aanklikken. De knop blijft uit tot je iets kiest.
   ========================================================================== */
.opts.multi button::before { border-radius: 6px; }
/* Een uitgeschakelde knop moet niet lijken op een kapotte knop: neutraal grijs,
   met een label dat vertelt wat je nog moet doen. */
.btn:disabled { background: #efece4; color: #8b8578; border: 1.5px solid var(--line);
  box-shadow: none; cursor: not-allowed; font-size: 15.5px; }
.btn:disabled::after { display: none; }
.btn:disabled:hover { transform: none; background: #efece4; }

@media (max-width: 760px) {
  .opts.multi { grid-template-columns: 1fr; gap: 7px; }
  .opts.multi button { flex-direction: row; align-items: center; justify-content: flex-start;
    text-align: left; gap: 11px; padding: 13px 14px; min-height: 50px; font-size: 15px; }
  .opts.multi button::before { display: block; width: 19px; height: 19px; border-radius: 6px;
    border: 2px solid var(--line-2); flex: none; }
  .opts.multi button[aria-pressed="true"] { background: #fff; border-color: var(--ink); color: var(--ink); }
  .opts.multi button[aria-pressed="true"]::before { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); }

  /* Onder de tool: geen bubbels meer, gewoon vinkjes. Dat leest rustiger. */
  .ha-extra .pills { grid-template-columns: 1fr 1fr; gap: 9px 12px; }
  .ha-extra .pill { background: none; border: 0; padding: 0; font-size: 13px;
    align-items: flex-start; color: var(--text); line-height: 1.35; }
  .ha-extra .pill.hl { background: none; color: var(--ink); font-weight: 850; }
  .ha-extra .pill.hl .tick { background: var(--green); color: #fff; }
}


/* ---------- stapteller boven de balk ---------- */
.tool-teller { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.tool-teller span { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; color: #6e7790; }
.tool-teller em { font-style: normal; font-size: 11px; color: #8b93a8; font-weight: 600; }
.tool-teller[hidden] { display: none; }

/* ---------- de drie beloftes onder de check, een kolom ---------- */
.beloftes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.beloftes li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start;
  font-size: 14px; line-height: 1.4; color: var(--text); font-weight: 650; }
.beloftes b { font-weight: 850; color: var(--ink); }
.beloftes .tick { width: 20px; height: 20px; border-radius: 999px; background: var(--green); color: #fff;
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 900; margin-top: 1px; }

/* docentblok zonder foto: tekst over de volle breedte */
.doc.geen-foto { grid-template-columns: 1fr; }

@media (max-width: 760px) {
  /* Een regel van 31 px is groter en toch 24 px lager dan twee regels van 27. */
  .hero-a h1 { font-size: 31px; line-height: 1.05; }
  /* De belknop is nu de enige in de header en mag daar dus niet verdwijnen. */
  .hd-act .hd-bel { display: inline-flex; }
  .beloftes li { font-size: 13.5px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-a h1 { font-size: 27px; }
}
