/* Dutch Horizon componenten v2 "Veen & klei" (B2B, alleen informatie). Eigenaar: M0-B. Bron: docs/DESIGN.md §6.
   Documentatie: docs/FRONTEND.md. Alleen semantische tokens (--dh-text, --dh-surface, ...) zodat .dh-dark vanzelf klopt.
   Transparante tinten via color-mix(var(--dh-...)) zodat een paletwissel alleen tokens.css raakt.
   Module-prefixen: catalog-/pdp- (M1), cfg- (M4), adm- (M5), ct- (M6). cat-<slug>/mat-<slug> = /thema.css. */

:root {
  --dh-header-gap: 12px;
  --dh-header-offset: calc(var(--dh-header-h) + var(--dh-header-gap));
  /* Bovenmarge van de donkere paginahero's (content, assortiment, product, maatwerk): zelfde hoogte voor het kruimelpad */
  --dh-hero-pt: calc(var(--dh-header-offset) + clamp(1.25rem, 0.75rem + 2vw, 2.5rem));
  --dh-wash-dark: color-mix(in srgb, var(--dh-mist-50) 8%, transparent);
  --dh-wash-dark-strong: color-mix(in srgb, var(--dh-mist-50) 12%, transparent);
  --dh-field-ring: color-mix(in srgb, var(--dh-focus) 22%, transparent);
}
@media (max-width: 767.98px) {
  :root { --dh-header-gap: 8px; }
}
.dh-dark { --dh-field-ring: color-mix(in srgb, var(--dh-goud-300) 24%, transparent); }

/* Lichte remap binnen een donkere context (lichte kaart in een donkere band, bijv. het aanvraagformulier in de configurator) */
.dh-light {
  --dh-bg: var(--dh-zand-50);
  --dh-surface: var(--dh-zand-0);
  --dh-surface-sunken: var(--dh-zand-100);
  --dh-surface-shell: var(--dh-zand-100);
  --dh-text: var(--dh-ink-900);
  --dh-text-2: var(--dh-ink-700);
  --dh-text-muted: var(--dh-ink-600);
  --dh-text-subtle: var(--dh-ink-500);
  --dh-line: rgb(33 24 18 / 0.10);
  --dh-line-strong: rgb(33 24 18 / 0.18);
  --dh-line-field: #8A7765;
  --dh-accent-text: var(--dh-mos-700);
  --dh-accent-icon: var(--dh-mos-600);
  --dh-accent-wash: var(--dh-goud-100);
  --dh-info-text: var(--dh-dauw-700);
  --dh-info-wash: var(--dh-dauw-50);
  --dh-data: var(--dh-dauw-500);
  --dh-success-text: var(--dh-mos-700);
  --dh-danger-text: var(--dh-rood-700);
  --dh-focus: var(--dh-mos-700);
  --dh-ring-shell: 0 0 0 1px rgb(34 24 18 / 0.07);
  --dh-focus-ring: 0 0 0 2px var(--dh-bg), 0 0 0 4px var(--dh-focus);
  --dh-field-ring: color-mix(in srgb, var(--dh-mos-700) 22%, transparent);
  color-scheme: light;
  color: var(--dh-text);
}

/* Reflow op 320px (WCAG 1.4.10): lange woorden in koppen en meldingen breken af in plaats van de pagina te verbreden.
   Eerst netjes op lettergrepen met afbreekstreepje (taal uit <html lang>), pas als dat niet kan midden in het woord.
   Knoppen: zie onder .btn (alleen op zeer smalle schermen over twee regels). */
h1, h2, h3, .alert {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

/* Smalle telefoons: de grootste koppen iets kleiner, zodat lange Nederlandse samenstellingen
   (bijv. "Kamerplantengrond", "Verpakkingsopties") vaker in hun geheel passen. */
@media (max-width: 30rem) {
  :root {
    --dh-fs-2xl: clamp(1.5rem, 1.05rem + 2.2vw, 1.875rem);
    --dh-fs-3xl: clamp(1.75rem, 1.15rem + 3vw, 2.25rem);
    --dh-fs-hero: clamp(2rem, 1.25rem + 3.75vw, 2.5rem);
  }
}

/* =====================================================================
   Iconen (DESIGN §7)
   ===================================================================== */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: -0.2em;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
.icon--accent { color: var(--dh-accent-icon); }
.icon--info { color: var(--dh-info-text); }
.icon--muted { color: var(--dh-text-muted); }

/* =====================================================================
   Knoppen (DESIGN §6.5)
   ===================================================================== */
.btn {
  --_bg: var(--dh-veen-900);
  --_fg: var(--dh-mist-50);
  --_bd: transparent;
  --_h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--_h);
  padding: 0 20px;
  border-radius: var(--dh-r-pill);
  border: 1.5px solid var(--_bd);
  background-color: var(--_bg);
  color: var(--_fg);
  font: 600 var(--dh-fs-sm)/1 var(--dh-font-text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dh-dur-fast) var(--dh-ease-out), background-color var(--dh-dur-base) var(--dh-ease-out),
              box-shadow var(--dh-dur-base) var(--dh-ease-out), border-color var(--dh-dur-base) var(--dh-ease-out),
              color var(--dh-dur-base) var(--dh-ease-out);
}
.btn:hover { --_bg: var(--dh-veen-700); color: var(--_fg); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(var(--dh-press-scale)); }
.btn:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; pointer-events: none; }
.btn--sm { --_h: 36px; padding: 0 14px; font-size: var(--dh-fs-xs); gap: 8px; }
.btn--lg { --_h: 52px; padding: 0 26px; font-size: var(--dh-fs-base); }
.btn--block { display: flex; width: 100%; }
.btn--primary { --_bg: var(--dh-veen-900); --_fg: var(--dh-mist-50); }
.btn--secondary { --_bg: transparent; --_fg: var(--dh-text); --_bd: var(--dh-line-field); }
.btn--secondary:hover { --_bg: var(--dh-surface-sunken); --_bd: var(--dh-text-2); }
.btn--ghost { --_bg: transparent; --_fg: var(--dh-text); padding-inline: 12px; }
.btn--ghost:hover { --_bg: var(--dh-surface-sunken); }
.dh-dark .btn--ghost:hover, .dh-dark .btn--secondary:hover { --_bg: var(--dh-wash-dark); }
.dh-dark .btn--secondary:hover { --_bd: var(--dh-mist-300); }
.dh-dark .btn:not(.btn--secondary):not(.btn--ghost):not(.btn--glow) { --_bg: var(--dh-mist-50); --_fg: var(--dh-ink-900); }
.dh-dark .btn:not(.btn--secondary):not(.btn--ghost):not(.btn--glow):hover { --_bg: var(--dh-zand-200); }
.dh-light .btn:not(.btn--secondary):not(.btn--ghost):not(.btn--glow) { --_bg: var(--dh-veen-900); --_fg: var(--dh-mist-50); }
.dh-light .btn:not(.btn--secondary):not(.btn--ghost):not(.btn--glow):hover { --_bg: var(--dh-veen-700); }
.btn--glow {
  --_bg: transparent;
  --_fg: var(--dh-ink-900);
  background-image: var(--dh-grad-gloed);
  box-shadow: var(--dh-shadow-glow);
}
.btn--glow:hover { --_bg: transparent; background-image: var(--dh-grad-gloed-hover); box-shadow: var(--dh-shadow-glow-hover); }
.btn--glow:focus-visible { box-shadow: var(--dh-focus-ring), var(--dh-shadow-glow); }
/* Knoppen blijven op één regel (DESIGN §6.5), behalve onder 360px: daar zou een lang label (bijv. "Exportaanvraag
   versturen") anders buiten beeld vallen (reflow, WCAG 1.4.10). */
@media (max-width: 359.98px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
}
/* Duitse en Franse labels zijn langer ("Angebot oder Informationen anfordern", "Demander un devis ou des informations"):
   op smalle schermen mag zo'n knop daar over twee regels lopen in plaats van uit zijn kader (docs/modules/I18N.md). */
@media (max-width: 479.98px) {
  html:lang(de) .btn, html:lang(fr) .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; max-width: 100%; }
  html:lang(de) .btn--lg, html:lang(fr) .btn--lg { padding-inline: 20px; }
}
.btn .icon { width: 18px; height: 18px; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn__orb {
  width: 30px;
  height: 30px;
  margin-right: -12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: color-mix(in srgb, var(--dh-mist-50) 12%, transparent);
  transition: transform var(--dh-dur-base) var(--dh-ease-spring);
}
.btn__orb .icon { width: 16px; height: 16px; }
.btn--glow .btn__orb, .btn--secondary .btn__orb { background: rgb(33 24 18 / 0.10); }
.dh-dark .btn--secondary .btn__orb { background: color-mix(in srgb, var(--dh-mist-50) 10%, transparent); }
.dh-dark .btn:not(.btn--glow):not(.btn--secondary) .btn__orb { background: rgb(33 24 18 / 0.08); }
.btn:hover .btn__orb { transform: translateX(2px) translateY(-1px) scale(1.06); }
.btn--sm .btn__orb { width: 26px; height: 26px; margin-right: -9px; }
.btn--lg .btn__orb { width: 36px; height: 36px; margin-right: -16px; }
/* Laadstaat: label onzichtbaar maar breedte behouden, laad-veeg in tekstkleur (geen spinner) */
.btn.is-loading, .btn[aria-busy="true"] { color: transparent; pointer-events: none; }
.btn.is-loading > *, .btn[aria-busy="true"] > * { visibility: hidden; }
.btn.is-loading::after, .btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(50% - 1.5px);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--_fg), transparent) 0 0 / 40% 100% no-repeat;
  animation: dh-sweep 1.1s var(--dh-ease-in-out) infinite;
}
@keyframes dh-sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* Icoonknop: 44px cirkel, verplicht aria-label */
.icon-btn {
  --_bg: var(--dh-veen-900);
  --_fg: var(--dh-mist-50);
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: var(--_bg);
  color: var(--_fg);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dh-dur-fast) var(--dh-ease-out), background-color var(--dh-dur-base) var(--dh-ease-out), color var(--dh-dur-base) var(--dh-ease-out);
}
.icon-btn:hover { --_bg: var(--dh-veen-700); color: var(--_fg); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
.icon-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.icon-btn--ghost { --_bg: transparent; --_fg: var(--dh-text); }
.icon-btn--ghost:hover { --_bg: var(--dh-surface-sunken); --_fg: var(--dh-text); }
.dh-dark .icon-btn--ghost:hover { --_bg: var(--dh-wash-dark); }
.dh-dark .icon-btn:not(.icon-btn--ghost) { --_bg: var(--dh-mist-50); --_fg: var(--dh-ink-900); }
.icon-btn--sm { width: 36px; height: 36px; }

/* Tekstlinks (DESIGN §6.5) */
.link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--dh-accent-icon);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--dh-accent-text); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--dh-fs-sm);
  text-decoration: none;
  color: var(--dh-text);
}
.link-arrow .icon { width: 16px; height: 16px; color: var(--dh-accent-icon); transition: transform var(--dh-dur-base) var(--dh-ease-spring); }
.link-arrow:hover { color: var(--dh-accent-text); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* =====================================================================
   Badges en beschikbaarheid (DESIGN §6.8)
   ===================================================================== */
.badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--dh-r-pill);
  font-size: var(--dh-fs-xs);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: var(--dh-zand-100);
  color: var(--dh-ink-700);
}
.badge .icon { width: 14px; height: 14px; stroke-width: 1.75; }
.badge--veenvrij { background: var(--dh-mos-100); color: var(--dh-mos-800); }
.badge--veenarm { background: var(--dh-zand-100); color: var(--dh-mos-700); }
.badge--veenhoudend { background: var(--dh-zand-100); color: var(--dh-ink-700); }
.badge--rhp { background: var(--dh-dauw-100); color: var(--dh-dauw-800); }
.badge--new { background: var(--dh-goud-100); color: var(--dh-gloed-800); }
.badge--success { background: var(--dh-mos-100); color: var(--dh-mos-800); }
.badge--info { background: var(--dh-dauw-100); color: var(--dh-dauw-800); }
.badge--warning { background: var(--dh-goud-100); color: var(--dh-gloed-800); }
.badge--danger { background: var(--dh-rood-100); color: var(--dh-rood-700); }
.badge--neutral { background: var(--dh-zand-100); color: var(--dh-ink-600); }
.dh-dark .badge--new, .dh-dark .badge--warning { background: color-mix(in srgb, var(--dh-goud-300) 14%, transparent); color: var(--dh-goud-200); }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: var(--dh-fs-xs); font-weight: 600; line-height: 1.3; }
.stock::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--op_voorraad { color: var(--dh-success-text); }
.stock--op_bestelling { color: var(--dh-gloed-700); }
.stock--maatwerk { color: var(--dh-info-text); }
.dh-dark .stock--op_bestelling { color: var(--dh-goud-300); }
.stock-block { display: grid; gap: 2px; }
.stock-block__lead { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); padding-left: 14px; }

