/* ==========================================================================
   BIKE REBELS – Stil der Website
   Farben aus dem Spiel: MenuSkin.cs (Ink, Panel, Card, Accent, Pink),
   HudSkin.cs (Live = Cyan, Boost = Pink), PosterArt.cs (Navy, Night, Orange).
   Schrift: Montserrat wie im Spiel, dort ebenfalls künstlich verfettet und
   schräg gestellt (Headline.cs).
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #121a29;       /* MenuSkin.Ink    */
	--navy: #0d1224;      /* PosterArt.Navy  */
	--night: #050508;     /* PosterArt.Night */
	--panel: #33425c;     /* MenuSkin.Panel  */
	--card: #212e45;      /* MenuSkin.Card   */
	--yellow: #ffc729;    /* MenuSkin.Accent */
	--gold-top: #ffe64d;
	--gold-bottom: #ff9e0f;
	--pink: #fa298f;      /* MenuSkin.Pink   */
	--cyan: #29dbff;      /* HudSkin.Live    */
	--orange: #ff7314;    /* PosterArt.Orange */
	--red: #db1a1f;       /* PosterArt.Red   */
	--bright: #f7faff;    /* MenuSkin.Bright */
	--muted: #c7d6eb;     /* MenuSkin.Muted  */
	--dirt: #6b4a2e;
	--dirt-dark: #3e2a1a;

	--radius: 14px;
	--gutter: 16px;
	--max: 1180px;
	--font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

/* -------------------------------------------------------------- Grundlagen */

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
	margin: 0;
	font-family: var(--font);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--bright);
	background: var(--navy);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--cyan); }
a:hover { color: var(--yellow); }

/* Sprachumschaltung: html[lang] entscheidet, welche Hälfte sichtbar ist. */
html[lang="de"] .en, html[lang="en"] .de { display: none !important; }

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

