/* DHZ Jansen Cases – frontend */

.dhzc {
	/* Huisstijl jansen-dhz.be */
	--dhzc-accent: #FFE900;
	--dhzc-dark: #3A3A3C;
	--dhzc-ink: #111111;
	--dhzc-text: #334155;
	--dhzc-muted: #6B6B6E;
	--dhzc-soft: #F2F2F2;
	--dhzc-line: #E2E2E2;
	--dhzc-max: 1240px;
	--dhzc-gap: clamp(48px, 7vw, 96px);
	--dhzc-btn-font: "Poppins", "Roboto", system-ui, sans-serif;
	color: var(--dhzc-text);
	font-size: 16px;
	line-height: 1.65;
	width: 100%;
	flex: 1 1 100%;
	min-width: 0;
}

body.dhzc-page {
	overflow-x: clip;
}

.dhzc *,
.dhzc *::before,
.dhzc *::after {
	box-sizing: border-box;
}

.dhzc h1,
.dhzc h2,
.dhzc h3 {
	color: var(--dhzc-ink);
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 .6em;
	letter-spacing: 0;
	text-transform: none;
}

.dhzc h2 {
	font-size: 28px;
}

.dhzc p {
	margin: 0 0 1em;
}

.dhzc p:last-child {
	margin-bottom: 0;
}

.dhzc mark {
	background: none;
	color: var(--dhzc-accent);
	font-weight: 700;
}

.dhzc img {
	display: block;
	max-width: 100%;
	height: auto;
}

.dhzc-wrap {
	width: 100%;
	max-width: calc(var(--dhzc-max) + 40px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.dhzc-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.dhzc-block {
	margin-top: var(--dhzc-gap);
}

/* Labels & kicker */
.dhzc-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--dhzc-ink);
	margin: 0 0 14px;
}

.dhzc-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 22px;
}

.dhzc-kicker--dark {
	color: var(--dhzc-ink);
	font-size: 12px;
	margin-bottom: 10px;
}

/* Kruimelpad */
.dhzc-crumbs {
	margin: 0 0 28px;
	font-size: 13px;
	line-height: 1.4;
}

.dhzc-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dhzc-crumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	color: rgba(255, 255, 255, .7);
}

.dhzc-crumbs li + li::before {
	content: "›";
	margin: 0 10px;
	color: rgba(255, 255, 255, .45);
}

.dhzc-crumbs a {
	color: rgba(255, 255, 255, .85) !important;
	text-decoration: none !important;
	transition: color .15s ease;
}

.dhzc-crumbs a:hover,
.dhzc-crumbs a:focus-visible {
	color: var(--dhzc-accent) !important;
}

.dhzc-crumbs [aria-current] {
	color: #fff;
	font-weight: 500;
}

/* Buttons */
.dhzc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	font-family: var(--dhzc-btn-font);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none !important;
	border-radius: 0;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	white-space: nowrap;
}

.dhzc-btn:hover,
.dhzc-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.dhzc-btn--accent {
	background: var(--dhzc-accent);
	color: #000 !important;
}

.dhzc-btn--black {
	background: #000;
	color: #fff !important;
}

/* Hero */
.dhzc-hero {
	position: relative;
	background: var(--dhzc-dark);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.dhzc-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	z-index: -2;
}

.dhzc-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--dhzc-dark) 0%, color-mix(in srgb, var(--dhzc-dark) 88%, transparent) 45%, color-mix(in srgb, var(--dhzc-dark) 35%, transparent) 100%);
}

.dhzc-hero__inner {
	padding-top: clamp(64px, 9vw, 120px);
	padding-bottom: clamp(64px, 9vw, 120px);
}

.dhzc-hero__title {
	color: #fff !important;
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 400;
	line-height: 1.3;
	max-width: 820px;
	margin: 0 0 28px;
}

.dhzc-hero__highlight {
	display: block;
	color: var(--dhzc-accent);
}

.dhzc-hero--small .dhzc-hero__inner {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
}

.dhzc-hero__intro {
	max-width: 640px;
	font-size: 18px;
	color: rgba(255, 255, 255, .85);
}

.dhzc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dhzc-tags li,
.dhzc-tags span {
	border: 1px solid rgba(255, 255, 255, .55);
	padding: 6px 13px;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}

.dhzc-tags--light span {
	border-color: var(--dhzc-line);
	color: var(--dhzc-text);
	font-size: 13px;
	padding: 3px 10px;
}

/* Intro */
.dhzc-intro {
	display: grid;
	gap: 48px;
	margin-top: var(--dhzc-gap);
}

