/* ============================================================
   RS74 — Women Race & Drivers Circle
   Design System: "Ultraviolet Racing"
   ============================================================ */

:root {
  --purple: #7c2fc4;
  --purple-bright: #a25aff;
  --purple-glow: rgba(124, 47, 196, 0.55);
  --purple-deep: #2c0f52;
  --bg: #08080d;
  --bg-2: #0e0e16;
  --bg-3: #14141f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f3f7;
  --muted: #9b98a8;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- Preloader: start lights ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.startlights { display: flex; gap: 14px; }
.startlights span {
  width: 22px; height: 22px; border-radius: 50%;
  background: #1c1c28; border: 1px solid var(--line);
  transition: background 0.15s, box-shadow 0.15s;
}
.startlights span.red { background: #e5233c; box-shadow: 0 0 18px rgba(229, 35, 60, 0.8); }
.startlights span.green { background: #2ce56b; box-shadow: 0 0 22px rgba(44, 229, 107, 0.9); }
.preloader-word {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--text); text-transform: uppercase;
}

/* ---------- Scroll progress (RPM bar) ---------- */
#scrollbar-rpm {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple), var(--purple-bright));
  box-shadow: 0 0 12px var(--purple-glow);
  z-index: 1500;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1400px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 2px;
  position: relative;
}
.logo em { font-style: normal; color: var(--purple-bright); }
.logo .logo-sub {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.3em;
  color: var(--muted); margin-left: 10px; text-transform: uppercase;
  transform: translateY(-2px);
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a.nav-link {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0%;
  background: var(--purple-bright);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--text); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown > a.nav-link { cursor: pointer; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  background: rgba(14, 14, 22, 0.97); border: 1px solid var(--line);
  min-width: 220px; padding: 10px 0;
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a {
  display: block; padding: 10px 22px;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.dropdown-menu a:hover { color: var(--text); background: rgba(124, 47, 196, 0.15); padding-left: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; background: var(--purple);
  padding: 14px 28px; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover { background: var(--purple-bright); box-shadow: 0 8px 32px var(--purple-glow); transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,0.35);
  clip-path: none;
}
.btn.btn-ghost:hover { border-color: var(--purple-bright); color: var(--purple-bright); box-shadow: none; }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; z-index: 1101; width: 34px; height: 26px; position: relative; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 12px; width: 70%; }
.burger span:nth-child(3) { top: 24px; }
.burger.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(8, 8, 13, 0.97); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.6rem);
  text-transform: uppercase; color: var(--text); padding: 6px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav a:hover { color: var(--purple-bright); }
.mobile-nav .mobile-sub { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--muted); margin-top: 20px; }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(8,8,13,0.25) 0%, rgba(8,8,13,0.72) 100%);
}
.hero-content { position: relative; z-index: 5; padding: 0 20px; }
.hero-content h1 {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: 0.34em; text-indent: 0.34em; text-transform: uppercase;
  line-height: 1;
}
.hero-content .hero-tag {
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.52em; text-indent: 0.52em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-top: 22px; font-weight: 300;
}
.hero-content .hero-launch {
  font-size: clamp(0.72rem, 1.3vw, 0.9rem); font-weight: 700;
  letter-spacing: 0.32em; text-indent: 0.32em; text-transform: uppercase;
  margin-top: 30px; color: #fff;
}
.hero-content .hero-launch .blink { color: var(--purple-bright); animation: blinker 1.6s step-end infinite; }
@keyframes blinker { 50% { opacity: 0.15; } }
.hero-cta { margin-top: 46px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  background: none; border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 54px; height: 54px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.3s;
}
.hero-arrow:hover { border-color: var(--purple-bright); color: var(--purple-bright); background: rgba(124,47,196,0.12); }
.hero-arrow.prev { left: 3vw; }
.hero-arrow.next { right: 3vw; }

