/* ============================================================
   NEAR-FINAL – Paginaspecifieke overrides voor near-final.html
   Altijd als LAATSTE CSS-bestand laden zodat cascade-volgorde
   !important overbodig maakt.
   ============================================================ */

/* ── 0. NAVIGATIE ────────────────────────────────────────────
   ──────────────────────────────────────────────────────────── */
.navbar-brand.logo span { display: none; }

/* ── 1. TYPOGRAFIE: twee lagen ───────────────────────────────
   Labels: 11.5px  |  Broodtekst: 16px  |  Groot: clamp/h-specifiek
   ──────────────────────────────────────────────────────────── */

/* Broodtekst: één maat */
.step p,
.benefit p,
.extra-body p,
.nf-slide-p,
.garantie p,
.cred-list li,
.contact-direct p,
.contact .note,
.form-note,
.info-block p,
.info-blocks-row .info-block p,
.fw-result-body,
.fw-q-text,
.fw-opt-body b,
.fw-opt-body span,
.sa-body,
.sa-body p,
.sa-list li,
.sa-note,
.sa-title,
.sb-text { font-size: 16px; line-height: 1.65; }

/* Labels: één maat */
.extra-body .meta,
.stat span,
.fw-counter,
.fw-q-num,
.fw-result-meta,
.sa-num,
.sa-cat { font-size: 11.5px; letter-spacing: .14em; }

.extra-body h3 { font-size: 20px; }

/* Voorkom dat koppen horizontaal buiten hun container lopen */
h2 { overflow-wrap: break-word; }
h2 .serif-acc { display: inline; }

/* ── 2. HERO-STICKER: sticker op 'Ontdek het proces'-knop ───── */
.btn-sticker-wrap {
  position: relative;
}
.btn-sticker-wrap .hero-sticker {
  position: absolute;
  top: -26px;
  left: -6px;
  right: auto;
  transform: rotate(-6deg);
  z-index: 5;
}

/* ── 4. WORD-TICKER: één vraag tegelijk, 100ms blackout ─────── */
.nf-ticker-bar {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--dark);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
}
#nfTicker {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark-snow);
  opacity: 0;
  display: inline-block;
  min-height: 1em;
  transition: opacity .25s;
}
#nfTicker.v { opacity: 1; }

/* ── 5. RESULTAAT: nieuw brutalistisch rij-layout ───────────
   2 kolommen: smal nummerblok | inhoud gestapeld
   Hover: nummerblok vult met blauw
   ──────────────────────────────────────────────────────────── */
