/* Legal Holding components. Needs tokens.css (colors, --fs-*, --space-*, --radius-*, layout, fonts). Class prefix: lh- */

/* ---------- base ---------- */
.lh-root, .lh-root * { box-sizing: border-box; }
.lh-root {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.lh-root :where(h1, h2, h3, h4) { color: var(--ink); margin: 0; text-wrap: balance; }
.lh-root :where(p) { margin: 0; }
.lh-root :where(a) { color: var(--link); text-decoration-line: underline; text-decoration-color: var(--gold-deep); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.lh-root :where(a):hover { text-decoration-thickness: 2.5px; }
.lh-root :where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }

.lh-display { font-size: var(--fs-display); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.lh-h1 { font-size: var(--fs-h1); line-height: 1.08; font-weight: 760; letter-spacing: -0.02em; }
.lh-h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 720; letter-spacing: -0.015em; }
.lh-h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.lh-h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 680; }
.lh-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-body); max-width: var(--measure); }
.lh-prose { max-width: var(--measure); }
.lh-prose > * + * { margin-top: var(--space-5); }
.lh-small { font-size: var(--fs-small); line-height: 1.5; }
.lh-caption { font-size: var(--fs-caption); line-height: 1.45; color: var(--ink-muted); }
.lh-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); line-height: 1.3; }
.lh-quote { font-family: var(--font-serif); font-size: var(--fs-quote); font-weight: 500; line-height: 1.35; color: var(--ink); }
.lh-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.lh-logo-dark { display: none !important; }
[data-theme="dark"] .lh-logo-light { display: none !important; }
[data-theme="dark"] .lh-logo-dark { display: block !important; }
.lh-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Button ---------- */
.lh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: var(--touch); padding: 0 var(--space-6);
  font: 650 var(--fs-small)/1.2 var(--font-sans); letter-spacing: 0.005em;
  border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lh-btn--primary { background: var(--action); color: var(--action-ink) !important; }
.lh-btn--primary:hover { background: var(--action-hover); }
.lh-btn--gold { background: var(--gold); color: var(--gold-ink) !important; }
.lh-btn--gold:hover { background: var(--gold-deep); }
.lh-btn--secondary { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.lh-btn--secondary:hover { border-color: var(--ink); }
.lh-btn--ghost { background: transparent; color: var(--link) !important; padding-inline: var(--space-3); }
.lh-btn--ghost:hover { background: var(--surface-soft); }
.lh-btn--lg { min-height: 56px; padding-inline: var(--space-8); font-size: var(--fs-body); }
.lh-btn--block { width: 100%; }
.lh-btn[disabled], .lh-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.lh-btn svg { width: 20px; height: 20px; flex: none; }
.lh-on-navy .lh-btn--secondary { color: var(--ink-on-navy) !important; border-color: var(--ink-on-navy-muted); }

/* ---------- Header ---------- */
.lh-header { background: var(--surface-card); border-bottom: 1px solid var(--line); }
.lh-header__bar { display: flex; align-items: center; gap: var(--space-6); min-height: var(--header-h); }
.lh-header__logo { display: inline-flex; align-items: center; flex: none; }
.lh-header__logo img { height: 40px; width: auto; display: block; }
.lh-header__nav { display: flex; gap: var(--space-1); margin-left: auto; }
.lh-header__nav a { display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 var(--space-3); color: var(--ink); font-weight: 600; font-size: var(--fs-small); text-decoration: none; border-radius: var(--radius-xs); }
.lh-header__nav a:hover { background: var(--surface-soft); }
.lh-header__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.lh-header__actions { display: flex; gap: var(--space-3); align-items: center; }
.lh-header__menu { display: none; }
.lh-header { container-type: inline-size; }
.lh-header__nav a { white-space: nowrap; }
@container (max-width: 1099px) {
  .lh-header__nav { display: none; }
  .lh-header__menu { display: inline-flex; }
  .lh-header__actions { margin-left: auto; }
  .lh-header__phone-text { display: none; }
  .lh-header__actions .lh-btn--secondary { padding-inline: 0; width: var(--touch); }
}
@container (max-width: 560px) {
  .lh-header__bar { min-height: 64px; gap: var(--space-3); }
  .lh-header__logo img { height: 32px; }
  .lh-header__actions .lh-btn--primary { display: none; }
}

/* ---------- Breadcrumb ---------- */
.lh-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); font-size: var(--fs-small); }
.lh-breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); }
.lh-breadcrumb li + li::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--gold-deep); border-top: 1.5px solid var(--gold-deep); transform: rotate(45deg); margin-right: var(--space-1); }
.lh-breadcrumb a { color: var(--ink-body); text-decoration-color: var(--line-strong); }
.lh-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) { .lh-breadcrumb li:not(:nth-last-child(-n+2)) { display: none; } .lh-breadcrumb li:nth-last-child(2)::before { display: none; } }

/* ---------- AnswerBox (Antwoord in 9 seconden) ---------- */
.lh-answer { background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); max-width: var(--container-text); }
.lh-answer__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.lh-answer__clock { width: 28px; height: 28px; flex: none; }
.lh-answer__text { font-size: var(--fs-answer); line-height: 1.55; font-weight: 500; color: var(--ink); }
.lh-answer__more { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--ink-muted); }
@media (min-width: 768px) { .lh-answer { padding: var(--space-8); } }

/* ---------- BegripCard ---------- */
.lh-begrip { background: var(--surface-ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-3); max-width: 560px; }
.lh-begrip__term { font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
.lh-begrip__rule { width: 48px; height: 3px; background: var(--gold-deep); border: 0; margin: 0; }
.lh-begrip__def { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-body); }
.lh-begrip__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: var(--fs-caption); color: var(--ink-muted); padding-top: var(--space-3); border-top: 1px solid var(--line); }

