/* Fysiotherapie Kweldergras: eigen ontwerp, los van de studio-kit.
   Voor wie: mensen met pijn die snel en rustig geholpen willen worden. Wat moet de lezer doen: een afspraak maken.
   Sfeer: kwelder bij laag water. Zachte mist, zeegroen, zand. Veel lucht, boogvormen, niets dat schreeuwt.
   Letters: Newsreader (koppen, met cursieve stem) en Albert Sans (tekst).
   Eén hoogtepunt: de lichaamskaart. Beweging: alleen het gras wuift, zacht. */
@font-face { font-family: "Newsreader"; src: url(fonts/display.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/text.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --mist: #f2f5f1; --mist-2: #e6ede7; --paper: #fbfcfa; --deep: #12302c; --deep-2: #2c4a45; --mute: #5a6f6a; --line: rgba(18, 48, 44, .13);
  --sea: #2f8f83; --sea-deep: #1f6f65; --sea-soft: #cfe5de; --sand: #e9dcc6;
  --serif: "Newsreader", Georgia, serif; --sans: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --gut: clamp(18px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--deep); font: 400 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 420; text-wrap: balance; }
h1 em, h2 em, .end-big em { font-style: italic; font-weight: 300; color: var(--sea-deep); }
::selection { background: var(--sea-soft); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { left: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--deep); color: var(--paper); font: 600 16.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .3s, transform .3s; }
.btn:hover { background: var(--sea-deep); transform: translateY(-2px); }
.txt { display: inline-flex; align-items: center; min-height: 44px; font: 600 16.5px/1 var(--sans); text-decoration: underline; text-decoration-color: var(--sea); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.txt:hover { color: var(--sea-deep); }

/* kop */
.head { display: flex; align-items: center; gap: 34px; padding: 22px var(--gut); }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark svg { width: 36px; height: 36px; fill: none; stroke: var(--sea); stroke-width: 2.4; stroke-linecap: round; }
.mark span { display: grid; font: 500 24px/1 var(--serif); letter-spacing: -.01em; }
.mark small { font: 500 12.5px/1.4 var(--sans); letter-spacing: .02em; color: var(--mute); }
.links { display: flex; gap: 30px; }
.links a, .book-link { font: 500 16px/1 var(--sans); text-decoration: none; }
.links a:hover { color: var(--sea-deep); }
.book-link { padding: 14px 24px; border-radius: 999px; background: var(--deep); color: var(--paper); transition: background-color .3s; }
.book-link:hover { background: var(--sea-deep); }
.menu-btn { display: none; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--deep); background: none; font: 600 15px var(--sans); color: var(--deep); cursor: pointer; }
.drawer { position: fixed; z-index: 60; inset: 0; padding: 110px var(--gut) 40px; background: var(--mist); display: grid; align-content: start; gap: 4px; }
.drawer[hidden] { display: none; }
.drawer a { font: 400 38px/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); padding: 10px 0; }
.menu-open .head { position: relative; z-index: 70; }

/* intro met boog */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(30px, 5vw, 70px) var(--gut) clamp(60px, 8vw, 120px); max-width: 1440px; margin: 0 auto; }
.over { margin: 0 0 26px; font: 500 15.5px/1.3 var(--sans); color: var(--mute); }
.intro h1 { font-size: clamp(46px, 6.4vw, 104px); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.intro h1 em { display: block; }
.lede { margin: 30px 0 36px; max-width: 46ch; font-size: clamp(18px, 1.4vw, 20px); color: var(--deep-2); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.arch { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(18, 48, 44, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(1.08); animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1); } }
.arch figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; padding: 14px 18px; border-radius: 16px; background: rgba(251, 252, 250, .86); backdrop-filter: blur(8px); font: 400 16px/1.4 var(--serif); font-style: italic; color: var(--deep); }

