/* ==================================================================
   Schwalm-IT-Service-Kassel — Theme v2
   Portierung des Horizons-Designs: Teal auf Tiefblau, Grid-Hintergrund,
   Glow-Orbs, Marquee-Ticker, Reveal-Animationen.
   ================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-sauber) ------------- */
@font-face {
	font-family: 'Space Grotesk';
	src: url('../fonts/spacegrotesk-var.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-var.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Design-Tokens ----------------------------------------- */
:root {
	--bg-hsl: 220 30% 5%;
	--card-hsl: 220 26% 9%;
	--fg-hsl: 200 20% 96%;
	--muted-hsl: 213 12% 65%;
	--primary-hsl: 176 78% 48%;
	--primary-fg-hsl: 220 40% 6%;
	--accent-hsl: 196 90% 56%;
	--border-hsl: 216 20% 18%;

	--bg: hsl(var(--bg-hsl));
	--card: hsl(var(--card-hsl));
	--fg: hsl(var(--fg-hsl));
	--muted-fg: hsl(var(--muted-hsl));
	--primary: hsl(var(--primary-hsl));
	--primary-fg: hsl(var(--primary-fg-hsl));
	--accent: hsl(var(--accent-hsl));
	--border: hsl(var(--border-hsl));

	--font-display: 'Space Grotesk', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;

	--radius: 0.75rem;
	--header-h: 80px;

	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--primary); color: var(--primary-fg); }

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

.wrap      { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: 1.25rem; }
.wrap--mid { max-width: 72rem; }
.wrap--sm  { max-width: 56rem; }
@media (min-width: 640px) {
	.wrap { padding-inline: 2rem; }
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px; left: 1rem;
	z-index: 100;
	background: var(--card);
	border: 1px solid var(--border);
	padding: 0.6rem 1rem;
	border-radius: 0.5rem;
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Icons --------------------------------------------------- */
.ic {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--primary);
}
.ic svg { width: 100%; height: 100%; }
.ic-16 { width: 16px; height: 16px; }
.ic-20 { width: 20px; height: 20px; }
.ic-24 { width: 24px; height: 24px; }
.ic-36 { width: 36px; height: 36px; }
.ic-40 { width: 40px; height: 40px; }
.ic-36 svg, .ic-40 svg { stroke-width: 1.6; }
.ic--fg { color: var(--fg); }
.ic--muted { color: var(--muted-fg); }

/* ---------- Reveal-Animation ---------------------------------------- */
.rv {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
	            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* ---------- Animierter Hintergrund ---------------------------------- */
.bga {
	position: fixed;
	inset: 0;
	z-index: -10;
	overflow: hidden;
	background: var(--bg);
	pointer-events: none;
}
.bga__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, hsl(var(--primary-hsl) / 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, hsl(var(--primary-hsl) / 0.07) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
}
.bga__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	animation: drift 22s ease-in-out infinite alternate;
}
.bga__orb--1 {
	left: -8rem; top: -10%;
	width: 38rem; height: 38rem;
	background: radial-gradient(circle, hsl(var(--primary-hsl) / 0.30), transparent 65%);
}
.bga__orb--2 {
	right: -10%; top: 25%;
	width: 34rem; height: 34rem;
	background: radial-gradient(circle, hsl(var(--accent-hsl) / 0.22), transparent 65%);
	animation-delay: -8s;
}
.bga__orb--3 {
	bottom: -15%; left: 30%;
	width: 30rem; height: 30rem;
	background: radial-gradient(circle, hsl(255 80% 60% / 0.18), transparent 65%);
	animation-delay: -15s;
}
@keyframes drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(6%, -8%, 0) scale(1.25); }
}
.bga__circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.bga__circuit .dash {
	stroke-dasharray: 6 10;
	animation: dashmove 2.4s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -64; } }
