:root
{
	--nacht:   #24262b;
	--nacht-2: #1b1d21;
	--schiefer:#3d4653;
	--loh:     #c08a3e;
	--loh-hell:#ddab5f;
	--nebel:   #d9d6d0;
	--nebel-2: #9a978f;

	--schrift: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

*
{
	box-sizing: border-box;
}

html,
body
{
	/* Sicherheitsnetz gegen seitliches Überlaufen am Smartphone */
	max-width: 100%;
	overflow-x: clip;
}

body
{
	margin: 0;
	background: var(--nacht);
	color: var(--nebel);
	font-family: var(--schrift);
	font-size: clamp(1rem, .95rem + .3vw, 1.1rem);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img
{
	display: block;
	max-width: 100%;
	height: auto;
}

.bahn
{
	width: min(90%, 74rem);
	margin: 0 auto;
}

/* ---------- Titel: Text und Bild nebeneinander ---------- */

.kopf
{
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: min(100vh, 52rem);
	align-items: stretch;
	background: #3f4855;
	overflow: hidden;
}

/* Das Bild liegt rechts bündig und reicht weit nach links unter den Text */
.kopf__bild
{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 22%;
	z-index: 0;
}

.kopf__bild img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.kopf__text
{
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.5rem, 6vw, 6rem);
	/* läuft nach rechts weich aus, damit das Bild darunter hervorkommt */
	background: linear-gradient(to right,
		var(--nacht) 0%,
		var(--nacht) 62%,
		rgba(36,38,43,.92) 80%,
		rgba(36,38,43,0) 100%);
}

.kennung
{
	margin: 0 0 auto;
	padding-bottom: 3rem;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--loh);
}

h1
{
	margin: 0 0 1.6rem;
	font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem);
	font-weight: 700;
	line-height: .96;
	letter-spacing: -.035em;
	color: #fff;
}

h1 em
{
	display: block;
	font-style: normal;
	color: var(--loh);
}

.kopf__text > p
{
	max-width: 30rem;
	margin: 0;
	font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
	color: var(--nebel-2);
}

@media (max-width: 54rem)
{
	.kopf
	{
		display: block;
		min-height: 0;
	}

	.kopf__bild
	{
		position: static;
		aspect-ratio: 16 / 9;
	}

	.kopf__text
	{
		background: var(--nacht);
	}

	.kennung
	{
		padding-bottom: 2rem;
	}
}

/* ---------- Abschnitte ---------- */

section
{
	padding: clamp(4.5rem, 9vw, 9rem) 0;
}

h2
{
	margin: 0 0 1.8rem;
	font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
	color: #fff;
}

.marke
{
	margin: 0 0 1rem;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--loh);
}

p
{
	margin: 0 0 1.2rem;
	text-wrap: pretty;
}

p:last-child
{
	margin-bottom: 0;
}

.eng
{
	max-width: 38rem;
}

.lead
{
	font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
	line-height: 1.4;
	color: #fff;
	letter-spacing: -.01em;
}

/* ---------- Die Kette ---------- */

.kette
{
	background: var(--nacht-2);
}

.kette__liste
{
	display: grid;
	gap: 0;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(217,214,208,.14);
	counter-reset: glied;
}

.kette__liste li
{
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: 0 1.5rem;
	padding: 1.6rem 0;
	border-bottom: 1px solid rgba(217,214,208,.14);
	counter-increment: glied;
}

.kette__liste li::before
{
	content: counter(glied, decimal-leading-zero);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--loh);
	padding-top: .35rem;
}

.kette__liste h3
{
	margin: 0 0 .3rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
}

.kette__liste p
{
	margin: 0;
	font-size: .98rem;
	color: var(--nebel-2);
}

@media (max-width: 34rem)
{
	.kette__liste li
	{
		grid-template-columns: 2.5rem 1fr;
		gap: 0 1rem;
	}
}

/* ---------- Bildstreifen ---------- */

.streifen
{
	padding: 0;
}

.streifen figure
{
	position: relative;
	margin: 0;
}

.streifen img
{
	width: 100%;
	max-height: 82vh;
	object-fit: cover;
	object-position: center 42%;
}

.streifen figcaption
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 4rem clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
	background: linear-gradient(to top, rgba(27,29,33,.94), rgba(27,29,33,0));
	font-size: clamp(1.1rem, 1rem + .8vw, 1.8rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: #fff;
}

.streifen figcaption span
{
	display: block;
	max-width: 34rem;
	margin-top: .5rem;
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--nebel-2);
}

/* ---------- Gegenüberstellung ---------- */

.gegen__paar
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
	gap: 1px;
	margin-top: 3rem;
	background: rgba(217,214,208,.14);
	border: 1px solid rgba(217,214,208,.14);
}

.gegen__paar > div
{
	padding: clamp(1.6rem, 3vw, 2.5rem);
	background: var(--nacht);
}

.gegen__paar h3
{
	margin: 0 0 1rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--nebel-2);
}

.gegen__paar .zahl
{
	display: block;
	margin-bottom: .6rem;
	font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	color: #fff;
}

.gegen__paar .zeus h3
{
	color: var(--loh);
}

.gegen__paar .zeus .zahl
{
	color: var(--loh-hell);
}

.gegen__paar p
{
	margin: 0;
	font-size: .95rem;
	color: var(--nebel-2);
}

/* ---------- Porträt und Zertifikat ---------- */

.zert
{
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.zert img
{
	width: 100%;
	max-height: 42rem;
	object-fit: cover;
	object-position: center 30%;
}

@media (max-width: 54rem)
{
	.zert
	{
		grid-template-columns: 1fr;
	}
}

.punkte
{
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.punkte li
{
	position: relative;
	padding: .55rem 0 .55rem 1.6rem;
	font-size: .98rem;
	color: var(--nebel-2);
}

.punkte li::before
{
	content: "";
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: .5rem;
	height: 1px;
	background: var(--loh);
}

/* Siegel: schwarze Linien auf transparentem Grund — auf der nächtlichen
   Fläche braucht es eine helle Kachel. Kantig wie der Knopf, Kontur in Loh. */
.siegel
{
	display: grid;
	gap: 1.4rem;
	align-items: center;
	margin: 2.8rem 0 0;
}

@media (min-width: 32rem)
{
	.siegel
	{
		grid-template-columns: 7.5rem 1fr;
	}
}

.siegel a
{
	display: block;
	justify-self: start;
	width: 7.5rem;
	max-width: 100%;
	padding: .8rem;
	background: var(--nebel);
	border: 1px solid var(--loh);
}

.siegel img
{
	width: 100%;
	height: auto;
}

.siegel figcaption
{
	margin: 0;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--nebel-2);
}

.knopf
{
	display: inline-block;
	margin-top: 2.8rem;
	padding: 1.05rem 2.4rem;
	border: 1px solid var(--loh);
	color: var(--loh);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}

.knopf:hover,
.knopf:focus-visible
{
	background: var(--loh);
	color: var(--nacht);
}

/* ---------- Weitere Themen: als laufender Text ---------- */

.themen:not(:has(a))
{
	display: none;
}

.themen
{
	background: var(--nacht-2);
}

.themen__strom
{
	max-width: 52rem;
	margin: 1.5rem 0 0;
	font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem);
	line-height: 1.9;
	color: var(--nebel-2);
}

.themen__strom a
{
	color: var(--nebel);
	text-decoration: none;
	border-bottom: 1px solid rgba(192,138,62,.5);
	padding-bottom: .1em;
	transition: color .2s ease, border-color .2s ease;
}

.themen__strom a:hover,
.themen__strom a:focus-visible
{
	color: var(--loh-hell);
	border-color: var(--loh);
}

.themen__strom span[hidden]
{
	display: none;
}

/* ---------- Fuß ---------- */

/* Fuß als durchlaufende Zeilenfolge mit Trennstrichen —
   bewusst anders gesetzt als auf den übrigen Seiten */

footer
{
	padding: 2.5rem 0 3.5rem;
	border-top: 1px solid rgba(217,214,208,.14);
	font-size: .78rem;
	line-height: 1.9;
	color: var(--nebel-2);
}

footer p
{
	margin: 0 0 .5rem;
	max-width: 60rem;
}

footer p:last-child
{
	margin-bottom: 0;
}

footer .firma
{
	color: var(--nebel);
	letter-spacing: .01em;
}

footer a
{
	color: var(--nebel);
	text-decoration: none;
	border-bottom: 1px solid rgba(192,138,62,.55);
	transition: color .2s ease, border-color .2s ease;
}

footer a:hover,
footer a:focus-visible
{
	color: var(--loh-hell);
	border-color: var(--loh);
}

footer .rolle
{
	display: block;
	margin-top: 1.4rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(217,214,208,.1);
	font-style: normal;
}

footer .rolle b
{
	color: var(--loh);
	font-weight: 700;
}

footer .trenn
{
	padding: 0 .55rem;
	color: rgba(217,214,208,.28);
}

/* ---------- Effekt: seitliches Einlaufen ---------- */

.rein
{
	opacity: 0;
	transform: translateX(-1.5rem);
	transition: opacity .8s ease, transform .8s cubic-bezier(.16,.8,.3,1);
}

.rein.da
{
	opacity: 1;
	transform: none;
}

.kette__liste li
{
	opacity: 0;
	transform: translateX(-1rem);
	transition: opacity .6s ease, transform .6s cubic-bezier(.16,.8,.3,1);
}

.kette__liste li.da
{
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce)
{
	.rein,
	.kette__liste li
	{
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Teilen: Botschaft linksbündig, die Wege rechtsbündig darunter ---------- */

.teilen
{
	background: var(--nacht-2);
	padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(3rem, 6vw, 5rem);
	border-top: 1px solid rgba(217,214,208,.1);
}

.teilen h2
{
	max-width: 30rem;
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.015em;
	color: var(--nebel);
}

.teilen__satz
{
	max-width: 34rem;
	margin: 0 0 2.2rem;
	color: var(--nebel-2);
}

.teilen__wege
{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .1rem;
	text-align: right;
}

.teilen__wege a,
.teilen__wege button
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: .7rem;
	padding: .4rem 0;
	background: none;
	border: 0;
	font: inherit;
	font-size: .92rem;
	line-height: 1.4;
	color: var(--nebel);
	text-decoration: none;
	cursor: pointer;
	transition: color .2s ease;
}

.teilen__wege span
{
	border-bottom: 1px solid rgba(192,138,62,.5);
	padding-bottom: .1em;
	transition: border-color .2s ease;
}

.teilen__wege svg
{
	width: 1.15rem;
	height: 1.15rem;
	flex: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	color: var(--loh);
}

.teilen__wege a:hover,
.teilen__wege a:focus-visible,
.teilen__wege button:hover,
.teilen__wege button:focus-visible
{
	color: var(--loh-hell);
}

.teilen__wege a:hover span,
.teilen__wege a:focus-visible span,
.teilen__wege button:hover span,
.teilen__wege button:focus-visible span
{
	border-color: var(--loh);
}

/* ---------- Mitscrollende Leiste: rechts, weiter oben, ohne Kasten ---------- */

.griff
{
	display: none;
}

@media (min-width: 88rem)
{
	.griff
	{
		display: grid;
		gap: .6rem;
		position: fixed;
		right: max(.9rem, calc((100vw - 74rem) / 2 - 3.6rem));
		top: 28vh;
		z-index: 30;
	}

	.griff a,
	.griff button
	{
		display: grid;
		place-items: center;
		width: 2.4rem;
		height: 2.4rem;
		padding: 0;
		background: none;
		border: 1px solid rgba(217,214,208,.16);
		border-radius: 50%;
		color: var(--nebel-2);
		cursor: pointer;
		transition: color .2s ease, border-color .2s ease;
	}

	.griff svg
	{
		width: 1.1rem;
		height: 1.1rem;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.griff a:hover,
	.griff a:focus-visible,
	.griff button:hover,
	.griff button:focus-visible,
	.griff .kopiert
	{
		color: var(--loh-hell);
		border-color: var(--loh);
	}
}

/* Die zwei JavaScript-Elemente bleiben ohne Skript verborgen */
.teilen__wege [hidden],
.griff [hidden]
{
	display: none;
}
