/* Fysio IJburg — styles.css
   Demo ontwerp: Faro Digital — farodigital.nl
   Mobile-first. Breakpoints: 640 / 960 / 1200px. */

/* ---------- Fonts (self-hosted, no CDN) ---------- */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Logo colours, pixel-sampled from logo-fysio-ijburg-medium.png.
     Decoration, large display text, icons, rules and borders only. */
  --brand-blue: #0087C8;      /* 3.96:1 on white — graphics / large text only */
  --brand-orange: #F37035;    /* 2.92:1 on white — decoration only, never text */

  /* Accessibility derivatives of the logo colours (same hue, darker). */
  --blue-strong: #0077B1;     /* accessibility derivative of logo blue: 4.91:1 on white, 4.52:1 on --surface; white text on it 4.91:1 */
  --blue-deep: #005F8D;       /* hover state of --blue-strong: 6.95:1 on white */
  --orange-strong: #C6460C;   /* accessibility derivative of logo orange: white text on it 4.90:1 */
  --orange-deep: #A83A08;     /* hover state of --orange-strong: white text on it 6.41:1 */

  /* Neutrals */
  --white: #FFFFFF;
  --surface: #F2F6F9;         /* very light cool grey section background */
  --surface-2: #E6EDF2;
  --line: #D3DCE3;
  --ink: #0E1B26;             /* near-black, slight blue cast: 17.45:1 on white, 16.06:1 on --surface */
  --ink-soft: #465664;        /* secondary text: 7.57:1 on white, 6.96:1 on --surface, 6.40:1 on --surface-2 */

  /* Type */
  --font-head: "Barlow Semi Condensed", "Segoe UI", Helvetica, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, sans-serif;
  --fs-body: 1.0625rem;                                       /* 17px */
  --fs-small: 1rem;
  --fs-eyebrow: 0.875rem;
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --fs-h3: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4.6vw, 5rem);

  /* Spacing (4/8 based) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(3.5rem, 2.2rem + 5.5vw, 7rem);

  --radius: 4px;
  --shadow-1: 0 1px 2px rgba(14, 27, 38, .08), 0 4px 14px rgba(14, 27, 38, .06);
  --container: 1200px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 2rem);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Header: heights are explicit so the logo can never be clipped */
  --header-h: 56px;  --header-c: 52px;
  --logo-h: 40px;    --logo-c: 34px;
}
@media (min-width: 960px) {
  :root { --header-h: 76px; --header-c: 60px; --logo-h: 56px; --logo-c: 44px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* anchor targets clear the condensed sticky header (+16px) */
[id] { scroll-margin-top: calc(var(--header-c) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.012em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 var(--s-4); max-width: 70ch; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 3px; border-radius: 2px; }
.on-blue :focus-visible { outline-color: var(--white); }
::selection { background: var(--brand-blue); color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 200; background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: var(--s-3); color: var(--white); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1.125rem; height: 1.125rem; }

/* ---------- Type helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4); font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-strong); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--brand-orange); flex: none; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: 58ch; }
.lead--sm { font-size: 1.25rem; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.section-head { margin-bottom: var(--s-7); max-width: 52rem; }
.section-head p { color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 48px; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; letter-spacing: .01em; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow, .btn:focus-visible .icon--arrow { transform: translateX(4px); }
.btn--primary { background: var(--orange-strong); color: var(--white); }
.btn--primary:hover { background: var(--orange-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue-strong); border-color: var(--blue-strong); }
.btn--ghost:hover { background: var(--blue-strong); color: var(--white); }
.btn--small { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand-blue); padding-bottom: 1px; min-height: 44px; }
.text-link:hover { border-bottom-color: var(--orange-strong); }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header.is-condensed { box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: var(--s-2); height: var(--header-h); transition: height .25s var(--ease); }
.is-condensed .header-inner { height: var(--header-c); }
.logo { display: flex; align-items: center; flex: none; height: 100%; margin-right: auto; line-height: 0; }
.logo img { height: var(--logo-h); width: auto; max-width: none; transition: height .25s var(--ease); }
.is-condensed .logo img { height: var(--logo-c); }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); flex: none; width: 44px; height: 44px; border: 2px solid var(--blue-strong); border-radius: var(--radius); color: var(--blue-strong); text-decoration: none; }
.header-phone:hover { background: var(--blue-strong); color: var(--white); }
.header-phone .icon { width: 1.375rem; height: 1.375rem; }
.phone-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-cta { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; margin-right: -8px; background: transparent; border: 0; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.nav-toggle .icon { width: 1.75rem; height: 1.75rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); padding: var(--s-2) var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.site-nav a { display: flex; align-items: center; min-height: 48px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--blue-strong); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brand-orange); }
/* With JS the mobile nav collapses into a panel; without JS it stays a visible row */
.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; box-shadow: var(--shadow-1); }
.js .site-nav ul { flex-direction: column; padding-block: var(--s-3) var(--s-4); }
.js .site-nav li + li { border-top: 1px solid var(--line); }
.js .site-nav a { min-height: 56px; border-bottom: 0; }
.js .site-nav a[aria-current="page"] { color: var(--blue-strong); box-shadow: inset 4px 0 0 var(--brand-orange); padding-left: var(--s-3); }

@media (min-width: 960px) {
  .header-inner { gap: var(--s-6); }
  .logo { margin-right: 0; }
  .js .nav-toggle { display: none; }
  .header-phone { width: auto; height: auto; min-height: 44px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; white-space: nowrap; }
  .header-phone:hover { background: transparent; color: var(--blue-strong); }
  .header-phone .icon { width: 1.125rem; height: 1.125rem; color: var(--blue-strong); }
  .phone-text { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
  .site-nav, .js .site-nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; margin-right: auto; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; flex-wrap: nowrap; padding: 0; gap: var(--s-6); max-width: none; margin: 0; }
  .js .site-nav li + li { border-top: 0; }
  .site-nav a, .js .site-nav a { min-height: var(--header-h); font-size: 1.1875rem; border-bottom: 3px solid transparent; padding: 0; box-shadow: none; transition: min-height .25s var(--ease), color .2s; }
  .is-condensed .site-nav a { min-height: var(--header-c); }
  .site-nav a[aria-current="page"], .js .site-nav a[aria-current="page"] { border-bottom-color: var(--brand-orange); color: var(--ink); box-shadow: none; padding-left: 0; }
  .site-nav a:hover { border-bottom-color: var(--brand-blue); }
  .header-cta { display: inline-flex; }
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; text-decoration: none; }
.mobile-bar .bar-call { background: var(--white); color: var(--blue-strong); border: 2px solid var(--blue-strong); }
.mobile-bar .bar-book { background: var(--orange-strong); color: var(--white); border: 2px solid var(--orange-strong); }
@media (min-width: 960px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Photos ---------- */
.photo { margin: 0; position: relative; background: var(--surface-2); border-bottom: 4px solid var(--brand-blue); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Portraits: identical size and 1:1 crop everywhere, faces biased to the upper third */
.portrait { width: 200px; max-width: 100%; aspect-ratio: 1 / 1; }
.portrait img { object-position: 50% 28%; }

/* ---------- Home hero block (hero + selling points + collage share one grid) ---------- */
.hero-block { display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, var(--container)) [content-end] minmax(var(--gutter), 1fr) [full-end]; }
.hero-head, .hero-text, .hero-visual { grid-column: content; }
.hero-head { padding-top: var(--s-4); }
.hero-head .eyebrow { margin-bottom: var(--s-2); }
.hero-head { container-type: inline-size; }
.hero-head h1 { margin-bottom: var(--s-3); font-size: calc((100vw - 2 * var(--gutter)) / 10.3); max-width: none; }
@supports (width: 1cqi) { .hero-head h1 { font-size: calc(100cqi / 10.3); } }
.hero-head h1 .accent { display: block; color: var(--blue-strong); }
.hero-text .lead { font-size: 1.0625rem; line-height: 1.45; margin-bottom: var(--s-4); }
.hero-text { padding-bottom: var(--s-5); }
.hero-text .btn-row { flex-wrap: wrap; gap: var(--s-2); }
.hero-text .btn { padding-inline: 1rem; font-size: 1.125rem; }
.bel-prefix { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-visual { margin-block: var(--s-5); }
.hero-visual .photo--gym { display: none; }
.hero-visual .photo--team { aspect-ratio: 16 / 10; max-width: 640px; }
.hero-visual .photo--team img { object-position: 50% 30%; }
@media (min-width: 640px) {
  .hero-head h1 { font-size: clamp(3rem, 1.4rem + 4.6vw, 5rem); }
  .hero-text .lead { font-size: clamp(1.0625rem, 0.9rem + 0.8vw, 1.4375rem); }
  .hero-text .btn { padding-inline: 1.4rem; font-size: 1.1875rem; }
  .hero-head { padding-top: var(--s-6); }
  .hero-head .eyebrow { margin-bottom: var(--s-4); }
}
@media (min-width: 960px) {
  .hero-head { grid-row: 1; padding-top: var(--s-6); padding-bottom: var(--s-3); }
  .hero-head h1 { font-size: clamp(3.75rem, 2rem + 4vw, 5.25rem); }
  .facts { grid-row: 3; }
  .hero-text { grid-row: 2; align-self: start; width: 35%; padding: var(--s-3) 0 var(--s-6); }
  .hero-text .lead { font-size: clamp(1.1875rem, 0.9rem + 0.7vw, 1.375rem); }
  .hero-visual { grid-row: 2; justify-self: end; align-self: end; position: relative; width: 62%; aspect-ratio: 1.9 / 1; margin: var(--s-6) 0 0; }
  /* both photos stand on the strip's blue rule: same frame treatment, same baseline */
  .hero-visual .photo { position: absolute; bottom: 0; height: 100%; border: 6px solid var(--white); border-bottom: 0; box-shadow: var(--shadow-1); }
  .hero-visual .photo--gym { display: block; right: 0; width: 48%; }
  .hero-visual .photo--gym img { object-position: 58% 40%; }
  .hero-visual .photo--team { left: 0; width: 68%; max-width: none; aspect-ratio: auto; z-index: 1; }
  .hero-visual .photo--team img { object-position: 50% 28%; }
}

/* ---------- Selling-point strip ---------- */
.facts { grid-column: full; background: var(--blue-strong); color: var(--white); border-top: 4px solid var(--brand-blue); }
.facts ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.facts li { display: flex; align-items: flex-start; gap: var(--s-2); padding: var(--s-3) var(--s-2) var(--s-3) 0; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.facts li:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid rgba(255, 255, 255, .28); }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.5; margin-top: 0.1rem; }
.fact-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.15; }
.fact-sub { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; line-height: 1.3; }
@media (min-width: 640px) {
  .facts li { gap: var(--s-3); padding-block: var(--s-4); }
  .facts .icon { width: 2rem; height: 2rem; }
  .fact-title { font-size: 1.3125rem; }
  .fact-sub { font-size: 1rem; }
}
@media (min-width: 960px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(even) { padding: var(--s-6) var(--s-4) var(--s-6) var(--s-5); border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, .28); }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .fact-title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); }
}