.hero-hud {
  position: absolute; bottom: 34px; left: 0; right: 0; z-index: 6;
  display: flex; justify-content: center; align-items: center; gap: 30px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.25); transition: background 0.3s;
}
.hero-dots button.active { background: var(--purple-bright); box-shadow: 0 0 10px var(--purple-glow); }
.scroll-cue {
  position: absolute; bottom: 30px; right: 4vw; z-index: 6;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--purple-bright), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); overflow: hidden; padding: 16px 0;
  position: relative;
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); padding: 0 17px;
  white-space: nowrap; display: flex; align-items: center; gap: 34px;
}
.ticker-track span i {
  font-style: normal; color: var(--purple-bright); font-size: 0.8rem;
}

/* ---------- Sections ---------- */
section.block { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 7vh, 72px); }
.section-head .kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.section-head .kicker::before { content: ""; width: 46px; height: 2px; background: var(--purple); }
.section-head h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  max-width: 18ch;
}
.section-head h2 .accent { color: var(--purple-bright); }
.section-head.center { text-align: center; }
.section-head.center h2 { margin: 0 auto; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; font-weight: 300; }

/* Race-number decorations */
.race-number {
  position: absolute; top: 10px; right: 2vw;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  pointer-events: none; user-select: none; line-height: 1;
}

/* ---------- Speed section (home) ---------- */
.speed-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.speed-media { position: relative; overflow: hidden; }
.speed-media img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.speed-media:hover img { transform: scale(1.05); }
.speed-media .media-tag {
  position: absolute; bottom: 0; left: 0;
  background: var(--purple); color: #fff;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 10px 18px;
}
.speed-stats {
  display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap;
}
.stat .stat-num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text); line-height: 1;
}
.stat .stat-num em { font-style: normal; color: var(--purple-bright); }
.stat .stat-label {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); margin-top: 8px;
}

/* ---------- Mission / quote ---------- */
.mission { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.mission-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.quote-card {
  position: relative; padding: clamp(30px, 4vw, 56px);
  background: linear-gradient(145deg, rgba(124,47,196,0.14), rgba(124,47,196,0.03));
  border: 1px solid rgba(124, 47, 196, 0.35);
}
.quote-card::before {
  content: "“"; position: absolute; top: -30px; left: 18px;
  font-family: var(--font-display); font-size: 7rem; color: var(--purple);
  opacity: 0.85; line-height: 1;
}
.quote-card blockquote { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 300; font-style: italic; color: var(--text); }
.quote-author { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.quote-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--purple); }
.quote-author .qa-name { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; }
.quote-author .qa-loc { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }

/* ---------- Tiles (Alles auf einen Blick) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.6;
  display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  transform-style: preserve-3d; will-change: transform;
}
.tile-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
  filter: saturate(0.85) brightness(0.8);
}
.tile:hover .tile-bg { transform: scale(1.08); filter: saturate(1.1) brightness(0.95); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,13,0.92) 8%, rgba(8,8,13,0.15) 55%, transparent);
}
.tile-body { position: relative; z-index: 2; padding: 26px; width: 100%; }
.tile-num {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.3em;
  color: var(--purple-bright); text-transform: uppercase;
}
.tile-body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-top: 8px; }
.tile-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); transition: color 0.25s, gap 0.25s;
}
.tile:hover .tile-link { color: var(--purple-bright); gap: 14px; }
.tile-lap {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  font-family: var(--font-display); font-size: 1.5rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.tile:hover .tile-lap { color: var(--purple-bright); -webkit-text-stroke: 0; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 70px;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--bg) 2%, rgba(8,8,13,0.55) 45%, rgba(8,8,13,0.35));
}
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
.page-hero .kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.page-hero .kicker::before { content: ""; width: 46px; height: 2px; background: var(--purple-bright); }
.page-hero .page-hero-sub { margin-top: 18px; }

.crumbs {
  position: absolute; top: calc(var(--header-h) + 20px); left: 4vw;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.crumbs a:hover { color: var(--purple-bright); }

/* ---------- Prose split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split .prose p + p { margin-top: 1.2em; }
.split .prose p { color: var(--muted); font-weight: 300; font-size: clamp(0.98rem, 1.5vw, 1.12rem); }
.split .prose p strong, .split .prose p b { color: inherit; font-weight: inherit; }
.frame { position: relative; overflow: hidden; }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: saturate(0.9);
}
.frame:hover img { transform: scale(1.06); filter: saturate(1.15); }
/* HUD corner brackets, appear on hover */
.frame::before {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  --b: var(--purple-bright);
  background:
    linear-gradient(var(--b), var(--b)) top left / 34px 2px,
    linear-gradient(var(--b), var(--b)) top left / 2px 34px,
    linear-gradient(var(--b), var(--b)) top right / 34px 2px,
    linear-gradient(var(--b), var(--b)) top right / 2px 34px,
    linear-gradient(var(--b), var(--b)) bottom left / 34px 2px,
    linear-gradient(var(--b), var(--b)) bottom left / 2px 34px,
    linear-gradient(var(--b), var(--b)) bottom right / 34px 2px,
    linear-gradient(var(--b), var(--b)) bottom right / 2px 34px;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.frame:hover::before { opacity: 1; transform: scale(1); }
/* light streak sweeping across on hover */
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(162, 90, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-130%);
}
.frame:hover::after { transition: transform 0.9s ease; transform: translateX(130%); }

