/* Hallmark · redesign: polish (copy) · genre: editorial · theme: the project's own (terracotta on warm paper) · deal: manual (no Node, sloplint not run) */
/* critique: the words were generic and repeated the same facts on every page; now one idea per section, plain labels as headings, no eyebrows, no italic fragments in headings. */
/* Hallmark · note 65: cream + terracotta is the named look; kept because it is the owner's chosen palette, a restyle would settle it. */
/* Mensen & Bewegen - gedeelde stijl */

/* Lettertypes: lokaal, geen verbinding met Google nodig */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/InstrumentSerif-italic-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/InstrumentSerif-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/Inter-var-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/Inter-var-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --muted: #f3eee8;
  --ink: #1c1a18;
  --text-2: #5c5752;
  --text-3: #6f6862;
  --line: #e8e2da;
  --accent: #c4513a;
  --accent-hover: #a9412c;
  --accent-soft: #f7e6df;
  --focus: #2563eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgb(28 26 24 / 6%);
  --shadow-md: 0 10px 30px rgb(28 26 24 / 10%);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --on-dark: #ffffff;
  --accent-light: #f0a68f;
  --ok: #22a45d;
  --ok-bg: #e7f4ec;
  --ok-ink: #1b6e3f;
  --dot-off: #a39b93;
  --wa: #25d366;
  --note-bg: #fff3c4;
  --note-ink: #7a4f00;
  --err-bg: #fdecea;
  --err-ink: #a8201a;  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