/* ---------- UitspraakCard ---------- */
.lh-ruling { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 680px; }
.lh-ruling__head { background: var(--surface-navy); color: var(--ink-on-navy); padding: var(--space-6); display: grid; gap: var(--space-2); }
.lh-ruling__head .lh-label { color: var(--gold); }
.lh-ruling__court { font-size: var(--fs-h4); font-weight: 750; color: var(--ink-on-navy); }
.lh-ruling__ecli { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-on-navy-muted); overflow-wrap: anywhere; }
.lh-ruling__body { padding: var(--space-6); display: grid; gap: var(--space-5); }
.lh-ruling__core { font-size: var(--fs-h4); font-weight: 680; line-height: 1.35; color: var(--ink); }
.lh-outcome { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 650; width: fit-content; }
.lh-outcome::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lh-outcome--won { background: var(--success-soft); color: var(--success); }
.lh-outcome--lost { background: var(--danger-soft); color: var(--danger); }
.lh-outcome--partial { background: var(--warning-soft); color: var(--warning); }
.lh-figures { display: grid; gap: var(--space-4); margin: 0; }
.lh-figure { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); align-items: baseline; }
.lh-figure dt { font-size: var(--fs-small); color: var(--ink-body); }
.lh-figure dd { margin: 0; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.lh-figure__bar { grid-column: 1 / -1; height: 12px; border-radius: var(--radius-xs); background: var(--line); overflow: hidden; }
.lh-figure__bar span { display: block; height: 100%; border-radius: var(--radius-xs); background: var(--surface-navy); }
[data-theme="dark"] .lh-figure__bar span { background: var(--ink-muted); }
.lh-figure--won .lh-figure__bar span { background: var(--success); }
.lh-figure--lost .lh-figure__bar span { background: var(--danger); }
.lh-ruling__foot { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--ink-muted); }
[data-theme="dark"] .lh-ruling__head, [data-theme="dark"] .lh-cta, [data-theme="dark"] .lh-footer { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Steps (procedure / tijdlijn) ---------- */
.lh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: var(--container-text); }
.lh-steps li { position: relative; padding: 0 0 var(--space-6) calc(var(--space-8) + 4px); }
.lh-steps li::before { content: ""; position: absolute; left: 9px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.lh-steps li:last-child::before { display: none; }
.lh-steps li::after { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-card); border: 3px solid var(--action); }
.lh-steps li[data-state="done"]::after { background: var(--action); }
.lh-steps li[data-state="current"]::after { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--surface-soft); }
.lh-steps__when { display: block; }
.lh-steps__title { display: block; font-weight: 700; color: var(--ink); font-size: var(--fs-body); line-height: 1.35; margin-top: 2px; }
.lh-steps__text { display: block; font-size: var(--fs-small); color: var(--ink-body); margin-top: var(--space-1); }

/* ---------- FAQ ---------- */
.lh-faq { max-width: var(--container-text); border-top: 1px solid var(--line); }
.lh-faq details { border-bottom: 1px solid var(--line); }
.lh-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-4) 0; font-size: var(--fs-h4); font-weight: 680; line-height: 1.3; color: var(--ink); }
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.lh-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.lh-faq__answer { padding: 0 0 var(--space-6); max-width: var(--measure); }
@media (prefers-reduced-motion: reduce) { .lh-faq summary::after { transition: none; } }

/* ---------- Notice ---------- */
.lh-notice { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3) var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-card); max-width: var(--container-text); }
.lh-notice__icon { width: 24px; height: 24px; margin-top: 2px; }
.lh-notice__title { font-weight: 700; color: var(--ink); }
.lh-notice__text { font-size: var(--fs-small); color: var(--ink-body); margin-top: var(--space-1); }
.lh-notice--deadline { background: var(--warning-soft); border-color: transparent; }
.lh-notice--deadline .lh-notice__icon { color: var(--warning); }
.lh-notice--info { background: var(--surface-soft); border-color: transparent; }
.lh-notice--info .lh-notice__icon { color: var(--link); }
.lh-notice--urgent { background: var(--danger-soft); border-color: transparent; }
.lh-notice--urgent .lh-notice__icon { color: var(--danger); }

/* ---------- Sources ---------- */
.lh-sources { max-width: var(--container-text); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-6); }
.lh-sources ol { margin: var(--space-4) 0 0; padding-left: var(--space-6); display: grid; gap: var(--space-3); font-size: var(--fs-small); }
.lh-sources li::marker { color: var(--gold-text); font-family: var(--font-mono); font-weight: 500; }
.lh-sources__kind { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-muted); }

/* ---------- ArticleMeta ---------- */
.lh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); font-size: var(--fs-small); color: var(--ink-muted); padding: var(--space-4) 0; border-block: 1px solid var(--line); }
.lh-meta__person { display: inline-flex; align-items: center; gap: var(--space-3); }
.lh-meta__person strong { color: var(--ink); font-weight: 650; }
.lh-meta time { color: var(--ink-body); font-variant-numeric: tabular-nums; }

/* ---------- Avatar + ProfileCard ---------- */
.lh-avatar { --size: 48px; width: var(--size); height: var(--size); flex: none; border-radius: var(--radius-pill); display: inline-grid; place-items: center; background: var(--surface-navy); color: var(--gold); font: 700 calc(var(--size) * .36)/1 var(--font-sans); letter-spacing: .02em; }
.lh-avatar--lg { --size: 72px; }
.lh-avatar--sm { --size: 36px; }
.lh-profile { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); max-width: 420px; }
.lh-profile__top { display: flex; gap: var(--space-4); align-items: center; }
.lh-profile__name { font-size: var(--fs-h4); font-weight: 720; color: var(--ink); line-height: 1.25; }
.lh-profile__role { font-size: var(--fs-small); color: var(--ink-body); }
.lh-profile__areas { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.lh-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--space-3); border-radius: var(--radius-xs); background: var(--surface-soft); color: var(--ink); font-size: var(--fs-caption); font-weight: 600; }
.lh-profile__note { display: inline-flex; align-self: start; width: fit-content; padding: 2px var(--space-2); border: 1px dashed var(--gold-deep); border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--gold-text); }
.lh-profile--open { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.lh-profile--open .lh-avatar { background: transparent; border: 2px dashed var(--gold-deep); color: var(--gold-text); }

/* ---------- PracticeAreaCard ---------- */
.lh-area { position: relative; display: grid; gap: var(--space-3); padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); min-height: 200px; transition: border-color .15s ease, box-shadow .15s ease; }
.lh-area:hover { border-color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.lh-area__icon { width: 40px; height: 40px; color: var(--gold-deep); }
.lh-area__title { font-size: var(--fs-h3); font-weight: 720; line-height: 1.2; }
.lh-area__title a { color: var(--ink); text-decoration: none; }
.lh-area__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lh-area__text { font-size: var(--fs-small); color: var(--ink-body); }
.lh-area__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: var(--fs-caption); color: var(--ink-muted); margin-top: auto; }
.lh-area[data-status="soon"] { border-style: dashed; background: transparent; }
.lh-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---------- CTA panel ---------- */
.lh-cta { background: var(--surface-navy); color: var(--ink-on-navy); border-radius: var(--radius-xl); padding: var(--space-8) var(--space-6); display: grid; gap: var(--space-6); }
.lh-cta h2 { color: var(--ink-on-navy); }
.lh-cta p { color: var(--ink-on-navy-muted); max-width: 56ch; }
.lh-cta .lh-label { color: var(--gold); }
.lh-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.lh-cta__contact { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: var(--fs-small); color: var(--ink-on-navy-muted); }
.lh-cta__contact a { color: var(--ink-on-navy); text-decoration-color: var(--gold); }
.lh-cta__urgent { font-size: var(--fs-caption); color: var(--ink-on-navy-muted); border-top: 1px solid rgba(243, 236, 221, 0.18); padding-top: var(--space-4); }
.lh-cta__urgent a { color: var(--ink-on-navy); text-decoration-color: var(--gold); }
@media (min-width: 768px) { .lh-cta { padding: var(--space-12); grid-template-columns: 1.4fr 1fr; align-items: end; } .lh-cta__urgent { grid-column: 1 / -1; } }

