/* ============================================================
   Coachdirect.eu — WordPress thema
   Design system / theme tokens
   Lettertypes worden via PHP (inc/customizer.php) in <head> geladen.
   ============================================================ */

:root {
  /* Accentkleur — door Tweaks aanpasbaar (default: fris mint-groen) */
  --accent: #14b890;

  /* Afgeleide accent-tinten */
  --accent-700: color-mix(in oklab, var(--accent), #06251c 38%);
  --accent-600: color-mix(in oklab, var(--accent), #06251c 18%);
  --accent-300: color-mix(in oklab, var(--accent), white 55%);
  --accent-100: color-mix(in oklab, var(--accent), white 84%);
  --accent-50:  color-mix(in oklab, var(--accent), white 92%);
  --accent-ink: color-mix(in oklab, var(--accent), #04201a 62%);

  /* Lettertype — door Tweaks aanpasbaar */
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Neutralen — koel, licht, fris (subtiele groen-zweem) */
  --bg: #f4f9f7;
  --surface: #ffffff;
  --surface-2: #eef5f2;
  --ink: #11211c;
  --ink-2: #38514a;
  --ink-3: #6b837b;
  --line: #e0ebe6;
  --line-2: #d2e2db;

  /* Statuskleuren (centrale) */
  --status-online: #16a34a;
  --status-online-bg: #e7f7ec;
  --status-busy: #e08a1e;
  --status-busy-bg: #fbf0dc;
  --status-offline: #94a8a1;
  --status-offline-bg: #eef2f1;

  --star: #f4b740;

  /* Radius & dichtheid */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Schaduwen — zacht, fris */
  --shadow-sm: 0 1px 2px rgba(16,40,32,.05), 0 2px 6px rgba(16,40,32,.04);
  --shadow-md: 0 6px 18px rgba(16,40,32,.07), 0 2px 6px rgba(16,40,32,.04);
  --shadow-lg: 0 24px 60px rgba(16,40,32,.12), 0 8px 20px rgba(16,40,32,.06);
  --shadow-accent: 0 12px 30px color-mix(in oklab, var(--accent), transparent 72%);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
ul { list-style: none; padding: 0; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.section-head { max-width: 660px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); margin-top: 14px; }
.section-head p { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); margin-top: 16px; }
.text-balance { text-wrap: balance; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); line-height: 1.65; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #042018; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0a1714; transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn .ico { width: 18px; height: 18px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg), white 30%);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand .logo-slot {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #042018; font-weight: 800; font-size: 19px;
  box-shadow: var(--shadow-accent);
  flex: none;
}
.brand small { display:block; font-family: var(--font-body); font-weight:600; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-3); }
.brand .logo-note { font-family: var(--font-body); font-size: 9px; color: #fff; opacity:.85; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { color: var(--accent-ink); background: var(--accent-50); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); place-items: center; margin-left: auto; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 18px; height: 2px; background: var(--ink); border-radius:2px; position: relative; }
.nav-toggle span::before { position:absolute; top:-6px; } .nav-toggle span::after { position:absolute; top:6px; }

/* ---- Live-status pill (de kern) ---- */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 13px; letter-spacing: .01em;
  padding: 5px 11px 5px 9px; border-radius: var(--r-pill);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; position: relative; }
.status.is-online { color: #0c6b32; background: var(--status-online-bg); }
.status.is-online .dot { background: var(--status-online); }
.status.is-online .dot::after {
  content:""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--status-online); opacity: .45;
  animation: pulse 1.8s ease-out infinite;
}
.status.is-busy { color: #9a5a06; background: var(--status-busy-bg); }
.status.is-busy .dot { background: var(--status-busy); }
.status.is-offline { color: #5c6f69; background: var(--status-offline-bg); }
.status.is-offline .dot { background: var(--status-offline); }
@keyframes pulse { 0% { transform: scale(1); opacity:.5; } 70%,100% { transform: scale(2.4); opacity: 0; } }

/* ---- Coach-kaart (custom blok, centrale-gekoppeld) ---- */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(282px, 1fr)); gap: 22px; }
.coach {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.coach:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.coach.is-online { border-color: color-mix(in oklab, var(--status-online), white 55%); }
.coach-top { display: flex; gap: 15px; align-items: flex-start; }
.coach-photo {
  width: 70px; height: 70px; border-radius: 18px; flex: none;
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 8px, color-mix(in oklab, var(--surface-2), white 50%) 8px 16px);
  display: grid; place-items: center;
  color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 24px;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.coach-photo .ph-tag { position:absolute; bottom:4px; left:0; right:0; text-align:center; font-family: ui-monospace, monospace; font-size: 7px; letter-spacing:.08em; color: var(--ink-3); text-transform: uppercase; }
.coach-id { flex: 1; min-width: 0; }
.coach-id h3 { font-size: 19px; }
.coach-id .role { color: var(--ink-2); font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.coach .fav { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: var(--surface-2); transition: color .15s, background .15s; }
.coach .fav:hover { color: #e0577d; background: #fde7ee; }
.coach-meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.coach-meta .rating { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.coach-meta .rating svg { width: 15px; height: 15px; color: var(--star); }
.coach-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); padding: 4px 11px; border-radius: var(--r-pill); }
.coach hr { border: none; border-top: 1px solid var(--line); margin: 18px 0 12px; }
/* Coach-kaart telefoon + PIN chips */
.coach-tel-block { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.coach-tel-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-50); color: var(--accent-ink);
    border: 1px solid var(--accent-300); border-radius: var(--r-pill);
    padding: 6px 13px; font-size: 13.5px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    transition: background .15s;
}
.coach-tel-chip:hover { background: var(--accent-100); }
.coach-tel-chip svg, .coach-pin-chip svg { flex: none; display: inline !important; vertical-align: middle; }
.coach-pin-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface-2); color: var(--ink-2);
    border: 1px solid var(--line); border-radius: var(--r-pill);
    padding: 6px 12px; font-size: 13px; font-weight: 600;
    white-space: nowrap;
}
.coach-pin-chip b { color: var(--ink); font-weight: 800; }
.coach-offline-label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.coach-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.coach-price { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.coach-price b { color: var(--ink); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.coach-foot .btn-sm { flex: none; }
.coach .call-busy { background: var(--status-busy-bg); color: #9a5a06; }
.coach .call-off { background: var(--surface-2); color: var(--ink-3); }

/* status-update flits */
.coach.flash { animation: cardFlash .9s ease; }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent), transparent 40%); } 100% { box-shadow: 0 0 0 14px transparent; } }

