/*
 * Banner bovenaan elke pagina (vervangt Slider Revolution).
 *
 * De oude slider schaalde een "podium" van 1200x615 px mee met het scherm.
 * Dat doen we hier met container queries: .hero-stage is altijd 1200:615
 * (of kleiner), en alles erin is in cqw (procent van de podiumbreedte) uitgedrukt.
 */
.hero {
	position: relative;
	overflow: hidden;
	height: 615px;
	background: #3d4a3f;
	container-type: size;
}
@media (max-width: 1199px) {
	.hero { height: 550px; }
}
@media (max-width: 1099px) {
	.hero { height: 480px; }
}

.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Fijn stippelraster over de foto, zoals voorheen */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../images/gridtile.png) repeat;
	pointer-events: none;
}

.hero-stage {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	width: min(100cqw, 195.122cqh);   /* 1200/615 * hoogte */
	aspect-ratio: 1200 / 615;
	container-type: inline-size;
}

.hero-title {
	position: absolute;
	top: 5.833cqw;                     /*  70 / 1200 */
	left: 1.25cqw;                     /*  15 / 1200 */
	margin: 0;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-weight: 900;
	font-size: 5.5cqw;                 /*  66 / 1200 */
	line-height: 1.42;
	white-space: nowrap;
	animation: hero-title-in 1s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-action {
	position: absolute;
	top: 29.167cqw;                    /* 350 / 1200 */
	left: 1.25cqw;
	animation: hero-action-in .8s .3s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .btn {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	margin: 0;
	font-size: clamp(11px, 1.25cqw, 15px);
}
.hero .btn:hover,
.hero .btn:focus {
	background: #ffb3ba;
	border-color: #ffb3ba;
	color: #fff;
}
@media (max-width: 767px) {
	.hero .btn.lg-btn {
		font-size: 14px;
		line-height: 50px;
	}
}

@keyframes hero-title-in {
	from { opacity: 0; transform: translateX(8%) skewX(-12deg); }
	to   { opacity: 1; transform: none; }
}
@keyframes hero-action-in {
	from { opacity: 0; transform: translateY(-40%); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-title,
	.hero-action { animation: none; }
}
