/* ── TOKENS — SPORT/ACTION VARIANTE ───────────────────── */
:root {
  --bg:           #F7FAFC;
  --bg2:          #E8F1F7;
  --bg3:          #D9E8F1;
  --bg-dark:      #0B1E2D;
  --ink:          #0C1A24;
  --ink2:         #3A5060;
  --ink3:         #7A96A6;
  --accent:       #0090C1;
  --gold:         #FF6B35;   /* Signal-/Bojen-Orange — ersetzt Gold, sparsam einsetzen */
  --hr:           rgba(0,90,130,0.12);
}

/* ── BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100%; position: relative; }

/* ── LAYOUT ───────────────────────────────────────────── */
.c-bg  { background: var(--bg); }
.c-bg2 { background: var(--bg2); }
.c-bg3 { background: var(--bg3); }
.c-ink { color: var(--ink); }
.c-ink2 { color: var(--ink2); }
.c-ink3 { color: var(--ink3); }
.c-accent { color: var(--accent); }
.c-gold { color: var(--gold); }
.hr-line { height: 1px; background: var(--hr); }

/* ── GRAIN ────────────────────────────────────────────── */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.t-disp {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.t-eye {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink3);
}
.t-body { color: var(--ink2); line-height: 1.65; font-size: 15px; }
/* Nummerierte Eyebrows im Magazin-Stil: <span class="sec-num">01 /</span> */
.sec-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-right: 8px;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-p {
  background: var(--accent); color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 13px 40px; border: none; border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s ease; text-decoration: none;
}
.btn-p:hover {
  background: #007AA6;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(0,124,170,0.55);
}
.btn-s {
  background: rgba(0,144,193,0.12); color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 14px 40px; border: none; border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s ease; text-decoration: none;
}
.btn-s:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.15); color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 14px 40px; border: none; border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s ease; text-decoration: none;
}
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* Shine-Sweep: Lichtstreifen fegt beim Hover schräg über den Button */
.btn-p, .btn-s, .btn-ghost { position: relative; overflow: hidden; }
.btn-p::after, .btn-s::after, .btn-ghost::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
  pointer-events: none;
}
.btn-p:hover::after, .btn-s:hover::after, .btn-ghost:hover::after { left: 130%; }
.link-arrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px solid rgba(0,124,170,0.35);
  padding-bottom: 3px;
  transition: all .25s ease;
}
.link-arrow:hover { border-color: var(--accent); gap: 14px; }

/* ── CARDS ────────────────────────────────────────────── */
.xcard {
  background: #FFFFFF;
  border: 1px solid var(--hr);
  border-left: 4px solid var(--accent);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,90,130,0.07);
  transition: transform .3s cubic-bezier(0.22,1,0.36,1), box-shadow .3s ease, border-color .3s ease;
}
.xcard:hover {
  transform: translateY(-6px);
  border-left-color: var(--gold);
  box-shadow: 0 16px 44px rgba(0,90,130,0.16);
}
.card-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent);
}
.card-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05; color: var(--ink);
}
.card-img-wrap { overflow: hidden; position: relative; }
.card-img-wrap img { transition: transform .5s cubic-bezier(0.22,1,0.36,1); display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.card-labels {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; flex-wrap: wrap; z-index: 2;
}
.card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.95);
  background: rgba(11,30,45,0.78);
  border-radius: 2px; padding: 4px 8px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.xcard:hover .card-img-wrap img { transform: scale(1.08); }

/* ── DARK SECTION ─────────────────────────────────────── */
.dark-section { background: var(--bg-dark); }
.dark-section .t-body,
.dark-section .t-eye { color: rgba(240,248,252,0.6); }
.dark-section .c-ink { color: #F0EDE8; }
.dark-section .xcard { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); border-left: 4px solid var(--accent); box-shadow: none; }
.dark-section .xcard:hover { background: rgba(255,255,255,0.10); border-left-color: var(--gold); }
.dark-section .card-h { color: #F0EDE8; }

/* ── NAV ──────────────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-radius: 0;
  border: 1px solid transparent;
  transition:
    background .5s ease,
    box-shadow .5s ease,
    border-color .5s ease,
    border-radius .55s cubic-bezier(.4,0,.2,1),
    left      .55s cubic-bezier(.4,0,.2,1),
    right     .55s cubic-bezier(.4,0,.2,1),
    top       .55s cubic-bezier(.4,0,.2,1);
}
#main-nav.scrolled {
  left: max(12px, calc(50% - 640px));
  right: max(12px, calc(50% - 640px));
  top: 12px;
  border-radius: 4px;
  padding: 12px;
  background: rgba(0,108,150,0.72);
  backdrop-filter: blur(10px) saturate(180%) brightness(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(1.04);
  box-shadow:
    0 16px 64px rgba(0,90,130,0.35),
    0 4px 20px  rgba(0,90,130,0.20),
    inset 0 -1px 0 rgba(0,90,130,0.15);
  border: 1px solid rgba(255,255,255,0.35);
}
.nav-link {
  display: inline-flex; align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .3s ease;
}
.nav-link:hover { color: #fff; }
#main-nav.scrolled > div { height: auto; max-width: none; }

/* ── NAV LOGO & BUTTON ────────────────────────────────── */
#nav-logo { height: 42px !important; }
/* Nav-Button: Signal-Orange für Kontrast auf dem blauen Header, gerade Form (Parallelogramm wirkt zu klein) */
#main-nav .btn-p {
  border: none;
  box-shadow: none;
  background: var(--gold);
  color: #0C1A24;
  clip-path: none;
  border-radius: 2px;
}
#main-nav .btn-p:hover {
  background: #E85A24;
  color: #0C1A24;
  box-shadow: 0 10px 24px -6px rgba(255,107,53,0.5);
}
#main-nav.scrolled .nav-link { color: rgba(255,255,255,0.88); }
#main-nav.scrolled .nav-link:hover { color: #fff; }