.sr-only {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* -------------------------------------------------------- Überschriften */
/* Wie Headline.cs: fett, schräg, weiß mit dunklem Umriss und Tiefe nach
   rechts unten, darunter der pinke Blitzstrich. */

.headline {
	position: relative;
	z-index: 0;               /* eigener Stapel, damit der Strich nicht hinter dem Abschnitt verschwindet */
	display: inline-block;
	margin: 0 0 2rem;
	font-weight: 900;          /* nur Medium vorhanden -> Browser verfettet */
	font-style: italic;        /* -> Browser neigt, wie im Spiel */
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.05;
	font-size: clamp(2rem, 7vw, 3.6rem);
	color: #fff;
	-webkit-text-stroke: 1px #fff;
	text-shadow:
		-2px -2px 0 var(--ink), 2px -2px 0 var(--ink),
		-2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
		0 3px 0 var(--ink), 3px 0 0 var(--ink),
		4px 6px 0 #080d1a, 5px 7px 0 #080d1a;
}
.headline.gold { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
/* Der Blitzstrich: ein gezeichneter Zacken mit dunklem Umriss, UNTER der
   Schrift statt durch sie hindurch - so hebt er sich von jedem Grund ab. */
.headline::after {
	content: "";
	position: absolute;
	left: -0.1em; bottom: -0.55em;
	width: min(100%, 6.5em);
	height: max(0.7em, 18px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28' preserveAspectRatio='none'%3E%3Cpath d='M2 16 L84 8 L78 13 L168 4 L162 9 L238 1 L238 7 L170 17 L176 12 L88 22 L94 17 L2 26 Z' fill='%23fa298f' stroke='%23121a29' stroke-width='2.5' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	z-index: -1;
}

.kicker {
	display: inline-block;
	margin-bottom: 0.6rem;
	padding: 0.2rem 0.8rem;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	color: var(--ink);
	background: var(--cyan);
	transform: skewX(-12deg);
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 42rem; }

/* ---------------------------------------------------------------- Knöpfe */

.btn {
	--face: var(--yellow);
	--text: var(--ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 60px;
	padding: 0.6rem 1.5rem 0.6rem 1.1rem;
	font: inherit;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--text);
	background: var(--face);
	border: 3px solid var(--ink);
	border-radius: 12px;
	box-shadow: 0 6px 0 var(--ink), 0 10px 24px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transform: skewX(-8deg);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn > * { transform: skewX(8deg); }
.btn:hover { color: var(--text); transform: skewX(-8deg) translateY(-2px) rotate(-1deg); }
.btn:active { transform: skewX(-8deg) translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.btn svg { width: 30px; height: 30px; flex: none; }
.btn small { display: block; font-size: 0.68rem; letter-spacing: 0.06em; font-weight: 700; opacity: 0.8; }
.btn strong { display: block; font-size: 1.25rem; line-height: 1.05; }
.btn-ghost { --face: var(--card); --text: var(--bright); border-color: var(--panel); box-shadow: 0 6px 0 #080d1a; }
.btn[aria-disabled="true"] { cursor: default; opacity: 0.85; }
.btn[aria-disabled="true"]:hover { transform: skewX(-8deg); }
.btn .soon {
	position: absolute; top: -12px; right: -10px;
	padding: 0.1rem 0.55rem;
	font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em;
	color: #fff; background: var(--pink);
	border: 2px solid var(--ink); border-radius: 8px;
	transform: rotate(8deg);
}

/* ------------------------------------------------------------- Kopfzeile */

.topbar {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	height: 60px; padding: 0 var(--gutter);
	background: rgba(13, 18, 36, 0.0);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}
.topbar.solid { background: rgba(13, 18, 36, 0.92); box-shadow: 0 2px 0 var(--pink); backdrop-filter: blur(6px); }
.topbar .mini-logo { height: 30px; width: auto; opacity: 0; transition: opacity 0.25s; }
.topbar.solid .mini-logo { opacity: 1; }
.topbar nav { display: none; }
.topbar nav a {
	color: var(--bright); text-decoration: none;
	font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 0.9rem;
	padding: 0.3rem 0.6rem;
}
.topbar nav a:hover { color: var(--yellow); }
.top-right { display: flex; align-items: center; gap: 0.5rem; }

.lang {
	display: inline-flex; border: 2px solid var(--panel); border-radius: 10px; overflow: hidden;
	transform: skewX(-10deg);
}
.lang button {
	font: inherit; font-weight: 900; font-size: 0.85rem;
	padding: 0.3rem 0.7rem; min-height: 36px;
	color: var(--muted); background: transparent; border: 0; cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--yellow); }

.menu-btn {
	width: 44px; height: 44px; border: 2px solid var(--panel); border-radius: 10px;
	background: var(--card); color: var(--bright); cursor: pointer;
	display: grid; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 899px) {
	.topbar nav.open {
		display: flex; flex-direction: column;
		position: absolute; top: 60px; left: 0; right: 0;
		padding: 0.5rem var(--gutter) 1rem;
		background: rgba(13, 18, 36, 0.97);
		border-bottom: 3px solid var(--pink);
	}
	.topbar nav.open a { padding: 0.7rem 0; font-size: 1.1rem; }
}
@media (min-width: 900px) {
	.topbar nav { display: flex; gap: 0.2rem; }
	.menu-btn { display: none; }
}

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

.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	place-items: center;
	padding: 90px var(--gutter) 150px;
	overflow: hidden;
	background: radial-gradient(ellipse at 50% 35%, #24407f 0%, #172a5a 35%, #0d1a3a 70%, var(--navy) 100%);
	isolation: isolate;
}
.hero .layer { position: absolute; left: 0; right: 0; pointer-events: none; will-change: translate; }
.hero .stars {
	inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, #fff8 50%, transparent 51%),
		radial-gradient(1px 1px at 32% 8%, #fff7 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 68% 14%, #fff8 50%, transparent 51%),
		radial-gradient(1px 1px at 84% 26%, #fff6 50%, transparent 51%),
		radial-gradient(1px 1px at 50% 22%, #fff5 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 92% 6%, #fff8 50%, transparent 51%);
}
.hero .mountains {
	bottom: 40px; height: 46vh; min-height: 220px;
	background: url("../img/berge.jpg") center bottom / cover no-repeat;
	background-image: image-set(url("../img/berge.webp") type("image/webp"), url("../img/berge.jpg") type("image/jpeg"));
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
}
/* Erdhügel vorne – gezeichnet, keine Bilddatei. */
.hero .dirt {
	bottom: -2px; height: 180px;
	background:
		repeating-linear-gradient(-30deg, transparent 0 22px, rgba(0,0,0,0.08) 22px 26px),
		linear-gradient(to bottom, var(--dirt) 0%, var(--dirt-dark) 100%);
	clip-path: polygon(0 55%, 10% 48%, 22% 58%, 35% 40%, 46% 52%, 58% 32%, 63% 34%, 70% 54%, 82% 44%, 92% 56%, 100% 46%, 100% 100%, 0 100%);
}
.hero .dirt::before {   /* Grasnarbe */
	content: ""; position: absolute; inset: 0;
	background: #3f7a32;
	clip-path: polygon(0 55%, 10% 48%, 22% 58%, 35% 40%, 46% 52%, 58% 32%, 63% 34%, 70% 54%, 82% 44%, 92% 56%, 100% 46%, 100% 52%, 92% 62%, 82% 50%, 70% 60%, 63% 40%, 58% 38%, 46% 58%, 35% 46%, 22% 64%, 10% 54%, 0 61%);
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.hero-inner { position: relative; z-index: 3; text-align: center; max-width: 900px; }
.hero-logo {
	width: min(92vw, 760px); margin: 0 auto;
	/* Dunkler Umriss rundherum - auch um den pinken Strich, der im Bild keinen
	   hat und sonst am Navy-Grund ausfranst -, dann Tiefe nach rechts unten. */
	filter:
		drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink))
		drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink))
		drop-shadow(4px 6px 0 #080d1a);
	animation: logo-in 0.8s cubic-bezier(.2,1.6,.4,1) both;
}
.claim {
	margin: 1.2rem auto 0.4rem;
	font-weight: 900; font-style: italic; text-transform: uppercase;
	font-size: clamp(1.25rem, 5vw, 2rem); line-height: 1.15;
	text-shadow: 0 3px 0 var(--ink);
}
.claim .hl { color: var(--yellow); }
.subclaim { margin: 0 auto 1.8rem; color: var(--muted); max-width: 34rem; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 1rem; }

/* Die Aufkleber ploppen beim Laden rein und bleiben beim Scrollen etwas
   zurück (Parallax). Die Parallax läuft über eine Scroll-Timeline im
   Browser selbst - ohne JavaScript, deshalb ruckelfrei. Browser ohne
   Scroll-Timeline (z. B. Firefox) zeigen sie einfach still. */
.hero .float-sticker {
	position: absolute; z-index: 3; width: clamp(70px, 16vw, 140px);
	filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45));
	rotate: var(--r);
	animation: sticker-in 0.6s cubic-bezier(.2,1.8,.4,1) 0.35s both;
}
.float-sticker.s1 { top: 14%; left: 3%; --drift: 38vh; --spin: -10deg; }
.float-sticker.s2 { top: 20%; right: 3%; --drift: 30vh; --spin: 12deg; animation-delay: 0.5s; }
.float-sticker.s3 { bottom: 120px; left: 6%; --drift: 18vh; --spin: 8deg; animation-delay: 0.65s; }
@media (max-width: 599px) {
	.float-sticker.s1 { top: 70px; left: -8px; }
	.float-sticker.s2 { top: 76px; right: -8px; }
	.float-sticker.s3 { display: none; }
}
.hero .stars { --drift: 20vh; }
.hero .mountains { --drift: 26vh; }
@supports (animation-timeline: scroll()) {
	.hero .float-sticker {
		animation: sticker-in 0.6s cubic-bezier(.2,1.8,.4,1) 0.35s both, drift linear both;
		animation-timeline: auto, scroll(root);
		animation-range: normal, 0 100vh;
	}
	.float-sticker.s2 { animation-delay: 0.5s, 0s; }
	.float-sticker.s3 { animation-delay: 0.65s, 0s; }
	.hero .stars, .hero .mountains {
		animation: drift linear both;
		animation-timeline: scroll(root);
		animation-range: 0 100vh;
	}
}
@keyframes sticker-in {
	0% { opacity: 0; scale: 0.4; }
	100% { opacity: 1; scale: 1; }
}
@keyframes drift {
	from { translate: 0 0; }
	to { translate: 0 var(--drift, 20vh); rotate: calc(var(--r, 0deg) + var(--spin, 0deg)); }
}
.hero .stars, .hero .mountains { rotate: 0deg; }


/* Der Fahrer, der über die Seite springt (main.js bewegt ihn). */
.jumper {
	position: absolute; z-index: 4; left: 0; top: 0;
	width: clamp(120px, 22vw, 230px);
	pointer-events: none; opacity: 0;
	filter: drop-shadow(0 12px 8px rgba(0,0,0,0.35));
}

/* ------------------------------------------------------- Rennbanner-Streifen */

.banner {
	position: relative; z-index: 5;
	margin: -34px 0 0;
	padding: 0.7rem 0;
	background:
		repeating-linear-gradient(-45deg, var(--yellow) 0 26px, #ffb300 26px 52px);
	border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
	transform: rotate(-2.2deg) scale(1.04);
	overflow: hidden;
	box-shadow: 0 8px 0 rgba(0,0,0,0.25);
}
.banner.pink { background: repeating-linear-gradient(-45deg, var(--pink) 0 26px, #d81b78 26px 52px); transform: rotate(1.8deg) scale(1.04); margin: 0; }
.banner.cyan { background: repeating-linear-gradient(-45deg, var(--cyan) 0 26px, #12b7dc 26px 52px); }
.banner .track {
	display: flex; gap: 2.2rem; width: max-content;
	animation: marquee 28s linear infinite;
}
.banner span {
	font-weight: 900; font-style: italic; text-transform: uppercase; white-space: nowrap;
	font-size: clamp(1.2rem, 4vw, 1.8rem); color: var(--ink);
}
.banner.pink span { color: #fff; text-shadow: 0 2px 0 var(--ink); }
.banner span::after { content: "✦"; margin-left: 2.2rem; }

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

section { position: relative; padding: 88px 0; }
.section-dark { background: var(--navy); }
.section-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
		#101731;
}
.section-dirt {
	background:
		radial-gradient(ellipse at 20% 0%, rgba(255, 199, 41, 0.08), transparent 50%),
		linear-gradient(180deg, #1c1410 0%, #120d0a 100%);
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Karten */
.grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
	position: relative;
	padding: 1.4rem;
	background: var(--card);
	border: 3px solid var(--panel);
	border-radius: var(--radius);
	box-shadow: 0 6px 0 #080d1a;
}
.card h3 {
	margin: 0 0 0.5rem;
	font-weight: 900; font-style: italic; text-transform: uppercase;
	font-size: 1.25rem; line-height: 1.15; color: var(--yellow);
}
.card p { margin: 0; color: var(--muted); }
.card .icon {
	width: 54px; height: 54px; margin-bottom: 0.8rem;
	display: grid; place-items: center;
	background: var(--pink); border: 3px solid var(--ink); border-radius: 12px;
	transform: rotate(-6deg);
}
.card .icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(2) .icon { background: var(--cyan); }
.card:nth-child(3) .icon { background: var(--yellow); }
.card:nth-child(4) .icon { background: var(--orange); }
.card:nth-child(2) .icon svg, .card:nth-child(3) .icon svg { stroke: var(--ink); }

/* Hover-Wackeln */
.wobble:hover, .wobble:focus-within { animation: wobble 0.5s ease; }

/* ---------------------------------------------------------------- Strecken */

.tracks { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .tracks { grid-template-columns: repeat(2, 1fr); } }

.track-card {
	position: relative; overflow: hidden;
	background: var(--card);
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: 0 8px 0 #080d1a;
}
.track-card .shot { aspect-ratio: 16 / 9; overflow: hidden; background: #0a1020; }
.track-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.track-card:hover .shot img { transform: scale(1.06); }
.track-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.track-card h3 {
	margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase;
	font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.05;
}
.track-card .num {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	width: 52px; height: 52px; display: grid; place-items: center;
	font-weight: 900; font-style: italic; font-size: 1.5rem; color: var(--ink);
	background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%;
	transform: rotate(-8deg);
}
.track-card p { margin: 0.4rem 0 0.8rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.tag {
	padding: 0.15rem 0.6rem; font-size: 0.78rem; font-weight: 800; font-style: italic;
	text-transform: uppercase; letter-spacing: 0.03em;
	color: var(--bright); background: var(--panel); border-radius: 6px;
	transform: skewX(-10deg);
}
.tag.time { background: var(--cyan); color: var(--ink); }
.tag.trick { background: var(--pink); color: #fff; }
.tag.lock { background: transparent; border: 2px solid var(--yellow); color: var(--yellow); }

/* ------------------------------------------------------------------ Modi */

.modes { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
	position: relative; padding: 1.6rem 1.4rem 1.4rem;
	border: 3px solid var(--ink); border-radius: var(--radius);
	box-shadow: 0 8px 0 #080d1a;
}
.mode.time { background: linear-gradient(135deg, #0f3c55, #0d1f3a); }
.mode.trick { background: linear-gradient(135deg, #5a1240, #241033); }
.mode h3 { margin: 0 0 0.6rem; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.8rem; }
.mode.time h3 { color: var(--cyan); }
.mode.trick h3 { color: var(--pink); }
.mode ul { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.mode li { margin: 0.35rem 0; }
.mode li strong { color: var(--bright); }
/* GO!/SICK! kleben wie ein Aufkleber über der Ecke - ganz sichtbar, nicht beschnitten. */
.mode .tier { position: absolute; z-index: 2; right: -14px; top: -34px; width: 160px; filter: drop-shadow(0 6px 6px rgba(0,0,0,0.4)); }
.mode h3 { padding-right: 130px; }
@media (max-width: 499px) { .mode .tier { width: 112px; right: -4px; top: -26px; } .mode h3 { padding-right: 90px; } }
.modes { margin-top: 2.6rem; }

/* Tricks als Raster: 4 je Reihe am Handy, alle 8 nebeneinander am Desktop -
   ohne Scrollleiste. */
.trick-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
	margin: 2.4rem 0 0; padding: 0; list-style: none;
}
@media (min-width: 900px) { .trick-grid { grid-template-columns: repeat(8, 1fr); gap: 0.9rem; } }
.trick-tile {
	position: relative; text-align: center;
	padding: 0.3rem 0.2rem 0.5rem;
	background: radial-gradient(circle at 50% 42%, #2c3f63 0%, #18223a 62%, #121a2b 100%);
	border: 3px solid var(--ink); border-radius: var(--radius);
	box-shadow: 0 5px 0 #080d1a;
	transition: rotate 0.2s ease;
}
.trick-tile:hover { rotate: -3deg; }
.trick-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 4px rgba(0,0,0,0.35)); }
.trick-tile span {
	display: block; margin-top: -0.2rem;
	font-weight: 800; font-style: italic; text-transform: uppercase;
	font-size: clamp(0.62rem, 2.6vw, 0.82rem); line-height: 1.15;
}

.versus { margin-top: 1.4rem; }
.versus .card h3 { color: var(--cyan); }

/* ---------------------------------------------------------------- Bike Pass */

.season-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-bottom: 1.6rem; }
.season-badge {
	display: inline-flex; flex-direction: column; padding: 0.5rem 1rem;
	background: var(--pink); border: 3px solid var(--ink); border-radius: 12px;
	transform: rotate(-3deg); box-shadow: 0 5px 0 var(--ink);
}
.season-badge b { font-weight: 900; font-style: italic; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.season-badge small { font-weight: 700; }
.countdown { font-weight: 900; font-style: italic; color: var(--yellow); font-size: 1.1rem; }

.pass { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .pass { grid-template-columns: 1fr 1fr; } }
.pass-col { padding: 1.3rem; border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 0 8px 0 #080d1a; }
.pass-col.free { background: #1a2740; }
.pass-col.premium {
	background:
		repeating-linear-gradient(-45deg, rgba(255,199,41,0.06) 0 18px, transparent 18px 36px),
		linear-gradient(135deg, #3d2a07, #1e1405);
	border-color: var(--yellow);
}
.pass-col h3 { margin: 0 0 1rem; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; }
.pass-col.premium h3 { color: var(--yellow); }
.rewards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 520px) { .rewards { grid-template-columns: repeat(3, 1fr); } }
.reward {
	position: relative; text-align: center;
	padding: 0.6rem 0.4rem 0.7rem;
	background: rgba(0,0,0,0.25); border: 2px solid rgba(255,255,255,0.08); border-radius: 12px;
}
.reward img, .reward .swatch { width: 100%; aspect-ratio: 1; object-fit: contain; }
.reward.wide img { aspect-ratio: 16 / 11; object-fit: cover; border-radius: 8px; }
.reward b { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 0.82rem; line-height: 1.2; margin-top: 0.3rem; }
.reward small { display: block; color: var(--muted); font-size: 0.72rem; }
.reward .lvl {
	position: absolute; top: -8px; left: -6px;
	padding: 0 0.4rem; font-size: 0.7rem; font-weight: 900;
	color: var(--ink); background: var(--cyan); border: 2px solid var(--ink); border-radius: 6px;
}
.premium .reward .lvl { background: var(--yellow); }
.reward.wide { grid-column: span 2; }
.swatch {
	display: block; border-radius: 10px;
	/* Muster „Tarn Neon“ aus Garage.cfg: 141414, b6ff1f, ff2fa0, 2bb3c9 */
	background:
		radial-gradient(circle at 25% 30%, #b6ff1f 0 14%, transparent 15%),
		radial-gradient(circle at 70% 20%, #ff2fa0 0 12%, transparent 13%),
		radial-gradient(circle at 60% 70%, #2bb3c9 0 16%, transparent 17%),
		radial-gradient(circle at 20% 78%, #ff2fa0 0 10%, transparent 11%),
		radial-gradient(circle at 85% 55%, #b6ff1f 0 9%, transparent 10%),
		#141414;
}
.coins {
	margin-top: 1rem; padding: 0.7rem 0.9rem; border-radius: 10px;
	background: rgba(0,0,0,0.3); font-weight: 800; font-style: italic;
}
.coins b { color: var(--yellow); }

/* Road to Legend: eine Straße mit Mittelstreifen, die Ränge als Stationen.
   Am Handy läuft sie senkrecht links, am Desktop waagerecht. */
.legend-road { margin-top: 3rem; }
.road {
	--lane: 26px;
	position: relative; display: grid; gap: 1.4rem;
	margin: 1.6rem 0 0; padding: 0.4rem 0; list-style: none;
}
.road::before {
	content: ""; position: absolute; z-index: 0;
	left: calc(36px - var(--lane) / 2); top: 0; bottom: 0; width: var(--lane);
	background:
		repeating-linear-gradient(to bottom, var(--yellow) 0 14px, transparent 14px 28px) center / 4px 100% no-repeat,
		#2a2d38;
	border-left: 3px solid var(--ink); border-right: 3px solid var(--ink);
	border-radius: 6px;
}
.stop { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; }
.stop img { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 4px 0 rgba(0,0,0,0.45)); }
.stop b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.stop small { color: var(--muted); font-size: 0.88rem; }
.stop.goal b { color: var(--yellow); }
.stop.goal img { width: 84px; height: 84px; margin-left: -6px; }
@media (min-width: 900px) {
	.road { grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
	.road::before {
		left: 4%; right: 4%; top: calc(0.4rem + 36px - var(--lane) / 2); bottom: auto;
		width: auto; height: var(--lane);
		background:
			repeating-linear-gradient(to right, var(--yellow) 0 14px, transparent 14px 28px) center / 100% 4px no-repeat,
			#2a2d38;
		border: 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
	}
	.stop { flex-direction: column; text-align: center; gap: 0.5rem; }
	.stop.goal img { margin: -6px 0 0; }
}

.collection { margin-top: 3rem; }
.skins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .skins { grid-template-columns: repeat(5, 1fr); } }
.skins > .more:last-child { grid-column: span 2; }
@media (min-width: 760px) { .skins > .more:last-child { grid-column: auto; } }
/* Die Kachel am Ende: „…und viele mehr“ */
.more {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
	margin: 0; min-height: 140px; padding: 1rem; text-align: center;
	border: 3px dashed var(--panel); border-radius: var(--radius);
	background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 14px, transparent 14px 28px), var(--card);
}
.more .dots { font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: 0.15em; color: var(--yellow); }
.more b { font-weight: 900; font-style: italic; text-transform: uppercase; }
.more small { color: var(--muted); font-size: 0.82rem; }
.sample-note {
	display: inline-block; margin: 1rem 0 0; padding: 0.25rem 0.8rem;
	font-weight: 800; font-style: italic; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em;
	color: var(--ink); background: var(--yellow); border-radius: 8px; transform: skewX(-10deg);
}
.skin {
	position: relative; overflow: hidden; text-align: center;
	border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 #080d1a;
	background: var(--c, var(--panel));
}
.skin img { width: 100%; aspect-ratio: 480 / 330; object-fit: cover; }
.skin b {
	display: block; padding: 0.4rem; font-weight: 900; font-style: italic; text-transform: uppercase;
	background: var(--ink);
}
.bikes { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .bikes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bikes { grid-template-columns: repeat(4, 1fr); } }
.bike { border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #3a3a3a; box-shadow: 0 6px 0 #080d1a; }
.bike img { width: 100%; aspect-ratio: 480 / 330; object-fit: cover; }
.bike b { display: block; padding: 0.4rem 0.8rem; font-weight: 900; font-style: italic; text-transform: uppercase; background: var(--ink); }
.bike b small { font-weight: 600; color: var(--muted); text-transform: none; font-style: normal; }

/* ------------------------------------------------------------------ Galerie */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
	position: relative; display: block; padding: 0; border: 3px solid var(--ink); border-radius: 12px;
	overflow: hidden; cursor: zoom-in; background: #0a1020; aspect-ratio: 16 / 9;
	transition: transform 0.2s ease;
}
.gallery button:hover { transform: rotate(-1.5deg) scale(1.03); z-index: 1; }
.gallery button:nth-child(even):hover { transform: rotate(1.5deg) scale(1.03); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery button:last-child { grid-column: span 2; aspect-ratio: 32 / 9; }   /* füllt die letzte Reihe */

.lightbox {
	width: min(96vw, 1400px); max-height: 92vh; padding: 0; border: 4px solid var(--ink); border-radius: 14px;
	background: #000; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 5, 8, 0.88); }
.lightbox img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 10px; }
.lightbox .close {
	position: absolute; top: -18px; right: -12px; width: 44px; height: 44px;
	font: inherit; font-weight: 900; font-size: 1.4rem;
	color: var(--ink); background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; cursor: pointer;
}
.lightbox .nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; font-size: 1.6rem; font-weight: 900;
	color: #fff; background: rgba(18, 26, 41, 0.8); border: 2px solid var(--panel); border-radius: 50%; cursor: pointer;
}
.lightbox .prev { left: 8px; } .lightbox .next { right: 8px; }

/* ------------------------------------------------------------------ Kontakt */

.contact { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; } }
form.kontakt { display: grid; gap: 1rem; }
.field label { display: block; margin-bottom: 0.3rem; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 0.85rem; }
.field input, .field textarea, .field select {
	width: 100%; padding: 0.8rem 0.9rem; font: inherit; color: var(--bright);
	background: #0a1020; border: 3px solid var(--panel); border-radius: 10px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); }
.field textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 800; }
.form-status.ok { color: #7dff8a; }
.form-status.err { color: #ff8f8f; }
.notice {
	padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.92rem;
	background: rgba(255, 199, 41, 0.1); border: 2px dashed var(--yellow); color: var(--bright);
}
.contact .sticker-pile { position: relative; height: 220px; margin-top: 1rem; }
.sticker-pile img { position: absolute; width: 130px; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4)); }
.sticker-pile picture:nth-child(1) img { left: 0; top: 10px; transform: rotate(-12deg); }
.sticker-pile picture:nth-child(2) img { left: 110px; top: 60px; transform: rotate(9deg); }
.sticker-pile picture:nth-child(3) img { left: 220px; top: 0; transform: rotate(-4deg); }
@media (max-width: 420px) { .sticker-pile img { width: 100px; } .sticker-pile picture:nth-child(2) img { left: 85px; } .sticker-pile picture:nth-child(3) img { left: 170px; } }

/* -------------------------------------------------------------- Download-CTA */

.cta {
	padding: 70px 0 80px; text-align: center;
	background:
		repeating-linear-gradient(-45deg, rgba(0,0,0,0.12) 0 30px, transparent 30px 60px),
		linear-gradient(135deg, var(--pink), #8a1db8);
}
.cta .headline { color: #fff; }
.cta .headline::after {   /* gelber Blitz auf Pink */
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 240 28%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M2 16 L84 8 L78 13 L168 4 L162 9 L238 1 L238 7 L170 17 L176 12 L88 22 L94 17 L2 26 Z%27 fill=%27%23ffc729%27 stroke=%27%23121a29%27 stroke-width=%272.5%27 stroke-linejoin=%27round%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E");
}
.cta img.icon { width: 110px; height: 110px; margin: 0 auto 1.2rem; border-radius: 24px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); transform: rotate(-6deg); }

/* ------------------------------------------------------------------ Footer */

footer {
	padding: 48px 0 40px; background: var(--night); color: var(--muted);
	border-top: 4px solid var(--yellow);
}
footer .cols { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer img.flogo { width: 220px; }
footer h4 { margin: 0 0 0.6rem; color: var(--bright); font-weight: 900; font-style: italic; text-transform: uppercase; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin: 0.35rem 0; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--yellow); }
.social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social a {
	width: 46px; height: 46px; display: grid; place-items: center;
	background: var(--card); border: 2px solid var(--panel); border-radius: 12px;
}
.social a:hover { background: var(--pink); border-color: var(--pink); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social a[hidden] { display: none; }
.copy { margin-top: 2rem; font-size: 0.85rem; }

/* ------------------------------------------------------ Reinploppen beim Scrollen */

.pop { opacity: 0; transform: scale(0.6) rotate(var(--r, -8deg)); }
.pop.in { animation: pop-in 0.55s cubic-bezier(.2,1.8,.4,1) forwards; }
.rise { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rise.in { opacity: 1; transform: none; }
/* Ohne JavaScript bleibt alles sichtbar. */
html:not(.js) .pop, html:not(.js) .rise { opacity: 1; transform: none; }

/* Aufkleber, die am Abschnittsrand kleben */
.edge-sticker { position: absolute; z-index: 6; width: clamp(80px, 14vw, 130px); filter: drop-shadow(0 6px 8px rgba(0,0,0,0.45)); pointer-events: none; }

@keyframes pop-in {
	0% { opacity: 0; transform: scale(0.4) rotate(calc(var(--r, -8deg) - 20deg)); }
	100% { opacity: 1; transform: scale(1) rotate(var(--r, -8deg)); }
}
@keyframes logo-in {
	0% { opacity: 0; transform: scale(0.6) rotate(-6deg); }
	100% { opacity: 1; transform: none; }
}
@keyframes wobble {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-2.5deg); }
	45% { transform: rotate(2deg); }
	70% { transform: rotate(-1deg); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ Weniger Bewegung */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.pop, .rise { opacity: 1 !important; transform: none !important; }
	.pop { transform: rotate(var(--r, -8deg)) !important; }
	.jumper, #dust { display: none; }
}

/* ==========================================================================
   Rechtsseiten (datenschutz.html, konto-loeschen.html, impressum.html)
   ========================================================================== */

.legal-head {
	padding: 90px 0 40px;
	background:
		repeating-linear-gradient(-45deg, rgba(0,0,0,0.1) 0 26px, transparent 26px 52px),
		linear-gradient(135deg, #172a5a, var(--navy));
	border-bottom: 4px solid var(--pink);
}
.legal-head .headline { font-size: clamp(1.8rem, 6vw, 3rem); margin-bottom: 0.6rem; }
.legal { max-width: 800px; padding-top: 40px; padding-bottom: 80px; }
.legal h2 {
	margin: 2.2rem 0 0.6rem; font-weight: 900; font-style: italic; text-transform: uppercase;
	font-size: 1.2rem; color: var(--yellow);
}
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--bright); }
.legal .box { padding: 1rem 1.2rem; background: var(--card); border: 3px solid var(--panel); border-radius: var(--radius); }
.legal .placeholder-note { margin-top: 1rem; }
.back-home { display: inline-block; margin-top: 1rem; font-weight: 800; font-style: italic; text-transform: uppercase; text-decoration: none; }
.topbar.legal-bar { background: rgba(13, 18, 36, 0.92); }
.topbar.legal-bar .mini-logo { opacity: 1; }

/* ------------------------------------------------------------ Wartungsmodus
   config.js → wartung: true. Die Startseite zeigt nur den Hero mit Logo und
   „Coming soon“; alles andere bleibt im HTML, wird aber ausgeblendet. */
html:not(.wartung) .soon-only { display: none; }
html.wartung main > :not(#hero),
html.wartung body > footer,
html.wartung .topbar nav,
html.wartung .menu-btn,
html.wartung .hero .claim,
html.wartung .hero .subclaim,
html.wartung .hero .stores { display: none; }
.soon-line {
	margin: 1.6rem auto 0;
	font-weight: 900; font-style: italic; text-transform: uppercase;
	font-size: clamp(1.15rem, 4.6vw, 1.9rem); line-height: 1.2;
	text-shadow: 0 3px 0 var(--ink);
	animation: logo-in 0.8s cubic-bezier(.2,1.6,.4,1) 0.25s both;
}
.soon-line .hl { color: var(--yellow); }
.soon-legal { margin: 2.2rem 0 0; font-size: 0.85rem; color: var(--muted); }
.soon-legal a { color: var(--muted); }