/* ---------- Form field ---------- */
.lh-field { display: grid; gap: var(--space-2); max-width: 480px; }
.lh-field__label { font-weight: 650; color: var(--ink); font-size: var(--fs-small); }
.lh-field__hint { font-size: var(--fs-caption); color: var(--ink-muted); }
.lh-input { min-height: var(--touch); width: 100%; padding: 0 var(--space-4); font: 400 var(--fs-body)/1.4 var(--font-sans); color: var(--ink); background: var(--surface-card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); }
.lh-input:hover { border-color: var(--ink-muted); }
.lh-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.lh-input--affix { display: flex; align-items: stretch; padding: 0; }
.lh-input--affix span { display: inline-flex; align-items: center; padding: 0 var(--space-3); color: var(--ink-muted); border-right: 1px solid var(--line); font-weight: 600; }
.lh-input--affix input { border: 0; background: transparent; flex: 1; min-width: 0; font: inherit; color: inherit; padding: 0 var(--space-4); }
.lh-input--affix input:focus-visible { outline: none; }
.lh-input--affix:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.lh-field--error .lh-input { border-color: var(--danger); }
.lh-field__error { font-size: var(--fs-caption); color: var(--danger); font-weight: 600; }
/* Formulieren (23-10-2026): toestemming verplicht, melding "geen gratis zaken", eerlijke status */
.lh-form { display: grid; gap: var(--space-4); max-width: var(--container-text); }
.lh-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start; min-height: var(--touch); font-size: var(--fs-small); color: var(--ink-body); }
.lh-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.lh-consent label { cursor: pointer; padding: 1px 0; }
.lh-form__note { font-size: var(--fs-small); color: var(--ink-body); background: var(--warning-soft); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.lh-form__status { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.lh-signup { display: grid; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); max-width: var(--container-text); scroll-margin-top: var(--space-12); }

/* ---------- Footer ---------- */
.lh-footer { background: var(--surface-navy); color: var(--ink-on-navy-muted); padding-block: var(--space-16) var(--space-8); font-size: var(--fs-small); }
.lh-footer a { color: var(--ink-on-navy); text-decoration: none; }
.lh-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.lh-footer__grid { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.lh-footer__col h2 { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); }
.lh-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.lh-footer__col li a { display: inline-flex; min-height: 32px; align-items: center; }
.lh-footer__brand img { height: 44px; width: auto; }
.lh-footer__legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(243, 236, 221, 0.16); display: grid; gap: var(--space-2); font-size: var(--fs-caption); line-height: 1.6; }

/* ---------- Huis van het recht ---------- */
.lh-house { max-width: 640px; margin-inline: auto; }
.lh-house svg { width: 100%; height: auto; display: block; }
.lh-house a .lh-house__floor { transition: fill .15s ease; }
.lh-house a:hover .lh-house__floor, .lh-house a:focus-visible .lh-house__floor { fill: var(--action-hover); }
.lh-house a:focus-visible { outline: none; }
.lh-house a:focus-visible .lh-house__floor { stroke-width: 4; }

/* ---------- Rechtsgebied accent (data-area) ---------- */
/* Set data-area on <body> or a section: the accent follows the practice area; navy, gold and the primary button stay the brand. */
:root { --area: var(--gold-deep); --area-soft: var(--surface-soft); }
[data-area="huurrecht"] { --area: var(--area-huurrecht); --area-soft: var(--area-huurrecht-soft); }
[data-area="arbeidsrecht"] { --area: var(--area-arbeidsrecht); --area-soft: var(--area-arbeidsrecht-soft); }
[data-area="contractenrecht"] { --area: var(--area-contractenrecht); --area-soft: var(--area-contractenrecht-soft); }
[data-area="autorecht"] { --area: var(--area-autorecht); --area-soft: var(--area-autorecht-soft); }
[data-area="incasso"] { --area: var(--area-incasso); --area-soft: var(--area-incasso-soft); }
[data-area="familierecht"] { --area: var(--area-familierecht); --area-soft: var(--area-familierecht-soft); }
[data-area="strafrecht"] { --area: var(--area-strafrecht); --area-soft: var(--area-strafrecht-soft); }
[data-area] .lh-label, .lh-label--area { color: var(--area-text); } /* tekst: altijd de AA-veilige gebiedstekstkleur */
[data-area] .lh-area__icon { color: var(--area); }
.lh-area[data-area] { box-shadow: inset 0 4px 0 var(--area); }
.lh-area[data-area]:hover { border-color: var(--area); box-shadow: inset 0 4px 0 var(--area), var(--shadow-sm); }
[data-area] .lh-answer { background: var(--area-soft); border-color: transparent; }
[data-area] .lh-answer__clock { color: var(--area) !important; }
[data-area] .lh-breadcrumb li + li::before { border-color: var(--area); }
[data-area] .lh-steps li[data-state="current"]::after { background: var(--area); border-color: var(--area); }
[data-area] .lh-btn--secondary:hover { border-color: var(--area); }

