:root {
  --navy: #1B2547;
  --navy-2: #2E3A63;
  --navy-diep: #121A36;
  --rood: #D7372E;
  --rood-donker: #A82820;
  --tekst: #1B2547;
  --tekst-2: #3A4466;
  --tekst-3: #5A6380;
  --licht: #F3F4F8;
  --licht-2: #E6E9F1;
  --lijn: #DDE1EC;
  --wit: #FFFFFF;
  --op-navy: #C9CFE0;
  --breed: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wit);
  color: var(--tekst);
  font-family: Ubuntu, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--rood); }
a:hover { color: var(--rood-donker); }
:focus-visible { outline: 3px solid #9FB1E8; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0; }
p { margin: 0; }
.prijs, .getal { font-variant-numeric: tabular-nums; }

.overslaan { position: absolute; left: -9999px; top: 0; }
.overslaan:focus { left: 16px; top: 8px; z-index: 10; background: var(--wit); padding: 10px 14px; border-radius: 8px; }

.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 24px; }

/* Topbalk */
.topbalk { background: var(--navy); color: var(--op-navy); font-size: 14px; }
.topbalk .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbalk a { color: var(--wit); text-decoration: none; }
.topbalk a:hover { text-decoration: underline; color: var(--wit); }
.topbalk .afstand { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }

/* Kop */
.kop { border-bottom: 1px solid var(--licht-2); background: var(--wit); }
.kop .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo span { font-size: 19px; font-weight: 500; white-space: nowrap; }
.logo b { color: var(--rood); }
.hoofdnav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 16px; }
.hoofdnav a { color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.hoofdnav a:hover { border-bottom-color: var(--rood); color: var(--navy); }
.hoofdnav a[aria-current="page"] { border-bottom-color: var(--rood); font-weight: 500; }
.hoofdnav a.knop, .hoofdnav a.knop:hover { border: 0; padding: 12px 18px; color: var(--wit); }
.menuknop { display: none; }

@media (max-width: 960px) {
  .js .menuknop {
    display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 14px;
    border: 2px solid var(--lijn); border-radius: 10px; background: var(--wit); color: var(--navy);
    font: inherit; font-weight: 500; cursor: pointer;
  }
  .js .hoofdnav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .js .hoofdnav.open { display: flex; }
  .hoofdnav a { padding: 12px 0; border-bottom: 1px solid var(--licht-2); }
  .hoofdnav a.knop { margin-top: 12px; text-align: center; }
}

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 22px; border-radius: 10px;
  background: var(--rood); color: var(--wit); text-decoration: none; font-weight: 700; font-size: 17px;
  border: 0; cursor: pointer; font-family: inherit;
}
.knop:hover { background: var(--rood-donker); color: var(--wit); }
.knop.donker { background: var(--navy); }
.knop.donker:hover { background: var(--navy-2); }
.knop.rand { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 11px 20px; font-weight: 500; }
.knop.rand:hover { background: var(--licht); color: var(--navy); }
.knop.rand-wit { background: transparent; color: var(--wit); border: 2px solid var(--wit); padding: 11px 20px; font-weight: 500; }
.knop.rand-wit:hover { background: var(--navy-2); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }

/* Held met wig */
.held { position: relative; overflow: hidden; background: var(--licht); }
.held .wig { position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; }
.held .wrap { position: relative; padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.held h1 { font-size: clamp(36px, 5vw, 50px); letter-spacing: -0.01em; max-width: 780px; }
.held .intro { font-size: 20px; line-height: 1.5; color: var(--tekst-2); max-width: 58ch; }
.held.klein .wrap { padding-top: 44px; padding-bottom: 52px; gap: 18px; }
.held.klein h1 { font-size: clamp(32px, 4.4vw, 46px); }

.kruimel { font-size: 14px; color: var(--tekst-3); display: flex; flex-wrap: wrap; gap: 6px; }
.kruimel a { color: var(--tekst-3); }

/* Keuzehulp op de homepage */
.vraag { margin-top: 18px; font-weight: 700; }
.keuzes { display: flex; flex-wrap: wrap; gap: 10px; }
.keuzes button {
  min-height: 46px; padding: 11px 18px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  background: var(--wit); color: var(--navy); border: 2px solid var(--op-navy);
}
.keuzes button[aria-pressed="true"] { background: var(--navy); color: var(--wit); border-color: var(--navy); }
.antwoord {
  background: var(--wit); border-radius: 16px; padding: 30px; display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start;
  box-shadow: 0 18px 40px -24px rgba(27, 37, 71, .35); max-width: 1000px;
}
.antwoord[hidden] { display: none; }
.antwoord .uitleg { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.antwoord h2 { font-size: 26px; }
.antwoord .uitleg > p { color: var(--tekst-2); max-width: 60ch; }

.prijsblok { flex: 1 1 230px; display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--navy); color: var(--wit); border-radius: 12px; }
.prijsblok .label, .prijsblok .noot { font-size: 14px; color: var(--op-navy); }
.prijsblok .prijs { font-size: 34px; font-weight: 700; line-height: 1.2; }
.prijsblok .knop { margin-top: 10px; }

/* Vinkjeslijst */
.vinkjes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vinkjes li { position: relative; padding-left: 24px; }
.vinkjes li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px;
  background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpolyline points='2,7 6,11 12,3' fill='none' stroke='%23D7372E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Secties */
.sectie { padding: 72px 0 0; }
.sectie > .wrap > h2, .sectie h2.kop2 { font-size: 34px; margin-bottom: 24px; }
.sectie .lead { color: var(--tekst-2); max-width: 62ch; margin: -10px 0 28px; font-size: 18px; }
.laatste { padding-bottom: 88px; }

.doelgroepen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.doelgroep { border: 1px solid var(--lijn); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.doelgroep.tint { background: #F8F9FC; }
.doelgroep h2 { font-size: 28px; }
.doelgroep > p { color: var(--tekst-2); }
.doelgroep .vinkjes a { color: var(--navy); }
.doelgroep .meer { margin-top: auto; padding-top: 6px; color: var(--navy); font-weight: 700; }

/* Tarievenlijst */
.tarieven { display: flex; flex-direction: column; font-size: 18px; }
.tarieven .regel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--lijn); }
.tarieven .regel:first-child { border-top: 2px solid var(--navy); }
.tarieven .regel:last-child { border-bottom: 1px solid var(--lijn); }
.tarieven .regel b { font-variant-numeric: tabular-nums; }
.tarieven .regel small { display: block; font-size: 15px; color: var(--tekst-3); }
.tarieven .regel a { color: var(--navy); }
.voetnoot { margin-top: 16px; font-size: 15px; color: var(--tekst-3); }

/* Navy band */
.band { background: var(--navy); color: var(--wit); margin-top: 72px; }
.band .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band .tekst { flex: 999 1 460px; display: flex; flex-direction: column; gap: 12px; }
.band h2 { font-size: 32px; }
.band p { color: var(--op-navy); font-size: 18px; max-width: 56ch; }
.band .knop.rand { color: var(--wit); border-color: var(--wit); }

/* Dienstpagina: inhoud + vaste prijskolom */
.dienst { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.dienst .inhoud { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.dienst aside { flex: 1 1 280px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.dienst aside .prijsblok { flex: none; }
.dienst aside .los { font-size: 15px; color: var(--tekst-3); padding: 0 4px; }
.dienst aside .los a { color: var(--navy); }
@media (max-width: 900px) { .dienst aside { position: static; } }

.blok h2 { font-size: 30px; margin-bottom: 14px; }
.blok > p { color: var(--tekst-2); max-width: 64ch; }
.blok > p + p { margin-top: 12px; }
.blok > .vinkjes, .blok > .groepen, .blok > .stappen, .blok > .faq, .blok > .rijen, .blok > .werk { margin-top: 22px; }
.blok > .knoppen, .blok > .melding { margin-top: 24px; }

.groepen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.groep h3 { font-size: 19px; margin-bottom: 10px; }
.groep p { color: var(--tekst-2); font-size: 16px; }
.groep .vinkjes { font-size: 16px; gap: 8px; }

.rijen { display: flex; flex-direction: column; }
.rij { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--lijn); }
.rij:last-child { border-bottom: 1px solid var(--lijn); }
.rij h3 { font-size: 19px; }
.rij p { color: var(--tekst-2); }
.rij .termen { margin-top: 8px; font-size: 14px; color: var(--tekst-3); }
@media (max-width: 640px) { .rij { grid-template-columns: 1fr; } }

.stappen { margin: 0; padding: 0; list-style: none; counter-reset: stap; display: flex; flex-direction: column; gap: 18px; }
.stappen li { counter-increment: stap; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.stappen li::before {
  content: counter(stap); width: 36px; height: 36px; border-radius: 50%;
  background: var(--licht); color: var(--navy); font-weight: 700; display: grid; place-items: center;
}
.stappen b { display: block; }
.stappen span { color: var(--tekst-2); }

.melding { border-left: 4px solid var(--rood); background: #FBEDEC; padding: 18px 20px; border-radius: 0 10px 10px 0; }
.melding b { display: block; margin-bottom: 4px; }
.melding p { color: var(--tekst-2); }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--lijn); }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 24px; color: var(--rood); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--tekst-2); max-width: 64ch; }

.werk { display: flex; flex-direction: column; }
.werk .item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--lijn); }
.werk .item:last-child { border-bottom: 1px solid var(--lijn); }
.werk .item a, .werk .item strong { font-weight: 700; color: var(--navy); }
.werk .item span { color: var(--tekst-3); }

