/* ==========================================================================
   TradingApez Neon – main.css
   Spektrum-Verlauf + Neon-Nacht. Zwei Modi: Smart (Standard) und Ape Mode.
   ========================================================================== */

/* Schriften – lokal, keine externen Anfragen (DSGVO). Lizenz: SIL OFL 1.1 */
@font-face {
	font-family: "Boldonse";
	src: url("../fonts/Boldonse-Regular.woff2") format("woff2"), url("../fonts/Boldonse-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/BricolageGrotesque-Regular.woff2") format("woff2"), url("../fonts/BricolageGrotesque-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/BricolageGrotesque-Bold.woff2") format("woff2"), url("../fonts/BricolageGrotesque-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Markenfarben (aus dem TradingApez-Verlauf) */
	--cyan: #4aeadc;
	--lilac: #9778d1;
	--magenta: #cf2aba;
	--pink: #ee2c82;
	--coral: #fb6962;
	--lemon: #fef84c;
	--gold: #ffcd57;
	--royal: #060097;
	--night: #0d0620;
	--night-2: #170a33;
	--night-3: #241048;
	--sky-1: #0a031c;
	--sky-2: #170733;
	--sky-3: #260a48;

	/* Dieselben Farben als RGB-Tripel – für transparente Töne (rgba) */
	--rgb-cyan: 74, 234, 220;
	--rgb-lilac: 151, 120, 209;
	--rgb-magenta: 207, 42, 186;
	--rgb-pink: 238, 44, 130;
	--rgb-lemon: 254, 248, 76;
	--rgb-gold: 255, 205, 87;
	--rgb-night: 13, 6, 32;
	--rgb-night2: 23, 10, 51;
	--rgb-coral: 251, 105, 98;

	/* Ape Mode (wird je Welt angepasst) */
	--wild-bg: #14002e;
	--wild-surface: #22064a;
	--wild-surface-2: #320b66;
	--wild-accent: var(--lemon);
	--rgb-wild-bg: 20, 0, 46;

	/* Hero-Boden (Canvas liest diese Werte) */
	--rgb-bg: var(--rgb-night);
	--rgb-floor-calm: 34, 9, 66;
	--rgb-floor-wild: 52, 6, 92;
	--rgb-floor: var(--rgb-floor-calm);
	--rgb-glow: var(--rgb-magenta);
	--rgb-grid: var(--rgb-pink);
	--rgb-horizon: var(--rgb-cyan);
	--horizon-hot: #ff7bd0;

	--spectrum: linear-gradient(135deg, var(--cyan) 0%, var(--lilac) 20%, var(--magenta) 40%, var(--pink) 60%, var(--coral) 80%, var(--lemon) 100%);
	--spectrum-x: linear-gradient(90deg, var(--cyan), var(--lilac), var(--magenta), var(--pink), var(--coral), var(--lemon));

	/* Rollen */
	--bg: var(--night);
	--surface: var(--night-2);
	--surface-2: var(--night-3);
	--text: #fff;
	--dim: rgba(255, 255, 255, 0.74);
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.3);
	--accent: var(--gold);
	--on-accent: #1a0b2e;
	--pop: var(--pink);
	--bull: var(--cyan);
	--bear: var(--pink);

	/* Typo */
	--font-display: "Boldonse", "Arial Black", Impact, sans-serif;
	--font-body: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Layout */
	--wrap: 1240px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--header-h: 72px;
	--r-s: 10px;
	--r-m: 18px;
	--r-phone: 28px;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-mode="wild"] {
	--bg: var(--wild-bg);
	--surface: var(--wild-surface);
	--surface-2: var(--wild-surface-2);
	--rgb-bg: var(--rgb-wild-bg);
	--rgb-floor: var(--rgb-floor-wild);
	--accent: var(--wild-accent);
	--pop: var(--cyan);
	--line: rgba(255, 255, 255, 0.16);
}

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

html {
	background: var(--bg);
	transition: background-color 0.5s var(--ease);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	/* Nichts darf seitlich überstehen – auch nicht der tanzende Begleiter-Ape im Ape Mode */
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	margin: 0;
	background: transparent;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 0.5s var(--ease);
	overflow-x: hidden;
	overflow-x: clip;
}

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

a {
	color: inherit;
}

p {
	margin: 0 0 1rem;
}

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

::selection {
	background: var(--pink);
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -120px;
	z-index: 100;
	padding: 0.75rem 1rem;
	border-radius: var(--r-s);
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus {
	top: 1rem;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.anchor-alias {
	position: relative;
	top: calc(-1 * var(--header-h));
	display: block;
	height: 0;
}

.site-main {
	position: relative;
}
.site-main:focus {
	outline: none;
}

/* Seiten-Atmosphäre: Licht wandert beim Scrollen durchs Spektrum */
.ambient {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	--amb-a: var(--cyan);
	--amb-b: var(--magenta);
	--amb-y: 12%;
}
.ambient i {
	position: absolute;
	width: 70vmax;
	height: 70vmax;
	border-radius: 50%;
	opacity: 0.16;
	filter: blur(40px);
	transition: background 0.8s linear, top 0.8s linear;
}
.ambient i:first-child {
	left: -30vmax;
	top: var(--amb-y);
	background: radial-gradient(circle, var(--amb-a), transparent 65%);
}
.ambient i:last-child {
	right: -32vmax;
	top: calc(var(--amb-y) + 25%);
	background: radial-gradient(circle, var(--amb-b), transparent 65%);
}
.ambient::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.h2 {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.5rem, 4.4vw, 3rem);
	line-height: 1.4;
	overflow-wrap: break-word;
}

.h3 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

.lead {
	max-width: 58ch;
	margin: 0 0 1.25rem;
	color: var(--dim);
	font-size: clamp(1.1rem, 1.5vw, 1.25rem);
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons, Chips
   -------------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.8rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(var(--rgb-gold), 0.32), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 40px rgba(var(--rgb-gold), 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn:active {
	transform: translateY(1px);
	box-shadow: 0 4px 16px rgba(var(--rgb-gold), 0.35);
}
.btn--big {
	min-height: 58px;
	padding: 1rem 2rem;
	font-size: 1.125rem;
}
.btn--small {
	min-height: 40px;
	padding: 0.55rem 1.1rem;
	font-size: 0.95rem;
}
.btn--glass,
.btn--ghost {
	border: 2px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	box-shadow: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.btn--glass:hover,
.btn--ghost:hover {
	border-color: var(--cyan);
	box-shadow: 0 0 24px rgba(var(--rgb-cyan), 0.35);
	transform: translateY(-2px);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 1.15rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectrum) border-box;
	color: var(--text);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s var(--ease);
}
.chip:hover {
	transform: translateY(-2px);
}
.chip--solid {
	background: linear-gradient(var(--accent), var(--accent)) padding-box, linear-gradient(var(--accent), var(--accent)) border-box;
	color: var(--on-accent);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s;
}
.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
.site-header.is-scrolled,
.is-inner .site-header {
	border-bottom-color: var(--line);
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
}
.brand__logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
.brand__name {
	font-family: var(--font-display);
	font-size: 0.95rem;
	line-height: 1;
	padding-top: 0.28em;
}

.nav {
	margin-left: auto;
}
.nav__list {
	display: flex;
	gap: clamp(1rem, 1.8vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list a {
	position: relative;
	padding: 0.35rem 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.98rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 3px;
	border-radius: 3px;
	background: var(--spectrum-x);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}
.nav__list a:hover,
.nav__list a[aria-current="true"] {
	color: #fff;
}
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after {
	transform: scaleX(1);
}
.nav__extra {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Ape-Mode-Schalter */
.ape-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}
.ape-switch__track {
	position: relative;
	width: 54px;
	height: 30px;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.45);
	transition: background 0.25s, border-color 0.25s;
}
.ape-switch__knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.35s var(--ease), background-color 0.25s;
}
.ape-switch__knob::after {
	content: "🦍";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 12px;
	line-height: 1;
}
.ape-switch[aria-checked="true"] .ape-switch__track {
	border-color: transparent;
	background: var(--spectrum-x);
}
.ape-switch[aria-checked="true"] .ape-switch__knob {
	background: var(--night);
	transform: translateX(24px);
}
.ape-switch[aria-checked="true"] .ape-switch__knob::after {
	content: "🍌";
}
.ape-switch.is-nudge .ape-switch__track {
	animation: nudge 0.9s var(--ease);
}
@keyframes nudge {
	20% { transform: rotate(-9deg); }
	40% { transform: rotate(8deg); }
	60% { transform: rotate(-5deg); }
	80% { transform: rotate(3deg); }
}

.burger {
	display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: max(700px, 100svh);
	padding: calc(var(--header-h) + 2rem) 0 4.5rem;
	overflow: hidden;
}
/* Nachthimmel mit Spektrum-Licht */
.hero__sky {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(ellipse 42% 48% at 72% 46%, rgba(var(--rgb-magenta), 0.42), transparent 70%),
		radial-gradient(ellipse 45% 40% at 8% 6%, rgba(var(--rgb-cyan), 0.2), transparent 70%),
		radial-gradient(ellipse 38% 32% at 98% 4%, rgba(var(--rgb-lemon), 0.1), transparent 70%),
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 78%, var(--night) 100%);
	transition: opacity 0.5s;
}
/* Optional im Customizer: heller Spektrum-Verlauf */
.hero-spectrum .hero__sky {
	background: linear-gradient(135deg, var(--cyan) 0%, var(--lilac) 18%, var(--magenta) 36%, var(--pink) 54%, var(--coral) 72%, var(--lemon) 90%);
}
.hero-spectrum .hero__sky::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 80% at 18% 55%, rgba(var(--rgb-night), 0.4), transparent 70%);
}
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22%;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, transparent, var(--bg));
}
.hero__floor {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}
.hero__content {
	position: relative;
	z-index: 4;
}

.hero__title {
	margin: 0 0 1.4rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.9rem, 5.4vw, 4.9rem);
	line-height: 1.28;
}
.hero__line {
	display: block;
	width: max-content;
	max-width: 100%;
	transition: color 0.3s;
}
.hero__line:first-child {
	color: transparent;
	-webkit-text-stroke: max(1.5px, 0.022em) #fff;
	text-shadow: none;
}
.hero__line:last-child {
	color: #fff;
	text-shadow: 0 0 40px rgba(var(--rgb-magenta), 0.45);
}

.hero__text {
	max-width: 44ch;
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.hero__proof {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(var(--rgb-cyan), 0.35);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.45);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* Der Ape vor dem Neon-Portal */
.hero__ape {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: center;
	gap: 1.25rem;
}
.ape {
	position: relative;
	display: block;
	width: min(100%, 520px);
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	perspective: 900px;
	-webkit-tap-highlight-color: transparent;
}
.ape:focus-visible {
	outline-offset: -10px;
	border-radius: 50%;
}
@keyframes float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -12px; }
}
.ape__body {
	position: relative;
	z-index: 2;
	display: block;
	transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
	transform-style: preserve-3d;
	transition: transform 0.25s var(--ease), scale 0.12s ease-out;
	animation: float 6s ease-in-out infinite;
}
.ape__img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 26px 34px rgba(var(--rgb-night), 0.55));
	user-select: none;
	-webkit-user-drag: none;
}
/* Outfit-Ebene: deckt das Logo ab, 20 % Luft nach oben für Hüte */
.outfit-layer {
	position: absolute;
	left: 0;
	top: -19.6078%;
	width: 100%;
	height: 119.6078%;
	pointer-events: none;
}
.outfit-layer svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* Das Portal: Leitmotiv der Seite */
.portal {
	position: absolute;
	left: 50%;
	top: 47%;
	z-index: 1;
	width: 104%;
	aspect-ratio: 1;
	translate: -50% -50%;
	pointer-events: none;
}
.portal > * {
	position: absolute;
	inset: 0;
	border-radius: 50%;
}
.portal__core {
	inset: 6%;
	background: radial-gradient(circle, rgba(var(--rgb-magenta), 0.32) 0%, rgba(var(--rgb-cyan), 0.08) 45%, transparent 68%);
}
.portal__ring,
.portal__halo i {
	background: conic-gradient(from 0deg, var(--cyan), var(--lilac), var(--magenta), var(--pink), var(--coral), var(--lemon), var(--cyan));
	animation: spin 40s linear infinite;
}
.portal__ring {
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
}
.portal__halo {
	filter: blur(22px);
	opacity: 0.85;
	transition: opacity 0.3s, filter 0.3s;
}
.portal__halo i {
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 44px), #000 calc(100% - 40px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 44px), #000 calc(100% - 40px));
}
.portal.is-flash .portal__halo {
	animation: flash 0.5s var(--ease);
}
@keyframes flash {
	30% { opacity: 1; filter: blur(14px) brightness(1.6); }
}
@keyframes spin {
	to { transform: rotate(360deg); }
}

.ape.is-nod .ape__body {
	animation: nod 0.5s var(--ease);
}
@keyframes nod {
	30% { transform: rotate(-7deg) scale(1.06); }
	60% { transform: rotate(5deg) scale(1.03); }
}

.pump {
	text-align: center;
	pointer-events: none;
}
.pump__hint {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.35);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
}
.pump__meter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
}
.pump__meter span {
	width: 16px;
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.22);
	transition: background-color 0.2s, transform 0.2s;
}
.pump__meter span.is-on {
	background: var(--lemon);
	box-shadow: 0 0 10px rgba(var(--rgb-lemon), 0.7);
	transform: scaleY(1.5);
}

/* Laser-Augen (nur im Ape Mode sichtbar) */
.lasers {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	display: none;
}
.laser {
	position: absolute;
	left: 0;
	top: 0;
	width: 240vmax;
	height: 6px;
	margin-top: -3px;
	border-radius: 6px;
	background: linear-gradient(90deg, #fff 0%, #ff2d6f 6%, rgba(255, 45, 111, 0.85) 40%, rgba(255, 45, 111, 0) 100%);
	box-shadow: 0 0 14px 4px rgba(255, 45, 111, 0.65), 0 0 40px 10px rgba(var(--rgb-pink), 0.35);
	transform-origin: 0 50%;
}

/* Band, nur im Ape Mode */
.tape-zone {
	display: none;
}

/* --------------------------------------------------------------------------
   Abschnitte + Preislevel-Marken
   -------------------------------------------------------------------------- */
.section {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.level {
	position: relative;
	height: 1px;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.level::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--spectrum-x);
	opacity: 0.6;
	-webkit-mask: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 12px);
	mask: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 12px);
}
.level__tag {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.45rem 0.85rem 0.45rem 1.25rem;
	border-radius: 0 5px 5px 0;
	background: var(--spectrum-x);
	color: var(--night);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1;
	clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
	transform: translateY(-50%);
	transition: transform 0.3s var(--ease);
}

/* Karten mit Verlaufsrand */
.quiz,
.join {
	border: 1px solid transparent;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(var(--rgb-cyan), 0.7), rgba(var(--rgb-magenta), 0.7), rgba(var(--rgb-lemon), 0.6)) border-box;
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.team__people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
	max-width: 600px;
}
.person {
	margin: 0;
	text-align: center;
}
.person--2 {
	margin-top: 4rem;
}
.person__ring {
	position: relative;
	padding: 6px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, var(--cyan), var(--lilac), var(--magenta), var(--pink), var(--coral), var(--lemon), var(--cyan));
	box-shadow: 0 0 40px rgba(var(--rgb-magenta), 0.35);
}
.person__frame {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border: 4px solid var(--bg);
	border-radius: 50%;
	background: var(--surface);
}
.person__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}
.person:hover .person__img {
	transform: scale(1.06);
}
.person figcaption {
	margin-top: 1rem;
}
.person__name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.2rem;
	line-height: 1.5;
}
.person__role {
	display: block;
	color: var(--dim);
	font-size: 1rem;
	line-height: 1.4;
}

.placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	background: var(--spectrum);
	color: var(--night);
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	line-height: 1.4;
	text-align: center;
}

/* Motto als Neon-Schriftzug zwischen zwei Neonröhren */
.band {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5.5rem);
}
.band::before,
.band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--spectrum-x);
	box-shadow: 0 0 18px rgba(var(--rgb-magenta), 0.7);
}
.band::before { top: 0; }
.band::after { bottom: 0; }
.band__text {
	width: max-content;
	max-width: 100%;
	margin-block: 0;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 4.6vw, 3.6rem);
	line-height: 1.35;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 22px rgba(var(--rgb-magenta), 0.45));
}

/* --------------------------------------------------------------------------
   Academy + Quiz
   -------------------------------------------------------------------------- */
.academy__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.quiz {
	position: relative;
	margin-top: 2rem;
	padding: 1.5rem 1.5rem 1.75rem;
	overflow: hidden;
	border-radius: var(--r-m);
}
.quiz__title {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.1rem;
	line-height: 1.5;
}
.quiz__step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.quiz__step.is-in {
	animation: step-in 0.35s var(--ease);
}
@keyframes step-in {
	from {
		opacity: 0;
		transform: translateX(18px);
	}
}
.quiz__step legend {
	margin-bottom: 1rem;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
}
.quiz__count {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 400;
}
.quiz__answers {
	display: grid;
	gap: 0.6rem;
}
.quiz__answer {
	min-height: 48px;
	padding: 0.8rem 1rem;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-s);
	background: transparent;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.quiz__answer:hover {
	border-color: var(--cyan);
	background: rgba(var(--rgb-cyan), 0.1);
}
.quiz__result {
	animation: step-in 0.35s var(--ease);
}
.quiz__result:focus {
	outline: none;
}
.quiz__verdict {
	margin: 0 0 1.25rem;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.3;
}
.quiz__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.quiz__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--line);
}
.quiz__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--spectrum-x);
	transition: width 0.35s var(--ease);
}

.courses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 1rem 0 0;
	list-style: none;
}
.course {
	position: relative;
}
/* Treppe: jede Academy eine Stufe weiter */
.course:nth-child(2) {
	margin-top: 2.5rem;
}
.course:nth-child(3) {
	margin-top: 5rem;
}
.phone {
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border: 5px solid var(--surface-2);
	border-radius: var(--r-phone);
	background: var(--surface);
	box-shadow: 0 0 0 1px rgba(var(--rgb-cyan), 0.35), 0 18px 50px rgba(var(--rgb-cyan), 0.12), 0 10px 60px rgba(var(--rgb-magenta), 0.18);
	transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.course:hover .phone {
	transform: translateY(-6px);
}
.phone__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.phone .placeholder {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.course__name {
	margin: 1rem 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}
.course__text {
	margin: 0;
	color: var(--dim);
	font-size: 0.98rem;
	line-height: 1.5;
}
.course__badge {
	position: absolute;
	top: -14px;
	left: 50%;
	z-index: 2;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: var(--spectrum-x);
	color: var(--night);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 6px) scale(0.85);
	transition: opacity 0.3s, transform 0.35s var(--ease);
	pointer-events: none;
}
.course.is-pick .phone {
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px var(--cyan), 0 0 50px rgba(var(--rgb-cyan), 0.5);
}
.course.is-pick .course__badge {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}

/* --------------------------------------------------------------------------
   Segment-Umschalter (Arcade-Tabs)
   -------------------------------------------------------------------------- */
.seg {
	display: inline-flex;
	margin: 0.5rem 0 1.75rem;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
}
.seg__btn {
	min-height: 44px;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--dim);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.seg__btn[aria-selected="true"] {
	background: var(--spectrum-x);
	color: var(--night);
}

/* --------------------------------------------------------------------------
   Mindset
   -------------------------------------------------------------------------- */
.mindset {
	position: relative;
}
.mindset__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.mindset__art {
	justify-self: center;
	width: min(100%, 460px);
}
.neon-ring {
	position: relative;
	padding: 7px;
	border-radius: 50%;
	background: conic-gradient(from 200deg, var(--cyan), var(--lilac), var(--magenta), var(--pink), var(--coral), var(--lemon), var(--cyan));
	box-shadow: 0 0 50px rgba(var(--rgb-magenta), 0.45), 0 0 120px rgba(var(--rgb-cyan), 0.15);
}
.neon-ring__inner {
	overflow: hidden;
	border: 5px solid var(--bg);
	border-radius: 50%;
	aspect-ratio: 1;
	background: var(--surface);
}
.mindset__img,
.mindset__art .placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mindset .h2 {
	font-size: clamp(1.6rem, 4.8vw, 3.4rem);
}
.mindset__pill {
	display: inline-block;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	color: var(--text);
	font-size: 0.95rem;
	font-weight: 700;
}
.pulse {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pulse__svg {
	display: block;
	width: 100%;
	height: clamp(110px, 15vw, 180px);
	overflow: visible;
}
.pulse__line {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 6px rgba(var(--rgb-pink), 0.6));
}
.pulse__labels {
	display: flex;
	justify-content: space-between;
	margin-top: 0.5rem;
	color: var(--dim);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Warum wir
   -------------------------------------------------------------------------- */
.values__list {
	margin: 2rem 0 0;
}
.value {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 0.75rem 3rem;
	align-items: baseline;
	padding: clamp(1.5rem, 3vw, 2.25rem) 0;
	border-top: 1px solid var(--line);
}
.value:last-child {
	border-bottom: 1px solid var(--line);
}
.value__name {
	width: max-content;
	max-width: 100%;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 4.4vw, 3rem);
	line-height: 1.4;
	background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--cyan) 62%, var(--magenta) 80%, var(--lemon) 100%);
	background-size: 200% 100%;
	background-position: 0 0;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: background-position 0.6s var(--ease);
}
.value:hover .value__name {
	background-position: 100% 0;
}
.value__text {
	max-width: 40ch;
	margin: 0;
	color: var(--dim);
	font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.community__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
	margin-top: 2rem;
}
.tier {
	padding-top: 1.25rem;
	border-top: 3px solid var(--cyan);
}
.tier .checks {
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 0.85rem 2rem;
}
.checks {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.checks li {
	position: relative;
	padding-left: 2rem;
	line-height: 1.45;
}
.checks li::before {
	content: "";
	position: absolute;
	top: 0.15em;
	left: 0;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--cyan);
}
.checks li::after {
	content: "";
	position: absolute;
	top: 0.33em;
	left: 0.42rem;
	width: 0.36rem;
	height: 0.62rem;
	border: solid var(--night);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.join {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
	border-radius: var(--r-m);
}
.join__ape {
	width: 92px;
	height: auto;
	margin: -2.5rem 0 -1rem;
	filter: drop-shadow(0 10px 20px rgba(var(--rgb-night), 0.5));
}
.join__text {
	flex: 1 1 260px;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.5rem);
	line-height: 1.5;
}

