@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --tile: #111;
  --red: #fb172b;
  --on-dark-2: rgba(255, 255, 255, 0.62);
  --on-dark-3: rgba(255, 255, 255, 0.18);
  --on-light-2: rgba(0, 0, 0, 0.58);
  --on-light-3: rgba(0, 0, 0, 0.16);
  --gutter: clamp(16px, 2.1vw, 30px);
  --rail: 52px;
  --display: clamp(52px, 8.6vw, 132px);
  --manifesto: clamp(26px, 3.4vw, 52px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 17px/1.45 "Inter Tight", "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--rail);
}
body.theme-light { background: var(--white); color: var(--black); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: var(--gutter); background: var(--white); color: var(--black); padding: 10px 14px; z-index: 50; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }

.light { background: var(--white); color: var(--black); }

/* Typografie */
.statement {
  font-weight: 800;
  font-size: var(--display);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.manifesto {
  font-weight: 700;
  font-size: var(--manifesto);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 1035px;
  text-wrap: pretty;
}
.sec-note { font-size: 14px; color: var(--on-dark-2); }
.light .sec-note, .light-page .sec-note { color: var(--on-light-2); }
.sub { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 64px 0 0; padding-bottom: 14px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(80px, 11vw, 160px) 0 clamp(32px, 4vw, 56px); }

/* Button */
.btn {
  display: inline-flex; align-items: center; height: 51px; padding: 0 22px;
  border: 2px solid currentColor; border-radius: 90px; font-size: 16px;
  background: var(--black); color: var(--white); border-color: var(--black);
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.shop .btn, .news .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.is-disabled { background: transparent; color: var(--on-dark-2); border-color: var(--on-dark-3); cursor: default; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--rail)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--black); }
.hero-img, .hero .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero-emblem { width: clamp(52px, 6vw, 88px); height: auto; margin-bottom: clamp(18px, 2.4vw, 32px); }
.hero-title { font-weight: 800; font-size: clamp(76px, 15.5vw, 252px); line-height: 0.8; letter-spacing: -0.045em; text-transform: uppercase; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.85); }
.next {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 28px; align-items: baseline;
  margin: 0 var(--gutter) var(--gutter); padding: 18px 0 0; border-top: 1px solid var(--on-dark-3);
}
.next-label { font-size: 14px; color: var(--on-dark-2); }
.next-match { font-weight: 800; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -0.02em; text-transform: uppercase; }
.next-match i, .m-vs i { font-style: normal; font-weight: 400; color: var(--on-dark-2); text-transform: lowercase; padding: 0 .15em; }
.light .m-vs i { color: var(--on-light-2); }
.next-meta { font-size: 14px; color: var(--on-dark-2); text-align: right; }
.next:hover .next-match { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Intro */
.intro { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 110px); }
.intro .manifesto { margin-top: clamp(48px, 9vw, 160px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--black); }
.facts div { padding: 18px 16px 0 0; }
.facts dt { font-size: 14px; color: var(--on-light-2); }
.facts dd { font-weight: 800; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; margin-top: 10px; }

