/* =========================================================
   Vita-Leben GmbH — Base: Reset, Variablen, Typografie
   Stil: Klinische Klarheit — Petrol & Sand
   ========================================================= */

:root {
	--primary: oklch(0.32 0.045 172);
	--primary-dark: oklch(0.25 0.04 172);
	--primary-soft: oklch(0.32 0.045 172 / 0.08);
	--bg: #FAF7F2;
	--surface: #FFFFFF;
	--surface-sunken: #F2EDE4;
	--text: #1A2E2B;
	--text-muted: #4B5D59;
	--accent: oklch(0.65 0.1 45);
	--accent-soft: oklch(0.65 0.1 45 / 0.12);
	--border: oklch(0.32 0.045 172 / 0.14);
	--radius: 4px;
	--radius-feature: 20px;
	--space-unit: 0.5rem;
	--font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
	--font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--shadow-sm: 0 1px 2px oklch(0.2 0.03 172 / 0.08), 0 1px 1px oklch(0.2 0.03 172 / 0.04);
	--shadow-md: 0 12px 28px -12px oklch(0.2 0.03 172 / 0.22);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 180ms;
	--dur-base: 260ms;
	--container-w: 1200px;
}

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
	line-height: 1.6;
	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;
	max-width: 32px;
	max-height: 32px;
}

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

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

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--primary-dark);
	line-height: 1.12;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
	max-width: 68ch;
	margin: 0 0 1.1em;
}

h1 {
	font-size: clamp(2.4rem, 2rem + 2.4vw, 4.25rem);
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.9rem, 1.65rem + 1.3vw, 2.75rem);
	letter-spacing: -0.005em;
}

h3 {
	font-size: clamp(1.3rem, 1.18rem + 0.5vw, 1.6rem);
}

.eyebrow {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.9em;
}

.eyebrow-on-dark {
	color: oklch(0.9 0.03 60);
}

.lead {
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	color: var(--text-muted);
}

.container {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.skip-link {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 10000;
	background: var(--primary);
	color: #fff;
	padding: 0.7rem 1.2rem;
	border-radius: var(--radius);
	transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
	top: 1rem;
	width: auto;
	height: auto;
	clip: auto;
}

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

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--primary);
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.2rem;
	margin-top: 1.5rem;
	transition: border-color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}

.text-link:hover {
	border-color: var(--accent);
	gap: 0.6rem;
}

.text-link .icon {
	width: 1.1em;
	height: 1.1em;
}