/* =====================================================================
   Kaarten: dubbele rand (DESIGN §4.2)
   ===================================================================== */
.card-shell {
  padding: var(--dh-bezel);
  border-radius: var(--dh-r-lg);
  background: var(--dh-surface-shell);
  box-shadow: var(--dh-ring-shell);
}
.card-core {
  position: relative;
  background: var(--dh-surface);
  border-radius: var(--dh-r-md);
  box-shadow: var(--dh-inset-hi);
  padding: var(--dh-space-5);
}
.dh-dark .card-core { box-shadow: var(--dh-inset-hi-dark); }
.panel {
  border-radius: var(--dh-r-lg);
  background: var(--dh-surface);
  box-shadow: var(--dh-ring-shell);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.panel--sunken { background: var(--dh-surface-sunken); box-shadow: none; }
.panel--dark { background: var(--dh-glow-corner), var(--dh-veen-900); }

/* =====================================================================
   Productraster en productkaart (DESIGN §6.6), zonder prijzen
   ===================================================================== */
.product-grid {
  display: grid;
  gap: var(--dh-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1536px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid > li { display: grid; min-width: 0; }
.product-list { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dh-line); }

.product-card {
  position: relative;
  container-type: inline-size;
  padding: var(--dh-bezel);
  border-radius: var(--dh-r-lg);
  background: var(--dh-surface-shell);
  box-shadow: var(--dh-ring-shell);
  transition: transform var(--dh-dur-base) var(--dh-ease-out), box-shadow var(--dh-dur-base) var(--dh-ease-out);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--dh-ring-shell), var(--dh-shadow-2); }
.product-card:focus-within { box-shadow: var(--dh-ring-shell), 0 0 0 2px var(--dh-focus); }
.product-card__core {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dh-surface);
  border-radius: var(--dh-r-md);
  box-shadow: var(--dh-inset-hi);
}
.product-card__media {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 92%, color-mix(in srgb, var(--dh-cat, var(--dh-zand-300)) 26%, transparent) 0%, transparent 70%),
    var(--dh-zand-100);
}
.product-card__media::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 7.5%;
  height: 1px;
  background: var(--dh-line-strong);
}
.product-card__img {
  position: absolute;
  inset: 4% 8% 0;
  width: 84%;
  height: 96%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform var(--dh-dur-slow) var(--dh-ease-spring);
}
.product-card:hover .product-card__img { transform: translateY(-4px) scale(1.025); }
/* Met foto (partials/photo, docs/modules/PHOTOS.md): een liggend sfeerbeeld dat het vlak vult. Geen gloed en geen
   horizonlijn; een dunne lijn scheidt het donkere beeld van de lichte kaart. Het beeld zoomt rustig in bij hover. */
.product-card__media--photo { aspect-ratio: 3 / 2; background: var(--dh-veen-800); }
.product-card__media--photo::after {
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--dh-veen-950) 16%, transparent);
}
.product-card__media--photo .product-card__img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dh-dur-slow) var(--dh-ease-out);
}
.product-card:hover .product-card__media--photo .product-card__img { transform: scale(1.04); }
.product-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.product-card__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--dh-fs-xs);
  font-weight: 500;
  color: var(--dh-text-muted);
}
.product-card__cat::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dh-cat, var(--dh-zand-300));
}
.product-card__title {
  font-family: var(--dh-font-display);
  font-stretch: var(--dh-stretch-label);
  font-size: var(--dh-fs-md);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.product-card__title a { text-decoration: none; color: inherit; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card__title a:focus-visible { outline: none; }
.product-card__sku { display: none; font-family: var(--dh-font-mono); font-size: var(--dh-fs-2xs); color: var(--dh-text-muted); }
.product-card--list .product-card__sku { display: block; }
.product-card__tagline {
  font-size: var(--dh-fs-sm);
  color: var(--dh-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__specs {
  display: flex;
  margin: 2px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--dh-line);
  font-size: var(--dh-fs-xs);
}
.product-card__specs > div { flex: 1; min-width: 0; padding-right: 10px; }
.product-card__specs > div + div { padding-left: 10px; border-left: 1px solid var(--dh-line); }
.product-card__specs dt { color: var(--dh-text-muted); }
.product-card__specs dd {
  margin: 0;
  font-family: var(--dh-font-mono);
  font-weight: 500;
  color: var(--dh-info-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__packs { display: flex; align-items: flex-start; gap: 8px; font-size: var(--dh-fs-xs); color: var(--dh-text-2); line-height: 1.45; }
.product-card__packs .icon { width: 16px; height: 16px; color: var(--dh-text-muted); margin-top: 1px; }
.product-card__foot {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  justify-items: start;
  align-items: center;
}
.product-card__foot .btn { width: 100%; }
.product-card__enquire { position: relative; z-index: var(--dh-z-raised); }
.product-card__more { color: var(--dh-text); }
.product-card:hover .product-card__more { color: var(--dh-accent-text); }
.product-card:hover .product-card__more .icon { transform: translateX(3px); }
@container (min-width: 320px) {
  .product-card__foot { display: flex; justify-content: space-between; }
  .product-card__foot .btn { width: auto; }
}
/* Duits en Frans: "Angebot anfordern" + "Produkt ansehen" passen pas vanaf 380px kaartbreedte naast elkaar; daaronder
   onder elkaar (knop over de volle breedte) in plaats van elk op twee regels. */
@container (max-width: 379.98px) {
  html:lang(de) .product-card:not(.product-card--list) .product-card__foot,
  html:lang(fr) .product-card:not(.product-card--list) .product-card__foot { display: grid; }
  html:lang(de) .product-card:not(.product-card--list) .product-card__foot .btn,
  html:lang(fr) .product-card:not(.product-card--list) .product-card__foot .btn { width: 100%; }
}
.product-card--lg .product-card__title { font-size: var(--dh-fs-lg); }
.product-card--lg .product-card__media { aspect-ratio: 1 / 0.9; }
.product-card--lg .product-card__media--photo { aspect-ratio: 3 / 2; }
.product-card.is-unavailable .product-card__img { opacity: 0.55; }
.product-card--skeleton .product-card__media { background: var(--dh-zand-100); animation: dh-pulse 1.2s ease-in-out infinite; }
.product-card--skeleton .skeleton { height: 12px; }

/* Lijstweergave (DESIGN §6.6): rij 72px, thumb 56px */
.product-card--list {
  container-type: normal;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--dh-line);
}
.product-card--list:hover { transform: none; box-shadow: none; background: var(--dh-surface-sunken); }
.product-card--list:focus-within { box-shadow: inset 0 0 0 2px var(--dh-focus); }
.product-card--list .product-card__core {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  min-height: 72px;
  padding: 8px 12px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.product-card--list .product-card__media { width: 56px; height: 56px; aspect-ratio: auto; border-radius: var(--dh-r-sm); }
.product-card--list .product-card__media::after { display: none; }
.product-card--list .product-card__img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.product-card--list:hover .product-card__img { transform: none; }
/* Lijst met foto: het vierkante staaltje vult de thumb tot aan de rand. */
.product-card--list .product-card__media--photo { box-shadow: 0 0 0 1px var(--dh-line); }
.product-card--list .product-card__media--photo .product-card__img { inset: 0; width: 100%; height: 100%; }
.product-card--list:hover .product-card__media--photo .product-card__img { transform: none; }
.product-card--list .product-card__body { padding: 0; gap: 2px; }
.product-card--list .product-card__title { font-size: var(--dh-fs-base); }
.product-card--list .product-card__tagline,
.product-card--list .product-card__badges,
.product-card--list .product-card__cat,
.product-card--list .product-card__more,
.product-card--list .product-card__specs,
.product-card--list .product-card__packs { display: none; }
.product-card--list .product-card__foot { margin: 0; padding: 0; display: flex; }
.product-card--list .product-card__foot .btn { width: auto; }
@media (min-width: 1024px) {
  .product-card--list .product-card__core { grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr) auto; }
  .product-card--list .product-card__body { display: contents; }
  .product-card--list .product-card__titlewrap { grid-column: 2; grid-row: 1; }
  .product-card--list .product-card__specs { display: flex; border-top: 0; padding: 0; margin: 0; grid-column: 3; grid-row: 1; }
  .product-card--list .product-card__packs { display: flex; grid-column: 4; grid-row: 1; }
  .product-card--list .product-card__foot { grid-column: 5; grid-row: 1; }
}

/* =====================================================================
   Segment-schakelaar (raster/lijst) en popover (uitleg)
   ===================================================================== */
.segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border-radius: var(--dh-r-pill);
  background: var(--dh-surface-sunken);
  font-size: var(--dh-fs-xs);
  font-weight: 600;
  white-space: nowrap;
}
.dh-dark .segmented { background: var(--dh-wash-dark); }
.segmented__opt {
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--dh-r-pill);
  color: var(--dh-text-muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out), color var(--dh-dur-fast) var(--dh-ease-out);
}
.segmented__opt:hover { color: var(--dh-text); }
.segmented__opt[aria-pressed="true"], .segmented__opt[aria-current="true"], .segmented__opt.is-active {
  background: var(--dh-surface);
  color: var(--dh-text);
  box-shadow: var(--dh-shadow-1);
}
.segmented__opt:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }

.popover-host { position: relative; }
.popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: var(--dh-z-dropdown);
  width: max-content;
  max-width: min(340px, calc(100vw - 2 * var(--dh-gutter)));
  padding: 14px 16px;
  border-radius: var(--dh-r-md);
  background: var(--dh-zand-0);
  color: var(--dh-ink-900);
  font-size: var(--dh-fs-sm);
  font-weight: 400;
  box-shadow: var(--dh-ring-shell), var(--dh-shadow-3);
}

/* =====================================================================
   Specificaties en diagrammen (DESIGN §6.10, §6.11)
   ===================================================================== */
