/* =========================================================
   Fysiotherapie De Colvenier — één stylesheet, geen framework
   Kleuren en maten aanpassen? Alleen in :root hieronder.
   Lettertype: Inter (zelf gehost, geen Google).
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paars: #781d7e;          /* huiskleur, gelijk aan huidige site */
  --paars-donker: #4e1252;
  --paars-zacht: #f7f1f8;
  --paars-rand: #e6d6e8;
  --inkt: #1d1a1f;            /* koppen */
  --tekst: #2f2b33;           /* lopende tekst — hoog contrast */
  --gedempt: #5b5560;         /* nog steeds AA-contrast op wit */
  --lijn: #e7e3ea;
  --wit: #fff;
  --max: 1160px;
  --r: 16px;
  --schaduw: 0 1px 2px rgba(29,26,31,.06), 0 8px 24px rgba(29,26,31,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.0625rem;       /* 17px */
  line-height: 1.7;
  color: var(--tekst);
  background: var(--wit);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paars); text-underline-offset: .18em; }
a:hover { color: var(--paars-donker); }
:focus-visible { outline: 3px solid var(--paars); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--inkt); line-height: 1.15; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.accent { color: var(--paars); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.smal { max-width: 820px; }
section { padding: 80px 0; }
.zacht { background: var(--paars-zacht); }
.kop { max-width: 720px; margin: 0 0 40px; }
.kop.midden { margin-left: auto; margin-right: auto; text-align: center; }
.kop p { color: var(--gedempt); font-size: 1.1rem; }
.label { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paars); margin-bottom: .6em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wit); padding: 12px 18px; border-radius: 8px; }

/* ---------- Bovenbalk ---------- */
.bovenbalk { background: var(--paars); color: var(--wit); font-size: .95rem; }
.bovenbalk .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; }
.bovenbalk a { color: var(--wit); font-weight: 700; text-decoration: none; }
.bovenbalk a:hover { text-decoration: underline; color: var(--wit); }
.taal { display: flex; gap: 4px; }
.taal a, .taal span { padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.taal span { background: var(--wit); color: var(--paars); }
.taal a { border: 1px solid rgba(255,255,255,.55); }

/* ---------- Header + navigatie ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--lijn); backdrop-filter: saturate(1.4) blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
nav.hoofd ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
nav.hoofd a {
  display: block; padding: 12px 14px; color: var(--inkt); text-decoration: none;
  font-weight: 550; font-size: 1rem; border-radius: 8px;
}
nav.hoofd a:hover { background: var(--paars-zacht); color: var(--paars); }
nav.hoofd a[aria-current="page"] { color: var(--paars); box-shadow: inset 0 -3px 0 var(--paars); border-radius: 0; }

details.mobiel { display: none; }
@media (max-width: 960px) {
  nav.hoofd { display: none; }
  details.mobiel { display: block; }
  details.mobiel summary {
    list-style: none; cursor: pointer; user-select: none;
    background: var(--paars); color: var(--wit); font-weight: 600; font-size: 1rem;
    padding: 10px 18px; border-radius: 10px; display: flex; align-items: center; gap: 10px;
  }
  details.mobiel summary::-webkit-details-marker { display: none; }
  details.mobiel summary .open-ico { display: none; }
  details.mobiel[open] summary .dicht-ico { display: none; }
  details.mobiel[open] summary .open-ico { display: inline; }
  details.mobiel ul {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 20px 20px; list-style: none;
    background: var(--wit); border-bottom: 4px solid var(--paars); box-shadow: 0 16px 32px rgba(0,0,0,.12);
    max-height: calc(100vh - 140px); overflow-y: auto;
  }
  details.mobiel li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 4px; font-size: 1.1rem; font-weight: 600; color: var(--inkt); text-decoration: none;
    border-bottom: 1px solid var(--lijn);
  }
  details.mobiel li a::after { content: "›"; color: var(--paars); font-size: 1.4rem; line-height: 1; }
}

/* ---------- Knoppen ---------- */
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.knop {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; background: var(--paars); color: var(--wit); border: 2px solid var(--paars);
}
.knop:hover { background: var(--paars-donker); border-color: var(--paars-donker); color: var(--wit); }
.knop.rand { background: var(--wit); color: var(--paars); }
.knop.rand:hover { background: var(--paars-zacht); color: var(--paars-donker); }
.knop svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--paars-zacht) 0%, var(--wit) 100%); }
.hero .wrap { display: grid; gap: 48px; grid-template-columns: 1.05fr 1fr; align-items: center; }
.hero p.lead { font-size: 1.175rem; color: var(--tekst); max-width: 34em; }
.hero .foto { border-radius: 24px; overflow: hidden; box-shadow: var(--schaduw); background: var(--wit); }
.hero .foto img { width: 100%; }
.vinkjes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.vinkjes li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; color: var(--inkt); }
.vinkjes svg { width: 22px; height: 22px; flex: none; color: var(--paars); margin-top: 1px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero .foto { order: -1; }
}