/* zwevende kaarten bij de boog */
.arch-wrap { position: relative; }
.tiles { position: absolute; inset: 0; pointer-events: none; }
.tile { position: absolute; padding: 14px 18px 14px 20px; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -18px rgba(18, 48, 44, .45); animation: drift 8s ease-in-out infinite; }
.tile::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sea); }
.tile small { display: block; font: 500 12.5px/1.2 var(--sans); color: var(--mute); }
.tile b { display: block; margin-top: 3px; font: 500 22px/1.15 var(--serif); }
.tl-1 { left: -14%; top: 18%; }
.tl-2 { right: -10%; top: 44%; animation-delay: -3s; }
.tl-3 { left: -8%; bottom: 22%; animation-delay: -5.5s; }
@keyframes drift { 50% { transform: translateY(-10px); } }

/* feitenstrook */
.facts { background: var(--deep); color: var(--mist); }
.facts-in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-in div { padding: 32px 24px 32px 0; }
.facts-in div + div { padding-left: 24px; border-left: 1px solid rgba(242, 245, 241, .16); }
.facts-in b { display: block; font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); color: #fff; }
.facts-in span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: rgba(242, 245, 241, .72); max-width: 26ch; }

/* praktijk en openingstijden */
.praktijk { padding: clamp(70px, 9vw, 140px) var(--gut) clamp(60px, 7vw, 110px); }
.pr-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.pr-img { margin: 0; }
.pr-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 999px 999px 26px 26px; }
.pr-img figcaption { margin-top: 14px; font: 400 16px/1.4 var(--serif); font-style: italic; color: var(--mute); }
.praktijk h2 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.025em; }
.praktijk h2 em { display: block; }
.pr-txt > p { color: var(--deep-2); margin: 20px 0 26px; max-width: 42ch; }
.tt { width: 100%; border-collapse: collapse; font-size: 17px; }
.tt th, .tt td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.tt td { text-align: right; color: var(--deep-2); font-variant-numeric: tabular-nums; }
.tt tr.today th, .tt tr.today td { font-weight: 600; color: var(--deep); }
.tt tr.today th::after { content: "vandaag"; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--sea-deep); color: #fff; font: 500 12px/1 var(--sans); vertical-align: 2px; }