.bga__scan {
	position: absolute;
	left: 0; top: 0;
	height: 1px; width: 100%;
	background: linear-gradient(90deg, transparent, hsl(var(--primary-hsl) / 0.5), transparent);
	animation: scan 7s linear infinite;
}
@keyframes scan {
	0%   { transform: translateY(0); opacity: 0; }
	10%  { opacity: 1; }
	90%  { opacity: 1; }
	100% { transform: translateY(100vh); opacity: 0; }
}
.bga__fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent, transparent, var(--bg));
}

/* ---------- Header --------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--bg-hsl) / 0.8);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: var(--header-h);
}
.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--fg);
}
.brand__mark { display: grid; place-items: center; width: 46px; height: 52px; color: var(--fg); flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { color: var(--primary); transition: color 0.25s; }
.brand__text { line-height: 1.12; }
.brand__name {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: -0.01em;
}
.brand__city {
	display: block;
	font-size: 0.72rem;
	color: var(--muted-fg);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-nav { display: none; align-items: center; gap: 2rem; }
.site-nav a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-fg);
	transition: color 0.2s;
	white-space: nowrap;
}
.site-nav a:hover { color: var(--primary); }
@media (min-width: 1120px) {
	.site-nav { display: flex; }
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta {
	display: none;
	min-height: 44px;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--primary-hsl) / 0.4);
	background: hsl(var(--primary-hsl) / 0.1);
	padding-inline: 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--primary);
	transition: background 0.2s, transform 0.1s;
}
.header-cta:hover { background: hsl(var(--primary-hsl) / 0.2); }
.header-cta:active { transform: scale(0.98); }
@media (min-width: 640px) {
	.header-cta { display: inline-flex; }
}

.nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: none;
	color: var(--fg);
	cursor: pointer;
}
.nav-toggle .ic { color: var(--fg); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
@media (min-width: 1120px) {
	.nav-toggle { display: none; }
}

.mobile-nav {
	display: none;
	border-top: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--bg-hsl) / 0.95);
	padding: 1rem 1.25rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-bottom: 1px solid hsl(var(--border-hsl) / 0.4);
	color: var(--muted-fg);
	font-size: 1rem;
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav__cta {
	margin-top: 1rem;
	display: flex !important;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	background: var(--primary);
	color: var(--primary-fg) !important;
	font-weight: 600;
	border-bottom: 0 !important;
}
@media (min-width: 1120px) {
	.mobile-nav { display: none !important; }
}

/* ---------- Buttons -------------------------------------------------- */
.btn-primary {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.5rem;
	background: var(--primary);
	padding-inline: 1.75rem;
	font-weight: 600;
	color: var(--primary-fg);
	box-shadow: 0 0 40px -8px hsl(var(--primary-hsl) / 0.6);
	transition: filter 0.2s, transform 0.1s;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: hsl(var(--card-hsl) / 0.6);
	padding-inline: 1.75rem;
	font-weight: 600;
	color: var(--fg);
	transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: hsl(var(--primary-hsl) / 0.4); color: var(--primary); }

.btn-panel {
	display: inline-flex;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border-radius: 0.75rem;
	background: var(--primary);
	padding-inline: 1.5rem;
	font-weight: 600;
	color: var(--primary-fg);
	transition: filter 0.2s, transform 0.1s;
}
.btn-panel:hover { filter: brightness(1.1); }
.btn-panel:active { transform: scale(0.98); }
.btn-panel .ic { color: var(--primary-fg); }

.btn-panel--ghost {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--fg);
	min-height: 48px;
	font-weight: 500;
	box-shadow: none;
}
.btn-panel--ghost:hover { border-color: hsl(var(--primary-hsl) / 0.4); color: var(--primary); filter: none; }
.btn-panel--ghost .ic { color: currentColor; }

