/* ==========================================================================
   Design Tokens — Bento Box Grid, gedämpfte Kanzlei-Palette
   (überschreibt die "Vibrant & Block-based" Rohvorgabe von ./uiux per
   FARB-GUARDRAIL: neutrale Basis + EIN Bronze-Akzent + dunkles Waldgrün)
   ========================================================================== */

:root {
	/* Farben — dynamische Werte kommen zusätzlich aus dem Customizer (inc/customizer.php) */
	--color-bg: #fbfaf8;
	--color-bg-soft: #f3f0ea;
	--color-surface: #ffffff;
	--color-ink: #1c1a17;
	--color-ink-soft: #57524a;
	--color-accent: #8a6a2b;
	--color-accent-soft: #e9dcc3;
	--color-dark: #1e2d25;
	--color-dark-ink: #f3f0ea;
	--color-border: rgba(28, 26, 23, 0.08);

	/* Bento-Grid */
	--grid-gap: 20px;
	--card-radius: 24px;
	--card-radius-sm: 16px;
	--shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.04), 0 2px 8px rgba(28, 26, 23, 0.04);
	--shadow-md: 0 8px 24px rgba(28, 26, 23, 0.08);
	--shadow-lg: 0 24px 60px rgba(28, 26, 23, 0.14);
	--hover-scale: 1.02;

	/* Typografie */
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Bewegung */
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--dur-fast: 180ms;
	--dur-med: 260ms;

	/* Layout */
	--container: 1280px;
	--header-h: 88px;
	--header-h-scrolled: 68px;

	/* Z-Index-Skala */
	--z-sticky: 100;
	--z-overlay: 200;
	--z-drawer: 210;
}

* ,
*::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;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

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

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

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

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	max-width: 65ch;
}

.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: clamp(56px, 8vw, 112px) 0;
}

.section--tight {
	padding: clamp(32px, 5vw, 64px) 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	margin-bottom: 0.75em;
}

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

.screen-reader-text,
.skip-link {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 999;
	background: var(--color-surface);
	padding: 12px 20px;
	border-radius: var(--card-radius-sm);
	box-shadow: var(--shadow-md);
}
