@import url('../fonts/fonts.css');

/* =========================================================================
   LAUFWANDEL · Design System
   "Run. Game. Grow." — Sport trifft Gaming. HUD/Telemetrie-Ästhetik.
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Markenfarben */
  --orange: #ff7a18;
  --pink: #ff3d9a;
  --pink-deep: #ff1f8e;
  --magenta: #d4258f;

  /* Flächen */
  --bg: #0a070e;
  --bg-2: #0d0913;
  --panel: #140e1c;
  --panel-2: #1a1326;
  --panel-3: #221934;

  /* Linien & Glas */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(20, 14, 28, 0.6);
  --glass-2: rgba(26, 19, 38, 0.72);

  /* Text */
  --text: #f6eff6;
  --muted: #b6a9c6;
  --muted-2: #8a7d9e;

  /* Verläufe */
  --grad: linear-gradient(100deg, var(--orange), var(--pink));
  --grad-soft: linear-gradient(100deg, rgba(255, 122, 24, 0.18), rgba(255, 61, 154, 0.18));
  --grad-text: linear-gradient(100deg, #ffb347, var(--orange) 35%, var(--pink) 75%, #ff6fb6);

  /* Glow */
  --glow-orange: 0 0 28px rgba(255, 122, 24, 0.45);
  --glow-pink: 0 0 28px rgba(255, 61, 154, 0.45);

  /* Radius */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Schrift */
  --f-display: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --f-hud: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Fluid type */
  --fs-eyebrow: 0.78rem;
  --fs-h2: clamp(2rem, 4.5vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.45s var(--ease);
}

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

* { margin: 0; }

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

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img,
svg { display: block; max-width: 100%; }

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

ul { list-style: none; padding: 0; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

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

/* --------------------------------------------------------------- Helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-hud);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }

.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  font-size: var(--fs-lead);
  margin-top: 1rem;
  max-width: 60ch;
}

/* HUD-Eckklammern (4 Ecken via Layer-Gradients) */
.hud {
  position: relative;
  --hc: rgba(255, 122, 24, 0.7);
  --hs: 18px;
  --hb: 2px;
}
.hud::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(var(--hc), var(--hc)) 0 0 / var(--hs) var(--hb),
    linear-gradient(var(--hc), var(--hc)) 0 0 / var(--hb) var(--hs),
    linear-gradient(var(--hc), var(--hc)) 100% 0 / var(--hs) var(--hb),
    linear-gradient(var(--hc), var(--hc)) 100% 0 / var(--hb) var(--hs),
    linear-gradient(var(--hc), var(--hc)) 0 100% / var(--hs) var(--hb),
    linear-gradient(var(--hc), var(--hc)) 0 100% / var(--hb) var(--hs),
    linear-gradient(var(--hc), var(--hc)) 100% 100% / var(--hs) var(--hb),
    linear-gradient(var(--hc), var(--hc)) 100% 100% / var(--hb) var(--hs);
  background-repeat: no-repeat;
}
.hud--pink { --hc: rgba(255, 61, 154, 0.7); }

/* -------------------------------------------------------------- Buttons */
.btn {
  --bg-btn: var(--grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #190a04;
  background: var(--bg-btn);
  box-shadow: 0 8px 28px rgba(255, 61, 154, 0.28);
  transition: transform var(--t), box-shadow var(--t), filter var(--t);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 61, 154, 0.42);
  filter: brightness(1.06);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 61, 154, 0.5);
  box-shadow: 0 8px 24px rgba(255, 61, 154, 0.16);
}

.btn .ic { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ------------------------------------------------------- Background FX */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 61, 154, 0.10), transparent 60%),
    var(--bg);
}
.bg__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 90% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 90% at 50% 0%, #000 35%, transparent 78%);
}
.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.bg__orb--1 {
  width: 46vw; height: 46vw;
  top: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.55), transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}
.bg__orb--2 {
  width: 42vw; height: 42vw;
  top: 10vw; right: -12vw;
  background: radial-gradient(circle, rgba(255, 61, 154, 0.5), transparent 65%);
  animation: drift2 26s ease-in-out infinite;
}
.bg__streaks { position: absolute; inset: 0; opacity: 0.5; }
.bg__streaks span {
  position: absolute;
  height: 1px;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.7), transparent);
  filter: blur(0.5px);
  animation: streak 7s linear infinite;
}
.bg__streaks span:nth-child(1) { top: 22%; animation-delay: 0s; }
.bg__streaks span:nth-child(2) { top: 48%; animation-delay: 2.4s; background: linear-gradient(90deg, transparent, rgba(255, 61, 154, 0.7), transparent); }
.bg__streaks span:nth-child(3) { top: 71%; animation-delay: 4.1s; }