.nf-benefits {
  margin-top: 56px;
  border-top: 2px solid var(--ink);
}
.nf-benefit {
  display: grid;
  grid-template-columns: 72px 1fr;
  border-bottom: 2px solid var(--line-strong);
  cursor: default;
  transition: background .06s steps(1);
}
.nf-benefit:hover { background: var(--blue-dim); }
.nf-benefit:hover .nf-num {
  background: var(--blue);
  color: #fff;
  border-right-color: var(--blue);
}
.nf-num {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--blue);
  border-right: 2px solid var(--line-strong);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  transition: background .06s steps(1), color .06s steps(1), border-color .06s steps(1);
}
.nf-content { padding: 28px 0 28px 28px; }
.nf-content h3 {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.nf-content p {
  color: var(--mist);
  font-size: 15px;
  max-width: 640px;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 575px) {
  .nf-benefit { grid-template-columns: 44px 1fr; }
  .nf-num { padding-top: 22px; font-size: 10px; }
  .nf-content { padding: 22px 0 22px 16px; }
}

/* ── 6. EXTRA KAARTEN: losmaken van gedeelde buitenrand ────── */
.extra-grid-wrap { border: none; }
.extra-card { border: 2px solid var(--ink); }
.extra-card:last-child { border-right: 2px solid var(--ink); }

/* Diagnostisch afbeeldingsveld: ph-tag onderaan */
.extra-diag-ph { min-height: 200px; }
.extra-diag-ph img { object-position: 50% 100%; }
.extra-diag-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.extra-body { padding: 20px; }

/* Pijnpunt-cel: full-bleed onderste strook, blauw met witte tekst */
.extra-body .meta {
  margin-top: auto;
  margin-left:   -20px;
  margin-right:  -20px;
  margin-bottom: -20px;
  padding: 13px 20px;
  border-top: 2px solid var(--ink);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.55;
}

/* Stats: hover → donker (leesbaar contrast voor blauwe getallen) */
.stat:hover { background: var(--ink); }
.stat:hover span { color: rgba(224,242,254,.55); }

/* ── 8. GARANTIE: gecentreerd + groot cijfer boven tekst ──── */
.nf-garantie { text-align: center; border: none; background: none; }
.nf-garantie .nf-g-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.nf-garantie .g-num {
  font-size: clamp(88px, 13vw, 148px);
  -webkit-text-stroke-width: 3px;
  display: block;
  margin-bottom: 4px;
}
.nf-garantie .g-num small {
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: .22em;
}
.nf-garantie h3 { max-width: 540px; }
.nf-garantie p { max-width: 580px; margin: 0 auto; }

/* ── 9. TELEFOONNUMMER-BLOK: grotere variant van cd-num ──────── */
@keyframes tel-jitter {
  0%   { -webkit-text-stroke: 0;             color: var(--blue); }
  5%   { -webkit-text-stroke: 3px var(--blue); color: transparent; }
  10%  { -webkit-text-stroke: 0;             color: var(--blue); }
  15%  { -webkit-text-stroke: 3px var(--blue); color: transparent; }
  20%  { -webkit-text-stroke: 0;             color: var(--blue); }
  25%  { -webkit-text-stroke: 3px var(--blue); color: transparent; }
  30%  { -webkit-text-stroke: 0;             color: var(--blue); }
  100% { -webkit-text-stroke: 0;             color: var(--blue); }
}
.contact .contact-direct .cd-num {
  font-size: clamp(40px, 6.5vw, 88px);
  -webkit-text-stroke-width: 3px;
  animation: tel-jitter 5s steps(1) infinite;
}
.contact .contact-direct .cd-num:hover {
  animation: none;
}
.contact .contact-direct .cd-num small {
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: .22em;
}
.afspraak-form label { color: var(--dark-blue); }

/* ── 12. RESULTAAT – stap-carousel (near-final-v2) ──────────────
   Eén voordeel tegelijk in beeld. Links blauw nummerblok (vertikaal),
   rechts inhoud. CRT-scanner reveal via steps(7) clip-path wipe.
   Stack-effect: 3 schaduwkaarten zichtbaar achter de actieve kaart.
   ──────────────────────────────────────────────────────────── */

/* Wrapper: ruimte voor de uitstekende schaduwkaarten */
.nf-stack-wrap {
  position: relative;
  margin-top: 48px;
  padding-right: 22px;
  padding-bottom: 22px;
}

/* Schaduwkaarten: vullen dezelfde ruimte als .nf-reel, verschoven */
.nf-stack-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 22px;
  bottom: 22px;
  border: 2px solid var(--ink);
  background: var(--bg);
}
/* Elke schaduwkaart toont een donkere HUD-strip bovenaan */
.nf-stack-bg::before {
  content: '';
  display: block;
  height: 40px;
  background: var(--ink);
}

.nf-sb-1 {
  transform: translate(8px, 8px);
  z-index: 3;
  background: #edf0f6;
  border-color: rgba(4,12,26,.75);
}
.nf-sb-2 {
  transform: translate(15px, 15px);
  z-index: 2;
  background: #e2e6ef;
  border-color: rgba(4,12,26,.5);
}
.nf-sb-2::before { opacity: .7; }

.nf-sb-3 {
  transform: translate(22px, 22px);
  z-index: 1;
  background: #d8dde8;
  border-color: rgba(4,12,26,.3);
}
.nf-sb-3::before { opacity: .45; }

/* Actieve kaart bovenop de stapel */
.nf-reel {
  position: relative;
  z-index: 4;
  border: 2px solid var(--ink);
  margin-top: 48px;
}

/* Header HUD-balk */
.nf-reel-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: var(--ink);
  position: relative;
  z-index: 2;
}
.nf-reel-sys {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.nf-reel-pills { display: flex; align-items: center; gap: 0; }
/* Indicators links, sys-tekst rechts */
.nf-reel-hud .nf-reel-pills { order: -1; }
.nf-pill {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.3);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .05s steps(1), border-color .05s steps(1);
}
.nf-pill.active {
  background: var(--blue);
  border-color: var(--blue);
}
.nf-pill:hover:not(.active) {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.55);
}
.nf-pill-line {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.2);
}

/* Viewport: alle slides gestapeld in dezelfde gridcel → hoogte = langste slide */
.nf-reel-view {
  display: grid;
  overflow: hidden;
}

