/* ============================================================
   DAC Diensten-hub — overzichtspagina's (/diensten, /installatie,
   /service-en-onderhoud). Licht/donker-ritme: donkere hero →
   witte kaarten → lichtgrijze waarom → donkere CTA.
   ============================================================ */

.dac-hub { display: block; }

.dac-hub__eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin-bottom: 1.25rem; }
.dac-hub__eyebrow-line { width: 2.5rem; height: 2px; background: var(--dac-geel); display: inline-block; }
.dac-hub__eyebrow-line--short { width: 1.75rem; }
.dac-hub__eyebrow-text { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--dac-gold); }

/* ── HERO ──────────────────────────────────────────────── */
.dac-hub__hero {
	position: relative;
	background: var(--dac-zwart);
	color: #fff;
	padding: calc(var(--dac-hh) + 4.5rem) 0 4.5rem;
	overflow: hidden;
}
.dac-hub__grid-bg {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 0%, #000 40%, transparent 100%);
	        mask-image: radial-gradient(ellipse 80% 60% at 30% 0%, #000 40%, transparent 100%);
	pointer-events: none;
}
.dac-hub__hero-inner { position: relative; }
.dac-hub__hero .dac-hub__eyebrow-text { color: var(--dac-geel); }

.dac-hub__crumb { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: rgba(255,255,255,.55); margin-bottom: 2rem; flex-wrap: wrap; }
.dac-hub__crumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.dac-hub__crumb a:hover { color: var(--dac-geel); }
.dac-hub__crumb svg { width: 14px; height: 14px; opacity: .5; }
.dac-hub__crumb-cur { color: var(--dac-geel); font-weight: 600; }

.dac-hub__h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.25rem; max-width: 16ch; }
.dac-hub__h1 span { color: var(--dac-geel); }
.dac-hub__lead { font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.6; color: rgba(255,255,255,.72); max-width: 60ch; margin: 0 0 2rem; }

.dac-hub__hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.dac-hub__btn-geel,
.dac-hub__btn-outline { display: inline-flex; align-items: center; gap: .625rem; font-weight: 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; padding: 1rem 2rem; border-radius: 0; text-decoration: none; transition: transform .15s, background .15s, color .15s; }
.dac-hub__btn-geel { background: var(--dac-geel); color: var(--dac-zwart); }
.dac-hub__btn-geel:hover { background: #fff; transform: translateY(-1px); }
.dac-hub__btn-geel svg { width: 18px; height: 18px; }
.dac-hub__btn-outline { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.dac-hub__btn-outline:hover { border-color: var(--dac-geel); color: var(--dac-geel); }
.dac-hub__btn-outline svg { width: 18px; height: 18px; }

/* ── KAARTEN ──────────────────────────────────────────── */
.dac-hub__cards-sec { background: var(--dac-bg); padding: 4.5rem 0; }
.dac-hub__cards { display: grid; gap: 1.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dac-hub__cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }

.dac-hub__card {
	display: flex; flex-direction: column;
	background: var(--dac-surface);
	border: 1px solid var(--dac-line);
	border-radius: 1rem; overflow: hidden;
	text-decoration: none; color: inherit;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dac-hub__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(30,33,36,.28); border-color: var(--dac-geel); }

.dac-hub__card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dac-hub__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dac-hub__card:hover .dac-hub__card-media img { transform: scale(1.05); }
.dac-hub__card-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,33,36,.55), transparent 55%); }
.dac-hub__card-num { position: absolute; top: 1rem; left: 1rem; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; color: var(--dac-geel); background: rgba(30,33,36,.5); padding: .25rem .625rem; border-radius: 999px; }

