/* tippkreis landing page.
   Neutrale Töne aus dem App-Theme (App/app/frontend/src/themes/default.css),
   dazu Rasengrün als Akzent und Gold für Platz 1. Dark Mode per prefers-color-scheme. */

/* Quicksand (SIL Open Font License, siehe assets/fonts/LICENSE-Quicksand.txt), lokal ausgeliefert.
   Nur drei Schnitte: 400, 500, 700 — Gewichte 550–800 im Stylesheet landen auf dem nächstgelegenen. */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Quicksand-Regular.ttf") format("truetype"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Quicksand-Medium.ttf") format("truetype"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Quicksand-Bold.ttf") format("truetype"); }

:root {
	color-scheme: light dark;
	--font-sans: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--radius: 0.625rem;
	--radius-lg: 1rem;
	--radius-xl: 1.5rem;

	/* Slate-Basis (App-Theme) */
	--background: oklch(1 0 0);
	--background-subtle: oklch(0.984 0.003 247.858);
	--foreground: oklch(0.129 0.042 264.695);
	--card: oklch(1 0 0);
	--muted: oklch(0.968 0.007 247.896);
	--muted-foreground: oklch(0.504 0.046 257.417);
	--border: oklch(0.929 0.013 255.508);
	--header-bg: oklch(1 0 0 / 78%);

	/* Akzent: Rasengrün */
	--accent: oklch(0.52 0.14 150);
	--accent-hover: oklch(0.46 0.13 150);
	--accent-foreground: oklch(1 0 0);
	--accent-soft: oklch(0.955 0.04 150);
	--accent-strong: oklch(0.44 0.12 150);
	--accent-line: oklch(0.52 0.14 150 / 7%);
	--gold: oklch(0.82 0.15 85);
	--gold-soft: oklch(0.97 0.05 92);
	--gold-foreground: oklch(0.29 0.07 60);
	--on-gold: oklch(0.29 0.07 60);

	/* Sekundär-Akzent: Gold (Platz 1) */

	--focus: oklch(0.623 0.214 259.815);
	--shadow-sm: 0 1px 2px oklch(0.129 0.042 264.695 / 6%);
	--shadow-lg: 0 1px 2px oklch(0.129 0.042 264.695 / 5%), 0 12px 32px -8px oklch(0.129 0.042 264.695 / 16%);
	--cta-glow: oklch(1 0 0 / 14%);
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: oklch(0.129 0.042 264.695);
		--background-subtle: oklch(0.16 0.042 264.695);
		--foreground: oklch(0.984 0.003 247.858);
		--card: oklch(0.208 0.042 265.755);
		--muted: oklch(0.279 0.041 260.031);
		--muted-foreground: oklch(0.744 0.04 256.788);
		--border: oklch(1 0 0 / 11%);
		--header-bg: oklch(0.129 0.042 264.695 / 72%);

		--accent: oklch(0.74 0.17 150);
		--accent-hover: oklch(0.8 0.16 150);
		--accent-foreground: oklch(0.2 0.05 155);
		--accent-soft: oklch(0.3 0.06 152);
		--accent-strong: oklch(0.82 0.14 150);
		--accent-line: oklch(0.74 0.17 150 / 6%);
		--gold: oklch(0.82 0.15 85);
		--gold-soft: oklch(0.32 0.06 80);
		--gold-foreground: oklch(0.9 0.1 90);


		--focus: oklch(0.707 0.165 254.624);
		--shadow-sm: 0 1px 2px oklch(0 0 0 / 30%);
		--shadow-lg: 0 1px 2px oklch(0 0 0 / 30%), 0 16px 40px -12px oklch(0 0 0 / 55%);
		--cta-glow: oklch(1 0 0 / 22%);
	}
}

/* ---------- Basis ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 5rem;
	font-size: 106.25%;
}
@media (min-width: 64rem) { html { font-size: 112.5%; } }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	overflow-x: clip;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 0.6rem 0.9rem;
	background: var(--foreground);
	color: var(--background);
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 16px;
}
@media (min-width: 40rem) {
	.wrap { padding: 0 24px; }
}
@media (min-width: 64rem) {
	.wrap { padding: 0 40px; }
}

main { flex: 1; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.lead {
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--muted-foreground);
	max-width: 65ch;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0.3rem 0.8rem 0.3rem 0.6rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--foreground);
}
.eyebrow .dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.kicker {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-strong);
}

/* ---------- Schaltflächen ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.7rem 1.35rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-foreground);
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.button:active { transform: translateY(0); }
.button svg { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.button:hover svg { transform: translateX(2px); }
.button-small { min-height: 2.25rem; padding: 0.4rem 0.95rem; font-size: 0.9375rem; }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--border);
	-webkit-backdrop-filter: saturate(1.6) blur(12px);
	backdrop-filter: saturate(1.6) blur(12px);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 4rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-right: auto;
	color: var(--foreground);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.03em;
	text-decoration: none;
}
.brand img { width: 2rem; height: 2rem; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a {
	display: block;
	padding: 0.4rem 0.75rem;
	border-radius: var(--radius);
	color: var(--muted-foreground);
	font-size: 0.9375rem;
	font-weight: 550;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav a:hover { color: var(--foreground); background: var(--muted); }
@media (min-width: 48rem) {
	.site-nav { display: block; }
}

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

.hero {
	position: relative;
	isolation: isolate;
	padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(3.5rem, 2rem + 6vw, 7rem);
	overflow: hidden;
}
/* Rasenstreifen, zur Mitte hin ausgeblendet */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: repeating-linear-gradient(90deg, var(--accent-line) 0 4rem, transparent 4rem 8rem);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 0%, transparent 75%);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(40rem 28rem at 85% 10%, var(--accent-soft), transparent 70%),
		linear-gradient(to bottom, transparent 70%, var(--background));
	opacity: 0.8;
}
.hero-pitch {
	position: absolute;
	z-index: -1;
	right: -8rem;
	top: 50%;
	width: 38rem;
	height: auto;
	transform: translateY(-50%);
	color: var(--accent);
	opacity: 0.1;
	pointer-events: none;
}

