/* ============================================================
   3. Pagina-compositie — over-ons (alleen token-refs)
   Bewegings-tokens (R14-budget, pagina-lokaal genoteerd): 150–600ms, rustige easing.
   ============================================================ */
:root { --beweeg-duur: 450ms; --beweeg-ease: cubic-bezier(.22,.61,.36,1); }

h1, h2, h3, p { margin: 0; }
p + p { margin-top: var(--ruimte-300); }
:focus-visible { outline: 2px solid var(--kleur-merk); outline-offset: 2px; }
.measure-centrum { max-width: var(--measure-narrow); margin-inline: auto; }
.sectie-kop { margin-bottom: var(--ruimte-500); }
button { font-family: inherit; }

/* ---- 0. PROMO-BALK — dunne financieringsbalk boven de nav (mens-akkoord 2026-07-05; nieuw sibling, nav-partial byte-identiek; R8: geen amber, R6: echte copy) ---- */
.promo-balk { background: var(--prim-merk-donker); color: #eaf6fb; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: var(--ruimte-200); padding: var(--ruimte-200) var(--ruimte-300); text-align: center; }
.promo-inner p { margin: 0; font-size: var(--prim-type-xs); font-weight: 600; }
.promo-inner .promo-mark { color: var(--prim-merk-tint); font-weight: 800; }

/* ---- 1. NAVIGATIE — sticky; header-CTA = het énige accent in de balk (R8) ---- */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--kleur-achtergrond); border-bottom: 1px solid var(--kleur-lijn); }
.nav-inner { display: flex; align-items: center; gap: var(--ruimte-400); padding-block: var(--ruimte-300); }
.nav-logo { font: 800 var(--prim-type-l)/1 var(--prim-font-kop); color: var(--prim-merk-donker); text-decoration: none; flex: none; }
.nav-menu { flex: 1; min-width: 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--ruimte-200) var(--ruimte-400); list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: var(--ruimte-500); color: var(--kleur-tekst); text-decoration: none; font-weight: 600; font-size: var(--prim-type-s); border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--kleur-merk); border-bottom-color: var(--kleur-merk); }   /* actief-/hover-marker in merk, nooit accent (R8) */
.nav-links a[aria-current="page"] { color: var(--prim-merk-donker); border-bottom-color: var(--kleur-merk); }
.nav-cta { flex: none; }
.site-nav .cta { padding: var(--ruimte-200) var(--ruimte-400); font-size: var(--prim-type-s); }
.hamburger, .menu-sluit { display: none; align-items: center; justify-content: center; width: var(--cta-min-hoogte); height: var(--cta-min-hoogte); border: 1px solid var(--kleur-lijn); border-radius: var(--prim-radius-sm); background: var(--kaart-bg); color: var(--kleur-tekst); font-size: var(--prim-type-m); cursor: pointer; flex: none; }

/* ---- 2. HERO — compact 55/45; focuspunt = hero-kop (gezicht + belofte in één blik); tint-verloop ---- */
.sectie-hero { background: linear-gradient(180deg, var(--kleur-vlak-subtiel), var(--kleur-achtergrond)); }
.sectie-hero.section { padding-block: var(--ruimte-600); }
.hero-grid {
  display: grid; gap: var(--ruimte-400) var(--ruimte-700); align-items: center;
  grid-template-columns: minmax(0,55fr) minmax(0,45fr);
  grid-template-areas: "kop beeld" "subzin beeld";
}
.hero-kop { grid-area: kop; align-self: end; }
.hero-subzin { grid-area: subzin; align-self: start; color: var(--kleur-tekst); max-width: var(--measure-narrow); font-size: var(--prim-type-l); line-height: var(--prim-lijnhoogte); }
.hero-beeld { grid-area: beeld; margin: 0; }

/* ---- foto-mock — nette geblokte placeholder voor echte-foto-slots (C-11, mock-regime) ----
   Compositie conform contact-patroon (adviseur-slot C-11): subtiel getint vlak + hairline,
   daarbinnen gecentreerde avatar-cirkel (initialen in accent-serif óf neutraal icoon in merk-tint)
   plus klein huisstijl-label — géén metatekst (R6). */