@keyframes drift1 { 50% { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-7vw, 4vw) scale(1.08); } }
@keyframes streak {
  0% { transform: translateX(-60%); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(220%); opacity: 0; }
}

/* ------------------------------------------------------------------- Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
/* Kein dunkler Scroll-Hintergrund mehr (verdeckte sonst den News-Ticker) */
.nav.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  max-width: 1500px;
  padding-inline: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-hud);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.32rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }

/* ----------------------------------------------------------- Nav Dropdown */
.nav__item--dropdown { position: relative; }
.nav__trigger { display: inline-flex !important; align-items: center; gap: 3px; }
.nav__chevron { opacity: .5; flex-shrink: 0; transition: transform .2s, opacity .2s; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 164px;
  padding: .3rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s, visibility .16s, transform .16s;
  z-index: 400;
}
/* Unsichtbare Brücke schließt die 4px-Lücke zwischen Trigger und Dropdown */
.nav__dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%; left: 0; right: 0;
  height: 8px;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.is-open .nav__dropdown {
  opacity: 1; visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__item--dropdown:hover .nav__chevron,
.nav__item--dropdown.is-open .nav__chevron { transform: rotate(180deg); opacity: 1; }

.nav__dropdown a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 4px;
  font-family: var(--f-hud);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav__dropdown a::after { display: none !important; }
.nav__dropdown a:hover { color: var(--text); background: rgba(255,122,0,.08); }

.nav__cta { display: flex; align-items: center; gap: 0.7rem; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--f-hud);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.live-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6b6276;
}
.live-pill.is-live { color: #ffd9e9; border-color: rgba(255, 61, 154, 0.55); }
.live-pill.is-live .dot {
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 61, 154, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 154, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 61, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 154, 0); }
}

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.burger span { top: 21px; }
.burger::before { top: 14px; }
.burger::after { top: 28px; }
body.menu-open .burger span { opacity: 0; }
body.menu-open .burger::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* Nav-Offset trägt der News-Ticker darüber; hier nur Atemraum */
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.section--page-top {
  padding-top: calc(var(--nav-h) + 3rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--grad-soft);
  font-family: var(--f-hud);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffd9b0;
}
.hero h1 {
  font-family: var(--f-hud);
  font-weight: 700;
  font-size: clamp(2.7rem, 8.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin: 1.3rem 0 0.4rem;
  text-transform: uppercase;
}
.hero h1 .grad-text { filter: drop-shadow(0 6px 26px rgba(255, 61, 154, 0.35)); }
.hero__tag {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero__tag b { color: var(--orange); }
.hero__tag b + b { color: #ffb347; }
.hero__tag b + b + b { color: var(--pink); }
.hero__lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 52ch;
  margin-bottom: 1.8rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Hero-Visual: Logo + Telemetrie-HUD */
.hero__visual { position: relative; }
.hero__logo-wrap {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(255, 61, 154, 0.16), transparent 70%),
    var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hero__logo-wrap img {
  width: 100%;
  border-radius: var(--r);
  filter: drop-shadow(0 18px 50px rgba(255, 61, 154, 0.35));
}
.hero__scan {
  position: absolute;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.9), transparent);
  filter: blur(0.5px);
  animation: scan 4.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes scan {
  0%, 100% { top: 16%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 84%; opacity: 1; }
  60% { opacity: 0; }
}

/* Telemetrie-Leiste */
.telemetry {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.tele {
  position: relative;
  padding: 0.8rem 0.9rem;
  border-radius: var(--r);
  background: var(--glass-2);
  border: 1px solid var(--line);
}
.tele__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-hud);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.tele__val {
  font-family: var(--f-hud);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.1;
  margin-top: 0.25rem;
}
.tele__val small { font-size: 0.62em; color: var(--muted); margin-left: 2px; }
.tele__val.is-pink { color: #ff9ccb; }
.tele__val.is-orange { color: #ffb066; }
/* Motto-Plakette oben im Hero-Kasten */
.hero__motto { text-align: center; margin-bottom: 1.1rem; }
.hero__motto-de {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.7vw, 1.5rem);
  line-height: 1.12;
}
.hero__motto-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
  font-family: var(--f-hud);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.62rem;
  color: #e9b873;
}
/* feine, warm auslaufende Linien links/rechts → bewusster Untertitel */
.hero__motto-en::before,
.hero__motto-en::after {
  content: "";
  height: 1px;
  flex: 0 0 auto;
  width: clamp(16px, 5vw, 40px);
}
.hero__motto-en::before { background: linear-gradient(90deg, transparent, rgba(233, 184, 115, 0.65)); }
.hero__motto-en::after  { background: linear-gradient(90deg, rgba(233, 184, 115, 0.65), transparent); }
.heart { color: var(--pink); animation: beat 1.1s ease-in-out infinite; display: inline-block; }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.35); }
  30% { transform: scale(1); }
}

