/* ===========================================================================
   HK PRODUCTIONS – DESIGN
   ---------------------------------------------------------------------------
   Aufbau:
     1. Design-Variablen (Farben, Abstände, Schriftgrößen)
     2. Grundlagen / Reset
     3. Layout-Bausteine
     4. Kopfbereich
     5. Hero
     6. Abschnitte & Karten
     7. Spiele
     8. Dienstleistungen
     9. Kontakt & Formular
    10. Rechtstexte (Impressum / Datenschutz)
    11. Fußzeile
    12. Animationen
    13. Barrierefreiheit & Druck
   ---------------------------------------------------------------------------
   Farben ändern? Nur Abschnitt 1 anfassen – der Rest zieht automatisch nach.
   =========================================================================== */

/* ── 1. DESIGN-VARIABLEN ─────────────────────────────────────────────────── */

:root {
	/* Markenfarben */
	--cyan:          #22e0e0;
	--cyan-soft:     rgba(34, 224, 224, 0.12);
	--cyan-border:   rgba(34, 224, 224, 0.38);
	--purple:        #9b6bff;
	--purple-soft:   rgba(155, 107, 255, 0.12);
	--purple-border: rgba(155, 107, 255, 0.38);

	--gradient-brand: linear-gradient(135deg, var(--cyan), var(--purple));

	/* Flächen */
	--bg:         #05070d;
	--surface:    #0a0e18;
	--surface-2:  #111726;
	--surface-3:  #182032;
	--border:     #1c2537;
	--border-2:   #2a3550;

	/* Text */
	--text:        #e8edf5;
	--text-muted:  #9aa8bd;
	--text-subtle: #67748c;

	/* Schrift */
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "JetBrains Mono", "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;

	--text-2xs: clamp(0.625rem, 0.6rem + 0.2vw, 0.75rem);
	--text-xs:  clamp(0.75rem,  0.72rem + 0.2vw, 0.85rem);
	--text-sm:  clamp(0.875rem, 0.84rem + 0.25vw, 1rem);
	--text-md:  clamp(1rem,     0.96rem + 0.3vw, 1.125rem);
	--text-lg:  clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
	--text-xl:  clamp(1.35rem,  1.15rem + 1vw,   1.85rem);
	--text-2xl: clamp(1.75rem,  1.4rem + 1.8vw,  2.6rem);
	--text-3xl: clamp(2.1rem,   1.6rem + 2.6vw,  3.4rem);
	--text-4xl: clamp(2.4rem,   1.7rem + 3.6vw,  4.4rem);

	/* Abstände */
	--space-1:  0.25rem;
	--space-2:  0.5rem;
	--space-3:  0.75rem;
	--space-4:  1rem;
	--space-5:  1.5rem;
	--space-6:  2rem;
	--space-8:  3rem;
	--space-10: clamp(3rem, 6vw, 5rem);
	--space-12: clamp(4rem, 8vw, 7rem);

	/* Radien */
	--radius-sm:   0.4rem;
	--radius-md:   0.75rem;
	--radius-lg:   1.1rem;
	--radius-xl:   1.5rem;
	--radius-full: 999px;

	/* Layout */
	--max-width:  75rem;
	--header-height: 4.75rem;

	/* Leuchteffekte */
	--glow-cyan:   0 0 18px rgba(34, 224, 224, 0.35), 0 0 48px rgba(34, 224, 224, 0.14);
	--glow-purple: 0 0 18px rgba(155, 107, 255, 0.35), 0 0 48px rgba(155, 107, 255, 0.14);
	--glow-text:   0 0 14px rgba(34, 224, 224, 0.75);

	--shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.55);

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--t-fast: 140ms var(--ease);
	--t-base: 260ms var(--ease);
}

/* ── 2. GRUNDLAGEN ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: var(--text-md);
	line-height: 1.7;
	/* Erst "hidden" als Rückfall für sehr alte Browser, dann "clip".
	   Der Unterschied ist wichtig: "hidden" macht den Body zu einem eigenen
	   Scrollbereich und setzt damit jedes "position: sticky" außer Kraft -
	   "clip" schneidet nur ab und lässt sticky funktionieren. */
	overflow-x: hidden;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Dezente Grundtextur über der gesamten Seite */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(60rem 40rem at 15% -10%, rgba(34, 224, 224, 0.07), transparent 60%),
		radial-gradient(50rem 38rem at 90% 0%,  rgba(155, 107, 255, 0.07), transparent 60%);
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	margin: 0 0 var(--space-4);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.015em;
	text-wrap: balance;
	/* Lange deutsche Komposita dürfen umbrechen bzw. getrennt werden,
	   damit sie nie über den Rand hinauslaufen. */
	overflow-wrap: break-word;
	hyphens: auto;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration-color: rgba(34, 224, 224, 0.4); text-underline-offset: 0.2em; transition: color var(--t-fast); }
