/* Fitfabriek De Baard — Concept v4-a "Mono" (afwisselend zwart/wit + blauwe primary)
   Hoog contrast editorial. Blauw is de enige accentkleur. Token discipline via --sb-* + band-context. */

:root {
  --sb-ink: #0a0b0e;
  --sb-paper: #ffffff;
  --sb-blue: #0fa098;
  --sb-blue-bright: #34c3ba;
  --sb-wa: #25d366;
  --sb-radius-card: 4px;
  --sb-radius-button: 4px;
  --sb-section-y: clamp(64px, 8vw, 124px);
  --sb-pad-x: 24px;
  --sb-container: 1200px;
  --sb-font-display: "Space Grotesk", "Hanken Grotesk", "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --sb-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sb-paper); color: var(--sb-ink); font-family: var(--sb-font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.035em; margin: 0; line-height: 1.0; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link:focus { position: fixed; z-index: 80; top: 12px; left: 12px; background: var(--sb-blue); color: #fff; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--sb-blue); outline-offset: 3px; }
.hl { color: var(--sb-blue); }
.label { margin: 0 0 16px; font-family: var(--sb-font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-blue); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }

/* Band context: paper (wit) / ink (zwart) alternerend */
.band { padding: var(--sb-section-y) 0; }
.band-paper { background: var(--sb-paper); color: var(--sb-ink); --muted: #5b6470; --line: rgba(10,11,14,.14); --card-bg: var(--sb-paper); --inv-bg: var(--sb-ink); --inv-fg: var(--sb-paper); }
.band-ink { background: var(--sb-ink); color: var(--sb-paper); --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.16); --card-bg: #111317; --inv-bg: var(--sb-paper); --inv-fg: var(--sb-ink); }
.wrap { width: min(var(--sb-container), calc(100% - 2*var(--sb-pad-x))); margin-inline: auto; }
.block-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 54px); }
h2 { font-size: clamp(30px, 5.4vw, 64px); }

/* Spine (scroll thread) */
.spine { position: fixed; top: 0; left: 0; bottom: 0; width: 3px; background: rgba(15,160,152,.16); z-index: 60; }
.spine-fill { display: block; width: 100%; height: 0; background: var(--sb-blue); }

/* Buttons */
.button, .nav-cta, .lead-form button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 14px; text-decoration: none; cursor: pointer; border-radius: var(--sb-radius-button); border: 1.5px solid transparent; transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.button-primary, .nav-cta { background: var(--sb-blue); color: #fff; }
.button-primary:hover, .nav-cta:hover { background: var(--sb-blue-bright); }
.button-line { background: transparent; color: inherit; border-color: var(--line); }
.button-line:hover { border-color: var(--sb-wa); color: var(--sb-wa); }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sb-wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}70%{box-shadow:0 0 0 8px rgba(37,211,102,0);}100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* Header (paper-achtergrond, altijd leesbaar) */
html { scroll-padding-top: 88px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(10,11,14,0.08); }
.nav { width: min(var(--sb-container), calc(100% - 2*var(--sb-pad-x))); margin-inline: auto; display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sb-font-display); font-weight: 700; font-size: 16px; text-decoration: none; color: var(--sb-ink); mix-blend-mode: normal; }
.brand em { font-style: normal; opacity: .7; font-weight: 500; font-size: .82em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: currentColor; flex: none; }
.nav-menu { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--sb-ink); mix-blend-mode: normal; }
.nav-menu a { text-decoration: none; opacity: .9; }
.nav-menu a:hover { opacity: 1; }
.nav-cta { margin-left: 4px; min-height: 44px; padding: 0 18px; }
.nav-toggle { display: none; }

/* Hero */
.hero-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: 40px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 100px); margin: 6px 0 0; }
.hero .lead { max-width: 52ch; margin: 24px 0 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; }
.hero .small { margin: 16px 0 0; }
.hero-media { border: 1px solid var(--line); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.96); }

/* Marquee */
.marquee { overflow: hidden; padding: 0; }
.marquee-track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; padding: 14px 0; font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 2.2vw, 26px); letter-spacing: -0.01em; color: var(--sb-paper); animation: marquee 24s linear infinite; }
.marquee-track b { color: var(--sb-blue); }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Cards — hover invert */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding: clamp(26px, 3vw, 40px); background: var(--card-bg); border: 1.5px solid var(--line); border-radius: var(--sb-radius-card); color: inherit; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease); }
.card:hover { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); transform: translateY(-4px); }
.card-idx { font-family: var(--sb-font-display); font-weight: 700; font-size: 32px; color: var(--sb-blue); }
.card h3 { font-size: clamp(22px, 2.4vw, 30px); }
.card p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.card:hover p { color: inherit; opacity: .82; }
.card-link { font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; font-size: 13px; color: var(--sb-blue); }