/* ---------- Treatment index (home): every row is one link ---------- */
.index-grid { display: grid; gap: var(--s-6); }
.feature { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.feature .photo { aspect-ratio: 4 / 3; }
.feature-body { padding-top: var(--s-5); }
.feature-body h3 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: var(--s-3); }
.feature-body p { color: var(--ink-soft); }
.feature .index-no { margin-bottom: var(--s-1); }
.feature:hover h3 { color: var(--blue-strong); }
.feature:hover .text-link { border-bottom-color: var(--orange-strong); }
.feature:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 4px; }
.index-list { list-style: none; border-top: 2px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; min-height: 48px; padding: var(--s-5) var(--s-3); color: inherit; text-decoration: none; transition: background-color .2s var(--ease); }
.index-row:hover, .index-row:focus-visible { background: var(--surface); }
.index-row:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: -3px; }
.index-no { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink-soft); }
.index-row h3 { margin: 0 0 var(--s-1); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); font-weight: 700; transition: color .2s; }
.index-row:hover h3, .index-row:focus-visible h3 { color: var(--blue-strong); }
.index-row p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.index-arrow { color: var(--blue-strong); transition: transform .25s var(--ease); }
.index-row:hover .index-arrow, .index-row:focus-visible .index-arrow { transform: translateX(6px); }
.index-foot { margin-top: var(--s-6); }
@media (min-width: 960px) {
  .index-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-8); align-items: start; }
  .feature .photo { aspect-ratio: 5 / 4; }
}