a:hover { color: #6ff3f3; }

ul, ol { padding-left: 1.25rem; }

strong { color: #fff; font-weight: 700; }

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ── 3. LAYOUT-BAUSTEINE ─────────────────────────────────────────────────── */

.container {
	width: 100%;
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--narrow { max-width: 56rem; }

.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-10); }

.section-head {
	max-width: 46rem;
	margin: 0 auto var(--space-8);
	text-align: center;
}

.section-label {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: var(--space-3);
	opacity: 0.95;
}

.section-head p {
	color: var(--text-muted);
	font-size: var(--text-md);
}

.text-gradient {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Trennlinie */
.divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	width: min(100% - 2rem, var(--max-width));
	margin: 0 auto;
	padding-block: var(--space-2);
}
.divider__line {
	flex: 1;
	height: 1px;
	max-width: 22rem;
	background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.divider__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gradient-brand);
	box-shadow: var(--glow-cyan);
	flex: none;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 0.8rem 1.9rem;
	font-family: inherit;
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.2;
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), border-color var(--t-fast), color var(--t-fast);
}

.btn--primary {
	background: var(--gradient-brand);
	color: #04060c;
	box-shadow: var(--glow-cyan);
}
.btn--primary:hover,
.btn--primary:focus-visible {
	color: #04060c;
	transform: translateY(-2px);
	box-shadow: var(--glow-cyan), var(--glow-purple);
}

.btn--ghost {
	background: transparent;
	color: var(--cyan);
	border-color: var(--cyan-border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
	background: var(--cyan-soft);
	border-color: var(--cyan);
	box-shadow: var(--glow-cyan);
	transform: translateY(-2px);
}

.btn--surface {
	background: var(--surface-2);
	color: var(--text);
	border-color: var(--border-2);
}
.btn--surface:hover { background: #182133; border-color: var(--cyan-border); transform: translateY(-2px); }

.btn--soon {
	background: transparent;
	color: var(--text-subtle);
	border: 1px dashed var(--border-2);
	cursor: default;
	font-weight: 600;
}

.btn--sm { padding: 0.5rem 1.2rem; font-size: var(--text-xs); }

.btn:active { transform: scale(0.98); }

/* Hinweisboxen */
.notice {
	border-radius: var(--radius-lg);
	padding: var(--space-4) var(--space-5);
	margin-bottom: var(--space-6);
	border: 1px solid var(--border-2);
	background: var(--surface-2);
	font-size: var(--text-sm);
}
.notice ul { margin: var(--space-2) 0 0; }
.notice strong { display: block; margin-bottom: var(--space-1); }
.notice--success { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.08); }
.notice--success strong { color: #6ee7b7; }
.notice--error { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.08); }
.notice--error strong { color: #fca5a5; }

/* ── 4. KOPFBEREICH ──────────────────────────────────────────────────────── */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--cyan);
	color: #04060c;
	padding: 0.75rem 1.25rem;
	font-weight: 700;
	border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; color: #04060c; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(5, 7, 13, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: var(--header-height);
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Logo + Text */
.brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: inherit;
	flex: none;
	min-width: 0;
}
.brand img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	filter: drop-shadow(0 0 10px rgba(34, 224, 224, 0.55));
	transition: filter var(--t-base), transform var(--t-base);
	flex: none;
}
.brand:hover img { filter: drop-shadow(0 0 16px rgba(34, 224, 224, 0.9)); transform: scale(1.05); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
	font-size: clamp(0.98rem, 2.2vw, 1.18rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}
.brand-sub {
	font-family: var(--font-mono);
	font-size: clamp(0.6rem, 1.6vw, 0.74rem);
	color: var(--text-subtle);
	letter-spacing: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Navigation */
.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(0.4rem, 1.6vw, 1.1rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-link {
	position: relative;
	display: block;
	padding: 0.5rem 0.2rem;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
	transition: color var(--t-fast);
	white-space: nowrap;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--gradient-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--t-base);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--cyan); }
.nav-link.is-current::after { transform: scaleX(1); }

/* Menü-Schalter (nur mobil sichtbar) */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid var(--border-2);
	border-radius: var(--radius-md);
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 2px;
	transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ab Tablet-Breite ist die Navigation immer sichtbar –
   das hidden-Attribut gilt ausschließlich für das mobile Klappmenü. */
.site-nav[hidden] { display: block; }

/* Umschaltpunkt fuer die Navigation liegt hoeher als der fuer das uebrige
   Layout: Mit fuenf Menuepunkten wird es neben dem Logo sonst zu eng. */
@media (max-width: 940px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: rgba(6, 9, 17, 0.98);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
		padding: var(--space-3) clamp(1rem, 4vw, 2rem) var(--space-5);
	}

	/* Ohne JavaScript bleibt das Menü sichtbar – niemand steht vor einer toten Seite. */
	.js .site-nav[hidden] { display: none; }

	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-item { border-bottom: 1px solid var(--border); }
	.nav-item:last-child { border-bottom: 0; }
	.nav-link { padding: 0.95rem 0.25rem; font-size: var(--text-md); }
	.nav-link::after { display: none; }
	.nav-link.is-current { color: var(--cyan); }
}

