/* Stylesheet der Website. Absichtlich kurz und ohne Framework.
   Die Farben stehen als Variablen oben; wer die Seite umfärben will, ändert
   nur diesen Block. Der dunkle Satz greift, wenn das Gerät auf dunkle
   Darstellung eingestellt ist. */

:root {
	--grund: #fdfdfc;
	--text: #23211d;
	--gedaempft: #6b665e;
	--linie: #e2ded6;
	--betont: #8a5a2b;
	--flaeche: #f5f2ec;
}

@media (prefers-color-scheme: dark) {
	:root {
		--grund: #1b1a18;
		--text: #e8e4dc;
		--gedaempft: #a19a8e;
		--linie: #34322e;
		--betont: #d9a05b;
		--flaeche: #232220;
	}
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--grund);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
	/* Die Seite ist ein Text, kein Schaufenster: eine schmale Spalte liest sich
	   auf jedem Gerät besser als eine bildschirmbreite. */
	max-width: 44rem;
	margin: 0 auto;
	padding: 0 1.2rem 4rem;
}

a { color: var(--betont); }
a:hover { text-decoration: none; }

/* -------------------------------------------------------------------- Kopf */

.kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.6rem 1.4rem;
	padding: 2rem 0 1.2rem;
	border-bottom: 1px solid var(--linie);
	margin-bottom: 2.4rem;
}

.marke {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	margin-right: auto;
}

.kopf nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.kopf nav a { text-decoration: none; color: var(--gedaempft); }
.kopf nav a:hover { color: var(--betont); }
.kopf nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ Inhalt */

h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 0.6rem; }
h2 { font-size: 1.3rem; margin-top: 2.4rem; }
h3 { font-size: 1.1rem; margin-top: 1.8rem; }

.datum { color: var(--gedaempft); font-size: 0.92rem; margin: 0 0 1.8rem; }

.inhalt img { max-width: 100%; height: auto; border-radius: 4px; }

blockquote {
	margin: 1.6rem 0;
	padding: 0.2rem 0 0.2rem 1.1rem;
	border-left: 3px solid var(--linie);
	color: var(--gedaempft);
}

code {
	background: var(--flaeche);
	padding: 0.1em 0.35em;
	border-radius: 3px;
	font-size: 0.9em;
}

pre {
	background: var(--flaeche);
	padding: 0.9rem 1.1rem;
	border-radius: 5px;
	/* Breiter Code soll in seinem Kasten scrollen und nicht die ganze Seite
	   auseinanderziehen. */
	overflow-x: auto;
}
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--linie); }

/* ------------------------------------------------------------------- Listen */

.liste { margin-top: 3rem; }
.liste h2 { margin-bottom: 0.8rem; }
.liste ul { list-style: none; margin: 0; padding: 0; }

.liste li {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--linie);
}

.liste li a { font-weight: 600; text-decoration: none; }
.liste li a:hover { text-decoration: underline; }
.liste li time { display: block; color: var(--gedaempft); font-size: 0.88rem; }
.liste li p { margin: 0.35rem 0 0; color: var(--gedaempft); font-size: 0.96rem; }

.weiter {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--linie);
	font-size: 0.95rem;
}

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

.fuss {
	margin-top: 4rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--linie);
	color: var(--gedaempft);
	font-size: 0.9rem;
}
.fuss p { margin: 0.3rem 0; }
