.wke-hero,
.wke-hero * { box-sizing: border-box; }

.wke-hero {
	--accent: #b91416;
	--accent-soft: #e04446;
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #0e0c09;
	font-family: 'Outfit', sans-serif;
}

.wke-hero .wkh-track {
	position: relative;
	width: 100%;
	height: 560px;
}

.wke-hero .wkh-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity .6s ease;
}
.wke-hero .wkh-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}
/* Niet-actieve slides: media echt verbergen zodat een video nooit
   door de actieve foto/slide heen kan "lekken". */
.wke-hero .wkh-slide:not(.is-active) .wkh-video,
.wke-hero .wkh-slide:not(.is-active) .wkh-img {
	visibility: hidden;
}

.wke-hero .wkh-img {
	position: absolute;
	inset: 0;
	background-color: transparent;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
/* per-slide passing: cover (vullend) of contain (volledig zichtbaar) */
.wke-hero .wkh-fit-cover .wkh-img   { background-size: cover; }
.wke-hero .wkh-fit-contain .wkh-img { background-size: contain; }
.wke-hero .wkh-fit-cover .wkh-video   { object-fit: cover; }
.wke-hero .wkh-fit-contain .wkh-video { object-fit: contain; }

/* zoom-animatie ALLEEN als de slide de class wkh-zoom heeft (standaard uit) */
.wke-hero .wkh-slide.wkh-zoom.is-active .wkh-img { animation: wkeHeroZoom 7s ease forwards; }
@keyframes wkeHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.wke-hero .wkh-img-mobiel { display: none; }
.wke-hero .wkh-img-desktop { display: block; }

/* ---------------- VIDEO-SLIDE ---------------- */
.wke-hero .wkh-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #111;
	display: block;
}
.wke-hero .wkh-video-mobiel { display: none; }
.wke-hero .wkh-video-desktop { display: block; }

/* geluidsknop rechtsboven (positie/grootte instelbaar via controls) */
.wke-hero .wkh-sound {
	position: absolute;
	right: 22px;
	top: 22px;
	z-index: 7;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.35);
	background: rgba(10,8,5,.45);
	backdrop-filter: blur(4px);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .25s ease, border-color .25s ease, transform .2s ease, opacity .3s ease;
	-webkit-tap-highlight-color: transparent;
}
.wke-hero .wkh-sound:hover { background: var(--accent); border-color: var(--accent); }
.wke-hero .wkh-sound svg { width: 46%; height: 46%; display: block; }
.wke-hero .wkh-sound .wkh-sound-on { display: none; }
.wke-hero .wkh-sound.is-on .wkh-sound-off { display: none; }
.wke-hero .wkh-sound.is-on .wkh-sound-on { display: block; }

.wke-hero .wkh-grad {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,8,5,.84) 0%, rgba(10,8,5,.5) 46%, rgba(10,8,5,0) 76%);
}

/* ---------------- CONTENT ---------------- */
.wke-hero .wkh-content {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 7% 0 8.5%;
	max-width: 660px;
	--align: left;
}
/* center / right uitlijning */
.wke-hero .wkh-content[style*="center"] { align-items: center; max-width: 820px; margin: 0 auto; }
.wke-hero .wkh-content[style*="right"]  { align-items: flex-end; margin-left: auto; }

/* Reveal-animatie.
   De kern hiervan staat al in de kritische inline-CSS (wkeHeroRevCrit), zodat
   de tekst ook zonder dit externe bestand netjes verschijnt. Hieronder alleen
   de nette timing voor nieuwe slides tijdens het wisselen. */
.wke-hero .wkh-rev { opacity: 0; transform: translateY(20px); }
.wke-hero .wkh-slide.is-active .wkh-rev { animation: wkeHeroRev .6s ease forwards; }
.wke-hero .wkh-slide.is-active .wkh-reviews    { animation-delay: .05s; }
.wke-hero .wkh-slide.is-active .wkh-label      { animation-delay: .16s; }
.wke-hero .wkh-slide.is-active .wkh-head       { animation-delay: .28s; }
.wke-hero .wkh-slide.is-active .wkh-text       { animation-delay: .4s; }
.wke-hero .wkh-slide.is-active .wkh-button-wrap{ animation-delay: .52s; }
.wke-hero .wkh-slide.is-active .wkh-bottom     { animation-delay: .62s; }
@keyframes wkeHeroRev { to { opacity: 1; transform: translateY(0); } }

.wke-hero .wkh-arrow,
.wke-hero .wkh-dots,
.wke-hero .wkh-sound { opacity: 1; }

/* ---------------- REVIEWS ---------------- */
.wke-hero .wkh-reviews {
	--green: #00B67A;
	--empty: rgba(255,255,255,.28);
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.wke-hero .wkh-content[style*="center"] .wkh-reviews { justify-content: center; }
.wke-hero .wkh-content[style*="right"]  .wkh-reviews { justify-content: flex-end; }
.wke-hero .wkh-stars { --star: 20px; display: inline-flex; gap: 3px; line-height: 0; }
.wke-hero .wkh-star {
	position: relative;
	width: var(--star);
	height: var(--star);
	background: var(--empty);
	border-radius: 0;
	display: inline-block;
	overflow: hidden;
}
.wke-hero .wkh-star::before {
	content: "";
	position: absolute;
	inset: 0;
	width: var(--fill, 100%);
	background: var(--green);
}
.wke-hero .wkh-star svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	fill: #fff;
	padding: 13%;
}
.wke-hero .wkh-reviews-text {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	color: rgba(255,255,255,.92);
}

