/* ============================================================
   Contact v2 (ronde 17, oktober 2026). Gebouwd door scripts/bouw_contact_overons_partners.py; geen eigen JavaScript.
   Deze stylesheet staat als eerste regel ín main, niet in de head: zeven bouwscripts kopiëren de head van
   contact.html. Hij laadt alleen op contact.html, dus 'main#inhoud' is hier de paginascope (main zonder
   klasse: de zeven scripts zoeken op de letterlijke main-tag).
   Hergebruikt van de homepage: hero-v51, belpaneel-v4 (bp4-), het contactformulier (v4.css) en .af-demokaart.
   Alles wat nieuw is begint met ct-.
   Beweging: decoratie (aurora, bol) speelt één keer; zonder JavaScript of met "minder beweging" staat alles in de
   eindstand.
   ============================================================ */

html:not(.js) main#inhoud .rv { opacity: 1; transform: none; }

.ct-oog {
  margin: 0 0 16px; font: 600 13px/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ping);
}
.ct-feiten svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Decoratie speelt één of twee keer ---------- */
main#inhoud .aurora span { animation-iteration-count: 1; }
main#inhoud .bp4-aura, main#inhoud .bp4-rand, main#inhoud .bp4-golf i,
main#inhoud .bp3-status i, main#inhoud .belpaneel::before { animation-iteration-count: 2; }
main#inhoud .bp4-golf i { animation-iteration-count: 2.5; animation-fill-mode: forwards; }
main#inhoud .vb-wave span { animation-iteration-count: 3; }

/* ---------- Kop ---------- */
.ct-kop .hero5-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; padding-block: 40px 44px; align-items: center; }
.ct-kop h1 { font-size: clamp(36px, 3.7vw, 56px); line-height: 1.03; letter-spacing: -.03em; margin-bottom: 20px; max-width: 16ch; }
.ct-kop h1 em { display: block; }
.ct-kop .sub { font-size: 18px; line-height: 1.55; max-width: 44ch; margin-bottom: 28px; }
.ct-feiten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-feiten li { display: flex; align-items: center; gap: 12px; font: 500 16.5px/1.3 var(--font-head); color: rgba(255, 255, 255, .92); }
.ct-feiten svg {
  width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 0 8px 0 0;
  background: rgba(182, 248, 153, .12); color: var(--ping); stroke-width: 2.6;
}

.ct-paneel.belpaneel-v4 { padding: 18px 28px 14px; }
.ct-paneel .bp4-bol { padding: 4px 0 0; }
.ct-paneel .bp4-orb { width: 118px; height: 118px; }
.ct-paneel .bp4-kern { width: 80px; height: 80px; }
.ct-paneel .bp4-rand { inset: 18px; }
.ct-paneel .bp4-aura { inset: 14px; }
.ct-paneel .bp4-golf { height: 26px; gap: 4px; }
.ct-paneel .bp4-golf i { width: 3.5px; }
.ct-bol-tekst { display: flex; flex-direction: column; align-items: center; }
.ct-paneel .bp4-kop { font-size: 22px; }
.ct-paneel .bp4-actie { margin-top: 8px; }
.ct-paneel .bp4-uitleg { margin-top: 6px; font-size: 13.5px; }
.ct-paneel .ct-route-kop {
  margin: 16px 0 10px; color: rgba(255, 255, 255, .66);
  font: 600 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
}
.ct-zelf .btn { width: 100%; justify-content: center; }
.ct-mens { margin: 12px 0 8px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); text-align: center; }
.ct-mens a { color: var(--ping); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ct-mens a:hover { text-decoration: underline; }
.ct-paneel .widget-note-meer { margin: 0; }
.ct-paneel.pn-actief .ct-route-kop, .ct-paneel.pn-actief .ct-zelf, .ct-paneel.pn-actief .ct-mens { display: none; }

/* ---------- Vragen en demokaart ---------- */
.ct-slot { padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 6vw, 96px); }
.ct-vragen-raster { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.ct-vragen-raster h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; color: var(--ink); margin: 0; }
.ct-vragen { max-width: none; }
.ct-vragen details:first-child { border-top: 1px solid var(--line); }
.ct-vragen summary { font-size: 19px; }
.ct-vragen .antwoord a { color: var(--sage-tekst); font-weight: 600; }

