/* ==========================================================================
   ROS · Rematch Open Series
   Dunkles Stadion-Design. Farben und Schriften als Variablen, damit sich
   alles an einer Stelle ändern lässt.
   ========================================================================== */

/* Schriften liegen lokal im Ordner /assets/fonts (kein Google-Aufruf, DSGVO-freundlich). */
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #0B1020;
  --surface: #161D33;
  --surface-2: #1D2644;
  --line: #2A3558;
  --fg: #F2F5FF;
  --text: #C5CCDF;
  --muted: #8A94B2;
  --lime: #B6FF3B;
  --coral: #FF5A3C;
  --cyan: #2EE6FF;
  --on-lime: #0B1020;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 3px; }

.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Typografie ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; margin: 0; line-height: .95; text-wrap: balance; }
h2 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 900; }
h3 { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.eyebrow { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 62ch; font-size: 18px; margin: 18px 0 0; }
section { padding-block: 84px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head.row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.more { margin: 28px 0 0; }
.textlink { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 16px; color: var(--lime); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.textlink:hover { color: var(--fg); border-color: var(--fg); }

/* Navigation ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.logo { font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: .04em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo i { width: 12px; height: 12px; background: var(--lime); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 25%, transparent); }
.menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 3px; padding: 3px; }
.lang svg { margin: 0 4px 0 6px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang a { font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; font-size: 14px; line-height: 1; padding: 7px 8px; border-radius: 2px; text-decoration: none; color: var(--muted); min-width: 32px; text-align: center; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--lime); color: var(--on-lime); }
.menu a { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 16px; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--fg); }
.menu a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--lime); }
.menu .menu-cta { background: var(--lime); color: var(--on-lime); padding: 8px 18px; border-radius: 3px; border-bottom: 0; }
.menu .menu-cta:hover { color: var(--on-lime); background: var(--fg); }
.menu .menu-cta[aria-current="page"] { background: var(--fg); color: var(--on-lime); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle b { display: block; width: 20px; height: 2px; background: var(--fg); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] b:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] b:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] b:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero, .subhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero { padding-block: 72px 64px; }
.subhero { padding-block: 64px 56px; }
.hero::after, .subhero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 420px at 85% -10%, #1B1238 0%, transparent 70%); }
.pitch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.pitch * { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero .wrap, .subhero .wrap { position: relative; z-index: 1; }
.hero h1 { font-weight: 900; font-size: clamp(54px, 11.5vw, 148px); }
.hero h1 span { display: block; }
.hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.hero h1 .small { font-size: .46em; letter-spacing: .06em; color: var(--muted); margin-bottom: .18em; }
.hero p.sub { max-width: 58ch; color: var(--text); font-size: 19px; margin: 26px 0 0; }
.subhero h1 { font-weight: 900; font-size: clamp(52px, 9vw, 104px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 17px; padding: 14px 26px; border-radius: 3px; text-decoration: none; display: inline-block; border: 2px solid var(--lime); cursor: pointer; background: none; color: var(--lime); transition: transform .15s ease, background .15s ease; }
.btn.primary { background: var(--lime); color: var(--on-lime); }
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost:hover { background: color-mix(in srgb, var(--lime) 12%, transparent); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 82%, transparent); }
.fact { padding: 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; }
.fact span { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--muted); }

/* Saisontrichter --------------------------------------------------------- */
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage { background: var(--surface); border: 1px solid var(--line); padding: 26px 24px 24px; position: relative; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band .stage { background: var(--bg); }
.stage:not(:last-child)::after { content: ""; position: absolute; right: -17px; top: 50%; width: 18px; height: 18px; z-index: 2; border-top: 3px solid var(--lime); border-right: 3px solid var(--lime); transform: translateY(-50%) rotate(45deg) scale(.7); }
.stage .num { font-family: var(--font-display); font-weight: 900; font-size: 88px; line-height: .85; color: var(--lime); }
.stage .num small { font-size: 22px; color: var(--muted); letter-spacing: .08em; margin-left: 6px; font-weight: 700; }
.stage .name { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--muted); }
.stage p { margin: 0; color: var(--text); font-size: 16px; }
.stage.final { background: var(--lime); border-color: var(--lime); }
.stage.final .num, .stage.final .name, .stage.final p { color: var(--on-lime); }
.stage.final .num small { color: var(--on-lime); }
.badge { align-self: flex-start; font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; padding: 3px 10px; border: 1px solid var(--cyan); color: var(--cyan); }
.badge.bo5 { border-color: var(--coral); color: var(--coral); }
.stage.final .badge { border-color: var(--on-lime); color: var(--on-lime); }
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.grp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.grp i { height: 9px; background: var(--line); display: block; }
.grp i.up { background: var(--lime); }
.grp-note { font-family: var(--font-label); font-size: 14px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* Karten und Call-to-Action --------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); padding: 28px 26px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--lime); transform: translateY(-3px); }
.card-k { font-family: var(--font-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--cyan); }
.card h3 { font-size: 32px; }
.card p { margin: 0; color: var(--text); font-size: 16px; }
.card-go { margin-top: auto; padding-top: 8px; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--lime); }
.cta-panel { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-left: 6px solid var(--lime); background: var(--surface); padding: 40px 36px; }
.cta-panel h2 { font-size: clamp(34px, 4.6vw, 54px); }
.cta-panel .lead { margin-top: 12px; }