/* ---- Filter / zoekbalk ---- */
.searchbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill); padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-md);
}
.searchbar svg { width: 21px; height: 21px; color: var(--ink-3); flex: none; }
.searchbar input { flex: 1; border: none; outline: none; background: none; font-size: 16.5px; min-width: 0; padding: 9px 0; }
.searchbar input::placeholder { color: var(--ink-3); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  padding: 9px 17px; border-radius: var(--r-pill);
  background: var(--surface); border: 1.5px solid var(--line);
  font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  transition: all .15s; display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[data-filter="online"][aria-pressed="true"] { background: var(--status-online); border-color: var(--status-online); }
.chip .cnt { font-size: 12px; opacity: .7; font-weight: 700; }

/* ---- Cards / features ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; }
.step .num { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-50); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 20px; } .step p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
/* ---- Ico-badge (universal) ---- */
.ico-badge { overflow: hidden; flex: none; }
.ico-badge svg { width: 24px; height: 24px; flex: none; display: block; }
.step .ico-badge { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-50); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }

/* ---- Media & text blok (links/rechts) ---- */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-text.reverse .mt-media { order: 2; }
.mt-media { position: relative; }
.ph-image {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 14px, color-mix(in oklab, var(--surface-2), white 55%) 14px 28px);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}
.ph-image .ph-lab { font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); background: color-mix(in oklab, var(--surface), transparent 12%); padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.mt-body h2 { font-size: clamp(28px, 3.6vw, 42px); }
.mt-body p { color: var(--ink-2); margin-top: 16px; }
.tick-list { margin-top: 22px; display: grid; gap: 13px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.tick-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-50); color: var(--accent-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.tick-list .tick svg { width: 14px; height: 14px; }

/* ---- Specialisaties ---- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-300); }
.cat .ico-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-50); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 14px; }
.cat .ico-badge svg { width: 22px; height: 22px; }
.cat h3 { font-size: 17px; } .cat p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* ---- Quote / testimonial ---- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.quote .stars { display: flex; gap: 3px; color: var(--star); margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-100); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.quote .by b { display: block; } .quote .by span { color: var(--ink-3); font-size: 14px; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-700), var(--accent-600));
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 64px);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background: rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); position: relative; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 19px; max-width: 540px; position: relative; }
.cta-band .btn-primary { background:#fff; color: var(--accent-ink); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background:#f2fffb; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #c9d8d2; padding-block: clamp(48px, 6vw, 80px) 32px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer a { color: #aebfb8; padding: 5px 0; display: inline-block; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .logo-slot { background: var(--accent); }
.foot-about p { color: #9fb1aa; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; font-size: 14px; color: #8ba097; }
.foot-list li a { font-size: 15px; }

/* ---- Forms (Gravity Forms-stijl) ---- */
.gform { display: grid; gap: 20px; }
.gfield { display: grid; gap: 8px; }
.gfield.half { }
.gform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gfield label { font-weight: 600; font-size: 15px; }
.gfield label .req { color: #d6453f; }
.gfield .hint { font-size: 13px; color: var(--ink-3); }
.gfield input, .gfield textarea, .gfield select {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.gfield textarea { min-height: 140px; resize: vertical; }
.gfield input:focus, .gfield textarea:focus, .gfield select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-50); }
.gfield.error input, .gfield.error textarea { border-color: #d6453f; }
.gfield .err-msg { color: #d6453f; font-size: 13px; font-weight: 600; display: none; }
.gfield.error .err-msg { display: block; }
.gconsent { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.gconsent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-ok { background: var(--accent-50); border: 1px solid var(--accent-300); color: var(--accent-ink); border-radius: var(--r-md); padding: 18px 20px; display: none; align-items: center; gap: 12px; font-weight: 600; }
.form-ok.show { display: flex; }

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: var(--accent-300); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 700; font-size: 18.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-50); color: var(--accent-ink); display: grid; place-items: center; flex: none; transition: transform .2s, background .2s; font-size: 20px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #042018; }
.faq-item .faq-body { padding: 0 24px 24px; color: var(--ink-2); }
.faq-item .faq-body p { margin-top: 0; }

/* ---- Page hero (binnenpagina's) ---- */
.page-hero { padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px); }
.crumbs { font-size: 14px; color: var(--ink-3); font-weight: 600; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--accent-ink); }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 60px); margin-top: 16px; }
.page-hero p { margin-top: 16px; max-width: 620px; }