.platforms {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}
.platforms__title {
	margin: 0 0 1rem;
	color: var(--dim);
	font-size: 1.1rem;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Mini-Game „Ape Runner“
   -------------------------------------------------------------------------- */
.game__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.legend {
	display: grid;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: 1rem;
}
.legend li {
	display: flex;
	gap: 0.65rem;
	align-items: baseline;
	color: var(--dim);
}
.legend strong {
	color: var(--text);
}
.legend__icon {
	flex: none;
	width: 1.5rem;
	text-align: center;
}
.game__help {
	max-width: 50ch;
	margin: 0;
	color: var(--dim);
	font-size: 0.95rem;
}
.game__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2.5rem;
	margin: 1.5rem 0 0;
}
.game__stats dt {
	color: var(--dim);
	font-size: 0.9rem;
	font-weight: 700;
}
.game__stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 2.1rem);
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.game__stats .game__rank {
	font-family: var(--font-body);
	font-weight: 700;
	background: none;
	color: var(--text);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	line-height: 2;
}
.game__frame {
	position: relative;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--r-m);
	background: linear-gradient(var(--night), var(--night)) padding-box, var(--spectrum) border-box;
	box-shadow: 0 30px 90px rgba(var(--rgb-magenta), 0.3), 0 0 60px rgba(var(--rgb-cyan), 0.08);
}
.game__canvas {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	touch-action: none;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.game__tools {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 3;
	display: flex;
	gap: 0.4rem;
}
.game__tool {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(var(--rgb-night), 0.55);
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.game__tool:hover {
	border-color: var(--cyan);
}
.game__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.4rem;
	padding: 3.2rem 1.25rem 1.25rem;
	background: radial-gradient(ellipse at center, rgba(var(--rgb-night), 0.6), rgba(var(--rgb-night), 0.88));
	text-align: center;
	overflow-y: auto;
}
.game__overlay[hidden] {
	display: none;
}
.game__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2.6vw, 2rem);
	line-height: 1.45;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 18px rgba(var(--rgb-magenta), 0.5));
}
.game__msg {
	max-width: 36ch;
	margin: 0 0 0.5rem;
	font-weight: 700;
}
.game__result {
	display: grid;
	justify-items: center;
	gap: 0.2rem;
	margin-bottom: 0.6rem;
}
.game__result[hidden] {
	display: none;
}
.game__score {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4.2vw, 2.8rem);
	line-height: 1.35;
	color: #fff;
	text-shadow: 0 0 30px rgba(var(--rgb-pink), 0.7);
	font-variant-numeric: tabular-nums;
}
.game__badge {
	margin: 0;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--spectrum-x);
	color: var(--night);
	font-weight: 700;
}
.game__runstats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem 1.2rem;
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--dim);
	font-size: 0.92rem;
}
.game__runstats b {
	color: #fff;
}
.game__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}
.game__buttons [hidden] {
	display: none;
}

/* Vollbild / Fokus-Modus */
.game__frame.is-focus {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: var(--night);
}
.game__frame.is-focus .game__canvas {
	width: min(100vw, calc(100vh * 16 / 9));
	width: min(100vw, calc(100dvh * 16 / 9));
}
@media (orientation: portrait) {
	.game__frame.is-focus .game__canvas {
		width: 100vw;
		aspect-ratio: 4 / 5;
	}
}
.is-game-focus body {
	overflow: hidden;
}

/* Beat-Knopf (nur im Ape Mode) */
.beat {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 85;
	display: none;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.6rem 1.1rem 0.6rem 0.9rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: linear-gradient(var(--night), var(--night)) padding-box, var(--spectrum-x) border-box;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 40px rgba(var(--rgb-pink), 0.45);
}
html[data-mode="wild"] .beat {
	display: inline-flex;
}
.beat[hidden] {
	display: none !important;
}
.beat__eq {
	display: inline-flex;
	align-items: flex-end;
	gap: 3px;
	height: 18px;
}
.beat__eq i {
	display: block;
	width: 4px;
	height: 30%;
	border-radius: 2px;
	background: var(--spectrum);
	background-size: 100% 300%;
}
.beat[aria-pressed="true"] .beat__eq i {
	animation: eq 0.5s ease-in-out infinite alternate;
}
.beat[aria-pressed="true"] .beat__eq i:nth-child(2) { animation-delay: -0.15s; }
.beat[aria-pressed="true"] .beat__eq i:nth-child(3) { animation-delay: -0.3s; }
.beat[aria-pressed="true"] .beat__eq i:nth-child(4) { animation-delay: -0.42s; }
@keyframes eq {
	from { height: 20%; }
	to { height: 100%; }
}

/* Takt-Impulse */
html.is-beat .ape__body {
	scale: 1.07;
}
html.is-beat .laser {
	height: 10px;
	margin-top: -5px;
}
html.is-beat .tape {
	filter: brightness(1.25);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 0 clamp(2rem, 5vw, 5rem);
}
.faq__grid .level {
	grid-column: 1 / -1;
}
.qa {
	border-top: 1px solid var(--line);
}
.qa:last-child {
	border-bottom: 1px solid var(--line);
}
.qa__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.qa__q::-webkit-details-marker {
	display: none;
}
.qa__q::after {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background:
		linear-gradient(var(--night), var(--night)) center / 12px 2px no-repeat,
		linear-gradient(var(--night), var(--night)) center / 2px 12px no-repeat,
		var(--spectrum);
	transition: transform 0.3s var(--ease);
}
.qa[open] .qa__q::after {
	transform: rotate(135deg);
}
.qa__a {
	padding: 0 3rem 1.4rem 0;
	color: var(--dim);
}
.qa__a p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5rem);
}
.contact__direct {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.form {
	display: grid;
	gap: 1.1rem;
}
.form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}
.field {
	display: grid;
	gap: 0.4rem;
}
.field__label {
	font-size: 0.95rem;
	font-weight: 700;
}
.field__opt {
	color: var(--dim);
	font-weight: 400;
}
.field input,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.8rem 0.95rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea {
	resize: vertical;
}
.field input:focus,
.field textarea:focus {
	border-color: var(--cyan);
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--rgb-cyan), 0.25), 0 0 24px rgba(var(--rgb-magenta), 0.25);
}
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.consent {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--dim);
	font-size: 0.95rem;
	line-height: 1.45;
}
.consent input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0.05rem 0 0;
	accent-color: var(--pink);
}
.consent a {
	color: var(--text);
}
.form .btn {
	justify-self: start;
}
.notice {
	margin: 0 0 1.25rem;
	padding: 1rem 1.2rem;
	border-radius: var(--r-s);
	font-weight: 700;
}
.notice--ok {
	border: 2px solid var(--cyan);
	background: rgba(var(--rgb-cyan), 0.12);
}
.notice--error {
	border: 2px solid var(--pink);
	background: rgba(var(--rgb-pink), 0.14);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	position: relative;
	isolation: isolate;
	padding: clamp(3rem, 7vw, 6rem) 0 2rem;
	overflow: hidden;
	border-top: 1px solid var(--line);
}
/* Die Seite endet, wo sie begonnen hat: auf dem Neon-Boden */
.site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: min(42%, 300px);
	z-index: -1;
	--floor-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 260' preserveAspectRatio='none'%3E%3Cg stroke='%23ee2c82' stroke-opacity='.6' stroke-width='1.2' vector-effect='non-scaling-stroke'%3E%3Cline x1='500' y1='0' x2='-2000' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1900' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1800' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1700' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1600' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1500' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1400' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1300' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1200' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1100' y2='260'/%3E%3Cline x1='500' y1='0' x2='-1000' y2='260'/%3E%3Cline x1='500' y1='0' x2='-900' y2='260'/%3E%3Cline x1='500' y1='0' x2='-800' y2='260'/%3E%3Cline x1='500' y1='0' x2='-700' y2='260'/%3E%3Cline x1='500' y1='0' x2='-600' y2='260'/%3E%3Cline x1='500' y1='0' x2='-500' y2='260'/%3E%3Cline x1='500' y1='0' x2='-400' y2='260'/%3E%3Cline x1='500' y1='0' x2='-300' y2='260'/%3E%3Cline x1='500' y1='0' x2='-200' y2='260'/%3E%3Cline x1='500' y1='0' x2='-100' y2='260'/%3E%3Cline x1='500' y1='0' x2='0' y2='260'/%3E%3Cline x1='500' y1='0' x2='100' y2='260'/%3E%3Cline x1='500' y1='0' x2='200' y2='260'/%3E%3Cline x1='500' y1='0' x2='300' y2='260'/%3E%3Cline x1='500' y1='0' x2='400' y2='260'/%3E%3Cline x1='500' y1='0' x2='500' y2='260'/%3E%3Cline x1='500' y1='0' x2='600' y2='260'/%3E%3Cline x1='500' y1='0' x2='700' y2='260'/%3E%3Cline x1='500' y1='0' x2='800' y2='260'/%3E%3Cline x1='500' y1='0' x2='900' y2='260'/%3E%3Cline x1='500' y1='0' x2='1000' y2='260'/%3E%3Cline x1='500' y1='0' x2='1100' y2='260'/%3E%3Cline x1='500' y1='0' x2='1200' y2='260'/%3E%3Cline x1='500' y1='0' x2='1300' y2='260'/%3E%3Cline x1='500' y1='0' x2='1400' y2='260'/%3E%3Cline x1='500' y1='0' x2='1500' y2='260'/%3E%3Cline x1='500' y1='0' x2='1600' y2='260'/%3E%3Cline x1='500' y1='0' x2='1700' y2='260'/%3E%3Cline x1='500' y1='0' x2='1800' y2='260'/%3E%3Cline x1='500' y1='0' x2='1900' y2='260'/%3E%3Cline x1='500' y1='0' x2='2000' y2='260'/%3E%3Cline x1='500' y1='0' x2='2100' y2='260'/%3E%3Cline x1='500' y1='0' x2='2200' y2='260'/%3E%3Cline x1='500' y1='0' x2='2300' y2='260'/%3E%3Cline x1='500' y1='0' x2='2400' y2='260'/%3E%3Cline x1='500' y1='0' x2='2500' y2='260'/%3E%3Cline x1='500' y1='0' x2='2600' y2='260'/%3E%3Cline x1='500' y1='0' x2='2700' y2='260'/%3E%3Cline x1='500' y1='0' x2='2800' y2='260'/%3E%3Cline x1='500' y1='0' x2='2900' y2='260'/%3E%3Cline x1='500' y1='0' x2='3000' y2='260'/%3E%3Cline x1='-2000' y1='5.0' x2='3000' y2='5.0'/%3E%3Cline x1='-2000' y1='17.3' x2='3000' y2='17.3'/%3E%3Cline x1='-2000' y1='36.0' x2='3000' y2='36.0'/%3E%3Cline x1='-2000' y1='60.4' x2='3000' y2='60.4'/%3E%3Cline x1='-2000' y1='90.3' x2='3000' y2='90.3'/%3E%3Cline x1='-2000' y1='125.3' x2='3000' y2='125.3'/%3E%3Cline x1='-2000' y1='165.4' x2='3000' y2='165.4'/%3E%3Cline x1='-2000' y1='210.3' x2='3000' y2='210.3'/%3E%3Cline x1='-2000' y1='260.0' x2='3000' y2='260.0'/%3E%3C/g%3E%3Cline x1='0' y1='0.5' x2='1000' y2='0.5' stroke='%23cf2aba' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
	background: rgb(var(--rgb-grid));
	-webkit-mask: var(--floor-svg) center bottom / 100% 100% no-repeat, linear-gradient(to top, #000 15%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask: var(--floor-svg) center bottom / 100% 100% no-repeat, linear-gradient(to top, #000 15%, transparent 100%);
	mask-composite: intersect;
	opacity: 0.42;
	pointer-events: none;
}
.site-footer::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 8%;
	z-index: -1;
	width: min(70vw, 760px);
	aspect-ratio: 1;
	translate: -50% 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--rgb-magenta), 0.18), transparent 65%);
	pointer-events: none;
}
.site-footer__mark {
	width: max-content;
	max-width: 100%;
	margin: 0 0 2rem;
	padding-bottom: 0.3em;
	font-family: var(--font-display);
	font-size: clamp(2rem, 10.8vw, 9.5rem);
	line-height: 1.3;
	white-space: nowrap;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--line);
}
.site-footer__slogan {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.95rem;
	line-height: 1.7;
}
.site-footer ul {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer a {
	display: inline-block;
	padding: 0.15rem 0;
	font-weight: 700;
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--cyan);
}
.site-footer__risk {
	max-width: 80ch;
	margin: 1.5rem 0;
	color: var(--dim);
	font-size: 0.88rem;
}
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--dim);
	font-size: 0.9rem;
}
.site-footer__bottom p {
	margin: 0;
}
.to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--spectrum-x) border-box;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}
.to-top__rocket {
	display: inline-block;
}
.to-top.is-launch .to-top__rocket {
	animation: launch 1s var(--ease) forwards;
}
@keyframes launch {
	25% { transform: translateY(3px) rotate(-45deg); }
	100% { transform: translate(30px, -110vh) rotate(-45deg); }
}

/* Konfetti-Ebene und Meldungen */
.rain {
	position: fixed;
	inset: 0;
	z-index: 80;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 90;
	max-width: calc(100% - 2rem);
	padding: 0.85rem 1.25rem;
	border: 2px solid transparent;
	border-radius: 14px;
	background: linear-gradient(var(--night), var(--night)) padding-box, var(--spectrum-x) border-box;
	color: #fff;
	font-weight: 700;
	box-shadow: 0 10px 40px rgba(var(--rgb-magenta), 0.4);
	transform: translate(-50%, 200%);
	transition: transform 0.4s var(--ease);
}
.toast.is-show {
	transform: translate(-50%, 0);
}
.toast:empty {
	visibility: hidden;
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz, Beiträge …)
   -------------------------------------------------------------------------- */
.inner {
	padding: calc(var(--header-h) + 4rem) 0 5rem;
	background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(var(--rgb-magenta), 0.22), transparent 70%);
}
.prose-wrap {
	max-width: 860px;
}
.entry__title {
	width: max-content;
	max-width: 100%;
	margin: 0 0 2rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.5rem, 5vw, 3rem);
	line-height: 1.4;
	overflow-wrap: anywhere;
	-webkit-hyphens: auto;
	hyphens: auto;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.entry__meta {
	color: var(--dim);
	font-size: 0.95rem;
}
.prose {
	overflow-wrap: break-word;
}
.prose > * {
	max-width: 70ch;
}
.prose h2,
.prose h3,
.prose h4 {
	margin: 2.25rem 0 0.75rem;
	font-weight: 700;
	line-height: 1.3;
}
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose a {
	color: var(--cyan);
	text-underline-offset: 3px;
}
.prose ul,
.prose ol {
	padding-left: 1.4rem;
}
.prose li {
	margin-bottom: 0.4rem;
}
.prose img,
.prose figure {
	max-width: 100%;
	border-radius: var(--r-s);
}
.prose table {
	width: 100%;
	border-collapse: collapse;
}
.prose th,
.prose td {
	padding: 0.6rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.prose .wp-block-button__link,
.prose .wp-element-button {
	display: inline-block;
	padding: 0.8rem 1.35rem;
	border-radius: 12px;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	text-decoration: none;
}
.prose input,
.prose textarea,
.prose select {
	max-width: 100%;
	padding: 0.7rem 0.9rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--text);
	font: inherit;
}
.post-list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.post-list a {
	font-size: 1.25rem;
	font-weight: 700;
}
.notfound__code {
	width: max-content;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(5rem, 22vw, 12rem);
	line-height: 1.3;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}


/* ==========================================================================
   Live-Pills (Discord online, nächster LiveCall)
   ========================================================================== */
.live {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	max-width: 640px;
	margin-top: 1.75rem;
}
.live[hidden],
.live__pill[hidden] {
	display: none;
}
.live__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.5);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: border-color 0.2s;
}
.live__pill:hover {
	border-color: var(--cyan);
}
.live__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3ddc84;
	box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
	animation: ping 2s ease-out infinite;
}
@keyframes ping {
	70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
	100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.live__pill--call.is-now {
	border-color: var(--pink);
	box-shadow: 0 0 20px rgba(var(--rgb-pink), 0.45);
}

/* ==========================================================================
   Panels (Tools, Challenge)
   ========================================================================== */
.panel {
	position: relative;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid transparent;
	border-radius: var(--r-m);
	background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(var(--rgb-cyan), 0.55), rgba(var(--rgb-magenta), 0.55), rgba(var(--rgb-lemon), 0.45)) border-box;
}
.panel__text {
	color: var(--dim);
	font-size: 1rem;
}

/* ==========================================================================
   Trader-Tools
   ========================================================================== */
