/* ============================================
   Virtual Victory League — Design System
   ============================================ */

:root {
  /* Farben */
  --bg: #ffffff;
  --bg-alt: #f3fbf6;
  --bg-dark: #0a0f0c;
  --bg-dark-alt: #101712;

  --text: #0d1512;
  --text-dim: #5b6a63;
  --text-inverse: #f2fff8;
  --text-inverse-dim: #9fb3a8;

  --green: #00e676;
  --green-dark: #00b85c;
  --green-light: #7dffb8;
  --green-glow: rgba(0, 230, 118, 0.35);

  /* Reserved exclusively for the "eliminated" tournament-table state */
  --red: #ef4444;
  --red-dark: #dc2626;
  --red-bg: rgba(239, 68, 68, 0.08);

  --border: rgba(13, 21, 18, 0.09);
  --border-dark: rgba(242, 255, 248, 0.12);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* space for the fixed sponsor ticker so it never covers real content */
  padding-bottom: 76px;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 56px;
  }
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

/* ============================================
   Nav
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease), padding 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}

@media (max-width: 760px) {
  .nav.is-scrolled {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #051a0d;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 6px 18px var(--green-glow);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav__cta {
  background: var(--text);
  color: var(--text-inverse);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease);
}

.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile a {
  font-size: 26px;
  font-weight: 700;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 100px;
  background: radial-gradient(
      ellipse 900px 500px at 50% -10%,
      var(--green-glow),
      transparent 60%
    ),
    var(--bg);
  overflow: hidden;
}

@media (max-width: 760px) {
  /* On short mobile content, justify-content:center leaves a gap above
     .hero__top (plain .hero background, no video) before the nav — since
     the video is meant to be visible all the way behind the header, pin
     .hero__top to the very top instead of letting it float centered. */
  .hero {
    justify-content: flex-start;
  }
}

/* Wraps eyebrow/h1/sub/actions only (not .hero__showcase below it) so the
   background video can be clipped to exactly this region — from the very
   top of the page (behind the fixed nav) through the two CTA buttons.
   padding-top lives here instead of on .hero itself so the video (inset:0,
   positioned against this element's padding box) extends underneath the
   nav-clearance space too, not just the visible text area. */
.hero__top {
  position: relative;
  padding-top: 140px;
  padding-bottom: 64px;
}

/* Breaks out of .container's max-width to span the full viewport, while
   .hero__top itself (and the text within it) stays at the normal
   container width. left:50% + width:100vw + translateX(-50%) re-centers
   a box that's wider than its own parent. */
.hero__bg-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  /* Replaced elements like <video> can compute an "auto" height from their
     intrinsic aspect ratio instead of stretching to fill top:0/bottom:0 —
     forcing height:100% is what makes it actually reach the bottom of
     .hero__top (i.e. all the way through the CTA buttons). */
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  z-index: 0;
  /* Full-bleed edge to edge, so only the bottom corners (where the video
     meets the content below) are ever visible — top/left/right sit flush
     with the viewport, where rounding wouldn't show anyway. */
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: url("../assets/hero-bg-poster.jpg?v=3") center/cover;
}

.hero__bg-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  /* One flat, uniform layer across the entire video — no radial "spotlight"
     fade, so every part of the video (center and edges alike) gets the
     same amount of coverage. A thin dark wash is blended under the white
     so the result reads as a slightly darkened tint, not pure bright
     white. */
  background: linear-gradient(rgba(10, 15, 12, 0.16), rgba(10, 15, 12, 0.16)),
    rgba(255, 255, 255, 0.5);
  /* Video is briefly visible at full clarity on load, then the overlay
     fades in to its designed opacity over 1.1s. */
  opacity: 0;
  animation: heroOverlayReveal 1.1s ease-out forwards;
}

@keyframes heroOverlayReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero__top > .hero__eyebrow,
.hero__top > h1,
.hero__top > .hero__sub,
.hero__top > .hero__actions {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-video {
    display: none;
  }
  .hero__bg-overlay {
    animation: none;
    opacity: 1;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.12);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  width: fit-content;
}