section { padding: 96px 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(42px, 6.5vw, 72px); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
.serif { white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--text-2); max-width: 34em; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--text-2); margin: 16px 0 0; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-dark); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(250 247 243 / 88%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.logo b span { color: var(--accent); }
.logo small { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 18px; }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .serif { display: inline-block; font-size: 1.08em; }
.hero .lead { margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--accent); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.hero-card {
  position: absolute; left: -24px; bottom: 28px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.hero-card b { display: block; font-size: 15px; }
.hero-card span { font-size: 13px; color: var(--text-3); }

/* Filosofie */
.intro { background: var(--surface); border-block: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.intro p { color: var(--text-2); margin: 0 0 16px; }
.intro p:first-child { color: var(--ink); font-size: 21px; line-height: 1.5; }

/* Behandelingen */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hours { list-style: none; margin: 8px 0 0; padding: 0; font-size: 16px; color: var(--text-2); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours b { color: var(--ink); font-weight: 600; }
.hours .today { color: var(--accent); }
.hours .today b { color: var(--accent); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; }
.card p { color: var(--text-2); margin: 10px 0 0; font-size: 16px; }

/* Aanpak */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--accent); line-height: 1; margin-bottom: 16px;
}
.steps p { color: var(--text-2); margin: 10px 0 0; font-size: 16px; }

/* Praktijk */
.practice { background: var(--muted); }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.practice-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius-lg); }
.info { display: grid; gap: 20px; }
.info-item { background: var(--surface); border-radius: var(--radius-lg); padding: 24px 28px; display: flex; gap: 18px; }
.info-item .icon { margin: 0; flex: none; }
.info-item p { margin: 6px 0 0; color: var(--text-2); font-size: 16px; }
.info-item a.link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.info-item a.link:hover { text-decoration: underline; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 40em; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.cta-box h2 .serif { color: var(--accent-light); }
.cta-box p { color: rgb(255 255 255 / 72%); margin: 16px 0 0; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { justify-content: center; }
.btn-light { background: rgb(255 255 255 / 10%); color: var(--on-dark); border-color: rgb(255 255 255 / 18%); }
.btn-light:hover { background: rgb(255 255 255 / 16%); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; color: var(--text-2); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-col { display: grid; gap: 4px; }

/* WhatsApp knop (mobiel) */
.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--on-dark); display: none; place-items: center;
  box-shadow: var(--shadow-md);
}
.wa svg { width: 28px; height: 28px; }

/* Rustige fade-in */
.js .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes img-in {
  from { opacity: 0; clip-path: inset(14% 14% 14% 14% round 20px); transform: scale(1.06); }
  to { opacity: 1; clip-path: inset(0 round 20px); transform: none; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(34 164 93 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 164 93 / 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hero komt gefaseerd binnen */
.hero .anim, .hero .w { opacity: 0; animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 100ms); }
.hero .w { display: inline-block; }
.hero-media img { animation: img-in 1.3s var(--ease) .35s both; }
.hero-card { animation: rise .8s var(--ease) 1.1s both, bob 6s ease-in-out 1.9s infinite; }

/* Live open/gesloten-label */
.status {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-off); flex: none; }
.status.open { color: var(--ink); }
.status.open .dot { background: var(--ok); box-shadow: 0 0 0 0 rgb(34 164 93 / 50%); animation: pulse 2s infinite; }

/* Lopende band */
.marquee { background: var(--accent); color: var(--on-dark); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 22px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .6; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Voortgangsbalk bovenaan */
.progress {
  position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}

/* Header wordt compacter bij scrollen */
.nav { transition: height .25s var(--ease); }
header.scrolled .nav { height: 60px; }

/* Kaarten: icoon beweegt mee */
.card .icon { transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.card:hover .icon { background: var(--accent); color: var(--on-dark); transform: rotate(-8deg) scale(1.1); }

/* Stappen: lijn tekent zich */
.steps li { position: relative; border-top: 2px solid var(--line); }
.steps li::after {
  content: ''; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) calc(var(--i, 0) * 200ms + 250ms);
}
.steps li.in::after { transform: scaleX(1); }

/* Knoppen en FAQ */
.btn svg { transition: transform .2s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.faq details[open] p { animation: rise .45s var(--ease) both; }
.faq summary:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .hero .anim, .hero .w, .hero-media img, .hero-card { opacity: 1; transform: none; }
  .steps li::after { transform: scaleX(1); }
}

/* Tablet / mobiel */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hero { padding: 24px 0 72px; }
  .hero-grid, .intro-grid, .practice-grid, .faq-grid, .cta-box { grid-template-columns: 1fr; gap: 36px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-card { left: 16px; bottom: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .practice-photo img { min-height: 240px; }
  .wa { display: grid; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
  .logo small { display: none; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .info-item { flex-direction: column; padding: 22px; }
}

/* ===== Meerdere pagina's ===== */

/* Actieve pagina in het menu */
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Mobiel menu */
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  place-items: center; padding: 0;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), background .2s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0; z-index: 19;
  background: var(--bg); padding: 24px 16px 40px; overflow-y: auto;
}
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none;
  opacity: 0; transform: translateY(16px);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; font-size: 16px; border: 0; }
.menu-open .mobile-menu { display: block; }
.menu-open .mobile-menu a { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.menu-open { overflow: hidden; }
.menu-open .wa { display: none; }

/* Taalknop NL / EN */
.lang {
  display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.lang span { padding: 5px 9px; border-radius: 999px; color: var(--text-3); transition: background .2s var(--ease), color .2s var(--ease); }
.lang span.on { background: var(--ink); color: var(--on-dark); }
.lang:hover span:not(.on) { color: var(--accent); }

/* Menu nooit laten afbreken: eerder overschakelen naar het menuknopje */
.logo b, .nav-links a, .nav .btn { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .menu-btn { display: grid; }
}

/* Kop van een subpagina */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); max-width: 14em; }
.page-hero .lead { margin: 20px 0 0; }
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Kaart als link */
a.card { text-decoration: none; color: inherit; }
.card .more { margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }

/* Cijfers die optellen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; }
.stat b { display: block; font-size: clamp(36px, 4.5vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* Behandeling detail */
.treat { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.treat:first-of-type { border-top: 0; padding-top: 0; }
.treat .icon { width: 64px; height: 64px; margin-bottom: 24px; }
.treat .icon svg { width: 30px; height: 30px; }
.treat h2 { font-size: clamp(28px, 3.5vw, 40px); }
.treat p { color: var(--text-2); margin: 0 0 16px; }
.treat h3 { font-size: 16px; color: var(--text-2); margin: 28px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chips li:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subnav a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .2s, color .2s; }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }

/* Over Joachim */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.portrait {
  position: sticky; top: 100px;
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--accent-soft), var(--muted));
  display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--text-2); margin: 0 0 18px; }
