/* Basis: Typografie, Grundfarben, Zugänglichkeit */

html {
	scroll-behavior: smooth;
}

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

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: 400;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--primary);
	line-height: var(--lh-heading);
	font-weight: 500;
	text-wrap: pretty;
	margin: 0 0 0.6em;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p {
	margin: 0 0 1.1em;
	max-width: var(--measure);
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

ul, ol {
	padding-left: 1.2em;
}

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

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

.container--narrow {
	max-width: var(--container-narrow);
}

/* Icons: dezentes Beiwerk, nie Blickfang. Feste Größe am SVG + hartes CSS-Deckel. */
.icon {
	width: 1.4em;
	height: 1.4em;
	flex: 0 0 auto;
	vertical-align: middle;
	color: currentColor;
	max-width: 32px;
	max-height: 32px;
}

.icon--sm { width: 20px; height: 20px; }
.icon--md { width: 24px; height: 24px; }

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

.skip-link {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 1000;
	background: var(--primary);
	color: var(--primary-ink);
	padding: 0.75em 1.25em;
	border-radius: var(--radius);
	transition: top var(--dur) var(--ease-out);
}

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

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 0.85em 1.5em;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.btn--primary {
	background: var(--primary);
	color: var(--primary-ink);
}

.btn--primary:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.btn--primary:active {
	transform: scale(0.98);
}

.btn--block {
	width: 100%;
	justify-content: center;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 0.15em;
	transition: gap var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.link-arrow:hover {
	gap: 0.65em;
	border-color: var(--accent);
}

.link-arrow .icon {
	transition: transform var(--dur) var(--ease-out);
}

address {
	font-style: normal;
}