/* Methode */
.methode { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.methode li { border: 1.5px solid var(--line); border-radius: var(--sb-radius-card); padding: clamp(24px, 3vw, 38px); }
.methode-num { font-family: var(--sb-font-display); font-weight: 700; font-size: 38px; color: var(--sb-blue); display: block; margin-bottom: 16px; }
.methode h3 { font-size: 21px; margin-bottom: 12px; }
.methode p { color: var(--muted); margin: 0; }

/* Ralf */
.ralf-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ralf-media { border: 1px solid var(--line); overflow: hidden; }
.ralf-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.97); }
.ralf-body h2 { margin-bottom: 16px; }
.quote { margin: 24px 0 0; padding-left: 20px; border-left: 3px solid var(--sb-blue); font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; }

/* Reviews */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.rev-rating { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 12px 18px; border-radius: var(--sb-radius-card); }
.star { color: var(--sb-blue); }
.rev-rating strong { font-family: var(--sb-font-display); font-size: 26px; }
.rev-rating span:last-child { color: var(--muted); font-size: 13px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.review-card { margin: 0; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--sb-radius-card); padding: 26px; }
.review-card blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.55; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.ava { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-family: var(--sb-font-display); font-weight: 700; font-size: 13px; color: var(--sb-blue); }
.review-card figcaption strong { display: block; font-size: 14px; }
.review-card figcaption em { font-style: normal; color: var(--muted); font-size: 12px; }
.reviews-note { margin: 20px 0 0; }
.review-note { color: var(--sb-blue-bright); font-style: italic; font-size: .9em; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 880px; }
details { border: 1.5px solid var(--line); border-radius: var(--sb-radius-card); padding: 20px 24px; transition: border-color .22s var(--ease); }
details[open], details:hover { border-color: var(--sb-blue); }
summary { cursor: pointer; font-family: var(--sb-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: 16px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--sb-blue); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 14px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > div .lead { color: var(--muted); }
.contact-meta { display: grid; gap: 12px; margin-top: 24px; }
.contact-meta span { color: var(--muted); font-size: 15px; }
.contact-meta strong { color: inherit; }
.lead-form { background: var(--sb-paper); color: var(--sb-ink); border-radius: var(--sb-radius-card); padding: clamp(24px, 4vw, 34px); display: grid; gap: 9px; }
.lead-form label { font-weight: 600; font-size: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; border: 1px solid rgba(10,11,14,.18); border-radius: var(--sb-radius-button); padding: 11px 13px; font: inherit; background: #f6f7f9; color: var(--sb-ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--sb-blue); outline: none; }
.lead-form textarea { resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #5b6470; font-weight: 400; }
.checkbox input { width: auto; min-height: auto; margin-top: 4px; }
.lead-form button { border: 0; background: var(--sb-blue); color: #fff; margin-top: 6px; }
.lead-form button:hover { background: var(--sb-blue-bright); }
.form-note { min-height: 22px; margin: 4px 0 0; color: var(--sb-blue); font-size: 14px; }

/* Footer */
.footer { padding: 40px 0; }
.footer-grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { color: var(--sb-paper); mix-blend-mode: normal; }

/* Responsive */
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 6px; background: transparent; border: 0; padding: 8px; cursor: pointer; margin-left: auto; z-index: 55; color: #fff; mix-blend-mode: difference; }
  .nav-toggle span:not(.sr-only) { width: 28px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 24px; background: var(--sb-ink); color: var(--sb-paper); mix-blend-mode: normal; font-size: 22px; transform: translateX(100%); transition: transform .4s var(--ease); margin: 0; }
  .nav-menu.is-open { transform: none; }
  .nav-cta { display: none; }
  .hero-wrap, .ralf-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media, .ralf-media { order: -1; }
  .cards, .methode, .review-grid { grid-template-columns: 1fr; }
}
@media (min-width: 941px) and (max-width: 1100px) { .cards, .methode { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 540px) { .actions { flex-direction: column; align-items: stretch; } .button { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .wa-dot { animation: none !important; }
  .card:hover { transform: none; }
}

/* === 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; }
.site-header { top: 38px !important; }
