/* Schriften – lokal eingebunden (keine Anfragen an Google o. Ä.) */
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

:root {
	--bg: #33626F;
	--glyph: #3E7383;
	--accent: #E3F2F7;
	--ink: #E3F2F7;
	--ink-muted: #A9CBD6;
	--logo-bg: #1E3A44;

	--mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter-x: clamp(16px, 6.7vw, 96px);
	--gutter-y: clamp(24px, 4.5vw, 64px);
}

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

html {
	color-scheme: dark;
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: var(--gutter-y) var(--gutter-x);
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	position: relative;
	isolation: isolate;
}

/* Hintergrund-Grafik */
.backdrop {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}
.backdrop .glyph { fill: var(--glyph); }
.backdrop .accent { fill: var(--accent); }

/* Kopf / Logo */
.brand {
	display: flex;
	align-items: center;
	gap: 16px;
}
.brand-logo {
	width: 44px;
	height: 44px;
	display: block;
}
.brand-logo rect { fill: var(--logo-bg); }
.brand-logo path { fill: var(--ink); }
.brand-name {
	font-family: var(--mono);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Liste der Websites */
main {
	display: flex;
	align-items: center;
	padding: 48px 0;
}
.sites {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--mono);
	font-weight: 600;
	font-size: clamp(1.25rem, 5.6vw, 2.1rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.sites li {
	display: flex;
	align-items: center;
	width: fit-content;
}
.sites li + li {
	margin-top: 0.5em;
}
.sites .arrow {
	flex: none;
	width: 0.8em;
	height: 0.8em;
	margin-right: 0.85em;
	background: var(--ink-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 7h10.2L7.6 3.4 9 2l6 6-6 6-1.4-1.4L11.2 9H1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 7h10.2L7.6 3.4 9 2l6 6-6 6-1.4-1.4L11.2 9H1z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 250ms ease, background-color 250ms ease;
}
@media (hover: hover) {
	.sites li:hover .arrow {
		transform: translateX(0.5em);
		background: var(--ink);
	}
}

/* Fußzeile */
.footer {
	font-size: 14px;
	line-height: 1.6;
}
.footer p {
	margin: 0;
}
.footer a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--ink-muted);
	text-underline-offset: 3px;
}
.footer a:hover,
.footer a:focus-visible {
	text-decoration-color: currentColor;
}

/* Datenschutzhinweis */
.privacy {
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 64px);
	max-height: calc(100svh - 64px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--logo-bg);
	color: var(--ink);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.privacy::backdrop {
	background: rgba(15, 32, 39, 0.6);
}
.privacy-body {
	position: relative;
	padding: clamp(24px, 5vw, 40px);
	font-size: 15px;
	line-height: 1.6;
}
.privacy h2 {
	margin: 0 0 16px;
	font-family: var(--mono);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: -0.01em;
}
.privacy h3 {
	margin: 24px 0 4px;
	font-family: var(--mono);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.privacy p {
	margin: 0;
}
/* Ohne JavaScript: Hinweis beim Klick auf "Datenschutz" direkt unter der Seite anzeigen */
html:not(.js) .privacy:target {
	display: block;
	position: static;
	width: auto;
	max-height: none;
	margin: 32px 0 0;
}
html:not(.js) .privacy-close {
	display: none;
}
.privacy .privacy-date {
	margin-top: 24px;
	font-size: 13px;
	color: var(--ink-muted);
}
.privacy-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ink);
	font: 28px/1 var(--sans);
	cursor: pointer;
}
.privacy-close:hover,
.privacy-close:focus-visible {
	background: rgba(227, 242, 247, 0.1);
}
.privacy-close:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sites .arrow { transition: none; }
}