.spec-tiles { display: grid; gap: var(--dh-gap); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .spec-tiles { grid-template-columns: 1.25fr 1fr; }
  .spec-tiles > .spec-tile--tall { grid-row: span 2; }
}
@media (min-width: 1100px) { .spec-tiles { grid-template-columns: 1.2fr 1fr 1fr; } }
.spec-tile {
  border-radius: var(--dh-r-lg);
  padding: 20px 22px 22px;
  background: var(--dh-surface);
  box-shadow: var(--dh-ring-shell);
  display: grid;
  gap: 12px;
  align-content: start;
}
.spec-tile--info { background: var(--dh-glow-dauw), var(--dh-info-wash); }
.spec-tile__label { font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-text-muted); }
.spec-tile__value {
  font-family: var(--dh-font-mono);
  font-size: var(--dh-fs-xl);
  font-weight: 500;
  color: var(--dh-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.spec-tile__value small { font-size: var(--dh-fs-sm); color: var(--dh-text-muted); margin-left: 4px; letter-spacing: 0; }
.spec-tile__why { font-size: var(--dh-fs-sm); color: var(--dh-text-2); }

/* Spec-tabel (gegroepeerd, partials/spec-table) */
.spec-table { display: grid; gap: var(--dh-space-4); }
.spec-groups { display: grid; gap: var(--dh-space-5) var(--dh-space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.spec-group__title {
  font-size: var(--dh-fs-sm);
  font-family: var(--dh-font-display);
  font-stretch: var(--dh-stretch-label);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dh-line-strong);
}
.spec-group dl { display: grid; grid-template-columns: minmax(6.5rem, max-content) minmax(0, 1fr); gap: 8px 16px; font-size: var(--dh-fs-sm); padding-top: 10px; margin: 0; }
.spec-group dt { color: var(--dh-text-muted); }
.spec-group dd { margin: 0; font-family: var(--dh-font-mono); text-align: right; font-variant-numeric: tabular-nums; color: var(--dh-text); overflow-wrap: anywhere; }
.spec-group dd a { color: inherit; }
.spec-table__note { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); max-width: var(--dh-measure); }

/* Water-luchtdiagram (partials/diagram-water-air) */
.diagram-wa { margin: 0; display: grid; gap: 14px; }
.diagram-wa__title { font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-text-muted); }
.diagram-wa__body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; }
.diagram-wa__svg { width: 64px; height: 220px; display: block; }
.diagram-wa__air { fill: var(--dh-zand-0); }
.diagram-wa__water { fill: var(--dh-dauw-500); }
.diagram-wa__solid { fill: #5F4532; }
.diagram-wa__frame { fill: none; stroke: var(--dh-line-strong); }
.diagram-wa__legend { display: grid; gap: 10px; font-size: var(--dh-fs-sm); margin: 0; }
.diagram-wa__legend > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.diagram-wa__legend dt { display: flex; align-items: center; gap: 10px; color: var(--dh-text-2); }
.diagram-wa__legend dd { margin: 0; font-family: var(--dh-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--dh-info-text); }
.diagram-wa__key { width: 12px; height: 12px; display: block; border-radius: 3px; }
.diagram-wa__key--air { background: var(--dh-zand-0); box-shadow: inset 0 0 0 1px var(--dh-line-strong); }
.diagram-wa__key--water { background: var(--dh-dauw-500); }
.diagram-wa__key--solid { background: #5F4532; }

/* pH-schaal (partials/scale-ph) */
.scale-ph { margin: 0; display: grid; gap: 10px; }
.scale-ph__title { font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-text-muted); }
.scale-ph__value { font-family: var(--dh-font-mono); font-size: var(--dh-fs-xl); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--dh-text); }
.scale-ph__svg { width: 100%; height: 44px; display: block; overflow: visible; }
.scale-ph__track { fill: var(--dh-zand-200); }
.dh-dark .scale-ph__track { fill: color-mix(in srgb, var(--dh-mist-50) 14%, transparent); }
.scale-ph__range { fill: var(--dh-data); }
.scale-ph__tickline { stroke: var(--dh-line-strong); stroke-width: 1; }
.scale-ph__tick { fill: var(--dh-text-muted); font-family: var(--dh-font-mono); font-size: 11px; }
.scale-ph__ends { display: flex; justify-content: space-between; font-size: var(--dh-fs-2xs); color: var(--dh-text-muted); }
.scale-ph__why { font-size: var(--dh-fs-sm); color: var(--dh-text-2); }

/* Mengbalk (partials/composition) */
.mix-bar { margin: 0; display: grid; gap: 10px; }
.mix-bar__svg { display: block; width: 100%; height: 40px; overflow: hidden; border-radius: 10px; }
.mix-bar--sm .mix-bar__svg { height: 12px; border-radius: 6px; }
.mix-bar--lg .mix-bar__svg { height: 48px; border-radius: 12px; }
.mix-bar__label { font-family: var(--dh-font-mono); font-size: 11px; font-weight: 500; }
.mix-bar__sep { stroke: rgb(26 18 13 / 0.28); stroke-width: 1; }
.mix-bar__title { font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-text-muted); }
.mix-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: var(--dh-fs-xs); color: var(--dh-text-2); }
.mix-legend li { display: inline-flex; align-items: center; gap: 6px; }
.mix-legend__swatch { width: 10px; height: 10px; flex: none; display: block; border-radius: 3px; }
.mix-legend b { font-family: var(--dh-font-mono); font-weight: 500; color: var(--dh-text); font-variant-numeric: tabular-nums; }
.mix-legend a { color: inherit; text-decoration: none; }
.mix-legend a:hover { color: var(--dh-accent-text); text-decoration: underline; }

/* Profielmeters (partials/mix-profile) */
.mix-profile { display: grid; gap: var(--dh-space-5); }
.mix-profile__title { font-size: var(--dh-fs-xs); font-weight: 600; letter-spacing: var(--dh-track-caps); text-transform: uppercase; color: var(--dh-text-muted); }
.meters { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.meter { display: grid; grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr) 2.5rem; gap: 12px; align-items: center; font-size: var(--dh-fs-sm); }
.meter__label { color: var(--dh-text-2); }
.meter__label small { display: block; font-size: var(--dh-fs-2xs); color: var(--dh-text-subtle); }
.meter__svg { display: block; width: 100%; height: 10px; overflow: visible; }
.meter__seg { fill: none; stroke: var(--dh-data); stroke-opacity: 0.55; stroke-width: 1; }
.meter__fill { fill: var(--dh-data); }
.meter__value { font-family: var(--dh-font-mono); font-weight: 500; text-align: right; color: var(--dh-text-2); font-variant-numeric: tabular-nums; }
.readouts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.readout {
  padding: 10px 14px;
  border-radius: var(--dh-r-md);
  background: var(--dh-surface-sunken);
  font-size: var(--dh-fs-xs);
  color: var(--dh-text-muted);
}
.dh-dark .readout { background: color-mix(in srgb, var(--dh-mist-50) 5%, transparent); box-shadow: var(--dh-ring-shell); }
.readout strong { display: block; font-size: var(--dh-fs-sm); color: var(--dh-text); margin-top: 2px; }
.mix-profile__note { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
@media (max-width: 479.98px) { .meter { grid-template-columns: minmax(0, 1fr) 2.5rem; } .meter__svg { grid-column: 1 / -1; grid-row: 2; } }

/* =====================================================================
   Formulieren (DESIGN §6.14)
   ===================================================================== */
.form-grid { display: grid; gap: var(--dh-space-4) var(--dh-space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full, .form-grid > .fieldset, .form-grid > .form-errors { grid-column: 1 / -1; }
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: var(--dh-space-2); }
.form-actions__note { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); max-width: 46ch; }
.form-note { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: var(--dh-space-4); font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: var(--dh-fs-md); }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field__label { font-size: var(--dh-fs-sm); font-weight: 600; }
.field__opt { font-weight: 400; color: var(--dh-text-muted); }
.field__req { color: var(--dh-danger-text); margin-left: 2px; }
.field__help { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
.field__error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-danger-text); }
.field__error .icon { width: 16px; height: 16px; }
.input-wrap { position: relative; }
.input, .select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--dh-r-sm);
  border: 1px solid var(--dh-line-field);
  background-color: var(--dh-surface);
  color: var(--dh-text);
  font: 400 var(--dh-fs-base)/1.2 var(--dh-font-text);
  transition: border-color var(--dh-dur-fast) var(--dh-ease-out), box-shadow var(--dh-dur-fast) var(--dh-ease-out);
}
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; line-height: var(--dh-lh-body); }
.input::placeholder { color: var(--dh-text-subtle); opacity: 1; }
.input:hover, .select:hover { border-color: var(--dh-text-2); }
.input:focus, .select:focus { outline: none; border-color: var(--dh-focus); box-shadow: 0 0 0 3px var(--dh-field-ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--dh-danger-text); box-shadow: 0 0 0 3px rgb(161 48 28 / 0.12); }
.input-wrap .input { padding-right: 42px; }
.input-wrap__icon { position: absolute; right: 13px; top: 14px; pointer-events: none; }
.input-wrap__icon--ok { color: var(--dh-success-text); }
.input-wrap__icon--err { color: var(--dh-danger-text); }
.input:not(.is-valid) ~ .input-wrap__icon--ok { display: none; }
.input:not([aria-invalid="true"]) ~ .input-wrap__icon--err { display: none; }
.input:disabled, .select:disabled { background-color: var(--dh-surface-sunken); color: var(--dh-text-muted); border-color: var(--dh-line-strong); cursor: not-allowed; }
.input[readonly] { background-color: var(--dh-surface-sunken); border-color: transparent; color: var(--dh-text-2); }
.input--mono { font-family: var(--dh-font-mono); font-variant-numeric: tabular-nums; }
/* Maandveld: de native lege weergave ("--------- ----") in een zachtere tint; ingevuld of in bewerking in de tekstkleur.
   Een leeg optioneel veld is in CSS niet van een gevuld veld te onderscheiden, dus de velden zelf staan in --dh-text-2;
   alleen de scheidingstekens zijn subtiel. Hulptekst met een voorbeeld staat onder het veld. */
.input[type="month"] { font-family: var(--dh-font-text); }
.input[type="month"]::-webkit-datetime-edit { color: var(--dh-text-2); }
.input[type="month"]::-webkit-datetime-edit-text { color: var(--dh-text-subtle); }
.input[type="month"]:focus::-webkit-datetime-edit { color: var(--dh-text); }
.input[type="month"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.7; }
.input[type="month"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }
/* core/month-field.js zet .is-empty zolang het veld leeg is en geen focus heeft: de native streepjes verdwijnen en de
   hint ("Kies een maand") staat ervoor in de plaats. Zonder JS blijft de native weergave hierboven staan. */
.month-field { position: relative; display: block; }
.month-field__hint { display: none; }
.month-field.is-empty .input::-webkit-datetime-edit { opacity: 0; }
.month-field.is-empty .month-field__hint {
  position: absolute;
  inset: 1px 48px 1px 15px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: var(--dh-text-muted);
  font: 400 var(--dh-fs-base)/1.2 var(--dh-font-text);
  pointer-events: none;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234A3B30' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  cursor: pointer;
}
.dh-dark .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23CDBEA9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
}
.input--sm, .select--sm { height: 40px; font-size: var(--dh-fs-sm); }
/* Hoeveelheid + eenheid in één rij (DESIGN §6.14) */
.combo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px; }