/* Format-Seite ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.facts-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-list b { font-family: var(--font-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; color: var(--muted); }
.facts-list span { text-align: right; }
.groupgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.group { background: var(--bg); border: 1px solid var(--line); padding: 18px; }
.group h4 { font-size: 24px; font-weight: 800; letter-spacing: .04em; margin-bottom: 12px; }
.group ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.group li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); padding: 7px 10px; background: var(--surface); border-left: 3px solid var(--line); }
.group li span { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1; width: 16px; }
.group li.up { color: var(--fg); border-left-color: var(--lime); }
.group li.up span { color: var(--lime); }
.table-card { background: var(--surface); border: 1px solid var(--line); padding: 8px 20px; }
.league-table { width: 100%; border-collapse: collapse; }
.league-table th { text-align: left; font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--line); }
.league-table td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.league-table tr:last-child td { border-bottom: 0; }
.league-table td:first-child { font-family: var(--font-display); font-weight: 900; font-size: 24px; width: 80px; }
.league-table tr.up td { color: var(--fg); }
.league-table tr.up td:first-child { color: var(--lime); }
.bracket { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; align-items: center; max-width: 760px; }
.bracket .col { display: grid; gap: 28px; position: relative; }
.bracket .col.mid { padding-inline: 36px; }
.bracket .col:first-child { padding-right: 36px; }
.tie { background: var(--bg); border: 1px solid var(--line); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; }
.tie span { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.tie em { font-style: normal; font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; font-size: 14px; color: var(--coral); border: 1px solid var(--coral); padding: 2px 8px; }
.tie.final { border-color: var(--lime); }
.bracket .col:first-child .tie::after { content: ""; position: absolute; left: 100%; top: 50%; width: 36px; height: 2px; background: var(--line); }
.tie.final::after { content: ""; position: absolute; left: 100%; top: 50%; width: 36px; height: 2px; background: var(--lime); }
.tie.final::before { content: ""; position: absolute; right: 100%; top: 50%; width: 36px; height: 2px; background: var(--line); }
.bracket .col:first-child::after { content: ""; position: absolute; right: 0; top: calc((100% - 28px) / 4); bottom: calc((100% - 28px) / 4); width: 2px; background: var(--line); }
.trophy { background: var(--lime); color: var(--on-lime); padding: 22px 26px; text-align: center; margin-left: 36px; }
.trophy b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: .9; }
.trophy span { font-family: var(--font-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; }

/* Spielplan -------------------------------------------------------------- */
.tabs { display: none; border: 1px solid var(--line); margin-bottom: 26px; }
.js .tabs { display: inline-flex; }
.tab { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 16px; padding: 12px 24px; background: transparent; color: var(--muted); border: 0; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--lime); color: var(--on-lime); }
.panel + .panel { margin-top: 48px; }
.panel[hidden] { display: none; }
.panel-title { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.js .panel-title { display: none; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { background: var(--surface); border: 1px solid var(--line); padding: 14px 12px; min-height: 168px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.day h4 { font-size: 30px; font-weight: 900; line-height: 1; color: var(--muted); }
.day.on { background: var(--surface-2); border-color: var(--lime); }
.day.on h4, .day.alt h4 { color: var(--fg); }
.day.alt { border-color: var(--coral); background: color-mix(in srgb, var(--coral) 9%, var(--surface)); }
.slot { font-family: var(--font-label); font-weight: 700; font-size: 17px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.slot.k { color: var(--lime); }
.slot.a { color: var(--coral); }
.slot small { display: block; font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.panel-note { color: var(--muted); margin: 18px 0 0; max-width: 70ch; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; font-family: var(--font-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.legend .l::before { background: var(--lime); }
.legend .c::before { background: var(--coral); }
.callout { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--cyan); padding: 24px 28px; }
.callout b { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: .85; color: var(--cyan); }
.callout b small { display: block; font-size: 20px; letter-spacing: .1em; color: var(--muted); }
.callout p { margin: 0; color: var(--text); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .9; color: var(--lime); }
.steps b { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; }
.steps span { color: var(--text); }

/* Regelwerk -------------------------------------------------------------- */
.rules-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; }
.toc h4 { font-family: var(--font-label); font-weight: 700; letter-spacing: .14em; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.toc a { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; line-height: 1.25; text-decoration: none; color: var(--muted); padding: 10px 0 10px 14px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.active { color: var(--fg); border-left-color: var(--lime); }
.rules-body { display: grid; gap: 64px; min-width: 0; }
.rule-group h2 { font-size: clamp(32px, 4.4vw, 48px); }
.rule-group .lead { margin-bottom: 0; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.rule { background: var(--surface); border: 1px solid var(--line); padding: 24px 24px 22px; min-width: 0; }
.rule .ref { font-family: var(--font-label); font-weight: 700; letter-spacing: .14em; font-size: 15px; color: var(--cyan); }
.rule h3 { margin: 8px 0 10px; font-size: 28px; }
.rule p { margin: 0; color: var(--text); }
.rule.warn { border-color: color-mix(in srgb, var(--coral) 55%, var(--line)); }
.rule.warn .ref { color: var(--coral); }
.stream-card { background: var(--surface); border: 1px solid var(--line); padding: 30px; }
.stream-card p { margin: 18px 0 0; color: var(--text); }
.clock { font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 14vw, 140px); line-height: .85; color: var(--coral); font-variant-numeric: tabular-nums; }
.clock small { font-size: .26em; letter-spacing: .1em; color: var(--muted); margin-left: 8px; }
.bar { height: 8px; background: var(--line); margin-top: 22px; position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--coral); transform-origin: left; animation: delay 6s linear infinite; }
@keyframes delay { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Teams / Kader ---------------------------------------------------------- */
.slots { display: grid; grid-template-columns: repeat(16, 14px); gap: 4px; }
.slots i { height: 22px; background: var(--line); display: block; }
.slots i.full { background: var(--lime); }
.empty { background: var(--surface); border: 1px dashed var(--line); padding: 48px 32px; display: grid; gap: 14px; justify-items: start; }
.empty h3 { font-size: 34px; }
.empty p { margin: 0; color: var(--muted); max-width: 56ch; }
.teamgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team { background: var(--surface); border: 1px solid var(--line); padding: 24px; min-width: 0; }
.team h3 { font-size: 32px; margin-bottom: 6px; }
.team p { margin: 0 0 14px; }
.roster-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.roster-list li { padding: 8px 12px; background: var(--bg); border-left: 3px solid var(--lime); display: flex; justify-content: space-between; gap: 10px; }
.roster-list li.sub { border-left-color: var(--line); color: var(--muted); }
.roster-list small { font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; }
.roster { background: var(--surface); border-block: 1px solid var(--line); }
.roster-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.roster-grid > * { min-width: 0; }
.bench { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 14px; }
.p { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 24px; }
.p.main { background: var(--lime); color: var(--on-lime); }
.p.sub { border: 2px dashed var(--muted); color: var(--muted); }
.bench-gap { width: 18px; }
.bench-legend { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.checks.tight li { padding: 14px 16px; }
.checks b { font-family: var(--font-label); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); display: block; }
.checks span { color: var(--text); }
.checks .ic { width: 12px; height: 12px; background: var(--lime); margin-top: 8px; transform: rotate(45deg); }

/* Formular --------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.form-layout > .success, .form-layout > .empty { grid-column: 1 / -1; }
.form { display: grid; gap: 28px; min-width: 0; }
fieldset { border: 1px solid var(--line); background: var(--surface); margin: 0; padding: 26px 26px 28px; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 900; font-size: 30px; text-transform: uppercase; padding: 0 10px; margin-left: -10px; }
legend span { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .12em; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
label { font-family: var(--font-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; color: var(--muted); }
input[type="text"], input[type="email"] { width: 100%; font: inherit; font-size: 17px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; }
input[type="text"]:hover, input[type="email"]:hover { border-color: var(--muted); }
input[type="text"]:focus, input[type="email"]:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
input[aria-invalid="true"] { border-color: var(--coral); }
.hint { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.form-foot .hint { margin: 14px 0 0; }
.field-error { margin: 0; color: var(--coral); font-size: 15px; font-weight: 500; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 10px 0; }
.check + .check { border-top: 1px solid var(--line); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--lime); }
.check label { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--text); }
.check label a { color: var(--lime); }
.check .field-error { grid-column: 2; }
.alert { border: 1px solid var(--coral); border-left: 6px solid var(--coral); background: color-mix(in srgb, var(--coral) 10%, var(--surface)); padding: 16px 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side { position: sticky; top: 90px; }
.side h3 { margin-bottom: 16px; }
.success { background: var(--surface); border: 1px solid var(--lime); border-left: 6px solid var(--lime); padding: 44px 36px; display: grid; gap: 12px; justify-items: start; }
.success .lead { margin: 0; }
.ticket { margin: 10px 0 14px; font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket b { color: var(--fg); font-size: 22px; letter-spacing: .08em; }

/* Rechtstexte ------------------------------------------------------------ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 34px; margin: 40px 0 12px; }
.prose p { color: var(--text); margin: 0 0 14px; }
.notice { border: 1px dashed var(--coral); padding: 14px 18px; color: var(--text); background: color-mix(in srgb, var(--coral) 8%, var(--bg)); }

/* Footer ----------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px 40px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer p { margin: 14px 0 0; font-size: 15px; max-width: 46ch; }
.footer h4 { font-family: var(--font-label); font-weight: 700; letter-spacing: .14em; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav a { text-decoration: none; color: var(--text); width: fit-content; }
.footer nav a:hover { color: var(--lime); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  section { padding-block: 64px; }
  .funnel { grid-template-columns: repeat(2, 1fr); }
  .stage:not(:last-child)::after { display: none; }
  .cards, .steps, .teamgrid { grid-template-columns: 1fr; }
  .split, .roster-grid { grid-template-columns: 1fr; gap: 36px; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .rules-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .toc h4 { width: 100%; margin-bottom: 0; }
  .toc a { border: 1px solid var(--line); padding: 8px 12px; }
  .form-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .menu { margin-left: 0; order: 3; flex-basis: 100%; }
  .nav-tools { margin-left: auto; }
  .js .nav-toggle { display: flex; }
  .js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .js .menu.open { display: flex; }
  .js .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .js .menu a[aria-current="page"] { border-bottom-color: var(--lime); }
  .js .menu .menu-cta { margin-top: 14px; text-align: center; border: 0; padding: 14px; }
  .nav-inner { position: relative; }
  .menu { flex-wrap: wrap; gap: 8px 18px; }
  .nav-inner { height: auto; min-height: 62px; flex-wrap: wrap; padding-block: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-block: 48px 44px; }
  .subhero { padding-block: 44px 40px; }
  .funnel, .rules, .grid2 { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .day { min-height: 0; }
  .callout { grid-template-columns: 1fr; gap: 12px; }
  .tabs { width: 100%; }
  .js .tabs { display: flex; }
  .tab { flex: 1; padding: 12px 8px; }
  .p { width: 44px; height: 44px; font-size: 20px; }
  .cta-panel { padding: 28px 22px; }
  fieldset { padding: 22px 18px 24px; }
  .slots { grid-template-columns: repeat(8, 14px); }
  .groupgrid { grid-template-columns: 1fr; }
  .bracket { grid-template-columns: 1fr; gap: 14px; }
  .bracket .col, .bracket .col.mid, .bracket .col:first-child { padding: 0; gap: 14px; }
  .bracket .tie::after, .bracket .tie::before, .bracket .col:first-child::after { display: none !important; }
  .trophy { margin: 0; }
  .success { padding: 32px 22px; }
  .logo { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar i { animation: none; }
  .btn, .card, .nav-toggle b { transition: none; }
}
