/* Fysioplek website. Gewone HTML, geen framework, geen prerender.
   Richting: klinisch en rustig. Wit vlak, haarlijnen, kleine radius, groen alleen voor handelingen.
   De telefoon toont de app zoals hij echt is (ronde letter, kleuren uit Brand.swift). */
:root {
  /* site */
  --bg: #FFFFFF;
  --alt: #F4F7F7;
  --ink: #0F1E1D;
  --head: #0C3B3A;
  --muted: #586967;
  --line: #E1E8E7;
  --brand: #0F7B76;
  --brand-hover: #0B6560;
  --on-brand: #FFFFFF;
  --tint: #E8F4F2;
  --coral: #D9573A;
  --cta-bg: #0C3B3A;
  --cta-fg: #FFFFFF;
  /* app in de telefoon (Brand.swift) */
  --app-bg: #F4F8F7;
  --app-card: #FFFFFF;
  --app-ink: #111111;
  --app-deep: #0C3B3A;
  --app-muted: #7A8584;
  --app-brand: #0F7B76;
  --app-on-brand: #FFFFFF;
  --app-mint: #D5ECE8;
  --app-coral: #E9684B;
  --app-coral-soft: #FCE4DD;
  --app-sep: #E3E7E6;
  --app-fill: #E9EDEC;

  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --r: 12px;
  --wrap: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: only light;
}
/* Altijd licht, ook als de telefoon of computer op donker staat (besluit Tim, 16-11). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
[id] { scroll-margin-top: 88px; }

h1, h2, h3 { font-family: var(--display); color: var(--head); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 33em; }
.eyebrow { font: 600 0.8rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.eyebrow .dot { display: none; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(64px, 9vw, 112px); }
.band { background: var(--alt); }
.stack { display: grid; gap: 16px; align-content: start; }
.section-head { display: grid; gap: 14px; max-width: 44em; margin-bottom: clamp(36px, 5vw, 56px); }

/* Kop: op elke pagina dezelfde, alleen de wissel verschuift */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 68px; }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 1.32rem/1 var(--rounded); letter-spacing: -0.02em; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo .f { color: var(--head); }
.logo .p { color: var(--brand); }
.switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--alt); box-shadow: inset 0 0 0 1px var(--line); }
.switch a { padding: 8px 16px; border-radius: 8px; font: 600 0.94rem/1.2 var(--text); color: var(--muted); text-decoration: none; white-space: nowrap; }
.switch a:hover { color: var(--ink); }
.switch a[aria-current="page"] { background: var(--bg); color: var(--head); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, 0.06); }
.site-header .btn { justify-self: end; }
/* Taalwissel: rustige tekstlink vlak voor de knop */
.bar-end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang-switch { font: 600 0.9rem/1 var(--text); color: var(--muted); text-decoration: none; padding: 6px 2px; }
.lang-switch:hover { color: var(--brand); }
@media (max-width: 600px) {
  .site-header .bar { grid-template-columns: auto 1fr auto; gap: 10px; }
  .site-header .logo .word { display: none; }
  .switch { justify-self: center; }
  .switch a { padding: 7px 11px; font-size: 0.88rem; }
  .bar-end { gap: 10px; }
  .lang-switch { font-size: 0.85rem; }
}
/* Smalle telefoons (375px): alles op één regel houden, ook met "Patiënten / Praktijken / Aanmelden" */
@media (max-width: 400px) {
  .site-header .bar { gap: 6px; }
  .switch a { padding: 7px 8px; font-size: 0.86rem; }
  .bar-end { gap: 8px; }
  .lang-switch { padding: 6px 0; }
  .site-header .btn.sm { padding: 0 10px; font-size: 0.86rem; }
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--text); text-decoration: none; white-space: nowrap;
  background: var(--brand); color: var(--on-brand); transition: background-color .15s ease;
}
.btn:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn.ghost { background: transparent; color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 0.92rem; border-radius: 9px; }