/* Category landing hero */
.lh-hero { background: var(--area-soft); border-radius: var(--radius-xl); padding: var(--space-10) var(--space-6); display: grid; gap: var(--space-5); position: relative; overflow: hidden; }
.lh-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--area); }
.lh-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.lh-hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.lh-hero__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink); font-size: var(--fs-small); font-weight: 600; text-decoration: none; border: 1px solid var(--line); }
.lh-hero__chips a:hover { border-color: var(--area); }
@media (min-width: 768px) { .lh-hero { padding: var(--space-16) var(--space-12); } }
[data-area] .lh-on-navy .lh-label, [data-area] .lh-ruling__head .lh-label, [data-area] .lh-footer .lh-label { color: var(--gold); }
.lh-house a { text-decoration: none; }
/* On phones the floor labels would drop under 9px: the PracticeAreaCard grid carries the index there */
@media (max-width: 559px) { .lh-house { display: none; } }

/* ---------- ServiceStatus: service not yet offered (specialist_actief = nee) ---------- */
.lh-status { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3) var(--space-4); align-items: start; padding: var(--space-5) var(--space-6); border-radius: var(--radius-md); background: var(--warning-soft); border: 1px solid var(--line); max-width: var(--container-text); }
.lh-status__icon { width: 24px; height: 24px; color: var(--warning); margin-top: 2px; }
.lh-status__title { font-weight: 750; color: var(--ink); font-size: var(--fs-body); line-height: 1.35; }
.lh-status__text { font-size: var(--fs-small); color: var(--ink-body); margin-top: var(--space-1); }
.lh-status__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.lh-status__help { grid-column: 1 / -1; font-size: var(--fs-caption); color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.lh-status__help strong { color: var(--ink); }
.lh-status-pill { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--warning-soft); color: var(--warning); font: 600 var(--fs-caption)/1 var(--font-sans); }
.lh-status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
@media (min-width: 768px) { .lh-status { padding: var(--space-6) var(--space-8); } }

/* ==========================================================================
   Paginablauwdruk-componenten (22-10-2026). Codes verwijzen naar 03_Strategie/PAGINA-BLAUWDRUK.md
   ========================================================================== */

/* Tekstveilige accentkleur: zonder data-area goudtekst (AA), met data-area de gebiedskleur (AA in licht en donker) */
:root { --area-text: var(--gold-text); --area-bar: var(--surface-navy); }
[data-theme="dark"] { --area-bar: var(--ink-muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --area-bar: var(--ink-muted); } }
/* alleen bekende gebieden krijgen hun gebiedskleur als tekstkleur; een onbekend of neutraal gebied (bijv. "algemeen")
   houdt de AA-veilige standaard (goudtekst), want --area valt daar terug op gold-deep, een decoratiekleur (3,3:1) */
:is([data-area="huurrecht"], [data-area="arbeidsrecht"], [data-area="contractenrecht"], [data-area="autorecht"], [data-area="incasso"], [data-area="familierecht"], [data-area="strafrecht"]) { --area-text: var(--area); --area-bar: var(--area); }

/* ---------- K11 SkipLink, terug naar boven, taalwissel ---------- */
.lh-skip { position: absolute; left: var(--space-4); top: -100px; z-index: 100; padding: var(--space-3) var(--space-5); background: var(--action); color: var(--action-ink) !important; font-weight: 650; border-radius: var(--radius-sm); text-decoration: none !important; }
.lh-skip:focus { top: var(--space-4); }
.lh-totop { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch); padding: 0 var(--space-4); color: var(--link); font-size: var(--fs-small); font-weight: 600; text-decoration: none !important; border-radius: var(--radius-sm); }
.lh-totop:hover { background: var(--surface-soft); }
.lh-totop svg { width: 18px; height: 18px; }
.lh-lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); overflow: hidden; font: 600 var(--fs-caption)/1 var(--font-mono); letter-spacing: .06em; }
.lh-lang a, .lh-lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 40px; padding: 0 var(--space-3); color: var(--ink); text-decoration: none !important; }
.lh-lang [aria-current="true"] { background: var(--action); color: var(--action-ink); }

/* ---------- L01 Inhoudsopgave ---------- */
.lh-toc { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-5) var(--space-6); max-width: var(--container-text); }
.lh-toc__title { font-weight: 700; color: var(--ink); font-size: var(--fs-small); }
.lh-toc ol { margin: var(--space-3) 0 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: var(--space-1); }
.lh-toc li { counter-increment: toc; }
.lh-toc a { display: flex; gap: var(--space-3); align-items: baseline; min-height: 40px; padding: var(--space-2) var(--space-2); border-radius: var(--radius-xs); color: var(--ink-body); text-decoration: none; font-size: var(--fs-small); line-height: 1.4; }
.lh-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--area-text); flex: none; }
.lh-toc a:hover { background: var(--surface-soft); color: var(--ink); }
.lh-toc a[aria-current="true"] { color: var(--ink); font-weight: 650; border-radius: 0; background: linear-gradient(90deg, var(--area, var(--gold)) 0 3px, transparent 3px); }
@media (min-width: 1100px) { .lh-toc--sticky { position: sticky; top: calc(var(--header-h) + var(--space-6)); } }

/* ---------- L02 Kernpunten ---------- */
.lh-takeaways { border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid var(--line); padding: var(--space-6); max-width: var(--container-text); }
.lh-takeaways__title { font-weight: 750; color: var(--ink); }
.lh-takeaways ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.lh-takeaways li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-body); }
.lh-takeaways li::before { content: ""; width: 16px; height: 9px; margin-top: 6px; border-left: 2.5px solid var(--area, var(--gold-deep)); border-bottom: 2.5px solid var(--area, var(--gold-deep)); transform: rotate(-45deg); }