/* ---------- Text-Bausteine ------------------------------------------- */
.eyebrow {
	font-family: var(--font-display);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--primary);
	margin: 0;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 999px;
	border: 1px solid hsl(var(--primary-hsl) / 0.3);
	background: hsl(var(--primary-hsl) / 0.1);
	padding: 0.375rem 1rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--primary);
}
.badge::before {
	content: '';
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--primary);
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-fg);
	transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.back-link .ic { color: currentColor; }

.text-muted { color: var(--muted-fg); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted-fg); }

.more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--primary);
}
.more-link .ic { transition: transform 0.2s; }
a:hover .more-link .ic, .more-link:hover .ic { transform: translate(2px, -2px); }

/* ---------- Hero ------------------------------------------------------ */
.hero { position: relative; display: flex; min-height: 100svh; align-items: center; }
.hero--sub { min-height: 70svh; }
.hero__grid {
	display: grid;
	width: 100%;
	gap: 3.5rem;
	padding-block: 5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 {
	margin-top: 1.75rem;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
}
.hero--sub h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-top: 1.5rem; }
.hero__mark {
	position: relative;
	display: inline-block;
}
.hero__mark > span { position: relative; z-index: 10; color: var(--primary); }
.hero__mark::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0.25rem;
	height: 0.75rem;
	transform: rotate(-1deg);
	background: hsl(var(--primary-hsl) / 0.2);
}
.hero__sub {
	margin-top: 1.75rem;
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--muted-fg);
}
.hero--sub .hero__sub { margin-top: 1.5rem; }
.hero__sub + .hero__sub { margin-top: 1.25rem; font-size: 1rem; }
.hero__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.hero__stat {
	margin-top: 3.5rem;
	max-width: 32rem;
	border-top: 1px solid hsl(var(--border-hsl) / 0.6);
	padding-top: 2rem;
}
.hero__stat-value {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--fg);
}
.hero__stat p { margin-top: 0.75rem; line-height: 1.65; color: var(--muted-fg); }

.hero__media { position: relative; }
.hero__media-glow {
	position: absolute;
	inset: -1.5rem;
	border-radius: 2rem;
	background: linear-gradient(to top right, hsl(var(--primary-hsl) / 0.2), transparent, hsl(var(--accent-hsl) / 0.2));
	filter: blur(40px);
}
.hero__media-frame {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.8);
	background: var(--card);
}
.hero__media-frame img {
	display: block;
	height: 26rem;
	width: 100%;
	object-fit: cover;
	opacity: 0.9;
}
.hero--sub .hero__media-frame img { height: 24rem; }
.hero__media-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--bg), hsl(var(--bg-hsl) / 0.2), transparent);
}
.hero__chips {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	padding: 1.5rem;
	font-size: 0.875rem;
}
.hero__chips span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--primary);
}

/* ---------- Ticker ---------------------------------------------------- */
.ticker {
	overflow: hidden;
	border-block: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--card-hsl) / 0.4);
	padding-block: 1rem;
}
.ticker__track {
	display: flex;
	width: max-content;
	gap: 2.5rem;
	white-space: nowrap;
	animation: marquee 32s linear infinite;
}
.ticker__track span {
	font-family: var(--font-display);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--muted-fg);
}
.ticker__track span i {
	font-style: normal;
	margin-left: 2.5rem;
	color: var(--primary);
}
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Sektionen -------------------------------------------------- */
.section { padding-block: 6rem; }
.section--band {
	border-block: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--card-hsl) / 0.3);
}
.section__head h2 {
	margin-top: 1rem;
	max-width: 42rem;
	font-size: clamp(1.875rem, 3.5vw, 2.25rem);
	line-height: 1.2;
}
.section__head p { margin-top: 1.25rem; max-width: 42rem; line-height: 1.65; color: var(--muted-fg); }

/* ---------- Karten (Leistungen / Features) ----------------------------- */
.cards {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 768px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
	display: flex;
	height: 100%;
	flex-direction: column;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.7);
	background: hsl(var(--card-hsl) / 0.6);
	padding: 2rem;
	transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