.dhzc-intro.has-video {
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.dhzc-lead {
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.6;
	color: var(--dhzc-ink);
	margin-bottom: 1em;
}

.dhzc-intro__text > .dhzc-quote {
	margin-top: 40px;
}

.dhzc-intro__video {
	position: sticky;
	top: 120px;
}

/* Video */
.dhzc-video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #111827;
	color: #fff;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(15, 23, 42, .22);
	text-align: left;
}

.dhzc-video--horizontal {
	aspect-ratio: 16 / 9;
}

.dhzc-video:hover,
.dhzc-video:focus {
	background: #111827;
}

.dhzc-video__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .4s ease;
}

.dhzc-video:hover .dhzc-video__thumb {
	transform: scale(1.03);
}

.dhzc-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	margin: -40px 0 0 -40px;
	border-radius: 50%;
	background: var(--dhzc-accent);
	color: #000;
	display: grid;
	place-items: center;
	transition: transform .2s ease;
}

.dhzc-video:hover .dhzc-video__play,
.dhzc-video:focus-visible .dhzc-video__play {
	transform: scale(1.08);
}

.dhzc-video__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 60px 22px 22px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .85));
	display: grid;
	gap: 4px;
}

.dhzc-video__caption strong {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.dhzc-video__caption span {
	font-size: 13px;
	color: rgba(255, 255, 255, .85);
}

.dhzc-video.is-playing iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Citaten */
.dhzc-quote {
	margin: 0;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
}

.dhzc-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: normal;
	quotes: none;
}

.dhzc-quote blockquote::before,
.dhzc-quote blockquote::after {
	content: none;
}

.dhzc-quote blockquote p {
	margin: 0;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.45;
	font-weight: 400;
	color: inherit;
}

.dhzc-quote figcaption {
	margin-top: 18px;
	font-size: 15px;
	font-weight: 600;
}

.dhzc-quote__mark {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 76px;
	line-height: .8;
	height: 40px;
	font-weight: 700;
}

.dhzc-quote--yellow {
	background: var(--dhzc-accent);
	color: var(--dhzc-ink);
}

.dhzc-quote--yellow mark {
	color: inherit;
	text-decoration: underline;
}

.dhzc-quote--light {
	background: var(--dhzc-soft);
	color: var(--dhzc-ink);
	border-top: 5px solid var(--dhzc-accent);
	border-image: linear-gradient(90deg, var(--dhzc-accent) 70px, transparent 70px) 1;
}

.dhzc-quote--dark {
	background: var(--dhzc-dark);
	color: #fff;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(16px, 3vw, 40px);
	padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 110px);
}

.dhzc-quote--dark .dhzc-quote__mark {
	color: var(--dhzc-accent);
	font-size: 110px;
	height: auto;
	line-height: .9;
}

.dhzc-quote--dark blockquote p {
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 300;
	color: #fff;
}

.dhzc-quote--dark figcaption {
	color: rgba(255, 255, 255, .8);
}

/* Genummerde secties */
.dhzc-section {
	margin-top: var(--dhzc-gap);
}

.dhzc-section__nr {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--dhzc-ink);
	margin-bottom: 14px;
}

.dhzc-section__text h2 {
	margin-bottom: .7em;
}

.dhzc-section--box .dhzc-section__text {
	background: var(--dhzc-soft);
	padding: clamp(32px, 6vw, 72px) clamp(24px, 7vw, 84px);
}

.dhzc-section--image {
	display: grid;
	grid-template-columns: 55fr 45fr;
}

.dhzc-section--image .dhzc-section__text {
	background: var(--dhzc-soft);
	padding: clamp(32px, 6vw, 84px) clamp(24px, 7vw, 84px);
}

.dhzc-section--image + .dhzc-block {
	margin-top: 40px;
}

.dhzc-section__media,
.dhzc-section__media .dhzc-img {
	height: 100%;
}

.dhzc-section__media img {
	width: 100%;
	height: 100% !important;
	min-height: 320px;
	object-fit: cover;
}

.dhzc-section--quote {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

/* Opsomming in tegels */
.dhzc-list__intro {
	max-width: 780px;
	font-size: 18px;
	color: var(--dhzc-ink);
	margin-bottom: 28px;
}

.dhzc-tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	background: var(--dhzc-line);
	border: 1px solid var(--dhzc-line);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dhzc-tiles li {
	position: relative;
	background: #fff;
	margin: 0;
	padding: 24px 20px 24px 42px;
	font-weight: 400;
	color: var(--dhzc-ink);
	line-height: 1.45;
}

.dhzc-tiles li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 31px;
	width: 10px;
	height: 10px;
	background: var(--dhzc-accent);
}

