/* Richtung 1: Klar und nüchtern. Grundlagen, Kopf, 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;
	--gruen-80: #a2b46e;
	--gruen-40: #d0d9b7;
	--gruen-20: #e8ecdc;
	--weiss: #ffffff;
	--hell: #f6f7fb;
	--text: #4b5563;
	--tinte: #101010;
	--linie: #e5e7eb;

	--schrift-titel: "Montserrat", Arial, sans-serif;
	--schrift-text: "Hanken Grotesk", Arial, sans-serif;

	--rahmen: 77.5rem;
	--rand: clamp(1.25rem, 4vw, 2.5rem);
	--abstand: clamp(4.5rem, 9vw, 7.5rem);
	--radius: 0.25rem;
}

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

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

body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: var(--schrift-text);
	font-size: 1.125rem;
	line-height: 1.6;
}

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

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

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

h3 {
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

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;
}

.rahmen {
	width: 100%;
	max-width: var(--rahmen);
	margin-inline: auto;
	padding-inline: var(--rand);
}

.augenbraue {
	margin-bottom: 1rem;
	color: var(--wald-80);
	font-family: var(--schrift-text);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.augenbraue--hell {
	color: var(--gruen-40);
}

.nummer {
	display: block;
	color: var(--wald-80);
	font-family: var(--schrift-titel);
	font-size: 0.875rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.quelle {
	color: var(--wald-80);
	font-size: 0.8125rem;
	white-space: nowrap;
}

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

/* Knöpfe und Links */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.875rem 1.5rem;
	border-radius: var(--radius);
	font-family: var(--schrift-titel);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.knopf--primaer {
	background: var(--gruen);
	color: var(--wald);
}

.knopf--primaer:hover {
	background: var(--gruen-80);
}

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

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

.knopf--klein {
	min-height: 2.75rem;
	padding: 0.625rem 1.125rem;
	font-size: 0.9375rem;
}

.pfeil-link {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	color: var(--tinte);
	font-family: var(--schrift-titel);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 0.0625rem;
	text-underline-offset: 0.3em;
}

.pfeil-link::after {
	content: "→";
}

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

/* Kopf */

.kopf {
	border-bottom: 0.0625rem solid var(--linie);
	background: var(--weiss);
}

.kopf__innen {
	display: flex;
	gap: 2rem;
	align-items: center;
	max-width: var(--rahmen);
	min-height: 5rem;
	margin-inline: auto;
	padding-inline: var(--rand);
}

.kopf__logo img {
	width: 8.5rem;
}

.kopf__nav {
	display: flex;
	gap: 2rem;
	margin-left: auto;
	font-size: 1rem;
	font-weight: 500;
}

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

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

@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: 0.875rem;
		font-size: 0.875rem;
	}
}

/* Fuß */

.fuss {
	padding-block: 4.5rem 2rem;
	background: var(--wald);
	color: var(--wald-20);
	font-size: 1rem;
}

.fuss__raster {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
}

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

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

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

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

.fuss__titel {
	margin-bottom: 0.5rem;
	color: var(--weiss);
	font-family: var(--schrift-titel);
	font-weight: 600;
}

.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(--wald-80);
	color: var(--wald-40);
	font-size: 0.875rem;
}

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

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