/* Opmaak van de handleidingen op de site (Components/Pages/HandleidingPagina.razor).
   NIET MET DE HAND AANPASSEN: dit bestand komt uit ~/Source/duinker-handleidingen (python3 bouw.py --site).
   Het is stijl.css van dat project, waarbij elke regel alleen binnen .dkhl-doc geldt. De kop, de kaarten van het
   overzicht en de toegang staan in p-hulp.css (prefix dkhl). */
.dkhl-doc {
  --geel: #FFB71B; --geel-zacht: #FFF3D6; --label: #8A5700;
  --ink: #171A1B; --ink-78: rgba(23,26,27,.78); --ink-62: rgba(23,26,27,.62); --lijn: rgba(23,26,27,.12);
  --papier: #F7F5F2; --wit: #fff;
  --rood: #B3261E; --rood-zacht: #FCEDEB; --groen: #1F7A46;
  --r: 20px; --rk: 12px;
  --font: "General Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breed: 1180px;
}
.dkhl-doc * { box-sizing: border-box; }
.dkhl-doc { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--wit); -webkit-font-smoothing: antialiased; }
.dkhl-doc img, .dkhl-doc svg { max-width: 100%; display: block; }
.dkhl-doc a { color: inherit; }
.dkhl-doc h1, .dkhl-doc h2, .dkhl-doc h3, .dkhl-doc h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.dkhl-doc p { margin: 0 0 14px; text-wrap: pretty; }
.dkhl-doc p:last-child { margin-bottom: 0; }
.dkhl-doc strong, .dkhl-doc b { font-weight: 600; }
.dkhl-doc .zr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dkhl-doc .opbouw { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(36px, 4vw, 60px) clamp(56px, 6vw, 96px); }
.dkhl-doc .inhoud { position: sticky; top: 92px; font-size: 15px; }
.dkhl-doc .inhoud-kop { font-size: 13px; font-weight: 600; color: var(--ink-62); margin-bottom: 10px; }
.dkhl-doc .inhoud ol { list-style: none; margin: 0; padding: 0; counter-reset: i; }
.dkhl-doc .inhoud li { counter-increment: i; }
.dkhl-doc .inhoud a { display: flex; gap: 10px; padding: 7px 10px; margin-left: -10px; border-radius: 10px; text-decoration: none; color: var(--ink-78); line-height: 1.35; }
.dkhl-doc .inhoud a::before { content: counter(i); flex: none; width: 20px; font-weight: 600; color: var(--ink-62); font-variant-numeric: tabular-nums; }
.dkhl-doc .inhoud a:hover { background: var(--papier); color: var(--ink); }
.dkhl-doc .inhoud a.is-nu { background: var(--geel-zacht); color: var(--ink); font-weight: 500; }
.dkhl-doc .inhoud a.is-nu::before { color: var(--label); }
.dkhl-doc .hfd { padding-bottom: clamp(44px, 5vw, 72px); }
.dkhl-doc .samen > .hfd { padding-bottom: clamp(44px, 5vw, 72px); }
.dkhl-doc .hfd-kop { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 3px solid var(--geel); }
.dkhl-doc .hfd-nr { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--geel); display: grid; place-items: center; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.dkhl-doc .hfd h2 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -0.03em; }
.dkhl-doc .hfd h3 { font-size: 20px; margin: 30px 0 10px; }
.dkhl-doc .hfd h3:first-child { margin-top: 0; }
.dkhl-doc .hfd > p, .dkhl-doc .hfd > ul, .dkhl-doc .hfd > ol:not(.stappen) { max-width: 44em; }
.dkhl-doc .lead { font-size: 18px; color: var(--ink-78); }
.dkhl-doc .hfd ul { margin: 0 0 14px; padding-left: 1.15em; }
.dkhl-doc .hfd ul li { margin-bottom: 5px; }
.dkhl-doc .hfd ul li::marker { color: var(--geel); }
.dkhl-doc .stappen { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.dkhl-doc .stap { counter-increment: s; position: relative; border: 1px solid var(--lijn); border-radius: var(--r); padding: 20px 22px 20px 70px; background: var(--wit); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dkhl-doc .stap::before { content: counter(s); position: absolute; left: 20px; top: 19px; width: 34px; height: 34px; border-radius: 9px; background: var(--geel); display: grid; place-items: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.dkhl-doc .stap h3, .dkhl-doc .stap h4 { font-size: 19px; margin: 3px 0 7px; letter-spacing: -0.015em; }
.dkhl-doc .stap p { color: var(--ink-78); }
.dkhl-doc .stap--beeld { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.dkhl-doc .fig--smal { width: 100%; max-width: 190px; margin-inline: auto !important; }
.dkhl-doc .stap--breed { grid-template-columns: minmax(0, 1fr); }
.dkhl-doc .stap .fig { margin: 0; }
.dkhl-doc .stap ul { margin: 6px 0 0; }
.dkhl-doc .fig { margin: 20px 0; }
.dkhl-doc .fig-beeld { position: relative; background: var(--papier); border-radius: var(--r); overflow: hidden; }
.dkhl-doc .fig-beeld img { width: 100%; height: auto; }
.dkhl-doc .fig-beeld--foto { background: none; }
.dkhl-doc .fig figcaption { font-size: 14.5px; color: var(--ink-62); margin-top: 9px; line-height: 1.45; }
.dkhl-doc .pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--geel); border: 2.5px solid #fff; display: grid; place-items: center; font: 700 15px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.dkhl-doc .pin--klein { width: 25px; height: 25px; font-size: 13px; border-width: 2px; }
.dkhl-doc .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.dkhl-doc .duo .fig { margin: 0; }
.dkhl-doc .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.dkhl-doc .trio .fig { margin: 0; }
.dkhl-doc .naast { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; margin: 20px 0; }
.dkhl-doc .naast .fig { margin: 0; }
.dkhl-doc .legenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dkhl-doc .legenda li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.dkhl-doc .legenda .nr { width: 30px; height: 30px; border-radius: 50%; background: var(--geel); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.dkhl-doc .legenda b { display: block; line-height: 1.3; padding-top: 3px; }
.dkhl-doc .legenda span.t { display: block; color: var(--ink-78); font-size: 16px; line-height: 1.45; margin-top: 2px; }
.dkhl-doc .doos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.dkhl-doc .doos li { border: 1px solid var(--lijn); border-radius: var(--r); overflow: hidden; background: var(--wit); margin: 0; }
.dkhl-doc .doos-beeld { background: var(--papier); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.dkhl-doc .doos-beeld img { width: 100%; height: 100%; object-fit: contain; }
.dkhl-doc .doos-beeld svg { width: 46%; height: auto; color: var(--ink); }
.dkhl-doc .doos-tekst { padding: 13px 16px 15px; }
.dkhl-doc .doos-tekst b { display: block; line-height: 1.3; }
.dkhl-doc .doos-tekst span { display: block; font-size: 15px; color: var(--ink-62); line-height: 1.4; margin-top: 3px; }
.dkhl-doc .lijst-vink { list-style: none; padding: 0 !important; margin: 10px 0 0 !important; display: grid; gap: 8px; }
.dkhl-doc .lijst-vink li { position: relative; padding-left: 30px; margin: 0 !important; }
.dkhl-doc .lijst-vink li::before { content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--geel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23171A1B' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.dkhl-doc .kolommen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.dkhl-doc .vak { border: 1px solid var(--lijn); border-radius: var(--r); padding: 20px 22px; background: var(--wit); }
.dkhl-doc .vak--papier { background: var(--papier); border-color: transparent; }
.dkhl-doc .vak h3 { font-size: 18px; margin: 0 0 4px; }
.dkhl-doc .kader { border-radius: var(--r); padding: 16px 20px 17px 56px; margin: 18px 0; position: relative; max-width: 46em; }
.dkhl-doc .kader::before { content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; background: center / contain no-repeat; }
.dkhl-doc .kader b.k { display: block; margin-bottom: 2px; }
.dkhl-doc .kader--let { background: var(--rood-zacht); }
.dkhl-doc .kader--let b.k { color: var(--rood); }
.dkhl-doc .kader--let::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2 22 20.5H2z' fill='%23B3261E'/%3E%3Cpath d='M12 9.6v5.2M12 17.6v.1' stroke='%23fff' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dkhl-doc .kader--tip { background: var(--geel-zacht); }
.dkhl-doc .kader--tip::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23FFB71B'/%3E%3Cpath d='M12 11v6M12 7.3v.1' stroke='%23171A1B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dkhl-doc .kader--goed { background: #E9F5EE; }
.dkhl-doc .kader--goed b.k { color: var(--groen); }
.dkhl-doc .kader--goed::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%231F7A46'/%3E%3Cpath d='M7.4 12.4l3.1 3.1 6.2-6.7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dkhl-doc .stap .kader { margin: 12px 0 0; }
.dkhl-doc .tabel-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--lijn); border-radius: var(--r); }
.dkhl-doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.dkhl-doc th, .dkhl-doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--lijn); line-height: 1.45; }
.dkhl-doc tr:last-child td { border-bottom: 0; }
.dkhl-doc th { font-size: 14px; font-weight: 600; color: var(--ink-62); background: var(--papier); }
.dkhl-doc td:first-child { font-weight: 500; }
.dkhl-doc .tabel--spec td:first-child { width: 38%; color: var(--ink-62); font-weight: 400; }
.dkhl-doc .tabel--spec td:last-child { font-weight: 500; }
.dkhl-doc .ader { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.dkhl-doc .ader i { width: 22px; height: 12px; border-radius: 3px; border: 1px solid rgba(23,26,27,.35); display: inline-block; background: var(--k); }
.dkhl-doc .tek { background: var(--papier); border-radius: var(--r); padding: clamp(12px, 2vw, 22px); margin: 20px 0; }
.dkhl-doc .tek svg { width: 100%; height: auto; font-family: var(--font); }
.dkhl-doc .tek figcaption, .dkhl-doc .tek + figcaption { font-size: 14.5px; color: var(--ink-62); margin-top: 10px; line-height: 1.45; }
.dkhl-doc figure.tek { margin-inline: 0; }
.dkhl-doc .tek--wit { background: var(--wit); border: 1px solid var(--lijn); }
.dkhl-doc .viewer { position: relative; background: radial-gradient(ellipse 70% 60% at 50% 45%, #fff 0%, #f0efec 60%, #e6e4df 100%); border-radius: var(--r); overflow: hidden; margin: 20px 0 0; }
.dkhl-doc .viewer model-viewer { display: block; width: 100%; height: clamp(340px, 46vw, 520px); --poster-color: transparent; --min-hotspot-opacity: 0; outline: none; }
.dkhl-doc .viewer model-viewer::part(default-progress-bar) { display: none; }
.dkhl-doc .viewer-tip { position: absolute; left: 18px; top: 14px; font-size: 14px; font-weight: 500; color: var(--ink-62); pointer-events: none; }
.dkhl-doc .viewer-knoppen { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 0 12px; }
.dkhl-doc .viewer-knoppen button { font: 500 14px var(--font); color: var(--ink); cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(23,26,27,.2); background: rgba(255,255,255,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dkhl-doc .viewer-knoppen button[aria-pressed="true"] { background: var(--geel); border-color: var(--geel); }
.dkhl-doc .viewer.uit .dksh-punt { opacity: 0; pointer-events: none; }
.dkhl-doc .hulp { background: var(--ink); color: #F7F5F2; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.dkhl-doc .hulp h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.dkhl-doc .hulp p { color: rgba(247,245,242,.72); margin: 8px 0 0; max-width: 34em; }
.dkhl-doc .hulp-tel { font-size: clamp(28px, 3vw, 38px); font-weight: 600; color: var(--geel); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.dkhl-doc .hulp-sub { display: block; font-size: 14px; color: rgba(247,245,242,.62); margin-top: 2px; }
.dkhl-doc .alleen-pdf { display: none; }
@media (max-width: 960px) {
.dkhl-doc .opbouw { grid-template-columns: minmax(0, 1fr); }
.dkhl-doc .inhoud { position: static; border: 1px solid var(--lijn); border-radius: var(--r); padding: 16px 20px; }
.dkhl-doc .inhoud ol { columns: 2; column-gap: 20px; }
.dkhl-doc .inhoud li { break-inside: avoid; }
}
@media (max-width: 760px) {
.dkhl-doc { font-size: 16px; }
.dkhl-doc .stap { padding: 62px 18px 18px; }
.dkhl-doc .stap::before { left: 18px; top: 16px; }
.dkhl-doc .stap--beeld, .dkhl-doc .naast, .dkhl-doc .kolommen, .dkhl-doc .duo { grid-template-columns: minmax(0, 1fr); }
.dkhl-doc .stap .fig { max-width: 360px; }
.dkhl-doc .doos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dkhl-doc .tek { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dkhl-doc .tek svg { min-width: 640px; }
.dkhl-doc .tek--smal svg { min-width: 0; }
.dkhl-doc .tek figcaption { position: sticky; left: 0; }
.dkhl-doc .trio { grid-template-columns: minmax(0, 1fr); }
.dkhl-doc .hulp { grid-template-columns: minmax(0, 1fr); }
.dkhl-doc .inhoud ol { columns: 1; }
.dkhl-doc th, .dkhl-doc td { padding: 10px 12px; }
.dkhl-doc .pin { width: 26px; height: 26px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
.dkhl-doc * { transition: none !important; }
}

/* Op de site: de kolom is 1110 breed, de inhoudsopgave blijft onder de vaste navigatie staan en een hoofdstuk
   waar je naartoe springt komt onder die navigatie uit in plaats van erachter. */
.dkhl-doc { --breed: 1110px; }
.dkhl-doc .inhoud { top: calc(var(--dk-navh, 142px) + 24px); }
.dkhl-doc .hfd { scroll-margin-top: calc(var(--dk-navh, 142px) + 20px); }
.dkhl-doc .viewer { scroll-margin-top: calc(var(--dk-navh, 142px) + 20px); }
@media (max-width: 960px) { .dkhl-doc .inhoud { top: auto; } }
/* Kopmaten uit de schaal van de site (17, 20, 22, 26, 30, 32). */
.dkhl-doc .hfd h2 { font-size: clamp(26px, 2.4vw, 32px); }
.dkhl-doc .stap h3, .dkhl-doc .stap h4 { font-size: 20px; }
.dkhl-doc .vak h3 { font-size: 17px; }
.dkhl-doc .hulp h2 { font-size: clamp(26px, 2.4vw, 30px); }
/* Foto's hebben hun breedte en hoogte in de html staan, zodat de pagina niet verspringt tijdens het laden. */
.dkhl-doc img { height: auto; }
/* De labels in het 3D-model krijgen hun opmaak van de site (shop.css en js/model-punten.js). */
