/* Moderne laag bovenop site.css.
   Eén opvallend moment: de groepsfoto bovenaan, met grote smalle titels.
   De rest blijft rustig: veel witruimte, weinig randen, smalle Barlow-titels. */
:root {
  --deep: #16213A;
  --mist: #EDF3F1;
  --display: "Barlow Semi Condensed", "Barlow", "Segoe UI", Arial, sans-serif;
}

/* Typografie: smalle, strakke titels */
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.02; }
h3 { letter-spacing: -0.005em; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); }

/* Kleine kopjes: gewone hoofdletters, geen streepje */
.eyebrow { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; }
.eyebrow::before { display: none; }

/* Knoppen zonder pijltje; rustiger */
.btn.arrow::after { content: none; }
.btn { padding: 14px 26px; font-weight: 600; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mint-soft); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Zachtere vlakken en minder randen */
.section { padding: 104px 0; }
.section-sand { background: var(--mist); }
.card, .price, .mini, .person, .side-card { border-color: transparent; box-shadow: 0 1px 0 rgba(31,45,71,.04), 0 18px 40px -28px rgba(31,45,71,.28); }
.section-sand .price, .section-sand .card { background: var(--white); }
.page-hero { background: var(--mist); padding: 72px 0 64px; }
.page-hero img { border-radius: 28px; }

/* Hoofding: wit en strak; op de startpagina doorzichtig boven de foto */
.site-header { border-bottom-color: transparent; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(22,33,58,.5); }
.brand .logo-light { display: none; }
.home .topbar { display: none; }
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.home .site-header:not(.scrolled) .logo-dark { display: none; }
.home .site-header:not(.scrolled) .logo-light { display: block; }
.home .site-header:not(.scrolled) .nav > a,
.home .site-header:not(.scrolled) .has-sub > a,
.home .site-header:not(.scrolled) .phone { color: var(--white); }
.home .site-header:not(.scrolled) .btn-primary { background: var(--white); color: var(--ink); }
.home .site-header:not(.scrolled) .menu-toggle { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.home .site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }

/* Startpagina: groepsfoto over de volle hoogte */
.mh { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--deep); overflow: hidden; color: var(--white); }
.mh-media { position: absolute; inset: 0; overflow: hidden; }
.mh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform-origin: 50% 30%; animation: mh-zoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
.mh::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(22,33,58,.55) 0%, rgba(22,33,58,0) 22%),
  linear-gradient(90deg, rgba(22,33,58,.55) 0%, rgba(22,33,58,.2) 55%, rgba(22,33,58,0) 80%),
  linear-gradient(180deg, rgba(22,33,58,0) 30%, rgba(22,33,58,.7) 60%, rgba(22,33,58,.95) 100%); }
.mh-copy { position: relative; z-index: 2; padding-bottom: 44px; }
.mh-copy > .wrap > * { animation: mh-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.mh-copy > .wrap > :nth-child(2) { animation-delay: .12s; }
.mh-copy > .wrap > :nth-child(3) { animation-delay: .24s; }
.mh-copy > .wrap > :nth-child(4) { animation-delay: .36s; }
.mh-kicker { color: var(--mint); font-weight: 600; margin-bottom: 18px; }
.mh h1 { color: var(--white); max-width: 13em; font-size: clamp(2.8rem, 7.2vw, 5.6rem); }
.mh-lead { color: #E3E9F3; font-size: 1.2rem; max-width: 34em; margin: 22px 0 30px; }
.mh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mh-bar { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); background: rgba(22,33,58,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mh-bar .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.mh-bar span { color: #C9D4E6; font-size: 0.95rem; }
.mh-bar nav { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-bar a { color: var(--white); text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); transition: background-color .15s ease, border-color .15s ease; }
.mh-bar a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
@keyframes mh-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes mh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Kop van een blok: titel links, uitleg rechts */
.m-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: 44px; }
.m-head p { max-width: 30em; justify-self: end; }
.m-head a { color: var(--ink); font-weight: 600; }

/* Intro: grote uitspraak */
.m-intro { padding-bottom: 40px; }
.m-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 80px; align-items: start; }
.m-intro h2 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }

/* Behandelingen: mozaïek van foto's */
.m-disc { padding-top: 64px; }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 26px; text-decoration: none; color: var(--white); background: var(--navy); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,33,58,0) 40%, rgba(22,33,58,.82) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile-txt { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; }
.tile-txt b { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.05; }
.tile-txt span { color: #E1E8F2; font-size: 0.98rem; }
.tile-txt em { font-style: normal; align-self: flex-start; background: var(--mint); color: var(--deep); font-weight: 600; font-size: 0.82rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.t-big { grid-row: span 2; }
.t-big .tile-txt b { font-size: 2.5rem; }
.t-brain { background: var(--navy); }
.t-brain img { object-fit: contain; object-position: 85% 20%; inset: 0 0 auto auto; width: 70%; height: 80%; opacity: .9; }
.t-brain::after { background: linear-gradient(180deg, rgba(47,67,105,0) 30%, rgba(47,67,105,.95) 85%); }

/* Stappen */
.m-steps { background: var(--mist); }
.m-steplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: stap; }
.m-steplist li { counter-increment: stap; border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.m-steplist li::before { content: counter(stap); font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--green); }
.m-steplist a { color: var(--ink); font-weight: 600; }

/* Team: horizontale rij portretten */
.m-team { padding-bottom: 88px; }
.tm-row { --edge: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); scroll-padding-inline: var(--edge); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 20px; scrollbar-width: thin; }
.tm-row:focus-visible { outline-offset: -3px; }
.tm { position: relative; scroll-snap-align: start; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--white); aspect-ratio: 4 / 5; background: var(--mint-soft); }
.tm img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tm:hover img { transform: scale(1.03); }
.tm span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, rgba(22,33,58,0), rgba(22,33,58,.85)); display: flex; flex-direction: column; font-size: 0.92rem; color: #DCE4F2; }
.tm b { color: var(--white); font-size: 1.08rem; }

