/* hft-osteo 1.0.0: alleen geladen op /hondenosteopaat/ met marker id="hft-osteo-pagina".
   Archetype: tool staat in de hero als app-venster (anders dan kaakverlamming, waar de tool onderaan zit).
   Palet: donker petrol + oker. Kleuren expliciet, licht en donker tonen dezelfde pagina. */
html:has(body.ho-osteo) { overflow-x: clip; }
body.ho-osteo {
  --ho-wit: #ffffff; --ho-inkt: #1d2b33; --ho-zacht: #4e6069; --ho-lijn: #e0e7ea; --ho-vlak: #eef4f6;
  --ho-donker: #1c3242; --ho-donker-2: #16303f; --ho-akkoord: #9a6318; --ho-akkoord-vlak: #faf3e3;
  --ho-groenvlak: #e9f1ee; --ho-waarschuw: #a13c28; --ho-waarschuw-vlak: #fbebe5;
  background: var(--ho-wit) !important; color: var(--ho-inkt);
}
body.ho-osteo main, body.ho-osteo #content, body.ho-osteo .article-shell, body.ho-osteo .hft-content-flow {
  background: var(--ho-wit) !important;
}
body.ho-osteo .article-shell { max-width: none; padding: 0; }
body.ho-osteo main { padding: 0 !important; }
body.ho-osteo main > * { max-width: none; }

.ho-band { position: relative; width: auto; max-width: none; margin-left: 0; margin-right: 0; padding: clamp(40px, 7vw, 72px) max(24px, calc(50vw - 560px)); box-sizing: border-box; }
body.ho-osteo main .ho-band { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: max(24px, calc(50vw - 560px)) !important; padding-right: max(24px, calc(50vw - 560px)) !important; }
.ho-band--vlak { background: var(--ho-vlak); }
.ho-band--donker { background: var(--ho-donker); color: #eef4f6; }
.ho-band p { max-width: 64ch; }
.ho-binnen-sm { max-width: 800px; }
.ho-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.16; color: inherit; margin: 0 0 14px; max-width: 30ch; }
.ho-band h3 { font-size: 1.06rem; margin: 0 0 8px; }
.ho-band a { color: #8a5311; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ho-band--donker a { color: #f2c078; }
.ho-eyebrow { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.01em; color: #f2c078; margin: 0 0 12px; }

/* Hero */
.ho-hero { background: var(--ho-donker); color: #eef4f6; padding-top: clamp(28px, 4vw, 48px); }
.ho-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.ho-hero__kruimel { font-size: 0.85rem; color: #b9cdd6; margin: 0 0 18px; }
.ho-hero__kruimel a { color: #b9cdd6; }
.ho-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.01em; color: #fff; }
.ho-hero__lead { font-size: 1.12rem; line-height: 1.6; color: #d6e3e8; max-width: 56ch; }
.ho-hero__lead + .ho-hero__lead { margin-top: 12px; }
.ho-hero__knop { display: inline-block; margin-top: 20px; font-weight: 700; padding: 13px 22px; border-radius: 9px; background: #fff; color: var(--ho-donker); text-decoration: none; }
.ho-hero__bron { margin-top: 14px; font-size: 0.9rem; color: #b9cdd6; max-width: 58ch; line-height: 1.55; }
.ho-hero__bron a { color: #f2c078; }

/* Hero-SVG figuur */
.ho-hero__beeld { margin: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: clamp(14px, 2vw, 24px); }
.ho-hero__beeld svg { width: 100%; height: auto; display: block; }
.ho-hero__beeld figcaption { margin-top: 12px; font-size: 0.88rem; line-height: 1.5; color: #b9cdd6; }

/* Kerncijferstrook */
.ho-getallen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.ho-getal strong { display: block; font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1.05; color: var(--ho-akkoord); font-variant-numeric: tabular-nums; }
.ho-getal span { display: block; margin-top: 8px; font-size: 0.95rem; line-height: 1.5; color: var(--ho-zacht); }

/* Split-secties */
.ho-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.ho-split--om .ho-beeldzijde { order: 2; }
.ho-split p { margin: 0 0 14px; }

/* Zones-schema (wat een osteopaat bekijkt) */
.ho-zones { margin: 0; background: var(--ho-wit); border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(20, 35, 45, 0.07), 0 14px 34px rgba(20, 35, 45, 0.09); }
.ho-zones svg { width: 100%; height: auto; display: block; }
.ho-zones figcaption, .ho-kaders figcaption { margin-top: 12px; font-size: 0.84rem; color: var(--ho-zacht); line-height: 1.5; }
.ho-zonelegenda { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ho-zonelegenda li { display: flex; gap: 10px; align-items: baseline; font-size: 0.93rem; line-height: 1.5; }
.ho-zonelegenda i { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 3px; display: inline-block; position: relative; top: 1px; }

/* Kaders-tijdlijn */
.ho-kaders { margin: 0; background: var(--ho-wit); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(20, 35, 45, 0.07), 0 14px 34px rgba(20, 35, 45, 0.09); }
.ho-kaders ol { list-style: none; margin: 0; padding: 0; }
.ho-kaders li { position: relative; padding: 0 0 18px 26px; margin: 0; border-left: 2px solid var(--ho-lijn); }
.ho-kaders li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ho-kaders li::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ho-akkoord); }
.ho-kaders strong { display: block; }
.ho-kaders p { margin: 2px 0 0; font-size: 0.93rem; line-height: 1.5; color: var(--ho-zacht); }

/* Citaat-blok (letterlijke bron) */
.ho-citaat { margin: 18px 0 0; padding: 16px 18px; border-left: 4px solid var(--ho-akkoord); background: var(--ho-akkoord-vlak); border-radius: 0 10px 10px 0; }
.ho-citaat p { margin: 0 0 6px; font-size: 0.98rem; line-height: 1.6; }
.ho-citaat p:last-child { margin-bottom: 0; }
.ho-citaat .ho-citaat__bron { font-size: 0.85rem; color: var(--ho-zacht); }

/* App-venster (beslishulp, staat in de hero en als focus-punt) */
.ho-app { max-width: 640px; margin: 0 auto; background: var(--ho-wit); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 22px 54px rgba(0, 0, 0, 0.3); color: var(--ho-inkt); }
.ho-app__balk { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ecf2f4; }
.ho-app__balk i { width: 10px; height: 10px; border-radius: 50%; background: #c6d4da; }
.ho-app__balk p { margin: 0 0 0 8px; font-size: 0.85rem; font-weight: 700; color: var(--ho-zacht); }
.ho-app__lijf { padding: 20px 22px; }
.ho-app__label { display: block; font-weight: 700; margin: 0 0 8px; font-size: 0.95rem; }
.ho-app__chips { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.ho-chip { font: inherit; font-size: 0.93rem; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid #c2ced4; background: var(--ho-wit); color: var(--ho-inkt); cursor: pointer; text-align: left; }
.ho-chip[aria-pressed="true"] { background: var(--ho-donker); border-color: var(--ho-donker); color: #fff; }
.ho-chip:focus-visible { outline: 3px solid var(--ho-akkoord); outline-offset: 2px; }
.ho-app__start { font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 8px; border: 0; background: var(--ho-akkoord); color: #fff; cursor: pointer; }
.ho-app__start:focus-visible { outline: 3px solid var(--ho-donker); outline-offset: 2px; }
html body.ho-osteo .ho-app__start { background: var(--ho-akkoord) !important; color: #fff !important; }
.ho-app__wis { margin-left: 10px; }
.ho-app__melding { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--ho-waarschuw-vlak); color: var(--ho-waarschuw); font-size: 0.94rem; line-height: 1.5; }
.ho-uitslag { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ho-lijn); }
.ho-uitslag__kop { font-weight: 800; font-size: 1.04rem; margin: 0 0 10px; }
.ho-uitslag__tekst { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.6; }
.ho-checklijst { margin: 12px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--ho-groenvlak); }
.ho-checklijst p { margin: 0 0 6px; font-size: 0.92rem; line-height: 1.55; max-width: none; }
.ho-checklijst p:last-child { margin-bottom: 0; }
.ho-voetnoot { margin: 14px 0 0; font-size: 0.88rem; line-height: 1.55; color: var(--ho-zacht); }

/* Provincie-staven */
.ho-staven { margin: 0; background: var(--ho-wit); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(20, 35, 45, 0.07), 0 14px 34px rgba(20, 35, 45, 0.09); }
.ho-staaf { display: grid; grid-template-columns: 8.2em 1fr 3.2em; gap: 10px; align-items: center; margin: 0 0 7px; font-size: 0.88rem; }
.ho-staaf__naam { color: var(--ho-zacht); white-space: nowrap; }
.ho-staaf__balk { height: 16px; border-radius: 4px; background: #d7e4e9; position: relative; overflow: hidden; }
.ho-staaf__vulling { position: absolute; inset: 0 auto 0 0; background: #9fb9c2; border-radius: 4px 0 0 4px; }
.ho-staaf__honden { position: absolute; inset: 0 auto 0 0; background: var(--ho-donker); border-radius: 4px; }
.ho-staaf__aantal { font-variant-numeric: tabular-nums; color: var(--ho-zacht); text-align: right; }
.ho-staven figcaption { margin-top: 12px; font-size: 0.84rem; color: var(--ho-zacht); line-height: 1.5; }
.ho-legenda { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 12px; font-size: 0.85rem; color: var(--ho-zacht); }
.ho-legenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; position: relative; top: 1px; }

/* Vergelijkingstabel */
.ho-tabelwikkel { overflow-x: auto; margin: 20px 0 0; }
.ho-tabel { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; background: var(--ho-wit); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 35, 45, 0.07), 0 12px 30px rgba(20, 35, 45, 0.08); }
.ho-tabel th { text-align: left; background: var(--ho-donker); color: #fff; padding: 12px 14px; font-weight: 700; }
.ho-tabel td { padding: 12px 14px; border-top: 1px solid var(--ho-lijn); vertical-align: top; }
.ho-tabel td b { white-space: nowrap; }
.ho-tabel a { color: var(--ho-akkoord); }

/* Stappenrij */
.ho-stappen { list-style: none; counter-reset: st; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ho-stappen li { counter-increment: st; margin: 0; }
.ho-stappen li::before { content: counter(st); display: block; font-weight: 800; font-size: 1.45rem; color: var(--ho-akkoord); margin-bottom: 8px; }
.ho-stappen strong { display: block; margin-bottom: 4px; }
.ho-stappen p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ho-zacht); }

/* CTA-band */
.ho-cta .ho-split { align-items: center; }
.ho-cta p { color: #d6e3e8; }
html body.ho-osteo .ho-cta .ho-hero__knop { background: #fff; color: var(--ho-donker); }

/* FAQ */
.ho-faq details { border-bottom: 1px solid var(--ho-lijn); padding: 2px 0; }
.ho-faq details:first-of-type { border-top: 1px solid var(--ho-lijn); }
.ho-faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ho-faq summary::-webkit-details-marker { display: none; }
.ho-faq summary::after { content: "+"; font-weight: 700; color: var(--ho-akkoord); }
.ho-faq details[open] summary::after { content: "−"; }
.ho-faq details p { margin: 0 0 16px; max-width: 66ch; }

/* Methodenoot */
.ho-methode__blok { background: var(--ho-wit); border-radius: 14px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(20, 35, 45, 0.07), 0 12px 30px rgba(20, 35, 45, 0.08); }
.ho-methode__blok p { font-size: 0.9rem; line-height: 1.65; color: var(--ho-zacht); margin: 0 0 10px; }
.ho-methode__blok p:last-child { margin-bottom: 0; }
.ho-methode__blok a { color: #8a5311; }

@media (prefers-reduced-motion: reduce) {
  .ho-band, .ho-hero__knop, .ho-chip, .ho-app, .ho-kaders, .ho-staven, .ho-tabel, .ho-methode__blok, .ho-zones { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 880px) {
  .ho-hero__grid { grid-template-columns: 1fr; }
  .ho-split { grid-template-columns: 1fr; }
  .ho-split--om .ho-beeldzijde { order: 0; }
  .ho-getallen { grid-template-columns: 1fr; gap: 14px; }
  .ho-stappen { grid-template-columns: 1fr; gap: 16px; }
  .ho-staaf { grid-template-columns: 6.4em 1fr 2.6em; font-size: 0.82rem; }
  .ho-band { padding-left: 20px; padding-right: 20px; }
}