.about-text p.big { color: var(--ink); font-size: 22px; line-height: 1.5; }
.about-text blockquote {
  margin: 32px 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.25; color: var(--ink);
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-item:hover { border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-item .icon { margin: 0; flex: none; }
.contact-item small { display: block; color: var(--text-3); font-size: 13px; }
.contact-item b { font-size: 17px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form h2 { font-size: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: 14px; color: var(--text-3); margin: 0; }
.form .btn { justify-content: center; border: 0; }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ok-bg); color: var(--ok-ink); font-size: 15px; }
.form.sent .form-ok { display: block; animation: rise .4s var(--ease) both; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .menu-btn { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .treat, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .values { grid-template-columns: 1fr; }
  .portrait { position: static; aspect-ratio: 4 / 3; }
  .page-hero { padding: 40px 0 48px; }
  .form .row { grid-template-columns: 1fr; }
  header.scrolled + .mobile-menu, header.scrolled ~ .mobile-menu { inset: 60px 0 0; }
}

/* Online boeken (contactpagina) */
.book-panel {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; align-content: start;
}
.book-panel .book-panel h2 { color: var(--on-dark); font-size: clamp(28px, 3.4vw, 36px); }
.book-panel h2 .serif { color: var(--accent-light); }
.book-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.book-steps li { display: flex; align-items: center; gap: 14px; color: rgb(255 255 255 / 85%); }
.book-steps b {
  width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 18%); font-size: 15px;
}
.book-panel .btn { justify-content: center; font-size: 16px; padding: 16px 22px; }
.book-panel .note { margin: 0; font-size: 15px; color: rgb(255 255 255 / 70%); }

/* Footer onderregel */
.foot-bottom { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--text-3); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); text-decoration: underline; }

/* Juridische pagina's */
.legal { max-width: 720px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { font-size: 14px; color: var(--text-3); margin-top: 48px; }
.legal-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.legal-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; }
.legal-steps h3 { margin-bottom: 6px; }
.legal-steps p { margin: 0; }
/* Nog in te vullen gegevens: valt op, zodat niets vergeten wordt */
.todo { background: var(--note-bg); color: var(--note-ink); padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound .big404 { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: clamp(96px, 18vw, 180px); line-height: 1; }

/* Floor 4 */
html, body { overflow-x: clip; }

/* Afmelden: melding onder het formulier */
.form-msg { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 15px; background: var(--ok-bg); color: var(--ok-ink); }
.form-msg[data-kind="warn"] { background: var(--note-bg); color: var(--note-ink); }
.form-msg[data-kind="err"] { background: var(--err-bg); color: var(--err-ink); }
.todo { background: var(--note-bg); color: var(--note-ink); }
/* Over ons: team en foto */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.team-card { flex-direction: row; align-items: center; gap: 18px; }
.team-card .avatar { width: 56px; height: 56px; font-size: 18px; }
.team-card p { margin: 4px 0 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .avatar { font-size: 14px; }
/* Stappen: automatisch een voor een, lijn loopt vol als laadbalk */
@keyframes step-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps.auto li { cursor: pointer; }
.steps.auto li::after { transition: none; transform: scaleX(0); }
.steps.auto li.done::after { transform: scaleX(1); }
.steps.auto li.active::after { animation: step-fill 4s linear forwards; }
.steps.auto.paused li.active::after, .steps.auto.offscreen li.active::after { animation-play-state: paused; }
.steps.auto li h3, .steps.auto li p { transition: opacity .4s var(--ease); opacity: .4; }
.steps.auto li.done h3, .steps.auto li.done p { opacity: .75; }
.steps.auto li.active h3, .steps.auto li.active p { opacity: 1; }
.steps.auto li::before { transform-origin: left bottom; transition: transform .45s var(--ease), color .3s var(--ease); color: var(--text-3); }
.steps.auto li.done::before { color: var(--accent); }
.steps.auto li.active::before { color: var(--accent); transform: scale(1.35); }
.steps.auto li:hover h3 { color: var(--accent); }
/* Kaarten met foto (homepage) */
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; transition: transform .6s var(--ease); }
.card-photo:hover img { transform: scale(1.05); }
.card-photo h3, .card-photo p, .card-photo .more { margin-left: 28px; margin-right: 28px; }
.card-photo h3 { margin-top: 24px; }
.card-photo .more { padding-bottom: 26px; }

/* Behandelingen: keuzelijst */
.treat-picker { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.treat-tabs { display: grid; gap: 10px; position: sticky; top: 96px; }
.treat-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.treat-tab:hover { border-color: var(--accent); transform: translateX(4px); }
.treat-tab::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent);
  transform: scaleY(0); transition: transform .35s var(--ease);
}
.treat-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow-md); }
.treat-tab[aria-selected="true"]::after { transform: scaleY(1); }
.treat-tab .icon { margin: 0; flex: none; width: 46px; height: 46px; transition: background .25s var(--ease), color .25s var(--ease), transform .4s var(--ease); }
.treat-tab[aria-selected="true"] .icon { background: var(--accent); color: var(--on-dark); transform: rotate(-8deg) scale(1.05); }
.treat-tab b { display: block; font-size: 16px; font-weight: 600; }
.treat-tab small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }

.treat-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 90px; }
.treat-panel + .treat-panel { margin-top: 24px; }
.js .treat-panel:not(.is-active) { display: none; }
.treat-photo { margin: 0; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; }
.treat-photo img { width: 100%; height: 100%; object-fit: cover; }
.treat-body { padding: clamp(24px, 4vw, 40px); }
.treat-body h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; }
.treat-body p { color: var(--text-2); margin: 0 0 14px; }
.treat-body h3 { font-size: 16px; color: var(--ink); margin: 26px 0 12px; }
.treat-body .btn { margin-top: 30px; }

@keyframes panel-img { from { opacity: .2; transform: scale(1.1); } to { opacity: 1; transform: none; } }
.js .treat-panel.is-active .treat-photo img { animation: panel-img .9s var(--ease) both; }
.js .treat-panel.is-active .treat-body > * { animation: rise .6s var(--ease) both; }
.js .treat-panel.is-active .treat-body > :nth-child(2) { animation-delay: .06s; }
.js .treat-panel.is-active .treat-body > :nth-child(3) { animation-delay: .12s; }
.js .treat-panel.is-active .treat-body > :nth-child(4) { animation-delay: .18s; }
.js .treat-panel.is-active .treat-body > :nth-child(5) { animation-delay: .24s; }
.js .treat-panel.is-active .treat-body > :nth-child(6) { animation-delay: .3s; }
.js .treat-panel.is-active .chips li { animation: rise .5s var(--ease) both; animation-delay: calc(var(--c, 0) * 60ms + .3s); }

@media (max-width: 900px) {
  .treat-picker { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .treat-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treat-tab { padding: 12px; gap: 10px; }
  .treat-tab small { display: none; }
  .treat-tab .icon { width: 38px; height: 38px; }
  .treat-tab:hover { transform: none; }
  .card-photo h3, .card-photo p, .card-photo .more { margin-left: 22px; margin-right: 22px; }
}

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); background: var(--muted); padding: 64px 0 28px; font-size: 15px; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.foot-brand p { margin: 14px 0 22px; max-width: 30ch; line-height: 1.6; }
.foot-brand .btn { padding: 12px 18px; font-size: 14px; }
.foot-col h2 { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; line-height: 1.5; }
.foot-col a { text-decoration: none; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-hours { margin: 0; display: grid; gap: 10px; line-height: 1.5; }
.foot-hours div { display: flex; justify-content: space-between; gap: 16px; }
.foot-hours dd { margin: 0; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
footer.site-footer .foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  font-size: 14px; color: var(--text-3);
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a { text-decoration: none; transition: color .2s var(--ease); }
.foot-legal a:hover { color: var(--ink); }
.foot-hours { max-width: 300px; }
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .foot-brand p { margin: 0; flex: 1 1 260px; }
}
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { display: block; }
  .foot-brand p { margin: 14px 0 22px; }
}
@media (max-width: 520px) {
  footer.site-footer { padding-top: 48px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  footer.site-footer .foot-bottom { flex-direction: column; align-items: flex-start; }
}