/* =========================================================
   Zweigeteilter Programm-Bereich
========================================================= */

.program-overview {
	position: relative;
	overflow: hidden;
}

.program-overview__column {
	width: 100%;
	min-height: 100%;
	padding:
		clamp(45px, 6vw, 90px)
		clamp(24px, 5vw, 80px);
}


/* Linker, heller Bereich */
.program-overview__column--courses {
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#fafafa 55%,
			#f2f2f2 100%
		);
}


/* Rechter, dunkler Bereich */
.program-overview__column--benefits {
	position: relative;

	background:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.97) 0%,
			rgba(0, 0, 0, 0.88) 55%,
			rgba(0, 0, 0, 0.7) 100%
		),
		url("../images/background/bg-benefits-overview.jpg"), #000;

	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}


/* Dezente Trennlinie */
.program-overview__column--benefits::before {
	content: "";

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;

	width: 4px;

	background-color: #ee6401;
}


/* =========================================================
   Gemeinsame Überschriften
========================================================= */

.overview-heading {
	position: relative;

	margin-bottom: 30px;
	padding-bottom: 14px;
}

.overview-heading::after {
	content: "";

	position: absolute;
	bottom: 0;
	left: 0;

	width: 42px;
	height: 3px;

	background-color: #ee6401;
}

.overview-heading__eyebrow {
	margin: 0 0 8px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: #ee6401;
}

.overview-heading__title {
	margin: 0;

	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-transform: uppercase;

	color: #151515;
}

.overview-heading--light .overview-heading__title {
	color: #ffffff;
}


/* =========================================================
   Linker Bereich
========================================================= */

.courses-overview {
	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;
}


/* =========================================================
   Kleine Kurskarten
========================================================= */

.course-preview {
	display: flex;
	flex-direction: column;

	height: 100%;
	overflow: hidden;

	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 8px;

	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.05);

	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.course-preview:hover,
.course-preview:focus-within {
	transform: translateY(-5px);

	box-shadow:
		0 16px 34px rgba(0, 0, 0, 0.11);
}


/* =========================================================
   Bild
========================================================= */

.course-preview__image-wrapper {
	position: relative;

	height: 160px;
	overflow: hidden;
}

.course-preview__image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.5s ease;
}

.course-preview:hover .course-preview__image,
.course-preview:focus-within .course-preview__image {
	transform: scale(1.05);
}


/* =========================================================
   Icon über dem Bild
========================================================= */

.course-preview__icon {
	position: absolute;
	bottom: 10px;
	left: 10px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 40px;
	height: 40px;

	border-radius: 50%;
	background-color: #ee6401;

	color: #ffffff;

	box-shadow:
		0 6px 16px rgba(238, 100, 1, 0.34);
}

.course-preview__icon svg {
	width: 17px;
	height: 17px;
}


/* =========================================================
   Karteninhalt
========================================================= */

.course-preview__body {
	display: flex;
	flex: 1;
	flex-direction: column;

	padding: 20px 18px;
}

.course-preview__title {
	margin: 0 0 4px;

	font-size: 1rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;

	color: #171717;
}

.course-preview__age {
	margin: 0 0 16px;

	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.4;

	color: #555555;
}

.course-preview__text {
	margin: 0 0 18px;

	font-size: 0.9rem;
	line-height: 1.6;

	color: #626262;
}

.course-preview__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	margin-top: auto;

	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;

	color: #ee6401;
}

.course-preview__link svg {
	width: 11px;
	height: 11px;

	transition: transform 0.25s ease;
}

.course-preview__link:hover,
.course-preview__link:focus-visible {
	color: #c85100;
}

.course-preview__link:hover svg,
.course-preview__link:focus-visible svg {
	transform: translateX(4px);
}


/* =========================================================
   Button unter den Kurskarten
========================================================= */

.courses-overview__button-wrapper {
	display: flex;
	justify-content: center;

	margin-top: 32px;
}


/* =========================================================
   Rechter Bereich
========================================================= */

.benefits-overview {
	position: relative;
	z-index: 1;

	display: flex;
	width: 100%;
	height: 100%;
}

.benefits-overview__content {
	display: flex;
	flex-direction: column;

	width: 100%;
	max-width: 680px;
}


/* =========================================================
   Vorteile
========================================================= */

.benefits-overview__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.benefit-item__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;

	border: 1px solid rgba(238, 100, 1, 0.55);
	border-radius: 50%;

	background-color: rgba(238, 100, 1, 0.08);

	color: #ee6401;
}

.benefit-item__icon svg {
	width: 19px;
	height: 19px;
}

.benefit-item__content {
	padding-top: 2px;
}

.benefit-item__title {
	margin: 0 0 5px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;

	color: #ffffff;
}

.benefit-item__text {
	max-width: 440px;
	margin: 0;
	line-height: 1.55;

	color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   Bewertung
========================================================= */

.testimonial-preview {
	position: relative;

	margin: 36px 0 0;
	padding: 25px 28px 24px 58px;

	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;

	background-color: rgba(255, 255, 255, 0.06);

	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.testimonial-preview__quote {
	position: absolute;
	top: 13px;
	left: 18px;

	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1;

	color: #ee6401;
}

.testimonial-preview__text {
	margin: 0 0 12px;

	font-size: 1rem;
	line-height: 1.55;

	color: #ffffff;
}

.testimonial-preview__author {
	font-size: 0.82rem;
	font-weight: 600;

	color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   Größere Desktop-Auflösung
========================================================= */

@media (min-width: 1400px) {

	.program-overview__column--courses {
		padding-left:
			max(
				clamp(40px, 6vw, 100px),
				calc((100vw - 1600px) / 2 + 40px)
			);
	}

	.program-overview__column--benefits {
		padding-right:
			max(
				clamp(40px, 6vw, 100px),
				calc((100vw - 1600px) / 2 + 40px)
			);
	}
}


/* =========================================================
   Unterhalb großer Desktop-Auflösung
========================================================= */

@media (max-width: 1199.98px) {

	.course-preview__image-wrapper {
		height: 190px;
	}
}


/* =========================================================
   Tablet und Mobil
========================================================= */

@media (max-width: 991.98px) {

	.program-overview__column {
		padding:
			clamp(42px, 7vw, 70px)
			clamp(22px, 5vw, 55px);
	}

	.program-overview__column--benefits::before {
		top: 0;
		right: 0;
		bottom: auto;
		left: 0;

		width: 100%;
		height: 4px;
	}

	.benefits-overview__content {
		max-width: none;
	}
}


/* =========================================================
   Mobil
========================================================= */

@media (max-width: 575.98px) {

	.program-overview__column {
		padding: 42px 20px;
	}

	.overview-heading__title br {
		display: none;
	}

	.course-preview__image-wrapper {
		height: 210px;
	}

	.benefit-item {
		gap: 14px;
	}

	.benefit-item__icon {
		width: 42px;
		height: 42px;
	}

	.testimonial-preview {
		padding:
			52px
			22px
			22px;
	}

	.testimonial-preview__quote {
		top: 12px;
		left: 20px;
	}
}


/* =========================================================
   Reduzierte Bewegung
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.course-preview,
	.course-preview__image,
	.course-preview__link svg {
		transition: none;
	}
}