/* ---- Prose (tekstpagina inhoud) ---- */
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin-top: 44px; }
.prose h3 { font-size: 21px; color: var(--ink); margin-top: 32px; }
.prose p { font-size: 18px; line-height: 1.7; }
.prose ul.bullets { display: grid; gap: 12px; margin-top: 8px; }
.prose ul.bullets li { display: flex; gap: 12px; font-size: 18px; }
.prose ul.bullets li::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 11px; flex: none; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 22px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.stat { text-align: center; padding: 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stat span { color: var(--ink-3); font-weight: 600; font-size: 15px; }

/* ---- Block hint (toont WP-blok herkomst, alleen bij ?blocks) ---- */
.blockmode [data-block] { position: relative; outline: 1.5px dashed color-mix(in oklab, var(--accent), transparent 40%); outline-offset: 4px; }
.blockmode [data-block]::before {
  content: attr(data-block); position: absolute; top: -10px; left: 10px; z-index: 5;
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .04em;
  background: var(--accent); color: #042018; padding: 2px 8px; border-radius: 6px; font-weight: 700;
}

/* ---- Toast ---- */
.cd-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px);
  background: var(--ink); color: #fff; padding: 15px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15.5px; box-shadow: var(--shadow-lg); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw;
}
.cd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cd-toast[data-kind="ok"] { background: var(--accent-700); }
.cd-toast[data-kind="busy"] { background: #9a5a06; }

/* ---- Empty state ---- */
.empty-state { display: none; text-align: center; padding: 50px 20px; color: var(--ink-3); }
.empty-state b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }

/* ---- Server-rendered blokken: sectie-ruimte ---- */
.wzm-hero,
.wzm-coach-directory,
.wzm-block-how,
.wzm-block-specialties,
.wzm-block-testimonial,
.wzm-block-stats { padding-block: clamp(48px, 6vw, 80px); }

/* CTA band: ingekaderd met afgeronde hoeken en max-breedte */
.wp-block-group.cta-band,
.wzm-block-cta { max-width: var(--maxw); margin-inline: auto; border-radius: var(--r-xl); }

/* Standaard blok-gap via WP alignfull sectie-ruimte */
.wp-block-group + .wp-block-group,
.wp-block-cover + .wp-block-group { margin-top: clamp(24px, 4vw, 56px); }

/* ---- WP core buttons — thema-integratie ---- */
.wp-block-button__link {
    border-radius: var(--r-pill) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 26px !important;
    line-height: 1 !important;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease !important;
    text-decoration: none !important;
}
/* Standaard WP knop → primaire stijl */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: var(--accent) !important;
    color: #042018 !important;
    box-shadow: var(--shadow-accent) !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: var(--accent-600) !important;
    transform: translateY(-2px) !important;
}
/* Knop in CTA band → wit op groen */
.cta-band .wp-block-button__link,
.cta-band .wp-block-button .wp-block-button__link {
    background: #fff !important;
    color: var(--accent-ink) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
}
.cta-band .wp-block-button__link:hover {
    background: #f2fffb !important;
    transform: translateY(-2px) !important;
}
/* CTA band tekst altijd wit */
.cta-band .wp-block-heading,
.cta-band .wp-block-paragraph { color: #fff !important; }

/* ---- Stats balk — zichtbare kaart op lichte achtergrond ---- */
.card.stats {
    background: var(--surface) !important;
    border: 1.5px solid var(--line-2) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ---- WP quote / testimonial ---- */
.wzm-block-testimonial .wp-block-quote,
.wzm-block-testimonial blockquote {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.4;
    letter-spacing: -0.01em;
    border: none !important;
    padding: 0 !important;
    margin: 16px 0 22px !important;
    color: var(--ink);
}

/* ---- Hoe werkt het — nummerste badge ---- */
.wzm-block-how .step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--accent-50);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
}

/* ---- WP columns in stappen-patroon ---- */
.wp-block-group.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    height: 100%;
}
.wp-block-group.step .wp-block-paragraph.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--accent-50);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px !important;
}

/* ---- Reveal on scroll ---- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
html.do-reveal .reveal { opacity: 0; transform: translateY(18px); }
html.do-reveal .reveal.in { opacity: 1; transform: none; }
/* failsafe: forceer zichtbaar zonder transitie (offscreen render / IO-miss) */
html.reveal-snap .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html.do-reveal .reveal { opacity:1; transform:none; transition:none; } .status .dot::after { animation: none; } }

/* ---- Responsive ---- */
@media (max-width: 1040px) {
  .header-cta .btn-ghost { display: none; }
  .nav a { padding: 9px 11px; font-size: 15px; }
  .site-header .wrap { gap: 14px; }
}
@media (max-width: 900px) {
  .media-text { grid-template-columns: 1fr; }
  .media-text.reverse .mt-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 18px; gap: 4px; box-shadow: var(--shadow-md); }
  .gform .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
}