/* ── 5. HERO ─────────────────────────────────────────────────────────────── */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 8vw, 6rem);
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10, 14, 26, 0) 0%, var(--bg) 78%);
}

.hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

/* Feines Raster im Hintergrund – sichtbar auch ohne JavaScript */
.hero__grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(34, 224, 224, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(155, 107, 255, 0.055) 1px, transparent 1px);
	background-size: 62px 62px;
	mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cyan);
	border: 1px solid var(--cyan-border);
	background: var(--cyan-soft);
	border-radius: var(--radius-full);
	padding: 0.35rem 0.9rem;
	margin-bottom: var(--space-4);
}
.hero__label::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 10px var(--cyan);
	animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero__title {
	font-size: var(--text-4xl);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.03em;
	margin-bottom: var(--space-4);
}

.hero__slogan {
	font-family: var(--font-mono);
	font-size: var(--text-xl);
	font-weight: 600;
	color: var(--text);
	margin-bottom: var(--space-5);
	letter-spacing: 0.01em;
}

.hero__text {
	color: var(--text-muted);
	font-size: var(--text-md);
	max-width: 34rem;
	margin-bottom: var(--space-6);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	margin-top: var(--space-6);
	font-size: var(--text-xs);
	font-family: var(--font-mono);
	color: var(--text-subtle);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta span::before { content: "▹"; color: var(--cyan); }

/* Phönix mit Neon-Umrandung */
.hero__visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	max-width: 30rem;
	width: 100%;
	margin-inline: auto;
}

/* rotierender Neon-Ring */
.hero__visual::before {
	content: "";
	position: absolute;
	inset: 6%;
	border-radius: 50%;
	background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--cyan));
	filter: blur(2px);
	-webkit-mask: radial-gradient(circle, transparent 63%, #000 64%, #000 66%, transparent 67%);
	mask: radial-gradient(circle, transparent 63%, #000 64%, #000 66%, transparent 67%);
	animation: spin 14s linear infinite;
	opacity: 0.9;
}

/* weicher Lichtschein */
.hero__visual::after {
	content: "";
	position: absolute;
	/* oben etwas mehr, unten etwas weniger Abstand: der Lichtschein folgt
	   dadurch der tieferen Position des Phönix */
	inset: 14.5% 12% 9.5%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 224, 224, 0.22) 0%, rgba(155, 107, 255, 0.14) 45%, transparent 70%);
	filter: blur(18px);
	animation: breathe 6s ease-in-out infinite;
}

/* <picture> ist der Rahmen und wird mittig gesetzt, das <img> füllt ihn aus.
   Wichtig: die Breite darf nur EINMAL vergeben werden – sonst wirkt sie
   doppelt (62 % von 62 %) und das Motiv sitzt zu klein und nicht mittig. */
.hero__visual picture {
	position: relative;
	z-index: 1;
	display: block;
	width: 62%;
	margin-inline: auto;
	/* Ruheposition – gilt auch, wenn die Animation abgeschaltet ist
	   (Systemeinstellung „Bewegung reduzieren"). */
	transform: translateY(7.4%);
	/* Der Phönix sitzt bewusst etwas tiefer als die Ringmitte: seine
	   Flügelspitzen reichen weiter nach oben als der Schweif nach unten.
	   Die Schwebebewegung pendelt um diese Position, damit der Abstand zum
	   Ring oben wie unten gleich bleibt (Angaben in % der Bildhöhe, damit
	   es auf jeder Bildschirmgröße passt). */
	animation: hero-float 6s ease-in-out infinite;
}

.hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter:
		drop-shadow(0 0 14px rgba(34, 224, 224, 0.85))
		drop-shadow(0 0 40px rgba(155, 107, 255, 0.45));
}

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; text-align: center; }
	.hero__visual { order: -1; max-width: 20rem; }
	.hero__text { margin-inline: auto; }
	.hero__actions, .hero__meta { justify-content: center; }
	.hero__label { margin-inline: auto; }
}

/* ── 6. ABSCHNITTE & KARTEN ──────────────────────────────────────────────── */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	/* Macht die Karte zum Bezugsrahmen: Überschriften können sich
	   dadurch an der tatsächlichen Kartenbreite orientieren. */
	container-type: inline-size;
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
	overflow: hidden;
}
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: var(--gradient-brand);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--t-base);
	pointer-events: none;
}
.card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--shadow-lg), 0 0 30px rgba(34, 224, 224, 0.12);
}
.card:hover::before { opacity: 1; }

/* Kartenüberschrift: eigene Größe, damit sie NICHT die große h2-Größe erbt. */
.card__title {
	margin-bottom: var(--space-2);
	font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
	line-height: 1.22;
	letter-spacing: -0.01em;
}

/* Wenn der Browser Container-Einheiten kennt (alle aktuellen tun das),
   skaliert die Überschrift mit der Breite ihrer Karte. Lange Wörter wie
   „Individualentwicklung" werden dadurch automatisch kleiner statt
   abgeschnitten. */
@supports (font-size: 1cqi) {
	.card__title { font-size: clamp(0.98rem, 6.6cqi, 1.35rem); }
}

.card__text { color: var(--text-muted); font-size: var(--text-sm); }

/* "Wer sind wir" */
.about__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.about__text p { color: var(--text-muted); }
.about__text p:first-of-type {
	color: var(--text);
	font-size: var(--text-lg);
	font-weight: 500;
}

.about__facts {
	display: grid;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}
.about__fact {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	transition: border-color var(--t-base), transform var(--t-base);
}
.about__fact:hover { border-color: var(--cyan-border); transform: translateX(4px); }
.about__fact-icon { font-size: 1.35rem; line-height: 1.3; flex: none; }
.about__fact-label { display: block; font-weight: 700; font-size: var(--text-sm); }
.about__fact-value { display: block; color: var(--text-muted); font-size: var(--text-sm); }

@media (max-width: 860px) {
	.about__grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { display: grid; gap: var(--space-3); max-width: 52rem; margin-inline: auto; }
.faq__item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	transition: border-color var(--t-base);
}
.faq__item:hover { border-color: var(--cyan-border); }
.faq__q { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-2); color: var(--text); }
.faq__a { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }

/* ── 7. SPIELE ───────────────────────────────────────────────────────────── */

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	gap: var(--space-5);
	justify-content: center;
	align-items: stretch;
}

/* Bei nur einem Eintrag: mittig und nicht über die volle Breite gezogen. */
.games-grid:has(> .game-card:only-child) {
	grid-template-columns: minmax(20rem, 34rem);
	justify-content: center;
}

.game-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-8) var(--space-6);
}

.game-card__badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: var(--text-2xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--purple);
	background: var(--purple-soft);
	border: 1px solid var(--purple-border);
	border-radius: var(--radius-full);
	padding: 0.25rem 0.8rem;
}

.game-card__media {
	width: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	margin-bottom: var(--space-2);
}
.game-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.game-card__title {
	font-size: var(--text-xl);
	line-height: 1.15;
	margin-bottom: 0;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@supports (font-size: 1cqi) {
	.game-card__title { font-size: clamp(1.25rem, 8cqi, 1.85rem); }
}

.game-card__genre {
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	color: var(--cyan);
	letter-spacing: 0.06em;
	margin: 0;
}

.game-card__desc {
	color: var(--text-muted);
	font-size: var(--text-md);
	margin: 0;
	max-width: 32rem;
}

.game-card__platforms {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.game-card__platform {
	font-family: var(--font-mono);
	font-size: var(--text-2xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-subtle);
	border: 1px solid var(--border-2);
	border-radius: var(--radius-sm);
	padding: 0.15rem 0.6rem;
}

.game-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: center;
	margin-top: var(--space-3);
}

.games-empty {
	text-align: center;
	color: var(--text-muted);
	border: 1px dashed var(--border-2);
	border-radius: var(--radius-xl);
	padding: var(--space-8);
}

/* ── 8. DIENSTLEISTUNGEN ─────────────────────────────────────────────────── */

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
	gap: var(--space-5);
}