/* ---------- L03 Doelgroepwissel (tabs; alle tekst in de HTML) ---------- */
.lh-audience { max-width: var(--container-text); }
/* twee gelijke helften; een lange tekst breekt af binnen de tab (geen verborgen tweede tab buiten beeld) */
.lh-audience__tabs { display: flex; gap: var(--space-1); box-shadow: inset 0 -1px 0 var(--line); }
.lh-audience__tab { appearance: none; border: 0; background: transparent; cursor: pointer; flex: 1 1 0; min-width: 0; min-height: var(--touch); padding: var(--space-2) var(--space-3); font: 650 var(--fs-small)/1.25 var(--font-sans); color: var(--ink-muted); border-bottom: 3px solid transparent; text-align: center; }
.lh-audience__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--area, var(--gold)); }
.lh-audience__panel { padding-top: var(--space-5); }
.lh-audience__panel[hidden] { display: none; }
/* Zonder JavaScript: alle panelen zichtbaar, elk met zijn eigen kop */
.lh-audience:not([data-js]) .lh-audience__tabs { display: none; }
.lh-audience:not([data-js]) .lh-audience__panel[hidden] { display: block; }
.lh-audience__heading { font-weight: 700; color: var(--ink); margin-bottom: var(--space-2); }
.lh-audience[data-js] .lh-audience__heading { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- L07 Stappenoverzicht (uitklapbaar) ---------- */
.lh-steps-overview { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); max-width: var(--container-text); }
.lh-steps-overview summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; padding: var(--space-3) var(--space-5); font-weight: 700; color: var(--ink); }
.lh-steps-overview summary::-webkit-details-marker { display: none; }
.lh-steps-overview summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(45deg) translate(-2px, -2px); }
.lh-steps-overview[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lh-steps-overview ol { margin: 0; padding: 0 var(--space-5) var(--space-5); list-style: none; counter-reset: st; display: grid; gap: var(--space-2); }
.lh-steps-overview li { counter-increment: st; }
.lh-steps-overview a { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); align-items: center; min-height: 44px; color: var(--ink-body); text-decoration: none; font-size: var(--fs-small); border-radius: var(--radius-xs); }
.lh-steps-overview a::before { content: counter(st); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--area-soft, var(--surface-soft)); color: var(--area-text); font: 700 var(--fs-caption)/1 var(--font-sans); }
.lh-steps-overview a:hover { color: var(--ink); }
.lh-steps-overview a:hover::before { background: var(--action); color: var(--action-ink); }
.lh-steps__branch { display: grid; gap: var(--space-3); margin-top: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lh-steps__branch > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: var(--fs-small); background: var(--surface-card); }
.lh-steps__branch strong { display: block; color: var(--ink); }

/* ---------- D01/D02 Tabel en vergelijkingstabel ---------- */
/* Opbouw: figure.lh-tablefig > figcaption (titel + bron, scrolt niet mee) > div.lh-table-wrap (scrolt) > table.lh-table met caption (visueel verborgen; voor schermlezers) */
.lh-tablefig { margin: 0; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); overflow: hidden; container-type: inline-size; }
.lh-tablefig figcaption { padding: var(--space-4) var(--space-5) var(--space-3); font-weight: 700; color: var(--ink); font-size: var(--fs-small); line-height: 1.4; }
.lh-tablefig figcaption small { display: block; font-weight: 400; color: var(--ink-muted); font-size: var(--fs-caption); margin-top: 2px; }
.lh-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-color: var(--line-strong) transparent; }
.lh-table-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.lh-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; font-variant-numeric: tabular-nums; }
.lh-table caption { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lh-table th, .lh-table td { padding: var(--space-3) var(--space-5); text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.lh-table thead th { background: var(--surface-soft); color: var(--ink); font-weight: 650; border-top: 0; white-space: nowrap; }
.lh-table tbody th { color: var(--ink); font-weight: 650; }
.lh-table td.lh-num, .lh-table th.lh-num { text-align: right; white-space: nowrap; }
.lh-table__note { padding: var(--space-3) var(--space-5) var(--space-4); font-size: var(--fs-caption); color: var(--ink-muted); border-top: 1px solid var(--line); }
/* Vergelijking: opties als kolommen, eerste kolom vast bij scrollen */
.lh-table--compare thead th:not(:first-child) { text-align: center; }
.lh-table--compare td { text-align: center; min-width: 128px; }
.lh-table--compare tbody th, .lh-table--compare thead th:first-child { position: sticky; left: 0; background: var(--surface-card); z-index: 1; min-width: 160px; }
.lh-table--compare thead th:first-child { background: var(--surface-soft); }
.lh-yes, .lh-no, .lh-part { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 600; }
.lh-yes { color: var(--success); } .lh-no { color: var(--danger); } .lh-part { color: var(--warning); }
/* Gestapeld in een smalle kolom (container query; alleen voor tabellen met data-label per cel) */
@container (max-width: 559px) {
  .lh-table--stack thead { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lh-table--stack tr { display: block; border-top: 1px solid var(--line); padding: var(--space-3) 0; }
  .lh-table--stack th, .lh-table--stack td { display: grid; grid-template-columns: 42% 1fr; gap: var(--space-3); border: 0; padding: var(--space-1) var(--space-5); text-align: left !important; white-space: normal; } /* gestapeld nooit horizontaal laten scrollen, ook niet bij lh-num */
  /* cel als gewone tekststroom met het label links ernaast: gemengde inhoud (een gekleurd Ja/Nee plus tekst) blijft één geheel */
  .lh-table--stack td { display: block; position: relative; padding-left: calc(var(--space-5) + 42% + var(--space-3)); }
  .lh-table--stack td::before { content: attr(data-label); color: var(--ink-muted); font-weight: 600; position: absolute; left: var(--space-5); width: calc(42% - var(--space-3)); }
  .lh-table--stack td.lh-num, .lh-table--stack th.lh-num { white-space: normal; } /* wint van .lh-table td.lh-num (nowrap) */
  .lh-table--stack tbody th { display: block; font-size: var(--fs-body); }
}

/* ---------- D03 Tijdlijn en termijnen ---------- */
.lh-timeline { list-style: none; margin: 0; padding: 0; max-width: var(--container-text); display: grid; }
.lh-timeline li { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line); position: relative; }
.lh-timeline li:first-child { border-top: 0; }
.lh-timeline__when { font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 500; color: var(--area-text); line-height: 1.4; padding-top: 3px; }
.lh-timeline__what { color: var(--ink); font-weight: 650; line-height: 1.4; }
.lh-timeline__text { display: block; font-weight: 400; color: var(--ink-body); font-size: var(--fs-small); margin-top: var(--space-1); }
.lh-timeline li[data-kind="deadline"] .lh-timeline__when { color: var(--warning); }
.lh-timeline li[data-kind="deadline"] .lh-timeline__what::before { content: "Termijn · "; color: var(--warning); font-weight: 700; }
.lh-timeline li[data-kind="deadline"] { background: linear-gradient(90deg, var(--warning-soft), transparent 70%); border-radius: var(--radius-xs); padding-inline: var(--space-3); }

/* ---------- D04 Rekenvoorbeeld ---------- */
.lh-example { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); max-width: var(--container-text); background: var(--surface-card); }
.lh-example__label { display: inline-flex; font: 500 var(--fs-caption)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); padding: 4px var(--space-2); border: 1px solid var(--gold-deep); border-radius: var(--radius-xs); }
.lh-example__case { margin-top: var(--space-3); color: var(--ink); font-weight: 600; }
.lh-example__calc { margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); font-variant-numeric: tabular-nums; }
.lh-example__calc div { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--fs-small); padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.lh-example__calc dt { color: var(--ink-body); }
.lh-example__calc dt { min-width: 0; }
/* bedragen breken niet (geen spaties), een tekstwaarde mag wel afbreken: anders loopt een lange waarde op 320px buiten beeld (23-10-2026) */
.lh-example__calc dd { margin: 0; color: var(--ink); font-weight: 650; text-align: right; max-width: 55%; }
.lh-example__calc .lh-example__total { border-bottom: 0; font-size: var(--fs-body); }
.lh-example__calc .lh-example__total dd { font-weight: 800; }
.lh-example__foot { margin-top: var(--space-3); font-size: var(--fs-caption); color: var(--ink-muted); }

