
.m3d-inhalt *, .m3d-inhalt *::before, .m3d-inhalt *::after {
	box-sizing: border-box;
}

.m3d-inhalt {
	margin: 0;
	background: var(--m3d-farbe-hintergrund);
	color: var(--m3d-farbe-text);
	font-family: var(--m3d-schrift-text);
	font-size: var(--m3d-groesse-text);
	line-height: var(--m3d-zeilenhoehe-text);
}

.m3d-inhalt h1, .m3d-inhalt h2, .m3d-inhalt h3 {
	font-family: var(--m3d-schrift-ueberschrift);
	color: var(--m3d-farbe-ueberschrift);
	line-height: var(--m3d-zeilenhoehe-ueberschrift);
	margin: 0;
}

.m3d-inhalt p {
	margin: 0 0 var(--m3d-abstand-m);
}

.m3d-inhalt img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--m3d-radius);
}

.m3d-inhalt a {
	color: var(--m3d-farbe-link);
	text-underline-offset: .18em;
}

.m3d-inhalt a:hover {
	color: var(--m3d-farbe-akzent-dunkel);
}

.m3d-inhalt figure {
	margin: 0;
}

.m3d-inhalt figcaption {
	margin-top: var(--m3d-abstand-s);
	font-size: var(--m3d-groesse-klein);
	color: var(--m3d-farbe-gedaempft);
	line-height: 1.5;
}

.m3d-inhalt .seite {
	padding-bottom: var(--m3d-abstand-xxl);
}

.m3d-inhalt .spalte {
	width: min(100% - 2 * var(--m3d-rand), var(--m3d-breite-text));
	margin-inline: auto;
}

.m3d-inhalt .breit {
	width: min(100% - 2 * var(--m3d-rand), var(--m3d-breite-inhalt));
	margin-inline: auto;
}

/* Bühne: Petrol-Feld mit Titel, daneben das große Foto */
.m3d-inhalt .buehne {
	display: grid;
	grid-template-columns: max(18rem, calc(( 100% - var(--m3d-breite-voll) ) / 2 + 33rem)) 1fr;
	width: 100%;
	margin: 0 auto var(--m3d-abstand-xl);
	background: linear-gradient(160deg, var(--m3d-farbe-akzent) 0%, var(--m3d-farbe-akzent-dunkel) 100%);
	color: var(--m3d-farbe-auf-dunkel);
}

.m3d-inhalt .buehne-text {
	align-self: end;
	padding: var(--m3d-abstand-xl) clamp(1.25rem, 3vw, 2.5rem);
	container-type: inline-size;
}

.m3d-inhalt .buehne h1 {
	color: var(--m3d-farbe-auf-dunkel);
	font-size: min(clamp(1.8rem, 1rem + 2.2vw, 3rem), 10cqi);
	font-weight: var(--m3d-gewicht-titel);
	text-transform: uppercase;
	letter-spacing: var(--m3d-sperrung-titel);
	overflow-wrap: break-word;
	margin-bottom: var(--m3d-abstand-l);
}

.m3d-inhalt .buehne .untertitel {
	margin: 0;
	padding-left: var(--m3d-abstand-m);
	border-left: 3px solid var(--m3d-farbe-auf-dunkel);
	font-weight: var(--m3d-gewicht-fett);
	line-height: 1.5;
}

.m3d-inhalt .buehne-bild {
	position: relative;
	margin: 0;
}

.m3d-inhalt .buehne-bild img {
	width: 100%;
	height: 100%;
	min-height: 22rem;
	max-height: 34rem;
	object-fit: cover;
	border-radius: 0;
}

.m3d-inhalt .buehne-bild figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: var(--m3d-abstand-l) var(--m3d-abstand-m) var(--m3d-abstand-s);
	background: linear-gradient(transparent, rgba(0, 0, 0, .6));
	color: var(--m3d-farbe-auf-dunkel);
	text-align: right;
}

/* Bildgruppe Netz GS: zwei Bilder nebeneinander */
.m3d-inhalt .bildgruppe {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--m3d-abstand-l) var(--m3d-abstand-m);
	margin-block: var(--m3d-abstand-xl);
}

/* Video */
.m3d-inhalt .video-block {
	margin-block: var(--m3d-abstand-xl) var(--m3d-abstand-l);
}

.m3d-inhalt .video {
	background: var(--m3d-farbe-flaeche);
	border-radius: var(--m3d-radius);
	padding: var(--m3d-abstand-s);
}

.m3d-inhalt .video img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.m3d-inhalt .video-titel {
	display: block;
	margin: var(--m3d-abstand-s) var(--m3d-abstand-xs) 0;
	font-family: var(--m3d-schrift-ueberschrift);
	font-size: 1.125rem;
	color: var(--m3d-farbe-ueberschrift);
}

.m3d-inhalt .video-hinweis, .m3d-inhalt .video-fehlt {
	margin: var(--m3d-abstand-xs) var(--m3d-abstand-xs) 0;
	font-size: var(--m3d-groesse-klein);
	color: var(--m3d-farbe-gedaempft);
}

/* Video-Zwei-Klick: 1. Klick zeigt den Hinweis, 2. Klick lädt das Video */
.m3d-inhalt .video-flaeche {
	position: relative;
	overflow: hidden;
	border-radius: var(--m3d-radius);
}

.m3d-inhalt .video-schritt {
	position: absolute;
	inset: 0;
}

.m3d-inhalt .m3d-video-geladen .video-schritt {
	display: none;
}

.m3d-inhalt .video-start {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	list-style: none;
	padding: .6em 1.3em;
	background: var(--m3d-farbe-akzent-dunkel);
	color: var(--m3d-farbe-auf-dunkel);
	font-weight: var(--m3d-gewicht-fett);
	border-radius: var(--m3d-radius);
	box-shadow: 0 .4rem 1.2rem rgba(0, 0, 0, .3);
	white-space: nowrap;
	cursor: pointer;
}

.m3d-inhalt .video-start:hover {
	background: var(--m3d-farbe-akzent);
}

.m3d-inhalt .video-start:focus-visible {
	outline: 2px solid var(--m3d-farbe-auf-dunkel);
	outline-offset: 2px;
}

.m3d-inhalt .video-start-auf::before {
	content: "▶";
	margin-right: .5em;
	font-size: .85em;
}

.m3d-inhalt .video-start-zu {
	display: none;
}

.m3d-inhalt .video-schritt[open] .video-start {
	left: auto;
	top: .5rem;
	right: .5rem;
	transform: none;
	padding: .3em .6em;
	background: transparent;
	box-shadow: none;
	font-weight: var(--m3d-gewicht-text);
	font-size: .8rem;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.m3d-inhalt .video-schritt[open] .video-start-auf {
	display: none;
}

.m3d-inhalt .video-schritt[open] .video-start-zu {
	display: inline;
}

.m3d-inhalt .video-frage {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--m3d-abstand-m);
	padding: var(--m3d-abstand-l) var(--m3d-abstand-m);
	background: color-mix(in srgb, var(--m3d-farbe-akzent-dunkel) 92%, transparent);
	color: var(--m3d-farbe-auf-dunkel);
	text-align: center;
}

.m3d-inhalt .video .video-frage .video-hinweis {
	margin: 0;
	padding: 0;
	max-width: 26rem;
	font-size: var(--m3d-groesse-klein);
	line-height: 1.5;
	color: var(--m3d-farbe-auf-dunkel);
}

.m3d-inhalt .video .video-frage .video-hinweis a {
	color: var(--m3d-farbe-auf-dunkel);
}

.m3d-inhalt .video .video-laden {
	position: static;
	transform: none;
	display: inline-block;
	margin: 0;
	padding: .6em 1.3em;
	border: 0;
	background: var(--m3d-farbe-hintergrund);
	color: var(--m3d-farbe-akzent-dunkel);
	font-family: var(--m3d-schrift-text);
	font-size: 1rem;
	font-weight: var(--m3d-gewicht-fett);
	border-radius: var(--m3d-radius);
	box-shadow: none;
	white-space: nowrap;
	cursor: pointer;
}

.m3d-inhalt .video .video-laden:hover {
	background: var(--m3d-farbe-flaeche-petrol);
}

.m3d-inhalt .video-link {
	display: inline-block;
	margin: var(--m3d-abstand-xs) var(--m3d-abstand-xs) 0;
	font-size: var(--m3d-groesse-klein);
}

.m3d-inhalt .detailbild {
	margin-block: var(--m3d-abstand-xl);
}

/* Fazit mit Datenblatt */
.m3d-inhalt .fazit {
	margin-block: var(--m3d-abstand-xl);
	padding: var(--m3d-abstand-l);
	background: var(--m3d-farbe-flaeche-petrol);
	border-top: 4px solid var(--m3d-farbe-akzent);
	border-radius: var(--m3d-radius);
}

.m3d-inhalt .fazit strong {
	font-family: var(--m3d-schrift-ueberschrift);
	font-size: 1.375rem;
	font-weight: var(--m3d-gewicht-ueberschrift);
	color: var(--m3d-farbe-ueberschrift);
	text-transform: uppercase;
	letter-spacing: var(--m3d-sperrung-klein);
}

.m3d-inhalt .daten {
	width: 100%;
	border-collapse: collapse;
	margin-block: var(--m3d-abstand-l);
	font-size: .9875rem;
}

.m3d-inhalt .daten td {
	padding: var(--m3d-abstand-s) 0;
	border-top: 1px solid var(--m3d-farbe-linie);
	vertical-align: top;
	text-align: left;
}

.m3d-inhalt .daten td:first-child {
	width: 9.5rem;
	padding-right: var(--m3d-abstand-m);
	font-weight: var(--m3d-gewicht-fett);
	color: var(--m3d-farbe-akzent-dunkel);
}

.m3d-inhalt .fazit .links {
	margin: 0;
	font-size: .9375rem;
	overflow-wrap: anywhere;
}

/* Die Alternative */
.m3d-inhalt .alternative {
	width: min(100% - 2 * var(--m3d-rand), var(--m3d-breite-inhalt));
	margin-inline: auto;
	margin-top: var(--m3d-abstand-xxl);
	padding-top: var(--m3d-abstand-xl);
	border-top: 1px solid var(--m3d-farbe-linie);
}

.m3d-inhalt .alternative .spalte {
	width: min(100%, var(--m3d-breite-text));
}

.m3d-inhalt .alternative .breit {
	width: 100%;
}

.m3d-inhalt .alternative h2 {
	font-size: var(--m3d-groesse-h2);
	font-weight: var(--m3d-gewicht-ueberschrift);
	margin-bottom: var(--m3d-abstand-xs);
}

.m3d-inhalt .alternative .modell {
	font-weight: var(--m3d-gewicht-fett);
	color: var(--m3d-farbe-akzent-dunkel);
	text-transform: uppercase;
	letter-spacing: var(--m3d-sperrung-klein);
	font-size: .9375rem;
}

.m3d-inhalt .reihe {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--m3d-abstand-m);
	margin-block: var(--m3d-abstand-l) var(--m3d-abstand-xl);
}

.m3d-inhalt .reihe img {
	width: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
}

.m3d-inhalt .dank {
	font-style: italic;
	color: var(--m3d-farbe-gedaempft);
}

@media (max-width: 48rem) {
	.m3d-inhalt .buehne {
		grid-template-columns: 1fr;
	}
	
	.m3d-inhalt .buehne-bild {
		order: -1;
	}
	
	.m3d-inhalt .buehne-bild img {
		min-height: 0;
		aspect-ratio: 4/3;
	}
	
	.m3d-inhalt .buehne-text {
		padding-block: var(--m3d-abstand-l);
	}
}

@media (max-width: 40rem) {
	.m3d-inhalt .bildgruppe {
		grid-template-columns: 1fr;
	}
	
	.m3d-inhalt .reihe {
		grid-template-columns: 1fr;
	}
	
	.m3d-inhalt .fazit {
		padding: var(--m3d-abstand-m);
	}
	
	.m3d-inhalt .daten td {
		display: block;
		width: auto;
		padding: 0;
		border-top: 0;
	}
	
	.m3d-inhalt .daten td:first-child {
		width: auto;
		padding-top: var(--m3d-abstand-s);
		border-top: 1px solid var(--m3d-farbe-linie);
	}
	
	.m3d-inhalt .daten td:last-child {
		padding-bottom: var(--m3d-abstand-s);
	}
}

/* Titelfeld am Inhalt ausgerichtet, das Foto nimmt den Rest bis zum Rand */
.m3d-inhalt .buehne-text {
	width: min(100%, 33rem);
	justify-self: end;
}

@media (max-width: 48rem) {
	.m3d-inhalt .buehne-text {
		width: auto;
		justify-self: stretch;
	}
}