.foto-mock {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--ruimte-300);
  background: linear-gradient(135deg, var(--prim-grijs-100), var(--kleur-vlak-subtiel));
  border: 1px solid var(--kleur-lijn); border-radius: var(--prim-radius-lg);
  color: var(--prim-merk-donker); box-shadow: var(--prim-elevatie-md);
  width: 100%;
}
.foto-mock--hero { aspect-ratio: 4/3; }
.foto-mock--team { aspect-ratio: 4/3; border-radius: 0; border: 0; box-shadow: none; border-bottom: 1px solid var(--kleur-lijn); }
.foto-mock--pand { aspect-ratio: 4/5; }
.mock-avatar {
  width: var(--ruimte-800); height: var(--ruimte-800); flex: none;
  border-radius: var(--prim-radius-pill); background: var(--kaart-bg);
  border: 1px solid var(--kleur-lijn); box-shadow: var(--prim-elevatie-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--prim-font-accent-serif); font-size: var(--prim-type-xl); color: var(--prim-merk-donker);
}
.mock-avatar svg { width: var(--ruimte-600); height: var(--ruimte-600); }
.mock-label { font-size: var(--prim-type-s); font-weight: 600; color: var(--kleur-merk); letter-spacing: .02em; }

/* ---- 3. WAAROM-NAAR0 — verhaal op leesmaat (RR1) + drager-kaartenrij 3 (R1/R2) ---- */
.waarom-verhaal { max-width: var(--measure-narrow); margin-bottom: var(--ruimte-600); }
.drager-kaart { display: flex; flex-direction: column; }
.drager-kaart h3 { font-size: var(--prim-type-m); margin-bottom: var(--ruimte-200); }
.drager-kaart p { font-size: var(--prim-type-s); }
.icoon {
  width: var(--ruimte-600); height: var(--ruimte-600); flex: none;
  border-radius: var(--prim-radius-pill); background: var(--kleur-vlak-subtiel);
  color: var(--prim-merk-donker); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--ruimte-300);
}

/* ---- 4. WERKWIJZE — 2-koloms 55/45, visual dominant (R15-wissel); icoon-flow in HTML/CSS ---- */
.werkwijze-grid {
  display: grid; gap: var(--ruimte-500) var(--ruimte-700); align-items: start;
  grid-template-columns: minmax(0,55fr) minmax(0,45fr);
  grid-template-areas: "visual kop" "visual rest";
}
.werkwijze-kop { grid-area: kop; margin-bottom: 0; }
.werkwijze-visual { grid-area: visual; margin: 0; }
.werkwijze-rest { grid-area: rest; }
.flow-paneel {
  background: linear-gradient(160deg, var(--prim-grijs-100), var(--kleur-achtergrond));
  border: 1px solid var(--kleur-lijn); border-radius: var(--prim-radius-lg);
  box-shadow: var(--prim-elevatie-sm); padding: var(--ruimte-600) var(--ruimte-400);
}
.flow { display: flex; align-items: center; justify-content: center; gap: var(--ruimte-300); }
.flow-stap { display: flex; flex-direction: column; align-items: center; gap: var(--ruimte-200); text-align: center; flex: 1; min-width: 0; }
.flow-icoon {
  width: var(--ruimte-700); height: var(--ruimte-700); border-radius: var(--prim-radius-pill);
  background: var(--kleur-vlak-subtiel); color: var(--prim-merk-donker);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--kleur-lijn);
}
.flow-label { font-size: var(--prim-type-s); font-weight: 700; color: var(--prim-merk-donker); }
.flow-pijl { color: var(--kleur-merk); flex: none; display: inline-flex; }
.werkwijze-onderschrift { margin-top: var(--ruimte-300); font-size: var(--prim-type-s); color: var(--kleur-tekst-zacht); text-align: center; }
.werkwijze-stappen { list-style: none; margin: var(--ruimte-500) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--ruimte-400); }
.werkwijze-stap { display: flex; gap: var(--ruimte-300); align-items: flex-start; }
.werkwijze-stap .stap-marker { flex: none; margin-top: var(--ruimte-100); }
.werkwijze-stap h3 { font-size: var(--prim-type-m); margin-bottom: var(--ruimte-100); }
.werkwijze-stap p { font-size: var(--prim-type-s); }
.werkwijze-bron {
  margin-top: var(--ruimte-500); position: relative; padding-left: var(--ruimte-400);
  font-weight: 600; color: var(--prim-merk-donker); max-width: var(--measure-narrow);
}
.werkwijze-bron::before { content: "✓"; position: absolute; left: 0; color: var(--kleur-marker); font-weight: 700; }