.service-card__icon {
	font-size: 2rem;
	line-height: 1;
	margin-bottom: var(--space-3);
	display: inline-grid;
	place-items: center;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: var(--radius-md);
	background: var(--surface-2);
	border: 1px solid var(--border-2);
}

.service-card__points {
	list-style: none;
	margin: var(--space-4) 0 0;
	padding: 0;
	display: grid;
	gap: var(--space-2);
}
.service-card__points li {
	position: relative;
	padding-left: 1.4rem;
	font-size: var(--text-sm);
	color: var(--text-muted);
}
.service-card__points li::before {
	content: "▹";
	position: absolute;
	left: 0;
	color: var(--cyan);
}

.local-band {
	background: linear-gradient(135deg, rgba(34, 224, 224, 0.07), rgba(155, 107, 255, 0.07));
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	text-align: center;
}
.local-band h2 { font-size: var(--text-xl); }
.local-band p { color: var(--text-muted); max-width: 46rem; margin-inline: auto; }
.local-band__areas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	justify-content: center;
	list-style: none;
	margin: var(--space-4) 0 0;
	padding: 0;
}
.local-band__areas li {
	font-size: var(--text-xs);
	color: var(--text-muted);
	border: 1px solid var(--border-2);
	border-radius: var(--radius-full);
	padding: 0.2rem 0.75rem;
	background: rgba(255, 255, 255, 0.02);
}

/* ── 8b. STELLENANGEBOTE ─────────────────────────────────────────────────── */

.jobs-admin-bar {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-6);
}

.jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
	gap: var(--space-5);
}

.jobs-grid:has(> .job-card:only-child) {
	grid-template-columns: minmax(19rem, 34rem);
	justify-content: center;
}

.job-card {
	position: relative;
	gap: var(--space-2);
}

/* Die ganze Card ist klickbar – der Link darin spannt sich darüber auf. */
.job-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.job-card__link {
	color: inherit;
	text-decoration: none;
}
.job-card:hover .job-card__title { color: var(--cyan); }

.job-card__type {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: var(--text-2xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cyan);
	background: var(--cyan-soft);
	border: 1px solid var(--cyan-border);
	border-radius: var(--radius-full);
	padding: 0.25rem 0.8rem;
	margin: 0 0 var(--space-2);
}

.job-card__title { transition: color var(--t-fast); }

.job-card__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	margin: var(--space-4) 0 0;
	padding: 0;
	font-size: var(--text-xs);
	color: var(--text-muted);
}
.job-card__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }

.job-card__more {
	margin-top: var(--space-4);
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--cyan);
}

/* Detailseite */
.job-back { margin-bottom: var(--space-5); font-size: var(--text-sm); }
.job-back a { text-decoration: none; }

.job-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: var(--space-6);
}

.job-head { grid-column: 1 / -1; }
.job-head h1 { font-size: var(--text-3xl); margin-bottom: 0; }

.job-detail { position: relative; }

/* Rechter Infoblock – bleibt beim Scrollen stehen.
   Wichtig: Das äußere <aside> füllt die ganze Zeilenhöhe, nur der innere
   Kasten klebt. Ohne diese Höhe hätte "sticky" keinen Weg zum Mitlaufen. */
.job-aside__inner {
	position: sticky;
	top: calc(var(--header-height) + 1.25rem);
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: var(--space-5);
}

.job-aside__facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0 0 var(--space-4);
	font-size: var(--text-sm);
}
.job-aside__facts dt {
	font-family: var(--font-mono);
	font-size: var(--text-2xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-subtle);
}
.job-aside__facts dd {
	margin: 0 0 var(--space-3);
	color: var(--text);
}
.job-aside__facts dd:last-child { margin-bottom: 0; }

.job-aside__title {
	font-size: var(--text-md);
	margin: 0 0 var(--space-3);
	padding-top: var(--space-4);
	border-top: 1px solid var(--border);
}