/* Checkbox en radio (20px; vink mist-50 op veen-900) */
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--dh-fs-sm); cursor: pointer; line-height: 1.45; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--dh-line-field);
  border-radius: var(--dh-r-xs);
  background: var(--dh-surface) center / 14px 14px no-repeat;
  cursor: pointer;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out), border-color var(--dh-dur-fast) var(--dh-ease-out);
}
.check input[type="radio"] { border-radius: 50%; }
.check input:hover { border-color: var(--dh-text-2); }
.check input:checked {
  background-color: var(--dh-veen-900);
  border-color: var(--dh-veen-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6EFE3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E");
}
.check input[type="radio"]:checked { background-image: radial-gradient(circle, var(--dh-mist-50) 0 3.5px, transparent 4px); }
.check input:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
.check input[aria-invalid="true"] { border-color: var(--dh-danger-text); }
.check input:disabled { opacity: 0.45; cursor: not-allowed; }
.check a { color: var(--dh-accent-text); }
.dh-dark .check input:checked { background-color: var(--dh-mist-50); border-color: var(--dh-mist-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211812' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E"); }
.checks { display: grid; gap: 10px; }
fieldset.checks { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.checks > legend { padding: 0; margin-bottom: 10px; }

/* Radio-kaart (keuzehulp-antwoorden) */
.radio-cards { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--dh-r-md);
  border: 1px solid var(--dh-line-field);
  background: var(--dh-surface);
  transition: border-color var(--dh-dur-fast) var(--dh-ease-out), box-shadow var(--dh-dur-fast) var(--dh-ease-out);
}
.radio-card__title { font-weight: 600; }
.radio-card__text { grid-column: 1; font-size: var(--dh-fs-sm); color: var(--dh-text-muted); }
.radio-card__check { grid-row: 1 / span 2; grid-column: 2; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--dh-line-field); display: grid; place-items: center; color: transparent; }
.radio-card__check .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.radio-card:hover .radio-card__body { border-color: var(--dh-text-2); }
.radio-card input:checked + .radio-card__body { border-color: var(--dh-veen-900); box-shadow: inset 0 0 0 1px var(--dh-veen-900); background: var(--dh-accent-wash); }
.radio-card input:checked + .radio-card__body .radio-card__check { background: var(--dh-veen-900); border-color: var(--dh-veen-900); color: var(--dh-mist-50); }
.radio-card input:focus-visible + .radio-card__body { box-shadow: var(--dh-focus-ring); }
.radio-card input:disabled + .radio-card__body { opacity: 0.45; cursor: not-allowed; }

/* Keuze-chips (verpakking) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { font-size: var(--dh-fs-sm); font-weight: 600; margin-bottom: 8px; padding: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__label, a.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--dh-r-pill);
  border: 1px solid var(--dh-line-field);
  font-size: var(--dh-fs-sm);
  font-weight: 500;
  color: var(--dh-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out), border-color var(--dh-dur-fast) var(--dh-ease-out), color var(--dh-dur-fast) var(--dh-ease-out);
}
a.chip:hover, .chip input:hover + .chip__label { background: var(--dh-surface-sunken); color: var(--dh-text); }
.chip input:checked + .chip__label, a.chip[aria-current="true"] { background: var(--dh-veen-900); border-color: var(--dh-veen-900); color: var(--dh-mist-50); }
.chip input:focus-visible + .chip__label { box-shadow: var(--dh-focus-ring); }
.chip input:disabled + .chip__label { opacity: 0.45; text-decoration: line-through; }
.chip--filter { height: 32px; padding: 0 6px 0 12px; background: var(--dh-surface-sunken); border-color: transparent; font-size: var(--dh-fs-xs); }
.chip .icon { width: 16px; height: 16px; }

/* Foutsamenvatting (partials/form-errors) */
.form-errors {
  padding: 16px 18px;
  border-radius: var(--dh-r-md);
  background: var(--dh-danger-wash);
  color: var(--dh-rood-700);
  font-size: var(--dh-fs-sm);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
}
.form-errors:focus { outline: none; box-shadow: 0 0 0 2px var(--dh-bg), 0 0 0 4px var(--dh-rood-700); }
.form-errors__title { font-weight: 600; grid-column: 2; }
.form-errors > .icon { grid-row: 1 / span 3; margin-top: 1px; }
.form-errors__intro { grid-column: 2; }
.form-errors ul { grid-column: 2; margin: 4px 0 0; padding-left: 1.1em; display: grid; gap: 2px; }
.form-errors a { color: inherit; font-weight: 500; text-decoration-color: currentColor; }

/* =====================================================================
   Aanvraagformulier: dubbele rand, donker paneel + linnen kern (DESIGN §6.7)
   ===================================================================== */
.enquiry {
  display: grid;
  gap: var(--dh-bezel);
  padding: var(--dh-bezel);
  border-radius: var(--dh-r-xl);
  background: var(--dh-surface-shell);
  box-shadow: var(--dh-ring-shell);
}
@media (min-width: 1024px) {
  /* De aside is korter dan het formulier: niet uitrekken (geen leeg veenbruin vlak). Niet sticky: met de productfoto
     is hij hoger dan een laag scherm en zou de onderkant dan buiten beeld vallen. */
  .enquiry { grid-template-columns: 5fr 7fr; align-items: start; }
}
.enquiry__aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--dh-r-xl-inner);
  padding: var(--dh-space-6);
  background: var(--dh-grad-veen);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--dh-space-4);
}
.enquiry__next-wrap { margin-top: var(--dh-space-2); }
.enquiry__title { font-size: var(--dh-fs-xl); line-height: 1.2; }
.enquiry__intro { color: var(--dh-text-2); font-size: var(--dh-fs-sm); max-width: 46ch; }
.enquiry__about { font-size: var(--dh-fs-xs); font-weight: 600; letter-spacing: var(--dh-track-caps); text-transform: uppercase; color: var(--dh-text-subtle); margin-bottom: 8px; }
.enquiry__sel { margin: 0; display: grid; gap: 1px; border-radius: var(--dh-r-md); overflow: hidden; box-shadow: var(--dh-ring-shell); }
.enquiry__sel > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 12px 14px; background: color-mix(in srgb, var(--dh-mist-50) 5%, transparent); }
.enquiry__sel dt { color: var(--dh-text-muted); font-size: var(--dh-fs-xs); }
.enquiry__sel dd { margin: 0; font-weight: 600; font-size: var(--dh-fs-sm); overflow-wrap: anywhere; }
.enquiry__change { align-self: flex-start; }
.enquiry__next {
  align-self: end;
  position: relative;
  list-style: none;
  margin: var(--dh-space-5) 0 0;
  padding: var(--dh-space-5) 0 0;
  display: grid;
  gap: 12px;
  font-size: var(--dh-fs-sm);
  color: var(--dh-text-2);
}
.enquiry__next::before { content: ""; position: absolute; top: 0; left: calc(-1 * var(--dh-space-6)); right: calc(-1 * var(--dh-space-6)); height: 1px; background: var(--dh-grad-seam); }
.enquiry__next::after { content: ""; position: absolute; bottom: 100%; left: calc(-1 * var(--dh-space-6)); right: calc(-1 * var(--dh-space-6)); height: 150px; background: var(--dh-glow-sunrise); z-index: -1; pointer-events: none; }
.enquiry__next-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.enquiry__next li { display: flex; align-items: center; gap: 12px; }
.enquiry__num { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 500 var(--dh-fs-2xs)/1 var(--dh-font-mono); color: var(--dh-accent-text); box-shadow: inset 0 0 0 1px var(--dh-line-strong); }
.enquiry__call { font-size: var(--dh-fs-sm); color: var(--dh-text-2); }
.enquiry__call a { color: var(--dh-accent-text); }
.enquiry__form {
  background: var(--dh-surface);
  border-radius: var(--dh-r-xl-inner);
  box-shadow: var(--dh-inset-hi);
  padding: var(--dh-space-6);
  display: grid;
  gap: var(--dh-space-5);
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
}
.enquiry__grid { display: grid; gap: var(--dh-space-4) var(--dh-space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .enquiry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .enquiry__wide { grid-column: 1 / -1; } }
.enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 767.98px) {
  .enquiry__aside, .enquiry__form { padding: var(--dh-space-5); }
  .enquiry__next::before, .enquiry__next::after { left: calc(-1 * var(--dh-space-5)); right: calc(-1 * var(--dh-space-5)); }
}
@media (max-width: 399.98px) {
  .enquiry__aside, .enquiry__form { padding: var(--dh-space-4); }
  .enquiry__next::before, .enquiry__next::after { left: calc(-1 * var(--dh-space-4)); right: calc(-1 * var(--dh-space-4)); }
}
.lead-fields { display: grid; gap: var(--dh-space-4); border: 0; margin: 0; padding: 0; min-width: 0; }
.lead-fields__legend { padding: 0; margin-bottom: var(--dh-space-3); font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: var(--dh-fs-md); }
.lead-fields__privacy { display: grid; gap: 8px; padding-top: var(--dh-space-2); }

/* =====================================================================
   CTA: aanvraagblok, CTA-band (partials/cta-enquiry)
   ===================================================================== */
