/* ============================================================
   Fitfabriek De Baard — Concept Build run-010 · Homepage-iteratie
   Basis: run-008-opus v1-b (Training Ledger — discipline met ritme)
   Iteratie t.o.v. v1-b:
   - Logo (merk-mark) + woordmerk linksboven in de nav.
   - Cryptische 01–12 cadansrail vervangen door scroll-spy sectie-rail
     met echte sectienamen.
   - Nummers alleen waar ze betekenis hebben: "Pijler 01–03" op de drie
     pijlers; Ralf/werkwijze/contact zonder willekeurig nummer.
   - Bredere 2-koloms ledger-rijen (content + media), foto's op
     aspect-ratio (geen rare uitsnedes).
   Kleur: COLOR-FITFABRIEK-B-001 r2 · accent #1FA85C
   Type:  Saira Condensed (display) + Hanken Grotesk (body)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #060708;
  --dark:       #0e0f11;
  --dark-2:     #141517;
  --anthracite: #1a1b1e;
  --white:      #ffffff;
  --off-white:  #f4f2ec;
  --text-d:     #ecebe6;
  --text-m:     rgba(236,235,230,0.48);
  --text-l:     #111214;
  --text-ml:    #565a60;
  --blue:       #1fa85c;
  --blue-h:     #18904d;
  --blue-dim:   rgba(31,168,92,0.14);
  --wa:         #25d366;
  --divider:    rgba(255,255,255,0.08);
  --divider-l:  rgba(0,0,0,0.1);

  --font-d: 'Saira Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --font-b: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --rail: 0px;
  --max: 1240px;
  --rad: 2px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text-d);
  font-family: var(--font-b);
  font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.w { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typografie ---------- */
.t-xl  { font-family: var(--font-d); font-size: clamp(48px, 7vw, 118px); font-weight: 700; line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase; }
.t-l   { font-family: var(--font-d); font-size: clamp(34px, 5vw, 76px);  font-weight: 700; line-height: 0.9;  text-transform: uppercase; letter-spacing: -0.005em; }
.t-m   { font-family: var(--font-d); font-size: clamp(22px, 2.8vw, 40px); font-weight: 600; line-height: 0.96; text-transform: uppercase; }
.t-sub { font-family: var(--font-d); font-size: clamp(15px, 1.7vw, 23px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue); }
.label { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-m); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-b); font-size: 14.5px; font-weight: 600; padding: 14px 30px; border-radius: var(--rad); transition: background .2s, color .2s, transform .15s, border-color .2s; white-space: nowrap; border: 1.5px solid transparent; }
.btn-primary { background: transparent; color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.btn-solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-solid:hover { background: var(--blue-h); border-color: var(--blue-h); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-d); border-color: rgba(255,255,255,0.22); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--text-l); border: 1.5px solid rgba(0,0,0,0.2); }
.btn-outline-dark:hover { border-color: rgba(0,0,0,0.45); }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--wa); transition: opacity .2s; }
.btn-wa:hover { opacity: .75; }
.btn-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--blue); transition: gap .18s; }
.btn-link:hover { gap: 12px; }

.page { padding-left: 0; }

