/* Reset + Basistypografie */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	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;
}

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

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

button {
	font: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	margin: 0 0 0.5em;
	text-wrap: pretty;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(2.4rem, 4.6vw, 4.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
	color: var(--ink-soft);
}

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

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.9em;
}

.kicker::before {
	content: '';
	width: 20px;
	height: 1px;
	background: var(--accent);
}

.mono {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
}

::selection {
	background: var(--accent-soft);
	color: var(--ink);
}

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

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

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

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

/* Gutenberg-Inhalte auf Unterseiten */
.entry-content > * + * {
	margin-top: 1.3em;
}

.entry-content ul,
.entry-content ol {
	list-style: disc;
	padding-left: 1.4em;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content a:not(.btn) {
	color: var(--accent);
	text-underline-offset: 3px;
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	transition: text-decoration-color var(--dur-fast) var(--ease-out);
}

.entry-content a:not(.btn):hover {
	text-decoration-color: var(--accent);
}

@media (max-width: 600px) {
	body {
		font-size: 15.5px;
	}
}