/* Lessen en tarieven: iets rustiger */
.section-navy { background: var(--deep); }
.dag { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); border-radius: 22px; }
.dag h3 { text-transform: none; letter-spacing: 0; font-family: var(--display); font-size: 1.5rem; color: var(--mint); }
.praktijk img { border-radius: 28px; }

/* Afsluiter */
.m-cta { background: var(--navy); color: #D6DFEE; padding: 112px 0; text-align: center; }
.m-cta h2 { color: var(--white); font-size: clamp(3rem, 8vw, 6rem); }
.m-cta p { margin: 18px auto 32px; max-width: 34em; font-size: 1.15rem; }
.m-cta p a { color: var(--white); font-weight: 600; white-space: nowrap; }
.m-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 1000px) {
  .home .site-header:not(.scrolled) .nav.open a { color: var(--ink); }
  .m-head, .m-intro-grid { grid-template-columns: 1fr; }
  .m-head p { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 260px 260px; }
  .t-big { grid-row: auto; grid-column: 1 / -1; }
  .m-steplist { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .mh { min-height: 0; padding-top: var(--kop-h, 108px); }
  .mh-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .mh-img { object-position: 50% 30%; }
  .mh::before { display: none; }
  .mh-copy { padding: 30px 0 34px; background: var(--deep); }
  .mh-bar { background: var(--deep); }
  .mh-bar nav a { padding: 8px 14px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .t-big { grid-column: auto; }
  .tile-txt b, .t-big .tile-txt b { font-size: 1.7rem; }
  .m-cta { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-img, .mh-copy > .wrap > * { animation: none; }
  .lint path { transition: none; }
  .tile img, .tm img { transition: none; }
}

.price-from { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.85rem; }
.mh-kicker { text-shadow: 0 1px 12px rgba(22,33,58,.6); }

/* Het lint uit het logo: één mintgroene lijn die door de pagina loopt */
.m-intro, .m-cta { position: relative; overflow: hidden; }
.m-intro > .wrap, .m-cta > .wrap { position: relative; z-index: 1; }
.lint { position: absolute; left: 0; width: 100%; height: 260px; pointer-events: none; z-index: 0; }
.lint path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-intro { padding-top: 150px; }
.m-intro .lint { top: 10px; height: 130px; opacity: .9; }
.lint-cta { top: 10px; opacity: .55; }
.js .lint path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.45,.05,.2,1); }
.js .lint.getekend path { stroke-dashoffset: 0; }

/* Berichtenbalk */
.melding { background: var(--mint); color: var(--deep); font-size: 0.95rem; }
.melding .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; position: relative; }
.melding p { text-align: center; padding-right: 28px; }
.melding a { color: var(--deep); font-weight: 600; margin-left: 6px; }
.melding-x { position: absolute; right: 16px; background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--deep); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.melding.weg { display: none; }

/* Rooster: de lessen van vandaag lichten op */
.vandaag-tag { display: none; margin-left: 10px; vertical-align: middle; background: var(--mint); color: var(--deep); font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.dag.vandaag { border-color: var(--mint); background: rgba(156,198,184,.12); }
.dag.vandaag .vandaag-tag { display: inline-block; }

/* Veelgestelde vragen */
.m-faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px 80px; align-items: start; }
.m-faq-grid > div:first-child { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.m-faq-grid a { color: var(--ink); font-weight: 600; }
.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; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; color: var(--ink); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--green), var(--green)) center / 14px 2px no-repeat,
  linear-gradient(var(--green), var(--green)) center / 2px 14px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; }

/* Praktijk in beeld: foto's schermvullend openen */
[data-lightbox] img { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,18,32,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 14px; object-fit: contain; }
.lb figcaption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #D6DFEE; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1000px) {
  .m-faq-grid { grid-template-columns: 1fr; }
  .m-faq-grid > div:first-child { position: static; }
}
@media (max-width: 700px) {
  .lint { height: 160px; }
  .melding { font-size: 0.88rem; }
  .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .lint path { transition: none; stroke-dashoffset: 0; }
}

.site-header.scrolled .melding { display: none; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .feature-grid-3 { grid-template-columns: 1fr; } }
.highlight-tag { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.85rem; }
.section:has(> .wrap > .highlight:only-child) { padding: 56px 0; }
.page-hero-media img[src$="osteo-hero.jpg"] { aspect-ratio: 1 / 1; object-position: 50% 15%; }

/* Praktijk: gang en wachtzaal samen */
.praktijk-duo { display: grid; grid-template-columns: 0.8fr 1fr; gap: 16px; align-items: end; }
.praktijk .praktijk-duo img { border-radius: 24px; width: 100%; }
.praktijk .praktijk-duo .pd-gang { aspect-ratio: 2 / 3; object-position: 50% 60%; }
.praktijk .praktijk-duo .pd-wacht { aspect-ratio: 4 / 5; }
.gallery figure:first-child img { object-position: 50% 65%; }
@media (max-width: 700px) {
  .praktijk-duo { gap: 10px; }
  .praktijk .praktijk-duo img { border-radius: 16px; }
}

/* Terugbetaling podologie: lange teksten laten afbreken */
.podo-terug th, .podo-terug td { white-space: normal; vertical-align: top; }
.podo-terug tbody th { width: 26%; }
.podo-terug td { width: 37%; }
