/* ==========================================================================
   STAPPENFORMULIER (landingspagina's, zie assets/js/stepform.js)
   ========================================================================== */
.lp-hero__form{ position:relative; }
/* overflow:clip i.p.v. hidden: voorkomt dat de hero opzij schuift als een optie focus krijgt */
.lp-hero:has(.lp-hero__form){ overflow:clip; }
.lp-hero__form .lp-sticker{ top:-2.2rem; right:-1.4rem; }
.sf{
  position:relative; background:var(--paper); color:var(--ink);
  border-radius:24px; padding:clamp(1.5rem,3vw,2.2rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(246,243,236,.08);
}
.sf-title{ font-family:var(--font-display); font-size:clamp(1.35rem,2vw,1.65rem); font-weight:700; line-height:1.2; letter-spacing:-.02em; color:var(--ink); padding-right:4.5rem; }
.sf-sub{ margin-top:.45rem; padding-right:3.5rem; font-size:var(--fs-small); color:var(--text-on-paper-70); line-height:1.5; }
.sf-progress{ height:4px; border-radius:4px; background:var(--paper-line); margin:1.4rem 0 .8rem; overflow:hidden; }
.sf-progress__fill{ display:block; height:100%; width:25%; background:var(--coral); border-radius:4px; transition: width .45s var(--ease-out); }
.sf-meta{ display:flex; justify-content:space-between; align-items:center; min-height:1.6rem; }
.sf-count{ font-family:var(--font-mono); font-size:var(--fs-tiny); letter-spacing:.08em; text-transform:uppercase; color:var(--text-on-paper-70); }
.sf-back{ background:none; border:0; padding:.2rem 0; font:inherit; font-size:var(--fs-small); font-weight:600; color:var(--ink); cursor:pointer; text-decoration:underline; text-underline-offset:.2em; }
.sf-step{ border:0; padding:0; margin:0; min-width:0; }
.sf-step.is-active{ animation: sf-in .35s var(--ease-out); }
@keyframes sf-in{ from{ opacity:0; transform:translateX(12px); } to{ opacity:1; transform:none; } }
.sf-q{ display:block; font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--ink); margin:.9rem 0 1rem; outline:none; }
.sf-options{ display:grid; gap:.65rem; }
.sf-opt{ position:relative; display:flex; align-items:center; gap:.85rem; padding:.95rem 1.1rem; border:1.5px solid var(--paper-line); border-radius:14px; background:#fff; cursor:pointer; font-weight:600; font-size:1rem; line-height:1.35; transition: border-color var(--dur-fast, .2s), background-color var(--dur-fast, .2s), transform .15s; }
.sf-opt:hover{ border-color:var(--ink); }
.sf-opt:active{ transform:scale(.99); }
.sf-opt input{ position:absolute; opacity:0; pointer-events:none; }
.sf-opt__dot{ flex:0 0 20px; height:20px; border-radius:50%; border:1.5px solid rgba(14,14,18,.35); background:#fff; transition: inherit; }
.sf-opt:has(input:checked){ background:var(--lime); border-color:var(--lime-dim); }
.sf-opt:has(input:checked) .sf-opt__dot{ border-color:var(--ink); box-shadow: inset 0 0 0 5px var(--lime); background:var(--ink); }
.sf-opt:has(input:focus-visible){ outline:2px solid var(--ink); outline-offset:2px; }
.sf-fields{ display:grid; gap:.7rem; }
.sf-field label{ display:block; font-family:var(--font-mono); font-size:var(--fs-tiny); letter-spacing:.08em; text-transform:uppercase; color:var(--text-on-paper-70); margin-bottom:.35rem; }
.sf-field input{ width:100%; padding:.85rem 1rem; border:1.5px solid var(--paper-line); border-radius:12px; background:#fff; color:var(--ink); font:inherit; font-size:1rem; transition: border-color var(--dur-fast, .2s); }
.sf-field input:focus{ outline:none; border-color:var(--ink); }
.sf-hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.sf-submit{ width:100%; justify-content:center; margin-top:1.1rem; }
.sf-submit:disabled{ opacity:.6; cursor:wait; }
.sf-privacy{ margin-top:.7rem; font-size:.78rem; color:var(--text-on-paper-45); text-align:center; }
.sf-status{ font-size:var(--fs-small); margin-top:.8rem; font-family:var(--font-mono); text-align:center; }
.sf-status:empty{ display:none; }
.sf-status.is-error{ color:var(--coral-dim); }
.sf-foot{ margin-top:1.2rem; text-align:center; font-size:.8rem; color:var(--text-on-paper-70); display:flex; align-items:center; justify-content:center; gap:.5rem; }
.sf-foot::before{ content:""; width:8px; height:8px; border-radius:50%; background:#3DBE5C; box-shadow:0 0 0 3px rgba(61,190,92,.2); }
.sf.is-done .sf-progress, .sf.is-done .sf-meta, .sf.is-done .sf-foot, .sf.is-done .sf-sub, .sf.is-done .sf-title{ display:none; }
.sf-done{ text-align:center; padding:1rem 0 .4rem; }
.sf-done__icon{ width:64px; height:64px; margin:0 auto 1rem; border-radius:50%; background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/28px no-repeat; }
.sf-done .sf-done__name{ color:var(--ink); font-family:var(--font-display); font-size:1.5rem; font-weight:700; outline:none; }
.sf-done p{ margin-top:.6rem; color:var(--text-on-paper-70); line-height:1.6; }
.sf-done a{ color:var(--ink); font-weight:700; text-decoration:underline; text-underline-offset:.2em; }
@media (max-width:900px){
  .lp-hero__form{ max-width:560px; }
  .lp-hero__form .lp-sticker{ top:-1.6rem; right:-.4rem; }
  /* Mobiel: formulier direct onder de intro, boven de knoppen en vinkjes */
  .lp-hero__grid:has(.lp-hero__form){ row-gap:0; }
  .lp-hero__grid:has(.lp-hero__form) > div:first-child{ display:contents; }
  .lp-hero__grid:has(.lp-hero__form) .eyebrow{ order:1; }
  .lp-hero__grid:has(.lp-hero__form) h1{ order:2; }
  .lp-hero__grid:has(.lp-hero__form) .lp-hero__lead{ order:3; }
  .lp-hero__grid:has(.lp-hero__form) .lp-hero__form{ order:4; margin-top:2.6rem; }
  .lp-hero__grid:has(.lp-hero__form) .lp-hero__ctas{ order:5; }
  .lp-hero__grid:has(.lp-hero__form) .lp-checks{ order:6; }
  .sf-sub{ padding-right:4.5rem; }
}
@media (prefers-reduced-motion: reduce){ .sf-step.is-active{ animation:none; } .sf-progress__fill{ transition:none; } }