/* XP-Bar */
.xp {
  margin-top: 0.7rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--r);
  background: var(--glass-2);
  border: 1px solid var(--line);
}
.xp__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-hud);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.xp__top b { color: var(--orange); }
.xp__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.xp__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(255, 61, 154, 0.6);
  transition: width 1.8s var(--ease);
}

/* Scroll-Hinweis */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  font-family: var(--f-hud);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.scroll-cue .mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  background: var(--pink);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 50% { transform: translate(-50%, 9px); opacity: 0.3; } }

/* ----------------------------------------------------------------- Story */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bigstat {
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.bigstat .num {
  font-family: var(--f-hud);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1;
}
.bigstat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }
.story__body p { color: var(--muted); margin-bottom: 1rem; }
.story__body p strong { color: var(--text); }
.story__quote {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--orange);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
}

/* -------------------------------------------------------------- Pillars */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pillar {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 154, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__ic {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  margin-bottom: 1.1rem;
}
.pillar__ic svg { width: 28px; height: 28px; }
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pillar p { color: var(--muted); margin-top: 0.6rem; font-size: 0.98rem; }
.pillar__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.tag {
  font-family: var(--f-hud);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.32rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

/* ----------------------------------------------------------------- Live */
.live__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.6rem;
  align-items: stretch;
}
.embed {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(145, 70, 255, 0.18), transparent 60%),
    var(--panel);
  min-height: 340px;
  display: grid;
  place-items: center;
}
.embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.embed__ph {
  text-align: center;
  padding: 2rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.embed__ph .big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
}
.embed__ph p { color: var(--muted); max-width: 38ch; font-size: 0.95rem; }
.embed__ph .hint { font-size: 0.78rem; color: var(--muted-2); }

