/* ── Stil für die Rechtstexte der PLATTFORM (chor-app.de) ──────────────────
 *
 * Bewusst eine eigene, kleine Datei statt der kompletten Landingpage-CSS:
 * Diese Seiten müssen auch dann noch lesbar sein, wenn an der Landingpage
 * gearbeitet wird. Tokens sind mit app/src/app.css und marketing/index.html
 * abgeglichen (Lavendel-Editorial).
 *
 * Kein externer Aufruf — Schriften liegen unter fonts/, wie auf der
 * Landingpage. Eine Datenschutzerklärung, die beim Aufruf eine fremde
 * Schriftbibliothek nachlädt, widerspricht sich selbst.
 */

:root {
	--paper: #f4f1ea;
	--surface: #ffffff;
	--text: #17161c;
	--text-muted: #6b6a72;
	--border: #e6e2d8;
	--primary: #6a5ae0;
	--radius: 12px;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0 1.25rem;
	background: var(--paper);
	color: var(--text);
	font-family: 'Inter', system-ui, sans-serif;
	/* rem statt px: Wer die Schrift im Browser vergrößert, soll das auch hier
	 * können (WCAG 2.2 AA, Projektregel). */
	font-size: 1.0625rem;
	line-height: 1.65;
}

main {
	max-width: 44rem;
	margin: 0 auto;
	padding: 3rem 0 4rem;
}

h1,
h2 {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2rem;
	margin: 0 0 0.5rem;
}

h2 {
	font-size: 1.25rem;
	margin: 2.5rem 0 0.75rem;
}

a {
	color: var(--primary);
}

/* Fokus sichtbar lassen — nie ausblenden (WCAG 2.2 AA). */
a:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.zurueck {
	display: inline-block;
	/* 44 px Mindest-Ziel: die Zurück-Zeile ist auf dem Telefon der einzige
	 * Weg zurück zur Startseite. */
	min-height: 2.75rem;
	line-height: 2.75rem;
	text-decoration: none;
}

.stand {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin: 0 0 2rem;
}

.kasten {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
}

address {
	font-style: normal;
}

footer {
	border-top: 1px solid var(--border);
	margin-top: 3rem;
	padding-top: 1.5rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #131218;
		--surface: #1c1b22;
		--text: #f0eef5;
		--text-muted: #a5a3ad;
		--border: #2e2d36;
		--primary: #a99bff;
	}
}
