/* Schlankes, gemeinsames Grundgerüst für Rechtstexte und Layout-Reste,
   bewusst ohne Framework-Abhängigkeit — Bootstrap kommt erst mit dem
   eigentlichen Seitendesign (noch offen), nicht für zwei Rechtstexte. */

:root {
	--fg: #1b1b1b;
	--bg: #ffffff;
	--muted: #5a5a5a;
	--accent: #2454a6;
	--border: #e2e2e2;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fg);
	background: var(--bg);
	line-height: 1.6;
}

.page {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4rem;
}

h1 {
	font-size: 1.75rem;
	margin-bottom: 0.25rem;
}

h2 {
	font-size: 1.15rem;
	margin-top: 2rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.35rem;
}

p, li { color: var(--fg); }

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

nav.top {
	border-bottom: 1px solid var(--border);
	padding: 1rem 1.25rem;
}

nav.top a {
	text-decoration: none;
	font-weight: 600;
	color: var(--fg);
}

footer.site {
	border-top: 1px solid var(--border);
	margin-top: 3rem;
	padding: 1.25rem;
	font-size: 0.85rem;
	color: var(--muted);
	text-align: center;
}

footer.site a { color: var(--muted); }
footer.site a + a { margin-left: 1rem; }

#cookie-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #1b1b1b;
	color: #fff;
	padding: 1rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	z-index: 1000;
}

#cookie-consent-banner p {
	margin: 0;
	color: #fff;
	flex: 1 1 320px;
	font-size: 0.9rem;
}

#cookie-consent-banner a { color: #9ec1ff; }

.cookie-consent-actions {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.cookie-consent-actions button {
	padding: 0.5rem 0.9rem;
	border-radius: 4px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 0.85rem;
}

#cookie-consent-accept {
	background: #fff;
	color: #1b1b1b;
}

/* Pong — bewusst im Darkmode, unabhängig vom übrigen (hellen) Seitenlayout */

.pong-card {
	max-width: 720px;
	margin: 2rem auto 0;
	padding: 1.5rem;
	background: #101014;
	color: #f2f2f2;
	border-radius: 10px;
	text-align: center;
}

.pong-card h2 {
	color: #f2f2f2;
	border-bottom-color: #2a2a30;
	margin-top: 0;
}

.pong-hint {
	color: #a8a8b0;
	font-size: 0.9rem;
}

.pong-hint kbd {
	background: #24242c;
	border: 1px solid #3a3a44;
	border-radius: 4px;
	padding: 0.05rem 0.4rem;
	font-family: inherit;
	color: #f2f2f2;
}

.pong-score {
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	margin: 0.5rem 0 1rem;
}

.pong-score-sep {
	color: #5a5a66;
	margin: 0 0.5rem;
}

#pong {
	background: #000;
	border: 2px solid #2a2a30;
	border-radius: 6px;
	max-width: 100%;
	height: auto;
	touch-action: none;
}

.pong-status {
	color: #a8a8b0;
	font-size: 0.9rem;
	min-height: 1.4em;
}