/* Contact */
.contactrij { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.contactrij > div:first-child { display: flex; flex-direction: column; gap: 10px; flex: 1 1 380px; }
.contactrij h2 { font-size: 38px; }
.contactrij p { font-size: 18px; color: var(--tekst-2); max-width: 46ch; }

.contactkaart { display: flex; flex-wrap: wrap; gap: 24px; }
.contactkaart .kanaal { flex: 1 1 240px; border: 1px solid var(--lijn); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.contactkaart .kanaal span { color: var(--tekst-3); font-size: 15px; }
.contactkaart .kanaal a { font-size: 19px; font-weight: 700; color: var(--navy); text-decoration: none; }
.contactkaart .kanaal a:hover { text-decoration: underline; }

.gegevens { display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; font-size: 16px; }
.gegevens dt { color: var(--tekst-3); }
.gegevens dd { margin: 0; }

.juridisch { max-width: 72ch; display: flex; flex-direction: column; gap: 14px; }
.juridisch h2 { font-size: 24px; margin-top: 18px; }
.juridisch p, .juridisch li { color: var(--tekst-2); }

/* Voet */
.voet { margin-top: 0; border-top: 1px solid var(--licht-2); background: #F8F9FC; font-size: 15px; }
.voet .kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.voet h2 { font-size: 15px; margin-bottom: 10px; }
.voet ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.voet a { color: var(--tekst-2); text-decoration: none; }
.voet a:hover { color: var(--rood); text-decoration: underline; }
.voet p { color: var(--tekst-2); }
.voet .onder { border-top: 1px solid var(--licht-2); padding-top: 18px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--tekst-3); font-size: 14px; }

/* Eigen AI: rustige productpagina, grote koppen, veel lucht */
.ai-held { text-align: center; padding: 88px 0 24px; }
.ai-held h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.ai-held > .wrap > p { margin: 22px auto 0; max-width: 44ch; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--tekst-2); }
.ai-held .knoppen { justify-content: center; margin-top: 30px; }
.ai-held > .wrap > p.onderschrift { margin: 16px auto 0; max-width: none; font-size: 14px; color: var(--tekst-3); }

.venster {
  margin: 56px auto 0; max-width: 860px; text-align: left; background: var(--wit);
  border: 1px solid var(--lijn); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(27, 37, 71, .45);
}
.venster-balk { display: flex; align-items: center; gap: 7px; padding: 0 16px; height: 42px; background: var(--licht); border-bottom: 1px solid var(--lijn); }
.venster-balk .stip { width: 11px; height: 11px; border-radius: 50%; background: var(--op-navy); }
.venster-balk .adres { margin: 0 auto; transform: translateX(-24px); font-size: 13px; color: var(--tekst-3); background: var(--wit); padding: 4px 18px; border-radius: 6px; }
.venster-inhoud { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bel { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.bel-vraag { align-self: flex-end; background: var(--navy); color: var(--wit); border-bottom-right-radius: 6px; }
.bel-antwoord { align-self: flex-start; background: var(--licht); color: var(--tekst); border-bottom-left-radius: 6px; }
.invoer { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; border: 1px solid var(--lijn); border-radius: 999px; padding: 12px 18px; color: var(--tekst-3); font-size: 15px; }
.invoer .lokaal { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--tekst-2); }
.invoer .lampje { width: 8px; height: 8px; border-radius: 50%; background: #3FBF7F; }

.ai-donker { background: var(--navy-diep); color: var(--wit); margin-top: 96px; }
.ai-donker .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 22px; }
.ai-donker h2 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.025em; line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.ai-donker p { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--op-navy); max-width: 58ch; }

.ai-sectie { padding: 104px 0 0; }
.ai-sectie h2, .ai-kop { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 18px; text-wrap: balance; }
.ai-sectie h3 { font-size: 22px; margin-bottom: 12px; }
.ai-sectie .ai-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--tekst-2); max-width: 58ch; }
.ai-sectie p { color: var(--tekst-2); }
.ai-schema { margin: 40px 0 48px; }
.ai-schema svg { display: block; width: 100%; max-width: 760px; height: auto; font-family: inherit; }
.ai-stappen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.ai-rijen { margin-top: 36px; }
.ai-sectie p.ai-p { margin-top: 14px; }
.ai-twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 64px; align-items: start; }

