/* ==========================================================================
   01 — Base: reset, design tokens, typography
   Design-System "Konturierte Klarheit": Graphit / Papierweiß / Terracotta
   Typo-Skala ~1.333 (Minor-Third) ab 18px Fließtext-Basis.
   ========================================================================== */

:root {
	--primary: oklch(22% 0.015 260);
	--accent: oklch(58% 0.14 38);
	--accent-ink: oklch(45% 0.13 35); /* AA-sicherer Terracotta-Text auf Papierweiß */
	--accent-soft: oklch(91% 0.045 40);

	--ink: oklch(22% 0.015 260);
	--ink-soft: oklch(38% 0.012 260);
	--ink-faint: oklch(55% 0.01 260);
	--bg: oklch(97% 0.012 80);
	--bg-alt: oklch(94% 0.014 75);
	--surface: oklch(99% 0.004 90);
	--border: oklch(88% 0.01 80);
	--border-strong: oklch(78% 0.012 70);

	--radius: 2px;
	--radius-feature: 22px;

	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--space-unit: 8px;
	--space-2xs: 0.5rem;
	--space-xs: 1rem;
	--space-sm: 1.5rem;
	--space-md: clamp(2.5rem, 2rem + 2vw, 4rem);
	--space-lg: clamp(4rem, 3rem + 4vw, 6.5rem);
	--space-xl: clamp(6rem, 4.5rem + 6vw, 10rem);

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--dur-fast: 180ms;
	--dur-base: 260ms;

	--shell-max: 1320px;
	--shell-pad: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem; /* 18px */
	line-height: 1.6;
	text-wrap: pretty;
	overflow-x: hidden;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }

.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 0.5em;
	text-wrap: pretty;
	color: var(--primary);
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 1.65rem + 2.4vw, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.625rem); font-weight: 600; }
h4 { font-size: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem); font-weight: 600; font-family: var(--font-body); }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-ink);
	margin: 0 0 var(--space-xs);
}
.eyebrow--inverse { color: color-mix(in oklch, var(--accent) 70%, white 30%); }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--primary);
	color: #fff;
	padding: 0.75em 1.25em;
	z-index: 1000;
	border-radius: var(--radius);
}
.skip-link:focus {
	left: var(--space-xs);
	top: var(--space-xs);
}

:focus-visible {
	outline: 2px solid var(--accent-ink);
	outline-offset: 3px;
}

.shell {
	max-width: var(--shell-max);
	margin-inline: auto;
	padding-inline: var(--shell-pad);
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(1rem, 2vw, 2.5rem);
}

.section { padding-block: var(--space-lg); }
.section + .section { padding-top: 0; }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
	flex-wrap: wrap;
}

.facts-list { list-style: none; margin: 0 0 var(--space-sm); padding: 0; display: flex; flex-direction: column; gap: 0.85em; }
.facts-list li, .facts-list a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
}
.facts-list li > .icon, .facts-list a > .icon { color: var(--accent-ink); flex-shrink: 0; }
.facts-list--lg li, .facts-list--lg a { font-size: 1.05rem; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--accent-ink);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}
.text-link .icon { width: 1.1em; height: 1.1em; }
.text-link:hover { border-color: currentColor; gap: 0.6rem; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85em 1.5em;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid var(--primary);
	transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
	cursor: pointer;
}
.btn--outline { background: transparent; color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--bg); }
.btn--solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--solid:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: scale(0.98); }

ul.block-list, .page-content ul, .page-content ol {
	padding-left: 1.3em;
	margin: 0 0 1.1em;
}
.page-content li { margin-bottom: 0.4em; }
.page-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover { color: var(--accent); }

@media (max-width: 900px) {
	h1 { font-size: clamp(2rem, 1.5rem + 3vw, 2.75rem); }
	.section { padding-block: var(--space-md); }
}

@media (max-width: 600px) {
	body { font-size: 1.0625rem; }
	.section-head { flex-direction: column; align-items: flex-start; }
}