/* ---- 5. TEAM — kaartenrij 3; beeld op volle kaartbreedte boven de tekst (R10, RR3) ---- */
.team-kaart { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.team-foto { margin: 0; }
/* echte teamfoto's (mock-persona's tot C-11-akkoord) — zelfde beeldritme als de placeholder: 4/3 crop, hairline eronder */
.team-foto img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 1px solid var(--kleur-lijn); }
.team-tekst { padding: var(--kaart-padding); display: flex; flex-direction: column; gap: var(--ruimte-200); flex: 1; }
.team-tekst h3 { font-size: var(--prim-type-m); }
.team-credential { font-size: var(--prim-type-s); color: var(--kleur-tekst-zacht); }
.team-regel { margin-top: auto; padding-top: var(--ruimte-300); font-family: var(--prim-font-accent-serif); font-size: var(--prim-type-m); color: var(--prim-merk-donker); }
.team-regel::before { content: "“"; }
.team-regel::after { content: "”"; }

/* ---- 6. CONTACT-BLOK — bewust asymmetrisch 35/65 (hét R15-moment); NAP-kaart = focuspunt ---- */
.contact-grid {
  display: grid; gap: var(--ruimte-400) var(--ruimte-600); align-items: start;
  grid-template-columns: minmax(0,35fr) minmax(0,65fr);
  grid-template-areas: "foto kop" "foto inhoud";
}
.contact-kop { grid-area: kop; margin-bottom: 0; }
.pand-foto { grid-area: foto; margin: 0; }
.contact-inhoud { grid-area: inhoud; }
.nap-kaart { padding: 0; overflow: hidden; }
.nap-regel { display: flex; align-items: center; gap: var(--ruimte-200); padding: var(--ruimte-300) var(--kaart-padding); font-size: var(--prim-type-m); }
.nap-regel + .nap-regel { border-top: 1px solid var(--kleur-lijn); }
.nap-label { font-weight: 700; color: var(--prim-merk-donker); flex: none; }
.nap-regel a { color: var(--kleur-merk); text-decoration: underline; display: inline-flex; align-items: center; min-height: var(--ruimte-500); }
.nap-regel a:hover { color: var(--prim-merk-donker); }
.contact-doorlink { margin-top: var(--ruimte-400); font-size: var(--prim-type-s); }

/* ---- 7. EIND-CTA — smal gecentreerd; CTA-knop = hét accent-moment; terugbel = tekstlink-vangnet ---- */
.sectie-eind { text-align: center; }
.eind-vertrouwen { color: var(--prim-merk-donker); font-weight: 600; margin: var(--ruimte-300) 0 var(--ruimte-500); }
.mini-cta { margin-top: var(--ruimte-500); }
.terugbel-trigger {
  background: none; border: 0; padding: var(--ruimte-200) 0; min-height: var(--cta-min-hoogte);
  color: var(--kleur-merk); font: 600 var(--prim-type-s)/var(--prim-lijnhoogte) var(--prim-font-body);
  text-decoration: underline; cursor: pointer;
}
.terugbel-trigger:hover { color: var(--prim-merk-donker); }
.terugbel-veld { max-width: var(--measure-narrow); margin: var(--ruimte-300) auto 0; text-align: left; }
.veld-label { display: block; font-size: var(--prim-type-s); font-weight: 700; margin-bottom: var(--ruimte-100); color: var(--kleur-tekst); }
.veld {
  width: 100%; box-sizing: border-box; min-height: var(--cta-min-hoogte);
  padding: var(--ruimte-200) var(--ruimte-300);
  border: 1px solid var(--kleur-lijn); border-radius: var(--prim-radius-sm);
  background: var(--kaart-bg); color: var(--kleur-tekst); font: inherit;
}
.veld:hover { border-color: var(--kleur-merk); }
.veld:focus { border-color: var(--kleur-merk); }
.terugbel-rij { display: flex; gap: var(--ruimte-200); }
.terugbel-rij .veld { flex: 1; }
.terugbel-succes { margin-top: var(--ruimte-300); font-weight: 600; color: var(--kleur-functioneel-groen); }
.privacy { font-size: var(--prim-type-s); color: var(--kleur-tekst-zacht); margin-top: var(--ruimte-300); }
.routeer-links { list-style: none; margin: var(--ruimte-600) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--ruimte-300); font-size: var(--prim-type-s); }