.cta-block {
  display: grid;
  gap: 14px;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--dh-r-lg);
  background: var(--dh-glow-sunrise-light) center bottom / 100% 70% no-repeat, var(--dh-surface);
  box-shadow: var(--dh-ring-shell);
}
.cta-block__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: var(--dh-fs-lg); line-height: 1.25; letter-spacing: -0.005em; }
.cta-block__text { font-size: var(--dh-fs-sm); color: var(--dh-text-2); max-width: 52ch; }
.cta-block__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-block__note { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
.cta-block__note a { color: var(--dh-accent-text); }

.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--dh-veen-950); }
.cta-band::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 70%;
  background: var(--dh-glow-sunrise);
  z-index: -1;
  pointer-events: none;
}
.cta-band__inner { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); display: grid; gap: var(--dh-space-5); justify-items: start; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--dh-space-7); }
  .cta-band__actions { justify-self: end; }
}
.cta-band__title { font-size: var(--dh-fs-2xl); max-width: 18ch; }
.cta-band__text { margin-top: var(--dh-space-4); color: var(--dh-text-2); max-width: 58ch; font-size: var(--dh-fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-band__call { color: var(--dh-text-2); font-size: var(--dh-fs-sm); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.cta-band__call .icon { color: var(--dh-accent-icon); }
.cta-band__call:hover { color: var(--dh-accent-text); }

/* =====================================================================
   Bevestiging na verzenden (partials/form-success)
   ===================================================================== */
.form-success {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: var(--dh-space-5);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--dh-r-xl);
  background: var(--dh-grad-veen);
}
.form-success__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--dh-grad-gloed); color: var(--dh-ink-900); box-shadow: var(--dh-shadow-glow); }
.form-success__icon .icon { width: 26px; height: 26px; stroke-width: 2; }
.form-success__title { font-size: var(--dh-fs-2xl); max-width: 22ch; }
.form-success__ref { font-family: var(--dh-font-mono); font-size: var(--dh-fs-sm); color: var(--dh-text-2); }
.form-success__text { font-size: var(--dh-fs-md); color: var(--dh-text-2); max-width: 58ch; }
.form-success__mail { font-size: var(--dh-fs-sm); color: var(--dh-text-2); overflow-wrap: anywhere; }
.form-success__steps {
  position: relative;
  list-style: none;
  margin: var(--dh-space-3) 0 0;
  padding: var(--dh-space-5) 0 0;
  display: grid;
  gap: 12px;
  font-size: var(--dh-fs-sm);
  color: var(--dh-text-2);
}
.form-success__steps::before { content: ""; position: absolute; top: 0; left: calc(-1 * clamp(1.75rem, 1rem + 3vw, 3.5rem)); right: calc(-1 * clamp(1.75rem, 1rem + 3vw, 3.5rem)); height: 1px; background: var(--dh-grad-seam); }
/* Zonsopkomst vanuit de naad omhoog (DESIGN §4.1): loopt naar boven uit, dus geen harde rand */
.form-success__steps::after { content: ""; position: absolute; bottom: 100%; left: calc(-1 * clamp(1.75rem, 1rem + 3vw, 3.5rem)); right: calc(-1 * clamp(1.75rem, 1rem + 3vw, 3.5rem)); height: 150px; background: var(--dh-glow-sunrise); z-index: -1; pointer-events: none; }
@media (min-width: 768px) { .form-success__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.form-success__steps li { display: flex; align-items: center; gap: 12px; }
.form-success__steps li.is-done .enquiry__num { background: var(--dh-grad-gloed); color: var(--dh-ink-900); box-shadow: none; }
.form-success__links { display: flex; flex-wrap: wrap; gap: 10px 14px; }

/* =====================================================================
   Stappen (keuzehulp, DESIGN §6.13)
   ===================================================================== */
.steps-wrap { display: grid; gap: 10px; min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(var(--steps-n, 4), minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.steps--n2 { --steps-n: 2; }
.steps--n3 { --steps-n: 3; }
.steps--n4 { --steps-n: 4; }
.steps--n5 { --steps-n: 5; }
.steps--n6 { --steps-n: 6; }
.steps__item { position: relative; display: grid; justify-items: center; font-size: var(--dh-fs-sm); color: var(--dh-text-muted); text-align: center; }
.steps__item::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--dh-line-strong);
}
.steps__item:first-child::before { display: none; }
.steps__item.is-done::before, .steps__item.is-current::before { background: linear-gradient(90deg, var(--dh-goud-300), var(--dh-gloed-500)); }
.steps__link { position: relative; display: grid; justify-items: center; gap: 8px; color: inherit; text-decoration: none; border-radius: var(--dh-r-sm); padding: 0 4px 2px; }
a.steps__link:hover { color: var(--dh-text); }
.steps__dot {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dh-surface);
  box-shadow: inset 0 0 0 1.5px var(--dh-line-field);
  font: 600 var(--dh-fs-xs)/1 var(--dh-font-mono);
  color: var(--dh-text-muted);
}
.steps__dot .icon { width: 16px; height: 16px; stroke-width: 2; }
.steps__item.is-done { color: var(--dh-text-2); }
.steps__item.is-done .steps__dot { background: var(--dh-grad-gloed); box-shadow: none; color: var(--dh-ink-900); }
.steps__item.is-current { color: var(--dh-text); font-weight: 600; }
.steps__item.is-current .steps__dot { background: var(--dh-veen-900); color: var(--dh-goud-300); box-shadow: 0 0 0 4px rgb(234 193 127 / 0.30); }
.dh-dark .steps__item.is-current .steps__dot { background: var(--dh-veen-950); box-shadow: inset 0 0 0 1.5px var(--dh-goud-300), 0 0 0 4px rgb(234 193 127 / 0.22); }
.steps__compact { display: none; font-size: var(--dh-fs-sm); font-weight: 600; }
.steps__compact span { font-family: var(--dh-font-mono); color: var(--dh-text-muted); font-weight: 500; }
@media (max-width: 639.98px) {
  .steps__compact { display: block; }
  .steps__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =====================================================================
   Drawer (filtersheet), modal, toast (DESIGN §6.9, §6.15, §6.16)
   ===================================================================== */
.drawer { position: fixed; inset: 0; z-index: var(--dh-z-drawer); display: flex; justify-content: flex-end; }
.drawer__backdrop, .backdrop {
  position: absolute;
  inset: 0;
  background: var(--dh-backdrop);
  opacity: 0;
  transition: opacity var(--dh-dur-base) var(--dh-ease-out);
}
.drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100%;
  background: var(--dh-surface);
  color: var(--dh-text);
  box-shadow: var(--dh-shadow-3);
  border-radius: var(--dh-r-xl) 0 0 var(--dh-r-xl);
  transform: translateX(100%);
  transition: transform var(--dh-dur-base) var(--dh-ease-exit);
  outline: none;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; transition: transform var(--dh-dur-slow) var(--dh-ease-drawer); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--dh-line); }
.drawer__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: var(--dh-fs-lg); }
.drawer__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 18px 24px; }
.drawer__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--dh-line); background: var(--dh-surface); display: flex; gap: 10px; justify-content: space-between; }
.drawer--bottom { align-items: flex-end; justify-content: stretch; }
.drawer--bottom .drawer__panel { width: 100%; height: auto; max-height: 88dvh; border-radius: var(--dh-r-xl) var(--dh-r-xl) 0 0; transform: translateY(100%); }
.drawer--bottom .drawer__panel::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--dh-line-strong); margin: 10px auto 0; flex: none; }
@media (max-width: 639.98px) { .drawer__panel { border-radius: 0; } .drawer--bottom .drawer__panel { border-radius: var(--dh-r-xl) var(--dh-r-xl) 0 0; } }
html.is-scroll-locked, html.is-scroll-locked body { overflow: hidden; }

.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--dh-r-xl);
  background: var(--dh-zand-0);
  color: var(--dh-ink-900);
  box-shadow: var(--dh-shadow-3);
  overflow: auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity var(--dh-dur-base) var(--dh-ease-out), transform var(--dh-dur-base) var(--dh-ease-out);
}
.modal[open].is-open { opacity: 1; transform: none; }
.modal::backdrop { background: var(--dh-backdrop); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__inner { padding: 32px; display: grid; gap: 16px; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: 1.5rem; line-height: 1.25; }
.modal__title:focus { outline: none; }
.modal__close { margin: -8px -10px 0 0; }
.modal__body { color: var(--dh-ink-700); font-size: var(--dh-fs-base); }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 8px; }
@media (max-width: 639.98px) {
  .modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--dh-r-xl) var(--dh-r-xl) 0 0; transform: translateY(100%); }
  .modal__inner { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
}

.toasts {
  position: fixed;
  z-index: var(--dh-z-toast);
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
@media (max-width: 639.98px) {
  .toasts { left: 16px; right: 16px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 10px 14px 16px;
  border-radius: var(--dh-r-md);
  background: var(--dh-veen-900);
  color: var(--dh-mist-50);
  box-shadow: var(--dh-shadow-3);
  font-size: var(--dh-fs-sm);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dh-dur-base) var(--dh-ease-spring), transform var(--dh-dur-base) var(--dh-ease-spring);
}
.toast.is-in { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: none; transition: opacity var(--dh-dur-fast) var(--dh-ease-exit); }
.toast > .icon { margin-top: 1px; color: var(--dh-dauw-300); }
.toast--success > .icon { color: var(--dh-mos-400); }
.toast--error > .icon { color: var(--dh-rood-300); }
.toast--warning > .icon { color: var(--dh-goud-300); }
.toast__title { display: block; font-weight: 600; }
.toast__text { display: block; color: var(--dh-mist-300); }
.toast__side { display: flex; align-items: center; gap: 2px; margin-top: -6px; }
.toast__action {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px;
  color: var(--dh-goud-300);
  font: 600 var(--dh-fs-sm)/1 var(--dh-font-text);
  border-radius: var(--dh-r-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
.toast__action:hover { color: var(--dh-goud-200); }
.toast__close { width: 32px; height: 32px; --_bg: transparent; --_fg: var(--dh-mist-300); }
.toast__close:hover { --_bg: var(--dh-wash-dark); --_fg: var(--dh-mist-50); }
.toast__action:focus-visible, .toast__close:focus-visible { outline: 2px solid var(--dh-goud-300); outline-offset: 1px; box-shadow: none; }

/* =====================================================================
   Tabs en accordion (DESIGN §6.17, §6.18)
   ===================================================================== */
.tabs__list {
  position: relative;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--dh-line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
.tabs__list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tabs__list { -webkit-mask-image: none; mask-image: none; } }
.tabs__tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 14px 14px 16px;
  font: 600 0.9375rem/1.2 var(--dh-font-text);
  color: var(--dh-text-muted);
  white-space: nowrap;
  border-radius: var(--dh-r-sm) var(--dh-r-sm) 0 0;
  cursor: pointer;
  transition: color var(--dh-dur-fast) var(--dh-ease-out);
}
.tabs__tab:hover { color: var(--dh-text); }
.tabs__tab[aria-selected="true"] { color: var(--dh-text); }
.tabs__tab:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--dh-focus); }
.tabs__indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 2px;
  background: var(--dh-grad-gloed);
  transform-origin: 0 0;
  transition: transform var(--dh-dur-base) var(--dh-ease-in-out);
  pointer-events: none;
}
.tabs__panel { padding-top: var(--dh-space-6); }
.tabs__panel:focus-visible { outline: none; box-shadow: none; }
.tabs__heading { font-size: var(--dh-fs-xl); margin-bottom: var(--dh-space-4); }
.tabs.is-enhanced .tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabs:not(.is-enhanced) .tabs__panel + .tabs__panel { margin-top: var(--dh-space-7); }

.accordion { border-top: 1px solid var(--dh-line); }
.accordion__item { border-bottom: 1px solid var(--dh-line); }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-weight: 600;
  font-size: var(--dh-fs-base);
  cursor: pointer;
  list-style: none;
  border-radius: var(--dh-r-sm);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { color: var(--dh-accent-text); }
.accordion__icon { flex: none; color: var(--dh-accent-icon); transition: transform var(--dh-dur-base) var(--dh-ease-spring); }
.accordion__item[open] > .accordion__summary .accordion__icon { transform: rotate(45deg); }
.accordion__content { padding: 0 2px 20px; color: var(--dh-text-2); max-width: var(--dh-measure); }
.accordion__item[open] > .accordion__content { animation: dh-acc-in var(--dh-dur-base) var(--dh-ease-out); }
@keyframes dh-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.accordion__group-title { font-size: 1.25rem; margin: var(--dh-space-7) 0 var(--dh-space-3); }

/* =====================================================================
   Kruimelpad, paginatie, lege staat (DESIGN §6.19-6.21)
   ===================================================================== */
.site-crumbs { padding-top: var(--dh-space-5); }
.breadcrumbs { font-size: var(--dh-fs-sm); color: var(--dh-text-muted); }
.breadcrumbs__list { display: none; flex-wrap: wrap; align-items: center; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs__item .icon { width: 14px; height: 14px; color: var(--dh-text-subtle); }
.breadcrumbs a { color: var(--dh-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--dh-accent-text); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--dh-text); }
.breadcrumbs__back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 32px; }
.breadcrumbs__back .icon { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .breadcrumbs__list { display: flex; }
  .breadcrumbs__back { display: none; }
}

.pagination { display: grid; justify-items: center; gap: var(--dh-space-5); margin-top: var(--dh-space-7); }
.pagination__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.pagination__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination__num {
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: var(--dh-r-pill);
  display: grid;
  place-items: center;
  font: 500 var(--dh-fs-sm)/1 var(--dh-font-mono);
  color: var(--dh-text);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
a.pagination__num:hover { background: var(--dh-surface-sunken); color: var(--dh-text); }
.pagination__num[aria-current="page"] { background: var(--dh-veen-900); color: var(--dh-mist-50); }
.pagination__gap { min-width: 24px; height: 40px; display: grid; place-items: center; color: var(--dh-text-muted); }
.pagination__more { width: 100%; max-width: 420px; }
.pagination .btn[aria-disabled="true"] { visibility: hidden; }
@media (max-width: 639.98px) { .pagination__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

.empty-state { display: grid; justify-items: center; text-align: center; gap: 12px; padding: var(--dh-space-8) var(--dh-space-4); max-width: 520px; margin-inline: auto; }
.empty-state__art { width: 96px; height: 56px; color: var(--dh-zand-300); margin-bottom: 8px; }
.dh-dark .empty-state__art { color: var(--dh-veen-600); }
.empty-state__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; }
.empty-state__text { color: var(--dh-text-2); max-width: 46ch; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* =====================================================================
   Meldingen en tabellen
   ===================================================================== */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--dh-r-md);
  font-size: var(--dh-fs-sm);
  background: var(--dh-surface-sunken);
  color: var(--dh-text);
}
.alert > .icon { flex: none; }
.alert__body { display: grid; gap: 2px; min-width: 0; }
.alert__title { font-weight: 600; }
.alert a { color: inherit; font-weight: 600; text-decoration-color: currentColor; }
.alert--info { background: var(--dh-dauw-100); color: var(--dh-dauw-800); }
.alert--success { background: var(--dh-mos-100); color: var(--dh-mos-800); }
.alert--warning { background: var(--dh-goud-100); color: var(--dh-gloed-800); }
.alert--danger { background: var(--dh-rood-100); color: var(--dh-rood-700); }
.alert__close { margin: -10px -8px -10px auto; width: 36px; height: 36px; --_bg: transparent; --_fg: currentColor; }