.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}

.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.hero h1 .accent {
  color: var(--green-dark);
}

.hero__dot-wrap {
  white-space: nowrap;
}

.hero__dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--green-dark);
  vertical-align: 0.02em;
}

.hero__sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
}

.hero__actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Homepage hero over the background video only (.hero__top only exists on
   index.html): the subtitle needs to be dark + bold for contrast against
   the video, and the buttons sit a bit closer beneath it. */
.hero__top .hero__sub {
  color: var(--text);
  font-weight: 800;
}

.hero__top .hero__actions {
  margin-top: 26px;
}

.hero__showcase {
  margin-top: 64px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero__visual {
  flex-shrink: 0;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a0f0c 0%, #123020 55%, #00b85c 130%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__showcase-info {
  flex: 1;
  min-width: 0;
  padding-top: 28px;
}

.hero__claim {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-dim);
}

.hero__claim-sub {
  margin-top: 24px;
  font-size: clamp(52px, 6.6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--green-dark);
}

@media (max-width: 900px) {
  .hero__showcase {
    flex-direction: column;
    gap: 28px;
  }
  .hero__showcase-info {
    order: -1;
    padding-top: 0;
  }
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(125, 255, 184, 0.35),
    transparent 55%
  );
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__visual-label {
  position: relative;
  z-index: 2;
  color: var(--text-inverse-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border-dark);
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.btn-primary {
  background: var(--green);
  color: #051a0d;
  box-shadow: 0 10px 30px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--green-glow);
  background: var(--green-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--text-inverse);
  color: #051a0d;
}

.btn-dark:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* ============================================
   Sections generic
   ============================================ */

.section {
  padding: 120px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section--dark .text-dim {
  color: var(--text-inverse-dim);
}

.section-head {
  max-width: 620px;
  margin-bottom: 64px;
}

.section-eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section--dark .section-eyebrow {
  color: var(--green);
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-head p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 17px;
}

/* ============================================
   Stats bar
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  background: var(--bg-dark-alt);
  padding: 40px 24px;
  text-align: center;
}

.stat__num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-inverse-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================
   Cards / grid
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 21, 18, 0.08);
}

.steps-grid .card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.steps-grid .card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 20px 44px rgba(0, 230, 118, 0.22), 0 0 0 1px var(--green) inset;
}

.card__media {
  height: 190px;
  background: linear-gradient(135deg, #0f2419, #00b85c 140%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  transition: transform 0.35s var(--ease);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.steps-grid .card:hover .card__icon {
  transform: translateY(-4px) scale(1.05);
}

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card__body {
  padding: 24px;
}

.card__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card__body p {
  color: var(--text-dim);
  font-size: 14.5px;
}

.card__meta {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ============================================
   CTA band
   ============================================ */

.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a0f0c, #123020 60%, #00713b);
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--text-inverse);
}

.cta-band h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 480px;
}

.cta-band p {
  margin-top: 12px;
  color: var(--text-inverse-dim);
  max-width: 440px;
}

/* ============================================
   Forms
   ============================================ */

.form {
  max-width: 640px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-subhead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 40px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.form-subhead:first-of-type {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}

.form-subhead__num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: #051a0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--bg);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.form-hint--error {
  color: var(--red);
}

.form-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: var(--green-dark);
}

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

/* ============================================
   Anmeldung layout + Vereins-Auswahl
   ============================================ */

.anmeldung-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.form-row--team-select {
  position: relative;
  z-index: 20;
}

.team-select {
  position: relative;
}

.team-select input#verein {
  cursor: pointer;
  padding-left: 44px;
}

.team-select__crest {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 24px;
  display: flex;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.team-select__crest img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.team-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(13, 21, 18, 0.15);
  overflow: hidden;
}

.team-select__search {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-alt);
}

.team-select__search:focus {
  outline: none;
}

.team-select__list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.team-option-group__label {
  padding: 10px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.team-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.team-option[hidden],
.team-option-group__label[hidden] {
  display: none;
}

.team-option:hover {
  background: var(--bg-alt);
}

.team-option__crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-option__name {
  flex: 1;
}

.team-option__badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 999px;
}