/* Afbeeldingen */
.dhzc-img {
	display: block;
	overflow: hidden;
	background: var(--dhzc-line);
}

.dhzc-img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .5s ease;
}

.dhzc-img:hover img {
	transform: scale(1.03);
}

.dhzc-images {
	display: grid;
	gap: 16px;
}

.dhzc-images .dhzc-img {
	aspect-ratio: 4 / 3;
}

.dhzc-images--1 .dhzc-img {
	aspect-ratio: 16 / 7;
}

.dhzc-images--2 {
	grid-template-columns: 2fr 1fr;
}

.dhzc-images--2 .dhzc-img {
	aspect-ratio: auto;
	height: clamp(240px, 26vw, 360px);
}

.dhzc-images--3 {
	grid-template-columns: 2fr 1fr;
	grid-auto-rows: clamp(160px, 15vw, 220px);
}

.dhzc-images--3 .dhzc-img {
	aspect-ratio: auto;
}

.dhzc-images--3 .dhzc-img:first-child {
	grid-row: span 2;
}

.dhzc-images--4 {
	grid-template-columns: repeat(3, 1fr);
}

/* Resultaat */
.dhzc-result {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: clamp(24px, 5vw, 64px);
}

.dhzc-images + .dhzc-result {
	margin-top: 40px;
}

.dhzc-result h2 {
	font-size: 28px;
}

.dhzc-result__text {
	font-size: 18px;
	line-height: 1.6;
	color: var(--dhzc-text);
}

/* Fotocarrousel */
.dhzc-gallery {
	margin-top: 40px;
}

.dhzc-gallery h2 {
	margin-bottom: 20px;
}

.dhzc-gallery__viewport {
	position: relative;
}

.dhzc-gallery__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 32px) / 3);
	column-gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	outline: none;
}

.dhzc-gallery__track::-webkit-scrollbar {
	display: none;
}

.dhzc-gallery__track:focus-visible {
	box-shadow: 0 0 0 3px var(--dhzc-accent);
}

.dhzc-gallery__slide {
	margin: 0;
	scroll-snap-align: start;
}

.dhzc-gallery__slide .dhzc-img {
	aspect-ratio: 4 / 3;
}

.dhzc-gallery__nav {
	position: absolute;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	display: grid;
	place-items: center;
	background: var(--dhzc-accent);
	color: #000;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	transition: opacity .15s ease;
}

.dhzc-gallery__nav:hover,
.dhzc-gallery__nav:focus {
	background: var(--dhzc-accent);
	color: #000;
}

.dhzc-gallery__nav--prev {
	left: -12px;
}

.dhzc-gallery__nav--next {
	right: -12px;
}

.dhzc-gallery__nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.dhzc-gallery__count {
	margin: 12px 0 0;
	text-align: right;
	font-size: 14px;
	color: var(--dhzc-muted);
	font-variant-numeric: tabular-nums;
}

/* Vrije tekst */
.dhzc-text {
	max-width: calc(860px + 40px);
	margin-left: 0;
}

/* Call-to-action */
.dhzc-cta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px 48px;
	align-items: center;
	border: 1px solid var(--dhzc-line);
	border-left: 6px solid var(--dhzc-accent);
	background: #fff;
	padding: clamp(28px, 5vw, 60px) clamp(24px, 6vw, 78px);
}

.dhzc-cta h2 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: .4em;
}

/* Reviews */
.dhzc-reviews__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 32px;
}

.dhzc-reviews__head h2 {
	margin: 0;
}

.dhzc-score {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--dhzc-soft);
	padding: 12px 20px;
	text-decoration: none !important;
	color: var(--dhzc-muted) !important;
	font-size: 13px;
	line-height: 1.4;
}

.dhzc-score strong {
	font-size: 36px;
	color: var(--dhzc-ink);
	font-weight: 400;
}

.dhzc-score > span {
	display: grid;
}

.dhzc-stars {
	display: inline-flex;
	gap: 2px;
	color: #D9DBE0;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1;
}

.dhzc-stars .on {
	color: #F2B01E;
}

.dhzc-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.dhzc-review {
	border: 1px solid var(--dhzc-line);
	padding: 28px;
	display: grid;
	gap: 14px;
	align-content: start;
}

.dhzc-review header {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.3;
}

.dhzc-review header img,
.dhzc-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: none;
}

.dhzc-avatar {
	display: grid;
	place-items: center;
	font-weight: 700;
	background: var(--dhzc-dark);
	color: #fff;
}

