@font-face {
	font-family: 'Bricolage';
	src: url('/fonts/bricolage.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: 'Atkinson';
	src: url('/fonts/atkinson.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--night: #1c1530;
	--panel: #261d3f;
	--panel-raised: #2f2550;
	--line: #3d3263;
	--text: #f4f0ff;
	--muted: #b3aad0;
	--faint: #8b80a8;
	--signal: #ffcf4d;
	--signal-ink: #2a1d00;
	--ok: #7fe3b5;
	--display: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
	--body: 'Atkinson', 'Segoe UI', system-ui, sans-serif;
	--gutter: 16px;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
	/* Ping-Wellen oben rechts, laufen nach unten in die Grundfarbe aus */
	background:
		linear-gradient(180deg, transparent 0, transparent 420px, var(--night) 900px),
		url('/img/hero.jpg') right top / max(1100px, 100vw) auto no-repeat,
		var(--night);
	color: var(--text);
	font: 17px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}
a { color: var(--signal); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kopf ---------- */

.site-head { display: flex; align-items: center; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--text); }
@media (max-width: 600px) { .site-head nav a:not(.btn):not([hreflang]) { display: none; } }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 22px; border-radius: 12px;
	background: var(--signal); color: var(--signal-ink);
	font-family: var(--display); font-weight: 700; text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn-quiet { background: transparent; color: var(--text); border: 1px solid var(--line); }
.site-head .btn { min-height: 40px; padding: 0 16px; font-size: 15px; color: var(--signal-ink); }

/* ---------- Hero ---------- */

.hero { display: grid; gap: 40px; padding-block: 40px 72px; align-items: center; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.15fr 1fr; padding-block: 72px 96px; } }
.hero h1 { font-size: clamp(36px, 6.2vw, 64px); font-weight: 780; }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.hero-note { color: var(--faint); font-size: 15px; }

/* Sperrbildschirm mit eintreffender Meldung – das eine bewegte Element der Seite */
.lockscreen {
	position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 15;
	border-radius: 38px; padding: 64px 14px 14px;
	background:
		radial-gradient(120% 70% at 30% 0%, #3a2a66 0%, transparent 60%),
		linear-gradient(180deg, #241a40, #140f24);
	border: 1px solid var(--line);
}
.lock-time { text-align: center; font-family: var(--display); font-size: 64px; font-weight: 300; letter-spacing: -0.03em; }
.lock-date { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.note {
	display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; align-items: start;
	padding: 12px 14px; margin-top: 10px; border-radius: 18px;
	background: color-mix(in srgb, var(--text) 13%, transparent);
	backdrop-filter: blur(10px);
	font-size: 14.5px; line-height: 1.4;
}
.note img { width: 36px; height: 36px; border-radius: 9px; grid-row: span 2; }
.note strong { font-family: var(--display); font-size: 14.5px; }
.note span { color: var(--muted); }
.note-new { animation: arrive 700ms cubic-bezier(.2,.9,.3,1.2) 600ms both; outline: 1px solid color-mix(in srgb, var(--signal) 55%, transparent); }
@keyframes arrive { from { opacity: 0; transform: translateY(-24px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Abschnitte ---------- */

section { padding: 64px 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { font-size: clamp(28px, 4vw, 40px); max-width: 24ch; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 60ch; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
	content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
	border-radius: 50%; border: 1px solid var(--signal); color: var(--signal); font-family: var(--display); font-weight: 700;
}
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.features { display: grid; gap: 28px 40px; margin-top: 36px; }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
.features h3 { font-size: 19px; margin-bottom: 6px; }
.features p { color: var(--muted); }
.soon { font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--faint); margin-left: 6px; }

.compare-wrap { overflow-x: auto; margin-top: 32px; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 15px; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 600; font-family: var(--display); }
.compare .us { background: color-mix(in srgb, var(--signal) 8%, transparent); }
.compare thead .us { color: var(--signal); }

.faq { margin-top: 28px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 650; font-size: 18.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--signal); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 65ch; }

.closing { text-align: left; }
.closing p { margin: 14px 0 26px; color: var(--muted); max-width: 56ch; }

/* ---------- Fuß ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 14.5px; }
.site-foot .wrap { display: grid; gap: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted); }

/* ---------- Rechtstexte ---------- */

.legal { padding-block: 32px 72px; max-width: 760px; }
.legal h1 { font-size: 40px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.todo { border: 1px dashed var(--signal); border-radius: 12px; padding: 14px 16px; color: var(--signal); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Auf dem Handy die Ping-Wellen nach oben rechts schieben, damit sie nicht hinter dem Text liegen */
@media (max-width: 700px) {
	body {
		background:
			linear-gradient(180deg, transparent 0, transparent 150px, var(--night) 425px),
			url('/img/hero.jpg') right -230px top -190px / 1100px auto no-repeat,
			var(--night);
	}
}