.nf-slide {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr;
  visibility: hidden;
  position: relative;
  overflow: hidden;
}
.nf-slide.active { visibility: visible; }

/* Geestvormig achtergrondgetal */
.nf-slide-aside {
  position: absolute;
  top: -10px;
  right: 20px;
  background: none;
  border: none;
  min-height: unset;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  z-index: 0;
}
.nf-slide-aside span {
  writing-mode: horizontal-tb;
  transform: none;
  font-family: var(--font-d);
  font-size: clamp(90px, 14vw, 160px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(4,12,26,.07);
  letter-spacing: -.04em;
  line-height: 1;
  padding: 0;
}

/* Inhoud: volle breedte */
.nf-slide-main {
  grid-column: 1;
  padding: 36px 40px 40px;
  position: relative;
  z-index: 1;
}
.nf-slide-h {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.nf-slide-p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mist);
  max-width: 640px;
  margin: 0;
}

/* Onderste navigatiebalk */
.nf-reel-ctrl {
  display: flex;
  border-top: 2px solid var(--ink);
  background: var(--bg-2, #ffffff);
}
.nf-ctrl-btn {
  flex: 1;
  background: var(--bg-2, #ffffff);
  border: none;
  padding: 14px 0;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: pointer;
  transition: background .06s steps(1);
}
.nf-ctrl-btn:hover { background: #fff; }
#nfPrev { border-right: 2px solid var(--ink); }

@media (max-width: 575px) {
  .nf-stack-wrap { padding-right: 12px; padding-bottom: 12px; }
  .nf-stack-bg { right: 12px; bottom: 12px; }
  .nf-sb-1 { transform: translate(4px, 4px); }
  .nf-sb-2 { transform: translate(8px, 8px); }
  .nf-sb-3 { transform: translate(12px, 12px); }
  .nf-slide { grid-template-columns: 1fr; }
  .nf-slide-aside { top: -6px; right: 12px; }
  .nf-slide-aside span { font-size: clamp(60px, 20vw, 90px); }
  .nf-slide-main { padding: 24px 20px; }
  .nf-reel-hud { padding: 10px 14px; }
  .nf-reel-pills { gap: 3px; }
}

/* Pull-quote: gecentreerd, geen linkerbalk */
.pull-quote {
  border-left: none;
  padding-left: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Pull-quote em: geen outline-text, gewone blauwe vulkleur */
.pull-quote em {
  -webkit-text-stroke: 0;
  color: var(--blue);
  font-style: italic;
}

/* ── 14. SCHOENADVIES: koopadvies-accordion ─────────────────────
   Visuele taal: zelfde rasterlogica als .nf-benefit-rijen.
   ──────────────────────────────────────────────────────────── */
.sa-lead { max-width: 720px; margin-top: 26px; }
.sa-accordion { margin-top: 48px; border-top: 2px solid var(--ink); }
.sa-item { border-bottom: 2px solid var(--line-strong); }

.sa-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 0 16px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background .06s steps(1);
}
.sa-toggle:hover,
.sa-toggle[aria-expanded="true"] { background: var(--blue-dim); }
.sa-toggle[aria-expanded="true"] .sa-arrow { transform: rotate(45deg); }

.sa-num {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--blue);
  padding-left: 4px;
}
.sa-title {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.sa-arrow {
  font-family: var(--font-m);
  font-size: 18px;
  color: var(--blue);
  justify-self: end;
  transition: transform .18s ease;
  line-height: 1;
  display: block;
}

.sa-body {
  padding: 4px 0 28px 72px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mist);
}
.sa-body p { margin-bottom: 12px; }
.sa-body p:last-child { margin-bottom: 0; }

.sa-cat {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5px;
}
.sa-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.sa-list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 7px;
  font-size: 15px;
  color: var(--mist);
}
.sa-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: var(--font-m);
}
.sa-note {
  border-left: 2px solid var(--blue);
  padding-left: 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 0;
}
.sa-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}
.sa-outro {
  margin-top: 40px;
  font-size: 15px;
  color: var(--mist);
}
.sa-outro a { color: var(--blue); font-weight: 700; }
.sa-outro a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .sa-toggle { grid-template-columns: 44px 1fr 20px; }
  .sa-body { padding-left: 28px; }
  .sa-cols { grid-template-columns: 1fr; }
}

/* ── 16. BERGEFFECT: verwijderd op verzoek ──────────────────────── */

