/*
 * cs_sections front-office. Alleen thema-variabelen (tokens.css van cs-ophangsystemen),
 * met neutrale terugvalwaarden. Het child theme mag alles hier overschrijven.
 * Geen :has(), container queries, backdrop-filter of color-mix().
 */
.cs-sec {
  --cs-sec-gutter: 24px;
  --cs-sec-space: 56px;
  --cs-sec-star: #e0a100;
  --cs-sec-rail-a: #e9ecef;
  --cs-sec-rail-b: #c9cfd5;
  --cs-sec-wire: #9aa3ab;
  color: var(--cs-ink, #14243b);
  padding: var(--cs-sec-space) 0;
}
.cs-sec *, .cs-sec *::before, .cs-sec *::after { box-sizing: border-box; }
.cs-sec__inner { max-width: var(--cs-container, 1320px); margin: 0 auto; padding: 0 var(--cs-sec-gutter); }
.cs-sec h1, .cs-sec h2, .cs-sec h3 { font-family: var(--cs-font-head, inherit); letter-spacing: -0.015em; line-height: 1.1; margin: 0; color: inherit; }
:where(.cs-sec a:not(.btn)) { color: inherit; text-decoration: none; }
.cs-sec img { max-width: 100%; display: block; }
.cs-sec__icon { flex-shrink: 0; }

/* kop */
.cs-sec__head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.cs-sec__head-text { flex-grow: 1; min-width: 0; }
.cs-sec__title { font-size: 34px; font-weight: 700; }
.cs-sec__title--sm { font-size: 26px; }
.cs-sec__title--xl { font-size: 44px; font-weight: 800; }
.cs-sec__subtitle { margin: 8px 0 0; color: var(--cs-muted, #56606d); }
.cs-sec__more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; color: var(--cs-brand-text, inherit); white-space: nowrap; }
.cs-sec__more:hover { text-decoration: underline; }
.cs-sec__text { line-height: 1.6; }
.cs-sec__text > :last-child { margin-bottom: 0; }
.cs-sec__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--cs-radius-sm, 8px); font-weight: 700; white-space: nowrap; }
.cs-sec__btn--lg { min-height: 56px; font-size: 17px; }
.cs-sec__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------------------------------------------------------------- hero */
.cs-sec--hero { padding: 56px 0 40px; }
.cs-sec__hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cs-sec__hero-title { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.cs-sec__lead { margin: 22px 0; font-size: 19px; color: var(--cs-muted, #56606d); max-width: 560px; }
.cs-sec__lead p { margin: 0; }
.cs-sec__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-brand-text, inherit); margin-bottom: 14px; }
.cs-sec__hero-media { position: relative; }
.cs-sec__hero-img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--cs-radius-lg, 14px); }
.cs-sec__badge { position: absolute; left: -28px; bottom: -26px; background: var(--cs-ink, #14243b); color: var(--cs-surface, #fff); border-radius: 12px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.cs-sec__badge-title { display: block; }
.cs-sec__badge-sub { display: block; font-size: 14px; opacity: .85; }

/* Ophangwijzer */
.cs-sec__wiz { background: var(--cs-surface, #fff); border: 1px solid var(--cs-line, #e2ddd5); border-radius: var(--cs-radius-lg, 14px); padding: 22px; box-shadow: 0 18px 40px rgba(20, 30, 40, .08); }
.cs-sec__wiz-title { font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; margin: 0 0 14px; }
.cs-sec__wiz-title .cs-sec__icon { color: var(--cs-brand-text, inherit); }
.cs-sec__wiz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cs-sec__wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--cs-muted, #56606d); }
.cs-sec__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.cs-sec__field-label { font-size: 13px; font-weight: 600; color: var(--cs-muted, #56606d); }
.cs-sec__select { position: relative; display: flex; align-items: center; }
.cs-sec__select-icon { position: absolute; left: 12px; color: var(--cs-brand-text, inherit); pointer-events: none; }
.cs-sec__select-chev { position: absolute; right: 12px; pointer-events: none; }
.cs-sec__select-input { -webkit-appearance: none; appearance: none; width: 100%; height: 52px; border: 1px solid var(--cs-line, #e2ddd5); border-radius: var(--cs-radius-sm, 8px); background: var(--cs-surface, #fff); color: var(--cs-ink, inherit); padding: 0 36px 0 42px; font: inherit; font-size: 16px; font-weight: 600; text-overflow: ellipsis; }
.cs-sec__select-input:focus-visible { outline: 2px solid var(--cs-brand, #0b3055); outline-offset: 1px; }

/* B2B-hero */
.cs-sec--hero-b2b { background: var(--cs-ground, transparent); border-bottom: 1px solid var(--cs-line, #e2ddd5); padding: 48px 0; }
.cs-sec--hero-b2b .cs-sec__hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cs-sec--hero-b2b .cs-sec__hero-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; }
.cs-sec--hero-b2b .cs-sec__lead { margin: 18px 0 24px; font-size: 18px; max-width: 600px; }
.cs-sec__card { background: var(--cs-surface, #fff); border: 1px solid var(--cs-line, #e2ddd5); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cs-sec__card-title { font-size: 22px; }
.cs-sec__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-sec__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cs-sec__check .cs-sec__icon { color: var(--cs-brand-text, inherit); margin-top: 2px; }
.cs-sec__card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cs-sec__quickorder:empty { display: none; }

/* ---------------------------------------------------------------- tegels aan de rail */
.cs-sec--tiles { padding: 48px 0 56px; }
.cs-sec__rail-row { margin-top: 8px; }
.cs-sec__rail-row:first-of-type { margin-top: 0; }
.cs-sec__rail { height: 8px; border-radius: 4px; background: linear-gradient(var(--cs-sec-rail-a), var(--cs-sec-rail-b)); box-shadow: 0 1px 0 #aeb5bc; }
.cs-sec__tiles { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0 8px; }
.cs-sec__tile { min-width: 0; }
.cs-sec__tile-link { display: flex; flex-direction: column; min-width: 0; }
.cs-sec__wire { display: flex; justify-content: space-between; padding: 0 28%; height: 26px; }
.cs-sec__wire span { width: 1.5px; background: var(--cs-sec-wire); }
.cs-sec__tile-card { display: block; background: var(--cs-surface, #fff); border-radius: var(--cs-radius, 10px); overflow: hidden; border: 1px solid var(--cs-line, #e2ddd5); transition: transform .2s, box-shadow .2s; transform-origin: top center; }
.cs-sec__tile-link:hover .cs-sec__tile-card, .cs-sec__tile-link:focus-visible .cs-sec__tile-card { transform: rotate(-0.6deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.cs-sec__tile-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-sec__tile-body { padding: 14px 16px 16px; display: flex; align-items: center; gap: 8px; }
.cs-sec__tile-text { flex-grow: 1; min-width: 0; }
.cs-sec__tile-title { display: block; font-size: 17px; line-height: 1.25; }
.cs-sec__tile-sub { display: block; font-size: 13px; color: var(--cs-muted, #56606d); margin-top: 3px; }
.cs-sec__tile-body .cs-sec__icon { color: var(--cs-brand-text, inherit); }

/* categoriekaarten (B2B) */
.cs-sec__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cs-sec__catcard { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; background: var(--cs-surface, #fff); border: 1px solid var(--cs-line, #e2ddd5); border-radius: var(--cs-radius, 10px); padding: 14px; transition: box-shadow .2s, border-color .2s; }
.cs-sec__catcard:hover { border-color: var(--cs-brand, #0b3055); box-shadow: 0 8px 22px rgba(20, 30, 20, .07); }
.cs-sec__catcard-img { width: 88px; height: 88px; object-fit: contain; }
.cs-sec__catcard-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cs-sec__catcard-title { font-weight: 700; font-size: 16px; line-height: 1.25; }
.cs-sec__catcard-count { color: var(--cs-muted, #56606d); font-size: 13px; }
.cs-sec__catcard-subs { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cs-sec__catcard-subs a { color: var(--cs-brand-text, inherit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cs-sec__catcard-subs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- waar hang je het aan */
.cs-sec--waar { padding: 0 0 56px; }
.cs-sec__waar { display: grid; grid-template-columns: 280px repeat(4, minmax(0, 1fr)); gap: 16px; align-items: center; }
.cs-sec__waar .cs-sec__title { font-size: 28px; }
.cs-sec__waar .cs-sec__subtitle { margin-top: 6px; font-size: 15px; }
.cs-sec__waar-item { display: flex; align-items: center; gap: 14px; background: var(--cs-surface, #fff); border: 1px solid var(--cs-line, #e2ddd5); border-radius: var(--cs-radius, 10px); padding: 10px; font-weight: 700; min-height: 44px; }
.cs-sec__waar-item:hover { border-color: var(--cs-brand, #0b3055); }
.cs-sec__waar-img { width: 64px; height: 64px; border-radius: 7px; object-fit: cover; }
.cs-sec__waar-label { flex-grow: 1; }
.cs-sec__waar-item .cs-sec__icon { color: var(--cs-brand-text, inherit); margin-right: 6px; }

/* ---------------------------------------------------------------- producten */
.cs-sec--products { padding: 64px 0; }
.cs-sec--products-band { background: var(--cs-soft, #e7eef5); }
.cs-sec__band { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: center; }
.cs-sec__band-text .cs-sec__text { font-size: 17px; margin: 14px 0 24px; }
.cs-sec__band-text .cs-sec__text p { margin: 0 0 14px; }
.cs-sec__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cs-sec__products > * { min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; }
.cs-sec__band .cs-sec__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-sec__products--1, .cs-sec__band .cs-sec__products--1 { grid-template-columns: minmax(0, 1fr); }
.cs-sec__band .cs-sec__products--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- USP */
.cs-sec--usp-bar { padding: 0; color: inherit; }
.cs-sec__usp { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; font-size: 13px; }
.cs-sec__usp { min-width: 0; overflow: hidden; }
.cs-sec__usp-item, .cs-sec__usp-link { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.cs-sec__usp-item span { overflow: hidden; text-overflow: ellipsis; }
.cs-sec--usp-grid { background: var(--cs-surface, #fff); }
.cs-sec--usp-grid .cs-sec__title { margin-bottom: 4px; }
.cs-sec__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cs-sec__fact { display: flex; gap: 14px; }
.cs-sec__fact-icon { width: 48px; height: 48px; border-radius: var(--cs-radius, 10px); background: var(--cs-soft, #e7eef5); color: var(--cs-brand-text, inherit); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-sec__fact-title { display: block; font-size: 17px; }
.cs-sec__fact-text { color: var(--cs-muted, #56606d); font-size: 15px; }

/* ---------------------------------------------------------------- tekst met beeld */
.cs-sec--textimage { padding: 64px 0 24px; }
.cs-sec__bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cs-sec__bands--1 { grid-template-columns: minmax(0, 1fr); }
.cs-sec__bands--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-sec__bandc { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--cs-radius-lg, 14px); overflow: hidden; border: 1px solid var(--cs-line, #e2ddd5); background: var(--cs-surface, #fff); }
.cs-sec__bands--1 .cs-sec__bandc { grid-template-columns: 1fr 1fr; }
.cs-sec--img-left .cs-sec__bandc-img { order: -1; }
.cs-sec__bandc--dark { background: var(--cs-ink, #14243b); color: var(--cs-surface, #fff); border-color: var(--cs-ink, #14243b); }
.cs-sec__bandc--soft { background: var(--cs-soft, #e7eef5); }
.cs-sec__bandc-body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.cs-sec__bandc-title { font-size: 28px; }
.cs-sec__bandc-sub, .cs-sec__bandc-text { margin: 0; opacity: .88; }
.cs-sec__bandc-text p { margin: 0 0 8px; }
.cs-sec__bandc-go { margin-top: auto; display: flex; align-items: center; gap: 6px; font-weight: 700; min-height: 44px; }
.cs-sec__bandc-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

/* ---------------------------------------------------------------- reviews en merken */
.cs-sec--reviews { padding: 24px 0 0; }
.cs-sec__reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; border-top: 1px solid var(--cs-line, #e2ddd5); padding-top: 32px; }
.cs-sec__stars { display: flex; gap: 3px; color: var(--cs-sec-star); }
.cs-sec__stars .cs-sec__icon { fill: currentColor; }
.cs-sec__score-line { font-size: 22px; font-weight: 700; margin: 6px 0 0; }
.cs-sec__score-src { color: var(--cs-muted, #56606d); font-size: 14px; margin: 0; }
.cs-sec__quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs-sec__quote { background: var(--cs-surface, #fff); border: 1px solid var(--cs-line, #e2ddd5); border-radius: var(--cs-radius, 10px); padding: 18px; }
.cs-sec__quote-text { margin: 0 0 8px; font-size: 15px; }
.cs-sec__quote-author { margin: 0; font-weight: 700; font-size: 14px; }
.cs-sec--brands { padding: 24px 0 40px; }
.cs-sec__brands-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; border-bottom: 1px solid var(--cs-line, #e2ddd5); padding-bottom: 32px; }
.cs-sec__brands-wrap > :only-child { grid-column: 1 / -1; }
.cs-sec--reviews + .cs-sec--brands .cs-sec__brands-wrap { border-top: 0; }
.cs-sec__brands { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cs-sec__brand { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--cs-font-head, inherit); font-size: 26px; font-weight: 700; color: var(--cs-muted, #8a9097); }
.cs-sec__brand:hover { color: var(--cs-ink, #14243b); }
.cs-sec__brand-img { max-height: 48px; width: auto; }

/* ---------------------------------------------------------------- SEO */
.cs-sec--seo { padding: 24px 0 72px; }
.cs-sec__seo > * { max-width: 860px; }
.cs-sec__seo .cs-sec__title { margin-bottom: 12px; }
.cs-sec__seo .cs-sec__text { color: var(--cs-muted, #56606d); line-height: 1.7; }
.cs-sec__seo .cs-sec__text p { margin: 0 0 10px; }
.cs-sec__expand { margin: 0; }
.cs-sec__expand-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; color: var(--cs-brand-text, inherit); cursor: pointer; list-style: none; }
.cs-sec__expand-toggle::-webkit-details-marker { display: none; }
.cs-sec__expand-toggle::marker { content: ''; }
.cs-sec__expand-close, .cs-sec__expand[open] .cs-sec__expand-open { display: none; }
.cs-sec__expand[open] .cs-sec__expand-close { display: inline; }
.cs-sec__expand[open] .cs-sec__expand-toggle .cs-sec__icon { transform: rotate(180deg); }

/* ---------------------------------------------------------------- overig */
.cs-sec--quickorder, .cs-sec--html { padding: 40px 0; }
.cs-sec--zone-category_bottom { padding: 40px 0; }
.cs-sec--zone-footer_before { padding: 40px 0; }

/* ---------------------------------------------------------------- responsief */
@media (max-width: 1199px) {
  .cs-sec__usp-item:nth-child(n+3) { display: none; }
  .cs-sec__hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  .cs-sec__wiz-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-sec__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-sec__waar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-sec__waar-intro { grid-column: 1 / -1; }
  .cs-sec__band { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cs-sec__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-sec__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-sec__bands, .cs-sec__bands--3 { grid-template-columns: minmax(0, 1fr); }
  .cs-sec__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cs-sec__usp-item:nth-child(n+2) { display: none; }
  .cs-sec__usp { justify-content: center; }
  .cs-sec__hero-grid, .cs-sec--hero-b2b .cs-sec__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cs-sec__hero-media { display: none; }
  .cs-sec__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-sec__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cs-sec { --cs-sec-gutter: 16px; --cs-sec-space: 32px; }
  .cs-sec__title { font-size: 24px; }
  .cs-sec__title--xl { font-size: 28px; }
  .cs-sec__head { margin-bottom: 14px; }
  .cs-sec--hero { padding: 20px 0 8px; }
  .cs-sec--hero-b2b { padding: 28px 0; }
  .cs-sec__lead { font-size: 16px; margin: 10px 0 16px; }
  .cs-sec__wiz { padding: 16px; box-shadow: none; }
  .cs-sec__wiz-title { font-size: 16px; }
  .cs-sec__wiz-foot { flex-direction: column; align-items: stretch; }
  .cs-sec__wiz-hint { display: none; }
  .cs-sec--tiles { padding: 24px 0 32px; }
  .cs-sec__tiles { gap: 12px; padding: 0; }
  .cs-sec__tile--desktop { display: none; }
  .cs-sec__wire { height: 18px; }
  .cs-sec__rail-row { margin-top: 8px; }
  .cs-sec__rail { display: none; }
  .cs-sec__tiles { row-gap: 8px; }
  .cs-sec__tile-link::before { content: ''; display: block; height: 6px; margin: 0 -6px; background: linear-gradient(var(--cs-sec-rail-a), var(--cs-sec-rail-b)); box-shadow: 0 1px 0 #aeb5bc; }
  .cs-sec__tile-img { aspect-ratio: 1 / 1; }
  .cs-sec__tile-body { padding: 10px 10px 12px; }
  .cs-sec__tile-title { font-size: 14px; }
  .cs-sec__tile-sub, .cs-sec__tile-body .cs-sec__icon { display: none; }
  .cs-sec--waar { padding-bottom: 32px; }
  .cs-sec__waar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cs-sec__waar .cs-sec__title { font-size: 24px; }
  .cs-sec__waar-img { width: 48px; height: 48px; }
  .cs-sec--products { padding: 32px 0; }
  .cs-sec__products, .cs-sec__band .cs-sec__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cs-sec__band .cs-sec__products { grid-template-columns: minmax(0, 1fr); }
  .cs-sec__facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cs-sec__fact-text { display: none; }
  .cs-sec__fact-icon { width: 40px; height: 40px; }
  .cs-sec--textimage { padding: 32px 0 8px; }
  .cs-sec__bandc, .cs-sec__bands--1 .cs-sec__bandc { grid-template-columns: minmax(0, 1fr); }
  .cs-sec__bandc-img { min-height: 160px; max-height: 200px; order: -1; }
  .cs-sec__bandc-body { padding: 22px; }
  .cs-sec__bandc-title { font-size: 22px; }
  .cs-sec__reviews, .cs-sec__brands-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cs-sec__quotes { grid-template-columns: minmax(0, 1fr); }
  .cs-sec__brand { font-size: 20px; }
  .cs-sec__cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cs-sec__catcard { grid-template-columns: 64px minmax(0, 1fr); padding: 12px; }
  .cs-sec__catcard-img { width: 64px; height: 64px; }
  .cs-sec--seo { padding: 16px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-sec__tile-card, .cs-sec__catcard { transition: none; }
  .cs-sec__tile-link:hover .cs-sec__tile-card { transform: none; }
}