/* ---------- Gallery ---------- */
.masonry { columns: 3; column-gap: 16px; }
.masonry .g-item { margin-bottom: 16px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; }
.masonry .g-item img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s; width: 100%; }
.masonry .g-item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.masonry .g-item .g-cap { display: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-3 .g-item { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.grid-3 .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.grid-3 .g-item:hover img { transform: scale(1.06); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 1600;
  background: rgba(4, 4, 8, 0.94); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img {
  max-width: 90vw; max-height: 84vh; object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
#lightbox .lb-close, #lightbox .lb-prev, #lightbox .lb-next {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer; z-index: 2;
  width: 50px; height: 50px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
#lightbox .lb-close:hover, #lightbox .lb-prev:hover, #lightbox .lb-next:hover { border-color: var(--purple-bright); color: var(--purple-bright); }
#lightbox .lb-close { top: 24px; right: 24px; }
#lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-count {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--muted);
}

/* ---------- Events ---------- */
.event-card {
  display: grid; grid-template-columns: 130px 1fr auto; gap: clamp(20px, 4vw, 50px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-left: 3px solid var(--purple);
  background: var(--bg-2);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.event-card + .event-card { margin-top: 14px; }
.event-card:hover { background: var(--bg-3); transform: translateX(8px); box-shadow: -8px 0 34px rgba(124,47,196,0.15); }
.event-date { text-align: center; }
.event-date .d { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--purple-bright); }
.event-date .m { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event-info h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.event-info .event-meta {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.event-status {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid rgba(124,47,196,0.5); color: var(--purple-bright);
  white-space: nowrap;
}

.coming-soon {
  border: 1px dashed rgba(124, 47, 196, 0.4);
  padding: clamp(50px, 8vw, 90px) 30px; text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(124,47,196,0.04) 0 12px, transparent 12px 24px);
}
.coming-soon .cs-flag { font-size: 2rem; margin-bottom: 18px; }
.coming-soon h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.coming-soon p { color: var(--muted); max-width: 54ch; margin: 14px auto 30px; font-weight: 300; }

/* ---------- News / Medien ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  border: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(124,47,196,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.news-thumb { overflow: hidden; aspect-ratio: 16/10; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-date { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.26em; color: var(--purple-bright); text-transform: uppercase; }
.news-body h3 { font-size: 1.3rem; }
.news-body p { color: var(--muted); font-size: 0.92rem; font-weight: 300; flex: 1; }
.news-more {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: color 0.25s, gap 0.25s;
}
.news-card:hover .news-more { color: var(--purple-bright); gap: 14px; }

/* Video wall */
.video-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video-card { position: relative; overflow: hidden; border: 1px solid var(--line); }
.video-card video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.video-card.portrait video { aspect-ratio: 9/16; max-height: 78vh; }
.video-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  background: rgba(8,8,13,0.72); color: #fff; padding: 8px 14px;
  border-left: 2px solid var(--purple-bright);
  pointer-events: none;
}

/* ---------- About ---------- */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.about-stat {
  border: 1px solid var(--line); background: var(--bg-2);
  padding: clamp(24px, 3.4vw, 44px) 20px; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.about-stat:hover { border-color: rgba(124,47,196,0.55); transform: translateY(-4px); }
.about-stat::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.about-stat:hover::after { transform: scaleX(1); }
.about-stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.8rem); color: var(--text); line-height: 1; }
.about-stat .num em { font-style: normal; color: var(--purple-bright); }
.about-stat .lbl { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

.intro-video { position: relative; max-width: 460px; margin: 0 auto; }
.intro-video video { width: 100%; border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(124,47,196,0.18); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.ci-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 46px; height: 46px; flex: none;
  border: 1px solid rgba(124,47,196,0.5); color: var(--purple-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.ci-item .ci-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.ci-item .ci-value { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.ci-item .ci-value a:hover { color: var(--purple-bright); }

form.race-form { display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  padding: 16px 18px; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none; border-radius: 0;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(124,47,196,0.18);
}
.form-lights { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.form-lights span { width: 14px; height: 14px; border-radius: 50%; background: #1c1c28; border: 1px solid var(--line); transition: all 0.2s; }
.form-lights span.red { background: #e5233c; box-shadow: 0 0 12px rgba(229,35,60,0.8); }
.form-lights span.green { background: #2ce56b; box-shadow: 0 0 14px rgba(44,229,107,0.9); }
.form-note { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--purple-deep), var(--purple) 55%, var(--purple-bright));
  padding: clamp(60px, 10vh, 110px) 0; text-align: center;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.5) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.5) 75%),
    linear-gradient(45deg, rgba(0,0,0,0.5) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.5) 75%);
  background-size: 34px 34px; background-position: 0 0, 17px 17px;
  opacity: 0.35;
}
.cta-band::before { left: -30px; transform: skewX(-8deg); }
.cta-band::after { right: -30px; transform: skewX(-8deg); }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 16px auto 34px; max-width: 56ch; position: relative; z-index: 1; }
.cta-band .btn { background: #0b0b12; position: relative; z-index: 1; }
.cta-band .btn:hover { background: #000; box-shadow: 0 10px 40px rgba(0,0,0,0.45); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060609; padding: clamp(60px, 9vh, 100px) 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.footer-brand .logo { font-size: 1.7rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; font-weight: 300; margin-top: 16px; max-width: 34ch; }
.footer-illustration { width: 190px; opacity: 0.5; margin-top: 26px; filter: invert(1) brightness(1.4); }
.f-col h4 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.f-col ul { display: flex; flex-direction: column; gap: 12px; }
.f-col a { font-size: 0.88rem; color: var(--text); opacity: 0.8; transition: opacity 0.2s, color 0.2s, padding-left 0.25s; }
.f-col a:hover { opacity: 1; color: var(--purple-bright); padding-left: 6px; }
.footer-bottom {
  margin-top: clamp(40px, 7vh, 70px); border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.footer-bottom .insta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color 0.25s; }
.footer-bottom .insta:hover { color: var(--purple-bright); }
.footer-watermark {
  position: absolute; bottom: -40px; right: -20px;
  font-family: var(--font-display); font-size: clamp(8rem, 22vw, 18rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.045);
  pointer-events: none; user-select: none;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: translateX(0); }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }
[data-delay="5"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .speed-grid, .mission-grid, .split, .contact-grid, .video-wall { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4/3; }
  .news-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .event-card { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .event-date { text-align: left; display: flex; gap: 12px; align-items: baseline; }
  .hero-arrow { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .race-number { display: none; }
}
