/* Schriften lokal eingebunden (SIL Open Font License, siehe fonts/) */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("fonts/source-sans-3-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/source-serif-4-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg: #f8f9fb;
	--paper: #ffffff;
	--ink: #1f2b3a;
	--muted: #596678;
	--line: #dde3eb;
	--accent: #2f5f9e;
	--accent-dark: #244b7e;
	--accent-soft: #8fb3de;
	--header-offset: 42px;
	--max-width: 1120px;
	--radius: 6px;
	--shadow: 0 1px 3px rgba(31, 43, 58, 0.08);
	--font-sans: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-offset);
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}

.container {
	width: min(92%, var(--max-width));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(6px);
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.nav-wrap {
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.logo {
	font-family: var(--font-serif);
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	outline: none;
	background: rgba(47, 95, 158, 0.14);
}

.menu-toggle .bar {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transform-origin: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle .bar + .bar {
	margin-top: 0;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

nav a {
	color: var(--ink);
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 4px;
	font-weight: 500;
}

nav a:hover,
nav a:focus-visible {
	outline: none;
	color: var(--accent);
	background: rgba(47, 95, 158, 0.08);
}

.hero {
	padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.hero-copy {
	animation: rise-in 0.8s ease-out both;
}

.eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 10px;
}

h1,
h2,
h3 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.2;
	margin-top: 0;
}

h1 {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	margin-bottom: 14px;
	max-width: 22ch;
}

.lead {
	color: var(--muted);
	max-width: 58ch;
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	margin-bottom: 24px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.btn {
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 10px 18px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	display: inline-block;
}

.btn:focus-visible {
	outline: 2px solid var(--accent-soft);
	outline-offset: 2px;
}

.btn-primary {
	background: var(--accent);
	color: #fffdfb;
	border-color: var(--accent);
}

.btn-primary:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
}

.btn-secondary {
	background: transparent;
	color: var(--ink);
	border-color: #c5ced9;
}

.btn-secondary:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn-light {
	background: #ffffff;
	color: #1f3148;
	border-color: #ffffff;
}

.btn-light:hover {
	background: #e8eef6;
	border-color: #e8eef6;
}

.hero-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	animation: rise-in 0.9s ease-out 0.12s both;
}

.hero-card h2 {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
}

.contact-list {
	margin: 0;
	display: grid;
	gap: 10px;
	font-size: 0.95rem;
}

.contact-list div {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
}

.contact-list dt {
	color: var(--muted);
}

.contact-list dd {
	margin: 0;
}

.contact-list a {
	color: var(--ink);
	text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
	color: var(--accent);
	text-decoration: underline;
}

.hero-card-note {
	margin: 16px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

section {
	padding: clamp(28px, 4vw, 48px) 0;
	scroll-margin-top: var(--header-offset);
}

.section-head {
	margin-bottom: 22px;
}

.section-head h2 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	margin-bottom: 8px;
}

.section-head p {
	margin: 0;
	color: var(--muted);
	max-width: 62ch;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
	transition: border-color 0.2s ease;
}

.card:hover {
	border-color: var(--accent-soft);
}

.card h3 {
	font-size: 1.15rem;
	margin-bottom: 8px;
}

.card p {
	color: var(--muted);
	margin: 0;
}

.about-text {
	max-width: 70ch;
}

.about-text p {
	color: var(--muted);
	margin: 0 0 12px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.stat strong {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 600;
	line-height: 1.2;
}

.stat span {
	color: var(--muted);
}

.process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.step {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
}

.step span {
	color: var(--accent);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.step h3 {
	margin: 6px 0 8px;
	font-size: 1.15rem;
}

.step p {
	margin: 0;
	color: var(--muted);
}

.contact-block {
	background: #1f3148;
	color: #e8f1ff;
	border-radius: var(--radius);
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid #314866;
}

.contact-block h2 {
	margin-bottom: 10px;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.contact-block p {
	margin-top: 0;
	color: #cad8ec;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 24px 0 28px;
}

.contact-item {
	border-top: 1px solid rgba(143, 179, 222, 0.35);
	padding-top: 12px;
}

.contact-item strong {
	display: block;
	margin-bottom: 4px;
	color: #9fb6d4;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-item a,
.contact-item span {
	color: #ffffff;
	text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus-visible {
	text-decoration: underline;
}

.legal-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(20px, 2.8vw, 30px);
}

.legal-card p {
	margin: 0 0 12px;
	color: var(--muted);
}

.legal-card p:last-child {
	margin-bottom: 0;
}

.legal-page {
	padding-top: clamp(48px, 7vw, 88px);
}

.legal-page .container {
	--max-width: 760px;
}

.legal-page .section-head h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	max-width: none;
	margin-bottom: 10px;
}

.legal-card h2 {
	margin: 28px 0 10px;
	font-size: 1.25rem;
}

.legal-card h2:first-child {
	margin-top: 0;
}

.legal-card a {
	color: var(--accent);
}

.footer-links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.footer-links a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	text-decoration: underline;
}

footer {
	border-top: 1px solid var(--line);
	padding: 24px 0 34px;
	color: var(--muted);
	font-size: 0.95rem;
}

@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-card {
		max-width: 420px;
	}

	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.process {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.nav-wrap {
		align-items: center;
		flex-wrap: wrap;
		padding: 12px 0;
		row-gap: 8px;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	nav {
		width: 100%;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transform: translateY(-6px);
		transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
	}

	nav.is-open {
		max-height: 240px;
		opacity: 1;
		transform: translateY(0);
	}

	nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding-top: 6px;
	}

	nav a {
		display: block;
		border-radius: 4px;
		padding: 10px;
	}

	.cards,
	.process,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.stats {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.menu-open .menu-toggle .bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-open .menu-toggle .bar:nth-child(2) {
		opacity: 0;
	}

	.menu-open .menu-toggle .bar:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

@media (min-width: 621px) {
	nav {
		display: block !important;
		max-height: none !important;
		opacity: 1 !important;
		transform: none !important;
		overflow: visible !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@keyframes rise-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