/* ---------- Breekpunten (kop, paneel, vragen) ---------- */
@media (max-width: 980px) {
  .ct-kop .hero5-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 28px 36px; }
  .ct-kop h1 { max-width: none; }
  .ct-kop .hero5-tekst > .ct-oog { order: 0; }
  .ct-kop .hero5-tekst > .ct-feiten { order: 4; margin-top: 26px; }
  .ct-vragen-raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ct-kop h1 { font-size: clamp(28px, 7.7vw, 36px); margin-bottom: 12px; }
  .ct-kop .sub { font-size: 16.5px; }
  .ct-oog { margin-bottom: 10px; font-size: 12px; }
  .ct-vragen summary { font-size: 17px; }
}
@media (max-width: 620px) {
  .ct-paneel.belpaneel-v4 { padding: 14px 16px 10px; }
  .ct-paneel .bp3-status { margin-bottom: 8px; }
  .ct-paneel .bp4-bol {
    flex-direction: row; align-items: center; gap: 14px; margin: 0; padding: 10px 14px;
    border: 1px solid rgba(182, 248, 153, .5); background: rgba(182, 248, 153, .07); border-radius: 0 20px 0 0; text-align: left;
  }
  .ct-paneel .bp4-orb { width: 50px; height: 50px; margin: 0; flex: none; }
  .ct-paneel .bp4-kern { width: 38px; height: 38px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -8px 14px rgba(0, 0, 0, .4); }
  .ct-paneel .bp4-aura { inset: 4px; filter: blur(7px); }
  .ct-paneel .bp4-rand {
    inset: 4px;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  }
  .ct-paneel .bp4-golf { height: 14px; gap: 2px; }
  .ct-paneel .bp4-golf i { width: 2px; }
  .ct-bol-tekst { align-items: flex-start; }
  .ct-paneel .bp4-kop { font-size: 19px; }
  .ct-paneel .bp4-actie { margin: 3px 0 0; padding: 0; border: 0; background: none; font-size: 14.5px; }
  .ct-paneel .bp4-bol:hover .bp4-actie, .ct-paneel .bp4-bol:focus-visible .bp4-actie { background: none; color: var(--ping); }
  .ct-paneel .bp4-uitleg { display: block; margin: 8px 0 0; text-align: center; font-size: 13px; }
  .ct-paneel .ct-route-kop { margin: 12px 0 8px; }
  .ct-paneel .widget-form { gap: 8px; }
  .ct-paneel .widget-form input[type="tel"], .ct-paneel .widget-form .btn { padding-block: 11px; min-height: 44px; }
  .ct-paneel .ct-zelf .btn { padding-block: 11px; min-height: 44px; }
  .ct-mens { margin: 10px 0 6px; }
  .ct-feiten li { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  main#inhoud .aurora span:nth-child(n) { animation: none; }
}

/* ---------- 1. Kop: drie reactietijden in plaats van vinkjes ---------- */
.ct-feiten .ct-feit-ic {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 0 8px 0 0;
  background: rgba(182, 248, 153, .12); color: var(--ping);
}
.ct-feiten .ct-feit-ic svg { width: 15px; height: 15px; padding: 0; background: none; border-radius: 0; stroke-width: 2.2; }
.ct-feiten b { font-weight: 600; color: #fff; }
.ct-feiten li > span:last-child { color: rgba(255, 255, 255, .78); }

/* ---------- 2. Formulier en directe gegevens ---------- */
.ct-sectie { padding-block: clamp(56px, 7vw, 104px); }
.ct-raster.contactgrid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ct-vraag {
  background: #fff; border: 1px solid var(--line); border-radius: 14px 34px 14px 14px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(1, 30, 38, .05), 0 34px 70px -40px rgba(1, 30, 38, .35);
}
.ct-vraag h2, .ct-gegevens h2 {
  font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; color: var(--ink); margin: 0 0 10px;
}
.ct-vraag .lede { color: var(--muted); max-width: 46ch; }
.ct-gegevens.contactvak-gegevens {
  background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3vw, 36px);
}
.ct-gegevens h2 { margin-bottom: 22px; }
.ct-gegevens .contactlijst dd a { font: 600 18px/1.3 var(--font-head); color: var(--ink); text-decoration: none; }
.ct-gegevens .contactlijst dd a:hover { color: var(--sage-tekst); text-decoration: underline; text-underline-offset: 3px; }
.ct-gegevens .contactvak-cta { margin: 26px 0 0; }

@media (max-width: 860px) {
  .ct-raster.contactgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .ct-feiten li { align-items: flex-start; }
  .ct-vraag { border-radius: 12px 26px 12px 12px; }
}