/* ---------- D07 Kostenblok ---------- */
.lh-cost { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); max-width: var(--container-text); overflow: hidden; }
.lh-cost__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-6); background: var(--surface-soft); }
.lh-cost__head svg { width: 24px; height: 24px; color: var(--area-text); flex: none; }
.lh-cost__title { font-weight: 750; color: var(--ink); }
.lh-cost ul { list-style: none; margin: 0; padding: var(--space-2) var(--space-6) var(--space-4); }
.lh-cost li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.lh-cost li:last-child { border-bottom: 0; }
.lh-cost__what small { display: block; color: var(--ink-muted); font-size: var(--fs-caption); }
.lh-cost__amount { font-weight: 750; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.lh-cost__source { padding: var(--space-3) var(--space-6); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--ink-muted); }

/* ---------- D08 Beslisblok "Wie kan u helpen?" ---------- */
.lh-decision { max-width: var(--container); display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.lh-decision__title { grid-column: 1 / -1; }
.lh-decision__option { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.lh-decision__option[data-fit="best"] { border: 2px solid var(--area, var(--gold-deep)); }
.lh-decision__who { font-weight: 750; color: var(--ink); line-height: 1.3; }
.lh-decision__when { font-size: var(--fs-small); color: var(--ink-body); }
.lh-decision__cost { font-size: var(--fs-caption); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.lh-decision__badge { width: fit-content; font: 600 var(--fs-caption)/1 var(--font-sans); padding: 5px var(--space-2); border-radius: var(--radius-pill); background: var(--area-soft, var(--surface-soft)); color: var(--area-text); }
.lh-decision__must { font-size: var(--fs-caption); color: var(--warning); font-weight: 650; }

/* ---------- D09 Volgende stap ---------- */
.lh-next { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-6); align-items: center; padding: var(--space-5) var(--space-6); border-radius: var(--radius-md); background: var(--area-soft, var(--surface-soft)); max-width: var(--container-text); text-decoration: none !important; }
.lh-next__label { font: 500 var(--fs-caption)/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--area-text); }
.lh-next__title { grid-column: 1; font-weight: 750; color: var(--ink); font-size: var(--fs-body); line-height: 1.35; }
.lh-next__arrow { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); color: var(--ink); }
.lh-next:hover .lh-next__arrow { background: var(--action); color: var(--action-ink); }