.vergelijk-wrap { overflow-x: auto; margin-top: 32px; }
.vergelijk { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 17px; }
.vergelijk th, .vergelijk td { text-align: left; padding: 18px 16px; border-top: 1px solid var(--lijn); vertical-align: top; }
.vergelijk thead th { border-top: 0; font-size: 26px; letter-spacing: -0.01em; padding-bottom: 14px; }
.vergelijk tbody th { font-weight: 500; color: var(--tekst-3); width: 22%; }
.vergelijk td { font-variant-numeric: tabular-nums; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ai-opties { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.optie { border: 1px solid var(--lijn); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.optie.tint { background: #F8F9FC; }
.optie .soort { font-size: 14px; color: var(--tekst-3); }
.optie h3 { font-size: 34px; letter-spacing: -0.02em; margin: 0; }

.ai-teaser { background: var(--navy-diep); color: var(--wit); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.ai-teaser > div { flex: 999 1 420px; display: flex; flex-direction: column; gap: 12px; }
.ai-teaser h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; }
.ai-teaser p { color: var(--op-navy); font-size: 18px; max-width: 54ch; }

@media (max-width: 640px) {
  .ai-held { padding-top: 56px; }
  .venster-inhoud { padding: 18px; }
  .bel { max-width: 92%; font-size: 15px; }
  .venster-balk .adres { transform: none; }
  .ai-donker .wrap { padding-top: 72px; padding-bottom: 72px; }
  .ai-sectie { padding-top: 72px; }
  .optie { padding: 26px; }
  .ai-teaser { padding: 30px 22px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .held .wig { width: 70%; opacity: .6; }
  .held .intro { font-size: 18px; }
  .antwoord { padding: 22px; }
  .sectie { padding-top: 56px; }
  .sectie > .wrap > h2, .sectie h2.kop2 { font-size: 28px; }
  .blok h2 { font-size: 26px; }
  .band h2 { font-size: 26px; }
  .topbalk .wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