.hero-grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 56rem) {
	.hero-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent-strong); }
.hero .lead { margin-bottom: 1.5rem; }

.pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}
.pills li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem 0.3rem 0.5rem;
	border-radius: 999px;
	background: var(--muted);
	font-size: 0.9rem;
	font-weight: 600;
}
.pills svg { width: 1rem; height: 1rem; color: var(--accent-strong); }
.pills li.pills-note { flex-basis: 100%; padding: 0.25rem 0 0; background: none; font-weight: 500; font-size: 0.95rem; color: var(--muted-foreground); }

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}
.hero-note {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 550;
	color: var(--muted-foreground);
}
.hero-note svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--accent-strong); }

/* ---------- App-Vorschau ---------- */

.preview {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 30rem;
	display: grid;
	gap: 1rem;
}
.panel {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}
.panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.25rem 0.75rem;
}
.panel-title { font-weight: 700; font-size: 0.95rem; }
.panel-sub { font-size: 0.8125rem; color: var(--muted-foreground); }
.tag {
	flex: none;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--muted);
	color: var(--muted-foreground);
	font-size: 0.75rem;
	font-weight: 600;
}

.ranking { margin: 0; padding: 0 0.5rem 0.75rem; list-style: none; }
.ranking li {
	display: grid;
	grid-template-columns: 2rem 2rem 1fr auto;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius);
	font-size: 0.9375rem;
}
.ranking li + li { border-top: 1px solid var(--border); }
.ranking .place {
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--muted);
	font-size: 0.8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ranking .avatar {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 0.75rem;
	font-weight: 700;
}
.ranking .name { font-weight: 600; }
.ranking .points { font-weight: 700; font-variant-numeric: tabular-nums; }
.ranking .points small { font-weight: 500; color: var(--muted-foreground); }
.ranking li.first {
	background: var(--gold-soft);
	border-top-color: transparent;
	box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--gold) 50%, transparent);
}
.ranking li.first + li { border-top-color: transparent; }
.ranking li.first .place { background: var(--gold); color: var(--on-gold); }
.ranking li.first .name { color: var(--gold-foreground); }
.ranking li.first .name svg { display: inline-block; width: 0.95rem; height: 0.95rem; margin-left: 0.3rem; vertical-align: -0.1em; color: var(--gold); }

.match { padding-bottom: 1.1rem; }
@media (min-width: 30rem) {
	.match { margin-left: 2.5rem; margin-top: -2rem; }
}
.match-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.75rem;
	padding: 0.25rem 1.25rem 0.9rem;
}
.team { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.crest {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.6rem;
	border: 1px solid var(--border);
	background: var(--muted);
}
.crest.away { background: var(--accent-soft); }
.score { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 1.25rem; color: var(--muted-foreground); }
.score .digit {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 3rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
	color: var(--foreground);
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
}
.score .digit.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.deadline {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 1.25rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius);
	background: var(--muted);
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}
.deadline svg { flex: none; width: 1rem; height: 1rem; color: var(--accent-strong); }

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

.section { padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; }
.section-alt { background: var(--background-subtle); border-block: 1px solid var(--border); }
.section-head { max-width: 42rem; margin-bottom: 2.75rem; }
.section-head .lead { margin-top: 1rem; }

/* So funktioniert es */
.steps {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
	position: relative;
	counter-increment: step;
	padding: 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.step::after {
	content: counter(step);
	position: absolute;
	top: -0.5rem;
	right: 0.75rem;
	font-size: 5.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--muted);
	pointer-events: none;
}
.icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.25rem;
	border-radius: 0.8rem;
	background: var(--accent-soft);
	color: var(--accent-strong);
}
.icon svg { width: 1.5rem; height: 1.5rem; }
.step h3 { position: relative; z-index: 1; margin-bottom: 0.5rem; }
.step p { position: relative; z-index: 1; color: var(--muted-foreground); font-size: 1rem; }

