/* MARCH PUMPEN – Basis: Tokens, Reset, Hilfsklassen, Buttons
   Schrift: Barlow (SIL OFL 1.1), lokal in assets/fonts/barlow/ eingebunden. */

/* Schrift (selbst gehostet, Latin-Subset inkl. Umlaute, „“ und €) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
	--color-bg: #050f1a;
	--color-bg-alt: #0a1a2b;
	--color-line: rgba(255, 255, 255, .16);
	--color-text: #eef4f9;
	--color-text-muted: #b9cad8;
	--color-blue: #0b8fdf;
	--color-blue-dark: #0877bd;
	--color-blue-deep: #06639f;
	--color-cyan: #47d0ff;
	--color-ink: #132338;

	--font-display: "Barlow Semi Condensed", "Barlow", "Segoe UI", system-ui, sans-serif;
	--color-paper: #f3f6f9;
	--color-ink-soft: #3b4d60;
	--font-base: "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(1.25rem, 4vw, 3rem);
	--container-max: 90rem;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
	background: var(--color-bg);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
	outline: 3px solid var(--color-cyan);
	outline-offset: 3px;
}

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

/* Layout */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main { flex: 1 0 auto; }
.site-main:focus { outline: none; }

/* Barrierefreiheit */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -6rem;
	z-index: 300;
	padding: .75rem 1rem;
	border-radius: .5rem;
	background: #fff;
	color: #000;
	font-weight: 700;
}
.skip-link:focus { top: .75rem; }

/* Icons */
.icon {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 3rem;
	padding: .7rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, border-color .2s;
}

.btn--primary {
	background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue-deep));
	color: #fff;
	box-shadow: 0 12px 34px rgba(11, 143, 223, .35);
}
.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 44px rgba(11, 143, 223, .5);
}