.team-option.is-taken {
  opacity: 0.45;
  cursor: not-allowed;
}

.team-option.is-taken:hover {
  background: none;
}

.team-preview {
  width: 260px;
  flex-shrink: 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
  position: sticky;
  top: 120px;
}

.team-preview__empty {
  font-size: 13.5px;
  color: var(--text-dim);
}

.team-preview__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.team-preview__name {
  font-weight: 800;
  font-size: 16px;
}

.team-preview__league {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .anmeldung-layout {
    flex-direction: column;
  }
  .team-preview {
    width: 100%;
    position: static;
  }
}

/* ============================================
   Registration flow (Anmeldung → Prüfen → Bezahlen → Bestätigung)
   ============================================ */

.event-info-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: var(--text-inverse);
  margin-bottom: 48px;
}

.event-info-card__brand {
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  margin-right: 4px;
}

.event-info-card span {
  font-size: 13.5px;
  color: var(--text-inverse-dim);
  white-space: nowrap;
}

.event-info-card span strong {
  color: var(--text-inverse);
  font-weight: 700;
}

.event-info-card__fee {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.event-info-card__fee strong {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

/* --- Progress stepper --- */

.flow-progress {
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}

.flow-progress__step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}

.flow-progress__num {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 800;
  background: var(--bg-alt);
  color: var(--text-dim);
  border: 1.5px solid var(--border);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.flow-progress__digit,
.flow-progress__check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.flow-progress__check {
  opacity: 0;
  transform: scale(0.5);
  width: 14px;
  height: 14px;
  margin: auto;
}

.flow-progress__label {
  font-size: 13px;
  font-weight: 700;
  display: none;
}

.flow-progress__connector {
  position: relative;
  flex: 1;
  height: 1.5px;
  background: var(--border);
  margin: 0 10px;
  overflow: hidden;
}

.flow-progress__connector-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--green);
  transition: width 0.5s var(--ease);
}

@keyframes flowStepPop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

.flow-progress__step.is-active .flow-progress__num {
  background: var(--green);
  border-color: var(--green);
  color: #051a0d;
  animation: flowStepPop 0.45s var(--ease);
}

.flow-progress__step.is-active .flow-progress__label {
  color: var(--text);
}

.flow-progress__step.is-done .flow-progress__num {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--green);
}

.flow-progress__step.is-done .flow-progress__digit {
  opacity: 0;
  transform: scale(0.5);
}

.flow-progress__step.is-done .flow-progress__check {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 640px) {
  .flow-progress__label {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-progress__step.is-active .flow-progress__num {
    animation: none;
  }
  .flow-progress__digit,
  .flow-progress__check,
  .flow-progress__connector-fill {
    transition: none;
  }
}

/* --- Steps --- */

.flow-step {
  animation: flowStepIn 0.4s var(--ease);
}

@keyframes flowStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step {
    animation: none;
  }
}

/* --- Checkboxes --- */

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Step 2: Summary --- */

.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.summary-card__section {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.summary-card__section:last-child {
  border-bottom: none;
}

.summary-card__section h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 14.5px;
}

.summary-row dt {
  color: var(--text-dim);
}

.summary-row dd {
  font-weight: 700;
  text-align: right;
}

.price-breakdown {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.price-breakdown__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-inverse-dim);
  padding: 6px 0;
}

.price-breakdown__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  font-size: 20px;
  font-weight: 800;
}

.price-breakdown__total span:last-child {
  color: var(--green);
}

.confirm-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(0, 230, 118, 0.08);
  border: 1px dashed var(--green);
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.flow-step__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Step 3: Payment --- */

.reservation-timer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.reservation-timer__bar-track {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.reservation-timer__bar-fill {
  height: 100%;
  width: 100%;
  background: var(--green);
  transform-origin: left;
}

.reservation-timer__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reservation-timer__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-dim);
}

.reservation-timer__value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.reservation-timer__tag {
  font-weight: 800;
  color: var(--red);
}