/* ---- footer (site-breed patroon: navigatie + juridisch — 7 items conform site-structuur) ---- */
.voet { background: var(--kleur-achtergrond); border-top: 1px solid var(--kleur-lijn); padding: var(--ruimte-600) var(--ruimte-300); }
.voet-nav { display: flex; flex-wrap: wrap; gap: var(--ruimte-300) var(--ruimte-400); list-style: none; margin: 0 0 var(--ruimte-400); padding: 0; justify-content: center; }
.voet-nav a { color: var(--kleur-tekst-zacht); text-decoration: none; font-size: var(--prim-type-s); font-weight: 600; }
.voet-nav a:hover { color: var(--kleur-merk); }
.voet-juridisch { text-align: center; font-size: var(--prim-type-s); color: var(--kleur-tekst-zacht); }

/* ---- Levendigheid (R14): scroll-reveal + hover-lift — alleen transform/opacity, 150–600ms ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(var(--ruimte-300)); transition: opacity var(--beweeg-duur) var(--beweeg-ease), transform var(--beweeg-duur) var(--beweeg-ease); }
  .js .reveal.is-zichtbaar { opacity: 1; transform: none; }
  .lift { transition: transform var(--beweeg-duur) var(--beweeg-ease), box-shadow var(--beweeg-duur) var(--beweeg-ease); }
  .lift:hover { transform: translateY(calc(-1 * var(--ruimte-100))); box-shadow: var(--prim-elevatie-md); }
  .cta { transition: background-color var(--beweeg-duur) var(--beweeg-ease), transform var(--beweeg-duur) var(--beweeg-ease); }
  .cta:hover { transform: translateY(calc(-1 * var(--ruimte-100) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .lift, .lift:hover, .cta { transition: none; transform: none; }
}
.cta:hover { background: var(--prim-accent-hover); }

/* ---- Navigatie mobiel (~390px): canoniek hamburger-paneel ---- */
@media (max-width: 767px) {
  .nav-inner { gap: var(--ruimte-200); }
  .nav-menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--kleur-achtergrond); padding: var(--ruimte-500) var(--ruimte-400); overflow: auto; }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; gap: var(--ruimte-300); margin-top: var(--ruimte-400); }
  .nav-links a { font-size: var(--prim-type-m); min-height: var(--cta-min-hoogte); }
  .hamburger { display: inline-flex; }
  .nav-menu .menu-sluit { display: inline-flex; }
  .nav-cta { flex: 1; min-width: 0; }
  .site-nav .cta { width: 100%; box-sizing: border-box; padding: var(--ruimte-200); font-size: var(--prim-type-xs); }
}

/* ---- Mobiel (~390px): stapelvolgorde conform wireframe-mobiel ---- */
@media (max-width: 767px) {
  h1 { font-size: var(--prim-type-xl); }
  h2 { font-size: var(--prim-type-l); }
  .hero-subzin { font-size: var(--prim-type-m); }
  .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "kop" "subzin" "beeld"; }   /* stapel 2-3-4: beeld volle breedte onder de tekst */
  .werkwijze-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "kop" "visual" "rest"; gap: var(--ruimte-400); }   /* stapel 10-16 */
  .flow-paneel { padding: var(--ruimte-400) var(--ruimte-300); }
  .contact-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "kop" "foto" "inhoud"; }   /* stapel 21-24 */
  .foto-mock--pand { aspect-ratio: 16/6; flex-direction: row; }   /* pand-foto gereduceerd tot smalle strip (wireframe stapel 22); compositie in rij zodat avatar + label passen */
  .foto-mock--pand .mock-avatar { width: var(--ruimte-700); height: var(--ruimte-700); }
  .foto-mock--pand .mock-avatar svg { width: var(--ruimte-500); height: var(--ruimte-500); }
}