/* ---------------- LABEL ---------------- */
.wke-hero .wkh-label {
	font-size: 12px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--accent-soft);
}

/* ---------------- HEADING ----------------
   Geen vaste grootte meer: typografie-control bepaalt font/grootte.
   Onderstaande zijn alleen 'defaults' als je niets instelt.        */
.wke-hero .wkh-head {
	font-family: 'Outfit', sans-serif;
	margin: 0;
	font-size: 72px;
	line-height: .92;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.wke-hero .wkh-head-accent { color: var(--accent-soft); }

/* ---------------- SUBTEKST ---------------- */
.wke-hero .wkh-text {
	margin: 20px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,.82);
	max-width: 430px;
}
.wke-hero .wkh-content[style*="center"] .wkh-text { margin-left: auto; margin-right: auto; }
.wke-hero .wkh-content[style*="right"]  .wkh-text { margin-left: auto; }

/* ---------------- KNOP ---------------- */
.wke-hero .wkh-button-wrap {
	margin-top: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.wke-hero .wkh-content[style*="center"] .wkh-button-wrap { justify-content: center; }
.wke-hero .wkh-content[style*="right"]  .wkh-button-wrap { justify-content: flex-end; }

.wke-hero .wkh-button {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 15px 32px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	font-size: 12px;
	font-weight: 600;
	border: 0 solid transparent;
	border-radius: 2px;
	transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
/* standaardkleuren (worden overschreven door de controls) */
.wke-hero .wkh-button--1 { background: var(--accent); color: #fff; }
.wke-hero .wkh-button--2 { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); }
.wke-hero .wkh-button:hover { transform: translateY(-2px); }
.wke-hero .wkh-btn-arrow { transition: transform .25s ease; }
.wke-hero .wkh-button:hover .wkh-btn-arrow { transform: translateX(3px); }

/* ---------------- ONDERREGEL ---------------- */
.wke-hero .wkh-bottom {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(255,255,255,.75);
}
.wke-hero .wkh-content[style*="center"] .wkh-bottom { justify-content: center; }
.wke-hero .wkh-content[style*="right"]  .wkh-bottom { justify-content: flex-end; }

/* ---------------- PIJLEN ---------------- */
.wke-hero .wkh-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
	background: rgba(20,17,12,.45);
	color: var(--accent-soft);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.wke-hero .wkh-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.wke-hero .wkh-prev { left: 24px; }
.wke-hero .wkh-next { right: 24px; }

/* ---------------- DOTS / VOORTGANG ---------------- */
.wke-hero .wkh-dots {
	position: absolute;
	left: 8.5%;
	bottom: 30px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 14px;
}
.wke-hero .wkh-dot {
	position: relative;
	height: 3px;
	width: 50px;
	border: none;
	padding: 0;
	background: rgba(255,255,255,.22);
	cursor: pointer;
	overflow: hidden;
	border-radius: 2px;
}
.wke-hero .wkh-fill {
	position: absolute;
	inset: 0;
	width: 0;
	background: var(--accent);
	border-radius: 2px;
}
.wke-hero .wkh-fill.run { animation: wkeHeroProg linear forwards; }
@keyframes wkeHeroProg { from { width: 0; } to { width: 100%; } }

/* ---------------- TABLET ---------------- */
@media (max-width: 1024px) {
	.wke-hero .wkh-content { padding: 0 6% 0 7%; }
}

/* ---------------- MOBIEL ---------------- */
@media (max-width: 749px) {
	.wke-hero .wkh-img-desktop { display: none; }
	.wke-hero .wkh-img-mobiel { display: block; }
	.wke-hero .wkh-video-desktop { display: none; }
	.wke-hero .wkh-video-mobiel { display: block; }

	/* Hoogte wordt bepaald door de actieve slide (voorkomt zwarte balk
	   onder de video als de content hoger is dan een vaste hoogte). */
	.wke-hero .wkh-track { height: auto; min-height: 620px; }
	.wke-hero .wkh-slide { height: auto; }
	.wke-hero .wkh-slide.is-active { position: relative; }

	.wke-hero .wkh-content {
		height: auto;
		min-height: 620px;
		padding: 150px 24px 110px;
		justify-content: flex-end;
		max-width: 100%;
	}
	.wke-hero .wkh-label { letter-spacing: 2px; }
	.wke-hero .wkh-text { margin-top: 14px; max-width: 100%; }
	.wke-hero .wkh-bottom { font-size: 10px; margin-top: 20px; flex-wrap: wrap; }

	.wke-hero .wkh-arrow { top: auto; bottom: 34px; transform: none; width: 38px; height: 38px; }
	.wke-hero .wkh-prev { left: auto; right: 70px; }
	.wke-hero .wkh-next { right: 24px; left: auto; }
	.wke-hero .wkh-arrow svg { width: 16px; height: 16px; }

	.wke-hero .wkh-dots { left: 24px; bottom: 44px; gap: 10px; }
	.wke-hero .wkh-dot { width: 34px; }
}