/* ---------- Navigatie ---------- */
.nav { position: fixed; top: 0; left: var(--rail); right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); height: 66px; background: rgba(6,7,8,0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--divider); }
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo-mark { height: 36px; width: auto; display: block; }
.nav__logo-text { display: flex; flex-direction: column; gap: 2px; }
.nav__logo-a { font-family: var(--font-d); font-size: 17px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; line-height: 1; }
.nav__logo-b { font-family: var(--font-d); font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue); line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a { font-size: 13px; font-weight: 500; color: rgba(236,235,230,0.66); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__wa-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--wa); transition: opacity .2s; }
.nav__wa-link:hover { opacity: .75; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px 4px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: #fff; border-radius: 1px; transition: transform .25s, opacity .25s; }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__mobile { display: none; position: fixed; inset: 66px 0 0 0; background: var(--black); z-index: 99; padding: 36px var(--pad) 100px; flex-direction: column; overflow-y: auto; }
.nav__mobile.open { display: flex; }
.nav__mob-links { list-style: none; border-top: 1px solid var(--divider); margin-bottom: 36px; }
.nav__mob-links a { display: block; padding: 18px 0; font-family: var(--font-d); font-size: 34px; font-weight: 700; text-transform: uppercase; color: var(--text-d); border-bottom: 1px solid var(--divider); }
.nav__mob-ctas { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero (full-bleed poster + info-rail) ---------- */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr clamp(220px, 24vw, 320px); align-items: end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: contrast(1.06) saturate(0.9); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(6,7,8,0.8) 0%, rgba(6,7,8,0.1) 55%, rgba(6,7,8,0.55) 100%), linear-gradient(to bottom, rgba(6,7,8,0.2) 0%, rgba(6,7,8,0) 40%, rgba(6,7,8,0.95) 100%); }
.hero__body { position: relative; z-index: 2; grid-column: 1; padding: 0 var(--pad) clamp(48px, 7vh, 96px); max-width: 1000px; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero__bar { width: 30px; height: 2px; background: var(--blue); }
.hero__eyebrow-text { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(236,235,230,0.62); }
.hero__hl { font-family: var(--font-d); font-size: clamp(62px, 10vw, 168px); font-weight: 700; line-height: 0.85; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; margin-bottom: 28px; }
.hero__hl em { display: block; font-style: normal; }
.hero__hl .accent { color: var(--blue); }
.hero__sub { font-size: clamp(15px, 1.3vw, 18px); color: rgba(236,235,230,0.74); max-width: 520px; line-height: 1.6; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__info { position: relative; z-index: 2; grid-column: 2; padding: 0 var(--pad) clamp(48px, 7vh, 96px) 0; display: flex; flex-direction: column; gap: 22px; }
.hero__info-item { border-top: 1px solid var(--divider); padding-top: 12px; }
.hero__info-lbl { font-family: var(--font-d); font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-m); margin-bottom: 4px; }
.hero__info-val { font-family: var(--font-d); font-size: 19px; font-weight: 600; color: #fff; text-transform: uppercase; line-height: 1.05; }
.hero__info-val .blue { color: var(--blue); }

/* ---------- Ledger-rij (content + media, breder) ---------- */
.reg { position: relative; border-top: 1px solid var(--divider); }
.reg--dark { background: var(--dark); }
.reg--anth { background: var(--anthracite); }
.reg--black { background: var(--black); }
.reg--light { background: var(--off-white); color: var(--text-l); }
.row { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: center; padding: clamp(60px, 8vw, 112px) 0; }
.row--rev .row__media { order: -1; }

.row__lbl { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.row__lbl-dash { width: 26px; height: 1px; background: var(--blue); opacity: .5; }
.row__lbl-text { font-family: var(--font-d); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-m); }
.reg--light .row__lbl-text { color: var(--text-ml); }
.row__hl { color: #fff; margin-bottom: 6px; }
.reg--light .row__hl { color: var(--text-l); }
.row__sub { margin-bottom: 20px; }
.row__body { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.7; color: var(--text-d); max-width: 560px; margin-bottom: 26px; }
.reg--light .row__body { color: var(--text-ml); }
.row__list { list-style: none; border-top: 1px solid var(--divider); margin-bottom: 30px; max-width: 560px; }
.reg--light .row__list { border-top-color: var(--divider-l); }
.row__li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.reg--light .row__li { border-bottom-color: var(--divider-l); }
.row__li-n { font-family: var(--font-d); font-size: 11px; font-weight: 700; color: var(--blue); width: 22px; flex-shrink: 0; padding-top: 2px; }
.row__li-t { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.reg--light .row__li-t { color: var(--text-l); }
.row__li-d { font-size: 13.5px; color: var(--text-m); line-height: 1.5; }
.reg--light .row__li-d { color: var(--text-ml); }

/* Media + foto-integratie via aspect-ratio (geen vaste hoogtes) */
.row__media { position: relative; }
.row__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: var(--rad); filter: grayscale(0.12) contrast(1.05); display: block; }
.row__img--tall { aspect-ratio: 3 / 4; }
.row__img--wide { aspect-ratio: 5 / 4; }
.row__img--port { aspect-ratio: 4 / 5; }
.row__badge { position: absolute; left: 0; bottom: 0; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 0 var(--rad) 0 0; }
.row__badge-lbl { font-family: var(--font-d); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; }
.row__badge-val { font-family: var(--font-d); font-size: 26px; font-weight: 700; line-height: 1; }
.row__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 28px; }
.row__tag { font-family: var(--font-d); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 13px; border: 1px solid rgba(255,255,255,0.16); border-radius: 1px; color: rgba(255,255,255,0.55); }

/* Placeholder-tag op beeld dat nog vervangen wordt (Q-021) */
.ph-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-d); font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(31,168,92,0.92); padding: 5px 9px; border-radius: 2px; }