.tools__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-top: 1.5rem;
	align-items: start;
}
.clock__now {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	width: max-content;
	max-width: 100%;
}
.clock__track {
	position: relative;
	height: 26px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.clock__needle,
.clock__needle-mini {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background: #fff;
	box-shadow: 0 0 10px #fff;
	z-index: 2;
}
.clock__hours {
	display: flex;
	justify-content: space-between;
	margin: 0.3rem 0 1rem;
	color: var(--dim);
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}
.clock__list {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.clock__row {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	grid-template-areas: "name bar" "name status";
	gap: 0.15rem 0.9rem;
	align-items: center;
}
.clock__name {
	grid-area: name;
	font-weight: 700;
}
.clock__row.is-open .clock__name::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: var(--sc);
	box-shadow: 0 0 10px var(--sc);
	vertical-align: middle;
}
.clock__bar {
	grid-area: bar;
	position: relative;
	height: 10px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
}
.clock__seg {
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: 5px;
	background: var(--sc);
	opacity: 0.55;
}
.clock__seg.is-now {
	opacity: 1;
	box-shadow: 0 0 12px var(--sc);
}
.clock__needle-mini {
	box-shadow: none;
	opacity: 0.8;
}
.clock__status {
	grid-area: status;
	color: var(--dim);
	font-size: 0.85rem;
}
.clock__note {
	min-height: 1.5em;
	margin: 1rem 0 0;
	font-weight: 700;
}
.risk select,
.risk input[type="number"] {
	width: 100%;
	min-height: 46px;
	padding: 0.65rem 0.85rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--bg);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
.risk select:focus,
.risk input:focus {
	border-color: var(--cyan);
	outline: none;
}
.risk input[type="range"] {
	width: 100%;
	min-height: 46px;
	accent-color: var(--pink);
}
.risk__form {
	display: grid;
	gap: 0.9rem;
}
.risk__pct {
	color: var(--cyan);
	font-weight: 700;
}
.risk__out {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.25rem;
	margin: 1.25rem 0 0.75rem;
	padding: 1rem;
	border-radius: var(--r-s);
	background: rgba(var(--rgb-night), 0.55);
}
.risk__out dt {
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.risk__out dd {
	margin: 0;
	font-weight: 700;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
}
.risk__main {
	grid-column: 1 / -1;
}
.risk__main dd {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	line-height: 1.45;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.risk__note {
	margin: 0;
	color: var(--dim);
	font-size: 0.82rem;
}

/* ==========================================================================
   Ape Arcade
   ========================================================================== */
.seg--wide {
	display: flex;
	flex-wrap: wrap;
	margin: 0.5rem 0 2rem;
	border-radius: 22px;
}
.apanel[hidden] {
	display: none;
}
.board {
	margin-bottom: 1.25rem;
}
.board__list {
	display: grid;
	gap: 0.3rem;
	margin: 0 0 0.75rem;
	padding: 0;
	list-style: none;
	counter-reset: rank;
}
.board__list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	counter-increment: rank;
}
.board__list li::before {
	content: counter(rank);
	flex: none;
	width: 1.7rem;
	color: var(--dim);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.board__list li:nth-child(1)::before { content: "🥇"; }
.board__list li:nth-child(2)::before { content: "🥈"; }
.board__list li:nth-child(3)::before { content: "🥉"; }
.board__list li.board__empty {
	color: var(--dim);
}
.board__list li.board__empty::before {
	content: "";
	width: 0;
}
.board__list li.is-me {
	background: rgba(var(--rgb-cyan), 0.14);
	box-shadow: inset 0 0 0 1px rgba(var(--rgb-cyan), 0.5);
}
.board__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.board__score {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: var(--lemon);
}
.board__champ {
	margin: 0 0 0.35rem;
	font-weight: 700;
}
.board__champ:empty {
	display: none;
}
.board__note {
	margin: 0;
	color: var(--dim);
	font-size: 0.88rem;
}
.howto {
	margin-top: 0.5rem;
	border-top: 1px solid var(--line);
}
.howto summary {
	padding: 0.85rem 0;
	font-weight: 700;
	cursor: pointer;
}
.game__submit {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.6rem;
}
.game__submit[hidden] {
	display: none;
}
.game__submit input {
	width: min(16rem, 60vw);
	min-height: 40px;
	padding: 0.5rem 0.85rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.7);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
}
.game__submit input:focus {
	border-color: var(--cyan);
	outline: none;
}
.game__submit.is-done input,
.game__submit.is-done button {
	display: none;
}
.game__submit-hint {
	flex-basis: 100%;
	margin: 0;
	color: var(--dim);
	font-size: 0.8rem;
}
.game__submit.is-done .game__submit-hint {
	color: var(--cyan);
	font-size: 1rem;
	font-weight: 700;
}

/* Daily Chart-Challenge */
.challenge {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
.challenge__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.3rem, 3vw, 2rem);
	line-height: 1.45;
}
.challenge__copy > p {
	color: var(--dim);
}
.challenge__vote {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0;
}
.challenge__vote[hidden] {
	display: none;
}
.challenge__btn--long {
	background: var(--cyan);
	color: var(--night);
	box-shadow: 0 8px 28px rgba(var(--rgb-cyan), 0.35);
}
.challenge__btn--short {
	background: var(--pink);
	color: #fff;
	box-shadow: 0 8px 28px rgba(var(--rgb-pink), 0.35);
}
.challenge__btn:disabled {
	opacity: 0.5;
	cursor: wait;
}
.challenge__result {
	margin: 1.25rem 0;
}
.challenge__result[hidden] {
	display: none;
}
.challenge__verdict {
	margin: 0 0 0.4rem;
	font-size: 1.5rem;
	font-weight: 700;
}
.challenge__verdict.is-right { color: var(--cyan); }
.challenge__verdict.is-wrong { color: var(--pink); }
.crowd {
	height: 10px;
	margin: 0.9rem 0 0.35rem;
	border-radius: 5px;
	background: var(--pink);
	overflow: hidden;
}
.crowd__long {
	display: block;
	height: 100%;
	width: 50%;
	background: var(--cyan);
	transition: width 0.8s var(--ease);
}
.challenge__crowd,
.challenge__again {
	margin: 0;
	color: var(--dim);
	font-size: 0.92rem;
}
.challenge__streak {
	margin: 0.5rem 0 0;
	font-weight: 700;
}
.challenge__chart {
	margin: 0;
}
.challenge__chart canvas {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
}
.challenge__chart figcaption {
	margin-top: 0.5rem;
	color: var(--dim);
	font-size: 0.8rem;
}

/* Welcher Ape bist du? */
.apequiz {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
.apequiz__copy > p {
	color: var(--dim);
}
.apequiz__stage {
	margin-top: 1.5rem;
}
.quiz__answers--emoji {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.quiz__answers--emoji .quiz__answer {
	font-size: 1.6rem;
	text-align: center;
}
.apequiz__result {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2.6vw, 1.7rem);
	line-height: 1.45;
}
.apequiz__tip {
	margin: 1rem 0;
	color: var(--dim);
}
.apequiz .checks {
	margin-bottom: 0.5rem;
}
.apequiz__card {
	justify-self: center;
	width: min(100%, 340px);
}
.apequiz__card img[data-aq-img] {
	width: 100%;
	border-radius: 22px;
	box-shadow: 0 30px 80px rgba(var(--rgb-magenta), 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.apequiz__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 9 / 16;
	border-radius: 22px;
	background: linear-gradient(var(--sky-2), var(--night)) padding-box, var(--spectrum) border-box;
	border: 2px solid transparent;
	overflow: hidden;
}
.apequiz__placeholder[hidden] {
	display: none;
}
.apequiz__placeholder img {
	width: 72%;
	opacity: 0.35;
	filter: blur(2px) grayscale(0.4);
}
.apequiz__placeholder span {
	position: absolute;
	font-family: var(--font-display);
	font-size: 5rem;
	color: #fff;
	text-shadow: 0 0 30px rgba(var(--rgb-magenta), 0.9);
}

/* Abzeichen */
.badges__count {
	margin-left: 0.4rem;
	color: var(--cyan);
	font-variant-numeric: tabular-nums;
}
.badges__text {
	color: var(--dim);
	font-size: 0.95rem;
}
.badges__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 0.75rem;
	margin: 1rem 0 1.5rem;
	padding: 0;
	list-style: none;
}
.badge {
	display: grid;
	gap: 0.15rem;
	padding: 0.9rem 1rem;
	border: 1px dashed var(--line-strong);
	border-radius: 14px;
	opacity: 0.55;
	filter: grayscale(1);
	transition: opacity 0.3s, filter 0.3s, border-color 0.3s;
}
.badge.is-got {
	border: 1px solid transparent;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectrum) border-box;
	opacity: 1;
	filter: none;
	box-shadow: 0 0 24px rgba(var(--rgb-magenta), 0.25);
}
.badge__icon {
	font-size: 1.8rem;
	line-height: 1.2;
}
.badge__name {
	font-weight: 700;
}
.badge__how {
	color: var(--dim);
	font-size: 0.82rem;
	line-height: 1.35;
}
.hunt-box {
	padding: 1rem 1.25rem;
	border-radius: 14px;
	background: rgba(var(--rgb-lemon), 0.07);
	border: 1px solid rgba(var(--rgb-lemon), 0.35);
}
.hunt-box p {
	margin: 0;
}
.hunt-box__reward {
	margin-top: 0.6rem !important;
	font-weight: 700;
	color: var(--lemon);
}
.hunt-box__reward[hidden] {
	display: none;
}

/* ==========================================================================
   Bananen-Jagd
   ========================================================================== */
.section > .wrap,
.band,
.site-footer > .wrap {
	position: relative;
}
.gold-nana {
	position: absolute;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	filter: drop-shadow(0 0 6px rgba(var(--rgb-gold), 0.9)) sepia(0.4) saturate(2.2);
	animation: nana 5s ease-in-out infinite;
	transition: transform 0.2s;
}
.gold-nana[hidden] {
	display: none;
}
.gold-nana:hover {
	transform: scale(1.35) rotate(-12deg);
}
@keyframes nana {
	0%, 86%, 100% { rotate: 0deg; }
	90% { rotate: -18deg; }
	94% { rotate: 14deg; }
}
.gold-nana--team { right: 1%; top: 7rem; }
.gold-nana--band { right: 6%; top: 50%; translate: 0 -50%; }
.gold-nana--academy { left: 44%; top: 4rem; }
.gold-nana--tools { right: 2%; top: 4rem; }
.gold-nana--mindset { left: 0; bottom: -2rem; }
.gold-nana--values { right: 1%; top: 3.5rem; }
.gold-nana--community { left: 36%; bottom: -1rem; }
.gold-nana--faq { left: 1%; bottom: -1.5rem; }
.gold-nana--footer { right: 18%; top: 2rem; }
.nana-fly {
	position: fixed;
	z-index: 95;
	font-size: 26px;
	pointer-events: none;
	transition: transform 0.85s var(--ease), opacity 0.85s;
}
.wallet-pill {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 84;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 2px solid rgba(var(--rgb-lemon), 0.6);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.88);
	color: var(--lemon);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	box-shadow: 0 8px 30px rgba(var(--rgb-lemon), 0.25);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.wallet-pill[hidden],
.wallet-pill__hunt[hidden] {
	display: none;
}
.wallet-pill.is-bump {
	animation: bump 0.45s var(--ease);
}
@keyframes bump {
	40% { transform: scale(1.18) rotate(-4deg); }
}
.nana-gain {
	position: fixed;
	z-index: 96;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.8);
	color: var(--lemon);
	font-weight: 700;
	white-space: nowrap;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: transform 0.9s var(--ease), opacity 0.9s ease-in;
}

/* ==========================================================================
   Saison-Skins
   ========================================================================== */