@keyframes reservationPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.reservation-timer.is-urgent {
  border-color: var(--red);
  background: var(--red-bg);
  color: var(--red);
  animation: reservationPulse 1s var(--ease) infinite;
}

.reservation-timer.is-urgent .reservation-timer__value {
  color: var(--red);
}

.reservation-timer.is-urgent .reservation-timer__icon {
  color: var(--red);
}

.reservation-timer.is-urgent .reservation-timer__bar-fill {
  background: var(--red);
}

.reservation-timer.is-critical {
  animation-duration: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .reservation-timer.is-urgent,
  .reservation-timer.is-critical {
    animation: none;
  }
  .reservation-timer__bar-fill {
    transition: none !important;
  }
}

.payment-method-tiles {
  display: grid;
  /* auto-fit statt fester Spaltenzahl: Apple Pay/Google Pay sind bis zur
     erkannten Verfügbarkeit per [hidden] ausgeblendet — die übrigen
     Kacheln sollen die Reihe dann gleichmäßig ausfüllen statt Lücken zu
     lassen. */
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--text-dim);
  border: 1.5px solid var(--border);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.payment-method-tile__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.payment-method-tile__icon svg {
  width: 100%;
  height: 100%;
}

.payment-method-tile__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.payment-method-tile:hover {
  border-color: var(--green);
  color: var(--text);
}

.payment-method-tile.is-active {
  background: var(--green);
  color: var(--text-inverse);
  border-color: var(--green);
}

@media (max-width: 640px) {
  .payment-method-tiles {
    grid-template-columns: 1fr;
  }
}

.payment-panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
}

.payment-panel__buttons {
  max-width: 320px;
  margin: 0 auto;
}

.payment-panel p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.payment-state {
  text-align: center;
  padding: 40px;
}

.payment-state__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.payment-state--error .payment-state__icon {
  background: var(--red-bg);
  color: var(--red);
}

.payment-state--processing .payment-state__icon {
  background: var(--green-light);
  color: var(--green-dark);
  border: 3px solid var(--green);
  border-top-color: transparent;
  animation: paymentSpin 0.8s linear infinite;
}

@keyframes paymentSpin {
  to { transform: rotate(360deg); }
}

.payment-state h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.payment-state p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
}

/* --- Step 4: Confirmation --- */

.confirmation {
  text-align: center;
  padding: 56px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a0f0c 0%, #123020 55%, #00713b 130%);
  color: var(--text-inverse);
}

.confirmation__emoji {
  font-size: 44px;
  margin-bottom: 16px;
}

.confirmation h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.confirmation p {
  color: var(--text-inverse-dim);
  font-size: 15.5px;
  max-width: 480px;
  margin: 0 auto 8px;
}

.confirmation-details {
  margin: 32px auto 0;
  max-width: 380px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.confirmation-details .summary-row {
  border-bottom: 1px solid var(--border-dark);
}

.confirmation-details .summary-row:last-child {
  border-bottom: none;
}

.confirmation-details .summary-row dt {
  color: var(--text-inverse-dim);
}

.confirmation-details .summary-row dd {
  color: var(--text-inverse);
}

/* ============================================
   Rückblick page (past events)
   ============================================ */

.event-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.event-row:first-child {
  padding-top: 48px;
}

.event-row:last-child {
  border-bottom: none;
  padding-bottom: 48px;
}

.event-row:nth-child(even) {
  flex-direction: row-reverse;
}

.event-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 24px;
}

.event-row__index {
  flex-shrink: 0;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: var(--bg-alt);
  -webkit-text-stroke: 1.5px var(--border);
}

.event-row__body {
  min-width: 0;
}

.event-badge {
  display: inline-block;
  background: rgba(0, 230, 118, 0.14);
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.event-row__body h3 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.event-row__body p {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 28px;
}

.event-row__embed {
  flex-shrink: 0;
  width: 400px;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.event-row__embed iframe {
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  .event-row,
  .event-row:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 64px 0;
  }
  .event-row__embed {
    width: 100%;
  }
  .event-row__body p {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .event-row__index {
    display: none;
  }
}

/* ============================================
   Rules page
   ============================================ */

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rule-item {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
}

.rule-item:last-child {
  border-bottom: 1px solid var(--border);
}

.rule-item__num {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
}

.rule-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rule-item p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ============================================
   FAQ (Startseite)
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  background: var(--bg);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--green);
}