/* Team-rij accenten */
.row__facts { display: flex; gap: 32px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); margin-bottom: 30px; }
.row__fact-val { font-family: var(--font-d); font-size: clamp(26px, 3vw, 44px); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.row__fact-lbl { font-size: 12px; color: var(--text-m); line-height: 1.4; }

/* Werkwijze als ledger-stappen */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--divider); }
.step { padding: 36px clamp(20px, 3vw, 44px) 36px 0; border-right: 1px solid var(--divider); }
.step:last-child { border-right: none; }
.step-mark { display: block; width: 28px; height: 2px; background: var(--blue); margin-bottom: 20px; }
.step-t { font-family: var(--font-d); font-size: clamp(20px, 2.2vw, 32px); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 0.98; margin-bottom: 10px; }
.step-d { font-size: 14.5px; color: var(--text-m); line-height: 1.62; max-width: 280px; }
.werk-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; padding: clamp(56px, 8vw, 100px) 0 48px; }
.werk-head__hl { color: #fff; }
.werk-head__intro { font-size: clamp(15px, 1.3vw, 17px); color: var(--text-m); line-height: 1.7; }
.werk-wrap { padding-bottom: clamp(56px, 8vw, 100px); }

/* Recognition strip */
.recog { background: var(--dark-2); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.recog__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.recog__item { padding: 34px clamp(20px, 4vw, 52px); border-right: 1px solid var(--divider); }
.recog__item:last-child { border-right: none; }
.recog__mark { display: block; width: 26px; height: 2px; background: var(--blue); margin-bottom: 16px; }
.recog__t { font-size: 15px; color: var(--text-d); line-height: 1.6; max-width: 270px; }

/* Closing / contact */
.closing { background: var(--dark); position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; }
.closing__ghost { position: absolute; bottom: -0.14em; right: -0.03em; font-family: var(--font-d); font-size: clamp(110px, 18vw, 300px); font-weight: 700; line-height: 1; color: rgba(255,255,255,0.025); pointer-events: none; user-select: none; text-transform: uppercase; letter-spacing: -0.03em; }
.closing__content { max-width: 760px; position: relative; z-index: 1; }
.closing__lbl { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.closing__lbl-dash { width: 26px; height: 1px; background: var(--blue); opacity: .5; }
.closing__lbl-text { font-family: var(--font-d); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-m); }
.closing__hl { font-family: var(--font-d); font-size: clamp(54px, 8vw, 132px); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 0.86; margin-bottom: 24px; letter-spacing: -0.01em; }
.closing__hl .accent { color: var(--blue); }
.closing__sub { font-size: clamp(15.5px, 1.4vw, 18.5px); color: var(--text-m); line-height: 1.6; max-width: 520px; margin-bottom: 42px; }
.closing__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 38px; }
.closing__note { font-size: 13px; color: rgba(236,235,230,0.3); }

/* Zichtbare placeholder-notitie (intern reviewmarker) */
.ph-note { margin-top: 34px; max-width: 560px; border: 1px dashed rgba(31,168,92,0.5); border-radius: var(--rad); padding: 16px 20px; background: rgba(31,168,92,0.05); }
.ph-note__tag { display: inline-block; font-family: var(--font-d); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.ph-note__list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ph-note__list li { position: relative; padding-left: 16px; font-size: 13px; color: rgba(236,235,230,0.6); line-height: 1.5; }
.ph-note__list li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }
.ph-note__list b { color: rgba(236,235,230,0.85); font-weight: 700; }

/* Footer */
.footer { background: var(--black); border-top: 1px solid var(--divider); padding: clamp(28px, 4vw, 44px) 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__logo { font-family: var(--font-d); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(236,235,230,0.3); }
.footer__links { display: flex; gap: 26px; list-style: none; }
.footer__links a { font-size: 12.5px; color: rgba(236,235,230,0.32); transition: color .2s; }
.footer__links a:hover { color: rgba(236,235,230,0.68); }
.footer__copy { font-size: 11.5px; color: rgba(236,235,230,0.24); }

/* Mobiele sticky bar */
.mob-bar { display: none; position: fixed; inset: auto 0 0 0; z-index: 95; background: var(--black); border-top: 1px solid var(--divider); padding: 10px var(--pad); gap: 10px; align-items: center; transition: opacity .3s; }
.mob-bar a { flex: 1; text-align: center; justify-content: center; }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.rv.vis { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .18s; } .rv-d3 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .btn-link, .btn-wa { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .row { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .row--rev .row__media { order: 0; }
  .row__img, .row__img--tall, .row__img--wide { aspect-ratio: 16 / 10; }
  .row__img--port { aspect-ratio: 4 / 5; }
  .row__media { max-width: 640px; }
  .hero { grid-template-columns: 1fr; }
  .hero__info { grid-column: 1; flex-direction: row; flex-wrap: wrap; gap: 18px; padding: 0 var(--pad) 28px; }
  .hero__info-item { flex: 1; min-width: 140px; }
}
@media (max-width: 960px) {
  .nav__links { gap: 20px; } .nav__links a { font-size: 12.5px; } .nav__wa-link { display: none; }
}
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .nav { left: 0; }
  .nav__links, .nav__right { display: none; } .nav__burger { display: flex; }
  .nav__logo-mark { height: 32px; }
  .hero__hl { font-size: clamp(52px, 16vw, 92px); }
  .hero__info { display: none; }
  .recog__grid { grid-template-columns: 1fr; }
  .recog__item { border-right: none; border-bottom: 1px solid var(--divider); padding: 22px var(--pad); }
  .recog__item:last-child { border-bottom: none; }
  .row { gap: 22px; padding: 56px 0; }
  .row__img, .row__img--tall, .row__img--wide { aspect-ratio: 4 / 3; }
  .row__img--port { aspect-ratio: 4 / 5; }
  .werk-head { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; } .step { border-right: none; padding: 26px 0; border-bottom: 1px solid var(--divider); } .step:last-child { border-bottom: none; }
  .closing__ghost { display: none; }
  .footer__inner { flex-direction: column; text-align: center; } .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .mob-bar { display: flex; } .footer { padding-bottom: 72px; }
}

/* === Presentatie-balk (run-011 klantpresentatie) === */
html { scroll-padding-top: 120px; }
.presbar { position: fixed; inset: 0 0 auto 0; height: 38px; z-index: 10000; display: flex; align-items: center; justify-content: center; gap: 8px; background: #0b0c0e; color: #fff; font: 600 12.5px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .03em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.presbar:hover { background: #16181b; }
.nav { top: 38px !important; }