.table-wrap { position: relative; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: var(--dh-fs-sm); }
.table caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.table th { text-align: left; font-size: var(--dh-fs-xs); font-weight: 600; color: var(--dh-text-muted); padding: 10px 12px; border-bottom: 1px solid var(--dh-line-strong); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--dh-line); vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .mono { font-size: var(--dh-fs-xs); }
.table tbody tr:hover td { background: var(--dh-surface-sunken); }
.table--compact td { padding: 8px 12px; }

/* =====================================================================
   Header (DESIGN §6.1, §6.2, §6.4; addendum A1.5, A3)
   Volledige navigatie vanaf 1280px (logo 56px + 6 items + CTA + taal past pas dan op één regel); daaronder hamburger.
   ===================================================================== */
.site-header {
  position: sticky;
  top: var(--dh-header-gap);
  z-index: var(--dh-z-header);
  margin: var(--dh-header-gap) var(--dh-gutter) 0;
  color: var(--dh-text);
}
.site-header.dh-dark { background-color: transparent; }
.has-hero-dark .site-header { margin-bottom: calc(-1 * var(--dh-header-offset)); }
.site-header__bar {
  position: relative;
  max-width: calc(var(--dh-container) - 2 * var(--dh-gutter) + 24px);
  height: var(--dh-header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 12px;
  border-radius: var(--dh-r-lg);
  background: rgb(253 250 244 / 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: var(--dh-ring-shell), var(--dh-shadow-1);
  transition: background-color var(--dh-dur-slow) var(--dh-ease-out), box-shadow var(--dh-dur-slow) var(--dh-ease-out);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--dh-ring-shell), var(--dh-shadow-2); }
.site-header.dh-dark .site-header__bar { background: rgb(26 18 13 / 0.72); box-shadow: 0 0 0 1px rgb(246 239 227 / 0.08), 0 10px 30px -12px rgb(26 18 13 / 0.5); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__bar { background: var(--dh-zand-0); }
  .site-header.dh-dark .site-header__bar { background: var(--dh-veen-900); }
}
@media (min-width: 768px) { .site-header__bar { padding: 0 10px 0 18px; gap: 6px; } }

/* Logo: vaste hoogte 44px (mobiel) / 56px, breedte volgt de verhouding 4,64:1 (addendum A3) */
.hdr-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  height: 44px;
  margin-right: auto;
  border-radius: var(--dh-r-sm);
  text-decoration: none;
}
.hdr-logo__img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.hdr-logo__img--light { display: none; }
.site-header.dh-dark .hdr-logo__img--ink { display: none; }
.site-header.dh-dark .hdr-logo__img--light { display: block; }
.hdr-logo:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
@media (min-width: 768px) {
  .hdr-logo { height: 56px; }
  .hdr-logo__img { height: 56px; }
}
@media (min-width: 1280px) { .hdr-logo { flex: none; margin-right: 8px; } }

/* Hamburger: twee lijnen die naar een X draaien */
.hdr-burger { --_bg: transparent; --_fg: var(--dh-text); }
.hdr-burger:hover { --_bg: var(--dh-surface-sunken); --_fg: var(--dh-text); }
.site-header.dh-dark .hdr-burger:hover { --_bg: var(--dh-wash-dark); }
.hdr-burger__box { position: relative; width: 20px; height: 12px; display: block; }
.hdr-burger__box span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dh-dur-base) var(--dh-ease-spring), top var(--dh-dur-base) var(--dh-ease-out);
}
.hdr-burger__box span:first-child { top: 1px; }
.hdr-burger__box span:last-child { top: 9px; }
.hdr-burger[aria-expanded="true"] .hdr-burger__box span:first-child { top: 5px; transform: rotate(45deg); }
.hdr-burger[aria-expanded="true"] .hdr-burger__box span:last-child { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1280px) { .hdr-burger { display: none; } }

/* Hoofdnavigatie */
.hdr-nav { display: none; }
@media (min-width: 1280px) { .hdr-nav { display: block; margin-right: auto; } }
.hdr-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hdr-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  border-radius: var(--dh-r-pill);
  font: 500 var(--dh-fs-sm)/1 var(--dh-font-text);
  color: var(--dh-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out), color var(--dh-dur-fast) var(--dh-ease-out);
}
.hdr-nav__link:hover { background: var(--dh-surface-sunken); color: var(--dh-text); text-decoration: none; }
.site-header.dh-dark .hdr-nav__link:hover { background: var(--dh-wash-dark); }
.hdr-nav__link[aria-current="page"], .hdr-nav__link.is-active { color: var(--dh-accent-text); }
.hdr-nav__link[aria-current="page"]::after, .hdr-nav__link.is-active::after { content: none; }
.hdr-nav__link[aria-expanded="true"] { background: var(--dh-surface-sunken); }
.site-header.dh-dark .hdr-nav__link[aria-expanded="true"] { background: var(--dh-wash-dark-strong); }
.hdr-nav__chev { width: 16px; height: 16px; color: var(--dh-text-muted); transition: transform var(--dh-dur-base) var(--dh-ease-out); }
.hdr-nav__link[aria-expanded="true"] .hdr-nav__chev { transform: rotate(180deg); }
.hdr-nav__link:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }


/* Rechtercluster: zoeken, CTA, taal, hamburger */
.hdr-tools { display: flex; align-items: center; gap: 4px; flex: none; }
@media (min-width: 768px) { .hdr-tools { gap: 8px; } }
.hdr-cta { display: none; }
@media (min-width: 768px) { .hdr-cta { display: inline-flex; } }
.lang-switch.hdr-lang { display: none; }
@media (min-width: 768px) { .lang-switch.hdr-lang { display: flex; } }

/* Taalwissel voor vier talen (addendum A1.5, docs/modules/I18N.md): knopje met de huidige taalcode + uitklapmenu.
   <details>, dus ook zonder JS bruikbaar; het menu is altijd veenbruin (.dh-dark), ook onder een lichte header. */
.lang-switch { display: flex; align-items: center; font-size: var(--dh-fs-xs); font-weight: 600; letter-spacing: 0.04em; }
.lang-switch__menu { position: relative; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 0 6px 0 10px;
  border-radius: var(--dh-r-pill);
  color: var(--dh-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out);
}
.lang-switch__btn::-webkit-details-marker { display: none; }
.lang-switch__btn::marker { content: ""; }
.lang-switch__btn:hover { background: var(--dh-surface-sunken); }
.site-header.dh-dark .lang-switch__btn:hover { background: var(--dh-wash-dark); }
.lang-switch__menu[open] > .lang-switch__btn { background: var(--dh-surface-sunken); }
.site-header.dh-dark .lang-switch__menu[open] > .lang-switch__btn { background: var(--dh-wash-dark-strong); }
.lang-switch__btn:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
.lang-switch__code { line-height: 1.2; }
.lang-switch__chev { width: 16px; height: 16px; color: var(--dh-text-muted); transition: transform var(--dh-dur-base) var(--dh-ease-out); }
.lang-switch__menu[open] .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: var(--dh-z-dropdown);
  min-width: 184px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--dh-line-strong);
  border-radius: var(--dh-r-md);
  box-shadow: 0 18px 40px -18px rgb(26 18 13 / 0.55);
}
.lang-switch__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--dh-r-sm);
  color: var(--dh-text-2);
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch__link .lang-switch__code { min-width: 22px; color: var(--dh-text-subtle); }
.lang-switch__name { font-size: var(--dh-fs-sm); font-weight: 500; letter-spacing: 0; }
.lang-switch__link:hover { color: var(--dh-text); background: var(--dh-surface-shell); text-decoration: none; }
.lang-switch__link[aria-current="true"] { color: var(--dh-text); }
.lang-switch__link[aria-current="true"] .lang-switch__code { color: var(--dh-accent-text); }
.lang-switch__link:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }

/* Zoekveld (vaste markup form.site-search). Ingeklapt als 44px-pil; bij focus breed als overlay over de balk. */
.hdr-search { position: static; flex: none; width: 44px; height: 44px; }
@media (min-width: 1280px) { .hdr-search { position: relative; } }
@media (min-width: 1440px) { .hdr-search { width: 132px; } }
.site-search { position: relative; width: 100%; height: 44px; z-index: var(--dh-z-raised); }
.site-search__field { position: relative; height: 100%; }
.site-search__input {
  width: 100%;
  height: 100%;
  padding: 0 0 0 42px;
  border: 1px solid transparent;
  border-radius: var(--dh-r-pill);
  background: var(--dh-surface-sunken);
  color: var(--dh-text);
  font-size: var(--dh-fs-base);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out), border-color var(--dh-dur-fast) var(--dh-ease-out);
}
.site-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.site-search__input::placeholder { color: transparent; }
.site-header.dh-dark .site-search__input { background: var(--dh-wash-dark); }
.site-search__input:hover { border-color: var(--dh-line-strong); }
.site-search__icon { position: absolute; left: 12px; top: 12px; pointer-events: none; color: var(--dh-text); }
.site-search__hint {
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
  display: none;
  align-items: center;
  font-size: var(--dh-fs-sm);
  color: var(--dh-text-muted);
  pointer-events: none;
  white-space: nowrap;
}
@media (min-width: 1440px) {
  .site-search__hint { display: flex; }
  .site-search__input { padding-right: 14px; }
}
.site-search__input:not(:placeholder-shown) ~ .site-search__hint { display: none; }
/* Headerbalk per taal (docs/modules/I18N.md): de balk heeft een vaste maximale breedte en de Duitse navigatielabels zijn
   langer. In het Duits daarom krappere tussenruimte en blijft het zoekveld een pil (bij focus klapt het breed uit). */