/* ── STAT BLOCK ───────────────────────────────────────── */
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
}

/* ── PARTNER LOGOS ────────────────────────────────────── */
.partner-logo {
  filter: grayscale(20%);
  opacity: 0.65;
  mix-blend-mode: multiply;
  transition: opacity .3s ease, filter .3s ease;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* ── AVATAR ───────────────────────────────────────────── */
.avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 2rem;
  flex-shrink: 0; border: 2px solid rgba(0,124,170,0.25);
}

/* ── SOCIAL ICONS ─────────────────────────────────────── */
.social-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(0,124,170,0.25);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink3);
  transition: all .25s ease;
  text-decoration: none;
}
.social-icon:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.dark-section .social-icon { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); }
.dark-section .social-icon:hover { border-color: var(--accent); color: #fff; }

/* ── NAV DROPDOWN ─────────────────────────────────────── */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: var(--bg); border: 1px solid var(--hr);
  border-radius: 4px; box-shadow: 0 8px 32px rgba(0,90,130,0.14);
  min-width: 230px; padding: 7px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200; list-style: none;
}
/* Unsichtbare Brücke über die 12px-Lücke, damit der Hover beim Runterwandern nicht abreißt */
.nav-dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 9px 16px; border-radius: 3px;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink2); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover { color: var(--accent); background: rgba(0,124,170,0.12); }
.nav-caret {
  display: inline-block; font-size: 8px; line-height: 1;
  transition: transform 0.2s; vertical-align: middle; margin-left: 3px;
}
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* ── SPRACHUMSCHALTER ─────────────────────────────────── */
.lang-switch .lang-btn {
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-dropdown { left: auto; right: 0; min-width: 172px; }   /* rechtsbündig statt -16px links */
.lang-dropdown a { display: flex; align-items: center; gap: 10px; letter-spacing: 0.1em; }
.lang-dropdown a b { color: var(--accent); font-weight: 600; min-width: 22px; }
.lang-dropdown a.lang-active { background: rgba(0,144,193,0.10); color: var(--accent); }
/* Mobile: kompakte Code-Reihe am Menüende */
.lang-row { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.1); }
.lang-row a {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: color 0.2s;
}
.lang-row a:hover { color: rgba(255,255,255,0.9); }
.lang-row a.lang-active { color: #fff; font-weight: 600; }

.mobile-subnav-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center;
}
.mobile-subnav {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease; padding-left: 16px;
}
.mobile-subnav.open { max-height: 300px; }
.mobile-subnav a {
  display: block; padding: 7px 0;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s;
}
.mobile-subnav a:hover { color: rgba(255,255,255,0.9); }

/* ── SLIDER ───────────────────────────────────────────── */
.slider-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
  padding: 16px 0 56px;
}
.slider-track:active { cursor: grabbing; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track .xcard { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
.slider-controls {
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.slider-btn {
  width: 40px; height: 40px; border-radius: 3px;
  border: 1px solid var(--hr); background: #fff; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s; flex-shrink: 0;
}
.slider-btn:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--bg3); transition: all 0.3s;
  cursor: pointer; border: none; padding: 0;
}
.slider-dot.active { background: var(--accent); width: 22px; }
@media (min-width: 640px) and (max-width: 767px) {
  .slider-track .xcard { flex: 0 0 calc((100% - 24px) / 2.2); }
}
@media (min-width: 768px) {
  .slider-track {
    overflow-x: auto; flex-wrap: nowrap;
    scroll-snap-type: x mandatory; cursor: default;
  }
  .slider-track .xcard {
    flex: 0 0 calc((100% - 60px) / 3.5); min-width: 0;
  }
  .slider-controls { display: flex; }
}

/* ── MARQUEE (Laufband unter dem Hero) ────────────────── */
.marquee {
  overflow: hidden;
  background: var(--bg-dark);
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  padding: 13px 0;
}
.marquee-track .marquee-sep {
  color: var(--gold);
  padding: 13px 26px;
  font-size: 0.85em;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── WATERMARK-NUMMERN (Sportmagazin-Stil) ────────────── */
.sec-watermark {
  position: absolute;
  top: 24px; right: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(9rem, 20vw, 17rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0,124,170,0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.dark-section .sec-watermark,
.grain .sec-watermark {
  -webkit-text-stroke-color: rgba(255,255,255,0.08);
}
@media (max-width: 767px) {
  .sec-watermark { display: none; }
}

/* ── DIAGONALE SEKTIONSKANTEN ─────────────────────────── */
.clip-diag {
  clip-path: polygon(0 min(3.5vw, 56px), 100% 0, 100% calc(100% - min(3.5vw, 56px)), 0 100%);
  /* Keile sind transparent — Nachbarsektionen dahinter ziehen, damit kein Body-Weiß durchscheint */
  margin-top: calc(-1 * min(3.5vw, 56px));
  margin-bottom: calc(-1 * min(3.5vw, 56px));
  position: relative;
  z-index: 1;
}
.clip-diag-top {
  clip-path: polygon(0 min(3.5vw, 56px), 100% 0, 100% 100%, 0 100%);
}
.clip-diag-btm {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - min(3.5vw, 56px)), 0 100%);
}

/* ── HERO ENTRANCE ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim { animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both; }

/* ── REVEAL ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left {
  opacity: 0; transform: translateX(-34px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right {
  opacity: 0; transform: translateX(34px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.reveal-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; transition: none;
  }
  .hero-anim { animation: none; }
  .marquee-track { animation: none; }
  .btn-p::after, .btn-s::after, .btn-ghost::after { transition: none; display: none; }
}