.dhzc-avatar--1 {
	background: var(--dhzc-accent);
	color: #000;
}

.dhzc-avatar--2 {
	background: #8A8A8D;
}

.dhzc-review header strong {
	display: block;
	color: var(--dhzc-ink);
}

.dhzc-review header span {
	font-size: 13px;
	color: var(--dhzc-muted);
}

.dhzc-review p {
	margin: 0;
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Knop alle cases */
.dhzc-all {
	margin-top: 56px;
	text-align: center;
}

/* Contactformulier */
.dhzc-form {
	margin-top: var(--dhzc-gap);
	margin-bottom: var(--dhzc-gap);
	scroll-margin-top: 120px;
}

.dhzc-form__inner {
	background: var(--dhzc-accent);
	padding: clamp(28px, 4vw, 48px);
	color: var(--dhzc-dark);
}

.dhzc-form h2 {
	font-size: 28px;
	font-weight: 500;
	color: var(--dhzc-dark);
	margin-bottom: .4em;
}

.dhzc-form__intro {
	margin-bottom: 24px;
	color: var(--dhzc-dark);
}

/* Overzicht */
.dhzc-archive {
	margin-top: 56px;
}

.dhzc-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 36px;
}

.dhzc-filter a {
	padding: 8px 18px;
	border: 1px solid var(--dhzc-line);
	color: var(--dhzc-ink);
	text-decoration: none !important;
	font-family: var(--dhzc-btn-font);
	font-size: 14px;
	font-weight: 500;
}

.dhzc-filter a:hover,
.dhzc-filter a[aria-current] {
	background: var(--dhzc-accent);
	border-color: var(--dhzc-accent);
	color: #000;
}

.dhzc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.dhzc-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--dhzc-line);
	background: #fff;
	color: var(--dhzc-text) !important;
	text-decoration: none !important;
	transition: box-shadow .2s ease, transform .2s ease;
}

.dhzc-card a:hover,
.dhzc-card a:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.dhzc-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--dhzc-dark);
	overflow: hidden;
}

.dhzc-card__media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.dhzc-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	flex: 1;
}

.dhzc-card__body .dhzc-kicker {
	margin: 0;
}

.dhzc-card h3 {
	font-size: 22px;
	margin: 0;
}

.dhzc-card p {
	margin: 0;
	font-size: 15px;
}

.dhzc-card .dhzc-tags {
	margin-top: 2px;
}

.dhzc-card__more {
	margin-top: auto;
	padding-top: 8px;
	font-family: var(--dhzc-btn-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--dhzc-ink);
}

.dhzc-pagination {
	margin-top: 40px;
	text-align: center;
}

.dhzc-empty {
	padding: 40px 0;
}

.dhzc--embed .dhzc-all {
	margin-top: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
	.dhzc-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dhzc-gallery__track {
		grid-auto-columns: calc((100% - 16px) / 2);
	}

	.dhzc-grid,
	.dhzc-reviews__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dhzc-intro.has-video {
		grid-template-columns: minmax(0, 1fr) 260px;
	}
}

@media (max-width: 782px) {
	.dhzc-intro.has-video,
	.dhzc-section--image,
	.dhzc-section--quote,
	.dhzc-result,
	.dhzc-cta {
		grid-template-columns: 1fr;
	}

	.dhzc-intro__video {
		position: static;
		max-width: 340px;
	}

	.dhzc-section__media img {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.dhzc-grid,
	.dhzc-reviews__grid {
		grid-template-columns: 1fr;
	}

	.dhzc-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dhzc-tiles li {
		padding: 16px 12px 16px 32px;
		font-size: 15px;
	}

	.dhzc-tiles li::before {
		left: 12px;
		top: 23px;
	}

	.dhzc-images--2,
	.dhzc-images--3,
	.dhzc-images--4 {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.dhzc-images .dhzc-img,
	.dhzc-images--2 .dhzc-img,
	.dhzc-images--3 .dhzc-img {
		aspect-ratio: 4 / 3;
		height: auto;
		grid-row: auto !important;
	}

	.dhzc-quote--dark {
		grid-template-columns: 1fr;
	}

	.dhzc-gallery__track {
		grid-auto-columns: 85%;
		column-gap: 12px;
	}

	.dhzc-gallery__nav {
		display: none;
	}

	.dhzc-quote--dark .dhzc-quote__mark {
		font-size: 80px;
		height: 44px;
	}

	.dhzc-btn {
		white-space: normal;
	}
}

@media (max-width: 340px) {
	.dhzc-tiles {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dhzc * {
		transition: none !important;
	}
}