.job-aside__benefits {
	list-style: none;
	margin: 0 0 var(--space-5);
	padding: 0;
	display: grid;
	gap: var(--space-2);
}
.job-aside__benefits li {
	position: relative;
	padding-left: 1.5rem;
	font-size: var(--text-sm);
	color: var(--text-muted);
}
.job-aside__benefits li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: var(--purple);
}

.job-aside__cta { width: 100%; }

@media (max-width: 900px) {
	.job-layout { grid-template-columns: 1fr; }
	/* Eckdaten und Vorteile vor den Fließtext ziehen. */
	.job-head   { order: 1; }
	.job-aside  { order: 2; }
	.job-detail { order: 3; }
	.job-aside__inner { position: static; }
}

.job-detail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-2);
}
.job-detail__list li {
	position: relative;
	padding-left: 1.5rem;
	color: var(--text-muted);
	font-size: var(--text-sm);
}
.job-detail__list li::before {
	content: "▹";
	position: absolute;
	left: 0;
	color: var(--cyan);
}

.job-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--border);
}

/* ── 8c. BEDIENELEMENTE FÜR ANGEMELDETE REDAKTEURE ───────────────────────── */

.admin-hint {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	max-width: 46rem;
	margin: 0 auto var(--space-5);
	padding: var(--space-3) var(--space-4);
	border: 1px dashed var(--purple-border);
	background: var(--purple-soft);
	border-radius: var(--radius-lg);
	font-size: var(--text-sm);
	color: var(--text-muted);
}

.btn--admin {
	background: transparent;
	color: var(--purple);
	border: 1px dashed var(--purple-border);
}
.btn--admin:hover {
	color: var(--purple);
	background: var(--purple-soft);
	border-style: solid;
	border-color: var(--purple);
	transform: translateY(-2px);
}

.admin-controls {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	z-index: 3; /* über der klickbaren Cardfläche */
	display: flex;
	gap: 0.35rem;
}

.admin-controls__btn {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: var(--radius-sm);
	background: rgba(5, 7, 13, 0.85);
	border: 1px solid var(--border-2);
	color: var(--text-muted);
	font-size: 0.85rem;
	line-height: 1;
	text-decoration: none;
	transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.admin-controls__btn:hover {
	color: var(--cyan);
	border-color: var(--cyan-border);
	background: var(--surface-2);
}
.admin-controls__btn--danger:hover {
	color: #fca5a5;
	border-color: rgba(248, 113, 113, 0.5);
}

/* ── 9. KONTAKT & FORMULAR ───────────────────────────────────────────────── */

.contact-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(2rem, 5vw, 3.5rem);
	/* Kein "align-items: start": Die rechte Spalte muss die volle Zeilenhöhe
	   füllen, sonst hat der klebende Block darin keinen Weg zum Mitlaufen. */
}

/* Infoblock läuft beim Scrollen mit – wie auf der Stellenseite. */
.contact-aside__inner {
	position: sticky;
	top: calc(var(--header-height) + 1.25rem);
}

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-aside__inner { position: static; }
}