.dac-hub__card-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; flex: 1; }
.dac-hub__card-top { display: flex; align-items: flex-start; gap: .875rem; }
.dac-hub__card-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: .75rem; display: grid; place-items: center; background: rgba(242,217,24,.16); color: var(--dac-gold); }
.dac-hub__card-icon svg { width: 22px; height: 22px; }
.dac-hub__card-titles { display: flex; flex-direction: column; gap: .1875rem; }
.dac-hub__card-title { font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--dac-tekst); }
.dac-hub__card-sub { font-size: .875rem; color: var(--dac-tekst-mut); font-weight: 500; }
.dac-hub__card-desc { font-size: .9375rem; line-height: 1.6; color: var(--dac-ink); margin: 0; }

.dac-hub__card-feats { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.dac-hub__feat { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--dac-tekst); font-weight: 500; }
.dac-hub__feat svg { width: 17px; height: 17px; color: var(--dac-gold); flex-shrink: 0; }

.dac-hub__card-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; color: var(--dac-tekst); padding-top: .25rem; }
.dac-hub__card-more svg { width: 18px; height: 18px; transition: transform .2s; }
.dac-hub__card:hover .dac-hub__card-more { color: var(--dac-gold); }
.dac-hub__card:hover .dac-hub__card-more svg { transform: translateX(4px); }

/* ── WAAROM ───────────────────────────────────────────── */
.dac-hub__why { background: var(--dac-grey); padding: 4.5rem 0; }
.dac-hub__h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 0 0 2.5rem; color: var(--dac-tekst); }
.dac-hub__h2 span { color: var(--dac-gold); }
.dac-hub__why-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dac-hub__why-item { background: var(--dac-surface); border: 1px solid var(--dac-line); border-radius: 1rem; padding: 1.75rem; }
.dac-hub__why-icon { width: 3rem; height: 3rem; border-radius: .75rem; display: grid; place-items: center; background: rgba(242,217,24,.16); color: var(--dac-gold); margin-bottom: 1.25rem; }
.dac-hub__why-icon svg { width: 24px; height: 24px; }
.dac-hub__why-h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 .5rem; color: var(--dac-tekst); }
.dac-hub__why-desc { font-size: .9375rem; line-height: 1.6; color: var(--dac-ink); margin: 0; }

/* ── CTA ──────────────────────────────────────────────── */
.dac-hub__cta { background: var(--dac-bg); padding: 0 0 4.5rem; }
.dac-hub__cta-box { position: relative; background: var(--dac-zwart); border-radius: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.dac-hub__cta-glow { position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(242,217,24,.18), transparent 70%); pointer-events: none; }
.dac-hub__cta-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.dac-hub__cta .dac-hub__eyebrow-text { color: var(--dac-geel); }
.dac-hub__cta-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; color: #fff; }
.dac-hub__cta-title span { color: var(--dac-geel); }
.dac-hub__cta-text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; max-width: 52ch; }
.dac-hub__cta-btns { display: flex; flex-direction: column; gap: 1rem; }
.dac-hub__cta-btn-geel,
.dac-hub__cta-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; font-weight: 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; padding: 1rem 2rem; border-radius: 0; text-decoration: none; transition: transform .15s, background .15s, color .15s; }
.dac-hub__cta-btn-geel { background: var(--dac-geel); color: var(--dac-zwart); }
.dac-hub__cta-btn-geel:hover { background: #fff; transform: translateY(-1px); }
.dac-hub__cta-btn-geel svg { width: 18px; height: 18px; }
.dac-hub__cta-btn-outline { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.dac-hub__cta-btn-outline:hover { border-color: var(--dac-geel); color: var(--dac-geel); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 980px) {
	.dac-hub__cards,
	.dac-hub__cards[data-count="2"] { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
	.dac-hub__why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dac-hub__cta-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 560px) {
	.dac-hub__why-grid { grid-template-columns: minmax(0, 1fr); }
	.dac-hub__hero { padding-top: calc(var(--dac-hh-mob) + 3rem); }
	.dac-hub__hero-cta { flex-direction: column; align-items: stretch; }
	.dac-hub__btn-geel, .dac-hub__btn-outline { justify-content: center; }
}
