/* Dienstpagina's van Stolk Schilders.
 *
 * Statische HTML uit scripts/bouw-diensten.mjs. Kop, voet, broodpad en de
 * artikel-index komen uit inspiratie.css (prefix insp-); alles hier heeft de
 * prefix dst-. De typografie volgt de homepage: lichte koppen met een vet
 * accent. Elke pagina kiest een eigen hero-compositie (dst-hero--<vorm>) en
 * een eigen volgorde van secties, zodat geen twee pagina's dezelfde vorm hebben.
 */

.dst-pagina { --dst-wit: #fff; --dst-maat: 68ch; --dst-r: 20px; }
.dst-pagina main { overflow-x: clip; }

/* ---------- Typografie ---------- */
.dst-h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 300; margin: 0 0 20px; text-wrap: balance; max-width: 18ch; }
.dst-h1 b { display: block; font-weight: 650; }
.dst-lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.65; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.dst-h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.14; letter-spacing: -.03em; font-weight: 300; margin: 0 0 18px; max-width: 24ch; text-wrap: balance; }
.dst-h2 b { font-weight: 650; }
.dst-h3 { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; margin: 0 0 6px; }

/* ---------- Knoppen ---------- */
.dst-knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.dst-knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--navy); }
.dst-knop:hover { background: #1D2637; }
.dst-knop--stil { background: transparent; color: var(--ink); border-color: var(--line-sterk); }
.dst-knop--stil:hover { background: var(--warm); border-color: var(--navy); }
.dst-knop--licht { background: #fff; color: var(--ink); border-color: #fff; }
.dst-knop--licht:hover { background: var(--warm); }
.dst-knop svg { width: 17px; height: 17px; flex: none; }
.dst-pagina a:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--navy); }

/* ---------- Hero: gedeeld ---------- */
.dst-hero { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 8px; }
@media (min-width: 1024px) { .dst-hero { padding-top: 44px; } }
.dst-hero figure { margin: 0; min-width: 0; }
.dst-hero picture, .dst-hero img { display: block; width: 100%; }
.dst-hero img { height: auto; border-radius: var(--dst-r); }
.dst-bijschrift { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 10px; }
.dst-hero-tekst { min-width: 0; }
.dst-hero-noot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.dst-hero-noot li { display: inline-flex; align-items: center; gap: 8px; }
.dst-hero-noot svg { width: 16px; height: 16px; color: var(--groen); flex: none; }

/* 1. split: tekst links, staand beeld rechts */
@media (min-width: 1024px) {
  .dst-hero--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
}

/* 2. doek: breed beeld over de volle wrap, tekst als kaart die erover valt */
.dst-hero--doek { gap: 0; }
.dst-hero--doek img { border-radius: var(--dst-r); aspect-ratio: 21 / 9; object-fit: cover; min-height: 220px; }
.dst-hero--doek .dst-hero-tekst { background: var(--dst-wit); border: 1px solid var(--line); border-radius: var(--dst-r); padding: 26px 22px 28px; margin: -48px 12px 0; position: relative; box-shadow: var(--schaduw); }
@media (min-width: 1024px) {
  .dst-hero--doek .dst-hero-tekst { margin: -120px 0 0 48px; max-width: 640px; padding: 40px 44px 42px; }
}

/* 3. detail: staand detailbeeld links, tekst en controlepunten rechts */
@media (min-width: 1024px) {
  .dst-hero--detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .dst-hero--detail figure { order: -1; }
}