/* ---------- Life & Kicking feature ---------- */
.lk { position: relative; }
.lk-visual { aspect-ratio: 16 / 10; }
.lk-visual img { object-position: 50% 40%; }
.lk-panel { position: relative; background: var(--white); padding: var(--s-6) var(--gutter); border-top: 4px solid var(--brand-orange); }
.lk-panel h2 { margin-bottom: var(--s-4); }
.lk-stat { display: flex; align-items: baseline; gap: var(--s-3); margin: var(--s-5) 0; padding-block: var(--s-4); border-block: 1px solid var(--line); }
.lk-stat strong { white-space: nowrap; font-family: var(--font-head); font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--blue-strong); font-weight: 700; }
.lk-stat span { color: var(--ink-soft); font-size: 1rem; line-height: 1.35; }
@media (min-width: 960px) {
  .lk-visual { aspect-ratio: auto; height: 560px; }
  .lk-panel { width: min(560px, 48%); margin: -200px 0 0 var(--s-6); padding: var(--s-7) var(--s-7) var(--s-7); box-shadow: var(--shadow-1); }
  .lk-wrap { position: relative; }
}
@media (min-width: 1200px) { .lk-panel { margin-left: var(--s-8); } }

/* ---------- Approach steps ---------- */
.steps { list-style: none; display: grid; gap: var(--s-6); counter-reset: step; position: relative; }
.step { position: relative; padding-left: 4.25rem; }
.step::before { content: ""; position: absolute; left: 1.4rem; top: 3.1rem; bottom: calc(-1 * var(--s-6) - 0.5rem); width: 3px; background: var(--brand-blue); }
.step:last-child::before { display: none; }
.step-no { position: absolute; left: 0; top: -0.15rem; font-family: var(--font-head); font-weight: 700; font-size: 2.75rem; line-height: 1; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: var(--s-2); font-weight: 700; }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
  .step { padding: 5.75rem 0 0; }
  .step::before { left: 0; right: calc(-1 * var(--s-6)); top: 4.4rem; bottom: auto; width: auto; height: 3px; }
  .step::after { content: ""; position: absolute; left: 0; top: 4.4rem; width: 14px; height: 14px; margin-top: -5.5px; background: var(--brand-orange); }
  .step:last-child::before { display: block; right: 0; }
  .step-no { font-size: 3.75rem; top: 0; }
}