/* ---------- B03 Grafiek (staafdiagram in HTML/SVG, met datatabel) ---------- */
.lh-chart { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-5) var(--space-6); max-width: var(--container-text); margin: 0; }
.lh-chart__title { font-weight: 750; color: var(--ink); }
.lh-chart__sub { font-size: var(--fs-caption); color: var(--ink-muted); margin-top: 2px; }
.lh-chart__bars { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.lh-chart__bars li { display: grid; grid-template-columns: minmax(70px, 28%) 1fr auto; gap: var(--space-3); align-items: center; font-size: var(--fs-small); }
.lh-chart__track { height: 14px; background: var(--line); border-radius: var(--radius-xs); overflow: hidden; }
.lh-chart__track span { display: block; height: 100%; background: var(--area-bar); border-radius: var(--radius-xs); }
.lh-chart__val { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
.lh-chart figcaption { margin-top: var(--space-4); font-size: var(--fs-caption); color: var(--ink-muted); }
.lh-chart details { margin-top: var(--space-3); font-size: var(--fs-caption); }
.lh-chart summary { cursor: pointer; color: var(--link); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- B02 diagram en B03 grafiek als beeld (uit merk-build/beeldfabriek.js, component <Beeld>) ---------- */
/* De SVG is transparant: deze kaart levert het vlak, licht of donker. Breed/mobiel kiest <picture> bij 600px. */
.lh-diagram { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-5) var(--space-6); max-width: var(--container-text); margin: 0; }
.lh-diagram picture, .lh-chart--beeld picture { display: block; margin-top: var(--space-4); }
.lh-diagram img, .lh-chart--beeld img { display: block; width: 100%; height: auto; }
.lh-diagram figcaption { margin-top: var(--space-4); font-size: var(--fs-caption); line-height: 1.45; color: var(--ink-muted); }
.lh-figbron { display: block; margin-top: 2px; }
.lh-nowrap { white-space: nowrap; }
.lh-chart--beeld .lh-table { margin-top: var(--space-3); }
@media (max-width: 600px) { .lh-diagram, .lh-chart--beeld { padding: var(--space-4); } }

/* ---------- T01 Tool (rekenhulp/check) ---------- */
.lh-tool { border: 2px solid var(--area-bar); border-radius: var(--radius-lg); background: var(--surface-card); max-width: var(--container-text); overflow: hidden; }
.lh-tool__head { padding: var(--space-5) var(--space-6); background: var(--area-soft, var(--surface-soft)); display: grid; gap: var(--space-1); }
.lh-tool__title { font-size: var(--fs-h4); font-weight: 750; color: var(--ink); line-height: 1.3; }
.lh-tool__badge { width: fit-content; font: 500 var(--fs-caption)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.lh-tool__form { padding: var(--space-6); display: grid; gap: var(--space-5); }
.lh-tool__choices { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; margin: 0; padding: 0; }
.lh-tool__choices legend { font-weight: 650; color: var(--ink); font-size: var(--fs-small); margin-bottom: var(--space-2); padding: 0; }
.lh-tool__choices label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch); padding: 0 var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; font-size: var(--fs-small); color: var(--ink); }
.lh-tool__choices input { accent-color: var(--action); width: 18px; height: 18px; }
.lh-tool__choices label:has(input:checked) { border-color: var(--action); background: var(--surface-soft); font-weight: 650; }
.lh-tool__result { margin: 0 var(--space-6) var(--space-6); padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-soft); display: grid; gap: var(--space-2); }
.lh-tool__result[data-tone="ok"] { background: var(--success-soft); }
.lh-tool__result[data-tone="warn"] { background: var(--warning-soft); }
.lh-tool__result[data-tone="bad"] { background: var(--danger-soft); }
.lh-tool__verdict { font-size: var(--fs-h4); font-weight: 750; color: var(--ink); line-height: 1.3; }
.lh-tool__explain { font-size: var(--fs-small); color: var(--ink-body); }
.lh-tool__rule { padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--ink-muted); }

/* ---------- T02/T03 Voorbeeldbrief en checklist ---------- */
.lh-download { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); max-width: var(--container-text); overflow: hidden; }
.lh-download__head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--line); }
.lh-download__icon { width: 44px; height: 52px; grid-row: span 2; color: var(--area-text); }
.lh-download__title { font-weight: 750; color: var(--ink); line-height: 1.3; }
.lh-download__meta { font-size: var(--fs-caption); color: var(--ink-muted); }
.lh-letter { margin: 0; padding: var(--space-6); font-family: var(--font-serif); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--surface-ivory); white-space: pre-wrap; overflow-wrap: anywhere; }
.lh-letter mark { background: var(--warning-soft); color: var(--warning); font-family: var(--font-sans); font-size: .92em; font-weight: 600; padding: 1px 5px; border-radius: var(--radius-xs); }
.lh-download__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); }
.lh-checklist { list-style: none; margin: 0; padding: var(--space-4) var(--space-6); display: grid; gap: var(--space-1); }
.lh-checklist label { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; min-height: 44px; padding: var(--space-2) 0; cursor: pointer; font-size: var(--fs-small); color: var(--ink-body); }
.lh-checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--success); }
.lh-checklist input:checked + span { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }

/* ---------- V06 "Zo controleren wij" ---------- */
.lh-verified { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: var(--fs-caption); color: var(--ink-muted); }
.lh-verified svg { width: 18px; height: 18px; color: var(--success); flex: none; }
.lh-verified strong { color: var(--ink); font-weight: 650; }

/* ---------- V07 Feedback ---------- */
.lh-feedback { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--space-5) 0; max-width: var(--container-text); display: grid; gap: var(--space-4); }
.lh-feedback__q { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.lh-feedback__q p { font-weight: 650; color: var(--ink); }
.lh-feedback__btns { display: flex; gap: var(--space-2); }
.lh-feedback__thanks { font-size: var(--fs-small); color: var(--success); font-weight: 600; }
.lh-feedback textarea { width: 100%; min-height: 112px; padding: var(--space-3) var(--space-4); font: 400 var(--fs-small)/1.5 var(--font-sans); color: var(--ink); background: var(--surface-card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); resize: vertical; }
.lh-feedback textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* ---------- V08 Wijzigingslog ---------- */
.lh-changelog { max-width: var(--container-text); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); }
.lh-changelog summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); min-height: 52px; padding: var(--space-3) var(--space-5); font-size: var(--fs-small); color: var(--ink-body); }
.lh-changelog summary::-webkit-details-marker { display: none; }
.lh-changelog summary strong { color: var(--ink); }
.lh-changelog ol { list-style: none; margin: 0; padding: 0 var(--space-5) var(--space-4); display: grid; gap: var(--space-3); font-size: var(--fs-small); }
.lh-changelog li { display: grid; grid-template-columns: 104px 1fr; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.lh-changelog time { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-muted); padding-top: 2px; }

/* ---------- V09 Delen, printen, link kopiëren ---------- */
.lh-share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.lh-share__label { font-size: var(--fs-caption); color: var(--ink-muted); margin-right: var(--space-2); }
.lh-share a, .lh-share button { display: inline-grid; place-items: center; width: var(--touch); height: var(--touch); border-radius: 50%; border: 1px solid var(--line); background: var(--surface-card); color: var(--ink); cursor: pointer; text-decoration: none !important; }
.lh-share a:hover, .lh-share button:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.lh-share svg { width: 20px; height: 20px; }

/* ---------- C02 Prijsblok (alleen als specialist_actief = ja) ---------- */
.lh-price { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-card); padding: var(--space-6); display: grid; gap: var(--space-4); max-width: 440px; }
.lh-price__name { font-weight: 750; color: var(--ink); }
.lh-price__amount { display: flex; align-items: baseline; gap: var(--space-2); }
.lh-price__amount strong { font-size: var(--fs-h2); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lh-price__amount span { font-size: var(--fs-caption); color: var(--ink-muted); }
.lh-price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: var(--fs-small); }
.lh-price__list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-2); }
.lh-price__list li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.lh-price__list li[data-excluded]::before { width: 12px; height: 2px; border: 0; background: var(--ink-muted); transform: none; margin-top: 11px; }
.lh-price__list li[data-excluded] { color: var(--ink-muted); }
.lh-price__note { font-size: var(--fs-caption); color: var(--ink-muted); }