/* 4. diagnose: tekst en drie stappen eerst, breed beeld eronder */
.dst-hero--diagnose .dst-h1 { max-width: 16ch; }
.dst-stappenrij { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: stap; }
@media (min-width: 768px) { .dst-stappenrij { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.dst-stappenrij li { counter-increment: stap; background: var(--warm); border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.5; }
.dst-stappenrij li::before { content: "0" counter(stap); display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.dst-stappenrij strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 2px; }
.dst-hero--diagnose figure img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1024px) { .dst-hero--diagnose .dst-lead { max-width: 60ch; } }

/* 5. portret: lang staand beeld links dat meeloopt, tekst rechts */
@media (min-width: 1024px) {
  .dst-hero--portret { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .dst-hero--portret figure { order: -1; }
  .dst-hero--portret .dst-hero-tekst { padding-top: 56px; }
}

/* 6. vlak: gecentreerde titel, rustig breed beeld eronder */
.dst-hero--vlak { text-align: left; }
@media (min-width: 1024px) {
  .dst-hero--vlak { justify-items: center; text-align: center; }
  .dst-hero--vlak .dst-h1, .dst-hero--vlak .dst-lead { margin-left: auto; margin-right: auto; }
  .dst-hero--vlak .dst-h1 { max-width: 20ch; }
  .dst-hero--vlak .dst-knoppen { justify-content: center; }
}
.dst-hero--vlak figure { width: 100%; }
.dst-hero--vlak img { aspect-ratio: 21 / 9; object-fit: cover; min-height: 220px; }

/* 7. kader: warm paneel, staand beeld ingelijst rechts */
.dst-hero--kader { background: var(--warm); border-radius: 28px; padding: 26px 20px 28px; margin-top: 20px; }
@media (min-width: 1024px) {
  .dst-hero--kader { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 48px 56px; }
}
.dst-hero--kader img { border-radius: 14px; border: 10px solid var(--dst-wit); box-shadow: var(--schaduw); }

/* 8. band: donkere band, beeld rechts, feitenrij */
.dst-band { background: var(--navy); color: #fff; margin-top: 0; }
.dst-band .dst-hero { padding-top: 40px; padding-bottom: 44px; }
@media (min-width: 1024px) {
  .dst-band .dst-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
}
.dst-band .dst-h1, .dst-band .dst-h1 b { color: #fff; }
.dst-band .dst-lead { color: rgba(255,255,255,.74); }
.dst-band .insp-eyebrow { color: #D9C6A5; }
.dst-band .dst-bijschrift { color: rgba(255,255,255,.62); }
.dst-band .dst-knop { background: #fff; color: var(--ink); border-color: #fff; }
.dst-band .dst-knop:hover { background: var(--warm); }
.dst-band .dst-knop--stil { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.dst-band .dst-knop--stil:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.dst-band .dst-hero-noot { color: rgba(255,255,255,.78); }
.dst-band .dst-hero-noot svg { color: #9FD3B6; }
.dst-band a:focus-visible { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px #fff; }

/* 9. gevel: breed beeld links, tekst rechts */
@media (min-width: 1024px) {
  .dst-hero--gevel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .dst-hero--gevel figure { order: -1; }
}
.dst-hero--gevel img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Secties ---------- */
.dst-sectie { padding-top: 64px; }
@media (min-width: 1024px) { .dst-sectie { padding-top: 88px; } }
.dst-sectie--warm { background: var(--warm); margin-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .dst-sectie--warm { margin-top: 88px; padding-bottom: 80px; } }
.dst-sectie--warm + .dst-sectie--warm { margin-top: 0; }
.dst-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--insp-goud); margin: 0 0 12px; }

.dst-tekst { max-width: var(--dst-maat); }
.dst-tekst > p, .dst-tekst li { font-size: 16.5px; line-height: 1.72; }
.dst-tekst > p { margin: 0 0 18px; }
.dst-tekst ul { padding-left: 22px; margin: 0 0 18px; }
.dst-tekst li { margin-bottom: 8px; }
.dst-tekst a, .dst-punten a, .dst-faq a, .dst-regels a, .dst-kosten a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dst-tekst h3 { font-size: 18.5px; font-weight: 650; margin: 28px 0 8px; }
.dst-kolommen { display: grid; gap: 8px 56px; }
@media (min-width: 1024px) { .dst-kolommen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Punten: label links, uitleg rechts, gescheiden door lijnen */
.dst-punten { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dst-punten > li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .dst-punten > li { grid-template-columns: minmax(170px, 2fr) minmax(0, 5fr); gap: 32px; } }
.dst-punten strong { font-size: 16.5px; font-weight: 650; color: var(--ink); }
.dst-punten p { margin: 0; font-size: 16px; line-height: 1.65; color: #3d4351; }

/* Genummerde volgorde (alleen voor echte volgordes) */
.dst-volgorde { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: v; }
@media (min-width: 768px) { .dst-volgorde { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; } }
@media (min-width: 1024px) { .dst-volgorde--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dst-volgorde--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dst-volgorde > li { counter-increment: v; border-top: 1px solid var(--line-sterk); padding-top: 14px; }
.dst-volgorde > li::before { content: counter(v, decimal-leading-zero); display: block; font-size: 30px; font-weight: 300; letter-spacing: -.04em; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.dst-volgorde strong { display: block; font-size: 16.5px; font-weight: 650; margin-bottom: 4px; }
.dst-volgorde p { margin: 0; font-size: 15px; line-height: 1.6; color: #3d4351; }

/* Afweging: zelf doen of laten doen */
.dst-afweging { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 768px) { .dst-afweging { grid-template-columns: 1fr 1fr; gap: 20px; } }
.dst-afweging > div { border-radius: 18px; padding: 22px 24px 18px; background: var(--dst-wit); border: 1px solid var(--line); }
.dst-afweging > div:last-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.dst-afweging h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; margin: 0 0 12px; }
.dst-afweging h3 svg { width: 20px; height: 20px; flex: none; }
.dst-afweging ul { list-style: none; margin: 0; padding: 0; }
.dst-afweging li { font-size: 15.5px; line-height: 1.6; padding: 10px 0; border-top: 1px solid var(--line); }
.dst-afweging > div:last-child li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.86); }

/* Kosten */
.dst-kosten .insp-tabelwrap { margin: 18px 0; }
.dst-kosten .insp-tabel { background: var(--dst-wit); border-radius: 14px; overflow: hidden; }
.dst-factoren { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; padding: 0; list-style: none; }
.dst-factoren li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--dst-wit); border: 1px solid var(--line); }

/* Regels uit officiële bronnen */
.dst-regels { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 900px) { .dst-regels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.dst-regel { background: var(--dst-wit); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.dst-regel h3 { font-size: 16.5px; font-weight: 650; margin: 0 0 8px; }
.dst-regel p { font-size: 15px; line-height: 1.62; margin: 0 0 10px; color: #3d4351; }
.dst-regel .dst-bron { font-size: 13px; color: var(--muted); margin: 0; }
.dst-regel .dst-bron a { color: var(--muted); }

/* Citaat (echte beoordeling, met bron) */
.dst-citaat { margin: 0; max-width: 62ch; }
.dst-citaat blockquote { margin: 0; }
.dst-citaat blockquote p { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 300; letter-spacing: -.01em; margin: 0; text-wrap: pretty; }
.dst-citaat blockquote p::before { content: "“"; } .dst-citaat blockquote p::after { content: "”"; }
.dst-citaat figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.dst-citaat figcaption a { color: var(--muted); text-underline-offset: 3px; }

/* Veelgestelde vragen */
.dst-faq { max-width: 860px; margin-top: 8px; border-top: 1px solid var(--line); }
.dst-faq details { border-bottom: 1px solid var(--line); }
.dst-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; min-height: 56px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.dst-faq summary::-webkit-details-marker { display: none; }
.dst-faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-sterk); background:
  linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; }
.dst-faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat; }
.dst-faq summary:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--navy); border-radius: 6px; }
.dst-faq .dst-antwoord { padding: 0 0 20px; max-width: var(--dst-maat); }
.dst-faq .dst-antwoord p { font-size: 16px; line-height: 1.7; color: #3d4351; margin: 0 0 12px; }

/* Verwante diensten */
.dst-verwant { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .dst-verwant { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.dst-verwant a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 64px; }
.dst-verwant strong { font-size: 17px; font-weight: 650; }
.dst-verwant span { grid-column: 1; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.dst-verwant svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; transition: transform .2s ease; }
.dst-verwant a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .dst-verwant a:hover svg { transform: translateX(4px); } }

/* Artikelen: hergebruikt .insp-index-item */
.dst-artikelen { border-top: 1px solid var(--line); margin-top: 8px; }

/* Afsluitende CTA */
.dst-cta { background: var(--navy); color: #fff; border-radius: 28px; padding: 36px 24px; display: grid; gap: 22px; }
@media (min-width: 1024px) { .dst-cta { grid-template-columns: minmax(0, 7fr) auto; align-items: center; padding: 52px 56px; gap: 40px; } }
.dst-cta h2 { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 300; margin: 0 0 10px; color: #fff; text-wrap: balance; }
.dst-cta h2 b { font-weight: 650; }
.dst-cta p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.74); margin: 0; max-width: 56ch; }
.dst-cta a:focus-visible { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px #fff; }

/* Contactblok */
.dst-contact { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 768px) { .dst-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.dst-contact a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--dst-wit); text-decoration: none; color: var(--ink); min-height: 72px; }
.dst-contact a:hover { border-color: var(--navy); }
.dst-contact strong { font-size: 16px; font-weight: 650; }
.dst-contact span { font-size: 14.5px; color: var(--muted); }
.dst-contact-noot { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }

.dst-slot { padding-bottom: 72px; }
@media (min-width: 1024px) { .dst-slot { padding-bottom: 96px; } }

/* Tapdoelen in lopende tekst blijven ongemoeid; knoppen en blokken halen 44px+. */
@media (prefers-reduced-motion: reduce) { .dst-verwant svg { transition: none; } }

/* Kostentabel past op een telefoon: drie korte kolommen, tekst mag afbreken. */
.dst-kosten .insp-tabel { min-width: 0; }
.dst-kosten .insp-tabel td, .dst-kosten .insp-tabel th { padding: 11px 12px; }
/* Op een warm vlak krijgen callouts een wit vlak, anders vallen ze weg. */
.dst-sectie--warm .insp-callout { background: var(--dst-wit); border: 1px solid var(--line); }
/* Bij 'doek' valt de tekstkaart over de onderrand van het beeld; het label
   "Sfeerbeeld" staat daarom als klein label in de hoek van het beeld zelf. */
.dst-hero--doek figure { position: relative; }
.dst-hero--doek .dst-bijschrift { position: absolute; top: 12px; right: 12px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }
