/* Schriften lokal ausgeliefert (kein Google-Fonts-Abruf, DSGVO). Lizenz: fonts/OFL.txt */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-ext-800-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url(/fonts/barlow-condensed-latin-900-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url(/fonts/barlow-condensed-latin-ext-900-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Rot und Blau = die beiden Ecken auf der Matte */
:root {
  --red: #d90f2b;
  --blue: #1748d1;
  --gold: #f4b400;
  --ink: #0b1122;
  --ink-2: #131c36;
  --on-ink: #f3f5fb;
  --on-ink-muted: #9aa5c4;
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --fg: #0d1426;
  --muted: #5d6784;
  --line: #dde2ee;
  --red-soft: #fde7ea;
  --blue-soft: #e5ecfd;
  --gold-soft: #fff4d1;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #ff3b52; --blue: #4b7bff; --gold: #ffc533;
    --ink: #070b17; --ink-2: #0f1730; --on-ink: #f3f5fb; --on-ink-muted: #8d99bb;
    --bg: #0a0f1d; --surface: #121a2e; --surface-2: #18223a; --fg: #e9edf7; --muted: #8e99b8; --line: #222d47;
    --red-soft: #3a1520; --blue-soft: #15224a; --gold-soft: #3a2f0d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #ff3b52; --blue: #4b7bff; --gold: #ffc533;
  --ink: #070b17; --ink-2: #0f1730; --on-ink: #f3f5fb; --on-ink-muted: #8d99bb;
  --bg: #0a0f1d; --surface: #121a2e; --surface-2: #18223a; --fg: #e9edf7; --muted: #8e99b8; --line: #222d47;
  --red-soft: #3a1520; --blue-soft: #15224a; --gold-soft: #3a2f0d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 15px/1.45 var(--font-body); font-variant-numeric: tabular-nums; overflow-x: hidden; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; padding-top: env(safe-area-inset-top, 0px); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; width: 46%; transform: skewX(-14deg); }
.hero::before { left: -18%; background: linear-gradient(90deg, var(--red) 0 30%, transparent 30% 38%, var(--red) 38% 41%, transparent 41%); opacity: .9; }
.hero::after { right: -18%; background: linear-gradient(270deg, var(--blue) 0 30%, transparent 30% 38%, var(--blue) 38% 41%, transparent 41%); opacity: .9; }
.mat { position: absolute; z-index: -1; left: 50%; top: 58%; width: min(760px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--ink-2) 0 21%, transparent 21.3%), radial-gradient(circle, transparent 0 44%, color-mix(in srgb, var(--red) 55%, var(--ink)) 44% 50%, var(--ink-2) 50% 64%, transparent 64.4%);
  opacity: .55; animation: matSpin 60s linear infinite; }
.mat::after { content: ""; position: absolute; inset: 47%; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-ink) 30%, transparent); }
@keyframes matSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
#confetti { position: absolute; inset: 0; pointer-events: none; z-index: 2; width: 100%; height: 100%; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 italic 22px/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand i { width: 30px; height: 18px; display: inline-flex; transform: skewX(-14deg); overflow: hidden; border-radius: 3px; flex: none; }
.brand i::before, .brand i::after { content: ""; flex: 1; }
.brand i::before { background: var(--red); }
.brand i::after { background: var(--blue); }
.season select { appearance: none; font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink); border: 1px solid color-mix(in srgb, var(--on-ink) 25%, transparent); padding: 9px 30px 9px 14px; border-radius: 99px; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 70%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa5c4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; }
.season option { color: #0d1426; background: #fff; }

.hero-head { text-align: center; padding-block: 30px 4px; }
.eyebrow { font: 700 13px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-muted); }
h1 { font: 900 italic clamp(44px, 9vw, 96px)/.88 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; margin: 10px 0 12px; text-wrap: balance; }
h1 .r { color: var(--red); } h1 .b { color: #7da0ff; }
@supports (-webkit-text-stroke: 1px) { h1 .r, h1 .b { color: transparent; -webkit-text-stroke: 2px currentColor; } h1 .r { -webkit-text-stroke-color: var(--red); } h1 .b { -webkit-text-stroke-color: #7da0ff; } }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; color: var(--on-ink-muted); font-weight: 600; }
.facts b { color: var(--on-ink); font: 800 20px/1 var(--font-display); margin-right: 4px; }
.context { text-align: center; margin-top: 18px; font: 800 italic 18px/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--on-ink); }
.context small { display: block; font: 600 12px/1.5 var(--font-body); letter-spacing: .08em; color: var(--on-ink-muted); }

/* ---------- Siegertreppchen ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 10px; max-width: 760px; margin: 14px auto 0; min-height: 120px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; text-decoration: none; color: var(--on-ink); }
.who { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 12px; min-width: 0; width: 100%; animation: popIn .6s cubic-bezier(.2,1.6,.4,1) both; }
.avatar { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font: 800 italic 28px/1 var(--font-display); background: var(--ink-2); border: 4px solid var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 10px 30px color-mix(in srgb, var(--c) 45%, transparent); transition: transform .25s; }
.step:hover .avatar, .step:focus-visible .avatar { transform: translateY(-4px) scale(1.05); }
.medal { position: absolute; right: -8px; bottom: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--font-display); color: #1a1300; background: radial-gradient(circle at 35% 30%, #fff6c9, var(--m) 55%, color-mix(in srgb, var(--m) 70%, #000)); box-shadow: 0 3px 8px rgba(0,0,0,.4); animation: medal .7s cubic-bezier(.2,1.8,.4,1) both; }
.p1 .medal { --m: var(--gold); } .p2 .medal { --m: #c9d1e2; } .p3 .medal { --m: #d98e4f; }
.who .n { font: 800 italic clamp(17px, 2.6vw, 24px)/1.05 var(--font-display); text-transform: uppercase; max-width: 100%; overflow-wrap: anywhere; }
.who .t { font-size: 13px; color: var(--on-ink-muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.block { width: 100%; position: relative; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 92%, #fff) 0, var(--c) 30%, color-mix(in srgb, var(--c) 70%, #000) 100%); transform-origin: bottom; animation: rise .9s cubic-bezier(.2,.9,.25,1.05) both; display: flex; flex-direction: column; align-items: center; padding-top: 12px; overflow: hidden; }
.block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); animation: shine 1.2s ease-out both; }
.place { font: 900 italic clamp(46px, 8vw, 78px)/.9 var(--font-display); color: rgba(255,255,255,.95); text-shadow: 0 4px 0 rgba(0,0,0,.18); }
.rec { font: 800 18px/1 var(--font-display); letter-spacing: .03em; color: #fff; margin-top: 4px; }
.rec small { display: block; font: 600 12px/1.4 var(--font-body); letter-spacing: .04em; opacity: .85; }
.p1 { --c: var(--red); } .p2, .p3 { --c: var(--blue); }
.p1 .block { height: 190px; animation-delay: .7s; } .p1 .who { animation-delay: 1.35s; } .p1 .medal { animation-delay: 1.75s; } .p1 .block::after { animation-delay: 1.6s; }
.p2 .block { height: 140px; animation-delay: .35s; } .p2 .who { animation-delay: 1s; } .p2 .medal { animation-delay: 1.4s; } .p2 .block::after { animation-delay: 1.25s; }
.p3 .block { height: 108px; animation-delay: 0s; } .p3 .who { animation-delay: .65s; } .p3 .medal { animation-delay: 1.05s; } .p3 .block::after { animation-delay: .9s; }
.podium.quick .block { animation-duration: .6s; } .podium.quick .p1 .block { animation-delay: .3s; } .podium.quick .p2 .block { animation-delay: .15s; }
.podium.quick .p1 .who { animation-delay: .65s; } .podium.quick .p2 .who { animation-delay: .5s; } .podium.quick .p3 .who { animation-delay: .35s; }
.podium.quick .p1 .medal { animation-delay: .85s; } .podium.quick .p2 .medal { animation-delay: .7s; } .podium.quick .p3 .medal { animation-delay: .55s; }
.podium-empty { grid-column: 1 / -1; text-align: center; color: var(--on-ink-muted); padding-bottom: 30px; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes medal { from { transform: scale(0) rotate(-200deg); } to { transform: none; } }
@keyframes shine { to { transform: translateX(120%); } }

/* ---------- Filter ---------- */
.board { padding-block: 26px 30px; }
.tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.search { position: relative; min-width: 0; }
.search input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 0 14px 0 42px; font-weight: 600; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.selects { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr .9fr .55fr; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.field select, .field input { width: 100%; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; font-weight: 600; }
.pick { display: flex; gap: 4px; min-width: 0; }
.pick select { flex: 1; }

.star { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s, border-color .2s, transform .15s; }
.star::before { content: "☆"; font-size: 20px; line-height: 1; }
.star[aria-pressed="true"] { color: var(--gold); background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.star[aria-pressed="true"]::before { content: "★"; }
.star:hover:not(:disabled) { color: var(--gold); }
.star:disabled { opacity: .4; cursor: default; }
.star.pop { animation: starPop .45s cubic-bezier(.2,1.8,.4,1); }
@keyframes starPop { 40% { transform: scale(1.35) rotate(-12deg); } }

/* ---------- Favoriten ---------- */
.favs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; animation: slideIn .35s both; }
.favs h2 { margin: 0; font: 800 italic 18px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.favs h2::before { content: "★"; color: var(--gold); font-style: normal; }
.fav-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fav-group > .lbl { font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 70px; flex: none; }
.fchip { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); max-width: 100%; animation: popIn .3s both; }
.fchip > a, .fchip > button:first-child { all: unset; display: block; flex: 0 1 auto; min-width: 3em; cursor: pointer; padding: 6px 4px 6px 12px; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.fchip > a:hover, .fchip > button:first-child:hover { color: var(--blue); }
.fchip.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.fchip.off { opacity: .5; }
.fchip .x { all: unset; cursor: pointer; padding: 6px 10px 6px 6px; color: var(--muted); font-size: 15px; line-height: 1; }
.fchip .x:hover { color: var(--red); }
.fchip :focus-visible { outline: 2px solid var(--blue); border-radius: 99px; }

/* ---------- Liste ---------- */
.listbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sorts { display: flex; flex-wrap: wrap; gap: 6px; }
.sorts button, .toggle { height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font: 700 14px/1 var(--font-body); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.sorts button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.toggle[aria-pressed="true"] { background: var(--gold-soft); color: var(--fg); border-color: var(--gold); }
.toggle span { color: var(--gold); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: 0 0 10px 4px; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }

.list { display: flex; flex-direction: column; gap: 6px; }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 190px 84px 70px 40px; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.row.anim { animation: slideIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 28ms + var(--d, 0s)); }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--red) 50%, var(--blue) 50%); transform: scaleY(0); transition: transform .2s; }
.row:hover, .row:focus-within { transform: translateX(4px); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--blue) 60%, transparent); }
.row:hover::before, .row:focus-within::before { transform: scaleY(1); }
.row.fav { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.row .go { position: absolute; inset: 0; z-index: 0; border-radius: var(--r); }
.row .go:focus-visible { outline-offset: -3px; }
.row .star { position: relative; z-index: 1; border: 0; background: none; width: 36px; height: 36px; }
.row .star[aria-pressed="true"] { background: none; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rank { font: 900 italic 30px/1 var(--font-display); color: var(--muted); text-align: center; }
.row.top3 .rank { color: var(--red); }
.nm { min-width: 0; }
.nm b { display: block; font: 700 17px/1.2 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl { display: flex; flex-direction: column; gap: 6px; }
.wl-num { display: flex; justify-content: space-between; gap: 6px; font: 800 17px/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.wl-num .w { color: var(--blue); } .wl-num .l { color: var(--red); } .wl-num .k { color: var(--muted); font: 600 12px var(--font-body); }
.bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.bar i { display: block; height: 100%; transform-origin: left; }
.row.anim .bar i { animation: grow .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 28ms + var(--d, 0s) + .2s); }
.bar .bw { background: var(--blue); } .bar .bl { background: var(--red); transform-origin: right; }
@keyframes grow { from { transform: scaleX(0); } }
.tp { text-align: right; font: 700 14px/1.2 var(--font-body); color: var(--muted); }
.tp small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.diff { justify-self: end; font: 800 18px/1 var(--font-display); padding: 6px 10px; border-radius: 8px; min-width: 62px; text-align: center; }
.diff.pos { background: var(--blue-soft); color: var(--blue); } .diff.neg { background: var(--red-soft); color: var(--red); } .diff.zero { background: var(--surface-2); color: var(--muted); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

.more { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 16px; color: var(--muted); font-size: 14px; }
.more button { height: 44px; padding: 0 22px; border-radius: 99px; border: 0; background: var(--fg); color: var(--bg); font-weight: 700; cursor: pointer; transition: transform .15s; }
.more button:hover { transform: translateY(-2px); }
.more .progress { width: min(260px, 100%); height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.more .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); transition: width .3s; }

.totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--fg); color: var(--bg); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 10; animation: popIn .3s both; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--muted); font-size: 13px; padding-block: 10px calc(32px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Rechtliches oben ---------- */
.legalnav { display: flex; justify-content: flex-end; gap: 14px; padding-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.legalnav a { color: var(--on-ink-muted); text-decoration: none; }
.legalnav a:hover { color: var(--on-ink); text-decoration: underline; }
.legalnav + .topbar { padding-top: 6px; }

/* ---------- Export ---------- */
.listbar-right { display: flex; gap: 6px; align-items: center; }
.export { position: relative; }
.export summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.export summary::-webkit-details-marker { display: none; }
.export[open] summary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.export-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 15; width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -12px rgba(5,8,18,.35); display: flex; flex-direction: column; gap: 2px; animation: popIn .2s both; }
.export-menu p { margin: 4px 8px 8px; font-size: 13px; color: var(--muted); }
.export-menu a, .export-menu button { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 10px; font-size: 14px; }
.export-menu a:hover, .export-menu button:hover, .export-menu a:focus-visible, .export-menu button:focus-visible { background: var(--surface-2); }
.export-menu span { color: var(--muted); font-size: 13px; }

/* ---------- Vereinsauswertung ---------- */
.club { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; position: relative; overflow: hidden; animation: slideIn .35s both; scroll-margin-top: 12px; }
.club::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); }
.club-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.club-eyebrow { font: 700 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.club h2 { margin: 6px 0 0; font: 900 italic clamp(28px, 5vw, 42px)/.95 var(--font-display); text-transform: uppercase; }
.club-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); font: 700 14px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: none; color: var(--muted); border-color: var(--line); }
.club-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.club-tiles .tile b { font-size: 26px; }
.table-wrap { overflow-x: auto; }
.teams { width: 100%; border-collapse: collapse; font-size: 14px; }
.teams th { text-align: left; font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.teams td { padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.teams tr:last-child td { border-bottom: 0; }
.teams .n { text-align: right; }
.teams .w { color: var(--blue); font-weight: 700; } .teams .l { color: var(--red); font-weight: 700; }
.teams a { color: inherit; } .teams a:hover { color: var(--blue); }
.teams small { color: var(--muted); }
.club-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.chip a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,.4); }

/* ---------- Impressum / Datenschutz ---------- */
.legal-hero { padding-bottom: 18px; }
.legal-hero .back { color: var(--on-ink-muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.legal-hero .back:hover { color: var(--on-ink); }
.legal { max-width: 760px; padding-block: 28px 20px; line-height: 1.6; }
.legal h1 { color: var(--fg); font-size: clamp(38px, 7vw, 60px); margin: 0 0 18px; }
.legal h2 { font: 800 italic 24px/1.1 var(--font-display); text-transform: uppercase; margin: 32px 0 10px; letter-spacing: .01em; }
.legal h3 { font: 700 17px/1.3 var(--font-body); margin: 20px 0 6px; text-transform: none; }
.legal p, .legal li { max-width: 68ch; }
.legal a { color: var(--blue); }
.legal ul { padding-left: 20px; }
.legal .warn { background: var(--red-soft); color: var(--red); border: 1px solid var(--red); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.legal .stand { color: var(--muted); font-size: 14px; margin-top: 30px; }
.footer a { color: inherit; }

/* ---------- Profil ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5,8,18,.55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 20; }
.scrim.open { opacity: 1; pointer-events: auto; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100%); background: var(--bg); z-index: 21; transform: translateX(105%); display: flex; flex-direction: column; visibility: hidden; transition: transform .45s cubic-bezier(.2,.9,.2,1), visibility 0s .45s; }
.panel.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.35); transition: transform .45s cubic-bezier(.2,.9,.2,1); }
.panel-scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.p-hero { position: relative; background: var(--ink); color: var(--on-ink); padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 22px; overflow: hidden; isolation: isolate; }
.p-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -10%; width: 55%; background: var(--red); transform: skewX(-14deg) translateX(-30%); animation: slashR .6s .15s cubic-bezier(.2,.9,.2,1) both; }
.p-hero::after { content: ""; position: absolute; z-index: -1; inset: 0 -10% 0 auto; width: 30%; background: var(--blue); transform: skewX(-14deg) translateX(40%); animation: slashB .6s .25s cubic-bezier(.2,.9,.2,1) both; }
@keyframes slashR { from { transform: skewX(-14deg) translateX(-110%); } }
@keyframes slashB { from { transform: skewX(-14deg) translateX(110%); } }
.p-actions { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; display: flex; gap: 8px; }
.p-actions button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--on-ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.p-actions button:hover { background: rgba(255,255,255,.25); }
.p-actions .close:hover { transform: rotate(90deg); }
.p-actions .star::before { font-size: 22px; }
.p-actions .star[aria-pressed="true"] { background: var(--gold); color: #1a1300; }
.p-rank { font: 800 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; padding-right: 100px; }
.p-name { font: 900 italic clamp(38px, 8vw, 62px)/.9 var(--font-display); text-transform: uppercase; margin: 8px 0 10px; max-width: 90%; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 700 12px/1 var(--font-body); padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.14); backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 6px; }
.chip button { all: unset; cursor: pointer; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1; }
.chip button[aria-pressed="true"] { color: var(--gold); }
.chip button:focus-visible { outline: 2px solid #fff; border-radius: 4px; }
.p-body { padding: 20px 22px 40px; display: flex; flex-direction: column; gap: 22px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; animation: popIn .5s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(var(--i) * 60ms + .3s); }
.tile b { display: block; font: 800 30px/1 var(--font-display); }
.tile span { font-size: 12px; color: var(--muted); font-weight: 600; }
.tile.w b { color: var(--blue); } .tile.l b { color: var(--red); }
.ring { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ring svg { flex: none; }
.ring .arc { transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1) .4s; }
.ring-txt { min-width: 0; }
.ring-txt b { font: 800 italic 26px/1 var(--font-display); text-transform: uppercase; }
.ring-txt p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
h3 { font: 800 italic 22px/1 var(--font-display); text-transform: uppercase; margin: 0 0 10px; letter-spacing: .01em; }
.lg { display: flex; flex-direction: column; gap: 6px; }
.lg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; }
.lg-row a { font-weight: 700; display: block; text-decoration: none; }
.lg-row a:hover { color: var(--blue); }
.lg-row span { font-size: 13px; color: var(--muted); }
.lg-row .star { width: 36px; height: 36px; border: 0; background: none; }
.bouts { display: flex; flex-direction: column; gap: 6px; }
.bout { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; animation: slideIn .4s both; animation-delay: calc(var(--i) * 40ms + .45s); }
.res { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 900 italic 22px/1 var(--font-display); color: #fff; }
.res.S { background: var(--blue); } .res.N { background: var(--red); } .res.U, .res.K { background: var(--muted); }
.b-main { min-width: 0; }
.b-main .opp { font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-main .opp a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 50%, transparent); text-underline-offset: 3px; }
.b-main .opp a:hover { color: var(--blue); }
.b-main .opp small { color: var(--muted); font-weight: 500; font-size: inherit; }
.b-main .meta { font-size: 12.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-side { text-align: right; }
.b-side b { display: block; font: 800 20px/1 var(--font-display); }
.b-side span { font-size: 12px; color: var(--muted); font-weight: 600; }

@media (max-width: 860px) {
  .selects { grid-template-columns: 1fr 1fr; }
  .club-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .row { grid-template-columns: 30px minmax(0, 1fr) 74px 54px 32px; gap: 8px; padding: 10px 6px 10px 10px; }
  .row .tp, .wl-num .k, .hide-sm { display: none; }
  .row .star { width: 32px; }
  .wl-num { font-size: 15px; }
  .rank { font-size: 24px; }
  .diff { min-width: 0; font-size: 16px; padding: 5px 7px; }
  .avatar { width: 56px; height: 56px; font-size: 21px; }
  .p1 .block { height: 150px; } .p2 .block { height: 112px; } .p3 .block { height: 86px; }
  .rec small { display: none; }
  .brand { font-size: 17px; }
  .season select { padding: 8px 26px 8px 11px; font-size: 11px; }
  .sorts { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .sorts button { flex: none; }
  .listbar { flex-direction: column; align-items: stretch; }
  .listbar-right { justify-content: space-between; }
  .club-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-actions .btn { flex: 1 1 auto; justify-content: center; }
  .fav-group > .lbl { width: 100%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-body, .p-hero { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Druck / PDF ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f3f4f7; --fg: #000; --muted: #444; --line: #ccc; color-scheme: light; }
  body { font-size: 11px; }
  .hero, .tools, .favs, .listbar, .legend, .more, .totop, .scrim, .panel, .footer, .club-actions, .club-note, .row .star, .row::before { display: none !important; }
  .board { padding: 0; }
  .club { border: 0; padding: 0 0 12px; }
  .club::before { display: none; }
  .club-tiles { grid-template-columns: repeat(8, 1fr); }
  .teams { font-size: 9.5px; } .teams th, .teams td { padding: 5px 4px; }
  .table-wrap { overflow: visible; }
  .row { break-inside: avoid; padding: 4px 8px; border-radius: 0; border-width: 0 0 1px; grid-template-columns: 34px minmax(0, 1fr) 130px 80px 60px; }
  .row .bar { display: none; }
  .rank { font-size: 18px; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; }
}