a.card:hover {
	transform: translateY(-4px);
	border-color: hsl(var(--primary-hsl) / 0.4);
	background: hsl(var(--card-hsl) / 0.8);
}
.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.card__tag {
	font-family: var(--font-display);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--muted-fg);
}
.card h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; }
.card p { margin-top: 0.75rem; flex: 1; line-height: 1.65; color: var(--muted-fg); }
.card .more-link { margin-top: 1.5rem; }

.feature {
	height: 100%;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.7);
	background: hsl(var(--card-hsl) / 0.6);
	padding: 1.75rem;
	transition: border-color 0.3s;
}
.feature:hover { border-color: hsl(var(--primary-hsl) / 0.4); }
.feature h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.feature p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted-fg); }

/* ---------- Ablauf-Timeline -------------------------------------------- */
.steps { margin-top: 3.5rem; list-style: none; padding: 0; }
.steps li {
	position: relative;
	display: grid;
	gap: 0.75rem;
	border-left: 1px solid hsl(var(--border-hsl) / 0.7);
	padding-left: 2rem;
	padding-bottom: 2.5rem;
}
.steps li:last-child { padding-bottom: 0.5rem; }
@media (min-width: 768px) {
	.steps li { grid-template-columns: 1fr 1.6fr; gap: 2.5rem; }
}
.steps li::before {
	content: '';
	position: absolute;
	left: -7px; top: 6px;
	width: 14px; height: 14px;
	border-radius: 50%;
	border: 2px solid var(--primary);
	background: var(--bg);
}
.steps__n {
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: var(--primary);
}
.steps h3 { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 600; }
.steps li > p { line-height: 1.65; color: var(--muted-fg); }

/* ---------- Backup-Regeln (3-2-1-1-0) ----------------------------------- */
.rule {
	display: flex;
	height: 100%;
	gap: 1.25rem;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.7);
	background: hsl(var(--card-hsl) / 0.6);
	padding: 1.75rem;
}
.rule__n {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--primary);
}
.rule h3 { font-size: 1.125rem; font-weight: 600; }
.rule p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted-fg); }
.rule--hl {
	align-items: center;
	border-color: hsl(var(--primary-hsl) / 0.3);
	background: hsl(var(--primary-hsl) / 0.1);
}

/* ---------- Zweispalter + Checklisten ------------------------------------ */
.split {
	display: grid;
	gap: 3.5rem;
}
@media (min-width: 1024px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--center { align-items: center; }
}
.split h2 { margin-top: 1rem; font-size: clamp(1.875rem, 3.5vw, 2.25rem); line-height: 1.2; }
.split .prose p { margin-top: 1.5rem; line-height: 1.7; color: var(--muted-fg); }
.split .prose p:first-of-type { margin-top: 1.5rem; }

.checklist { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--card-hsl) / 0.4);
	padding: 1rem;
	font-size: 0.875rem;
	color: hsl(var(--fg-hsl) / 0.9);
}
.checklist li .ic { margin-top: 2px; }
.checklist--plain { margin-top: 2rem; }
.checklist--plain li { border: 0; background: none; padding: 0; }

.infocards { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .infocards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .infocards { grid-template-columns: 1fr; } }
.infocard {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-radius: 0.75rem;
	border: 1px solid hsl(var(--border-hsl) / 0.7);
	background: hsl(var(--card-hsl) / 0.6);
	padding: 1.25rem;
}
.infocard .ic svg { stroke-width: 1.6; }
.infocard b { font-family: var(--font-display); font-weight: 600; }
.infocard p { margin-top: 2px; font-size: 0.875rem; color: var(--muted-fg); }