.faq-item[open] {
  background: var(--bg-alt);
  border-color: var(--green);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item p a {
  color: var(--green-dark);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}

.todo-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 230, 118, 0.15);
  color: var(--green-dark);
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ============================================
   Contact page
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.14);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.contact-card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: var(--text-inverse-dim);
  padding: 72px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .nav__logo {
  color: var(--text-inverse);
}

.footer__brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.footer__cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--green);
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ============================================
   Brand logo (nav / dark sections) + glow
   ============================================ */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__img {
  height: 30px;
  width: auto;
  display: block;
}

.brand--chip {
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

.brand--chip:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 16px var(--green-glow));
}

.brand--chip .brand__img {
  height: 84px;
}

.brand--large .brand__img {
  height: clamp(56px, 9vw, 96px);
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 0 rgba(0, 230, 118, 0));
  }
  50% {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 18px rgba(0, 230, 118, 0.55));
  }
}

/* Feste, dunkle Kontrastschatten sorgen dafür, dass der helle Schriftzug
   im Logo (v. a. "LEAGUE" in Weiß) auf dem hellen Nav-Hintergrund lesbar
   bleibt, seit die dunkle Chip-Box dahinter entfernt wurde. */
.logo-glow {
  animation: logoGlow 3.4s ease-in-out infinite;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

@media (prefers-reduced-motion: reduce) {
  .logo-glow {
    animation: none;
  }
}

/* ============================================
   Partner / sponsor marquee
   ============================================ */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
  .marquee__track {
    animation: none;
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 30px;
  min-width: 190px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.partner-card img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.partner-card span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============================================
   Sponsor ticker (infinite marquee, footer strip)
   ============================================ */

.sponsor-ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 28px rgba(13, 21, 18, 0.1);
}

.sponsor-ticker__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sponsor-ticker__head {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.3;
  max-width: 120px;
}

.sponsor-ticker__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 40px;
}

/* Weicher Rand-Ausblendeffekt über Farbverlauf-Overlays statt mask-image —
   mask-image zwingt mobile Browser oft in teures Software-Compositing und
   lässt die darunter laufende Transform-Animation ruckeln. */
.sponsor-ticker__viewport::before,
.sponsor-ticker__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 1;
  pointer-events: none;
}

.sponsor-ticker__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.sponsor-ticker__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, transparent);
}

.sponsor-ticker__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: sponsorTickerScroll 28s linear infinite;
}

.sponsor-ticker__viewport:hover .sponsor-ticker__track {
  animation-play-state: paused;
}

