/* ===== Design-Tokens: Klinische Klarheit ===== */
:root {
	--ink: #1B3A4B;
	--ink-soft: #3F5A68;
	--accent: #7A9B8E;
	--accent-strong: #4F6B5F;
	--bg: #FAFBFC;
	--surface: #F1F0EC;
	--surface-tint: oklch(97% 0.01 220);
	--border: #E3E0D8;
	--white: #FFFFFF;

	--radius: 6px;
	--radius-feature: 28px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--duration-ui: 220ms;
	--duration-reveal: 650ms;

	--shadow-sm: 0 1px 2px rgba(27, 58, 75, 0.07), 0 1px 1px rgba(27, 58, 75, 0.04);
	--shadow-md: 0 16px 32px -12px rgba(27, 58, 75, 0.22);

	--font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
	--font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	--space-2xs: 0.75rem;
	--space-xs: 1.5rem;
	--space-sm: 2.5rem;
	--space-md: 4rem;
	--space-lg: 6rem;
	--space-xl: 8rem;
	--space-2xl: 10rem;

	--step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
	--step-0: 1.125rem;
	--step-1: 1.375rem;
	--step-2: 1.75rem;
	--step-3: 2.25rem;
	--step-4: clamp(2.5rem, 2rem + 2vw, 3.25rem);
	--step-5: clamp(2.75rem, 2.1rem + 2.8vw, 4.25rem);

	--max-line: 65ch;
	--header-h: 5.75rem;
	--header-h-scrolled: 4.25rem;
}

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

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.12;
	font-weight: 600;
	text-wrap: pretty;
	margin: 0 0 0.6em;
}

h1 { font-size: var(--step-5); font-weight: 500; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

p {
	margin: 0 0 1.2em;
	max-width: var(--max-line);
}

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	cursor: pointer;
}

ul, dl, dd {
	margin: 0;
	padding: 0;
	list-style: none;
}

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;
	max-width: 32px;
	max-height: 32px;
}

.icon--sm { width: 1.1em; height: 1.1em; }
.icon--flip { transform: scaleX(-1); }

.wrap {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--white);
	padding: 0.75rem 1.25rem;
	z-index: 200;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent-strong);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
