/* ==========================================================================
   Base — Reset, Design Tokens, Typografie
   Werkstatt-Präzision: robust, materialnah, präzise.
   ========================================================================== */

:root {
	--primary: #23252A;
	--accent: #D9622B;
	--bg: #F4F2ED;
	--muted: #8A8D93;
	--radius: 2px;
	--font-display: 'Fjalla One', sans-serif;
	--font-body: 'Source Sans 3', sans-serif;

	--ink: oklch(28% 0.02 260);
	--ink-soft: oklch(42% 0.015 260);
	--surface: #FFFFFF;
	--surface-alt: var(--bg);
	--border: oklch(85% 0.008 260);

	--container: 1280px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--grid-gap: clamp(1rem, 2vw, 2.5rem);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 180ms;
	--dur-base: 260ms;
}

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface);
	overflow-x: hidden;
	text-wrap: pretty;
}

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;
}

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

h1 { font-size: clamp(2.4rem, 3.4vw + 1.2rem, 4.2rem); }
h2 { font-size: clamp(1.9rem, 2vw + 1.2rem, 2.9rem); }
h3 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.6rem); }

p {
	margin: 0 0 1em;
	max-width: 62ch;
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

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

button {
	font-family: inherit;
	cursor: pointer;
}

.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: 1000;
	background: var(--primary);
	color: #fff;
	padding: 0.75rem 1.25rem;
	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;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 0 0 0.9em;
}

.eyebrow::before {
	content: '';
	width: 1.6em;
	height: 3px;
	background: var(--accent);
	flex: 0 0 auto;
}

.section__intro {
	max-width: 44rem;
	margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.section__intro--light .eyebrow,
.section__intro--light .section__heading {
	color: #fff;
}

.section__intro--light .eyebrow {
	color: rgba(255, 255, 255, 0.85);
}

.section__heading {
	margin-bottom: 0.4em;
}

.section__subtitle {
	color: var(--ink-soft);
	font-size: 1.05rem;
}