/* Fair für alle */
.rules-grid { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .rules-grid { grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: start; } }

.rules { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rule {
	display: flex;
	gap: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow-sm);
}
.check {
	flex: none;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-foreground);
}
.check svg { width: 1rem; height: 1rem; }
.rule h3 { margin: 0.2rem 0 0.35rem; }
.rule p { color: var(--muted-foreground); font-size: 1rem; }

.scale-card { padding: 1.5rem; }
.scale-card h3 { margin-bottom: 0.35rem; }
.scale-card > p { color: var(--muted-foreground); font-size: 1rem; }
.scale {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}
.scale li { display: flex; flex-direction: column; gap: 0.5rem; }
.bar {
	display: flex;
	align-items: flex-end;
	height: 6rem;
	border-radius: var(--radius);
	background: var(--muted);
	overflow: hidden;
}
.bar::before {
	content: "";
	width: 100%;
	border-radius: var(--radius) var(--radius) 0 0;
	background: var(--accent);
}
.bar-1::before { height: 34%; opacity: 0.45; }
.bar-2::before { height: 67%; opacity: 0.7; }
.bar-3::before { height: 100%; }
.scale-label { font-weight: 700; font-size: 0.95rem; }
.scale-example { font-size: 0.8125rem; color: var(--muted-foreground); line-height: 1.4; }
.scale-example b { color: var(--foreground); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scale-foot {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

/* Abschluss */
.cta-section { padding: 0 0 clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
	border-radius: var(--radius-xl);
	background: var(--accent);
	color: var(--accent-foreground);
	box-shadow: var(--shadow-lg);
	display: grid;
	gap: 1.5rem;
	align-items: center;
}
@media (min-width: 48rem) { .cta { grid-template-columns: 1fr auto; } }
.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(22rem 16rem at 100% 0%, var(--cta-glow), transparent 70%),
		repeating-linear-gradient(90deg, oklch(1 0 0 / 5%) 0 3rem, transparent 3rem 6rem);
}
.cta h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem); }
.cta p { margin-top: 0.75rem; max-width: 50ch; }
.button-inverse {
	background: var(--accent-foreground);
	color: var(--accent);
}
.button-inverse:hover { background: var(--accent-foreground); box-shadow: 0 10px 24px -8px oklch(0 0 0 / 35%); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.legal {
	padding: 2.5rem 0 4rem;
	background: linear-gradient(to bottom, var(--background-subtle), var(--background) 12rem);
}
.legal .wrap { max-width: calc(70ch + 48px); }
.legal h1 { margin-bottom: 1.5rem; }
.legal p, .legal li { line-height: 1.7; }
.legal p { margin: 0 0 1rem; }
.legal h2 {
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
	letter-spacing: -0.02em;
}
.legal h3 { margin: 2rem 0 0.75rem; font-size: 1.1rem; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.4rem; }

.legal ul.index {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow-sm);
	columns: 1;
}
@media (min-width: 40rem) {
	.legal ul.index { columns: 2; column-gap: 2rem; }
}
.legal ul.index li { break-inside: avoid; margin-bottom: 0.35rem; font-size: 0.9375rem; }
.legal ul.index a { color: var(--foreground); text-decoration: none; }
.legal ul.index a:hover { color: var(--accent-strong); text-decoration: underline; }

.legal ul.m-elements {
	list-style: none;
	margin: 1rem 0 1.5rem 0.5rem;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--muted);
	font-size: 0.9375rem;
}
.legal ul.m-elements li { margin-bottom: 0.6rem; }
.legal ul.m-elements li:last-child { margin-bottom: 0; }
.legal ul.m-elements strong { display: block; }

.legal ul.glossary { list-style: none; padding-left: 0; }
.legal ul.glossary li { margin-bottom: 1rem; }

.legal p.seal {
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}
.legal p.seal a { color: inherit; }

.legal address {
	display: inline-block;
	min-width: min(100%, 22rem);
	margin: 0.5rem 0 1rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow-sm);
	line-height: 1.8;
}

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

.site-footer {
	padding: 3rem 0 2rem;
	border-top: 1px solid var(--border);
	background: var(--background-subtle);
	font-size: 0.9375rem;
	color: var(--muted-foreground);
}
.footer-grid {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 48rem) {
	.footer-grid { grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem; }
}
.footer-brand .brand { font-size: 1.125rem; }
.footer-brand .brand img { width: 1.75rem; height: 1.75rem; }
.footer-brand p { margin-top: 0.5rem; }
.site-footer nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer nav a { color: var(--foreground); text-decoration: none; font-weight: 550; }
.site-footer nav a:hover { color: var(--accent-strong); text-decoration: underline; }

/* ---------- Einblenden beim Scrollen (nur mit JS, nie bei reduzierter Bewegung) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.reveal-pending { opacity: 0; transform: translateY(16px); }
	.reveal-in { transition: opacity 0.6s ease, transform 0.6s ease; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.step:hover, .button:hover { transform: none; }
}