.modelcard {
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.7);
	background: hsl(var(--card-hsl) / 0.6);
	padding: 1.75rem;
}
.modelcard h3 { font-size: 1.125rem; font-weight: 600; }
.modelcard p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted-fg); }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { margin-top: 3rem; border-top: 1px solid hsl(var(--border-hsl) / 0.6); }
.faq__item { border-bottom: 1px solid hsl(var(--border-hsl) / 0.6); padding-block: 1.75rem; }
.faq__item h3 { font-size: 1.125rem; font-weight: 600; }
.faq__item p { margin-top: 0.75rem; line-height: 1.7; color: var(--muted-fg); }

/* ---------- Kontakt-Panel --------------------------------------------------- */
.contact-panel {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid hsl(var(--primary-hsl) / 0.25);
	background: linear-gradient(to bottom right, var(--card), hsl(var(--card-hsl) / 0.7), hsl(var(--primary-hsl) / 0.1));
	padding: 2rem;
}
@media (min-width: 640px) { .contact-panel { padding: 3.5rem; } }
.contact-panel::before {
	content: '';
	position: absolute;
	right: -4rem; top: -4rem;
	width: 16rem; height: 16rem;
	border-radius: 50%;
	background: hsl(var(--primary-hsl) / 0.2);
	filter: blur(64px);
	pointer-events: none;
}
.contact-panel__grid {
	position: relative;
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.contact-panel__grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.contact-panel h2 { font-size: clamp(1.875rem, 3.5vw, 2.25rem); line-height: 1.2; }
.contact-panel__text p { margin-top: 1rem; max-width: 28rem; line-height: 1.65; color: var(--muted-fg); }
.contact-panel__actions { display: flex; flex-direction: column; gap: 1rem; }
.contact-panel__hint { margin-top: 1rem; font-size: 0.8rem; color: var(--muted-fg); text-align: center; }
@media (min-width: 640px) {
	.contact-panel__text { padding-left: 2rem; }
}

/* ---------- Footer ------------------------------------------------------------ */
.site-footer {
	border-top: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--bg-hsl) / 0.7);
}
.site-footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3.5rem;
}
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: repeat(4, 1fr); }
}
.site-footer__brand .brand__mark { width: 40px; height: 46px; color: var(--fg); }
.site-footer__brand p {
	margin-top: 1rem;
	max-width: 20rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--muted-fg);
}
.site-footer__title {
	font-family: var(--font-display);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--primary);
	margin: 0;
}
.site-footer ul {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--muted-fg);
}
.site-footer ul a { transition: color 0.2s; }
.site-footer ul a:hover { color: var(--fg); }
.site-footer li { display: flex; align-items: flex-start; gap: 0.75rem; }
.site-footer li .ic { margin-top: 2px; }
.site-footer__copy {
	border-top: 1px solid hsl(var(--border-hsl) / 0.5);
	padding-block: 1.5rem;
	text-align: center;
	font-size: 0.75rem;
	color: var(--muted-fg);
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ------------------------------ */
.legal-hero { padding-block: 5rem 2rem; }
.legal-hero h1 { margin-top: 1.5rem; font-size: clamp(2.25rem, 5vw, 3rem); }
.legal-hero .lead { margin-top: 1.25rem; }
.legal-body { padding-bottom: 6rem; }
.legal-content {
	border-radius: 1rem;
	border: 1px solid hsl(var(--border-hsl) / 0.6);
	background: hsl(var(--card-hsl) / 0.4);
	padding: clamp(1.75rem, 4vw, 2.5rem);
}
.legal-content h2 {
	font-size: 1.35rem;
	font-weight: 600;
	margin-top: 2.2em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.8em; }
.legal-content p, .legal-content li { color: var(--muted-fg); line-height: 1.7; margin-top: 0.9em; }
.legal-content strong { color: var(--fg); }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-content ul { padding-left: 1.2rem; }
.legal-back { margin-top: 2.5rem; }

/* ---------- Reduzierte Bewegung -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bga__orb, .ticker__track, .bga__circuit .dash, .bga__scan { animation: none !important; }
	.rv { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
