/* MVDB, tandarts in Lier: voorbeeldsite. Tokens eerst. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #f3f9fa;
  --paper: #ffffff;
  --field: #dcf0f3;
  --ink: #0d3340;
  --ink-2: #12404f;
  --ink-soft: #3f5f69;
  --teal: #0e7490;
  --teal-press: #155e75;
  --cyan: #22d3ee;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --gap-section: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1rem + 5vw, 3rem); line-height: 1.02; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.05; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
@media (min-width: 960px) { h1 { font-size: clamp(3.4rem, 0.6rem + 5vw, 5.25rem); } }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--ink); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 16px; line-height: 1.4; padding: 10px var(--pad); text-align: center; }
.demo-note a { color: var(--ground); font-weight: 700; text-decoration: underline; display: inline-block; padding: 12px 2px; margin: -12px 0; }

/* kop */
.top { position: sticky; top: 0; z-index: 40; background: var(--ground); }
.top-in { display: flex; align-items: center; gap: 10px; min-height: var(--head-h); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.mark svg { width: 34px; height: 38px; flex: none; }
.mark-text { display: grid; line-height: 1; }
.mark-text b { font-size: 1.375rem; letter-spacing: 0.04em; }
.mark-text span { font-size: 1rem; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }
.nav { display: none; gap: 2px; }
.nav a { text-decoration: none; font-weight: 700; padding: 10px 12px; white-space: nowrap; border-radius: 4px; transition: background-color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--field); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 4px; font: 700 1.125rem var(--font); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: transform .16s var(--ease), background-color .2s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-main { background: var(--teal); color: #fff; }
.btn-main:hover { background: var(--teal-press); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--field); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #67e8f9; }
.btn-dark { background: var(--ink-2); color: var(--ground); }
.btn-dark:hover { background: #1b5466; }
.top .btn { min-height: 44px; padding: 8px 16px; }
.call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 700; border-radius: 4px; background: var(--paper); transition: background-color .2s var(--ease); }
.call:hover { background: var(--field); }
.call svg { width: 20px; height: 20px; }
.call-num { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; background: var(--ink); color: var(--ground); border-radius: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); padding: 8px; min-width: 240px; display: grid; box-shadow: 0 18px 40px rgba(13, 51, 64, .18); border-radius: 6px; } /* taste-skill-ignore: het uitklapmenu zweeft echt */
.menu-panel a { text-decoration: none; font-weight: 700; padding: 12px 14px; border-radius: 4px; }
.menu-panel a:hover { background: var(--field); }
@media (max-width: 400px) { .mark-text span { display: none; } }
@media (min-width: 680px) { .call-num { display: inline; } .call { padding: 0 16px; } }
@media (min-width: 1160px) { .nav { display: flex; margin-right: auto; } .menu { display: none; } .mark { margin-right: 24px; } }

/* hero */
.hero { padding-top: clamp(24px, 4vw, 56px); }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { max-width: 13ch; }
.lead { font-size: 1.375rem; line-height: 1.5; margin: 20px 0 0; max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { min-height: 56px; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.facts svg { width: 30px; height: 30px; margin-top: 1px; }
.hero-pic { margin: 0; overflow: hidden; background: var(--field); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; object-position: 40% 50%; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 6fr 5fr; gap: 56px; align-items: stretch; }
  .hero-pic img { aspect-ratio: auto; min-height: 640px; }
}

/* secties */
.section { padding-top: var(--gap-section); }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.head p { font-size: 1.375rem; margin: 0; max-width: 50ch; }

/* poetsklok */
.clock-band { background: var(--ink); color: var(--ground); margin-top: var(--gap-section); padding-block: clamp(64px, 8vw, 120px); }
.clock-grid { display: grid; gap: 40px; align-items: center; }
.clock-band p { color: #d6ebef; }
.clock-band h2 { margin-bottom: 18px; }
.timer { font-size: clamp(4rem, 3rem + 4vw, 6.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 18px 0 6px; color: var(--paper); }
.step { font-size: 1.375rem; font-weight: 700; min-height: 3.2em; margin: 0 0 18px; color: var(--paper); }
.clock-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dial { width: 100%; max-width: 460px; margin-inline: auto; }
.dial .face { fill: var(--ink-2); }
.dial .wedge { fill: transparent; transition: fill .3s var(--ease); }
.dial .wedge.on { fill: rgba(34, 211, 238, .16); }
.dial .t { fill: #e9f6f8; stroke: var(--ink); stroke-width: 2; transition: fill .3s var(--ease); }
.dial .t.on { fill: var(--cyan); }
.dial .t.done { fill: #7fa9b3; }
.dial .axis { stroke: #2b6274; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.dial .lbl { font: 700 19px var(--font); fill: #cfe7ec; text-anchor: middle; }
.dial .hand { transform-origin: 200px 200px; }
.dial .hand line { stroke: var(--cyan); stroke-width: 7; stroke-linecap: round; }
.dial .hub { fill: var(--cyan); }
.clock-src { font-size: 1rem; margin-top: 22px; }
.clock-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clock-pics img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 960px) { .clock-pics { grid-template-columns: 5fr 6fr; gap: 72px; } .clock-pics img { aspect-ratio: 16 / 9; } }
@media (min-width: 960px) { .clock-grid { grid-template-columns: 5fr 6fr; gap: 72px; } }

/* behandelingen (lijst in grote letters) */
.care { display: grid; gap: 40px; }
.care-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.care-list li { display: grid; gap: 4px; }
.care-list h3 { font-size: 2.25rem; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
.care-list h3 a { text-decoration: none; }
.care-list h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.care-list p { margin: 0; }
@media (max-width: 600px) { .care-list h3 { font-size: 1.75rem; } }
.care-pic { margin: 0; }
.care-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.care-pic figcaption, .cap { font-size: 1rem; color: var(--ink-soft); margin-top: 10px; }
@media (min-width: 960px) {
  .care { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
  .care-pic { position: sticky; top: calc(var(--head-h) + 24px); }
}
.more { margin-top: 28px; }

/* eerste afspraak */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li { background: var(--paper); padding: 28px; display: grid; gap: 10px; align-content: start; }
.steps h3 { font-size: 1.375rem; }
.steps p { margin: 0; }
.steps .when { font-weight: 700; color: var(--teal); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* spoed */
.urgent { background: var(--field); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-items: center; }
.urgent h2 { margin-bottom: 12px; }
.urgent p { margin: 0 0 8px; }
.urgent .icon-big { width: 64px; height: 64px; margin-bottom: 14px; }
.urgent .num { font-size: 2.25rem; font-weight: 700; text-decoration: none; display: inline-flex; min-height: 48px; align-items: center; }
@media (min-width: 860px) { .urgent { grid-template-columns: 7fr 5fr; gap: 48px; } }

/* ligging */
.where { display: grid; gap: 28px; }
.where-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.where-pics figure { margin: 0; }
.where-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.where h2 { margin-bottom: 20px; }
.addr-big { font-size: 2.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 16px; font-style: normal; }
.dist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.dist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.dist svg { width: 30px; height: 30px; }
@media (min-width: 960px) { .where { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }

/* vragen */
.faq-grid { display: grid; gap: 32px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.125rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 72px; } }

/* afsluiter */
.close { padding-block: var(--gap-section); }
.close-in { display: grid; gap: 24px; align-items: end; }
.close h2 { margin-bottom: 14px; }
@media (min-width: 960px) { .close-in { grid-template-columns: 7fr 5fr; gap: 72px; } }

/* voet */
.foot { background: var(--ink); color: var(--ground); padding-block: 64px 36px; }
.foot .big { font-size: clamp(4rem, 18vw, 15rem); font-weight: 700; letter-spacing: 0.02em; line-height: 1; margin: 0 0 40px; max-width: none; color: var(--paper); }
.foot-grid { display: grid; gap: 28px; }
.foot h2 { font-size: 1.375rem; margin-bottom: 8px; }
.foot p, .foot address { margin: 0 0 6px; font-style: normal; color: #d6ebef; }
.foot a { color: var(--paper); font-weight: 700; }
.foot .legal { margin-top: 40px; font-size: 1rem; display: grid; gap: 6px; max-width: 80ch; }
.foot .legal p { margin: 0; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* binnenpagina's */
.page-head { padding-top: clamp(28px, 5vw, 64px); }
.page-head h1 { margin-bottom: 18px; max-width: 16ch; }
.page-head .lead { margin-top: 0; max-width: 52ch; }
.treat { display: grid; gap: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 6vw, 80px); }
.treat-item { display: grid; gap: 24px; align-items: start; }
.treat-item > div { min-width: 0; }
.treat-item h2 { font-size: 2.25rem; margin-bottom: 14px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
@media (max-width: 600px) { .treat-item h2 { font-size: 1.75rem; } }
.treat-pair { display: grid; gap: clamp(56px, 7vw, 96px); }
@media (min-width: 860px) { .treat-pair { grid-template-columns: 1fr 1fr; gap: 72px; } }
.treat-item ul { padding-left: 1.2em; margin: 0 0 1em; }
.treat-item li { margin-bottom: 6px; }
.treat-item figure { margin: 0; }
.treat-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.treat-item .icon-big { width: 64px; height: 64px; margin-bottom: 14px; }
@media (min-width: 960px) {
  .treat-item { grid-template-columns: 6fr 5fr; gap: 72px; }
  .treat-item.flip > figure { order: -1; }
  .treat-item.solo { grid-template-columns: 1fr; }
}

/* afspraak-pagina */
.ask { display: grid; gap: 40px; padding-top: clamp(32px, 5vw, 64px); }
.form { background: var(--paper); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form .lbl { font-weight: 700; margin-bottom: 10px; display: block; padding: 0; }
.form .hint { font-weight: 400; color: var(--ink-soft); display: block; font-size: 1rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #9cc3cc; border-radius: 4px; background: var(--ground); font: 400 1.0625rem var(--font); color: var(--ink); }
.form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230d3340' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 22px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; }
.two { display: grid; gap: 22px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 4px; background: var(--field); font-weight: 700; transition: background-color .2s var(--ease); }
.opt input:checked + span { background: var(--teal); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.note { background: var(--field); padding: 14px 16px; margin: 0; font-size: 1rem; max-width: none; }
.done { display: none; background: var(--teal); color: #fff; padding: 28px; }
.done.show { display: block; }
.done h2 { font-size: 1.375rem; margin-bottom: 8px; }
.done a { color: #fff; font-weight: 700; }
.side { display: grid; gap: 28px; align-content: start; }
.side h2 { font-size: 1.375rem; margin-bottom: 8px; }
.side p { margin: 0 0 6px; }
.side .num { font-size: 2.25rem; font-weight: 700; text-decoration: none; display: inline-flex; min-height: 48px; align-items: center; }
.side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .ask { grid-template-columns: 7fr 4fr; gap: 64px; } }

/* beweging */
.js [data-rise] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.js .hero-pic img { transform: scale(1.05); transition: transform 1.8s var(--ease); }
.js .hero-pic.in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js .hero-pic img { transform: none; }
}