@media (min-width: 1280px) {
  html:lang(de) .hdr-nav__list { gap: 0; }
  html:lang(de) .hdr-nav__link { padding: 0 6px; letter-spacing: -0.005em; }
  html:lang(de) .hdr-cta { padding-inline: 14px; }
  html:lang(de) .hdr-search { width: 44px; }
  html:lang(de) .site-search__hint { display: none; }
  html:lang(de) .site-search__input { padding-right: 0; }
}
@media (min-width: 1440px) {
  html:lang(de) .hdr-nav__link { padding: 0 8px; letter-spacing: 0; }
  html:lang(de) .hdr-cta { padding-inline: 18px; }
}
.site-search__submit { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; display: none; }
.site-search:focus-within { position: absolute; z-index: var(--dh-z-dropdown); }
.site-search:focus-within .site-search__input {
  cursor: text;
  padding-right: 48px;
  background: var(--dh-zand-0);
  color: var(--dh-ink-900);
  border-color: var(--dh-mos-700);
  box-shadow: 0 0 0 3px rgb(6 89 13 / 0.22), var(--dh-shadow-2);
}
.site-header.dh-dark .site-search:focus-within .site-search__input { border-color: var(--dh-goud-300); box-shadow: 0 0 0 3px rgb(234 193 127 / 0.24), var(--dh-shadow-2); }
.site-search:focus-within .site-search__icon { color: var(--dh-ink-600); }
.site-search:focus-within .site-search__input::placeholder { color: var(--dh-ink-500); }
.site-search:focus-within .site-search__hint { display: none; }
.site-search:focus-within .site-search__submit { display: grid; }
@media (max-width: 1279.98px) {
  .site-search:focus-within { left: 8px; right: 8px; top: calc((var(--dh-header-h) - 44px) / 2); width: auto; }
}
@media (min-width: 1280px) {
  .site-search:focus-within { right: 0; top: 0; width: min(440px, calc(100vw - 2 * var(--dh-gutter) - 320px)); }
}
/* Suggestiepaneel (core/search-suggest) */
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: var(--dh-z-dropdown);
  max-height: min(70dvh, 560px);
  overflow: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--dh-r-md);
  background: var(--dh-zand-0);
  color: var(--dh-ink-900);
  box-shadow: var(--dh-ring-shell), var(--dh-shadow-3);
}
.suggest__group { padding: 10px 10px 4px; font-size: var(--dh-fs-2xs); font-weight: 600; letter-spacing: var(--dh-track-caps); text-transform: uppercase; color: var(--dh-ink-600); }
.suggest__opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: var(--dh-r-sm); cursor: pointer; font-size: var(--dh-fs-sm); }
.suggest__opt[aria-selected="true"], .suggest__opt:hover { background: var(--dh-zand-100); }
.suggest__opt--all { grid-template-columns: minmax(0, 1fr) auto; font-weight: 600; margin-top: 4px; border-top: 1px solid rgb(33 24 18 / 0.10); border-radius: 0 0 var(--dh-r-sm) var(--dh-r-sm); }
/* Thumb: een vierkante foto of textuur vult het vlak; alleen de verpakkingstekening (terugval zonder foto) blijft heel. */
.suggest__thumb { width: 40px; height: 40px; border-radius: var(--dh-r-xs); background: var(--dh-zand-100); object-fit: cover; }
.suggest__thumb[src^="/media/verpakking/"] { object-fit: contain; }
.suggest__thumb--icon { display: grid; place-items: center; color: var(--dh-ink-600); }
.suggest__meta { font-size: var(--dh-fs-xs); color: var(--dh-ink-600); }
.suggest mark { background: var(--dh-goud-100); color: var(--dh-ink-900); border-radius: 2px; padding: 0 1px; }
.suggest__empty { padding: 14px 10px; font-size: var(--dh-fs-sm); color: var(--dh-ink-700); }
.suggest__skeleton { height: 44px; margin: 4px 0; border-radius: var(--dh-r-sm); background: var(--dh-zand-100); animation: dh-pulse 1.2s ease-in-out infinite; }

/* Megamenu "Assortiment" (DESIGN §6.2, PLAN-B2B §7): donker veenpaneel met dezelfde opbouw als het mobiele menu
   (veen-950 naar turf, koppen goud-300, tekst mist-50/mist-300, dunne lichte lijnen, gloed en horizonnaad onderaan).
   Categorieën · grondstoffen · teelten · tegel "Mengsel op maat" + export/keuzehulp/diensten/private label. */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: var(--dh-z-dropdown);
  max-width: calc(var(--dh-container) - 2 * var(--dh-gutter) + 24px);
  margin-inline: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dh-dur-base) var(--dh-ease-out), transform var(--dh-dur-base) var(--dh-ease-out);
}
/* .dh-dark zet zelf een achtergrond; de wrapper blijft transparant zodat alleen het afgeronde paneel zichtbaar is. */
.mega.dh-dark { background-color: transparent; }
.mega.is-open { opacity: 1; transform: none; }
/* Horizonnaad onderaan het paneel (op de wrapper, zodat hij niet meescrolt met de inhoud) */
.mega::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: var(--dh-grad-seam);
  pointer-events: none;
}
.mega__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 8px 36px;
  padding: 28px 28px 40px 32px;
  border-radius: var(--dh-r-xl);
  background: var(--dh-glow-sunrise) center bottom / 100% 48% no-repeat, var(--dh-grad-veen);
  color: var(--dh-text);
  box-shadow: var(--dh-ring-shell), var(--dh-shadow-3);
  max-height: calc(100dvh - var(--dh-header-offset) - 32px);
  overflow: auto;
}
.mega__col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.mega__title {
  margin-bottom: 8px;
  font-size: var(--dh-fs-xs);
  font-weight: 600;
  letter-spacing: var(--dh-track-caps);
  text-transform: uppercase;
  color: var(--dh-accent-text);
}
.mega__title--more { margin: 22px 0 0; }
.mega__text { font-size: var(--dh-fs-xs); color: var(--dh-text-muted); margin: -4px 0 8px; max-width: 30ch; }
.mega__cats, .mega__mats, .mega__crops, .mega__links { list-style: none; margin: 0; padding: 0; }
.mega__cats, .mega__mats { display: grid; gap: 2px; margin: 0 -10px; }
.mega-cat {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: var(--dh-r-sm);
  text-decoration: none;
  color: var(--dh-text);
  font-weight: 500;
  font-size: var(--dh-fs-sm);
  transition: background-color var(--dh-dur-fast) var(--dh-ease-out);
}
.mega-cat:hover { background: var(--dh-wash-dark); color: var(--dh-text); text-decoration: none; }
.mega-cat:hover .mega-cat__name { color: var(--dh-accent-text); }
.mega-cat:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
/* Swatch: textuur met een lichte rand; categorieën krijgen bovendien een band van 2px in hun eigen kleur, omdat de
   texturen op elkaar lijken (DESIGN §3.3). outline in plaats van een inset-schaduw: die valt bij een <img> onder het beeld. */
.mega-cat__swatch {
  width: 24px;
  height: 24px;
  border-radius: var(--dh-r-xs);
  object-fit: cover;
  background: var(--dh-cat, var(--dh-mat, var(--dh-veen-700)));
  outline: 2px solid var(--dh-cat, transparent);
  outline-offset: -2px;
  box-shadow: 0 0 0 1px var(--dh-line-strong);
}
.mega-cat__count { font-family: var(--dh-font-mono); font-size: var(--dh-fs-xs); color: var(--dh-text-muted); font-variant-numeric: tabular-nums; }
.mega-cat--sm { min-height: 40px; grid-template-columns: 20px minmax(0, 1fr); }
.mega-cat--sm .mega-cat__swatch { width: 20px; height: 20px; }
.mega__all { margin-top: 10px; }
.mega__crops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
/* De link vult de hele rij, zodat de scheidingslijnen van beide kolommen gelijk lopen (ook bij afgebroken namen). */
.mega__crops li { display: flex; }
.mega__crops a {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-block: 6px;
  line-height: 1.35;
  font-size: var(--dh-fs-sm);
  color: var(--dh-text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--dh-line);
}
.mega__crops a:hover { color: var(--dh-accent-text); }
.mega__crops a:focus-visible, .mega__links a:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); border-radius: var(--dh-r-xs); }
.mega__links { display: grid; margin-top: 14px; }
.mega__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 2px;
  font-size: var(--dh-fs-sm);
  font-weight: 500;
  color: var(--dh-text);
  text-decoration: none;
  border-bottom: 1px solid var(--dh-line);
}
.mega__links a:hover { color: var(--dh-accent-text); }
.mega__links .icon { width: 18px; height: 18px; color: var(--dh-accent-icon); }
/* Tegel "Mengsel op maat": verhoogd vlak (veen-850) met hoekgloed en een lichte rand */
.mega-feature {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: var(--dh-r-lg);
  background: var(--dh-glow-corner), var(--dh-veen-850);
  box-shadow: inset 0 0 0 1px var(--dh-line-strong);
  overflow: hidden;
}
.mega-feature__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-display); font-weight: var(--dh-fw-display); letter-spacing: var(--dh-track-display); font-size: 1.3125rem; line-height: 1.15; color: var(--dh-text); }
.mega-feature__text { font-size: var(--dh-fs-sm); color: var(--dh-text-2); }
.mega-feature .btn { justify-self: start; margin-top: 6px; }
.mega.is-open .mega__col li { animation: dh-mega-item var(--dh-dur-base) var(--dh-ease-out) both; }
.mega.is-open .mega__col li:nth-child(2) { animation-delay: 20ms; }
.mega.is-open .mega__col li:nth-child(3) { animation-delay: 40ms; }
.mega.is-open .mega__col li:nth-child(4) { animation-delay: 60ms; }
.mega.is-open .mega__col li:nth-child(5) { animation-delay: 80ms; }
.mega.is-open .mega__col li:nth-child(n+6) { animation-delay: 100ms; }
@keyframes dh-mega-item { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1279.98px) { .mega { display: none !important; } }

/* Flashmeldingen (layout/_flash) */
.flash { margin-top: 12px; }
.has-hero-dark .flash { position: relative; z-index: var(--dh-z-raised); margin-top: calc(var(--dh-header-offset) + 12px); margin-bottom: calc(-1 * (var(--dh-header-offset) + 12px)); pointer-events: none; }
.has-hero-dark .flash .alert { pointer-events: auto; }
.flash__list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.flash .alert { max-width: calc(var(--dh-container) - 2 * var(--dh-gutter) + 24px); margin-inline: auto; }