@keyframes sponsorTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.sponsor-ticker__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.9;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.sponsor-ticker__item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.sponsor-ticker__item img {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

@media (max-width: 760px) {
  .sponsor-ticker__inner {
    padding: 10px 20px;
    gap: 14px;
  }
  .sponsor-ticker__head {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .sponsor-ticker__viewport {
    height: 28px;
  }
  .sponsor-ticker__viewport::before,
  .sponsor-ticker__viewport::after {
    width: 20px;
  }
  .sponsor-ticker__track {
    gap: 32px;
    animation-duration: 20s;
  }
  .sponsor-ticker__item img {
    height: 22px;
    max-width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-ticker__track {
    animation: none;
  }
  .sponsor-ticker__viewport {
    overflow-x: auto;
  }
}

/* ============================================
   Turniersystem / Bracket
   ============================================ */

.bracket {
  position: relative;
  margin-top: 8px;
}

/* ============================================
   Zonen-Leiste (Turniersystem-Übersicht, ersetzt die frühere Platzhalter-Tabelle)
   ============================================ */

.zone-bar {
  margin-bottom: 48px;
}

.zone-bar__hero {
  text-align: center;
  margin-bottom: 4px;
  transform-origin: center top;
}

.zone-bar__hero-num {
  display: block;
  font-size: clamp(72px, 13vw, 148px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
}

.zone-bar__hero-label {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.zone-bar__track {
  display: flex;
  gap: 3px;
  height: 132px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.zone-bar__segment {
  width: 0%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 6px;
  text-align: center;
  overflow: hidden;
}

.zone-bar__segment--direct {
  background: linear-gradient(135deg, var(--green), var(--green-dark) 140%);
}

.zone-bar__segment--playoff {
  background: var(--green-dark);
}

.zone-bar__segment--challenger {
  background: linear-gradient(135deg, #0a0f0c 0%, #123020 55%, #00713b 130%);
}

.zone-bar__segment--out {
  background: var(--red);
}

.zone-bar__count {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zone-bar__range {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.zone-bar__label {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .zone-bar__track {
    flex-direction: column;
    height: auto;
  }

  .zone-bar__segment {
    width: 100% !important;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
  }

  .zone-bar__label {
    white-space: normal;
  }

  .zone-bar__pulse {
    height: 40px;
  }
}

.zone-bar__pulse {
  position: relative;
  height: 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.zone-bar__pulse-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background: linear-gradient(var(--green), transparent);
}

.zone-bar__pulse-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px 2px rgba(0, 200, 100, 0.65);
  opacity: 0;
}

.bracket-paths {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.bracket-path__label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.bracket-path--challenger .bracket-path__label {
  color: var(--text);
}

/* ============================================
   Turnierweg als echtes K.-o.-Bracket (UEFA/FIFA-Stil)
   ============================================ */

.uefa-bracket {
  position: relative;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  overflow-x: auto;
}

.uefa-bracket__rounds {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 42px;
  height: 460px;
  width: max-content;
}

.uefa-bracket__round {
  display: flex;
  flex-direction: column;
  width: 96px;
  flex-shrink: 0;
}

.uefa-bracket__round--champion {
  width: 64px;
}

.uefa-bracket__header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 14px;
  white-space: nowrap;
}

.uefa-bracket__matches {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.uefa-match {
  width: 96px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translateX(-6px);
}

.uefa-slot {
  height: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uefa-slot:last-child {
  border-bottom: none;
}

.uefa-slot--bye {
  background: var(--green);
}

.uefa-match--final {
  border-color: rgba(0, 230, 118, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.2);
}

.uefa-match--final .uefa-slot {
  height: 27px;
}

.uefa-bracket__round--champion {
  align-items: center;
  justify-content: center;
}

.uefa-bracket__round--champion .uefa-bracket__header {
  margin-bottom: 14px;
}

.uefa-bracket__champion {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  opacity: 0;
  transform: scale(0.5);
  box-shadow: 0 0 0 6px rgba(0, 230, 118, 0.14);
}

.uefa-bracket__champion svg {
  width: 24px;
  height: 24px;
  color: #051a0d;
}

.uefa-bracket__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.uefa-bracket__lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
}

.bracket-path--challenger .uefa-bracket__lines path {
  stroke: rgba(0, 230, 118, 0.3);
}

.uefa-bracket__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

.uefa-bracket__note-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  margin-right: 2px;
  vertical-align: middle;
}

@media (max-width: 760px) {
  .uefa-bracket {
    padding: 24px 18px;
  }
  .uefa-bracket__rounds {
    height: 400px;
  }
}

.bracket-actions {
  text-align: center;
  margin-top: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .zone-bar__segment {
    opacity: 1;
  }
  .zone-bar__hero {
    transform: none;
  }
  .zone-bar__pulse-line,
  .zone-bar__pulse-dot {
    display: none;
  }
  .uefa-match {
    opacity: 1;
    transform: none;
  }
  .uefa-bracket__champion {
    opacity: 1;
    transform: none;
  }
}
/* ============================================
   Reveal animation fallback (no-JS / reduced motion)
   ============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-ready [data-reveal] {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__mobile {
    display: flex;
  }
  .hero {
    padding-top: 120px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 0;
  }
  .cta-band {
    padding: 48px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row--split {
    grid-template-columns: 1fr;
  }
  .rule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer__top {
    flex-direction: column;
  }
}