/* ---------- Snelkeuze ---------- */
.keuzes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.keuze {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 76px; border-radius: var(--r);
  background: var(--wit); border: 1px solid var(--paars-rand); text-decoration: none; color: var(--inkt);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.keuze strong { display: block; font-size: 1.075rem; font-weight: 600; }
.keuze span { color: var(--gedempt); font-size: .95rem; }
.keuze .pijl { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paars-zacht); color: var(--paars); display: grid; place-items: center; font-size: 1.3rem; transition: background .15s, color .15s; }
.keuze:hover .pijl { background: var(--paars); color: var(--wit); }
.keuze:hover { border-color: var(--paars); transform: translateY(-2px); box-shadow: var(--schaduw); color: var(--inkt); }

/* ---------- Specialisaties ---------- */
.raster { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.kaart { background: var(--wit); border-radius: var(--r); overflow: hidden; box-shadow: var(--schaduw); display: flex; flex-direction: column; scroll-margin-top: 120px; }
.kaart img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.kaart .inhoud { padding: 24px 26px 28px; }
.kaart .inhoud p:last-child, .kaart ul:last-child { margin-bottom: 0; }
.kaart ul { padding-left: 1.2em; margin: 0 0 1em; }
.kaart.uitgelicht { box-shadow: 0 0 0 2px var(--paars), var(--schaduw); }
.kaart .tag { display: inline-block; background: var(--paars); color: var(--wit); font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Team ---------- */
.team { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.lid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; background: var(--paars-zacht); }
.lid h3 { margin-bottom: .35em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.chips li { font-size: .82rem; background: var(--paars-zacht); color: var(--paars-donker); padding: 3px 10px; border-radius: 999px; font-weight: 550; }
.lid details summary { cursor: pointer; color: var(--paars); font-weight: 600; padding: 8px 0; list-style: none; }
.lid details summary::-webkit-details-marker { display: none; }
.lid details summary::before { content: "+ "; }
.lid details[open] summary::before { content: "− "; }
.lid details p { font-size: 1rem; }

/* ---------- Twee kolommen / panelen ---------- */
.twee { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .twee { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.paneel { background: var(--wit); border-radius: var(--r); padding: 32px; box-shadow: var(--schaduw); }
.paneel img.rond { border-radius: 12px; margin-bottom: 24px; }
.lijst { padding-left: 1.2em; }
.lijst li { margin-bottom: .35em; }

/* ---------- Tabellen ---------- */
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 1rem; }
caption { text-align: left; font-weight: 600; color: var(--inkt); padding-bottom: 8px; font-size: 1.1rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
th { color: var(--paars); }
td.r, th.r { text-align: right; white-space: nowrap; }

/* ---------- Vergoeding-band ---------- */
.band { background: var(--paars); color: var(--wit); }
.band h2, .band a:not(.knop) { color: var(--wit); }
.band .knop { background: var(--wit); color: var(--paars); border-color: var(--wit); }
.band .knop:hover { background: var(--paars-zacht); color: var(--paars-donker); }
.band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.locaties { display: grid; gap: 20px; }
.locatie { border-left: 5px solid var(--paars); padding: 4px 0 4px 20px; }
.locatie h3 { margin-bottom: .2em; }
.contactregel { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.contactregel svg { width: 24px; height: 24px; color: var(--paars); flex: none; }
.contactregel a { color: var(--inkt); }

/* ---------- Veelgestelde vragen ---------- */
.faq details { background: var(--wit); border: 1px solid var(--lijn); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--inkt); padding: 18px 56px 18px 20px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--paars); }
.faq details[open] { border-color: var(--paars); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 8px; }

/* Inhoudsopgave infopagina */
.inhoudsopgave { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.inhoudsopgave a { display: inline-block; padding: 8px 16px; border: 1px solid var(--paars-rand); border-radius: 999px; text-decoration: none; font-weight: 550; background: var(--wit); }
.inhoudsopgave a:hover { border-color: var(--paars); }

/* ---------- Footer ---------- */
footer { background: #0e0c10; color: #e9e6ec; border-top: 8px solid var(--paars); padding: 56px 0 28px; }
footer h3 { color: var(--wit); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
footer a { color: #e9e6ec; }
footer a:hover { color: var(--wit); }
footer .kolommen { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .55em; }
footer .klein { margin-top: 40px; font-size: .95rem; color: #b5afba; border-top: 1px solid #2b2730; padding-top: 18px; }

/* ---------- Actiebalk onderaan (alleen mobiel) ---------- */
.actiebalk { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .actiebalk {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--wit); border-top: 1px solid var(--lijn); box-shadow: 0 -6px 18px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actiebalk a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 62px; text-decoration: none; color: var(--paars); font-weight: 600; font-size: .85rem;
  }
  .actiebalk a:first-child { background: var(--paars); color: var(--wit); }
  .actiebalk svg { width: 22px; height: 22px; }
}
.groepsfoto { width: 100%; border-radius: var(--r); margin: 0 0 40px; }
@media (max-width: 430px) { .bovenbalk .pre { display: none; } }
