/* Richtung 2: Viel Weißraum. Grundlagen, Kopf mit Hero und Route, Knöpfe, Fuß. Farben nur aus dem Evergreen-Designsystem. */

:root {
	--wald: #112a28;
	--wald-80: #415553;
	--wald-60: #707f7e;
	--wald-40: #a0aaa9;
	--wald-20: #cfd4d4;
	--gruen: #8aa14a;
	--dusty: #497692;
	--dusty-80: #6c91a8;
	--moss: #4c6639;
	--weiss: #ffffff;
	--hell: #f6f7fb;
	--linie: #e5e7eb;

	--schrift-titel: "Montserrat", Arial, sans-serif;
	--schrift-text: "Schibsted Grotesk", Arial, sans-serif;
	--schrift-mono: "Red Hat Mono", "Courier New", monospace;

	--innen: 72.5rem;
	--rand: clamp(1.25rem, 4vw, 2.5rem);
	--abstand: clamp(5rem, 11vw, 9rem);

	--verlauf:
		radial-gradient(60% 75% at 80% 15%, rgba(73, 118, 146, 0.8) 0%, rgba(73, 118, 146, 0) 70%),
		radial-gradient(45% 60% at 100% 90%, rgba(108, 145, 168, 0.5) 0%, rgba(108, 145, 168, 0) 70%),
		radial-gradient(45% 55% at 12% 100%, rgba(76, 102, 57, 0.55) 0%, rgba(76, 102, 57, 0) 70%),
		#112a28;
	--koernung: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>");
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--weiss);
	color: var(--wald-80);
	font-family: var(--schrift-text);
	font-size: 1.0625rem;
	line-height: 1.65;
}

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

h1,
h2,
h3 {
	margin: 0;
	color: var(--wald);
	font-family: var(--schrift-titel);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.15;
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.875rem, 3.3vw, 2.75rem);
}

h3 {
	font-size: 1.1875rem;
	letter-spacing: -0.015em;
}

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

a {
	color: inherit;
}

a:focus-visible,
summary:focus-visible {
	outline: 0.125rem solid var(--gruen);
	outline-offset: 0.25rem;
}

.etikett {
	margin: 0;
	color: var(--wald-80);
	font-family: var(--schrift-mono);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.etikett--hell {
	color: var(--weiss);
}

.quelle {
	display: block;
	margin-top: 0.5rem;
	color: var(--wald-80);
	font-family: var(--schrift-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.quelle::before {
	content: "Quelle: ";
}

/* Knöpfe und Links */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	border: 0.0625rem solid transparent;
	border-radius: 999rem;
	font-family: var(--schrift-text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

.knopf--hell {
	background: var(--weiss);
	color: var(--wald);
}

.knopf--hell:hover {
	background: var(--wald-20);
}

.knopf--dunkel {
	background: var(--wald);
	color: var(--weiss);
}

.knopf--dunkel:hover {
	background: var(--wald-80);
}

.knopf--rand {
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--weiss);
	font-size: 0.9375rem;
}

.knopf--rand:hover {
	border-color: var(--weiss);
}

.text-link {
	color: var(--wald);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 0.0625rem;
	text-underline-offset: 0.35em;
}

.text-link:hover {
	color: var(--wald-80);
}

.text-link--hell {
	color: var(--weiss);
}

.text-link--hell:hover {
	color: var(--wald-20);
}

/* Hero mit Kopf */

.hero {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: min(100svh, 58rem);
	overflow: hidden;
	background: var(--verlauf);
	color: var(--weiss);
	isolation: isolate;
}

/* Körnungsverlauf: nur hier im Kopf, sonst nirgends auf der Seite */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--koernung);
	opacity: 0.6;
	mix-blend-mode: soft-light;
}

.kopf {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	width: 100%;
	max-width: calc(var(--innen) + 2 * var(--rand));
	margin-inline: auto;
	padding: 1.75rem var(--rand);
}

.kopf__logo img {
	width: 8.5rem;
}

.kopf__nav {
	display: flex;
	gap: 2.25rem;
	margin-left: auto;
	font-size: 0.9375rem;
}

.kopf__nav a {
	color: var(--weiss);
	text-decoration: none;
}

.kopf__nav a:hover {
	color: var(--wald-20);
}

.hero__inhalt {
	align-self: end;
	width: 100%;
	max-width: calc(var(--innen) + 2 * var(--rand));
	margin-inline: auto;
	padding: 4rem var(--rand) clamp(10rem, 16vw, 13rem);
}

.hero__titel {
	max-width: 52rem;
	margin-top: 1.5rem;
	color: var(--weiss);
	font-size: clamp(2.75rem, 6.2vw, 5.25rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.hero__text {
	max-width: 36rem;
	margin-top: 1.75rem;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}

.hero__aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	align-items: center;
	margin-top: 2.5rem;
}

/* Feine Route auf dem Verlauf: Diagnose, Route, Wachstum, der grüne Punkt geht voraus */

.hero__route {
	position: absolute;
	bottom: 0;
	overflow: visible;
	pointer-events: none;
}

.hero__route--weit {
	left: 50%;
	width: 90rem;
	height: 35rem;
	translate: -50% 0;
}

.hero__route--schmal {
	display: none;
	left: 0;
	width: 100%;
	height: 9rem;
}

.hero__route .linie {
	fill: none;
	stroke: var(--weiss);
	stroke-opacity: 0.5;
	stroke-width: 1;
	stroke-linejoin: round;
}

.hero__route .linie--voraus {
	stroke-opacity: 0.7;
	stroke-dasharray: 2 5;
}

.hero__route .linie--verworfen {
	stroke-opacity: 0.28;
	stroke-dasharray: 3 6;
}

.hero__route .knoten {
	fill: none;
	stroke: var(--weiss);
	stroke-opacity: 0.85;
	stroke-width: 1;
}

.hero__route .ziel {
	fill: var(--gruen);
}

.hero__route--weit .schein {
	fill: url("#schein-weit");
}

.hero__route--schmal .schein {
	fill: url("#schein-schmal");
}

.schein__mitte {
	stop-color: var(--gruen);
	stop-opacity: 0.26;
}

.schein__halb {
	stop-color: var(--gruen);
	stop-opacity: 0.09;
}

.schein__rand {
	stop-color: var(--gruen);
	stop-opacity: 0;
}

.hero__route text {
	fill: var(--weiss);
	fill-opacity: 0.85;
	font-family: var(--schrift-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero__route .ziel-name {
	fill-opacity: 1;
}

@media (max-width: 75rem) {
	.hero__route--weit {
		display: none;
	}

	.hero__route--schmal {
		display: block;
	}
}

@media (max-width: 56rem) {
	.kopf__nav {
		display: none;
	}

	.kopf .knopf {
		margin-left: auto;
	}
}

@media (max-width: 30rem) {
	.kopf__logo img {
		width: 7rem;
	}

	.kopf .knopf {
		padding-inline: 1rem;
		font-size: 0.875rem;
	}
}

/* Fuß */

.fuss {
	padding: 4.5rem var(--rand) 2rem;
	background: var(--hell);
	font-size: 0.9375rem;
}

.fuss__innen {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
	max-width: var(--innen);
	margin-inline: auto;
}

.fuss__logo {
	width: 8.5rem;
	margin-bottom: 1.25rem;
}

.fuss nav {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.fuss nav .etikett {
	margin-bottom: 0.5rem;
}

.fuss a {
	color: var(--wald-80);
	text-decoration: none;
}

.fuss a:hover {
	color: var(--wald);
}

.fuss__zeile {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	margin-top: 4rem;
	padding-top: 1.5rem;
	border-top: 0.0625rem solid var(--linie);
	color: var(--wald-80);
	font-family: var(--schrift-mono);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

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

	.fuss__innen > div:first-child {
		grid-column: 1 / -1;
	}
}