/* Roster */
.roster { padding-bottom: clamp(40px, 6vw, 80px); }
.players { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) var(--gutter); }
.player { display: flex; flex-direction: column; }
.player-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.player-photo img, .player-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.player-tag { margin-top: 18px; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.player-name { margin-top: 8px; font-size: 16px; }
.player-role { margin-top: 2px; font-size: 14px; color: var(--on-dark-2); }
.player:hover .player-tag { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.players.is-small { grid-template-columns: repeat(5, 1fr); }
.players.is-small .player-tag { font-size: 20px; margin-top: 12px; }

/* Ribbon */
.ribbon { overflow: hidden; padding: clamp(30px, 4vw, 60px) 0; border-top: 1px solid var(--on-dark-3); }
.ribbon-track { white-space: nowrap; font-weight: 800; font-size: clamp(72px, 11vw, 168px); line-height: 0.82; letter-spacing: -0.035em; text-transform: uppercase; will-change: transform; }

/* Erfolge */
.results { padding-bottom: clamp(60px, 8vw, 120px); }
.result-list { border-top: 1px solid var(--black); }
.result { display: grid; grid-template-columns: minmax(120px, 1.1fr) 3fr 1.6fr 0.8fr; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--on-light-3); }
.r-place { font-weight: 800; font-size: clamp(44px, 5.4vw, 84px); line-height: 0.85; letter-spacing: -0.045em; }
.r-event strong { display: block; font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.r-event span { display: block; font-size: 14px; color: var(--on-light-2); margin-top: 6px; }
.r-meta { font-size: 15px; color: var(--on-light-2); }
.r-prize { font-size: 17px; font-weight: 600; text-align: right; }
.result.is-title { background: var(--red); color: var(--white); padding: 26px 22px; margin: 0 -22px; border-bottom: 0; }
.result.is-title .r-event span, .result.is-title .r-meta { color: rgba(255,255,255,.82); }

/* Spielplan */
.matches { padding-bottom: clamp(80px, 10vw, 150px); }
.matches .sub:first-of-type { margin-top: 0; }
.match-list { border-top: 1px solid var(--black); }
.match { display: grid; grid-template-columns: 140px 2.4fr 2fr 90px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--on-light-3); }
.m-date { font-weight: 700; font-size: 17px; line-height: 1.2; }
.match small { font-weight: 400; font-size: 14px; color: var(--on-light-2); }
.m-vs { font-weight: 800; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; }
.m-comp { font-size: 15px; line-height: 1.3; }
.m-status { font-size: 14px; text-align: right; color: var(--on-light-2); }
.m-score { font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; text-align: right; }
.match.is-loss .m-score { color: var(--on-light-2); }

/* News */
.news { padding-bottom: clamp(80px, 10vw, 140px); }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) var(--gutter); }
.news-list .is-lead { grid-column: span 2; grid-row: span 2; }
.news-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tile); }
.news-photo img, .news-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.news-item time { display: block; margin-top: 16px; font-size: 14px; color: var(--on-dark-2); }
.news-item h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.news-item p { margin-top: 10px; color: var(--on-dark-2); max-width: 46ch; }
.is-lead .news-item h3 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; }
.news-item:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Galerie */
.gallery { padding-bottom: clamp(80px, 10vw, 140px); border-top: 1px solid var(--on-dark-3); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.gallery-grid .is-wide { grid-column: span 2; }
.gallery-grid figure { height: 100%; display: flex; flex-direction: column; }
.gallery-grid img, .gallery-grid .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tile); }
.gallery-grid li:not(.is-wide) img, .gallery-grid li:not(.is-wide) .ph { aspect-ratio: 4 / 5; flex: 1; }
.gallery-grid .is-wide img, .gallery-grid .is-wide .ph { flex: 1; aspect-ratio: auto; min-height: 0; }
.gallery-grid figcaption { margin-top: 10px; font-size: 14px; color: var(--on-dark-2); }

/* Shop */
.shop { background: var(--tile); padding: clamp(80px, 10vw, 140px) 0; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.shop-photo { aspect-ratio: 1; overflow: hidden; background: #1a1a1a; }
.shop-photo img, .shop-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.shop-text .statement { margin-top: 18px; }
.shop-desc { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); max-width: 34ch; color: rgba(255,255,255,.85); }
.shop-price { margin-top: 32px; font-weight: 800; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.shop-date { margin: 8px 0 28px; font-size: 14px; color: var(--on-dark-2); }

/* Partner */
.partner { padding: clamp(100px, 13vw, 200px) 0; text-align: left; }
.partner .manifesto { margin: clamp(40px, 6vw, 90px) 0 40px; }

/* Footer */
.footer { background: var(--white); color: var(--black); padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); border-top: 1px solid var(--black); }
.footer-logo { width: clamp(150px, 16vw, 240px); height: auto; }
.directory { display: flex; flex-wrap: wrap; gap: 40px 72px; margin-top: 56px; padding-top: 25px; border-top: 1px solid var(--black); }
.directory h3 { font-size: 24px; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.directory li { font-size: 15px; line-height: 1.75; }
.directory a { transition: opacity .3s; }
.directory a:hover { opacity: .5; }
.footer-base { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(90px, 14vw, 220px); padding-top: 18px; border-top: 1px solid var(--on-light-3); font-size: 13px; color: var(--on-light-2); }
.footer-base p:last-child { max-width: 62ch; text-align: right; }

/* Bottom rail */
.rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--rail); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: var(--black); color: var(--white); border-top: 1px solid var(--on-dark-3); font-size: 14px; }
.rail-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rail-brand img { width: 20px; height: auto; }
.rail-links { display: flex; gap: 26px; }
.rail-links a { color: var(--on-dark-2); transition: color .2s; }
.rail-links a:hover, .rail-links a[aria-current] { color: var(--white); }
.rail-menu { display: none; background: none; border: 0; color: inherit; font: inherit; padding: 12px 0 12px 12px; cursor: pointer; }
.menu { position: fixed; inset: 0 0 var(--rail) 0; z-index: 39; background: var(--black); color: var(--white); display: flex; align-items: flex-end; padding: var(--gutter); }
.menu[hidden] { display: none; }
.menu li a { display: block; font-weight: 800; font-size: clamp(44px, 12vw, 72px); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; padding: 4px 0; }

/* Spielerprofil */
.profile { padding: 40px 0 clamp(80px, 10vw, 140px); }
.back { display: inline-block; font-size: 14px; color: var(--on-dark-2); padding: 8px 0; }
.back::before { content: "← "; }
.back:hover { color: currentColor; }
.light-page .back { color: var(--on-light-2); }
.profile-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: 24px; align-items: start; }
.profile-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.profile-photo img, .profile-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.profile-tag { margin-top: 14px; font-weight: 800; font-size: clamp(48px, 6.6vw, 108px); line-height: 0.86; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.profile-name { margin-top: 16px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.01em; }
.profile-facts { margin: 40px 0 36px; border-top: 1px solid var(--white); }
.profile-facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--on-dark-3); }
.profile-facts dt { font-size: 14px; color: var(--on-dark-2); }
.profile-bio { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.01em; max-width: 40ch; }
.profile-bio + .profile-bio { margin-top: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--white); }
.stat-row div { padding: 18px 12px 0 0; }
.stat-row dt { font-size: 14px; color: var(--on-dark-2); }
.stat-row dd { font-weight: 800; font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -0.045em; line-height: 1; margin-top: 10px; }
.stats .sub, .more .sub { margin-top: clamp(64px, 8vw, 110px); }

/* Artikel und Rechtliches */
.light-page { background: var(--white); color: var(--black); padding: 40px 0 clamp(80px, 10vw, 140px); }
.article-title { margin-top: 20px; font-weight: 800; font-size: clamp(44px, 6.4vw, 100px); line-height: 0.88; letter-spacing: -0.04em; text-transform: uppercase; text-wrap: balance; }
.article .sec-note { display: block; margin-top: 32px; }
.article-lead { margin-top: 28px; font-size: clamp(21px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.article-photo { margin-top: 48px; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.article-photo img, .article-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.article-body p { margin-top: 24px; font-size: 19px; line-height: 1.55; max-width: 64ch; }
.article-body { margin-top: 24px; }
.legal h2 { margin-top: 44px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.legal p { margin-top: 12px; font-size: 17px; line-height: 1.6; max-width: 70ch; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.gap { display: inline-block; min-width: 15em; color: var(--on-light-2); border-bottom: 1px dashed var(--on-light-3); line-height: 1.35; }

/* Bildplatzhalter */
.ph { background: var(--tile); }

/* Responsive */
@media (max-width: 1080px) {
  .rail-links { gap: 18px; }
  .players.is-small { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat-row div:nth-child(n+4) { border-top: 1px solid var(--on-dark-3); margin-top: 18px; }
}
@media (max-width: 860px) {
  .rail-links { display: none; }
  .rail-menu { display: block; }
  .players { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(n+3) { margin-top: 18px; }
  .result { grid-template-columns: 84px 1fr; row-gap: 6px; }
  .r-meta { grid-column: 2; }
  .r-prize { grid-column: 2; text-align: left; font-size: 15px; }
  .result.is-title { margin: 0 calc(var(--gutter) * -1); padding: 22px var(--gutter); }
  .match { grid-template-columns: 1fr auto; row-gap: 8px; }
  .m-date { grid-column: 1 / -1; font-size: 14px; }
  .m-comp { grid-column: 1; }
  .m-status, .m-score { grid-column: 2; grid-row: 2; }
  .news-list { grid-template-columns: 1fr; }
  .news-list .is-lead { grid-column: auto; grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .is-wide { grid-column: 1 / -1; }
  .gallery-grid .is-wide img, .gallery-grid .is-wide .ph { aspect-ratio: 3 / 2; }
  .shop-grid, .profile-grid { grid-template-columns: 1fr; }
  .profile-facts div { grid-template-columns: 130px 1fr; }
  .next { grid-template-columns: 1fr; }
  .next-meta { text-align: left; }
  .footer-base { flex-direction: column; }
  .footer-base p:last-child { text-align: left; }
}
@media (max-width: 520px) {
  .players.is-small { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid li:not(.is-wide) img, .gallery-grid li:not(.is-wide) .ph { aspect-ratio: 4 / 5; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row div:nth-child(n+3) { border-top: 1px solid var(--on-dark-3); margin-top: 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
