/* =============================================================
   M38 – Unterseiten Entry  |  Split-Screen, kleiner als m30,
   ohne Slider, ohne Scroll-Arrow
   ============================================================= */

section.m38_unterseiten_entry {
	display: flex;
	height: 650px;
	overflow: hidden;
	position: relative;
}

section.m38_unterseiten_entry.gray_background {
	background: #f6f6f6;
}

.m38_titel span {
	color: #fff;
}

/* ---- Linke Seite (Lila) ---- */
.m38_left {
	display: flex;
	flex: 0 0 calc(50% - 110px);
	width: calc(50% - 110px);
	background-color: #40437d;
	margin-bottom: 110px;
	position: relative;
}

/* ---- Rechte Seite (Bild) ---- */
.m38_right {
	flex: 1;
	align-self: flex-start;
	height: 650px;
	position: relative;
	overflow: hidden;
	z-index: 2;
}

.m38_bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.m38_bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 80%);
	z-index: 1;
	pointer-events: none;
}

/* ---- Sidebar (110px) ---- */
.m38_sidebar {
	flex: 0 0 110px;
	width: 110px;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
	position: relative;
}

/* ---- Hauptbereich (in der lila Box) ---- */
.m38_main {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: calc(100% - 110px);
	height: 100%;
}

/* ---- Content-Bereich (Headline, Subtext) ---- */
.m38_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0px 109px 0 109px;
	position: relative;
	z-index: 1;
}

.m38_titel_container {
	margin: 0;
}

.m38_titel {
	font-weight: 500;
	color: #fff;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1.0;
	margin: 0 0 40px 0;
}

.m38_untertitel {
	font-family: 'Effra', sans-serif;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 16px 0;
}

.m38_subtext {
	font-family: 'Effra', sans-serif;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.5px;
	line-height: 1.6;
	margin: 0;
	max-width: 460px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media screen and (max-width: 1599px) {
	.m38_left {
		flex: 0 0 50%;
		width: 50%;
	}

	.m38_content {
		padding: 0 55px 0 55px;
	}
}

@media screen and (max-width: 1200px) {
	.m38_content {
		padding: 0 120px 0 80px;
	}
}

@media screen and (max-width: 1199px) {
	section.m38_unterseiten_entry {
		flex-direction: column;
		height: auto;
	}

	.m38_right {
		order: -1;
		display: block;
		width: 100%;
		flex: none;
		height: 480px;
		margin-left: 0;
		align-self: auto;
	}

	.m38_left {
		order: 1;
		flex: none;
		width: 100%;
		min-height: 0;
		margin-bottom: 0;
	}

	.m38_main {
		width: 100%;
		min-height: 0;
	}

	.m38_sidebar {
		display: none;
	}

	.m38_content {
		padding: 35px 30px 45px 30px;
		justify-content: flex-start;
	}

	.m38_titel {
		letter-spacing: 1px;
	}
}

@media screen and (max-width: 767px) {
	.m38_right {
		height: 380px;
	}
}

@media screen and (max-width: 600px) {
	.m38_content {
		padding: 30px 20px;
	}
}
