

.mn-hero {
	--mn-hero-gap: 8px;
	--mn-hero-hoehe: clamp(280px, 30vw, 400px);
	--mn-hero-radius: var(--mn-radius-card, 14px);

	position: relative;
	margin: 0 0 44px;
}

.mn-hero__buehne {
	position: relative;
	border-radius: var(--mn-hero-radius);
	overflow: hidden;
}

.mn-hero__folie {
	display: grid;
	gap: var(--mn-hero-gap);
	height: var(--mn-hero-hoehe);
}

.mn-hero__folie[hidden] {
	display: none;
}

.mn-hero__folie.is-entering {
	animation: mn-hero-ein 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes mn-hero-ein {
	from {
		opacity: 0.25;
		transform: translateX(10px) scale(0.995);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mn-hero__folie.is-entering {
		animation: none;
	}
}

.mn-hero__folie--links {
	grid-template-columns: 1.8fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.mn-hero__folie--links .mn-hero__karte--fokus {
	grid-row: 1 / span 2;
}

.mn-hero__folie--rechts {
	grid-template-columns: 1fr 1fr 2.2fr;
}


.mn-hero__karte {
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--mn-hero-radius);
	background: var(--mn-beige);
	color: #fff;
	text-decoration: none;
}

.mn-hero__karte:hover {
	color: #fff;
	text-decoration: none;
}

.mn-hero__karte[aria-disabled="true"] {
	cursor: default;
}

.mn-hero__bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mn-hero__karte:hover .mn-hero__bild {
	transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
	.mn-hero__karte:hover .mn-hero__bild {
		transform: none;
	}
}

.mn-hero__schleier {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(18, 18, 16, 0.86) 0%,
		rgba(18, 18, 16, 0.66) 24%,
		rgba(18, 18, 16, 0.3) 55%,
		rgba(18, 18, 16, 0.06) 80%,
		rgba(18, 18, 16, 0) 100%
	);
}

.mn-hero__inhalt {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	padding: 20px 22px 20px;
}


.mn-hero__marke {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	background: var(--mn-link, #4a7c59);
	text-shadow: none;
}


.mn-hero__titel {
	font-size: 30px;
	font-weight: 300;
	line-height: 1.18;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mn-hero__titel strong {
	display: block;
	font-weight: 600;
}

.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__titel {
	font-size: 20px;
}

.mn-hero__text {
	max-width: 46ch;
	font-size: 13.5px;
	line-height: 1.5;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__text,
.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__knopf {
	display: none;
}

.mn-hero__knopf {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 4px;
	padding: 9px 17px;
	background: rgba(255, 255, 255, 0.94);
	border-radius: var(--mn-radius-s, 6px);
	color: var(--mn-text-dark, #2c2c2a);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.4px;
	text-shadow: none;
	transition: background 0.2s ease;
}

.mn-hero__karte:hover .mn-hero__knopf {
	background: #fff;
}

.mn-hero__knopf::after {
	content: "→";
	font-size: 14px;
	line-height: 1;
}


.mn-hero__leiste {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 10px;
}

.mn-hero__fortschritt {
	display: flex;
	flex: 1;
	gap: 6px;
	min-width: 0;
}

.mn-hero__punkt {
	position: relative;
	flex: 1;
	height: 4px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 999px;
	background: var(--mn-band, #e4e0d2);
	cursor: pointer;
	box-sizing: content-box;
	border-block: 9px solid transparent;
	background-clip: content-box;
}

.mn-hero__punkt:hover {
	background: var(--mn-btn-border, #d5d2c8);
	background-clip: content-box;
}

.mn-hero__fuellung {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 0;
	border-radius: 999px;
	background: var(--mn-action, #2eae06);
}

.mn-hero__punkt.is-viewed .mn-hero__fuellung {
	width: 100%;
	background: var(--mn-band, #e4e0d2);
}

.mn-hero__punkt.is-active .mn-hero__fuellung {
	animation: mn-hero-lauf var(--mn-hero-dauer, 15000ms) linear forwards;
}

@keyframes mn-hero-lauf {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mn-hero__punkt.is-active .mn-hero__fuellung {
		animation: none;
		width: 100%;
	}
}

.mn-hero__pause {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	padding: 6px 10px;
	background: none;
	border: 0;
	border-radius: var(--mn-radius-s, 6px);
	color: var(--mn-muted, #6b6b6b);
	font-family: inherit;
	font-size: 12.5px;
	cursor: pointer;
}

.mn-hero__pause:hover {
	background: var(--mn-box, #fbfbfb);
	color: var(--mn-text-dark, #2c2c2a);
}

.mn-hero__pause .mn-icon {
	width: 13px;
	height: 13px;
}

.mn-hero__pause [data-mn-icon="play"] {
	display: none;
}

.mn-hero.is-paused .mn-hero__pause [data-mn-icon="play"] {
	display: inline-flex;
}

.mn-hero.is-paused .mn-hero__pause [data-mn-icon="pause"] {
	display: none;
}

.mn-hero__leiste[hidden] {
	display: none;
}


@media (max-width: 767.98px) {
	.mn-hero {
		--mn-hero-gap: 6px;
	}

	.mn-hero__folie,
	.mn-hero__folie--links,
	.mn-hero__folie--rechts {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		height: auto;
	}

	.mn-hero__folie--links .mn-hero__karte--fokus,
	.mn-hero__folie--rechts .mn-hero__karte--fokus {
		grid-column: 1 / -1;
		grid-row: 1;
		aspect-ratio: 16 / 9;
	}

	.mn-hero__karte:not(.mn-hero__karte--fokus) {
		aspect-ratio: 4 / 3;
	}

	.mn-hero__inhalt {
		gap: 5px;
		padding: 14px 15px;
	}

	.mn-hero__titel {
		font-size: 21px;
	}

	.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__titel {
		font-size: 15px;
	}

	.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__marke {
		font-size: 10px;
		padding: 3px 8px;
		letter-spacing: 0.8px;
	}

	.mn-hero__text {
		font-size: 12.5px;
	}
}

@media (max-width: 479.98px) {
	.mn-hero__titel {
		font-size: 18px;
	}

	.mn-hero__karte:not(.mn-hero__karte--fokus) .mn-hero__titel {
		font-size: 14px;
	}
}