/* =====================================================================
   Mobiel menu (DESIGN §6.3): volledig scherm, veenbruin met zonsopkomst onderaan
   ===================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--dh-z-drawer);
  display: none;
  flex-direction: column;
  background: var(--dh-glow-sunrise) center bottom / 140% 45% no-repeat, var(--dh-grad-veen);
  color: var(--dh-text);
  overflow: hidden;
}
.mobile-menu:target, .mobile-menu.is-open { display: flex; }
.mobile-menu.is-open { animation: dh-fade-in var(--dh-dur-base) var(--dh-ease-out); }
@keyframes dh-fade-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: calc(var(--dh-header-h) + 2 * var(--dh-header-gap));
  padding: 0 calc(var(--dh-gutter) + 8px) 0 calc(var(--dh-gutter) + 12px);
  border-bottom: 1px solid var(--dh-line);
}
.mobile-menu__logo { display: inline-flex; border-radius: var(--dh-r-sm); }
.mobile-menu__logo img { height: 44px; width: auto; }
@media (min-width: 768px) { .mobile-menu__logo img { height: 56px; } }
.mobile-menu__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--dh-gutter) calc(32px + env(safe-area-inset-bottom)); display: grid; align-content: start; gap: 28px; }
.mm-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 6px 2px;
  font-family: var(--dh-font-display);
  font-stretch: var(--dh-stretch-display);
  font-weight: var(--dh-fw-display);
  letter-spacing: var(--dh-track-display);
  font-size: 1.625rem;
  line-height: 1.15;
  color: var(--dh-text);
  text-decoration: none;
  border-bottom: 1px solid var(--dh-line);
  cursor: pointer;
  list-style: none;
}
@media (min-width: 640px) { .mm-link { font-size: 1.75rem; } }
.mm-link::-webkit-details-marker { display: none; }
.mm-link:hover, .mm-link[aria-current="page"] { color: var(--dh-accent-text); text-decoration: none; }
.mm-link:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--dh-focus); border-radius: var(--dh-r-sm); }
.mm-acc > summary .icon { color: var(--dh-accent-icon); transition: transform var(--dh-dur-base) var(--dh-ease-spring); }
.mm-acc[open] > summary .icon { transform: rotate(45deg); }
.mm-sub { list-style: none; margin: 0; padding: 8px 0 14px; display: grid; border-bottom: 1px solid var(--dh-line); }
.mm-sub__title { padding: 12px 0 4px; font-size: var(--dh-fs-xs); font-weight: 600; letter-spacing: var(--dh-track-caps); text-transform: uppercase; color: var(--dh-text-subtle); }
.mm-sub a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  font-size: var(--dh-fs-base);
  color: var(--dh-text-2);
  text-decoration: none;
}
.mm-sub a:hover { color: var(--dh-accent-text); }
.mm-sub img {
  width: 22px;
  height: 22px;
  border-radius: var(--dh-r-xs);
  background: var(--dh-cat, var(--dh-mat, var(--dh-veen-700)));
  object-fit: cover;
  outline: 2px solid var(--dh-cat, transparent);
  outline-offset: -2px;
  box-shadow: 0 0 0 1px var(--dh-line-strong);
}
.mm-sub .mm-sub__count { font-family: var(--dh-font-mono); font-size: var(--dh-fs-xs); color: var(--dh-text-subtle); }
.mm-sub a.mm-sub__plain { grid-template-columns: minmax(0, 1fr) auto; }
.mm-sub a.mm-sub__all { grid-template-columns: minmax(0, 1fr) auto; font-weight: 600; color: var(--dh-text); }
.mm-sub a.mm-sub__all .icon { color: var(--dh-accent-icon); }
.mm-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-top: 0; }
.mobile-menu__foot { display: grid; gap: 20px; padding-top: 4px; }
.mobile-menu__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-menu__label { font-size: var(--dh-fs-xs); font-weight: 600; letter-spacing: var(--dh-track-caps); text-transform: uppercase; color: var(--dh-text-subtle); }
.mobile-menu__contact { display: grid; gap: 4px; font-size: var(--dh-fs-sm); color: var(--dh-text-2); }
.mobile-menu__contact a, .mobile-menu__contact span { color: var(--dh-text-2); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; min-height: 36px; }
.mobile-menu__contact a:hover { color: var(--dh-accent-text); }
.mobile-menu__contact .icon { width: 18px; height: 18px; color: var(--dh-accent-icon); }
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: var(--dh-fs-sm); }
.mobile-menu__langs a { color: var(--dh-text-2); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.mobile-menu__langs a[aria-current="true"] { color: var(--dh-text); text-decoration: underline; text-decoration-color: var(--dh-goud-300); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.mobile-menu.is-open .mm-list > li { animation: dh-mm-item var(--dh-dur-slow) var(--dh-ease-out) both; }
.mobile-menu.is-open .mm-list > li:nth-child(2) { animation-delay: calc(var(--dh-stagger) * 1); }
.mobile-menu.is-open .mm-list > li:nth-child(3) { animation-delay: calc(var(--dh-stagger) * 2); }
.mobile-menu.is-open .mm-list > li:nth-child(4) { animation-delay: calc(var(--dh-stagger) * 3); }
.mobile-menu.is-open .mm-list > li:nth-child(5) { animation-delay: calc(var(--dh-stagger) * 4); }
.mobile-menu.is-open .mm-list > li:nth-child(n+6) { animation-delay: calc(var(--dh-stagger) * 5); }
@keyframes dh-mm-item { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }

/* =====================================================================
   Footer (DESIGN §6.22): veenbruin naar turf, horizonnaad bovenaan, logo-light 64px
   ===================================================================== */
.site-footer { position: relative; margin-top: auto; background: var(--dh-grad-veen); color: var(--dh-text); }
.site-footer__inner { padding-block: var(--dh-space-8) var(--dh-space-6); }
.site-footer__grid { display: grid; gap: var(--dh-space-6) var(--dh-space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; max-width: 44ch; display: grid; gap: 18px; align-content: start; }
/* Kolom Assortiment: categorieën | overzichten naast elkaar (twee sporen breed), zodat geen kolom uitschiet. */
.site-footer__col--split { grid-column: 1 / -1; }
.site-footer__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--dh-space-5); align-items: start; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__col--split { grid-column: span 2; }
}
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--dh-space-6) var(--dh-space-5); } }
@media (min-width: 1280px) {
  /* Merkkolom breed genoeg voor het logo op 64px (297px, addendum A3) */
  .site-footer__grid { grid-template-columns: minmax(300px, 1.5fr) repeat(5, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: auto; padding-right: var(--dh-space-4); }
}
.site-footer__logo { display: inline-flex; justify-self: start; border-radius: var(--dh-r-sm); }
.site-footer__logo img { height: 64px; width: auto; max-width: 100%; }
.site-footer__logo:focus-visible { outline: none; box-shadow: var(--dh-focus-ring); }
.site-footer__tagline { font-size: var(--dh-fs-sm); color: var(--dh-text-2); }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--dh-fs-sm); color: var(--dh-text-2); font-style: normal; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--dh-goud-300); margin-top: 1px; }
.site-footer__business { font-size: var(--dh-fs-xs); color: var(--dh-text-subtle); }
.site-footer__title { font-family: var(--dh-font-display); font-stretch: var(--dh-stretch-label); font-weight: 650; font-size: var(--dh-fs-sm); letter-spacing: 0; color: var(--dh-mist-50); margin-bottom: 12px; line-height: 1.3; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--dh-fs-sm); }
.site-footer a { color: var(--dh-mist-300); text-decoration: none; }
.site-footer a:hover { color: var(--dh-goud-300); text-decoration: underline; text-decoration-color: currentColor; }
.site-footer__links a { display: inline-flex; align-items: flex-start; min-height: 32px; padding-block: 6px; line-height: 1.4; }
.site-footer__legal {
  margin-top: var(--dh-space-7);
  padding-top: 18px;
  border-top: 1px solid var(--dh-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: var(--dh-fs-xs);
  color: var(--dh-mist-400);
}
.site-footer__legal a, .site-footer__legal .link-btn { color: var(--dh-mist-400); text-decoration: none; }
.site-footer__legal a:hover { color: var(--dh-goud-300); text-decoration: underline; }
.site-footer__company { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.site-footer__company a { display: inline-flex; min-height: 28px; align-items: center; }
.site-footer__company li { display: inline-flex; align-items: center; min-height: 28px; }
.site-footer__langs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.site-footer__langs a { display: inline-flex; min-height: 32px; align-items: center; font-weight: 600; color: var(--dh-mist-300); }
.site-footer__langs a[aria-current="true"] { color: var(--dh-mist-50); text-decoration: underline; text-decoration-color: var(--dh-goud-300); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* Minimal layout (productblad, beheer-login) */
.min-header { padding: 16px 0; border-bottom: 1px solid var(--dh-line); background: var(--dh-surface); }
.min-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.min-header__logo { display: inline-flex; border-radius: var(--dh-r-sm); }
.min-header__logo img { height: 44px; width: auto; }
@media (min-width: 768px) { .min-header__logo img { height: 56px; } }
.min-header__back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--dh-fs-sm); font-weight: 600; text-decoration: none; min-height: 44px; }
.min-header__back .icon { width: 18px; height: 18px; color: var(--dh-accent-icon); }
.min-footer { margin-top: auto; padding: 24px 0 32px; border-top: 1px solid var(--dh-line); font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
.min-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.min-footer ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.min-footer a { color: var(--dh-text-muted); text-decoration: none; }
.min-footer a:hover { color: var(--dh-accent-text); text-decoration: underline; }

/* =====================================================================
   Fout- en stubpagina's
   ===================================================================== */
.error-page { padding-block: clamp(3rem, 2rem + 5vw, 7rem); }
.error-page__inner { display: grid; gap: 18px; max-width: 680px; margin-inline: auto; justify-items: center; text-align: center; }
.error-page__art { width: 120px; height: 70px; color: var(--dh-zand-300); }
.error-page__code { font-family: var(--dh-font-mono); font-size: var(--dh-fs-sm); color: var(--dh-info-text); font-weight: 500; letter-spacing: 0.04em; }
.error-page__title { font-size: var(--dh-fs-3xl); }
.error-page__text { font-size: var(--dh-fs-md); color: var(--dh-text-2); max-width: 56ch; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.error-search { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 560px; margin-top: 8px; }
.error-search .input { flex: 1 1 22rem; min-width: 0; border-radius: var(--dh-r-pill); padding-left: 20px; }
.error-search .btn { flex: none; }
.error-page__cats { margin-top: var(--dh-space-5); display: grid; gap: 12px; }
.error-page__cats-title { font-size: var(--dh-fs-sm); font-weight: 600; color: var(--dh-text-muted); }
.error-page__cats .chips { gap: 8px; justify-content: center; }
.error-page__cats a.chip { gap: 10px; padding-left: 8px; }
.error-page__cats .chip__swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--dh-cat); }
.error-page__ref { font-family: var(--dh-font-mono); font-size: var(--dh-fs-xs); color: var(--dh-text-muted); }
.error-doc { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.error-doc__head { padding-block: 24px; }
.error-doc__head img { height: 56px; width: auto; }
.error-doc__main { display: grid; align-items: center; }
.error-doc__foot { padding-block: 24px; font-size: var(--dh-fs-xs); color: var(--dh-text-subtle); }
.error-doc .seam { margin-bottom: 0; }

.stub-page { padding-block: var(--dh-section-y-tight); }
.stub-page__panel {
  display: grid;
  gap: var(--dh-space-5);
  padding: 8px;
  border-radius: var(--dh-r-xl);
  background: var(--dh-surface);
  box-shadow: var(--dh-ring-shell), var(--dh-shadow-1);
}
.stub-page__body { display: grid; gap: 16px; align-content: center; padding: clamp(1.25rem, 0.75rem + 2vw, 2.75rem); }
.stub-page__module { font-family: var(--dh-font-mono); font-size: var(--dh-fs-xs); color: var(--dh-info-text); }
.stub-page__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
/* Horizonbeeld: alleen decoratief, vanaf md; veenbruine lucht, zon op de naad, polderlijnen eronder */
.stub-page__art { display: none; position: relative; overflow: hidden; border-radius: var(--dh-r-xl-inner); background: var(--dh-grad-veen); min-height: 300px; }
.stub-page__art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (min-width: 768px) {
  .stub-page__panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .stub-page__art { display: block; }
}

/* =====================================================================
   Reveal, skelet, laden
   ===================================================================== */
[data-reveal] { transition: opacity var(--dh-dur-reveal) var(--dh-ease-out), transform var(--dh-dur-reveal) var(--dh-ease-out); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(var(--dh-reveal-shift)); }
.skeleton { display: block; border-radius: var(--dh-r-sm); background: var(--dh-surface-sunken); animation: dh-pulse 1.2s ease-in-out infinite; }
@keyframes dh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.is-loading { cursor: progress; }
[aria-busy="true"]:not(.btn) { opacity: 0.7; transition: opacity var(--dh-dur-fast) var(--dh-ease-out); }

/* =====================================================================
   Dev-componentenpagina (alleen dev/test, /_dev/componenten)
   ===================================================================== */
.dev-head { padding-block: var(--dh-section-y-tight) var(--dh-space-5); }
.dev-section { padding-block: var(--dh-space-8); border-top: 1px solid var(--dh-line); }
.dev-section--sunken { background: var(--dh-surface-sunken); }
.dev-section > .container > h2 { font-size: var(--dh-fs-xl); margin-bottom: var(--dh-space-2); }
.dev-section__intro { color: var(--dh-text-muted); font-size: var(--dh-fs-sm); margin-bottom: var(--dh-space-6); max-width: var(--dh-measure); }
.dev-label { font-family: var(--dh-font-mono); font-size: var(--dh-fs-2xs); color: var(--dh-text-muted); margin-bottom: 8px; display: block; }
.dev-grid { display: grid; gap: var(--dh-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.dev-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.dev-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dev-dark { border-radius: var(--dh-r-xl); padding: var(--dh-space-6); }
.dev-toc { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: var(--dh-space-5) 0 0; padding: 0; }
.dev-subhead { margin: var(--dh-space-7) 0 var(--dh-space-4); }
.dev-spacer { height: var(--dh-space-6); }