.season-halloween .portal__ring,
.season-halloween .portal__halo i {
	background: conic-gradient(from 0deg, #ff7a00, #8a2be2, #39ff14, #ff7a00, #8a2be2, #ff7a00);
}
.season-christmas .portal__ring,
.season-christmas .portal__halo i {
	background: conic-gradient(from 0deg, #e3262f, #ffffff, #1fae4b, #e3262f, #ffffff, #1fae4b, #e3262f);
}
.season-newyear .portal__ring,
.season-newyear .portal__halo i {
	background: conic-gradient(from 0deg, #ffd56b, #ffffff, #fef84c, #cf9b2a, #ffffff, #ffd56b);
}
.season-halloween .ape::after,
.season-christmas .ape::after,
.season-newyear .ape::after {
	position: absolute;
	top: 2%;
	right: 6%;
	z-index: 3;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	transform: rotate(14deg);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
	pointer-events: none;
}
.season-halloween .ape::after { content: "🎃"; }
.season-christmas .ape::after { content: "🎅"; }
.season-newyear .ape::after { content: "🎉"; }


/* ==========================================================================
   Kleine Umschalter (Bestenliste, Spielmodus)
   ========================================================================== */
.mini-seg {
	display: inline-flex;
	gap: 2px;
	margin: 0 0 0.75rem;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.5);
}
.mini-seg__btn {
	min-height: 36px;
	padding: 0.4rem 0.9rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--dim);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}
.mini-seg__btn[aria-pressed="true"] {
	background: var(--spectrum-x);
	color: var(--night);
}
.mini-seg--overlay {
	margin: 0.2rem 0 0.4rem;
}
.game__modehint {
	max-width: 34ch;
	margin: 0 0 0.6rem;
	color: var(--dim);
	font-size: 0.85rem;
}
.game__modehint[hidden] {
	display: none;
}
.game__runstats .game__earn {
	flex-basis: 100%;
	color: var(--lemon);
	font-weight: 700;
}

/* ==========================================================================
   Meme-Studio
   ========================================================================== */
.meme {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
.meme__controls {
	display: grid;
	gap: 0.85rem;
}
.meme__controls .h3,
.meme__controls .panel__text {
	margin-bottom: 0;
}
.meme select,
.meme input[type="text"],
.secret input,
.pref select {
	width: 100%;
	min-height: 46px;
	padding: 0.6rem 0.85rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
.meme select:focus,
.meme input:focus,
.secret input:focus,
.pref select:focus {
	border-color: var(--cyan);
	outline: none;
}
.meme__preview canvas {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: var(--r-m);
	box-shadow: 0 30px 80px rgba(var(--rgb-magenta), 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Garderobe & Community-Ziel
   ========================================================================== */
.wardrobe__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem 2rem;
}
.wardrobe__head > div {
	max-width: 60ch;
}
.wardrobe__balance {
	margin: 0;
	text-align: right;
}
.wardrobe__label {
	display: block;
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.wardrobe__num {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.4;
	color: var(--lemon);
}
.wardrobe__num b {
	font-weight: 400;
}
.wardrobe__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.85rem;
	margin: 1.25rem 0 2rem;
	padding: 0;
	list-style: none;
}
.outfit {
	display: grid;
	justify-items: center;
	gap: 0.3rem;
	padding: 1rem 0.75rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	text-align: center;
}
.outfit.is-wearing {
	border: 1px solid transparent;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectrum) border-box;
	box-shadow: 0 0 30px rgba(var(--rgb-magenta), 0.3);
}
.outfit.is-locked {
	opacity: 0.6;
}
.outfit.is-locked .outfit__pic {
	filter: grayscale(0.8) brightness(0.7);
}
.outfit.is-nope {
	animation: nope 0.4s;
}
@keyframes nope {
	25% { transform: translateX(-6px); }
	50% { transform: translateX(5px); }
	75% { transform: translateX(-3px); }
}
.outfit__pic {
	position: relative;
	display: block;
	width: 84px;
	margin: 1.1rem 0 0.2rem;
}
.outfit__pic img {
	display: block;
	width: 100%;
}
.outfit__name {
	font-weight: 700;
}
.outfit__meta {
	min-height: 1.3em;
	color: var(--dim);
	font-size: 0.85rem;
	line-height: 1.3;
}
.outfit .btn {
	min-height: 38px;
	padding: 0.45rem 1rem;
	font-size: 0.9rem;
}
.outfit .btn:disabled {
	cursor: default;
	opacity: 0.85;
}
.wardrobe__more {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.goal__title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
}
.goal__total {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	line-height: 1.5;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	width: max-content;
	max-width: 100%;
}
.goal__tiers {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.goal__tier {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.3rem 1rem;
	font-size: 0.95rem;
}
.goal__label {
	font-weight: 700;
}
.goal__val {
	color: var(--dim);
	font-variant-numeric: tabular-nums;
}
.goal__tier.is-done .goal__val {
	color: var(--cyan);
	font-weight: 700;
}
.goal__bar {
	grid-column: 1 / -1;
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}
.goal__bar i {
	display: block;
	height: 100%;
	background: var(--spectrum-x);
	transition: width 1s var(--ease);
}
.earn__list {
	display: grid;
	gap: 0.4rem;
	margin: 0.5rem 0 1rem;
	padding: 0;
	list-style: none;
	color: var(--dim);
	font-size: 0.92rem;
}
.wardrobe__prefs {
	display: grid;
	gap: 0.6rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
}
.pref {
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
	font-weight: 700;
}
.pref[hidden] {
	display: none;
}
.pref--check {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}
.pref--check input {
	width: 20px;
	height: 20px;
	accent-color: var(--pink);
}

/* Geheimwort */
.secret {
	margin: 0 0 1.25rem;
}
.secret label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 700;
}
.secret__count {
	color: var(--cyan);
	font-variant-numeric: tabular-nums;
}
.secret__row {
	display: flex;
	gap: 0.5rem;
	max-width: 420px;
}

/* ==========================================================================
   Begleiter-Ape
   ========================================================================== */
.buddy {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	width: 76px;
	pointer-events: none;
	--vine: 120px;
}
.buddy[hidden] {
	display: none;
}
.buddy__vine {
	position: absolute;
	top: 0;
	right: 37px;
	width: 3px;
	height: var(--vine);
	border-radius: 2px;
	background: linear-gradient(180deg, transparent, #2f9e6b 30%, #3ddc84);
	box-shadow: 0 0 8px rgba(61, 220, 132, 0.5);
	opacity: 0.85;
}
.buddy__vine::after {
	content: "🍃";
	position: absolute;
	bottom: 30%;
	left: -9px;
	font-size: 14px;
	transform: rotate(-30deg);
}
.buddy__ape {
	position: absolute;
	top: 0;
	right: 8px;
	width: 62px;
	transition: transform 0.18s ease-out;
	pointer-events: none;
}
.buddy__btn {
	position: relative;
	display: block;
	width: 62px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	pointer-events: auto;
	transform: rotate(var(--swing, 0deg));
	transform-origin: 50% 0;
	transition: transform 0.25s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.buddy__body {
	position: relative;
	display: block;
}
.buddy__body img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
}
.buddy__ape.is-hop .buddy__btn {
	animation: hop 0.5s var(--ease);
}
@keyframes hop {
	35% { transform: translateY(-16px) rotate(-8deg); }
	70% { transform: translateY(0) rotate(4deg); }
}
.buddy.is-dance .buddy__body {
	animation: dance 0.45s ease-in-out infinite alternate;
}
@keyframes dance {
	from { transform: rotate(-10deg) translateY(0); }
	to { transform: rotate(10deg) translateY(-4px); }
}
.buddy.is-sleep .buddy__body {
	transform: rotate(-16deg);
	filter: saturate(0.6) brightness(0.8);
	transition: transform 0.6s, filter 0.6s;
}
.buddy__zzz {
	position: absolute;
	top: -6px;
	left: -6px;
	display: none;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
.buddy.is-sleep .buddy__zzz {
	display: block;
	animation: zzz 2.2s ease-in-out infinite;
}
@keyframes zzz {
	0% { opacity: 0; transform: translate(0, 4px) scale(0.7); }
	40% { opacity: 1; }
	100% { opacity: 0; transform: translate(-14px, -18px) scale(1.4); }
}
.buddy__bubble {
	position: absolute;
	top: 6px;
	right: calc(100% + 6px);
	width: max-content;
	max-width: 230px;
	padding: 0.55rem 1.7rem 0.55rem 0.8rem;
	border: 1px solid transparent;
	border-radius: 14px 14px 4px 14px;
	background: linear-gradient(var(--night), var(--night)) padding-box, var(--spectrum) border-box;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	pointer-events: auto;
	animation: pop 0.25s var(--ease);
}
.buddy__bubble[hidden] {
	display: none;
}
@keyframes pop {
	from { opacity: 0; transform: translateY(6px) scale(0.92); }
}
.buddy__close {
	position: absolute;
	top: 0.2rem;
	right: 0.3rem;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--dim);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}
.buddy__close:hover {
	color: #fff;
}

/* ==========================================================================
   Easter-Eggs
   ========================================================================== */
.egg {
	position: fixed;
	inset: 0;
	z-index: 88;
	pointer-events: none;
	overflow: hidden;
}
.egg__moon {
	position: absolute;
	top: 8%;
	right: 10%;
	font-size: 110px;
	filter: drop-shadow(0 0 40px rgba(255, 248, 200, 0.8));
	animation: moonIn 3.4s ease-out forwards;
}
@keyframes moonIn {
	0% { opacity: 0; transform: scale(0.4); }
	20%, 80% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.egg__rocket {
	position: absolute;
	left: 10%;
	bottom: -80px;
	font-size: 70px;
	animation: rocketUp 2.4s cubic-bezier(0.5, 0, 0.9, 0.6) forwards;
}
@keyframes rocketUp {
	to { transform: translate(70vw, -130vh) rotate(10deg); }
}
html.is-moon .site-main {
	transform: translateY(-14px);
	transition: transform 1.2s var(--ease);
}
html.is-moon body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 87;
	pointer-events: none;
	background-image: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent), radial-gradient(2px 2px at 85% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 10% 85%, #fff, transparent);
	animation: twinkle 0.8s ease-in-out infinite alternate;
}
@keyframes twinkle {
	to { opacity: 0.4; }
}
.egg__bear,
.egg__bull {
	position: absolute;
	bottom: 96px;
	font-size: 64px;
	line-height: 1;
}
.egg__bear {
	right: -80px;
	animation: bearWalk 6s linear forwards;
}
@keyframes bearWalk {
	0% { transform: translateX(0); }
	45% { transform: translateX(-55vw); }
	55% { transform: translateX(-55vw) rotate(-10deg); }
	100% { transform: translateX(30vw) scaleX(-1); }
}
.egg__bull {
	left: -100px;
	font-size: 80px;
	animation: bullRun 6s ease-in forwards;
}
@keyframes bullRun {
	0%, 40% { transform: translateX(0) scaleX(-1); }
	100% { transform: translateX(120vw) scaleX(-1); }
}
.egg__kong {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(80vw, 560px);
	translate: -50% 100%;
	animation: kongRise 4.2s var(--ease) forwards;
}
.egg__kong img {
	display: block;
	width: 100%;
	filter: drop-shadow(0 0 40px rgba(var(--rgb-pink), 0.7));
}
.egg__kong--emoji {
	font-size: 260px;
	text-align: center;
}
@keyframes kongRise {
	0% { translate: -50% 100%; }
	25%, 70% { translate: -50% 28%; }
	32% { translate: -50% 30%; rotate: -3deg; }
	40% { rotate: 3deg; }
	48% { rotate: 0deg; }
	100% { translate: -50% 110%; }
}
.brand.is-scream .brand__logo {
	animation: scream 1.2s ease-in-out;
}
@keyframes scream {
	15% { transform: scale(1.6) rotate(-12deg); }
	30% { transform: scale(1.5) rotate(10deg); }
	45% { transform: scale(1.6) rotate(-8deg); }
	60% { transform: scale(1.4) rotate(6deg); }
	100% { transform: none; }
}

/* 404 mit Spiel */
.notfound__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

/* ==========================================================================
   APE MODE – Eskalation
   ========================================================================== */
html[data-mode="wild"] body {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='2' y='26' font-size='24'%3E%F0%9F%8D%8C%3C/text%3E%3C/svg%3E") 6 6, auto;
}
/* Neon-Nebel hinter allen Abschnitten */
html[data-mode="wild"] body::before {
	content: "";
	position: fixed;
	inset: -20%;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 20% 30%, rgba(var(--rgb-cyan), 0.22), transparent 35%),
		radial-gradient(circle at 80% 20%, rgba(var(--rgb-pink), 0.25), transparent 38%),
		radial-gradient(circle at 60% 80%, rgba(var(--rgb-lemon), 0.14), transparent 35%),
		radial-gradient(circle at 15% 85%, rgba(var(--rgb-magenta), 0.25), transparent 40%);
	animation: haze 14s ease-in-out infinite alternate;
}
@keyframes haze {
	to { transform: translate(6%, -4%) rotate(8deg) scale(1.1); }
}
html[data-mode="wild"] .hero__sky {
	filter: saturate(1.4) brightness(1.2);
}
html[data-mode="wild"] .portal__ring,
html[data-mode="wild"] .portal__halo i {
	animation-duration: 2.5s;
}
html[data-mode="wild"] .portal__halo {
	opacity: 1;
	filter: blur(16px) brightness(1.3);
}
html.is-beat .portal {
	scale: 1.04;
}
.portal {
	transition: scale 0.12s ease-out;
}
html[data-mode="wild"] .hero__line:first-child {
	color: #fff;
	-webkit-text-stroke: 0 transparent;
	text-shadow: -0.03em 0 0 var(--cyan), 0.03em 0 0 var(--pink), 0 0.05em 0 var(--night);
	animation: wobble 1s steps(2, jump-none) infinite;
	transform-origin: left center;
}
html[data-mode="wild"] .hero__line:last-child {
	color: transparent;
	-webkit-text-stroke: max(1.5px, 0.022em) #fff;
}
@keyframes wobble {
	0% { transform: rotate(-1.8deg) scale(1.03); }
	100% { transform: rotate(1deg) scale(1); }
}
html[data-mode="wild"] .ape {
	animation: bob 0.5s ease-in-out infinite alternate;
}
@keyframes bob {
	from { translate: 0 0; rotate: -3deg; }
	to { translate: 0 -10px; rotate: 3deg; }
}
html[data-mode="wild"] .lasers {
	display: block;
}
html[data-mode="wild"] .pump__meter {
	visibility: hidden;
}
html[data-mode="wild"] .tape-zone {
	display: block;
	position: relative;
	z-index: 2;
	margin-top: -2.75rem;
	padding-block: 1.5rem;
	overflow: hidden;
}
.tape {
	margin-inline: -3vw;
	padding: 0.85rem 0;
	overflow: hidden;
	background: var(--spectrum-x);
	color: var(--night);
	font-family: var(--font-display);
	font-size: clamp(0.8rem, 1.6vw, 1.05rem);
	line-height: 1.5;
	white-space: nowrap;
	transform: rotate(-2deg);
	box-shadow: 0 0 40px rgba(var(--rgb-pink), 0.55);
}
.tape__track {
	display: flex;
	width: max-content;
	animation: tape 20s linear infinite;
}
.tape__track span {
	padding-right: 1.5rem;
}
@keyframes tape {
	to { transform: translateX(-50%); }
}
html[data-mode="wild"] .level__tag {
	transform: translateY(-50%) rotate(-4deg);
}
html[data-mode="wild"] .btn:not(.btn--glass):not(.btn--ghost) {
	background: var(--spectrum-x);
	color: var(--night);
	box-shadow: 0 10px 34px rgba(var(--rgb-pink), 0.55);
}
html[data-mode="wild"] .person__ring {
	animation: spin 4s linear infinite;
}
html[data-mode="wild"] .person__frame {
	animation: spin 4s linear infinite reverse;
}
html[data-mode="wild"] .band {
	background: var(--spectrum-x);
	background-size: 200% 100%;
	animation: slide 3s linear infinite;
}
html[data-mode="wild"] .band__text {
	background: none;
	color: var(--night);
	filter: none;
	text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.85);
}
@keyframes slide {
	to { background-position: 200% 0; }
}
html[data-mode="wild"] .neon-ring {
	animation: spin 4s linear infinite;
}
html[data-mode="wild"] .neon-ring__inner {
	animation: spin 4s linear infinite reverse;
}
html[data-mode="wild"] .value__name {
	background-position: 100% 0;
}
html[data-mode="wild"] .phone {
	box-shadow: 0 0 0 2px var(--pink), 0 0 60px rgba(var(--rgb-pink), 0.45);
}

/* Shake beim Einschalten (nur Inhalt, damit der fixierte Header stehen bleibt) */
.site-main.is-shaking {
	animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes shake {
	15% { transform: translate(-7px, 2px) rotate(-0.5deg); }
	30% { transform: translate(6px, -3px) rotate(0.5deg); }
	45% { transform: translate(-5px, 3px) rotate(-0.3deg); }
	60% { transform: translate(4px, -1px) rotate(0.3deg); }
	75% { transform: translate(-2px, 1px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 961px) and (max-width: 1200px) {
	.site-header__cta {
		display: none;
	}
}

@media (max-width: 1100px) {
	.site-header__inner {
		gap: 1.1rem;
	}
	.ape-switch__label {
		font-size: 0.88rem;
	}
}

@media (max-width: 960px) {
	.burger {
		position: relative;
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 2px solid rgba(255, 255, 255, 0.55);
		border-radius: 12px;
		background: rgba(var(--rgb-night), 0.3);
		color: #fff;
		cursor: pointer;
	}
	.burger__lines,
	.burger__lines::before,
	.burger__lines::after {
		display: block;
		width: 18px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.25s var(--ease), opacity 0.2s;
	}
	.burger__lines {
		position: relative;
	}
	.burger__lines::before,
	.burger__lines::after {
		content: "";
		position: absolute;
		left: 0;
	}
	.burger__lines::before { top: -6px; }
	.burger__lines::after { top: 6px; }
	.is-nav-open .burger__lines { background: transparent; }
	.is-nav-open .burger__lines::before { transform: translateY(6px) rotate(45deg); }
	.is-nav-open .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

	.site-header__actions {
		margin-left: auto;
	}
	.nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 0;
		padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
		background:
			radial-gradient(ellipse 80% 50% at 100% 0%, rgba(var(--rgb-magenta), 0.35), transparent 70%),
			radial-gradient(ellipse 70% 50% at 0% 100%, rgba(var(--rgb-cyan), 0.25), transparent 70%),
			var(--bg);
		visibility: hidden;
		transform: translateY(-100%);
		transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
	}
	.is-nav-open .site-header {
		background: var(--bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.is-nav-open .nav {
		visibility: visible;
		transform: none;
		transition: transform 0.4s var(--ease);
	}
	.is-nav-open body {
		overflow: hidden;
	}
	.nav__list {
		flex-direction: column;
		gap: 0.25rem;
	}
	.nav__list a {
		color: #fff;
		font-family: var(--font-display);
		font-size: clamp(1.4rem, 6.5vw, 2.3rem);
		line-height: 1.7;
	}
	.nav__list a::after {
		display: none;
	}
	.nav__extra {
		display: block;
		margin-top: 2rem;
	}

	.hero {
		align-items: flex-end;
		padding-bottom: 4rem;
	}
	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}
	.hero__ape {
		order: -1;
		margin-bottom: -1rem;
	}
	.hero__title {
		font-size: clamp(2.2rem, 10.6vw, 4.6rem);
	}
	.hero::after {
		background:
			linear-gradient(180deg, transparent 0%, transparent 35%, rgba(var(--rgb-night), 0.35) 60%, var(--bg) 100%);
	}
	.ape {
		width: min(72vw, 380px);
	}

	.team__grid,
	.academy__grid,
	.mindset__grid,
	.game__grid,
	.tools__grid,
	.challenge,
	.apequiz,
	.meme,
	.wardrobe__more,
	.notfound__grid,
	.faq__grid,
	.contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.team__people {
		max-width: 520px;
	}
	.game__frame,
	.challenge__chart {
		order: -1;
	}
	.clock__row {
		grid-template-columns: 6.2rem minmax(0, 1fr);
	}
	.clock__name {
		font-size: 0.95rem;
		white-space: nowrap;
	}
	.mindset__art {
		max-width: 520px;
	}
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.site-footer__slogan {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.courses {
		grid-auto-flow: column;
		grid-auto-columns: minmax(200px, 64%);
		grid-template-columns: none;
		margin-inline: calc(-1 * var(--gutter));
		padding: 1rem var(--gutter) 0.5rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.courses::-webkit-scrollbar {
		display: none;
	}
	.course {
		scroll-snap-align: start;
	}
	.course:nth-child(2),
	.course:nth-child(3) {
		margin-top: 0;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 64px;
	}
	.site-header__cta {
		display: none;
	}
	.site-header__actions {
		gap: 0.75rem;
	}
	.brand__name {
		font-size: 0.82rem;
	}
	.brand__logo {
		width: 38px;
		height: 38px;
	}
	.hero {
		min-height: 100svh;
		padding-bottom: 3rem;
	}
	.hero__actions .btn {
		flex: 1 1 100%;
	}
	.ape {
		width: min(64vw, 300px);
	}
	.person--2 {
		margin-top: 2rem;
	}
	.value {
		grid-template-columns: minmax(0, 1fr);
	}
	.value__name {
		font-size: min(8vw, 2.2rem);
	}
	.community__grid,
	.form__row,
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.join {
		justify-content: center;
		text-align: center;
	}
	.join__ape {
		margin: -3rem auto 0;
	}
	.join .btn {
		flex: 1 1 100%;
	}
	.game__canvas {
		aspect-ratio: 1 / 1;
	}
	.seg--wide .seg__btn {
		padding: 0.6rem 0.8rem;
		font-size: 0.9rem;
	}
	.clock__row {
		grid-template-columns: 6.2rem minmax(0, 1fr);
	}
	.wallet-pill {
		right: 0.75rem;
		bottom: 0.75rem;
	}
	.buddy {
		width: 40px;
	}
	.buddy__ape,
	.buddy__btn {
		width: 46px;
	}
	/* Auf dem Handy lugt der Ape nur vom Rand herein */
	.buddy__ape {
		right: -16px;
	}
	.buddy__vine {
		display: none;
	}
	.buddy__bubble {
		right: calc(100% - 6px);
	}
	.buddy__bubble {
		max-width: 190px;
		font-size: 0.82rem;
	}
	.wardrobe__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wardrobe__balance {
		text-align: left;
	}
	html[data-mode="wild"] .wallet-pill {
		bottom: 4.5rem;
	}
	.quiz__answers--emoji {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.game__overlay {
		padding: 3.2rem 0.75rem 1rem;
	}
	.game__title {
		font-size: 1.25rem;
	}
	.game__score {
		font-size: 1.9rem;
	}
	.game__runstats {
		font-size: 0.82rem;
	}
	.game__buttons .btn {
		min-height: 46px;
		padding: 0.7rem 1.25rem;
		font-size: 1rem;
	}
	.beat {
		left: 0.75rem;
		bottom: 0.75rem;
	}
	.qa__a {
		padding-right: 0;
	}
	.site-footer__bottom {
		flex-wrap: wrap;
	}
}

@media (max-width: 520px) {
	.ape-switch__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}
}

/* Weniger Bewegung, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.tape__track,
	.hero__bg,
	.ape {
		animation: none !important;
	}
}


/* ==========================================================================
   1.5 – Ape Trading Floor
   ========================================================================== */
.floor {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
}
.floor [hidden] {
	display: none !important;
}
.floor__hud {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin-bottom: 0.5rem;
}
.floor__acct,
.floor__count {
	margin: 0;
}
.floor__label {
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.floor__acct b {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.4vw, 1.5rem);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}
.floor__pnl {
	margin-left: 0.35rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.floor__pnl.is-up {
	background: rgba(var(--rgb-cyan), 0.16);
	color: var(--cyan);
}
.floor__pnl.is-down {
	background: rgba(var(--rgb-pink), 0.18);
	color: #ff7ab3;
}
.floor__count {
	color: var(--dim);
	font-size: 0.9rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.floor__progress {
	height: 4px;
	margin-bottom: 0.6rem;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
}
.floor__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--spectrum-x);
	transition: width 0.25s var(--ease);
}
.floor__chart {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--r-m);
	background: radial-gradient(120% 90% at 85% 0%, rgba(var(--rgb-magenta), 0.16), transparent 60%) padding-box, linear-gradient(180deg, var(--night-2), var(--night)) padding-box, linear-gradient(135deg, rgba(var(--rgb-cyan), 0.55), rgba(var(--rgb-magenta), 0.55), rgba(var(--rgb-lemon), 0.45)) border-box;
}
.floor__chart canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}
/* Start/Ergebnis: Der Chart wächst mit, wenn der Inhalt mehr Platz braucht */
.floor.is-result .floor__chart {
	overflow: visible;
}
.floor.is-result .floor__overlay {
	position: relative;
	inset: auto;
	min-height: 100%;
	border-radius: inherit;
}
.floor__chart::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 0 transparent;
	pointer-events: none;
}
.floor__chart.is-flash::after {
	animation: floor-flash 0.7s ease-out;
}
@keyframes floor-flash {
	0% { box-shadow: inset 0 0 0 3px var(--flash), inset 0 0 60px var(--flash); }
	100% { box-shadow: inset 0 0 0 0 transparent; }
}
.floor__handle {
	position: absolute;
	right: 2px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 60px;
	height: 24px;
	margin: 0;
	padding: 0 4px;
	border: 2px solid #0d0620;
	border-radius: 7px;
	color: var(--night);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	white-space: nowrap;
	cursor: ns-resize;
	touch-action: none;
	transform: translateY(-50%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.floor__handle--target {
	background: var(--cyan);
}
.floor__grip {
	font-size: 12px;
	opacity: 0.8;
}
.floor__handle--stop {
	background: var(--pink);
	color: #fff;
}
.floor__handle:focus-visible,
.floor__handle.is-drag {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.floor__coach {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 2;
	max-width: min(80%, 26rem);
	margin: 0;
	padding: 0.5rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: rgba(var(--rgb-night), 0.88);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.25s, transform 0.25s var(--ease);
	pointer-events: none;
}
.floor__coach.is-show {
	opacity: 1;
	transform: none;
}
.floor__coach.is-strong {
	border-color: var(--lemon);
	font-size: 0.95rem;
	font-weight: 700;
}
.floor__overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 1.25rem;
	overflow-y: auto;
	background: rgba(var(--rgb-night), 0.8);
	text-align: center;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.floor__otitle {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.6vw, 1.6rem);
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.floor__omsg {
	max-width: 44ch;
	margin: 0 0 0.6rem;
	color: var(--dim);
	font-size: 0.95rem;
}
.floor__result {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	width: 100%;
}
.floor__big {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.floor__big.is-up {
	color: var(--cyan);
	text-shadow: 0 0 24px rgba(var(--rgb-cyan), 0.55);
}
.floor__big.is-down {
	color: #ff7ab3;
}
.floor__reveal {
	margin: 0;
	font-weight: 700;
}
.floor__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0.2rem 0;
	padding: 0;
	list-style: none;
}
.floor__stats li {
	display: grid;
	gap: 0.1rem;
	min-width: 6.4rem;
	padding: 0.35rem 0.6rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.78rem;
	color: var(--dim);
}
.floor__stats b {
	color: #fff;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}
.floor__earn {
	margin: 0;
	color: var(--lemon);
	font-weight: 700;
}
.floor__noboard {
	margin: 0;
	color: var(--dim);
	font-size: 0.85rem;
}
.floor__controls {
	display: grid;
	gap: 0.6rem;
	margin-top: 0.8rem;
}
.floor__info {
	min-height: 1.4em;
	margin: 0;
	color: var(--dim);
	font-size: 0.92rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.floor__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
}
.floor__row .mini-seg {
	margin: 0;
}
.floor__rowlabel {
	min-width: 8.5rem;
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.floor__row--btns .btn {
	flex: 1 1 10rem;
	justify-content: center;
}
.floor__plan {
	display: grid;
	gap: 0.6rem;
	padding: 0.8rem;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: var(--r-s);
}
.floor .btn.floor__long {
	background: var(--cyan);
	color: var(--night);
}
.floor .btn.floor__short {
	background: var(--pink);
	color: #fff;
}
.floor .btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.floor__side .board {
	margin-bottom: 1rem;
}
.floor__rules {
	display: grid;
	gap: 0.4rem;
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
	color: var(--dim);
	font-size: 0.9rem;
}
.floor__source {
	margin: 0.75rem 0 0;
	color: var(--dim);
	font-size: 0.8rem;
}
.floor__submit {
	margin-top: 0.2rem;
}

/* ==========================================================================
   1.5 – Bulle oder Bär?
   ========================================================================== */
.bb__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 2rem;
}
.bb__head .panel__text {
	max-width: 56ch;
}
.bb__rate {
	display: grid;
	min-width: 11rem;
	margin: 0;
	padding: 0.8rem 1.1rem;
	border: 1px solid rgba(var(--rgb-lemon), 0.4);
	border-radius: var(--r-m);
	background: rgba(var(--rgb-lemon), 0.06);
	text-align: right;
}
.bb__ratelabel {
	color: var(--dim);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.bb__rate b {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 400;
	color: var(--lemon);
	line-height: 1.3;
}
.bb__ratesub {
	color: var(--dim);
	font-size: 0.85rem;
}
.bb__status {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 1rem 0;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.5);
	font-weight: 700;
	font-size: 0.95rem;
}
.bb__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}
.bb__status.is-open {
	border-color: rgba(61, 220, 132, 0.6);
}
.bb__status.is-open .bb__dot {
	background: #3ddc84;
	animation: ping 2s ease-out infinite;
}
.bb__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.8rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}
.bb-card {
	display: grid;
	gap: 0.55rem;
	align-content: start;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	background: var(--surface);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bb-card.is-bull {
	border-color: rgba(var(--rgb-cyan), 0.7);
	box-shadow: 0 0 24px rgba(var(--rgb-cyan), 0.18);
}
.bb-card.is-bear {
	border-color: rgba(var(--rgb-pink), 0.75);
	box-shadow: 0 0 24px rgba(var(--rgb-pink), 0.2);
}
.bb-card__name {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
}
.bb-card__btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
}
.bb-card__btn {
	min-height: 44px;
	white-space: nowrap;
	padding: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.15s;
}
.bb-card__btn:hover:not(:disabled) {
	transform: translateY(-1px);
}
.bb-card__btn--bull:hover:not(:disabled) {
	border-color: var(--cyan);
}
.bb-card__btn--bear:hover:not(:disabled) {
	border-color: var(--pink);
}
.bb-card__btn--bull[aria-pressed="true"] {
	border-color: var(--cyan);
	background: var(--cyan);
	color: var(--night);
}
.bb-card__btn--bear[aria-pressed="true"] {
	border-color: var(--pink);
	background: var(--pink);
	color: #fff;
}
.bb-card__btn:disabled {
	cursor: default;
}
.bb-card__btn:disabled[aria-pressed="false"] {
	opacity: 0.4;
}
.bb-card__crowd {
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(var(--rgb-pink), 0.75);
}
.bb-card__crowd span {
	display: block;
	height: 100%;
	background: var(--cyan);
	transition: width 0.6s var(--ease);
}
.bb-card__crowdtext {
	margin: -0.2rem 0 0;
	color: var(--dim);
	font-size: 0.8rem;
}
.bb-card__res {
	margin: 0;
	padding-top: 0.45rem;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
	font-weight: 700;
}
.bb-card__res.is-right {
	color: var(--cyan);
}
.bb-card__res.is-wrong {
	color: #ff7ab3;
}
.bb__msg {
	margin: 0 0 1rem;
	color: var(--dim);
	font-weight: 600;
}
.bb__msg.is-done {
	color: var(--lemon);
	font-weight: 700;
}
.bb__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}
.bb__actions[hidden],
.bb__history[hidden] {
	display: none;
}
.bb__actions .btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.bb__hint {
	max-width: 44ch;
	margin: 0;
	color: var(--dim);
	font-size: 0.88rem;
}
.bb__reward,
.bb__note {
	margin: 0 0 0.5rem;
	color: var(--dim);
	font-size: 0.85rem;
}
.bb__history {
	margin: 1.25rem 0;
}
.bb__weeks {
	display: grid;
	gap: 0.5rem;
}
.bb-week {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
}
.bb-week__label {
	min-width: 3.6rem;
	margin: 0;
	font-weight: 800;
}
.bb-week__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-week__list li {
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.85rem;
	font-weight: 600;
}
.bb-week__list li.is-bull {
	box-shadow: inset 0 0 0 1px rgba(var(--rgb-cyan), 0.5);
}
.bb-week__list li.is-bear {
	box-shadow: inset 0 0 0 1px rgba(var(--rgb-pink), 0.55);
}
.live__pill--bb {
	border-color: rgba(var(--rgb-lemon), 0.55);
}
.live__pill--bb:hover {
	border-color: var(--lemon);
}

/* ==========================================================================
   1.5 – Ape-Profil
   ========================================================================== */
.profile {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
	gap: 1.25rem 2rem;
	align-items: center;
	margin-bottom: 1.75rem;
}
.profile__who {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.profile__avatar {
	position: relative;
	flex: none;
	width: 84px;
	margin-top: 14px;
}
.profile__avatar img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 6px 18px rgba(var(--rgb-magenta), 0.45));
}
.profile__name {
	margin: 0;
	overflow-wrap: anywhere;
}
.profile__type {
	margin: 0.2rem 0 0;
	color: var(--dim);
	font-size: 0.9rem;
}
.profile__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.5rem;
	margin: 0;
}
.profile__stats div {
	padding: 0.55rem 0.75rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
}
.profile__stats dt {
	color: var(--dim);
	font-size: 0.78rem;
	font-weight: 700;
}
.profile__stats dd {
	margin: 0.1rem 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.profile__stats small {
	color: var(--dim);
	font-size: 0.75rem;
	font-weight: 600;
}

@media (max-width: 960px) {
	.floor {
		grid-template-columns: minmax(0, 1fr);
	}
	.profile {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 640px) {
	.seg--wide {
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		border-radius: 999px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.seg--wide::-webkit-scrollbar {
		display: none;
	}
	.seg--wide .seg__btn {
		flex: none;
		white-space: nowrap;
	}
	.floor__chart {
		aspect-ratio: 4 / 5;
	}
	.floor__coach {
		max-width: 72%;
		font-size: 0.8rem;
	}
	.floor__row--btns .btn {
		font-size: 0.95rem;
	}
	.bb__rate {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0 0.6rem;
		padding: 0.6rem 0.9rem;
	}
	.bb__rate b {
		font-size: 1.25rem;
	}
	.bb__ratelabel {
		flex-basis: 100%;
	}
	.bb__status {
		border-radius: 16px;
	}
	.bb__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.bb-card {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		padding: 0.8rem 0.9rem;
	}
	.bb-card > :not(.bb-card__name):not(.bb-card__btns) {
		grid-column: 1 / -1;
	}
	.bb-card__btn {
		min-width: 5.6rem;
		padding: 0.45rem 0.7rem;
	}
	.floor__rowlabel {
		min-width: 0;
		flex-basis: 100%;
	}
	.floor__row--btns .btn {
		flex: 1 1 8rem;
	}
	.bb__rate {
		width: 100%;
		text-align: left;
	}
	.profile__stats {
		grid-template-columns: 1fr 1fr;
	}
}

/* ==========================================================================
   1.5 – ICT-Killzones in der Session-Uhr
   ========================================================================== */
.clock__dst {
	margin: 0.75rem 0 0;
	padding: 0.6rem 0.8rem;
	border: 1px solid rgba(var(--rgb-lemon), 0.45);
	border-radius: var(--r-s);
	background: rgba(var(--rgb-lemon), 0.07);
	font-size: 0.88rem;
	font-weight: 600;
}
.clock__dst[hidden] {
	display: none;
}
.clock__kz {
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.clock__kztitle {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 800;
}
.clock__kzstatus {
	min-height: 1.4em;
	margin: 0 0 0.75rem;
	color: var(--dim);
	font-weight: 700;
	font-size: 0.92rem;
}
.clock__kzstatus.is-live {
	color: var(--lemon);
}
.clock__list--kz .clock__bar {
	height: 8px;
}
.clock__kznote {
	margin: 0.9rem 0 0;
	color: var(--dim);
	font-size: 0.78rem;
	line-height: 1.5;
}

.clock__name {
	white-space: nowrap;
}
.clock__list--kz .clock__row {
	grid-template-columns: 8.4rem minmax(0, 1fr);
}
.clock__note:empty {
	min-height: 0;
	margin: 0;
}
@media (max-width: 640px) {
	.clock__list--kz .clock__row {
		grid-template-columns: 6.4rem minmax(0, 1fr);
		gap: 0.15rem 0.6rem;
	}
	.clock__list--kz .clock__name {
		font-size: 0.86rem;
	}
	.clock__list--kz .clock__status {
		font-size: 0.78rem;
	}
}

/* ==========================================================================
   1.6 – Laser-Augen im Ape Mode
   ========================================================================== */
.laser-fx {
	position: fixed;
	inset: 0;
	z-index: 92;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
html[data-mode="wild"] main {
	cursor: crosshair;
}
.is-lasered {
	animation: lasered 0.9s ease-out;
}
@keyframes lasered {
	0% { text-shadow: 0 0 2px #fff, 0 0 16px #ff2d6f, 0 0 42px #ff2d6f; filter: brightness(1.6); }
	30% { text-shadow: 0 0 2px #fff, 0 0 10px #ff2d6f, 0 0 26px #ff2d6f; filter: brightness(1.25); }
	100% { text-shadow: none; filter: none; }
}
.laser-bear {
	position: fixed;
	left: 0;
	z-index: 91;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	cursor: crosshair;
	transform: translateX(-130%) rotate(30deg);
	transition: transform 0.45s var(--ease), opacity 0.35s;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.laser-bear__body {
	font-size: 52px;
	line-height: 1;
	filter: drop-shadow(0 0 14px rgba(var(--rgb-pink), 0.75));
}
.laser-bear__sign {
	position: absolute;
	top: -6px;
	right: -24px;
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--pink);
	color: #fff;
	font: 800 11px/1.2 var(--font-body);
	letter-spacing: 0.06em;
	transform: rotate(-8deg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.laser-bear.is-in {
	transform: translateX(-14%) rotate(14deg);
}
.laser-bear.is-in .laser-bear__body {
	animation: bear-wobble 0.9s ease-in-out 0.45s infinite alternate;
}
@keyframes bear-wobble {
	from { transform: rotate(-9deg); }
	to { transform: rotate(9deg); }
}
.laser-bear.is-out {
	transform: translateX(-130%) rotate(30deg);
}
.laser-bear.is-hit {
	transform: translateX(-14%) scale(1.7) rotate(40deg);
	opacity: 0;
	transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
	.laser-bear.is-in .laser-bear__body {
		animation: none;
	}
}

/* ==========================================================================
   1.6.1 – Atem-Kreis im Mindset-Bereich
   ========================================================================== */
.breath {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, rgba(var(--rgb-lilac), 0.22), transparent 68%), var(--surface);
}
.breath::before,
.breath__orb {
	content: "";
	position: absolute;
	inset: 0;
	width: 40%;
	aspect-ratio: 1;
	margin: auto;
	border-radius: 50%;
}
.breath__orb {
	background: radial-gradient(circle at 36% 30%, #fff 0%, var(--cyan) 20%, var(--lilac) 58%, var(--magenta) 100%);
	box-shadow: 0 0 60px rgba(var(--rgb-cyan), 0.5), 0 0 140px rgba(var(--rgb-magenta), 0.35);
	animation: breathe 8s ease-in-out infinite;
}
.breath::before {
	border: 2px solid rgba(var(--rgb-cyan), 0.55);
	animation: breathe-ring 8s ease-in-out infinite;
}
@keyframes breathe {
	0%, 100% { transform: scale(0.75); }
	50% { transform: scale(1.5); }
}
@keyframes breathe-ring {
	0%, 100% { transform: scale(0.9); opacity: 0.15; }
	50% { transform: scale(2.05); opacity: 0.75; }
}
.breath__label {
	position: relative;
	z-index: 1;
	grid-area: 1 / 1;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(0.95rem, 2.2vw, 1.35rem);
	text-shadow: 0 2px 14px rgba(var(--rgb-night), 0.7);
	animation: breath-in 8s ease-in-out infinite;
}
.breath__label--out {
	animation-name: breath-out;
}
@keyframes breath-in {
	0%, 42% { opacity: 1; }
	50%, 92% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes breath-out {
	0%, 42% { opacity: 0; }
	50%, 92% { opacity: 1; }
	100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.breath__orb,
	.breath::before,
	.breath__label {
		animation: none;
	}
	.breath__label--out {
		opacity: 0;
	}
}

/* ==========================================================================
   1.7 – Mehr Tools: Prop-Check, Equity-Simulator, Drawdown-Rechner
   ========================================================================== */
.tools__more {
	margin-top: clamp(2rem, 4vw, 3rem);
}
.tools__more .seg {
	margin-bottom: 1.25rem;
}
.tools__more [role="tabpanel"][hidden] {
	display: none;
}
.tool2__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}
.prop input,
.sim select {
	width: 100%;
	min-height: 46px;
	padding: 0.65rem 0.85rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--bg);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
.prop input:focus,
.sim select:focus {
	border-color: var(--cyan);
	outline: none;
}
.sim input[type="range"],
.ddcalc input[type="range"] {
	width: 100%;
	min-height: 40px;
	accent-color: var(--pink);
}
.prop__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1rem;
	margin-top: 1rem;
}
.prop__out,
.sim__out,
.ddcalc__out {
	padding: 1.1rem;
	border-radius: var(--r-s);
	background: rgba(var(--rgb-night), 0.55);
}
.prop__stat {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "num label" "num blocks";
	gap: 0.15rem 0.9rem;
	align-items: center;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--line);
}
.prop__num {
	grid-area: num;
	min-width: 3.2rem;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	line-height: 1.2;
	color: #ff7ab3;
	font-variant-numeric: tabular-nums;
}
.prop__num--win {
	color: var(--cyan);
}
.prop__label {
	grid-area: label;
	color: var(--dim);
	font-size: 0.9rem;
	font-weight: 700;
}
.prop__blocks {
	grid-area: blocks;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
}
.prop__blocks i {
	width: 12px;
	height: 12px;
	border-radius: 3px;
}
.prop__blocks i.is-loss {
	background: var(--pink);
	box-shadow: 0 0 8px rgba(var(--rgb-pink), 0.5);
}
.prop__blocks i.is-win {
	background: var(--cyan);
	box-shadow: 0 0 8px rgba(var(--rgb-cyan), 0.5);
}
.prop__blocks em {
	margin-left: 0.3rem;
	color: var(--dim);
	font-size: 0.8rem;
	font-style: normal;
	font-weight: 700;
}
.prop__sums {
	margin: 0.8rem 0 0.5rem;
	color: var(--dim);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}
.prop__verdict {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: var(--r-s);
	font-weight: 700;
}
.prop__verdict.is-red {
	border: 1px solid rgba(var(--rgb-pink), 0.6);
	background: rgba(var(--rgb-pink), 0.12);
}
.prop__verdict.is-yellow {
	border: 1px solid rgba(var(--rgb-lemon), 0.5);
	background: rgba(var(--rgb-lemon), 0.08);
}
.prop__verdict.is-green {
	border: 1px solid rgba(var(--rgb-cyan), 0.55);
	background: rgba(var(--rgb-cyan), 0.1);
}
.sim__form {
	display: grid;
	gap: 0.6rem;
	margin: 1rem 0;
}
.sim__form output,
.ddcalc output {
	color: var(--cyan);
	font-weight: 700;
}
.sim__chart {
	margin: 0 0 0.75rem;
}
.sim__chart canvas {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}
.sim__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem 1rem;
	margin: 0 0 0.75rem;
}
.sim__stats dt {
	color: var(--dim);
	font-size: 0.78rem;
	font-weight: 700;
}
.sim__stats dd {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.sim__stats dd small {
	display: block;
	color: var(--dim);
	font-size: 0.72rem;
	font-weight: 600;
}
.sim .is-up {
	color: var(--cyan);
}
.sim .is-down {
	color: #ff7ab3;
}
.sim__hint {
	margin: 0 0 0.5rem;
	font-weight: 700;
}
.ddcalc__tip {
	margin: 1rem 0 0;
	color: var(--dim);
}
.ddcalc__bars {
	display: grid;
	gap: 0.6rem;
}
.ddcalc__bar {
	height: 30px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.ddcalc__bar span {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	min-width: 4.5rem;
	padding: 0 0.6rem;
	border-radius: 8px;
	transition: width 0.3s var(--ease);
}
.ddcalc__bar span::after {
	content: attr(data-v);
	color: var(--night);
	font-size: 0.85rem;
	font-weight: 800;
	white-space: nowrap;
}
.ddcalc__bar--loss span {
	background: linear-gradient(90deg, var(--pink), var(--coral));
}
.ddcalc__bar--need span {
	background: linear-gradient(90deg, var(--cyan), var(--lilac));
}
.ddcalc__result {
	margin: 1rem 0;
}
.ddcalc__result b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.25;
	color: var(--cyan);
}
.ddcalc__result span {
	color: var(--dim);
	font-weight: 600;
}
.ddcalc__table-title {
	margin: 0 0 0.4rem;
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.ddcalc__table {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ddcalc__table li {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 0.6rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.88rem;
	font-variant-numeric: tabular-nums;
}
.ddcalc__table li span {
	color: #ff7ab3;
}
.ddcalc__table li b {
	color: var(--cyan);
}

/* ==========================================================================
   1.7 – Mindset: Fokus-Minute (geführte Atmung) und Tilt-Check
   ========================================================================== */
.breath__progress {
	position: absolute;
	inset: 3%;
	z-index: 2;
	width: 94%;
	height: 94%;
	transform: rotate(-90deg);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.breath__progress circle {
	fill: none;
	stroke: var(--cyan);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 0.4s linear;
	filter: drop-shadow(0 0 4px rgba(var(--rgb-cyan), 0.8));
}
.breath__count {
	position: relative;
	z-index: 3;
	grid-area: 1 / 1;
	display: none;
	justify-items: center;
	color: #fff;
	text-shadow: 0 2px 14px rgba(var(--rgb-night), 0.7);
}
.breath__count b {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 6vw, 3.6rem);
	font-weight: 400;
	line-height: 1.1;
}
.breath__count small {
	font-size: clamp(0.9rem, 2vw, 1.15rem);
	font-weight: 800;
	letter-spacing: 0.04em;
}
.breath.is-guided .breath__orb,
.breath.is-guided::before {
	animation: none;
}
.breath.is-guided::before {
	opacity: 0.25;
}
.breath.is-guided .breath__label {
	display: none;
}
.breath.is-guided .breath__count {
	display: grid;
}
.breath.is-guided .breath__progress {
	opacity: 1;
}
.breath[data-phase="1"] .breath__orb,
.breath[data-phase="3"] .breath__orb {
	box-shadow: 0 0 40px rgba(var(--rgb-lemon), 0.45), 0 0 120px rgba(var(--rgb-magenta), 0.35);
}
.breath.is-done .breath__orb {
	box-shadow: 0 0 80px rgba(var(--rgb-cyan), 0.9), 0 0 180px rgba(var(--rgb-cyan), 0.5);
}
.focus {
	display: grid;
	justify-items: start;
	gap: 0.75rem;
}
.focus .mindset__pill {
	margin: 0;
}
.focus__text {
	max-width: 46ch;
	margin: 0;
	color: var(--dim);
}
.focus__status {
	min-height: 1.5em;
	margin: 0;
	font-weight: 700;
	color: var(--cyan);
}
.tilt {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	margin-top: clamp(2rem, 4vw, 3.5rem);
}
.tilt__intro {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.tilt__intro .h3 {
	margin-top: 0;
}
.tilt__light {
	flex: none;
	display: grid;
	gap: 8px;
	padding: 10px;
	border-radius: 18px;
	background: var(--night);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.tilt__lamp {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	opacity: 0.18;
	transition: opacity 0.3s, box-shadow 0.3s;
}
.tilt__lamp--red { background: #ff2d55; }
.tilt__lamp--yellow { background: var(--lemon); }
.tilt__lamp--green { background: #3ddc84; }
.tilt__light:not([data-level]) .tilt__lamp {
	animation: lamp-idle 3.6s ease-in-out infinite;
}
.tilt__light:not([data-level]) .tilt__lamp--yellow { animation-delay: 1.2s; }
.tilt__light:not([data-level]) .tilt__lamp--green { animation-delay: 2.4s; }
@keyframes lamp-idle {
	0%, 100% { opacity: 0.18; }
	15% { opacity: 0.7; }
	35% { opacity: 0.18; }
}
.tilt__light[data-level="red"] .tilt__lamp--red,
.tilt__light[data-level="yellow"] .tilt__lamp--yellow,
.tilt__light[data-level="green"] .tilt__lamp--green {
	opacity: 1;
	box-shadow: 0 0 18px currentColor, 0 0 40px currentColor;
}
.tilt__light[data-level="red"] .tilt__lamp--red { color: #ff2d55; }
.tilt__light[data-level="yellow"] .tilt__lamp--yellow { color: var(--lemon); }
.tilt__light[data-level="green"] .tilt__lamp--green { color: #3ddc84; }
.tilt__stage {
	display: grid;
	gap: 0.6rem;
	animation: step-in 0.35s var(--ease);
}
.tilt__step {
	margin: 0;
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.tilt__bar {
	height: 4px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
}
.tilt__bar span {
	display: block;
	height: 100%;
	background: var(--spectrum-x);
	transition: width 0.3s var(--ease);
}
.tilt__q {
	margin: 0.3rem 0 0.2rem;
	font-size: 1.2rem;
	font-weight: 800;
}
.tilt__answers {
	display: grid;
	gap: 0.5rem;
}
.tilt__answer {
	min-height: 48px;
	padding: 0.75rem 1rem;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-s);
	background: transparent;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.tilt__answer:hover,
.tilt__answer:focus-visible {
	border-color: var(--cyan);
	background: rgba(var(--rgb-cyan), 0.1);
	outline: none;
}
.tilt__title {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
}
.tilt__title.is-green { color: #3ddc84; }
.tilt__title.is-yellow { color: var(--lemon); }
.tilt__title.is-red { color: #ff6b8a; }
.tilt__text {
	margin: 0;
	color: var(--dim);
}
.tilt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.4rem;
}
@media (max-width: 960px) {
	.tool2__grid,
	.tilt {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 640px) {
	.prop__form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0.6rem;
	}
	.sim__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ddcalc__table {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tilt__intro {
		align-items: flex-start;
	}
	.tilt__lamp {
		width: 22px;
		height: 22px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tilt__light:not([data-level]) .tilt__lamp {
		animation: none;
	}
}

/* ==========================================================================
   1.8 – Wartungsseite & Kontakt-Shortcode
   ========================================================================== */
.maint {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	padding: 1.25rem 0 2rem;
	background:
		radial-gradient(ellipse 70% 45% at 15% 0%, rgba(var(--rgb-cyan), 0.16), transparent 70%),
		radial-gradient(ellipse 70% 50% at 90% 10%, rgba(var(--rgb-magenta), 0.22), transparent 70%);
}
.maint__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: clamp(2rem, 6vw, 4.5rem);
}
.maint__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.maint__pill i {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 0 rgba(var(--rgb-gold), 0.7);
	animation: maint-ping 1.8s var(--ease) infinite;
}
@keyframes maint-ping {
	70% { box-shadow: 0 0 0 10px rgba(var(--rgb-gold), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--rgb-gold), 0); }
}
.maint__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.maint__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 4.6vw, 3.1rem);
	line-height: 1.35;
	overflow-wrap: break-word;
}
.maint__count {
	margin: 0 0 1.5rem;
}
.maint__count-label {
	margin: 0 0 0.5rem;
	color: var(--dim);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.maint__count-list {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.maint__count-list li {
	display: grid;
	min-width: 4.4rem;
	padding: 0.6rem 0.5rem 0.5rem;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	text-align: center;
}
.maint__count-list b {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.3rem, 3.4vw, 1.9rem);
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
	background: var(--spectrum);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.maint__count-list span {
	color: var(--dim);
	font-size: 0.78rem;
}
.maint__count.is-done .maint__count-list {
	opacity: 0.5;
}
.maint .hero__actions {
	margin-bottom: 1.5rem;
}
.maint__game-hint {
	margin: 0 0 0.6rem;
	color: var(--dim);
	font-weight: 700;
}
.maint__contact {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-top: clamp(3rem, 8vw, 5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	background: rgba(var(--rgb-night2), 0.7);
}
.maint__contact p {
	color: var(--dim);
}
.maint__foot {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 0.85rem;
}
.maint__foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-bottom: 0.6rem;
}
.maint__foot a {
	color: var(--text);
}
.maint__foot p {
	max-width: 80ch;
	margin: 0;
}
/* Formular per Shortcode auf normalen Seiten */
.tapez-kontakt {
	max-width: 720px;
	margin: 1.5rem 0;
}

@media (max-width: 960px) {
	.maint__grid,
	.maint__contact {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 520px) {
	.maint__count-list {
		gap: 0.4rem;
	}
	.maint__count-list li {
		flex: 1;
		min-width: 0;
	}
	.maint .hero__actions .btn {
		flex: 1 1 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.maint__pill i {
		animation: none;
	}
}

/* ==========================================================================
   1.9 – Eigene Seiten: Entdecken-Karten, Unterseiten, Abschluss
   ========================================================================== */
.explore__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.9rem, 2vw, 1.4rem);
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
	padding: 0;
	list-style: none;
}
.explore__grid > li {
	display: flex;
}
.explore__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	width: 100%;
	padding: clamp(1.25rem, 2.5vw, 1.6rem);
	border: 1px solid transparent;
	border-radius: var(--r-m);
	background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(var(--rgb-cyan), 0.55), rgba(var(--rgb-magenta), 0.55), rgba(var(--rgb-lemon), 0.45)) border-box;
	color: var(--text);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.explore__card:hover,
.explore__card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 18px 50px rgba(var(--rgb-magenta), 0.22), 0 0 0 1px rgba(var(--rgb-cyan), 0.4);
}
.explore__icon {
	display: grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	margin-bottom: 0.35rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 1.6rem;
	line-height: 1;
}
.explore__title {
	font-family: var(--font-display);
	font-size: 1.05rem;
	line-height: 1.4;
}
.explore__text {
	flex: 1;
	color: var(--dim);
	font-size: 0.98rem;
	line-height: 1.5;
}
.explore__cta {
	color: var(--accent);
	font-weight: 700;
}
.explore__card:hover .explore__cta span {
	display: inline-block;
	transform: translateX(4px);
	transition: transform 0.2s var(--ease);
}
.explore__chip {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(var(--rgb-gold), 0.14);
	color: var(--gold);
	font-size: 0.85rem;
	font-weight: 700;
}

/* Unterseiten: erster Abschnitt beginnt unter dem festen Header */
.subpage > .section:first-of-type {
	padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
	background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(var(--rgb-magenta), 0.2), transparent 70%);
}
.subpage h1.h2 {
	font-size: clamp(1.7rem, 5vw, 3.3rem);
}

.pagecta {
	padding-top: 0;
}
.pagecta__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	padding: clamp(1.4rem, 3.5vw, 2.4rem);
	border-radius: var(--r-m);
	background:
		radial-gradient(ellipse 60% 120% at 0% 0%, rgba(var(--rgb-cyan), 0.18), transparent 70%),
		radial-gradient(ellipse 60% 120% at 100% 100%, rgba(var(--rgb-pink), 0.22), transparent 70%),
		var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}
.pagecta__box .h3 {
	margin-bottom: 0.4rem;
}
.pagecta__box p {
	max-width: 52ch;
	margin: 0;
	color: var(--dim);
}
.pagecta__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.5rem;
	color: var(--dim);
	font-weight: 700;
}
.pagecta__more .chip {
	min-height: 40px;
	padding: 0.4rem 0.95rem;
	font-size: 0.95rem;
}

@media (max-width: 1100px) {
	.explore__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.explore__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pagecta__box .btn {
		width: 100%;
	}
}

/* ==========================================================================
   1.10 – Newsletter (Plugin „TradingApez Mail“)
   ========================================================================== */
.newsletter__box {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-m);
	background:
		radial-gradient(ellipse 70% 120% at 100% 0%, rgba(var(--rgb-magenta), 0.22), transparent 70%),
		radial-gradient(ellipse 60% 120% at 0% 100%, rgba(var(--rgb-cyan), 0.14), transparent 70%),
		var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}
.newsletter__icon {
	display: inline-grid;
	place-items: center;
	width: 3.2rem;
	height: 3.2rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 1.6rem;
}
.newsletter__intro .lead {
	margin-bottom: 0;
}
.nl-form .notice {
	margin: 0 0 1rem;
}
.nl-form .form__row {
	margin-bottom: 0;
}
.maint__nl .nl-form .form__row {
	grid-template-columns: minmax(0, 1fr);
}
.pagecta__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
}
.pagecta__mail {
	color: var(--dim);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.pagecta__mail:hover {
	color: var(--text);
}
@media (max-width: 960px) {
	.newsletter__box {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 560px) {
	.pagecta__actions {
		width: 100%;
	}
}

/* ==========================================================================
   1.11 – Live-Calls (Plugin „TradingApez Live-Calls“)
   ========================================================================== */
.livecalls__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}
.calls__list {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.call {
	--call: var(--gold);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.6rem 1.1rem;
	align-items: center;
	padding: 0.9rem 1rem 0.9rem 0.9rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--call);
	border-radius: var(--r-s);
	background: var(--surface);
}
.call__date {
	display: grid;
	justify-items: center;
	width: 4.6rem;
	padding: 0.4rem 0.5rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	line-height: 1.15;
}
.call__dow {
	color: var(--dim);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.call__day {
	font-weight: 700;
}
.call__time {
	margin-top: 0.15rem;
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--call);
}
.call__title {
	margin: 0;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
}
.call__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.7rem;
	margin: 0.25rem 0 0;
	color: var(--dim);
	font-size: 0.9rem;
}
.call__cat {
	color: var(--call);
	font-weight: 700;
}
.call__off {
	color: var(--pink);
	font-weight: 700;
}
.call__live {
	color: var(--cyan);
	font-weight: 700;
	animation: call-blink 1.4s ease-in-out infinite;
}
@keyframes call-blink {
	50% { opacity: 0.45; }
}
.call__desc {
	margin: 0.35rem 0 0;
	color: var(--dim);
	font-size: 0.92rem;
	line-height: 1.45;
}
.call__actions {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
}
.call__ics {
	color: var(--dim);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}
.call__ics:hover {
	color: var(--text);
}
.call.is-live {
	box-shadow: 0 0 0 1px var(--cyan), 0 0 30px rgba(var(--rgb-cyan), 0.25);
}
.call.is-off {
	opacity: 0.55;
}
.call.is-off .call__title {
	text-decoration: line-through;
}
.calls__empty {
	color: var(--dim);
}
.calls__abo {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.9rem;
	margin: 1rem 0 0;
	color: var(--dim);
	font-size: 0.9rem;
}
.calls__abo a {
	color: var(--text);
	font-weight: 700;
}
@media (max-width: 960px) {
	.livecalls__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 520px) {
	.call {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.call__actions {
		grid-column: 1 / -1;
		grid-template-columns: 1fr auto;
		align-items: center;
	}
	.call__actions .btn {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.call__live {
		animation: none;
	}
}

/* ==========================================================================
   1.12 – Eigene Icons, Maskottchen, ruhige Überschriften
   ========================================================================== */
.ic {
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
	vertical-align: -0.2em;
}
.ic--grad {
	stroke: url(#tapez-ig) var(--cyan);
}
.explore__icon,
.newsletter__icon {
	background:
		radial-gradient(circle at 30% 20%, rgba(var(--rgb-cyan), 0.18), transparent 60%),
		radial-gradient(circle at 80% 90%, rgba(var(--rgb-pink), 0.2), transparent 60%),
		rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.explore__icon .ic,
.newsletter__icon .ic {
	width: 1.75rem;
	height: 1.75rem;
	filter: drop-shadow(0 0 6px rgba(var(--rgb-magenta), 0.45));
}
.explore__card:hover .explore__icon .ic {
	transform: rotate(-6deg) scale(1.08);
	transition: transform 0.25s var(--ease);
}
.seg__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	white-space: nowrap;
}
.seg__btn .ic {
	width: 1.15em;
	height: 1.15em;
	opacity: 0.8;
}
.seg__btn[aria-selected="true"] .ic {
	opacity: 1;
}
.chip--ic {
	gap: 0.45rem;
}
.pagecta__mail {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

/* Maskottchen: sitzt auf der Kurslinie der Unterseite */
.subpage > .section:first-of-type {
	padding-top: calc(var(--header-h) + clamp(5.5rem, 10vw, 8.5rem));
}
.mascot {
	position: absolute;
	left: clamp(0.25rem, 2vw, 1.5rem);
	bottom: 100%;
	width: clamp(66px, 8vw, 100px);
	margin-bottom: -3px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.mascot__ape {
	position: relative;
	display: block;
	transform-origin: 50% 100%;
	animation: mascot-bob 3.4s ease-in-out infinite;
}
.mascot__ape img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 18px rgba(var(--rgb-magenta), 0.45));
}
.mascot__shadow {
	position: absolute;
	left: 18%;
	right: 18%;
	bottom: -4px;
	height: 7px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	filter: blur(3px);
	animation: mascot-shadow 3.4s ease-in-out infinite;
}
.mascot--mindset .mascot__ape {
	animation-name: mascot-float;
	animation-duration: 5s;
}
.mascot--mindset .mascot__shadow {
	animation-duration: 5s;
}
.mascot.is-hop .mascot__ape {
	animation: mascot-hop 0.65s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes mascot-bob {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-5px) rotate(-2deg); }
}
@keyframes mascot-float {
	0%, 100% { transform: translateY(-2px); }
	50% { transform: translateY(-12px); }
}
@keyframes mascot-shadow {
	0%, 100% { transform: scaleX(1); opacity: 1; }
	50% { transform: scaleX(0.85); opacity: 0.7; }
}
@keyframes mascot-hop {
	0% { transform: translateY(0) scale(1, 1); }
	20% { transform: translateY(0) scale(1.08, 0.9); }
	55% { transform: translateY(-28px) scale(0.96, 1.05) rotate(7deg); }
	100% { transform: translateY(0) scale(1, 1); }
}

/* Überschriften gleichmäßig umbrechen, Wörter mit Bindestrich am Stück lassen */
h1,
h2,
h3,
.h2,
.h3,
.entry__title,
.maint__title,
.explore__title {
	text-wrap: balance;
}
.lead,
.panel__text {
	text-wrap: pretty;
}
@media (min-width: 600px) {
	.nb {
		white-space: nowrap;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mascot__ape,
	.mascot__shadow,
	.mascot.is-hop .mascot__ape {
		animation: none;
	}
}

/* ==========================================================================
   1.13 – Welten: Neon-Space (Standard), Dschungel, Gold-City, Cyber-Tokio
   Jede Welt tauscht nur Variablen. Ape Mode und Saison-Looks laufen obendrauf.
   ========================================================================== */
html[data-world="jungle"] {
	--cyan: #2ee6b8;
	--lilac: #6fdc5a;
	--magenta: #a6e22e;
	--pink: #ff8f3d;
	--coral: #ff5e57;
	--lemon: #ffe14d;
	--gold: #ffd23f;
	--night: #04140d;
	--night-2: #0a2418;
	--night-3: #113522;
	--sky-1: #01100a;
	--sky-2: #04281a;
	--sky-3: #0a3a22;
	--rgb-cyan: 46, 230, 184;
	--rgb-lilac: 111, 220, 90;
	--rgb-magenta: 166, 226, 46;
	--rgb-pink: 255, 143, 61;
	--rgb-coral: 255, 94, 87;
	--rgb-lemon: 255, 225, 77;
	--rgb-gold: 255, 210, 63;
	--rgb-night: 4, 20, 13;
	--rgb-night2: 10, 36, 24;
	--on-accent: #0b1f12;
	--bear: var(--coral);
	--wild-bg: #062a14;
	--wild-surface: #0c3a1e;
	--wild-surface-2: #134d28;
	--rgb-wild-bg: 6, 42, 20;
	--rgb-floor-calm: 8, 40, 22;
	--rgb-floor-wild: 14, 62, 30;
	--rgb-grid: 61, 220, 132;
	--rgb-horizon: var(--rgb-lemon);
	--horizon-hot: #fff09a;
}

html[data-world="gold"] {
	--cyan: #ffe9a8;
	--lilac: #e6c36a;
	--magenta: #e0a526;
	--pink: #f07f2a;
	--coral: #d9622b;
	--lemon: #fff1b8;
	--gold: #ffd34d;
	--night: #0c0904;
	--night-2: #19130a;
	--night-3: #261d0f;
	--sky-1: #070502;
	--sky-2: #1c1408;
	--sky-3: #33240c;
	--rgb-cyan: 255, 233, 168;
	--rgb-lilac: 230, 195, 106;
	--rgb-magenta: 224, 165, 38;
	--rgb-pink: 240, 127, 42;
	--rgb-coral: 217, 98, 43;
	--rgb-lemon: 255, 241, 184;
	--rgb-gold: 255, 211, 77;
	--rgb-night: 12, 9, 4;
	--rgb-night2: 25, 19, 10;
	--on-accent: #1a1206;
	--bull: #7ee081;
	--bear: #ff5a5f;
	--wild-bg: #1d1405;
	--wild-surface: #2b1e08;
	--wild-surface-2: #3a290c;
	--wild-accent: #ffe27a;
	--rgb-wild-bg: 29, 20, 5;
	--rgb-floor-calm: 36, 24, 6;
	--rgb-floor-wild: 56, 38, 8;
	--rgb-grid: 255, 205, 87;
	--horizon-hot: #fff6d5;
}

html[data-world="tokyo"] {
	--cyan: #00f0ff;
	--lilac: #5b7cff;
	--magenta: #ff2bd6;
	--pink: #ff2e63;
	--coral: #ff8a2a;
	--lemon: #f5ff3d;
	--gold: #00f0ff;
	--night: #05060f;
	--night-2: #0b0e22;
	--night-3: #141938;
	--sky-1: #02030a;
	--sky-2: #0a0f2e;
	--sky-3: #1b1250;
	--rgb-cyan: 0, 240, 255;
	--rgb-lilac: 91, 124, 255;
	--rgb-magenta: 255, 43, 214;
	--rgb-pink: 255, 46, 99;
	--rgb-coral: 255, 138, 42;
	--rgb-lemon: 245, 255, 61;
	--rgb-gold: 0, 240, 255;
	--rgb-night: 5, 6, 15;
	--rgb-night2: 11, 14, 34;
	--on-accent: #03121a;
	--wild-bg: #0a0626;
	--wild-surface: #140c3a;
	--wild-surface-2: #1e1250;
	--rgb-wild-bg: 10, 6, 38;
	--rgb-floor-calm: 10, 12, 34;
	--rgb-floor-wild: 20, 10, 54;
	--rgb-grid: 0, 240, 255;
	--rgb-horizon: var(--rgb-pink);
	--horizon-hot: #c9fbff;
}

/* Sanfter Übergang beim Wechsel (nur während des Wechsels aktiv) */
html.is-world-fade body,
html.is-world-fade .hero__sky,
html.is-world-fade .site-header,
html.is-world-fade .card,
html.is-world-fade .btn {
	transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

/* Dschungel: Blätterdach mit leuchtenden Rändern über dem Hero */
html[data-world="jungle"] .hero__sky::before,
html[data-world="jungle"] body:not(.hero-spectrum) .hero__sky::after {
	content: "";
	position: absolute;
	top: 0;
	width: min(40vw, 500px);
	aspect-ratio: 640 / 360;
	background: url("../img/worlds/jungle-canopy.svg") no-repeat 0 0 / 100% auto;
	pointer-events: none;
}
html[data-world="jungle"] .hero__sky::before {
	left: 0;
	opacity: 0.8;
}
html[data-world="jungle"] body:not(.hero-spectrum) .hero__sky::after {
	right: 0;
	transform: scaleX(-1);
	opacity: 0.85;
}
html[data-world="jungle"] .hero__sky {
	background:
		radial-gradient(ellipse 42% 48% at 72% 46%, rgba(var(--rgb-magenta), 0.3), transparent 70%),
		radial-gradient(ellipse 45% 40% at 20% 10%, rgba(var(--rgb-cyan), 0.16), transparent 70%),
		radial-gradient(ellipse 30% 26% at 92% 12%, rgba(var(--rgb-lemon), 0.14), transparent 70%),
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 78%, var(--night) 100%);
}
/* Gold-City: warme Dämmerung hinter der Skyline */
html[data-world="gold"] .hero__sky {
	background:
		radial-gradient(ellipse 50% 46% at 72% 52%, rgba(var(--rgb-gold), 0.34), transparent 70%),
		radial-gradient(ellipse 60% 30% at 50% 78%, rgba(var(--rgb-pink), 0.22), transparent 70%),
		radial-gradient(ellipse 35% 30% at 10% 8%, rgba(var(--rgb-cyan), 0.1), transparent 70%),
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 78%, var(--night) 100%);
}
/* Cyber-Tokio: kaltes Blau, pinkes Leuchten über den Dächern */
html[data-world="tokyo"] .hero__sky {
	background:
		radial-gradient(ellipse 42% 48% at 72% 46%, rgba(var(--rgb-magenta), 0.34), transparent 70%),
		radial-gradient(ellipse 55% 36% at 10% 70%, rgba(var(--rgb-lilac), 0.24), transparent 70%),
		radial-gradient(ellipse 38% 32% at 96% 6%, rgba(var(--rgb-cyan), 0.14), transparent 70%),
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 78%, var(--night) 100%);
}

/* Welten-Knopf im Header */
.world-switch {
	position: relative;
}
.world-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0 0.85rem 0 0.7rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.45);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.world-btn:hover,
.world-btn[aria-expanded="true"] {
	border-color: var(--cyan);
	background: rgba(var(--rgb-cyan), 0.12);
}
.world-btn__icon {
	width: 22px;
	height: 22px;
	color: var(--cyan);
	transition: transform 0.5s var(--ease);
}
.world-btn[aria-expanded="true"] .world-btn__icon {
	transform: rotate(-35deg);
}
.world-pop {
	position: absolute;
	top: calc(100% + 0.6rem);
	right: 0;
	z-index: 120;
	width: min(360px, calc(100vw - 2rem));
	padding: 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-m);
	background: rgba(var(--rgb-night2), 0.96);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--rgb-magenta), 0.15);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	animation: worldPop 0.25s var(--ease);
}
.world-pop[hidden] {
	display: none;
}
@keyframes worldPop {
	from { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
.world-pop__title,
.world-inline__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.7rem;
	color: var(--dim);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.world-inline__title .ic {
	width: 18px;
	height: 18px;
	color: var(--cyan);
}
.world-pop__grid {
	display: grid;
	gap: 0.5rem;
}
.world-tile {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	min-height: 44px;
	padding: 0.55rem 0.7rem;
	border: 2px solid transparent;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font-family: var(--font-body);
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.world-tile:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateX(2px);
}
.world-tile[aria-pressed="true"] {
	border-color: var(--w2);
	background: color-mix(in srgb, var(--w2) 12%, transparent);
}
.world-tile__swatch {
	position: relative;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 18px color-mix(in srgb, var(--w2) 35%, transparent);
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.world-art {
	display: block;
	width: 100%;
	height: 100%;
}
.world-tile:hover .world-tile__swatch,
.world-tile[aria-pressed="true"] .world-tile__swatch {
	transform: scale(1.06) rotate(-2deg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 26px color-mix(in srgb, var(--w2) 60%, transparent);
}
.world-tile__txt {
	display: grid;
	gap: 0.1rem;
	line-height: 1.25;
}
.world-tile__txt strong {
	font-size: 0.98rem;
}
.world-tile__txt small {
	color: var(--dim);
	font-size: 0.8rem;
}
.world-tile[aria-pressed="true"] .world-tile__txt strong::after {
	content: " ✓";
	color: var(--w2);
}

/* Welten im mobilen Menü */
.world-inline {
	margin-top: 1.75rem;
}
.world-inline__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}
.world-inline .world-tile {
	gap: 0.6rem;
	padding: 0.45rem 0.55rem;
}
.world-inline .world-tile__swatch {
	width: 40px;
	height: 40px;
	border-radius: 11px;
}
.world-inline .world-tile__txt strong {
	font-size: 0.9rem;
}

@media (max-width: 1100px) {
	.world-btn__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}
	.world-btn {
		width: 44px;
		justify-content: center;
		padding: 0;
	}
}
@media (max-width: 520px) {
	/* Auf dem Handy wechselt man die Welt im Menü */
	.world-switch {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.world-pop {
		animation: none;
	}
	.world-btn__icon,
	.world-tile {
		transition: none;
	}
}

/* ==========================================================================
   1.13 – Bereichsleiste auf Unterseiten (zurück zur Startseite, Bereiche wechseln)
   ========================================================================== */
.areabar {
	position: sticky;
	top: var(--header-h);
	z-index: 55;
	margin-top: var(--header-h);
	border-bottom: 1px solid var(--line);
	background: rgba(var(--rgb-night), 0.82);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.admin-bar .areabar {
	top: calc(var(--header-h) + 32px);
}
@media (max-width: 782px) {
	.admin-bar .areabar {
		top: calc(var(--header-h) + 46px);
	}
}
.areabar__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 54px;
}
.areabar__back {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.45rem;
	min-height: 40px;
	padding: 0 1rem 0 0.75rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 800;
	font-size: 0.92rem;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(var(--rgb-gold), 0.3);
	transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.areabar__back:hover {
	transform: translateX(-2px);
	box-shadow: 0 8px 26px rgba(var(--rgb-gold), 0.45);
}
.areabar__back .ic {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}
.areabar__short {
	display: none;
}
.areabar__list {
	display: flex;
	gap: 0.3rem;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.areabar__list::-webkit-scrollbar {
	display: none;
}
.areabar__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0 0.85rem;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--dim);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.areabar__list a .ic {
	width: 18px;
	height: 18px;
}
.areabar__list a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}
.areabar__list a[aria-current="page"] {
	border-color: rgba(var(--rgb-cyan), 0.55);
	background: rgba(var(--rgb-cyan), 0.1);
	color: #fff;
}
.areabar__list a[aria-current="page"] .ic {
	color: var(--cyan);
}
.subpage > .areabar + .section {
	padding-top: clamp(5rem, 9vw, 7.5rem);
}
@media (max-width: 640px) {
	.areabar__inner {
		gap: 0.5rem;
		min-height: 50px;
		padding-right: 0;
	}
	.areabar__back {
		padding: 0 0.8rem 0 0.6rem;
	}
	.areabar__long {
		display: none;
	}
	.areabar__short {
		display: inline;
	}
	.areabar__list {
		margin-left: 0;
		padding-right: var(--gutter);
		-webkit-mask: linear-gradient(90deg, #000 85%, transparent);
		mask: linear-gradient(90deg, #000 85%, transparent);
	}
	.areabar__list a {
		padding: 0 0.7rem;
	}
	.areabar__list a:not([aria-current="page"]) .ic {
		display: none;
	}
}
html:has(.areabar) {
	scroll-padding-top: calc(var(--header-h) + 60px);
}

/* ==========================================================================
   1.13 – Social Media mit Icons
   ========================================================================== */
.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.socials__link {
	--sc: var(--cyan);
	text-decoration: none;
}
.socials__ic {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}
.socials__ic .ic {
	width: 22px;
	height: 22px;
}

/* Runde Icon-Knöpfe */
.socials--icons .socials__link {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid color-mix(in srgb, var(--sc) 60%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--sc) 14%, rgba(var(--rgb-night), 0.6));
	color: #fff;
	transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.socials--icons .socials__link:hover {
	transform: translateY(-3px);
	background: var(--sc);
	box-shadow: 0 10px 26px color-mix(in srgb, var(--sc) 45%, transparent);
}

/* Chips mit Name */
.socials--chips .socials__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.35rem 1rem 0.35rem 0.4rem;
	border: 1px solid color-mix(in srgb, var(--sc) 50%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--sc) 10%, transparent);
	color: #fff;
	font-weight: 700;
	transition: background-color 0.2s, transform 0.2s var(--ease);
}
.socials--chips .socials__ic {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sc);
	color: #fff;
}
.socials--chips .socials__link--x .socials__ic {
	color: #0b0b0f;
}
.socials--chips .socials__ic .ic {
	width: 19px;
	height: 19px;
}
.socials--chips .socials__link:hover {
	background: color-mix(in srgb, var(--sc) 24%, transparent);
	transform: translateY(-2px);
}
.site-footer .socials--chips {
	display: flex;
	gap: 0.5rem;
}
.site-footer .socials--chips .socials__link {
	padding: 0.3rem 0.9rem 0.3rem 0.35rem;
}
.site-footer .socials--chips .socials__link:hover {
	color: #fff;
}

/* Große Kacheln über dem Footer */
.social-strip {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.social-strip__inner {
	display: grid;
	gap: 1.5rem;
}
.social-strip__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.4rem 2rem;
}
.social-strip__head h2 {
	margin: 0;
}
.social-strip__head p {
	margin: 0;
	color: var(--dim);
}
.socials--tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 0.85rem;
}
.socials--tiles .socials__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-height: 84px;
	padding: 1rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent);
	border-radius: var(--r-m);
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--sc) 26%, transparent), transparent 60%),
		rgba(var(--rgb-night2), 0.75);
	color: #fff;
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.socials--tiles .socials__link:hover {
	transform: translateY(-4px);
	border-color: var(--sc);
	box-shadow: 0 16px 40px color-mix(in srgb, var(--sc) 35%, transparent);
}
.socials--tiles .socials__ic {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--sc);
	color: #fff;
	box-shadow: 0 0 24px color-mix(in srgb, var(--sc) 55%, transparent);
}
.socials--tiles .socials__link--instagram .socials__ic {
	background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}
.socials--tiles .socials__link--x .socials__ic {
	background: #0b0b0f;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 20px rgba(255, 255, 255, 0.12);
}
.socials--tiles .socials__ic .ic {
	width: 31px;
	height: 31px;
	stroke-width: 1.9;
}
.socials__txt {
	display: grid;
	min-width: 0;
	line-height: 1.25;
}
.socials__txt strong {
	font-size: 1.1rem;
}
.socials__txt small {
	overflow: hidden;
	color: var(--dim);
	font-size: 0.86rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.socials__go {
	width: 20px;
	height: 20px;
	margin-left: auto;
	color: var(--sc);
	transition: transform 0.25s var(--ease);
}
.socials__link--x .socials__go {
	color: #fff;
}
.socials--tiles .socials__link:hover .socials__go {
	transform: translateX(4px);
}

/* Im mobilen Menü und in der Abschluss-Box */
.nav__extra .socials {
	margin-top: 1.25rem;
}
.pagecta__actions .socials--icons .socials__link {
	width: 52px;
	height: 52px;
}
.hero__actions .socials--icons {
	align-items: center;
}

@media (max-width: 520px) {
	.socials--tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}
	.socials--tiles .socials__link {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
		min-height: 0;
		padding: 0.9rem;
	}
	.socials__go {
		position: absolute;
		top: 1rem;
		right: 0.9rem;
	}
	.socials--tiles .socials__ic {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.socials__link,
	.socials__go,
	.areabar__back {
		transition: none;
	}
}
.world-inline .world-tile[aria-pressed="true"] .world-tile__txt strong::after {
	content: none;
}
@media (max-width: 520px) {
	.socials--tiles .socials__txt small {
		white-space: normal;
	}
}

/* ==========================================================================
   1.13 – Welten, Teil 2: Portal-Übergang, Begrüßung, Atmosphäre auf allen Seiten
   ========================================================================== */

/* Portal-Übergang (View Transitions): neue Welt öffnet sich als Kreis */
::view-transition-old(root),
::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

/* Begrüßung beim Betreten einer Welt */
.world-splash {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.35rem;
	padding: 1rem;
	text-align: center;
	pointer-events: none;
	background: radial-gradient(ellipse 60% 38% at 50% 50%, rgba(var(--rgb-night), 0.82), transparent 75%);
	animation: splashFade 2s var(--ease) both;
}
.world-splash__pre {
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(0.8rem, 1.6vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	animation: splashUp 2s var(--ease) both;
}
.world-splash__name {
	display: block;
	padding: 0.1em 0.15em 0.25em;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 9vw, 6.5rem);
	line-height: 1.15;
	background: var(--spectrum-x);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 24px rgba(var(--rgb-magenta), 0.55));
	animation: splashName 2s var(--ease) both;
}
.world-splash__sub {
	color: var(--dim);
	font-size: clamp(0.85rem, 1.8vw, 1.1rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	animation: splashUp 2s var(--ease) 0.08s both;
}
.world-splash--jungle .world-splash__name {
	background: linear-gradient(180deg, #ffe14d 0%, #a6e22e 45%, #2ee6b8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 22px rgba(166, 226, 46, 0.6));
}
.world-splash--gold .world-splash__name {
	background: linear-gradient(100deg, #b8860b 0%, #ffd34d 22%, #fff6d5 34%, #ffd34d 46%, #c98a0b 70%, #ffe9a8 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 26px rgba(255, 205, 87, 0.55));
	animation: splashName 2s var(--ease) both, shimmer 1.6s linear both;
}
.world-splash--tokyo .world-splash__name {
	background: none;
	color: transparent;
	-webkit-text-stroke: max(2px, 0.03em) #00f0ff;
	filter: drop-shadow(0 0 10px #00f0ff) drop-shadow(0 0 28px rgba(255, 43, 214, 0.8));
	animation: splashName 2s var(--ease) both, neonFlicker 2s steps(1) both;
}
.world-splash--tokyo .world-splash__sub {
	color: #ff2bd6;
	text-shadow: 0 0 12px rgba(255, 43, 214, 0.8);
}
@keyframes splashFade {
	0% { opacity: 0; }
	12%, 78% { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes splashName {
	0% { transform: scale(0.7); letter-spacing: 0.25em; opacity: 0; }
	18% { transform: scale(1.04); letter-spacing: 0.02em; opacity: 1; }
	28%, 80% { transform: scale(1); letter-spacing: 0.02em; opacity: 1; }
	100% { transform: scale(1.12); letter-spacing: 0.06em; opacity: 0; }
}
@keyframes splashUp {
	0% { transform: translateY(10px); opacity: 0; }
	20%, 80% { transform: none; opacity: 1; }
	100% { transform: translateY(-8px); opacity: 0; }
}
@keyframes shimmer {
	from { background-position: 100% 0; }
	to { background-position: -20% 0; }
}
@keyframes neonFlicker {
	0%, 9%, 13%, 100% { opacity: 1; }
	8%, 12%, 64% { opacity: 0.35; }
	65% { opacity: 1; }
}

/* Atmosphäre auf allen Seiten: eine Leinwand hinter dem Inhalt (assets/js/worldfx.js) */
.world-fx {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.world-fx__cv {
	display: block;
	width: 100%;
	height: 100%;
}

/* Dschungel: Blätterdach wiegt sich im Wind */
html[data-world="jungle"] .hero__sky::before,
html[data-world="jungle"] body:not(.hero-spectrum) .hero__sky::after {
	transform-origin: 0 0;
	animation: sway 7s ease-in-out infinite alternate;
}
html[data-world="jungle"] body:not(.hero-spectrum) .hero__sky::after {
	transform-origin: 100% 0;
	animation-duration: 8.5s;
	animation-delay: -3s;
}
@keyframes sway {
	from { rotate: -1.6deg; }
	to { rotate: 1.4deg; }
}

/* Gold-City: Glanz läuft über die Headline */
html[data-world="gold"]:not([data-mode="wild"]) .hero__line:last-child {
	background: linear-gradient(100deg, #fff 0%, #fff 40%, #fff6d5 46%, #ffd34d 50%, #fff6d5 54%, #fff 60%, #fff 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 0 30px rgba(255, 205, 87, 0.35));
	animation: shimmer 5s linear infinite;
}

/* Cyber-Tokio: Scanlines und kurzer Glitch in der Headline */
html[data-world="tokyo"] .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 4px);
	pointer-events: none;
}
html[data-world="tokyo"]:not([data-mode="wild"]) .hero__line:first-child {
	animation: glitch 6s steps(1) infinite;
}
@keyframes glitch {
	0%, 91%, 100% { text-shadow: none; transform: none; }
	92% { text-shadow: -3px 0 0 #00f0ff, 3px 0 0 #ff2bd6; transform: translateX(2px) skewX(-6deg); }
	94% { text-shadow: 3px 0 0 #00f0ff, -3px 0 0 #ff2bd6; transform: translateX(-3px); }
	96% { text-shadow: -1px 0 0 #00f0ff, 1px 0 0 #ff2bd6; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.world-fx::before,
	.world-fx::after,
	html[data-world] .hero__sky::before,
	html[data-world] .hero__sky::after,
	html[data-world="gold"] .hero__line:last-child,
	html[data-world="tokyo"] .hero__line:first-child {
		animation: none !important;
	}
	.world-splash {
		display: none;
	}
}

/* ==========================================================================
   1.14 – Bild-Icons für die Bereiche und gefüllte Social-Icons
   ========================================================================== */
.art {
	display: block;
	width: 100%;
	height: 100%;
}
.explore__icon,
.newsletter__icon {
	width: 4.5rem;
	height: 4.5rem;
	padding: 0;
	border-radius: 17px;
	background: none;
	box-shadow: 0 10px 28px rgba(var(--rgb-magenta), 0.28);
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.explore__card:hover .explore__icon {
	transform: translateY(-3px) rotate(-5deg) scale(1.06);
	box-shadow: 0 16px 36px rgba(var(--rgb-magenta), 0.42);
}
/* Details in den gefüllten Social-Icons nehmen die Kennfarbe auf */
.ic-d {
	fill: var(--ic-d, var(--night));
}
.ic-ds {
	fill: none;
	stroke: var(--ic-d, var(--night));
}
.socials__link {
	--ic-d: var(--sc);
}
.socials__link--x {
	--ic-d: #0b0b0f;
}
.socials--tiles .socials__link--instagram {
	--ic-d: #c13584;
}
.socials--icons .socials__link:hover {
	--ic-d: color-mix(in srgb, var(--sc) 55%, #000);
}
.socials--icons .socials__link--x:hover {
	--ic-d: #0b0b0f;
	color: #0b0b0f;
	background: #fff;
}
@media (prefers-reduced-motion: reduce) {
	.explore__icon {
		transition: none;
	}
}

/* ==========================================================================
   1.14.2 – Social-Icons als Illustrationen (Ape mit Sonnenbrille, Papierflieger, Sofortbild, Megafon)
   ========================================================================== */
.sart {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.socials__ic {
	position: relative;
	border-radius: 28%;
}
.socials--tiles .socials__ic,
.socials--tiles .socials__link--instagram .socials__ic,
.socials--tiles .socials__link--x .socials__ic {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: none;
	box-shadow: 0 10px 26px color-mix(in srgb, var(--sc) 50%, transparent);
	transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.socials--tiles .socials__link:hover .socials__ic {
	transform: rotate(-6deg) scale(1.08);
	box-shadow: 0 14px 34px color-mix(in srgb, var(--sc) 70%, transparent);
}
.socials--chips .socials__ic,
.socials--chips .socials__link--x .socials__ic {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: none;
}
.socials--icons .socials__link,
.socials--icons .socials__link:hover,
.socials--icons .socials__link--x:hover {
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: none;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--sc) 40%, transparent);
}
.socials--icons .socials__ic {
	width: 100%;
	height: 100%;
}
.socials--icons .socials__link:hover {
	transform: translateY(-4px) rotate(-4deg);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--sc) 65%, transparent);
}
.pagecta__actions .socials--icons .socials__link {
	width: 54px;
	height: 54px;
}

/* Kleine Animationen beim Drüberfahren */
.sart .sa-glint,
.sart .sa-plane,
.sart .sa-wave,
.sart .sa-bob {
	transform-box: fill-box;
	transform-origin: center;
}
.socials__link:hover .sa-glint {
	animation: saGlint 0.9s var(--ease);
}
.socials__link:hover .sa-bob {
	animation: saBob 0.7s var(--ease);
}
.socials__link:hover .sa-plane {
	animation: saFly 1.1s var(--ease);
}
.socials__link:hover .sa-flash {
	animation: saFlash 0.6s ease-out;
}
.socials__link:hover .sa-wave--1 {
	animation: saWave 0.9s ease-out infinite;
}
.socials__link:hover .sa-wave--2 {
	animation: saWave 0.9s ease-out 0.15s infinite;
}
@keyframes saGlint {
	0% { opacity: 0; transform: translateX(-8px); }
	40% { opacity: 1; }
	100% { opacity: 0.85; transform: none; }
}
@keyframes saBob {
	30% { transform: translateY(-3px) rotate(-4deg); }
	60% { transform: translateY(1px) rotate(3deg); }
}
@keyframes saFly {
	0% { transform: none; }
	45% { transform: translate(14px, -14px) scale(0.6); opacity: 0; }
	50% { transform: translate(-14px, 14px) scale(0.6); opacity: 0; }
	100% { transform: none; opacity: 1; }
}
@keyframes saFlash {
	0% { fill-opacity: 0; }
	15% { fill-opacity: 0.95; }
	100% { fill-opacity: 0; }
}
@keyframes saWave {
	0% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(1.15) translateX(1px); }
	100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.socials__link:hover .sart * {
		animation: none !important;
	}
}

/* ==========================================================================
   1.14.2 – Academy-Bilder passen sich dem Stil und der Welt an
   ========================================================================== */
.phone {
	position: relative;
	isolation: isolate;
	border: 3px solid transparent;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, var(--cyan), var(--magenta) 50%, var(--lemon)) border-box;
}
/* Farbton der Welt über dem Bild */
.phone::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 52%, rgba(var(--rgb-night), 0.92) 100%);
}
/* Glanz, der beim Drüberfahren über das Bild läuft */
.phone::after {
	content: "";
	position: absolute;
	inset: -20%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
	transform: translateX(-70%);
	transition: transform 0s;
}
.course:hover .phone::after {
	transform: translateX(70%);
	transition: transform 0.9s var(--ease);
}
.phone__img {
	transition: transform 0.6s var(--ease), filter 0.6s;
}
.course:hover .phone__img {
	transform: scale(1.05);
}
.phone__level {
	position: absolute;
	left: 50%;
	bottom: 0.9rem;
	z-index: 3;
	padding: 0.35rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(var(--rgb-night), 0.7);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transform: translateX(-50%);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.course:nth-child(1) .phone__level { box-shadow: 0 0 16px rgba(var(--rgb-cyan), 0.45); }
.course:nth-child(2) .phone__level { box-shadow: 0 0 16px rgba(var(--rgb-magenta), 0.45); }
.course:nth-child(3) .phone__level { box-shadow: 0 0 16px rgba(var(--rgb-lemon), 0.45); }

/* Welten färben die Bilder dezent ein */
html[data-world="jungle"] .phone__img {
	filter: hue-rotate(-75deg) saturate(1.05);
}
html[data-world="gold"] .phone__img {
	filter: sepia(0.85) saturate(1.9) hue-rotate(-8deg) brightness(1.06);
}
html[data-world="tokyo"] .phone__img {
	filter: hue-rotate(-20deg) saturate(1.25) contrast(1.05);
}
@media (prefers-reduced-motion: reduce) {
	.phone::after,
	.phone__img {
		transition: none;
	}
}

/* 1.14.3 – Social-Knöpfe eckiger mit leichter Rundung statt Pillenform */
.socials--chips .socials__link {
	border-radius: 12px;
	padding-right: 1.05rem;
}
.socials--chips .socials__ic,
.socials--chips .socials__link--x .socials__ic {
	border-radius: 7px;
}
.socials--tiles .socials__link {
	border-radius: 14px;
}
.socials--tiles .socials__ic,
.socials--tiles .socials__link--instagram .socials__ic,
.socials--tiles .socials__link--x .socials__ic {
	border-radius: 12px;
}
.socials--icons .socials__link,
.socials--icons .socials__link:hover,
.socials--icons .socials__link--x:hover {
	border-radius: 10px;
}

/* ==========================================================================
   1.15.1 – Footer-Kulisse je Welt statt Neon-Raster
   Space: Planet-Horizont mit Mond · Dschungel: Blätterhügel, Palmen, Glühwürmchen ·
   Gold-City: goldene Skyline mit Suchscheinwerfern · Cyber-Tokio: Neon-Skyline mit nasser Straße
   ========================================================================== */
.site-footer::before {
	height: min(60%, 340px);
	background: url("../img/worlds/footer-space.svg") center bottom / cover no-repeat;
	-webkit-mask: linear-gradient(to top, #000 60%, transparent 100%);
	-webkit-mask-composite: source-over;
	mask: linear-gradient(to top, #000 60%, transparent 100%);
	mask-composite: add;
	opacity: 0.85;
}
html[data-world="jungle"] .site-footer::before {
	background-image: url("../img/worlds/footer-jungle.svg");
}
html[data-world="gold"] .site-footer::before {
	background-image: url("../img/worlds/footer-gold.svg");
}
html[data-world="tokyo"] .site-footer::before {
	background-image: url("../img/worlds/footer-tokyo.svg");
}
/* Text unten bleibt gut lesbar */
.site-footer__risk,
.site-footer__bottom p {
	text-shadow: 0 1px 8px rgba(var(--rgb-night), 0.9);
}
/* Kulisse sitzt ganz unten, unter dem Text */
.site-footer {
	padding-bottom: clamp(8.5rem, 17vw, 13.5rem);
}
.site-footer::before {
	height: clamp(230px, 26vw, 340px);
	-webkit-mask: linear-gradient(to top, #000 55%, transparent 100%);
	mask: linear-gradient(to top, #000 55%, transparent 100%);
}

/* ==========================================================================
   1.15.2 – Welten-Knopf: zeigt die aktuelle Welt, auch auf dem Handy oben im Header
   ========================================================================== */
.world-btn {
	position: relative;
	gap: 0.5rem;
	padding: 0 0.95rem 0 0.35rem;
}
.world-btn__arts {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.35), 0 0 14px rgba(var(--rgb-cyan), 0.45);
	transition: transform 0.5s var(--ease);
}
.world-btn:hover .world-btn__arts,
.world-btn[aria-expanded="true"] .world-btn__arts {
	transform: rotate(-12deg) scale(1.08);
}
.world-btn__art {
	display: none;
}
.world-btn__art .world-art {
	width: 32px;
	height: 32px;
}
html:not([data-world]) .world-btn__art--space,
html[data-world="space"] .world-btn__art--space,
html[data-world="jungle"] .world-btn__art--jungle,
html[data-world="gold"] .world-btn__art--gold,
html[data-world="tokyo"] .world-btn__art--tokyo {
	display: block;
}
.world-btn__new {
	position: absolute;
	top: 2px;
	left: 30px;
	width: 10px;
	height: 10px;
	border: 2px solid var(--bg);
	border-radius: 50%;
	background: var(--lemon);
	box-shadow: 0 0 10px var(--lemon);
	animation: newPulse 1.6s ease-in-out infinite;
}
.world-btn__new[hidden] {
	display: none;
}
@keyframes newPulse {
	50% { transform: scale(1.35); box-shadow: 0 0 18px var(--lemon); }
}
@media (max-width: 1100px) {
	.world-btn {
		width: 46px;
		padding: 0;
	}
	.world-btn__arts,
	.world-btn__art .world-art {
		width: 34px;
		height: 34px;
	}
	.world-btn__new {
		left: 32px;
	}
}
/* Handy: Knopf bleibt oben im Header, die Auswahl klappt über die volle Breite auf */
@media (max-width: 520px) {
	.world-switch {
		display: block;
	}
	.site-header__actions {
		gap: 0.5rem;
	}
	.world-btn {
		width: 42px;
		min-height: 42px;
		border-width: 1.5px;
	}
	.world-btn__arts,
	.world-btn__art .world-art {
		width: 30px;
		height: 30px;
	}
	.world-btn__new {
		left: 28px;
	}
	.world-pop {
		position: fixed;
		top: calc(var(--header-h) + 0.4rem);
		left: 0.75rem;
		right: 0.75rem;
		width: auto;
		max-height: calc(100svh - var(--header-h) - 1.5rem);
		overflow-y: auto;
	}
}
@media (max-width: 380px) {
	.brand__name {
		font-size: 0.74rem;
	}
	.site-header__actions {
		gap: 0.4rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.world-btn__new {
		animation: none;
	}
}

/* ==========================================================================
   1.16 – Wirtschaftskalender (Tools-Seite) und News-Warnung in der Session-Uhr
   ========================================================================== */
.cal {
	margin-top: clamp(1.25rem, 3vw, 2rem);
}
.cal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 2rem;
}
.cal__head .h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.cal__head .h3 .ic {
	width: 1.1em;
	height: 1.1em;
	color: var(--cyan);
}
.cal__head .panel__text {
	max-width: 62ch;
}
.cal__next {
	display: grid;
	gap: 0.15rem;
	min-width: min(100%, 290px);
	padding: 0.85rem 1.1rem;
	border: 1px solid rgba(255, 46, 99, 0.45);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(255, 46, 99, 0.16), rgba(var(--rgb-night), 0.4));
}
.cal__next.is-soon {
	border-color: #ff2e63;
	box-shadow: 0 0 0 1px #ff2e63, 0 0 30px rgba(255, 46, 99, 0.45);
	animation: calPulse 1.6s ease-in-out infinite;
}
@keyframes calPulse {
	50% { box-shadow: 0 0 0 1px #ff2e63, 0 0 46px rgba(255, 46, 99, 0.7); }
}
.cal__next-label {
	color: var(--dim);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.cal__next-name {
	font-size: 1.02rem;
	line-height: 1.3;
}
.cal__next-when {
	color: var(--dim);
	font-size: 0.88rem;
}
.cal__next-cd {
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: #ff5c86;
	font-variant-numeric: tabular-nums;
}
.cal__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 1.25rem 0 0.5rem;
}
.cal__seg .seg__btn[aria-pressed="true"] {
	background: var(--spectrum-x);
	color: var(--night);
}
.cal__curs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.cal__cur-btn {
	min-height: 36px;
	padding: 0 0.7rem;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	background: transparent;
	color: var(--dim);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.cal__cur-btn[aria-pressed="true"] {
	border-color: rgba(var(--rgb-cyan), 0.7);
	background: rgba(var(--rgb-cyan), 0.14);
	color: #fff;
}
.cal__past {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--dim);
	font-size: 0.9rem;
	cursor: pointer;
}
.cal__past input {
	width: 18px;
	height: 18px;
	accent-color: var(--cyan);
}
.cal__list {
	max-height: 560px;
	margin-top: 0.5rem;
	padding-right: 0.25rem;
	overflow-y: auto;
	scrollbar-width: thin;
}
.cal__msg {
	margin: 1.25rem 0;
	color: var(--dim);
}
.cal__day {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 1rem 0 0.25rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--line);
	background: var(--surface);
	color: var(--dim);
	font-size: 0.85rem;
	font-weight: 700;
}
.cal__day strong {
	color: #fff;
}
.cal__day.is-today strong {
	color: var(--cyan);
}
.cal__rows {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cal__row {
	display: grid;
	grid-template-columns: 3.4rem 2.2rem 3.2rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.6rem 0.6rem 0.75rem;
	border-left: 3px solid transparent;
	border-radius: 8px;
	transition: background-color 0.2s;
}
.cal__row + .cal__row {
	margin-top: 2px;
}
.cal__row:hover {
	background: rgba(255, 255, 255, 0.04);
}
.cal__row--high { border-left-color: #ff2e63; background: rgba(255, 46, 99, 0.06); }
.cal__row--medium { border-left-color: #ff9f43; }
.cal__row--low { border-left-color: #f4e04d; }
.cal__row--holiday { border-left-color: rgba(255, 255, 255, 0.3); }
.cal__row.is-past {
	opacity: 0.45;
}
.cal__row.is-next {
	background: rgba(255, 46, 99, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 46, 99, 0.5);
}
.cal__row.is-soon {
	animation: calPulse 1.6s ease-in-out infinite;
}
.cal__time {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}
.cal__imp {
	display: inline-flex;
	gap: 2px;
	align-items: flex-end;
	height: 16px;
}
.cal__imp i {
	display: block;
	width: 5px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.16);
}
.cal__imp i:nth-child(1) { height: 7px; }
.cal__imp i:nth-child(2) { height: 11px; }
.cal__imp i:nth-child(3) { height: 16px; }
.cal__row--low .cal__imp i:nth-child(1) { background: #f4e04d; }
.cal__row--medium .cal__imp i:nth-child(-n+2) { background: #ff9f43; }
.cal__row--high .cal__imp i { background: #ff2e63; box-shadow: 0 0 6px rgba(255, 46, 99, 0.6); }
.cal__cur {
	padding: 0.15rem 0;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
}
.cal__title {
	display: grid;
	min-width: 0;
	line-height: 1.3;
}
.cal__title strong {
	overflow: hidden;
	font-size: 0.98rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cal__title small {
	color: var(--dim);
	font-size: 0.82rem;
}
.cal__tag {
	justify-self: start;
	margin-top: 0.2rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: #ff2e63;
	color: #fff;
	font-size: 0.7rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.cal__vals {
	display: flex;
	gap: 0.9rem;
	color: var(--dim);
	font-size: 0.82rem;
	white-space: nowrap;
}
.cal__vals b {
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.cal__src {
	margin: 0.85rem 0 0;
	color: var(--dim);
	font-size: 0.78rem;
}
/* Warnung in der Session-Uhr */
.clock__news {
	margin: 0.9rem 0 0;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(255, 159, 67, 0.6);
	border-radius: 10px;
	background: rgba(255, 159, 67, 0.12);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
}
.clock__news.is-live {
	border-color: #ff2e63;
	background: rgba(255, 46, 99, 0.16);
	animation: calPulse 1.6s ease-in-out infinite;
}
.clock__news[hidden] {
	display: none;
}
@media (max-width: 760px) {
	.cal__row {
		grid-template-columns: 3.1rem 1.9rem minmax(0, 1fr);
		grid-template-areas: "time imp title" "cur cur title" ". . vals";
		gap: 0.15rem 0.6rem;
	}
	.cal__time { grid-area: time; }
	.cal__imp { grid-area: imp; }
	.cal__cur { grid-area: cur; justify-self: start; padding: 0.1rem 0.4rem; }
	.cal__title { grid-area: title; }
	.cal__title strong { white-space: normal; }
	.cal__vals { grid-area: vals; flex-wrap: wrap; gap: 0.2rem 0.8rem; }
	.cal__list { max-height: 520px; }
	.cal__next { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.cal__next.is-soon,
	.cal__row.is-soon,
	.clock__news.is-live {
		animation: none;
	}
}

/* ==========================================================================
   1.16.2 – Footer: Social-Chips intelligent anordnen
   Breiter Desktop: Slogan | alle Chips in einer Reihe | Rechtliches.
   Mittlere Breite: Slogan + Chips links, Rechtliches rechts daneben.
   Wird es zu eng, ordnen sich die Chips sauber 2 × 2 (ganz schmal: untereinander).
   ========================================================================== */
.site-footer__grid {
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas: "slogan social legal";
	column-gap: clamp(1.5rem, 3vw, 3rem);
	align-items: center;
}
.site-footer__slogan {
	grid-area: slogan;
	max-width: 34ch;
}
.site-footer__social {
	grid-area: social;
}
.site-footer__grid > .legal {
	grid-area: legal;
}
.site-footer .socials--chips {
	flex-wrap: nowrap;
}
.site-footer .socials--chips .socials__link {
	white-space: nowrap;
}
@media (max-width: 1100px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"slogan legal"
			"social legal";
		row-gap: 1.25rem;
		align-items: start;
	}
	.site-footer__slogan {
		max-width: none;
	}
	.site-footer__social {
		container: tapez-foot-social / inline-size;
	}
	.site-footer .socials--chips {
		flex-wrap: wrap;
	}
}
@media (max-width: 760px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"slogan"
			"social"
			"legal";
	}
}
@container tapez-foot-social (max-width: 33.5rem) {
	.site-footer .socials--chips {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.site-footer .socials--chips .socials__link {
		display: flex;
		width: 100%;
	}
}
@container tapez-foot-social (max-width: 18rem) {
	.site-footer .socials--chips {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 1.16.3 – Footer ohne Social-Knöpfe (im Customizer ausgeschaltet) */
.site-footer__grid--nosocial {
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "slogan legal";
}
@media (max-width: 760px) {
	.site-footer__grid--nosocial {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"slogan"
			"legal";
	}
}

/* 1.16.4 – Kontakt: eine Discord-Kachel statt aller Kanäle */
.socials--tiles.contact__discord {
	grid-template-columns: minmax(0, 23rem);
	margin-top: 1.75rem;
}
@media (max-width: 520px) {
	.socials--tiles.contact__discord {
		grid-template-columns: minmax(0, 1fr);
	}
	.contact__discord .socials__link {
		flex-direction: row;
		align-items: center;
		gap: 0.85rem;
		padding: 0.85rem 1rem;
	}
	.contact__discord .socials__go {
		position: static;
	}
}

/* ==========================================================================
   1.17 – Fortschritt mitnehmen (Code/QR) und Discord-Verknüpfung
   ========================================================================== */
.sync-hint {
	margin: 0.6rem 0 0;
	color: var(--dim);
	font-size: 0.92rem;
}
.sync-hint a {
	color: var(--cyan);
	font-weight: 700;
	text-decoration: none;
}
.sync-hint a:hover {
	text-decoration: underline;
}
.sync {
	margin-bottom: 1.75rem;
	scroll-margin-top: 140px;
}
.sync__head .h3 {
	margin: 0 0 0.35rem;
}
.sync__head .panel__text {
	max-width: 62ch;
	margin: 0;
}
.sync__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 1.1rem;
}
.sync__box {
	display: grid;
	gap: 0.6rem;
	align-content: start;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: rgba(255, 255, 255, 0.02);
}
.sync__box > .btn {
	justify-self: start;
}
.sync__box label,
.sync__label {
	margin: 0;
	font-weight: 700;
}
.sync__code {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
}
.sync__code[hidden] {
	display: none;
}
.sync__qr svg {
	display: block;
	width: 150px;
	height: 150px;
	border-radius: 10px;
}
.sync__big {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 4vw, 2rem);
	letter-spacing: 0.06em;
	color: var(--lemon);
	user-select: all;
}
.sync__small {
	margin: 0;
	color: var(--dim);
	font-size: 0.86rem;
}
.sync__enter input {
	width: 100%;
	min-height: 46px;
	padding: 0.6rem 0.85rem;
	border: 2px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sync__enter input:focus {
	border-color: var(--cyan);
	outline: none;
}
.sync__found {
	margin: 0;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	background: rgba(var(--rgb-cyan), 0.12);
	color: var(--text);
	font-size: 0.9rem;
}
.sync__found[hidden] {
	display: none;
}
.sync__dtitle {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
}
.sync__dtitle svg {
	width: 36px;
	height: 36px;
	flex: none;
}
.sync__discord {
	border-color: rgba(88, 101, 242, 0.5);
	background: rgba(88, 101, 242, 0.08);
}
.sync.is-linked .sync__discord {
	border-color: rgba(var(--rgb-cyan), 0.6);
}
.sync__linked {
	display: grid;
	gap: 0.6rem;
}
.sync__linked[hidden] {
	display: none;
}
.sync__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.9rem;
}
.sync__forget {
	padding: 0;
	border: 0;
	background: none;
	color: var(--dim);
	font: inherit;
	font-size: 0.84rem;
	text-decoration: underline;
	cursor: pointer;
}
.sync__forget:hover {
	color: var(--text);
}
.sync__msg {
	min-height: 1.4em;
	margin: 0.8rem 0 0;
	color: var(--cyan);
	font-weight: 700;
}
.sync__msg:empty {
	min-height: 0;
	margin: 0;
}
.sync__msg.is-bad {
	color: #ff7a9a;
}

/* 1.17 – Newsletter-Überschrift: etwas kleiner, „Apez-Newsletter“ wird nicht mehr getrennt
   und ragt auf dem Desktop nicht mehr in das Formular hinein */
.newsletter__title {
	font-size: clamp(1.9rem, 3.1vw, 2.4rem);
	line-height: 1.28;
	margin-bottom: 1rem;
}
.newsletter__title .nobr {
	white-space: nowrap;
}
@media (max-width: 960px) {
	.newsletter__title {
		font-size: clamp(1.35rem, 6vw, 2.2rem);
	}
}

/* ==========================================================================
   1.17 – Plattformen als Kacheln + Seite „Alle Links“
   ========================================================================== */
.platforms__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-bottom: 1.25rem;
}
.platforms__head .platforms__title {
	margin: 0 0 0.3rem;
	color: var(--text);
	font-size: clamp(1.15rem, 2vw, 1.35rem);
}
.platforms__text {
	margin: 0;
	color: var(--dim);
}
.platforms__all .ic {
	width: 1.1em;
	height: 1.1em;
}

.lgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 0.85rem;
	margin: 0 0 2.25rem;
	padding: 0;
	list-style: none;
}
.lgrid--one {
	grid-template-columns: minmax(0, 1fr);
}
.lgrid--platforms {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}
.lgrid--platforms .lgrid__wide {
	grid-column: span 2;
}
.ltile {
	--sc: var(--lilac);
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	height: 100%;
	min-height: 82px;
	padding: 0.85rem 1rem;
	border: 1px solid color-mix(in srgb, var(--sc) 35%, var(--line));
	border-radius: var(--r-m);
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--sc) 18%, transparent), transparent 60%),
		rgba(var(--rgb-night2), 0.7);
	color: var(--text);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.ltile:hover,
.ltile:focus-visible {
	transform: translateY(-3px);
	border-color: var(--sc);
	box-shadow: 0 14px 36px color-mix(in srgb, var(--sc) 30%, transparent);
	color: var(--text);
}
.ltile__ic {
	display: block;
	flex: none;
	width: 48px;
	height: 48px;
}
.ltile__ic svg {
	display: block;
	width: 100%;
	height: 100%;
}
.ltile__txt {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}
.ltile__txt strong {
	font-size: 1.02rem;
	line-height: 1.25;
}
.ltile__txt small {
	color: var(--dim);
	font-size: 0.86rem;
	line-height: 1.4;
}
.ltile__go {
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	margin-left: auto;
	opacity: 0.55;
	transition: opacity 0.2s, transform 0.25s var(--ease);
}
.ltile:hover .ltile__go {
	opacity: 1;
	transform: translate(2px, -2px);
}
.ltile__tag {
	justify-self: start;
	margin-bottom: 0.15rem;
	padding: 0.12rem 0.5rem;
	border-radius: 6px;
	background: var(--lemon);
	color: var(--night);
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
/* Albrecht Edge hervorheben */
.ltile--edge {
	--sc: var(--lemon);
	min-height: 104px;
	padding: 1rem 1.25rem;
	border: 1px solid transparent;
	background:
		radial-gradient(90% 160% at 0% 0%, rgba(var(--rgb-lemon), 0.16), transparent 60%),
		linear-gradient(var(--surface), var(--surface)) padding-box,
		linear-gradient(120deg, rgba(var(--rgb-cyan), 0.7), rgba(var(--rgb-magenta), 0.7), rgba(var(--rgb-lemon), 0.8)) border-box;
}
.ltile--edge .ltile__ic {
	width: 60px;
	height: 60px;
}
.ltile--edge .ltile__txt strong {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 400;
}
.ltile--edge .ltile__txt small {
	font-size: 0.92rem;
}

/* Links-Seite */
.linkspage__lead {
	max-width: 60ch;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.linkspage__group {
	margin: 0 0 1rem;
}
.linkspage .ltile--edge {
	min-height: 112px;
}

@media (max-width: 1100px) {
	.lgrid--platforms {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.lgrid--platforms .lgrid__wide {
		grid-column: 1 / -1;
	}
}
@media (max-width: 760px) {
	.lgrid--platforms {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lgrid--platforms .ltile {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
		padding: 0.9rem;
	}
	.lgrid--platforms .ltile--edge {
		flex-direction: row;
		align-items: center;
	}
	.lgrid--platforms .ltile__go {
		position: absolute;
		top: 0.9rem;
		right: 0.9rem;
	}
	.lgrid--platforms .ltile--edge .ltile__go {
		position: static;
	}
	.ltile__ic {
		width: 44px;
		height: 44px;
	}
}
@media (max-width: 360px) {
	.lgrid--platforms {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ltile,
	.ltile__go {
		transition: none;
	}
}
/* Links-Seite: Spalten je nach Anzahl der Kacheln */
.lgrid--fit {
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
@media (max-width: 1100px) {
	.lgrid--fit {
		grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.lgrid--fit {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (min-width: 1101px) {
	/* Fünf Kacheln nebeneinander: Symbol oben, Text darunter */
	.lgrid--fit[style*="--cols:5"] .ltile {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
		padding: 1rem;
	}
	.lgrid--fit[style*="--cols:5"] .ltile__go {
		position: absolute;
		top: 1rem;
		right: 1rem;
	}
}

/* 1.18.1 – Rechtstexte: Tabellen scrollen auf dem Handy statt zu quetschen */
.prose .wp-block-table {
	margin: 1.25rem 0;
	overflow-x: auto;
}
.prose .wp-block-table table {
	min-width: 520px;
}
.prose th {
	font-weight: 700;
}
@media (max-width: 600px) {
	.prose table { font-size: 0.92rem; }
	.prose th,
	.prose td { padding: 0.5rem 0.45rem; }
}