/* ── 17. FIT-WIZARD: naar nf-reel visuele taal ──────────────────
   Zelfde border/shadow als nf-reel, donkere HUD-balk bovenaan,
   indicatorblokjes (fw-step-dot) op donkere achtergrond,
   onderste navigatiebalk als nf-reel-ctrl (full-bleed flex).
   ──────────────────────────────────────────────────────────── */

/* Outer container: zelfde border als nf-reel */
.fit-wizard { border-width: 2px; }

/* Stapeleffect: margin en box-shadow zitten nu op de wrapper */
.nf-stack-wrap .fit-wizard {
  z-index: 4;
  margin-top: 0;
  box-shadow: none;
}

/* HUD-balk: zelfde donkere toon als nf-reel-hud */
.fw-header {
  background: var(--ink);
  border-bottom: none;
}
.fw-step-dot {
  border-color: rgba(255,255,255,.3);
  box-shadow: none;
}
.fw-step-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
}
.fw-step-line { background: rgba(255,255,255,.2); }
.fw-counter { color: rgba(255,255,255,.5); }

/* Paneel-padding als variabele voor negatieve marges */
.fw-panel {
  --fw-p: clamp(24px, 4vw, 48px);
  padding: var(--fw-p);
}

/* Onderste nav: full-bleed balk, zelfde stijl als nf-reel-ctrl */
.fw-nav {
  margin-left:   calc(var(--fw-p) * -1);
  margin-right:  calc(var(--fw-p) * -1);
  margin-bottom: calc(var(--fw-p) * -1);
  margin-top: 28px;
  border-top: 2px solid var(--ink);
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}
.fw-nav .fw-back,
.fw-nav .btn.fw-next {
  flex: 1;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 14px 0;
  font-family: var(--font-m);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background .06s steps(1), color .06s steps(1);
  line-height: 1.5;
}
.fw-nav .fw-back {
  background: none;
  color: var(--mist);
  border-right: 1.5px solid var(--ink);
}
.fw-nav .fw-back:hover { background: var(--blue-dim); color: var(--blue); }

/* fw-next: disabled tot klaar, daarna blauw accent */
.fw-nav .btn.fw-next {
  background: none;
  color: var(--blue);
  opacity: .35;
}
.fw-nav .btn.fw-next.ready {
  opacity: 1;
  background: var(--blue-dim);
}
.fw-nav .btn.fw-next.ready:hover { background: var(--blue); color: #fff; }

/* ── 18. SCHOENADVIES CAROUSEL ──────────────────────────────── */
.nf-stack-wrap .sa-carousel {
  margin-top: 0;
  z-index: 4;
  position: relative;
}

/* Inverted pc-header: lichtblauw label, donker nummerbadge */
.sa-card .pc-header {
  background: var(--blue);
  border-bottom: 2px solid var(--ink);
  padding: 14px clamp(14px, 1.8vw, 22px);
}
.sa-card .pc-header h3 {
  color: #fff;
  opacity: 1;
}
.sa-card .pc-header .badge-custom {
  background: var(--ink);
  color: #fff;
}

.sa-carousel {
  margin-top: 48px;
  border: 2px solid var(--ink);
}

/* HUD-balk */
.sa-car-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  padding: 10px 20px;
  gap: 20px;
  min-height: 48px;
}
.sa-car-sys {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
/* Indicators links, sys-tekst rechts (via order) */
.sa-car-hud .nf-reel-pills { order: -1; }


/* Pagina's */
.sa-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.sa-page[hidden] { display: none; }

/* Individuele kaart */
.sa-card {
  border-right: 2px solid var(--ink);
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
}
.sa-card:last-child { border-right: none; }

/* Kaartinhoud */
.sa-card-body {
  padding: clamp(14px, 1.8vw, 22px);
  flex: 1;
}
.sa-card-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mist);
  margin: 0;
}
.sa-card:hover .sa-card-body { background: var(--blue-dim); }

/* Navigatieknoppen */
.sa-car-ctrl {
  display: flex;
  border-top: 2px solid var(--ink);
}
#saCarPrev { border-right: 2px solid var(--ink); }

/* Mobiel: 1 kolom */
@media (max-width: 767px) {
  .sa-page { grid-template-columns: 1fr; }
  .sa-card { border-right: none; border-bottom: 2px solid var(--ink); }
  .sa-card:last-child { border-bottom: none; }
}