.schedule {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.schedule h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.schedule li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.schedule li:last-child { border-bottom: 0; }
.schedule .day { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.schedule .time { font-family: var(--f-hud); font-size: 0.78rem; color: var(--orange); letter-spacing: 0.06em; }
.schedule .what { color: var(--muted); font-size: 0.82rem; }

/* ------------------------------------------------------------ Platforms */
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.plat {
  position: relative;
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.plat::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 120%; height: 120%;
  background: radial-gradient(circle, var(--plat-c, rgba(255,61,154,.5)), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
  filter: blur(30px);
  z-index: 0;
}
.plat > * { position: relative; z-index: 1; }
.plat:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.plat:hover::after { opacity: 0.25; }
.plat__ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.plat__ic svg { width: 26px; height: 26px; fill: currentColor; }
.plat h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; }
.plat .handle { font-family: var(--f-hud); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); }
.plat p { color: var(--muted); font-size: 0.88rem; }
.plat .go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text);
}
.plat .go svg { width: 1em; height: 1em; transition: transform var(--t); }
.plat:hover .go svg { transform: translate(3px, -3px); }
.plat--twitch { --plat-c: rgba(145, 70, 255, 0.6); color: #c9a8ff; }
.plat--youtube { --plat-c: rgba(255, 0, 0, 0.55); color: #ff7a7a; }
.plat--discord { --plat-c: rgba(88, 101, 242, 0.6); color: #99a4ff; }
.plat--instagram { --plat-c: rgba(255, 61, 154, 0.6); color: #ff9ccb; }

/* ----------------------------------------------------------------- Stats */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(255, 61, 154, 0.08), transparent 60%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
}
.stat .num {
  font-family: var(--f-hud);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl {
  color: var(--muted);
  font-family: var(--f-hud);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* ----------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band__box {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(255, 122, 24, 0.18), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  text-transform: uppercase;
  line-height: 1.05;
}
.cta-band p { color: var(--muted); max-width: 52ch; margin: 1rem auto 1.8rem; font-size: var(--fs-lead); }
.cta-band .hero__cta { justify-content: center; }

/* --------------------------------------------------------------- Footer */
.footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.footer .brand { margin-bottom: 1rem; }
.footer__about { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }
.footer__col h4 {
  font-family: var(--f-hud);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a { color: var(--muted); transition: color var(--t); }
.footer__col a:hover { color: var(--text); }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  transition: transform var(--t), color var(--t), border-color var(--t);
}
.footer__social a:hover { transform: translateY(-3px); color: var(--text); border-color: var(--line-strong); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.6rem;
  color: var(--muted-2);
  font-size: 0.84rem;
}
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--text); }

/* --------------------------------------------------------- Reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ─── About: Portrait + Text Layout ───────────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1fr 240px; gap: 2.5rem; align-items: start; }
.about-intro img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); object-fit: cover; aspect-ratio: 3 / 4; }

/* --------------------------------------------------------- Legal pages */
.legal { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
.legal h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
}
.legal p, .legal li { color: var(--muted); margin-bottom: 0.8rem; max-width: 75ch; }
.legal a { color: var(--pink); }
.legal .note {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 24, 0.06);
  border-radius: 0 var(--r) var(--r) 0;
  margin: 1.5rem 0;
}
.legal .note strong { color: var(--text); }

/* ----------------------------------------------------------- Responsive */

/* Nav-Links kompakter auf allen Desktop-Breiten (9 Items + User-Chip passen sonst nicht) */
@media (min-width: 961px) {
  .nav__links {
    gap: 0.28rem;
  }
  .nav__links a {
    padding: 0.45rem 0.4rem;
    font-size: 0.88rem;
  }
  .nav__user-name {
    display: none;
  }
}

/* Hero auf 1 Spalte bei mittleren Fensterbreiten (Telemetrie-Kacheln brauchen Mindestbreite) */
@media (max-width: 1500px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 500px; margin-inline: auto; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .story__grid,
  .live__grid { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .platforms__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }

  .burger { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.6rem;
    background: rgba(10, 7, 14, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform var(--t);
  }
  body.menu-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 0.9rem 0.4rem; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }

  /* Mobile Dropdown: Akkordeon */
  .nav__item--dropdown { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav__trigger { border-bottom: none !important; justify-content: space-between; }
  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; background: transparent; border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: .1rem 0 .6rem .8rem;
    margin: 0 0 .4rem .4rem;
    display: none;
    transition: none;
  }
  .nav__dropdown::before { display: none; }
  .nav__item--dropdown:hover .nav__dropdown { display: none; } /* kein hover auf mobile */
  .nav__item--dropdown.is-open .nav__dropdown { display: block; }
  .nav__item--dropdown.is-open .nav__chevron { transform: rotate(180deg); opacity: 1; }
  .nav__dropdown a { font-size: 1rem; padding: .6rem .5rem; border-bottom: none; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro img { width: 180px; }
}

@media (max-width: 540px) {
  .platforms__grid,
  .stats__grid,
  .story__stats,
  .footer__top { grid-template-columns: 1fr; }
  .telemetry { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------- Reduced motion / a11y */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- Meine Läufe */
.runs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.run-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.run-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255,122,0,.12);
}

.run-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.run-card__name {
  font-family: var(--f-hud);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.3;
}
.run-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  flex-shrink: 0;
}
.run-card__date {
  font-family: var(--f-hud);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.run-card__pr {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-family: var(--f-hud);
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.run-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem .5rem;
}
.run-stat { display: flex; flex-direction: column; gap: .2rem; }
.run-stat__label {
  font-family: var(--f-hud);
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.run-stat__value {
  font-family: var(--f-hud);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.run-stat__unit {
  font-size: .62em;
  color: var(--muted);
  font-weight: 400;
  margin-left: .12em;
}

@media (max-width: 1200px) {
  .runs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .runs__grid { grid-template-columns: 1fr; }
}

/* ── Startseite: "Meine letzten Läufe" (Strava-Detailkarten) ── */
.runs-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.run-card--detail .run-card__stats {
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem .9rem;
}
.run-card__best {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.run-card__best-l {
  width: 100%;
  font-family: var(--f-hud);
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .1rem;
}
.rbest {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-family: var(--f-hud);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .6rem;
}
.rbest b { font-size: .8rem; color: var(--text, #fff); letter-spacing: .02em; }
.run-card__shoe {
  margin-top: .85rem;
  font-size: .8rem;
  color: var(--muted);
}
.runs-latest__more { text-align: center; margin-top: 1.9rem; }

@media (max-width: 960px) {
  .runs-latest__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .runs-latest__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.svg-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

/* ------------------------------------------------------ Artikel-Karten */
.articles__section-head {
  margin: 4rem 0 2rem;
  text-align: center;
}
.articles__section-head h2 {
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-top: 0.5rem;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  min-height: 2rem;
}

.article-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card.is-in {
  transition: opacity .5s ease, transform .5s ease, box-shadow .2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255,122,0,.18);
}

.article-card__meta {
  font-family: var(--f-hud);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: .6rem;
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.article-card__excerpt {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.article-card__tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}

.article-card--has-img {
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.article-card__img {
  margin: 0 -1.4rem 1rem;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
}
.article-card__img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  transition: transform .45s var(--ease);
}
.article-card:hover .article-card__img img { transform: scale(1.03); }

.articles__empty {
  color: var(--muted);
  font-family: var(--f-hud);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 2.5rem 0;
  grid-column: 1 / -1;
}

/* ================================================= News (Startseite) ===== */
.news__tabs {
  display: inline-flex;
  gap: .3rem;
  padding: .3rem;
  border-radius: 999px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}
.news__tab {
  font-family: var(--f-hud);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: color .2s ease, background .2s ease;
}
.news__tab:hover { color: var(--text); }
.news__tab.is-active { color: #1a1206; background: var(--grad); }
.news__tab-count {
  font-size: .7rem;
  min-width: 1.3em;
  padding: 0 .35em;
  border-radius: 999px;
  background: rgba(0,0,0,.2);
}
.news__tab-count:empty { display: none; }
.news__view.is-hidden { display: none; }

/* News-Ticker (oben, volle Breite, direkt unter der fixierten Nav) */
/* Kompaktes Raster: 5 Spalten x 3 Zeilen = 15 Schlagzeilen, ohne Scrollen */
.ticker {
  margin-top: var(--nav-h);
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 13, .55);
  backdrop-filter: blur(6px);
}
.ticker__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .4rem 1.1rem;
}
.ticker__item {
  display: flex;
  align-items: stretch;
  gap: .55rem;
  padding: .3rem 0;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  --news-accent: var(--orange);
}
.ticker__item.cat-sport  { --news-accent: #ff8a2b; }
.ticker__item.cat-gaming { --news-accent: #9d7bff; }
.ticker__item.cat-wow    { --news-accent: #36c6c0; }
.ticker__bar {
  width: 3px;
  border-radius: 2px;
  background: var(--news-accent);
  box-shadow: 0 0 8px var(--news-accent);
  flex: 0 0 auto;
}
.ticker__text { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .1rem; }
.ticker__title {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ticker__item:hover .ticker__title { color: var(--news-accent); }
.ticker__age { font-family: var(--f-hud); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) { .ticker__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .ticker__grid { grid-template-columns: repeat(2, 1fr); } }

/* Inhalts-Feeds: Guides / Pläne / Rezepte */
.feeds__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.feed-col {
  background: var(--glass);
  border: 1px solid var(--line);
  border-top: 2px solid var(--news-accent);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.25rem 1.35rem;
  --news-accent: #ffc24a;
}
.feed-col--guides  { --news-accent: #ffc24a; }
.feed-col--plaene  { --news-accent: #5fd08a; }
.feed-col--rezepte { --news-accent: #ff5d8f; }
.feed-col__head { display: flex; align-items: center; gap: .6rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.feed-col__head h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; margin: 0; }
.feed-col__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--news-accent); box-shadow: 0 0 12px var(--news-accent); flex: 0 0 auto; }
.feed-col__list { display: flex; flex-direction: column; }
.mini-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}
.feed-col__list .mini-card:first-child { border-top: 0; padding-top: .3rem; }
.mini-card__date { font-family: var(--f-hud); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--news-accent); }
.mini-card__title { font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin: .25rem 0 .35rem; color: var(--text); }
.mini-card:hover .mini-card__title { color: var(--news-accent); }
.mini-card__excerpt { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* News-Feed: gemischt, untereinander (Bild links, Kategorie + Titel rechts) */
.news__feed { display: flex; flex-direction: column; }
.news-feed-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 1.1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  --news-accent: var(--orange);
}
.news__feed .news-feed-item:first-child { border-top: 0; }
.news-feed-item.cat-sport  { --news-accent: #ff8a2b; }
.news-feed-item.cat-gaming { --news-accent: #9d7bff; }
.news-feed-item.cat-wow    { --news-accent: #36c6c0; }
.news-feed-item__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255,255,255,.04); }
.news-feed-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.news-feed-item:hover .news-feed-item__img img { transform: scale(1.05); }
.news-feed-item__body { min-width: 0; }
.news-feed-item__cat { font-family: var(--f-hud); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--news-accent); }
.news-feed-item__title { font-size: 1.18rem; font-weight: 700; line-height: 1.3; margin: .15rem 0 .25rem; color: var(--text); }
.news-feed-item:hover .news-feed-item__title { color: var(--news-accent); }
.news-feed-item__age { font-family: var(--f-hud); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Bild-Fallback (kein Cover): getöntes Panel mit Kategorie-Initiale */
.news-feed-item__img.is-empty,
.news-arch__img.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.06), transparent 60%), var(--glass-2);
}
.news-feed-item__img.is-empty span,
.news-arch__img.is-empty span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--news-accent);
  opacity: .9;
}

.news-box__empty {
  color: var(--muted);
  font-family: var(--f-hud);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1.6rem 0;
  text-align: center;
}

/* Archiv: gemischt, nach Datum, mit Kategorie-Badge */
.news__archive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.news-arch {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: .85rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-arch.cat-sport  { --news-accent: #ff8a2b; }
.news-arch.cat-gaming { --news-accent: #9d7bff; }
.news-arch.cat-wow    { --news-accent: #36c6c0; }
.news-arch:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.news-arch__img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.04);
}
.news-arch__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-arch__body { min-width: 0; }
.news-arch__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.news-arch__date {
  font-family: var(--f-hud);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-cat-badge {
  font-family: var(--f-hud);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 999px;
  color: #0c0907;
  background: var(--news-accent);
}
.news-arch__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .3rem;
  color: var(--text);
}
.news-arch:hover .news-arch__title { color: var(--news-accent); }
.news-arch__excerpt {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 880px) {
  .feeds__cols { grid-template-columns: 1fr; }
  .news__archive { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .news-feed-item { grid-template-columns: 84px 1fr; gap: .9rem; }
  .news-feed-item__title { font-size: 1.05rem; }
  .ticker__label { display: none; }
}

/* ------------------------------------------------------ Artikel-Seite */
.article {
  max-width: 720px;
  margin: 0 auto;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--f-hud);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color .2s;
}
.article__back:hover { color: var(--orange); }
.article__back svg { width: 14px; height: 14px; }

.article__header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Cover-Bild auf der Artikelseite (News mit Bild) */
.article__cover { margin: 0 0 2.5rem; }
.article__cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
/* Hochkant-Sportfoto: Ausschnitt auf Kopf/Oberkörper ausrichten */
.article__cover img.is-portrait { object-position: center top; }
.news-feed-item.cat-sport .news-feed-item__img img { object-position: center top; }
/* Logo-Cover (Spiel-Logo statt Foto): einpassen statt beschneiden, auf dunklem Panel */
.article__cover img.is-logo { object-fit: contain; background: #0e1d15; padding: 1.6rem; }
.news-feed-item.cat-gaming .news-feed-item__img img { object-fit: contain; background: #0e1d15; padding: 7px; }
.article__cover figcaption {
  margin-top: .55rem;
  font-family: var(--f-hud);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--muted);
}

.article__kicker {
  font-family: var(--f-hud);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
  display: block;
}

.article__title {
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article__meta {
  font-family: var(--f-hud);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.article__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
}
.article__body h2 {
  font-family: var(--f-head);
  font-size: 1.3rem;
  margin: 2.5rem 0 .75rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.article__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 .5rem;
  color: var(--text);
}
.article__body p { margin-bottom: 1.25rem; }
.article__body ul,
.article__body ol { margin: 0 0 1.25rem 1.5rem; }
.article__body li { margin-bottom: .4rem; }
.article__body strong { color: var(--text); font-weight: 600; }
.article__body blockquote {
  border-left: 3px solid var(--orange);
  padding: .25rem 0 .25rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}
.article__body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ----------------------------------------------------------------- Nav Login */
.nav__user-area { display: flex; align-items: center; margin-left: .5rem; flex-shrink: 0; }

.nav__login-btn {
  display: inline-flex; align-items: center;
  padding: .4rem .45rem;
  border: 1px solid var(--orange);
  border-radius: var(--r-sm);
  font-size: 0;
  color: var(--orange); text-decoration: none;
  transition: background .2s;
}
.nav__login-btn:hover { background: var(--orange); }
.nav__login-btn::before {
  content: ''; display: block; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7A00' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: filter .2s;
}
.nav__login-btn:hover::before { filter: brightness(0) invert(1); }

.nav__user-chip {
  position: relative; display: flex; align-items: center; gap: .5rem;
  padding: .3rem .6rem; border-radius: var(--r-sm);
  cursor: pointer; transition: background .2s;
  user-select: none;
}
.nav__user-chip:hover { background: rgba(255,255,255,.06); }
.nav__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.nav__avatar-placeholder { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--pink)); display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; }
.nav__user-name { font-family: var(--f-hud); font-size: .7rem; letter-spacing: .06em; color: var(--text); }

.nav__user-menu {
  display: none; position: absolute; top: calc(100% + .5rem); right: 0;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-sm);
  min-width: 140px; overflow: hidden; z-index: 200;
}
.nav__user-chip.is-open .nav__user-menu { display: block; }
.nav__user-menu-item {
  display: block; padding: .6rem .9rem;
  font-family: var(--f-hud); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s, background .2s;
}
.nav__user-menu-item:hover { color: var(--orange); background: rgba(255,122,0,.07); }

/* =========================================================================
   THEME · "Dämmerhain" — Resto-Druiden-Hain, Nachtelfen-Stimmung
   Umschaltbar via <html data-theme="hain">. Default-Theme (neon) bleibt
   unberührt, wenn das Attribut fehlt oder data-theme="neon" gesetzt ist.
   ========================================================================= */
html[data-theme="hain"] {
  /* Markenfarben — Orange bleibt der Held, Pink wird Blütenpink */
  --orange: #ff8a2b;
  --pink: #ff5d8f;
  --pink-deep: #ff4f9d;
  --magenta: #e85aa0;

  /* Natur-Akzente */
  --green: #2faa6a;
  --green-bright: #5fd08a;
  --gold: #ffc24a;
  --violet: #9d7bff;
  --teal: #36c6c0;

  /* Flächen — tiefes Waldgrün statt Lila-Schwarz */
  --bg: #07120d;
  --bg-2: #0a1711;
  --panel: #0e1d15;
  --panel-2: #132a1f;
  --panel-3: #1a3527;

  /* Linien & Glas — grünlich */
  --line: rgba(180, 240, 200, 0.09);
  --line-strong: rgba(180, 240, 200, 0.17);
  --glass: rgba(12, 28, 20, 0.60);
  --glass-2: rgba(16, 34, 24, 0.72);

  /* Text — warmweiß */
  --text: #f1f5ee;
  --muted: #aabfae;
  --muted-2: #7d9583;

  /* Verläufe — Blüte/Sonnenaufgang: Orange → Gold → Pink */
  --grad: linear-gradient(100deg, var(--orange), var(--gold) 45%, var(--pink));
  --grad-soft: linear-gradient(100deg, rgba(255, 138, 43, 0.16), rgba(255, 93, 143, 0.16));
  --grad-text: linear-gradient(100deg, #ffd23f, var(--orange) 38%, var(--pink) 80%, #ff8fc0);

  /* Glow */
  --glow-orange: 0 0 28px rgba(255, 138, 43, 0.45);
  --glow-pink: 0 0 28px rgba(255, 93, 143, 0.42);

  /* Schrift — Fraunces für Display, Rajdhani statt Orbitron für Labels/Zahlen */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-hud: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
}

/* ── Hintergrund: Waldlicht statt Sci-Fi ─────────────────────────────────── */
html[data-theme="hain"] .bg {
  background:
    radial-gradient(120% 90% at 50% -15%, rgba(157, 123, 255, 0.16), transparent 60%),
    radial-gradient(90% 70% at 15% 88%, rgba(54, 198, 192, 0.12), transparent 60%),
    radial-gradient(80% 60% at 85% 22%, rgba(255, 180, 70, 0.12), transparent 60%),
    var(--bg);
}
/* Grid → wucherndes Wurzel-/Astwerk (organisch, leicht leuchtend) */
html[data-theme="hain"] .bg__grid {
  background-image: url("/assets/img/hain-roots.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.72;
  filter: drop-shadow(0 0 1.5px rgba(212, 145, 26, 0.45));
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.30) 44%, rgba(0,0,0,0.30) 58%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.30) 44%, rgba(0,0,0,0.30) 58%, #000 100%);
}
/* Orbs → Grün + Nachtelfen-Violett */
html[data-theme="hain"] .bg__orb--1 {
  background: radial-gradient(circle, rgba(255, 155, 40, 0.38), transparent 65%);
}
html[data-theme="hain"] .bg__orb--2 {
  background: radial-gradient(circle, rgba(157, 123, 255, 0.42), transparent 65%);
}
/* Datenstreifen → schwebende, glühende Blüten-Funken */
html[data-theme="hain"] .bg__streaks { opacity: 0.95; }
html[data-theme="hain"] .bg__streaks span {
  width: 9px; height: 9px; left: 18%; top: auto; bottom: 14%;
  background: radial-gradient(circle, rgba(255, 210, 90, 0.95), rgba(255, 138, 43, 0.25) 55%, transparent 72%);
  filter: blur(0.3px) drop-shadow(0 0 9px rgba(255, 185, 70, 0.75));
  animation: hainMote 10s ease-in-out infinite;
}
html[data-theme="hain"] .bg__streaks span:nth-child(2) {
  left: 53%; bottom: 9%; animation-delay: 2.8s;
  background: radial-gradient(circle, rgba(255, 93, 143, 0.95), transparent 70%);
  filter: blur(0.3px) drop-shadow(0 0 9px rgba(255, 93, 143, 0.75));
}
html[data-theme="hain"] .bg__streaks span:nth-child(3) {
  left: 80%; bottom: 18%; animation-delay: 5.2s;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.95), transparent 70%);
  filter: blur(0.3px) drop-shadow(0 0 9px rgba(157, 123, 255, 0.75));
}
@keyframes hainMote {
  0%   { transform: translateY(12px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-140px); opacity: 0; }
}

/* ── Schrift-Feinschliff ─────────────────────────────────────────────────── */
/* Wortmarke in Fraunces */
html[data-theme="hain"] .brand span {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* Große Titel: Fraunces, Satzschreibung statt Versalien */
html[data-theme="hain"] .hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.0;
}
html[data-theme="hain"] .hero__tag {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
html[data-theme="hain"] .section-head h2,
html[data-theme="hain"] .legal h1,
html[data-theme="hain"] .legal h2 {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
/* Nav-Links & Buttons bleiben klares Sans (Rajdhani), nicht Serife */
html[data-theme="hain"] .nav__links a,
html[data-theme="hain"] .btn {
  font-family: var(--f-hud);
}

/* ── Hartkodierte Neon-Pink-Glows → Blüten-/Naturtöne ────────────────────── */
html[data-theme="hain"] .btn {
  box-shadow: 0 8px 28px rgba(255, 93, 143, 0.26);
}
html[data-theme="hain"] .btn:hover {
  box-shadow: 0 14px 38px rgba(255, 93, 143, 0.40);
}
html[data-theme="hain"] .btn--ghost {
  box-shadow: none;
}
html[data-theme="hain"] .btn--ghost:hover {
  border-color: rgba(255, 194, 74, 0.55);
  box-shadow: 0 8px 24px rgba(255, 160, 50, 0.20);
}
html[data-theme="hain"] .hero h1 .grad-text {
  filter: drop-shadow(0 6px 26px rgba(255, 138, 43, 0.30));
}
html[data-theme="hain"] .hero__logo-wrap {
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(255, 155, 40, 0.14), transparent 70%),
    var(--glass);
}
html[data-theme="hain"] .hero__logo-wrap img {
  filter: drop-shadow(0 18px 50px rgba(255, 138, 43, 0.35));
}
html[data-theme="hain"] .hud--pink { --hc: rgba(255, 93, 143, 0.70); }

/* ── Dämmerhain · Farb-Harmonie (Neon-Reste an die Palette angleichen) ───── */
/* Plattform-Kacheln in eine harmonische Tonart bringen */
html[data-theme="hain"] .plat::after { background: radial-gradient(circle, var(--plat-c, rgba(255,93,143,.5)), transparent 60%); }
html[data-theme="hain"] .plat--twitch    { --plat-c: rgba(157,123,255,.55); color: #c5b3ff; }
html[data-theme="hain"] .plat--youtube   { --plat-c: rgba(255,120,60,.50);  color: #ff9a6a; }
html[data-theme="hain"] .plat--discord   { --plat-c: rgba(120,150,255,.50); color: #9fb0ff; }
html[data-theme="hain"] .plat--instagram { --plat-c: rgba(255,93,143,.55);  color: #ff9ccb; }

/* Stats-Band: Pink-Schimmer → warmes Gold */
html[data-theme="hain"] .stats { background: radial-gradient(70% 120% at 50% 0%, rgba(255,194,74,.07), transparent 60%); }

/* XP-Bar-Glow → warmes Orange statt Neon-Pink */
html[data-theme="hain"] .xp__fill { box-shadow: 0 0 16px rgba(255,138,43,.5); }

/* Pillar-Hover → grüner Naturschimmer */
html[data-theme="hain"] .pillar:hover { border-color: rgba(255,194,74,.38); }

/* Live-Pill: Offline-Punkt grünlich, Live-Puls in Blütenpink */
html[data-theme="hain"] .live-pill .dot { background: #6b5a3a; }
html[data-theme="hain"] .live-pill.is-live { border-color: rgba(255,93,143,.55); color: #ffd9e6; }
html[data-theme="hain"] .live-pill.is-live .dot { animation-name: pulseHain; }
@keyframes pulseHain {
  0%   { box-shadow: 0 0 0 0 rgba(255,93,143,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255,93,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,93,143,0); }
}

/* Neues Logo (Spross-Emblem) im Hain-Theme */
html[data-theme="hain"] .brand img { content: url("/assets/img/logo-hain.svg"); }
html[data-theme="hain"] .hero__logo-wrap img { content: url("/assets/img/logo-hain-plain.svg"); width: 70%; margin-inline: auto; }




