:root {
	color-scheme: light;
	--header-base: 80px;
	--header-offset: 80px;
	--bg: #ecf3ff;
	--text: #0f214f;
	--muted: #46609a;
	--line: #cfdbf6;
	--accent: #2d66ff;
	--accent-dark: #163fb9;
	--panel: #ffffffd6;
	--panel-strong: #ffffff;
	--header-bg: rgba(236, 243, 255, 0.85);
	--header-border: rgba(15, 33, 79, 0.09);
	--dialog-backdrop: rgba(15, 33, 79, 0.45);
	--radius: 18px;
	--shadow: 0 18px 38px rgba(15, 33, 79, 0.12);
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/manrope-400.ttf") format("truetype");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/manrope-500.ttf") format("truetype");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/manrope-700.ttf") format("truetype");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/manrope-800.ttf") format("truetype");
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/space-grotesk-500.ttf") format("truetype");
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/space-grotesk-700.ttf") format("truetype");
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0a0a10;
	--text: #e7eeff;
	--muted: #999bb3;
	--line: #1f2235;
	--accent: #6f9dff;
	--accent-dark: #8baae6;
	--panel: #12121ad6;
	--panel-strong: #12121a;
	--header-bg: rgba(10, 10, 16, 0.92);
	--header-border: rgba(151, 178, 255, 0.1);
	--dialog-backdrop: rgba(2, 5, 13, 0.75);
	--shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

:root[data-theme="dark"] .bg-shape {
	opacity: 0;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 8% 10%, rgba(143, 207, 255, 0.28), transparent 36%),
		radial-gradient(circle at 94% 0%, rgba(45, 102, 255, 0.23), transparent 32%),
		var(--bg);
	line-height: 1.55;
	overflow-x: hidden;
	transition: background 450ms ease, color 450ms ease;
}

:root[data-theme="dark"] body {
	background: var(--bg);
}

main {
	scroll-snap-type: y mandatory;
}

.bg-shape {
	position: fixed;
	z-index: -1;
	border-radius: 999px;
	filter: blur(70px);
	opacity: 0.45;
}

.bg-shape--one {
	width: 320px;
	height: 320px;
	background: #9ec1ff;
	top: -120px;
	left: -90px;
}

.bg-shape--two {
	width: 280px;
	height: 280px;
	background: #95dcff;
	right: -90px;
	bottom: 8%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(10px);
	background: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	transition: background-color 450ms ease, border-color 450ms ease;
}

.nav-shell {
	width: min(1160px, 94vw);
	margin: 0 auto;
	min-height: var(--header-base);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
}

.brand {
	text-decoration: none;
	color: var(--text);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 1.14rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.15rem;
}

.theme-toggle {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
	background: color-mix(in srgb, var(--panel-strong) 85%, transparent);
	color: var(--text);
	display: inline-grid;
	place-items: center;
	cursor: pointer;
	overflow: hidden;
	opacity: 0.88;
	transition: transform 240ms ease, border-color 350ms ease, background-color 350ms ease, opacity 220ms ease;
}

.theme-toggle:hover {
	transform: translateY(-1px);
	opacity: 1;
}

.theme-icon {
	position: absolute;
	font-size: 0.9rem;
	line-height: 1;
	transition: transform 350ms ease, opacity 350ms ease;
}

.theme-icon--sun {
	opacity: 1;
	transform: translateY(0) rotate(0deg);
}

.theme-icon--moon {
	opacity: 0;
	transform: translateY(12px) rotate(-30deg);
}

:root[data-theme="dark"] .theme-icon--sun {
	opacity: 0;
	transform: translateY(-12px) rotate(35deg);
}

:root[data-theme="dark"] .theme-icon--moon {
	opacity: 1;
	transform: translateY(0) rotate(0deg);
}

.site-nav a {
	text-decoration: none;
	color: var(--text);
	font-weight: 600;
}

.site-nav a.is-active {
	color: var(--accent-dark);
}

.panel {
	scroll-snap-align: start;
	scroll-margin-top: var(--header-offset);
	min-height: calc(100svh - var(--header-offset));
	width: 100%;
	padding: clamp(1rem, 2.6vh, 2rem) clamp(1rem, 4vw, 3rem);
	display: flex;
	align-items: center;
}

.content {
	width: min(1120px, 100%);
	margin: 0 auto;
}

.panel--alt {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.76)),
		repeating-linear-gradient(
			45deg,
			rgba(45, 102, 255, 0.03),
			rgba(45, 102, 255, 0.03) 10px,
			rgba(45, 102, 255, 0.06) 10px,
			rgba(45, 102, 255, 0.06) 20px
		);
}

:root[data-theme="dark"] .panel--alt {
	background:
		linear-gradient(180deg, rgba(17, 26, 52, 0.52), rgba(17, 26, 52, 0.75)),
		repeating-linear-gradient(
			45deg,
			rgba(111, 157, 255, 0.07),
			rgba(111, 157, 255, 0.07) 10px,
			rgba(111, 157, 255, 0.03) 10px,
			rgba(111, 157, 255, 0.03) 20px
		);
}

.eyebrow {
	display: inline-block;
	margin: 0 0 0.8rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(45, 102, 255, 0.12);
	color: var(--accent-dark);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.18;
}