/* ---------- Team strip (home) ---------- */
.team-strip { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.team-strip li { min-width: 0; }
.team-strip h3 { margin: var(--s-3) 0 var(--s-1); font-size: 1.375rem; font-weight: 700; }
.team-strip p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.4; }
@media (min-width: 960px) { .team-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface); border-top: 4px solid var(--brand-blue); }
.cta-grid { display: grid; gap: var(--s-5); align-items: start; }
.cta-grid h2 { margin-bottom: var(--s-3); }
.cta-grid p { color: var(--ink-soft); margin-bottom: 0; }
.cta-act { display: grid; gap: var(--s-5); justify-items: start; }
.cta-phone { display: inline-flex; align-items: center; gap: var(--s-3); padding-block: 0.25rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.75rem); line-height: 1; letter-spacing: -0.01em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand-blue); text-decoration-thickness: 4px; text-underline-offset: 0.14em; }
.cta-phone .icon { width: 0.8em; height: 0.8em; stroke-width: 2; color: var(--blue-strong); }
.cta-phone:hover { color: var(--blue-strong); text-decoration-color: var(--orange-strong); text-decoration-thickness: 4px; }
.cta-act .btn-row .btn { min-height: 52px; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 4px solid var(--brand-blue); padding-block: var(--s-8) var(--s-6); font-size: 1rem; }
.cta-band + .site-footer { border-top-width: 1px; border-top-color: var(--line); }
.footer-grid { display: grid; gap: var(--s-7); }
.footer-logo { display: inline-block; margin: 0 0 var(--s-4); line-height: 0; }
.footer-logo img { width: 140px; height: auto; }
.footer-grid h2 { font-size: 1.125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); color: var(--ink-soft); margin-bottom: var(--s-3); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: var(--s-1); }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration-thickness: 1px; }
.footer-grid a:hover { color: var(--blue-strong); }
.footer-grid address { font-style: normal; line-height: 1.6; }
.footer-grid p { margin: 0 0 var(--s-3); }
.footer-grid .footer-contact { margin-top: var(--s-3); }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4); margin: 0; }
.footer-hours dt { font-weight: 600; }
.footer-hours dd { margin: 0; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); justify-content: space-between; color: var(--ink-soft); }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.1fr .8fr 1.1fr 1.1fr; gap: var(--s-7); } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-block: var(--s-7) var(--s-6); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { max-width: 56ch; }

