/* Datenschutzerklärung (#821) — bewusst eigenständiges CSS.
 *
 * Warum nicht Tailwind/app.css:
 * 1. `src/input.css` scannt per @source nur public/js, public/components und
 *    public/index.html — Utility-Klassen in public/privacy/**.html würden gar
 *    nicht generiert werden.
 * 2. Die Seite muss unabhängig vom Build-Schritt und ohne externe Requests
 *    (keine Google Fonts, kein jsDelivr) funktionieren: eine Datenschutzseite
 *    soll selbst keine Daten an Dritte abfließen lassen, und der Play-Reviewer
 *    muss sie auch ohne JS lesen können.
 */

:root {
	--lf-canvas: #10051a;
	--lf-surface: #131517;
	--lf-primary: #ff6a12;
	--lf-accent: #14b8a6;
	--lf-text: #fdfffd;
	--lf-muted: #9ca3af;
	--lf-border: rgba(255, 255, 255, 0.08);
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--lf-canvas);
	color: var(--lf-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.wrap {
	max-width: 52rem;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 5rem;
}

/* ── Header ─────────────────────────────────────────────── */

.brand {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin-bottom: 0.35rem;
}

.brand-name {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.brand-dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--lf-primary);
	flex: none;
	align-self: center;
}

.brand-claim {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
}

h1 {
	font-size: 1.9rem;
	line-height: 1.25;
	margin: 1.6rem 0 0.5rem;
}

.updated {
	color: var(--lf-muted);
	font-size: 0.9rem;
	margin: 0 0 1.75rem;
}

/* ── Sprachumschalter ───────────────────────────────────── */

.langs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.langs a {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	border: 1px solid var(--lf-border);
	border-radius: 999px;
	background: var(--lf-surface);
	color: var(--lf-muted);
	font-size: 0.85rem;
	text-decoration: none;
}

.langs a:hover,
.langs a:focus-visible {
	color: var(--lf-text);
	border-color: var(--lf-accent);
}

.langs a[aria-current="page"] {
	color: var(--lf-text);
	border-color: var(--lf-primary);
	background: rgba(255, 106, 18, 0.14);
}

/* ── Entwurfs-Banner (vor Live-Schaltung entfernen) ─────── */

.draft-note {
	border: 1px solid rgba(255, 106, 18, 0.45);
	background: rgba(255, 106, 18, 0.1);
	border-radius: 0.85rem;
	padding: 0.9rem 1.1rem;
	margin: 0 0 2rem;
	font-size: 0.9rem;
	color: #ffd9c2;
}

/* ── Inhalt ─────────────────────────────────────────────── */

h2 {
	font-size: 1.2rem;
	margin: 2.4rem 0 0.7rem;
	padding-top: 0.4rem;
	scroll-margin-top: 1rem;
}

h3 {
	font-size: 1rem;
	margin: 1.5rem 0 0.4rem;
	color: var(--lf-accent);
}

p,
li {
	color: #e5e7eb;
}

ul {
	padding-left: 1.15rem;
}

li {
	margin-bottom: 0.35rem;
}

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

a:hover {
	color: var(--lf-accent);
}

.toc {
	background: var(--lf-surface);
	border: 1px solid var(--lf-border);
	border-radius: 0.85rem;
	padding: 1rem 1.25rem;
}

.toc ol {
	margin: 0.4rem 0 0;
	padding-left: 1.2rem;
	columns: 2;
	column-gap: 2rem;
}

.toc li {
	break-inside: avoid;
}

.callout {
	border-left: 3px solid var(--lf-primary);
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 0.6rem 0.6rem 0;
	padding: 0.8rem 1.1rem;
	margin: 1.1rem 0;
}

.table-scroll {
	overflow-x: auto;
	margin: 1rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	min-width: 34rem;
}

th,
td {
	text-align: left;
	vertical-align: top;
	padding: 0.6rem 0.7rem;
	border-bottom: 1px solid var(--lf-border);
}

th {
	color: var(--lf-text);
	font-weight: 600;
	background: rgba(255, 255, 255, 0.04);
}

td {
	color: #d1d5db;
}

/* Noch von Mike zu ergänzende Angaben — bewusst auffällig. */
.tbd {
	background: rgba(255, 106, 18, 0.22);
	border-bottom: 1px dashed var(--lf-primary);
	padding: 0 0.25rem;
	border-radius: 0.2rem;
	color: #ffd9c2;
	font-style: normal;
}

footer {
	margin-top: 3rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--lf-border);
	color: var(--lf-muted);
	font-size: 0.85rem;
}

@media (max-width: 640px) {
	.toc ol {
		columns: 1;
	}

	h1 {
		font-size: 1.55rem;
	}
}