.contact-form-wrap {
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-row { margin-bottom: var(--space-4); }

.form-label {
	display: block;
	font-size: var(--text-sm);
	font-weight: 700;
	margin-bottom: var(--space-2);
	color: var(--text);
}

.req { color: var(--purple); }

.form-input {
	width: 100%;
	font-family: inherit;
	font-size: var(--text-sm);
	color: var(--text);
	background: rgba(5, 7, 13, 0.6);
	border: 1px solid var(--border-2);
	border-radius: var(--radius-md);
	padding: 0.8rem 1rem;
	transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-input::placeholder { color: var(--text-subtle); }
.form-input:hover { border-color: #3a4766; }
.form-input:focus {
	outline: none;
	border-color: var(--cyan);
	background: rgba(5, 7, 13, 0.85);
	box-shadow: 0 0 0 3px rgba(34, 224, 224, 0.15);
}
.form-textarea { resize: vertical; min-height: 11rem; line-height: 1.6; }

/* Auswahlfeld: gleiche Optik wie die Eingabefelder, mit eigenem Pfeil. */
select.form-input {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 2.6rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
	                  linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 1.15rem, calc(100% - 0.75rem) 1.15rem;
	background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
	background-repeat: no-repeat;
}
select.form-input option { background: var(--surface-2); color: var(--text); }

.form-label__opt {
	font-weight: 400;
	color: var(--text-subtle);
	font-size: var(--text-xs);
}

/* Dateiauswahl */
.form-file { padding: 0.6rem 0.7rem; cursor: pointer; }
.form-file::file-selector-button {
	margin-right: 0.9rem;
	padding: 0.45rem 1rem;
	font-family: inherit;
	font-size: var(--text-xs);
	font-weight: 700;
	color: var(--cyan);
	background: var(--cyan-soft);
	border: 1px solid var(--cyan-border);
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: background var(--t-fast), border-color var(--t-fast);
}
.form-file::file-selector-button:hover {
	background: rgba(34, 224, 224, 0.2);
	border-color: var(--cyan);
}

.form-row--upload .form-hint { margin-top: var(--space-2); }

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: var(--text-sm);
	color: var(--text-muted);
	cursor: pointer;
}
.form-check input {
	margin-top: 0.3rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--cyan);
	flex: none;
	cursor: pointer;
}

.form-actions { margin-top: var(--space-5); }
.form-hint {
	margin: var(--space-3) 0 0;
	font-size: var(--text-xs);
	color: var(--text-subtle);
}

/* Honeypot: unsichtbar, aber für Bots vorhanden */
.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-info { display: grid; gap: var(--space-3); }

.contact-item {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	transition: border-color var(--t-base);
}
.contact-item:hover { border-color: var(--cyan-border); }
.contact-item__icon { flex: none; font-size: 1.3rem; line-height: 1.35; }
.contact-item__label {
	display: block;
	font-size: var(--text-2xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-subtle);
	font-family: var(--font-mono);
	margin-bottom: 0.15rem;
}
.contact-item__value { font-size: var(--text-sm); color: var(--text); font-style: normal; }
.contact-item__value a { text-decoration: none; }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.hours-table th,
.hours-table td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-weight: 400; }
.hours-table th { color: var(--text-muted); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }

/* ── 10. RECHTSTEXTE ─────────────────────────────────────────────────────── */

.legal {
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: clamp(1.75rem, 5vw, 3.5rem);
}

.legal__head {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	padding-bottom: var(--space-5);
	margin-bottom: var(--space-6);
	border-bottom: 1px solid var(--border);
}
.legal__head img {
	width: 84px;
	height: 84px;
	flex: none;
	filter: drop-shadow(0 0 14px rgba(34, 224, 224, 0.6));
}
.legal__head h1 { margin: 0 0 0.2rem; font-size: var(--text-2xl); }
.legal__head p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }

@media (max-width: 600px) {
	.legal__head { flex-direction: column; text-align: center; gap: var(--space-3); }
	.legal__head img { width: 68px; height: 68px; }
}

.legal h2 {
	font-size: var(--text-lg);
	margin-top: var(--space-6);
	padding-top: var(--space-5);
	border-top: 1px solid var(--border);
	color: var(--cyan);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* Ausnahme: Folgt die Überschrift auf einen Fließtext, gehört die Trennlinie
   dazwischen – sonst kleben Beschreibung und „Deine Aufgaben" aneinander.
   Höhere Gewichtung als die Regel darüber, damit die Reihenfolge egal ist. */
.legal.job-detail .entry-content + h2 {
	margin-top: var(--space-6);
	padding-top: var(--space-5);
	border-top: 1px solid var(--border);
}
.legal h3 { font-size: var(--text-md); margin-top: var(--space-5); }
.legal p, .legal li { color: var(--text-muted); font-size: var(--text-sm); }
.legal address { font-style: normal; color: var(--text); }

.legal__data {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.6rem var(--space-5);
	margin: 0;
	font-size: var(--text-sm);
}
.legal__data dt { color: var(--text-subtle); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0.15rem; }
.legal__data dd { margin: 0; color: var(--text); }
@media (max-width: 560px) {
	.legal__data { grid-template-columns: 1fr; gap: 0.15rem; }
	.legal__data dd { margin-bottom: var(--space-3); }
}

/* Allgemeiner Inhalt aus dem Editor */
.entry-content > * + * { margin-top: var(--space-4); }
.entry-content h2 { margin-top: var(--space-8); }
.entry-content img { border-radius: var(--radius-lg); }

/* ── 11. FUSSZEILE ───────────────────────────────────────────────────────── */

.site-footer {
	margin-top: var(--space-12);
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(10, 14, 24, 0.5), rgba(5, 7, 13, 1));
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr;
	gap: clamp(2rem, 5vw, 3.5rem);
	max-width: var(--max-width);
	margin-inline: auto;
	padding: var(--space-10) clamp(1rem, 4vw, 2rem) var(--space-6);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-brand__top { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand__top img { width: 40px; height: 40px; filter: drop-shadow(0 0 9px rgba(34, 224, 224, 0.5)); }
.footer-name { font-weight: 800; font-size: var(--text-md); }
.footer-tagline { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--cyan); letter-spacing: 0.04em; }
.footer-desc { color: var(--text-muted); font-size: var(--text-sm); max-width: 28rem; margin: var(--space-2) 0 0; }
.footer-address { font-style: normal; color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }

.footer-col h2 {
	font-size: var(--text-2xs);
	font-family: var(--font-mono);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-subtle);
	margin-bottom: var(--space-4);
	font-weight: 600;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: var(--text-sm);
	transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }

.footer-contact { display: grid; gap: var(--space-3); }
.footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--text-muted);
	text-decoration: none;
	font-size: var(--text-sm);
	transition: color var(--t-fast);
}
.footer-contact a:hover { color: var(--cyan); }
.footer-contact svg { flex: none; }

.footer-bottom {
	border-top: 1px solid var(--border);
	max-width: var(--max-width);
	margin-inline: auto;
	padding: var(--space-4) clamp(1rem, 4vw, 2rem) var(--space-6);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-5);
	align-items: center;
	justify-content: space-between;
	font-size: var(--text-xs);
	color: var(--text-subtle);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-bottom a { color: var(--text-subtle); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

@media (max-width: 860px) {
	.footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
	.footer-bottom { justify-content: center; text-align: center; }
}

/* ── 12. ANIMATIONEN ─────────────────────────────────────────────────────── */

/* Glitch-Effekt für den Slogan */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent;
	pointer-events: none;
}
.glitch::before {
	color: var(--cyan);
	-webkit-text-fill-color: var(--cyan);
	clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
	animation: glitch-top 2.6s steps(1) infinite;
}
.glitch::after {
	color: var(--purple);
	-webkit-text-fill-color: var(--purple);
	clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
	animation: glitch-bottom 2.6s steps(1) infinite;
}

@keyframes glitch-top {
	0%, 82%, 100% { transform: none; opacity: 0; }
	83% { transform: translate(-5px, 2px);  opacity: 1; }
	85% { transform: translate(5px, -2px);  opacity: 1; }
	87% { transform: translate(-4px, 3px);  opacity: 1; }
	89% { transform: translate(4px, -3px);  opacity: 1; }
	91% { transform: translate(-6px, 1px);  opacity: 1; }
	93% { transform: translate(2px, 2px);   opacity: 1; }
	95% { transform: translate(-2px, -2px); opacity: 1; }
	96% { transform: none; opacity: 0; }
}

@keyframes glitch-bottom {
	0%, 78%, 100% { transform: none; opacity: 0; }
	79% { transform: translate(5px, 3px);   opacity: 1; }
	81% { transform: translate(-5px, -3px); opacity: 1; }
	83% { transform: translate(4px, 2px);   opacity: 1; }
	85% { transform: translate(-4px, -2px); opacity: 1; }
	87% { transform: translate(6px, 1px);   opacity: 1; }
	89% { transform: translate(-2px, 3px);  opacity: 1; }
	91% { transform: none; opacity: 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes hero-float {
	0%, 100% { transform: translateY(9.5%); }
	50%      { transform: translateY(5.2%); }
}

@keyframes breathe {
	0%, 100% { opacity: 0.55; transform: scale(1); }
	50%      { opacity: 1;    transform: scale(1.06); }
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.35; }
}

/* Sanftes Einblenden beim Laden */
.fade-up {
	animation: fade-up 0.8s var(--ease) both;
}
.fade-up--1 { animation-delay: 0.1s; }
.fade-up--2 { animation-delay: 0.2s; }
.fade-up--3 { animation-delay: 0.3s; }
.fade-up--4 { animation-delay: 0.4s; }

@keyframes fade-up {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: none; }
}

/* ── 13. BARRIEREFREIHEIT & DRUCK ────────────────────────────────────────── */

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.hero__visual::before,
	.hero__visual picture,
	.glitch::before,
	.glitch::after { animation: none !important; }
	.glitch::before,
	.glitch::after { opacity: 0 !important; }
}

@media print {
	body { background: #fff; color: #000; }
	.site-header, .site-footer, .hero__canvas, .hero__grid, .nav-toggle, .contact-form-wrap form { display: none !important; }
	.card, .legal { border: 1px solid #ccc; background: none; }
	a { color: #000; text-decoration: underline; }
}
