/* ==========================================================================
   Design-Tokens – "Schiefer & Kupfer – Handwerkliche Präzision"
   ========================================================================== */

:root {
	/* Farben: hex zuerst als Fallback, oklch überschreibt in modernen Browsern */
	--primary: #262b33;
	--primary: oklch(28% 0.02 250);
	--primary-light: #3a4150;
	--primary-light: oklch(36% 0.02 250);

	--accent: #b5603a;
	--accent: oklch(56% 0.14 40);
	--accent-dark: #8f4a2c;
	--accent-dark: oklch(46% 0.13 40);

	--secondary: #a8765a;
	--secondary: oklch(62% 0.09 45);

	--bg: #f5f3ef;
	--bg: oklch(96% 0.006 80);
	--surface: #ffffff;
	--text: #1c1f24;
	--text: oklch(21% 0.015 250);
	--text-muted: #565d68;
	--text-muted: oklch(45% 0.015 250);
	--border-hairline: rgba(28, 31, 36, 0.1);
	--on-dark: #f5f3ef;
	--on-dark-muted: rgba(245, 243, 239, 0.72);

	--radius: 2px;
	--shadow-elev: 0 8px 24px rgba(0, 0, 0, 0.12);
	--shadow-soft: 0 2px 10px rgba(28, 31, 36, 0.08);

	--font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
	--font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;

	--container-w: min(1240px, 92vw);
	--gap: clamp(1rem, 3vw, 2.5rem);

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

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@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;
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
}

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

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

a {
	color: inherit;
}

.dsk-container {
	width: var(--container-w);
	margin-inline: auto;
}

.dsk-section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.dsk-skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	background: var(--primary);
	color: var(--on-dark);
	padding: 0.75rem 1.25rem;
	z-index: 999;
	border-radius: var(--radius);
}

.dsk-skip-link:focus {
	left: 1rem;
	top: 1rem;
}

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