/* afsluiter */
.close { padding: 0 var(--gut); margin-top: 20px; }
.close-in { max-width: 1440px; margin: 0 auto; padding: clamp(50px, 7vw, 100px) clamp(24px, 6vw, 90px); border-radius: 40px; background: var(--sea-deep); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.close h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.close h2 em { color: #bfe8df; display: block; }
.close p { grid-column: 1; margin: 0; color: rgba(255, 255, 255, .88); max-width: 46ch; }
.close .acts { grid-column: 2; grid-row: 1 / span 2; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--mist); color: var(--deep); }
.txt-light { color: #fff; text-decoration-color: #bfe8df; }
.txt-light:hover { color: #bfe8df; }

/* lichaamskaart */
.klacht { padding: clamp(70px, 9vw, 140px) var(--gut); background: var(--paper); border-radius: 48px 48px 0 0; }
.k-head { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; }
.klacht h2, .treat h2, .first h2, .money h2, .appt h2, .faq h2 { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
.klacht h2 em, .treat h2 em, .first h2 em, .money h2 em, .appt h2 em, .faq h2 em { display: block; }
.k-head p { margin: 0; color: var(--deep-2); max-width: 40ch; justify-self: end; }
.k-grid { max-width: 1100px; margin: clamp(40px, 6vw, 80px) auto 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.body { position: relative; width: min(100%, 250px); margin: 0 auto; }
.figure { display: block; width: 100%; height: auto; }
.figure circle, .figure path { fill: var(--mist-2); stroke: var(--sea); stroke-width: 1.4; stroke-linejoin: round; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 0; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--sea); transition: transform .35s, background-color .3s; }
.spot::after { inset: 8px; background: transparent; border: 1.5px solid var(--sea); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.spot:hover::before { transform: scale(1.25); }
.spot[aria-pressed="true"]::before { background: var(--deep); transform: scale(1.35); }
.spot[aria-pressed="true"]::after { border-color: var(--deep); }
.answer { padding: clamp(24px, 3vw, 44px); border-radius: 28px; background: var(--mist); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.chips button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 14.5px/1 var(--sans); color: var(--deep); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chips button:hover { border-color: var(--sea); }
.chips button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.answer h3 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.answer h4 { margin: 22px 0 6px; font: 600 15px/1.2 var(--sans); color: var(--sea-deep); }
.answer p { margin: 0; color: var(--deep-2); max-width: 52ch; }
.a-zien { margin-top: 12px !important; font-size: 19px; }
.answer .btn { margin-top: 26px; }
.answer.swap h3, .answer.swap p { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* behandelingen */
.treat { padding: clamp(70px, 9vw, 140px) var(--gut); background: var(--deep); color: var(--mist); overflow: hidden; }
.treat h2 { color: #fff; }
.treat h2 em { color: #7fcbbd; }
.treat .rail-hint { color: rgba(242, 245, 241, .7); }
.treat .tcard { background: #1b3d38; }
.treat .tcard p { color: rgba(242, 245, 241, .8); }
.treat .rail { scrollbar-color: #2f8f83 transparent; }
.rail-hint { max-width: 1100px; margin: 18px auto 0; font-size: 14.5px; color: var(--mute); }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 18px; scrollbar-width: thin; scrollbar-color: var(--sea-soft) transparent; }
.rail:focus-visible { outline-offset: -4px; }
.tcard { flex: 0 0 clamp(270px, 30vw, 420px); scroll-snap-align: start; background: var(--mist); border-radius: 26px; overflow: hidden; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tcard:hover { transform: translateY(-6px); }
.tcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tcard div { padding: 22px 24px 28px; }
.tcard h3 { font-size: 28px; letter-spacing: -.015em; line-height: 1.1; }
.tcard p { margin: 10px 0 0; color: var(--deep-2); font-size: 16.5px; }
.treat h2 { max-width: 1100px; margin: 0 auto; }

/* eerste afspraak */
.first { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); padding: clamp(70px, 9vw, 140px) var(--gut); max-width: 1440px; margin: 0 auto; }
.first-l p { color: var(--deep-2); max-width: 40ch; margin: 22px 0 0; }
.first-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 34px; border-radius: 26px; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1.5px; background: linear-gradient(var(--sea), var(--sea-soft)); }
.path li { position: relative; padding: 0 0 38px 54px; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ""; position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); border: 1.5px solid var(--sea); box-shadow: inset 0 0 0 5px var(--mist), inset 0 0 0 12px var(--sea); }
.path h3 { font-size: 30px; letter-spacing: -.015em; line-height: 1.15; }
.path p { margin: 6px 0 0; color: var(--deep-2); max-width: 50ch; }

/* vergoeding */
.money { padding: 0 var(--gut); }
.money-in { max-width: 1440px; margin: 0 auto; padding: clamp(44px, 6vw, 90px); border-radius: 999px 999px 40px 40px; background: var(--sea-soft); text-align: center; }
.money-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 980px; margin: 34px auto 0; text-align: left; }
.money-cols p { margin: 0; color: var(--deep-2); }

/* afspraak */
.appt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); padding: clamp(70px, 9vw, 140px) var(--gut); max-width: 1440px; margin: 0 auto; }
.appt-l p { color: var(--deep-2); max-width: 38ch; margin: 22px 0 0; }
.aform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3vw, 44px); background: var(--paper); border-radius: 28px; }
.fl { display: grid; gap: 8px; font: 500 15px/1.2 var(--sans); color: var(--deep-2); }
.fl input { min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--mist); font: 400 17px var(--sans); color: var(--deep); }
.fl input:focus { outline: none; border-color: var(--sea); background: #fff; }
.fl input[aria-invalid="true"] { border-color: #b8432f; }
.wide { grid-column: 1 / -1; }
.when { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.when legend { width: 100%; padding: 0; margin-bottom: 8px; font: 500 15px/1.2 var(--sans); color: var(--deep-2); }
.when label { position: relative; }
.when input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.when span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font: 500 15.5px/1 var(--sans); transition: background-color .25s, border-color .25s, color .25s; }
.when input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
.when input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 3px; }
.adone h3 { font-size: 32px; }
.adone p { margin: 8px 0 0; color: var(--deep-2); }
.adone .note { color: var(--sea-deep); font-size: 15px; }
.adone:focus { outline: none; }

/* vragen */
.faq { padding: 0 var(--gut) clamp(80px, 10vw, 150px); max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 420 23px/1.3 var(--serif); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--sea-soft) no-repeat center / 12px 12px linear-gradient(var(--deep), var(--deep)), var(--sea-soft); background-image: linear-gradient(var(--deep), var(--deep)), linear-gradient(var(--deep), var(--deep)); background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat; transition: transform .3s; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs p { margin: 0 0 24px; color: var(--deep-2); max-width: 60ch; }

/* voet */
.end { position: relative; background: var(--deep); color: var(--mist); margin-top: 60px; }
.end-grass { position: absolute; left: 0; right: 0; top: -60px; width: 100%; height: 61px; fill: var(--deep); }
.end-in { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut) 90px; }
.end-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; font-size: 15.5px; }
.end-grid > div:not(:first-child) { display: grid; align-content: start; gap: 8px; }
.end-grid p { margin: 0; color: rgba(242, 245, 241, .75); max-width: 34ch; }
.end-grid h3 { font: 500 20px/1.2 var(--serif); color: #fff; margin-bottom: 8px; }
.end-grid a { text-decoration: none; color: rgba(242, 245, 241, .85); }
.end-grid a:hover { color: #fff; }
.end-grid span { color: rgba(242, 245, 241, .75); }
.end-mark { display: grid; margin: 0 0 14px !important; font: 500 28px/1 var(--serif); color: #fff !important; }
.end-mark small { font: 500 13px/1.6 var(--sans); color: rgba(242, 245, 241, .7); }
.end-big { display: none; margin: 0; font: 400 clamp(60px, 10vw, 160px)/1 var(--serif); letter-spacing: -.03em; }
.end-big em { color: #7fcbbd; }
.end-contact { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 30px; font-size: 15.5px; }
.end-contact a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #7fcbbd; }
.end-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(242, 245, 241, .2); font-size: 14.5px; color: rgba(242, 245, 241, .75); }

.demo-bar { position: fixed; z-index: 80; left: 50%; bottom: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 9px 18px; border-radius: 999px; background: rgba(18, 48, 44, .92); color: var(--mist); font: 500 13px/1.3 var(--sans); text-align: center; backdrop-filter: blur(8px); }
.demo-bar a { color: #9fdccf; }

@media (max-width: 1000px) {
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-in div:nth-child(n+3) { border-top: 1px solid rgba(242, 245, 241, .16); }
  .pr-in, .close-in { grid-template-columns: minmax(0, 1fr); }
  .close .acts { grid-column: 1; grid-row: auto; }
  .end-grid { grid-template-columns: 1fr 1fr; }
  .tl-1 { left: -4%; } .tl-2 { right: -4%; } .tl-3 { left: 0; }
  .links, .book-link { display: none; }
  .menu-btn { display: inline-flex; }
  .intro, .first, .appt, .faq, .k-head { grid-template-columns: minmax(0, 1fr); }
  .k-head p { justify-self: start; }
  .k-grid { grid-template-columns: minmax(0, 1fr); }
  .arch { max-width: 420px; width: 100%; margin: 0 auto; }
  .body { width: min(70%, 240px); }
  .money-in { border-radius: 40px; }
  .money-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .end-grid { grid-template-columns: 1fr; }
  .tile { padding: 10px 14px 10px 16px; } .tile b { font-size: 17px; }
  .tl-1 { left: 0; top: 30%; } .tl-2 { right: 0; top: 52%; } .tl-3 { display: none; }
  .facts-in div { padding: 22px 12px 22px 0; } .facts-in div + div { padding-left: 12px; } .facts-in div:nth-child(3) { padding-left: 0; }
  .aform { grid-template-columns: 1fr; }
  .klacht { border-radius: 32px 32px 0 0; }
  .demo-bar { font-size: 12px; bottom: 8px; }
  .intro h1 { font-size: clamp(42px, 12vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