h1 {
	max-width: 17ch;
	font-size: clamp(2rem, 4.4vw, 4rem);
	font-family: "Space Grotesk", sans-serif;
}

h2 {
	font-size: clamp(1.5rem, 2.7vw, 2.5rem);
	font-family: "Space Grotesk", sans-serif;
	margin-bottom: 1rem;
}

.lead {
	max-width: 68ch;
	color: var(--muted);
	margin: 1rem 0 1.5rem;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.btn {
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0.72rem 1.15rem;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(110deg, var(--accent), var(--accent-dark));
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn:visited,
.btn:hover,
.btn:active,
.btn:focus-visible {
	color: #fff;
}

.site-nav a.btn,
.site-nav a.btn:visited,
.site-nav a.btn:hover,
.site-nav a.btn:active,
.site-nav a.btn:focus-visible {
	color: #fff;
}

.btn--ghost {
	color: #000;
	background: transparent;
	border: 1.5px solid #000;
}

:root[data-theme="dark"] .btn--ghost {
	color: var(--text);
	border-color: var(--text);
}

.btn--small {
	padding: 0.45rem 0.95rem;
}

.grid {
	display: grid;
	gap: 1rem;
}

.cards,
.steps {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.steps article,
.faq-list details {
	background: var(--panel-strong);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.15rem;
	box-shadow: var(--shadow);
	transition: background-color 450ms ease, border-color 450ms ease, box-shadow 450ms ease;
}

.card p,
.steps p,
.faq-list p,
.cta p {
	margin: 0.5rem 0 0;
	color: var(--muted);
}

.steps span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	background: #90d2ff;
	font-weight: 800;
	margin-bottom: 0.6rem;
}

.faq-list {
	display: grid;
	gap: 0.8rem;
}

.faq-list summary {
	cursor: pointer;
	font-weight: 700;
}

.about-inline {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1rem;
	align-items: center;
	background: var(--panel-strong);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.25rem;
	transition: background-color 450ms ease, border-color 450ms ease, box-shadow 450ms ease;
}

.about-inline__text {
	padding: 0;
}

.about-inline__text p {
	color: var(--muted);
}

.about-inline__image {
	margin: 0;
	padding: 0;
}

.about-inline__image img {
	display: block;
	width: 100%;
	height: min(58svh, 560px);
	object-fit: cover;
	object-position: center 34%;
	border-radius: 12px;
}

.cta {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	transition: background-color 450ms ease, border-color 450ms ease, box-shadow 450ms ease;
}

.cta-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.cta-copy .btn {
	margin-top: 0.45rem;
}

.qr-wrap {
	text-align: center;
}

.qr-code {
	width: 190px;
	height: 190px;
	margin: 0 auto 0.5rem;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	display: block;
	object-fit: contain;
	padding: 6px;
}

.site-footer {
	padding: 0.8rem 1rem 1.2rem;
}

.footer-shell {
	width: min(1120px, 100%);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-link {
	border: 0;
	background: transparent;
	color: var(--accent-dark);
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.impressum-dialog {
	width: min(720px, 92vw);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 0;
	box-shadow: 0 24px 60px rgba(15, 33, 79, 0.25);
	background: #fff;
}

.impressum-dialog::backdrop {
	background: var(--dialog-backdrop);
	backdrop-filter: blur(3px);
}

.impressum-dialog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid var(--line);
}

.impressum-dialog__head h2 {
	margin: 0;
	font-size: 1.25rem;
}

.impressum-close {
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--text);
}

.impressum-dialog__body {
	padding: 1rem 1.1rem 1.2rem;
	color: var(--text);
}

.impressum-dialog__body p {
	margin: 0.6rem 0;
	color: var(--muted);
}

.impressum-dialog__body strong {
	color: var(--text);
}

.impressum-note {
	font-size: 0.92rem;
	padding: 0.65rem 0.75rem;
	background: #f1f5ff;
	border-radius: 10px;
}

.qr-placeholder {
	width: 140px;
	height: 140px;
	margin: 0 auto 0.5rem;
	border-radius: 12px;
	border: 2px dashed #4c6fc2;
	display: grid;
	place-items: center;
	font-weight: 700;
	color: #2b488d;
	background:
		linear-gradient(45deg, rgba(76, 111, 194, 0.09) 25%, transparent 25%, transparent 75%, rgba(76, 111, 194, 0.09) 75%),
		linear-gradient(45deg, rgba(76, 111, 194, 0.09) 25%, transparent 25%, transparent 75%, rgba(76, 111, 194, 0.09) 75%);
	background-size: 16px 16px;
	background-position: 0 0, 8px 8px;
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 920px) {
	main {
		scroll-snap-type: none;
	}

	.panel {
		min-height: calc(100svh - var(--header-offset));
		height: auto;
	}

	.cards,
	.steps,
	.about-inline {
		grid-template-columns: 1fr;
	}

	.cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.qr-code {
		width: 170px;
		height: 170px;
	}
}

@media (max-width: 680px) {
	.nav-shell {
		flex-direction: column;
		align-items: flex-start;
		padding: 0.6rem 0;
	}

	.site-nav {
		flex-wrap: wrap;
		row-gap: 0.65rem;
	}

	.footer-shell {
		flex-direction: column;
		align-items: flex-start;
	}

	.panel {
		min-height: auto;
		padding-top: 1rem;
		padding-bottom: 1.2rem;
	}
}