/* ---------- O01 Filters, O03 paginering ---------- */
.lh-filter { display: grid; gap: var(--space-4); }
.lh-filter__search { position: relative; max-width: 560px; }
.lh-filter__search input { padding-left: 44px; }
.lh-filter__search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-muted); pointer-events: none; }
.lh-filter__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.lh-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch); padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface-card); color: var(--ink); font: 600 var(--fs-small)/1 var(--font-sans); text-decoration: none !important; cursor: pointer; }
.lh-chip[aria-pressed="true"], .lh-chip[aria-current="true"] { background: var(--action); border-color: var(--action); color: var(--action-ink); }
.lh-chip__count { font: 500 var(--fs-caption)/1 var(--font-mono); opacity: .75; }
.lh-filter__count { font-size: var(--fs-small); color: var(--ink-muted); }
.lh-pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.lh-pager a, .lh-pager span { display: inline-grid; place-items: center; min-width: var(--touch); height: var(--touch); padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: var(--fs-small); text-decoration: none !important; font-variant-numeric: tabular-nums; }
.lh-pager a:hover { background: var(--surface-soft); }
.lh-pager [aria-current="page"] { background: var(--action); color: var(--action-ink); }
.lh-pager__gap { color: var(--ink-muted); }

/* ---------- Print: geen navigatie, wel bronnen en datum ---------- */
@media print {
  .lh-header, .lh-footer, .lh-share, .lh-feedback, .lh-skip, .lh-totop, .lh-cta, .lh-toc, .lh-audience__tabs { display: none !important; }
  .lh-root { background: #fff; color: #000; }
  .lh-audience__panel[hidden] { display: block !important; }
  .lh-root a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #444; }
}

/* Fix 22-10-2026: op navy vlakken blijft het label goud, ook binnen een rechtsgebied (contrast) */
[data-area] .lh-cta .lh-label { color: var(--gold); }
/* Tabel: datums en korte waarden niet afbreken */
.lh-table .lh-nowrap { white-space: nowrap; }
/* Fix 22-10-2026: [hidden] moet winnen van display:flex/grid binnen de tool (inkomensvraag, lege uitkomst) */
.lh-tool [hidden], .lh-feedback [hidden] { display: none !important; }
/* Fix 22-10-2026: dezelfde donkere-modusregels ook als de donkere modus van het systeem komt (prefers-color-scheme), niet alleen via data-theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lh-logo-light { display: none !important; }
  :root:not([data-theme="light"]) .lh-logo-dark { display: block !important; }
  :root:not([data-theme="light"]) .lh-figure__bar span { background: var(--ink-muted); }
  :root:not([data-theme="light"]) .lh-ruling__head, :root:not([data-theme="light"]) .lh-cta, :root:not([data-theme="light"]) .lh-footer { box-shadow: inset 0 0 0 1px var(--line); }
}
/* Een lokaal licht vlak binnen een donkere pagina (data-theme="light") houdt het lichte logo */
[data-theme="light"] .lh-logo-light { display: block !important; }
[data-theme="light"] .lh-logo-dark { display: none !important; }
/* Fix 22-10-2026: actief menu-item zonder haarlijnen (inset-schaduw op een afgeronde hoek) */
.lh-header__nav a[aria-current="page"] { box-shadow: none; border-radius: 0; background: linear-gradient(0deg, var(--gold) 0 3px, transparent 3px); }
.lh-header__nav a[aria-current="page"]:hover { background: linear-gradient(0deg, var(--gold) 0 3px, var(--surface-soft) 3px); }
/* Fix 22-10-2026: aanraakdoelen ≥ 44px op touch (footer, kruimelpad) */
@media (pointer: coarse), (max-width: 767px) {
  .lh-footer__col li a { min-height: 44px; }
  .lh-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- K01 Mobiel menu (details/summary: werkt zonder JavaScript). Zichtbaar waar de header-nav verdwijnt (container ≤ 1099px) ---------- */
.lh-header { position: relative; }
.lh-menu { position: static; margin-left: auto; }
.lh-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch); padding: 0 var(--space-4); border: 2px solid var(--line-strong); border-radius: var(--radius-sm); font: 650 var(--fs-small)/1 var(--font-sans); color: var(--ink); cursor: pointer; background: var(--surface-card); }
.lh-menu > summary::-webkit-details-marker { display: none; }
.lh-menu > summary svg { width: 20px; height: 20px; }
.lh-menu[open] > summary { border-color: var(--ink); }
.lh-menu__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--surface-card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: var(--space-2) var(--gutter) var(--space-5); }
.lh-menu__panel a { display: flex; align-items: center; min-height: var(--touch); color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.lh-menu__panel a[aria-current="page"] { color: var(--area-text); }
.lh-menu__panel a:last-child { border-bottom: 0; }
/* Tool in een smalle kolom: keuzes over de volle breedte */
.lh-tool { container-type: inline-size; }
@container (max-width: 480px) { .lh-tool__choices label { flex: 1 1 100%; } }
.lh-tool__choices input, .lh-checklist input { flex: none; }
.lh-tool__choices label { padding-block: var(--space-2); line-height: 1.35; }

/* ---------- Lange Nederlandse woorden ---------- */
/* De site-build zet zachte afbreekstreepjes (U+00AD) in woorden vanaf 12 letters, op samenstellingsgrenzen eerst
   (scripts/afbreken-html.mjs). hyphens:manual laat de browser alleen daar afbreken, met een streepje.
   hyphens:auto wordt bewust niet gebruikt: Chrome op Windows kent geen Nederlandse afbreking (getest 22-10-2026).
   overflow-wrap is het vangnet: een woord loopt nooit uit zijn vak, ook niet zonder afbreekpunt. */
body { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
.lh-letter, .lh-nowrap, .lh-num, code, pre { -webkit-hyphens: none; hyphens: none; }