/* Behandelingen: photo strip */
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-6); }
.strip .photo { height: 160px; }
.strip .photo:nth-child(n+3) { display: none; }
@media (min-width: 640px) { .strip .photo { height: 220px; } }
@media (min-width: 960px) {
  .strip { grid-template-columns: 5fr 3fr 4fr 3fr; gap: var(--s-3); }
  .strip .photo { height: 280px; }
  .strip .photo:nth-child(n+3) { display: block; }
}

/* Chip nav */
.chips { background: var(--white); border-bottom: 1px solid var(--line); }
.chips-label { margin: 0 0 var(--s-3); font-size: var(--fs-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 1rem; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; background: var(--white); transition: border-color .2s, color .2s, background-color .2s; }
.chips a:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.chips-inner { padding-block: var(--s-5); }

/* Treatment blocks: head / body / aside placed on a grid; DOM order = mobile order */
.treatment { padding-block: clamp(2rem, 1.2rem + 3.5vw, 4rem); border-bottom: 1px solid var(--line); }
.treatment:last-of-type { border-bottom: 0; }
.treatment-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "aside" "back"; }
.t-head { grid-area: head; }
.t-body { grid-area: body; min-width: 0; }
.t-aside { grid-area: aside; }
.back-link { grid-area: back; margin: 0; }
.t-head .t-no { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: 1.25rem; display: block; margin-bottom: var(--s-2); }
.t-head h2 { font-size: clamp(2rem, 0.9rem + 1.7vw, 3rem); margin-bottom: 0; overflow-wrap: break-word; hyphens: auto; }
.t-body .photo { aspect-ratio: 960 / 460; margin-bottom: var(--s-5); max-width: 760px; }
.t-body h3 { margin-top: var(--s-5); font-size: 1.375rem; }
.t-body ul.bullets, .more-body ul.bullets { margin: 0 0 var(--s-4); padding-left: 1.25rem; max-width: 66ch; }
.t-body ul.bullets li, .more-body ul.bullets li { margin-bottom: var(--s-2); padding-left: var(--s-1); }
.t-body ul.bullets li::marker, .more-body ul.bullets li::marker { color: var(--brand-blue); }
.cost-note { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); background: var(--surface); border-left: 4px solid var(--brand-orange); max-width: 66ch; }
.cost-note p { margin: 0; }
.who { margin: 0 0 var(--s-2); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); align-items: center; }
.who span { color: var(--ink-soft); }
.t-aside .text-link { margin-right: var(--s-4); }
.phases { list-style: none; border-top: 2px solid var(--ink); margin: var(--s-4) 0; max-width: 66ch; }
.phases li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.phases strong { display: block; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: var(--s-1); }
.phases p { margin: 0; }
.back-link a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.back-link a:hover { color: var(--blue-strong); }
.back-link .icon { transform: rotate(-90deg); }
@media (min-width: 960px) {
  .treatment-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "head body" "aside body"; grid-template-rows: auto 1fr; column-gap: var(--s-8); row-gap: var(--s-4); }
  .treatment--flip .treatment-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "body head" "body aside"; }
  .t-aside { align-self: start; }
  .back-link { display: none; }
}

/* Editorial "lees meer": thin rule, Barlow summary, rotating chevron (no box) */
.more { margin-top: var(--s-5); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); max-width: 66ch; }
.more > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding-block: var(--s-3); cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.3125rem; line-height: 1.2; color: var(--ink); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem; border-right: 2.5px solid var(--blue-strong); border-bottom: 2.5px solid var(--blue-strong); transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.more > summary:hover { color: var(--blue-strong); }
.more > summary:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 2px; }
.more-body { padding-block: var(--s-2) var(--s-5); }
.more-body > :first-child { margin-top: 0; }
.more-body > :last-child { margin-bottom: 0; }

.help-block { background: var(--blue-strong); color: var(--white); }
.help-block h2 { color: var(--white); }
.help-block p { color: var(--white); }
.help-block .btn--ghost { color: var(--white); border-color: var(--white); }
.help-block .btn--ghost:hover { background: var(--white); color: var(--blue-strong); }
.help-block .btn--white { background: var(--white); color: var(--blue-strong); }
.help-block .btn--white:hover { background: var(--surface-2); color: var(--blue-deep); }
.help-inner { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .help-inner { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); } }

.trust { display: grid; gap: var(--s-5); max-width: 70ch; }
.trust h2 { font-size: var(--fs-h3); font-weight: 700; }
.trust .note { font-size: 1rem; color: var(--ink-soft); }

/* ---------- Onze praktijk ---------- */
.good-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.good-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.good-list .icon { color: var(--blue-strong); margin-top: 0.15rem; }
.good-list strong { font-weight: 600; }
@media (min-width: 960px) { .good-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); } }
.two-col { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; } }

.hours { width: 100%; max-width: 32rem; border-collapse: collapse; font-size: 1.0625rem; }
.hours caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; padding-bottom: var(--s-3); }
.hours th, .hours td { padding: var(--s-3) var(--s-3); text-align: left; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; width: 40%; padding-left: 0; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 2px solid var(--ink); }
.hours tr.is-today { background: var(--surface); }
.hours tr.is-today th { box-shadow: inset 4px 0 0 var(--brand-orange); padding-left: var(--s-3); }
.hours .today-tag { display: inline-block; margin-left: var(--s-2); font-size: var(--fs-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-strong); }

.person { display: grid; gap: var(--s-4); padding-block: var(--s-6); border-top: 1px solid var(--line); align-content: start; }
.person:first-of-type { border-top: 2px solid var(--ink); }
.person-body { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.person h3 { margin: 0; font-size: 1.75rem; font-weight: 700; }
.person .role { margin: 0; font-weight: 600; color: var(--blue-strong); }
.person blockquote { margin: 0; padding-left: var(--s-4); border-left: 4px solid var(--brand-orange); font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1.25; max-width: 40ch; }
.person dl { margin: 0; }
.person dt { font-weight: 600; }
.person dd { margin: 0; max-width: 62ch; }
.person .bio p { max-width: 62ch; }
.person .bio p:last-child { margin-bottom: 0; }
.person .contact { margin: 0; }
@media (min-width: 960px) {
  .person { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-7); }
}
.person--compact h3 { font-size: 1.5rem; }

.partner-note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand-blue); padding: var(--s-5); max-width: 66ch; margin-bottom: var(--s-6); }
.partner-note p { margin: 0; }

.price-table { width: 100%; max-width: 40rem; border-collapse: collapse; margin: var(--s-5) 0 var(--s-4); background: var(--white); }
.price-table th, .price-table td { padding: var(--s-3) var(--s-3); text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.price-table thead th { background: var(--ink); color: var(--white); font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tbody th { font-weight: 400; }
.price-table tr.spacer th, .price-table tr.spacer td { padding: 0; height: var(--s-4); background: var(--surface); border-bottom: 1px solid var(--line); }
.price-table td:last-child { font-weight: 600; }
.price-notes p { max-width: 66ch; font-size: 1rem; color: var(--ink-soft); }
@media (min-width: 640px) { .price-table th, .price-table td { padding-inline: var(--s-4); } }

.loc-grid { display: grid; gap: var(--s-6); }
.loc { background: var(--white); border: 1px solid var(--line); }
.loc .photo { aspect-ratio: 16 / 7; border-bottom-width: 4px; }
.loc-body { padding: var(--s-5); }
.loc h3 { margin-bottom: var(--s-3); }
.loc address { font-style: normal; margin-bottom: var(--s-3); }
.loc ul { list-style: none; margin-bottom: var(--s-4); }
.loc li { margin-bottom: 0; }
.loc li a, .aside-card p a:not(.text-link) { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 960px) { .loc-grid { grid-template-columns: 1fr 1fr; } }

.single-note { max-width: 66ch; }
.single-note h2 { font-size: var(--fs-h3); font-weight: 700; }

/* ---------- Contact ---------- */
.routes { display: grid; gap: var(--s-6); }
.route, .form-card { display: flex; flex-direction: column; padding: var(--s-6); border: 1px solid var(--line); background: var(--white); border-top: 4px solid var(--brand-blue); }
.route--call { border-top-color: var(--brand-orange); }
.route h2, .form-card h2 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--s-3); }
.route .big-tel { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-4) 0 var(--s-5); padding: var(--s-4) var(--s-5); justify-content: center; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); min-height: 72px; }
@media (min-width: 960px) { .routes { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: stretch; } }

.form { display: grid; gap: var(--s-5); }
.route .form { flex: 1; grid-template-rows: auto auto 1fr; }
.route .form .btn { align-self: end; }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field label { font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .hint { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0.7rem var(--s-4); border: 2px solid #7F8F9D; border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 1px; border-color: var(--blue-strong); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--orange-deep); }
.field .error { margin: 0; color: var(--orange-deep); font-weight: 600; font-size: 1rem; }
.field .error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
@media (min-width: 640px) { .form .btn { width: auto; min-width: 15rem; justify-self: start; } }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.aside-card { background: var(--surface); padding: var(--s-6); border-left: 4px solid var(--brand-blue); }
.aside-card h2 { font-size: var(--fs-h3); font-weight: 700; }
.aside-card address { font-style: normal; margin-bottom: var(--s-4); }
.contact-split { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .contact-split { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; } }
.contact-intro { margin-bottom: var(--s-5); }

/* ---------- Motion (only when JS adds classes; reduced motion disables all) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero entrance: starts visible (never hidden), only eases into place */
  .js [data-hero] { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms); }
  @keyframes rise { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  /* scroll reveals: the hidden state is a class added by JS, and only to blocks below the fold */
  .js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
  .js .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .mobile-bar, .site-header, .nav-toggle, .back-link { display: none !important; }
  [data-reveal], .reveal { opacity: 1 !important; transform: none !important; }
  [data-hero] { animation: none !important; opacity: 1 !important; transform: none !important; }
  details > :not(summary) { display: block !important; }
  details::details-content { content-visibility: visible !important; display: block !important; }
  .more > summary::after { display: none; }
  body { padding-bottom: 0; }
}