/* Formulieren */
.signup { display: grid; gap: 10px; max-width: 500px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-row input { flex: 1 1 220px; min-width: 0; }
input, select, textarea {
  font: 400 1rem/1.3 var(--text); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
label { font-weight: 600; font-size: 0.93rem; display: grid; gap: 6px; }
.form-msg { font-size: 0.95rem; color: var(--brand); font-weight: 600; }
.form-msg:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.consent input { width: 18px; min-height: 18px; height: 18px; padding: 0; margin-top: 3px; flex: none; accent-color: var(--brand); }

/* Hero */
.hero { padding-block: clamp(44px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-usp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-usp li { display: flex; gap: 12px; align-items: baseline; font-size: 1.05rem; }
.hero-usp li::before { content: ""; flex: none; width: 18px; height: 18px; transform: translateY(3px); border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7B76' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero-usp b { font-weight: 650; color: var(--head); }
.hero .device-wrap { justify-self: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- iPhone ---------- */
.device-wrap { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.device {
  --dw: 300px;
  width: var(--dw); max-width: 100%;
  padding: calc(var(--dw) * 0.033);
  border-radius: calc(var(--dw) * 0.17);
  background: linear-gradient(150deg, #5d6463 0%, #2a2f2e 18%, #1b1f1e 50%, #2c3130 82%, #6b7271 100%);
  box-shadow: 0 0 0 1px #8a9291, 0 40px 70px -40px rgba(8, 30, 29, 0.55), 0 12px 24px -16px rgba(8, 30, 29, 0.35);
}
.device.lg { --dw: 320px; }
.device.md { --dw: 280px; }
.screen {
  position: relative; aspect-ratio: 393 / 852; width: 100%;
  border-radius: calc(var(--dw) * 0.14); overflow: hidden;
  background: var(--app-bg); container-type: inline-size; isolation: isolate;
}
.ui { position: absolute; inset: 0; font: 400 calc(100cqw * 17 / 393)/1.25 var(--rounded); color: var(--app-ink); display: flex; flex-direction: column; }
.island { position: absolute; z-index: 5; top: 0.65em; left: 50%; transform: translateX(-50%); width: 7.3em; height: 2.15em; border-radius: 2em; background: #000; }
.sbar { height: 3.2em; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0.35em 1.95em 0 2.55em; font: 600 1em/1 var(--text); color: var(--app-ink); }
.sbar .icons { display: flex; gap: 0.35em; align-items: center; }
.sbar svg { height: 0.72em; width: auto; fill: currentColor; }
.home { position: absolute; bottom: 0.5em; left: 50%; transform: translateX(-50%); width: 8em; height: 0.3em; border-radius: 1em; background: var(--app-ink); opacity: 0.85; z-index: 6; }
.content { padding: 0 1em; display: flex; flex-direction: column; gap: 0.75em; flex: 1; min-height: 0; overflow: hidden; }

.app-logo { display: flex; justify-content: center; align-items: center; gap: 0.3em; font: 800 1.3em/1 var(--rounded); padding: 0.5em 0 0.6em; letter-spacing: -0.02em; }
.app-logo svg { width: 1.15em; height: 1.15em; }
.app-logo .f { color: var(--app-deep); }
.app-logo .p { color: var(--app-brand); }
.a-hi { font-weight: 800; font-size: 1.85em; color: var(--app-deep); line-height: 1.05; padding: 0.35em 0.15em 0; letter-spacing: -0.01em; }
.a-ask { font-weight: 600; font-size: 1.18em; color: var(--app-brand); padding: 0.1em 0.15em 0.2em; }
.a-title { font-weight: 800; font-size: 2em; color: var(--app-deep); padding: 0.55em 0.1em 0.05em; letter-spacing: -0.01em; }
.a-card { background: var(--app-card); border-radius: 1.35em; padding: 0.95em 1.1em; display: grid; gap: 0.55em; }
.a-card.list { padding: 0 0 0 1.1em; gap: 0; }
.a-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; padding: 0.68em 1.1em 0.68em 0; border-bottom: 0.06em solid var(--app-sep); min-height: 2.6em; }
.a-row:last-child { border-bottom: 0; }
.a-row .v { color: var(--app-muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.a-row .v.brand { color: var(--app-brand); }
.a-row .chk { color: var(--app-brand); font-weight: 700; }
.a-sec { font-weight: 600; font-size: 0.95em; color: var(--app-muted); padding: 0.4em 1.15em 0; }
.a-foot { font-size: 0.78em; color: var(--app-muted); padding: 0 1.4em; line-height: 1.35; }
.a-badge { justify-self: start; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.6em; border-radius: 0.5em; background: var(--app-coral-soft); color: var(--app-coral); font-weight: 600; font-size: 0.82em; }
.a-name { font-weight: 600; font-size: 1.12em; display: flex; justify-content: space-between; align-items: center; }
.a-name .chev { color: var(--app-muted); font-weight: 400; }
.a-sub { color: var(--app-muted); font-size: 0.92em; margin-top: -0.35em; }
.a-hr { height: 0.06em; background: var(--app-sep); }
.a-slots { display: flex; gap: 0.45em; overflow: hidden; margin-right: -1.1em; }
.a-slot { flex: none; width: 4.6em; padding: 0.42em 0; border-radius: 2em; background: var(--app-mint); color: var(--app-deep); text-align: center; line-height: 1.12; }
.a-slot small { display: block; font-size: 0.74em; font-weight: 500; }
.a-slot b { display: block; font-size: 1.02em; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-field { color: var(--app-ink); padding: 0.1em 0 0.55em; border-bottom: 0.06em solid var(--app-sep); display: flex; justify-content: space-between; align-items: center; }
.a-field .x { width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--app-fill); display: inline-block; }
.a-loc { display: flex; gap: 0.7em; align-items: center; color: var(--app-brand); padding-top: 0.15em; }
.a-loc svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.a-btn { background: var(--app-brand); color: var(--app-on-brand); border-radius: 2em; text-align: center; font-weight: 600; font-size: 1.05em; padding: 0.75em 0; }
.a-link { color: var(--app-brand); text-align: center; font-size: 0.95em; }
.a-chips { display: flex; gap: 0.45em; flex-wrap: wrap; }
.a-chip { padding: 0.4em 0.85em; border-radius: 2em; background: var(--app-mint); color: var(--app-deep); font-weight: 500; font-size: 0.95em; }
.a-chip.on { background: var(--app-brand); color: var(--app-on-brand); font-weight: 600; }
.a-star { color: var(--app-coral); }
.a-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--app-fill); border-radius: 0.6em; padding: 0.15em; font-size: 0.92em; font-weight: 500; text-align: center; }
.a-seg span { padding: 0.35em 0; border-radius: 0.5em; }
.a-seg .on { background: var(--app-card); box-shadow: 0 0.05em 0.2em rgba(0, 0, 0, 0.12); font-weight: 600; }
.a-pill-ok { padding: 0.15em 0.55em; border-radius: 0.6em; background: rgba(52, 199, 89, 0.15); color: #1F9E48; font-weight: 600; font-size: 0.82em; }
.a-nav { display: flex; justify-content: space-between; align-items: center; padding: 0.3em 0 0.2em; }
.a-circle { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--app-card); box-shadow: 0 0 0 0.06em var(--app-sep); display: grid; place-items: center; color: var(--app-deep); }
.a-circle svg { width: 1.1em; height: 1.1em; }
.a-navtitle { font-weight: 700; color: var(--app-deep); font-size: 1.05em; }
.a-glasspill { padding: 0.55em 1em; border-radius: 2em; background: var(--app-card); box-shadow: 0 0 0 0.06em var(--app-sep); color: var(--app-brand); font-weight: 500; }
.a-bottom { margin-top: auto; padding: 0.8em 1em 2.2em; background: color-mix(in srgb, var(--app-card) 70%, var(--app-bg)); display: grid; gap: 0.45em; }
.a-tabbar { position: absolute; z-index: 4; bottom: 1.6em; left: 50%; transform: translateX(-50%); display: flex; gap: 0.2em; padding: 0.3em; border-radius: 2.2em; background: color-mix(in srgb, var(--app-card) 85%, transparent); box-shadow: 0 0 0 0.06em var(--app-sep), 0 0.4em 1.2em rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.a-tab { display: grid; justify-items: center; gap: 0.1em; padding: 0.35em 1.05em; border-radius: 1.8em; font-size: 0.66em; font-weight: 600; color: var(--app-ink); }
.a-tab svg { width: 1.9em; height: 1.9em; }
.a-tab.on { background: var(--app-fill); color: var(--app-brand); }
.a-done { flex: 1; display: grid; place-content: center; justify-items: center; gap: 0.5em; text-align: center; padding: 0 1.5em; }
.a-done svg { width: 4em; height: 4em; }
.a-done h4 { margin: 0; font: 700 1.35em/1.2 var(--rounded); color: var(--app-ink); }
.device-cap { font-size: 0.82rem; color: var(--muted); text-align: center; }

/* USP-raster */
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.usp { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.usp .k { font: 600 0.78rem/1 var(--text); color: var(--brand); letter-spacing: 0.06em; text-transform: uppercase; }
.usp h3 { font-size: 1.2rem; }
.usp p { color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
@media (max-width: 960px) { .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .usp-grid { grid-template-columns: minmax(0, 1fr); } }

/* Drie stappen met telefoons */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.flow-step { display: grid; gap: 26px; align-content: start; min-width: 0; }
.flow-step .device { --dw: 280px; justify-self: center; }
.flow-text { display: grid; gap: 8px; }
.flow-num { display: flex; align-items: center; gap: 12px; font: 600 0.8rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.flow-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.flow-text p { color: var(--muted); }
@media (max-width: 1060px) { .flow-step .device { --dw: 240px; } }
@media (max-width: 860px) {
  .flow { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 260px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .flow-step { scroll-snap-align: start; }
  .flow-step .device { --dw: 250px; }
}

/* Twee kolommen */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split .device-wrap { order: 2; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7B76' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks.no li::before { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9573A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.checks b { color: var(--head); font-weight: 650; }
.checks span { color: var(--muted); display: block; font-size: 0.97rem; }

.panel { background: var(--bg); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; align-content: start; }
.tag { justify-self: start; font: 600 0.72rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Review */
.review { display: grid; gap: 14px; }
.review .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font: 700 0.95rem/1 var(--text); flex: none; }
.stars { color: var(--coral); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--ink); }

/* Prijzen */
.price { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--display); letter-spacing: -0.03em; color: var(--head); font-variant-numeric: tabular-nums; }
.price small { font: 500 1rem/1.3 var(--text); letter-spacing: 0; color: var(--muted); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan.featured { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan .checks { border-top: 0; }
.plan .checks li:last-child { border-bottom: 0; }
.math { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-variant-numeric: tabular-nums; align-items: baseline; margin: 0; }
.math dt { font: 650 1.3rem/1.2 var(--display); text-align: right; color: var(--head); }
.math dd { margin: 0; color: var(--muted); }
.math .total { border-top: 1px solid var(--line); padding-top: 10px; }

.counter { display: grid; grid-template-columns: repeat(10, minmax(0, 30px)); gap: 8px; }
.counter i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.counter i.done { background: var(--brand); box-shadow: none; }

/* Vragen */
.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 600 1.08rem/1.4 var(--display); color: var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); display: grid; gap: 10px; max-width: 46em; }

/* Afsluiter */
.cta { background: var(--cta-bg); color: var(--cta-fg); border-radius: 16px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; }
.cta h2 { color: var(--cta-fg); }
.cta p { color: color-mix(in srgb, var(--cta-fg) 80%, transparent); }
.cta input, .cta select { border-color: transparent; }
.cta label { color: var(--cta-fg); }
.cta .form-msg { color: var(--cta-fg); }
.cta .consent { color: color-mix(in srgb, var(--cta-fg) 80%, transparent); }
.cta a { color: var(--cta-fg); }

/* Voet */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

/* Lange tekst */
.prose { max-width: 720px; display: grid; gap: 18px; }
.prose h2 { font-size: 1.45rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose .todo { background: #FFF1C2; color: #3D3200; padding: 0 4px; border-radius: 4px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--head); font-weight: 650; }

/* App Store-badge (tijdelijk, tot de app live staat; dan de officiële badge van Apple) */
.store-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 11px; border-radius: 10px; background: #000; color: #fff; box-shadow: 0 0 0 1px #A6A6A6; justify-self: start; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge > span { display: grid; font: 600 1.2rem/1.05 var(--text); letter-spacing: -0.01em; }
.store-badge small { font: 400 0.68rem/1.2 var(--text); letter-spacing: 0.01em; }

/* Genummerde stappen (praktijkpagina) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: stap; border-top: 1px solid var(--line); }
.steps li { counter-increment: stap; display: grid; gap: 10px; align-content: start; min-width: 0; padding: 24px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: "Stap " counter(stap); font: 600 0.78rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.steps p { color: var(--muted); }
:lang(en) .steps li::before { content: "Step " counter(stap); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Telefoon (besluit Tim 16-11: mag mooier op de telefoon) ---------- */
/* Taal staat op de telefoon in de voet, zodat de kop rustig blijft en op 320 breed past */
.site-footer .lang-foot { font-weight: 600; }
@media (max-width: 600px) {
  .site-header .lang-switch { display: none; }
  .site-header .bar { min-height: 60px; }
  section { padding-block: 56px; }
  .hero { padding-block: 32px 48px; }
  .hero-copy { gap: 22px; }
  .section-head { margin-bottom: 28px; }
  .lead { font-size: 1.08rem; }
  /* Knoppen in formulieren over de hele breedte, makkelijker met je duim */
  .signup-row .btn, .cta .signup .btn { flex: 1 1 100%; width: 100%; }
  /* Voordelen als rustige lijst in plaats van acht losse vakken */
  .usp-grid { border: 0; border-top: 1px solid var(--line); }
  .usp { padding: 20px 0 22px; border-right: 0; gap: 6px; }
  .usp h3 { font-size: 1.12rem; }
  .hero .device.lg { --dw: 280px; }
}
/* Drie stappen: vegen van rand tot rand, de volgende telefoon piept ernaast, met stipjes eronder */
@media (max-width: 860px) {
  .flow {
    grid-auto-columns: min(78vw, 300px); gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none; padding-bottom: 4px;
  }
  .flow::-webkit-scrollbar { display: none; }
  .flow-step { background: var(--alt); border-radius: 18px; padding: 22px 18px 22px; gap: 20px; }
  .flow-step .device { --dw: min(62vw, 240px); }
  .flow-num::after { display: none; }
}
.flow-dots { display: none; }
@media (max-width: 860px) {
  .flow-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .flow-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
  .flow-dots button[aria-current="true"] { width: 22px; background: var(--brand); }
}
/* Heel smalle telefoons (320 tot 360): logo blijft staan, alles net iets kleiner */
.site-header .logo { min-width: 26px; }
.site-header .logo svg { max-width: none; }
@media (max-width: 360px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px)); }
  .wrap { padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .site-header .bar { gap: 6px; }
  .switch a { padding: 7px 7px; font-size: 0.82rem; }
  .site-header .btn.sm { padding: 0 9px; font-size: 0.82rem; min-height: 36px; }
}
