/* BBZU Basketball Zürich Unterland — site stylesheet
   Brand: BBZU wordmark black / white / red (#e2001a sampled from the logo).
   Type: Big Shoulders Display (display, numerals) + Archivo (text). */

:root {
  --red: #e2001a;
  --red-deep: oklch(0.48 0.2 25);
  --red-glow: oklch(0.62 0.24 25 / 0.35);
  --ink: oklch(0.155 0.006 20);
  --ink-2: oklch(0.2 0.008 20);
  --ink-3: oklch(0.255 0.01 20);
  --line-dark: oklch(0.34 0.01 20);
  --on-dark: oklch(0.97 0 0);
  --on-dark-muted: oklch(0.8 0.008 20);
  --paper: oklch(0.975 0.002 20);
  --paper-2: oklch(0.935 0.004 20);
  --line: oklch(0.86 0.006 20);
  --text: oklch(0.2 0.008 20);
  --text-muted: oklch(0.42 0.01 20);

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.4rem);
  --step-5: clamp(3.2rem, 2.2rem + 4.8vw, 6rem);

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --space-l: clamp(2.5rem, 2rem + 2vw, 4rem);
  --space-xl: clamp(4rem, 3rem + 4vw, 7.5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1320px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --z-sticky: 50;
  --z-dropdown: 60;
  --z-drawer: 80;
  --z-modal: 90;
  --z-toast: 100;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
button { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: var(--z-toast);
  background: var(--red); color: #fff; padding: 0.75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-light :focus-visible, .light :focus-visible { outline-color: var(--red-deep); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.h-xl { font-size: var(--step-5); }
.h-l { font-size: var(--step-4); }
.h-m { font-size: var(--step-3); }
.h-s { font-size: var(--step-2); }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 62ch; }
.muted { color: var(--on-dark-muted); }
.light .muted { color: var(--text-muted); }
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose h2, .prose h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; line-height: 1; }
.prose h2 { font-size: var(--step-3); margin: 1.4em 0 0.5em; }
.prose h3 { font-size: var(--step-2); margin: 1.3em 0 0.4em; }
.prose a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* the red rule from the logo, used as the club's signature line */
.rule { display: block; width: 72px; height: 8px; background: var(--red); margin-bottom: var(--space-s); }
.rule--long { width: 100%; height: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0.75em 1.35em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; line-height: 1;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease-out); }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.light .btn--ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sm { min-height: 40px; font-size: 1rem; padding: 0.55em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35em 0.65em; border-radius: 2px; line-height: 1.1;
  background: var(--ink-3); color: var(--on-dark);
}
.tag--open { background: var(--red); color: #fff; }
.tag--open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.light .tag { background: var(--paper-2); color: var(--text); }
.light .tag--open { background: var(--red); color: #fff; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky);
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.4s var(--ease-out);
}
.site-header.is-solid, .site-header.is-open {
  background: oklch(0.155 0.006 20 / 0.96);
  box-shadow: 0 1px 0 var(--line-dark);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: oklch(0.155 0.006 20 / 0.85); backdrop-filter: blur(14px) saturate(1.3); }
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(oklch(0 0 0 / 0.55), transparent);
  transition: opacity 0.35s;
}
.site-header.is-solid::before { opacity: 0; }
/* open menu: no blur or transform on the header, else Safari makes the header the box of the
   fixed menu panel and the panel collapses to the header height after scrolling */
.site-header.is-open, .site-header.is-solid.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: var(--ink); }
.nav-bar {
  position: relative; display: flex; align-items: center; gap: 1.5rem;
  height: 76px; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: block; flex: none; }
.brand img { width: 118px; height: auto; }
.nav-main { margin-left: auto; }
.nav-list { display: flex; align-items: center; list-style: none; gap: 0.15rem; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem; background: none; border: 0; cursor: pointer;
  padding: 0.6rem 0.8rem; min-height: 44px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--on-dark);
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.35rem; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-link::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-item { position: relative; }
.nav-cta { margin-left: 0.75rem; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; z-index: var(--z-dropdown);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-top: 4px solid var(--red);
  padding: 0.5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
  box-shadow: 0 24px 48px oklch(0 0 0 / 0.45);
}
.dropdown a {
  display: block; padding: 0.6rem 0.75rem; text-decoration: none; font-weight: 600; border-radius: 2px;
  transition: background-color 0.15s;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--ink-3); }
.dropdown a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.3s var(--ease-out); }

/* Teams mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: 76px; z-index: var(--z-dropdown);
  background: var(--ink-2); border-top: 4px solid var(--red); border-bottom: 1px solid var(--line-dark);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  box-shadow: 0 40px 80px oklch(0 0 0 / 0.5);
}
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.35s var(--ease-out); }
.mega-inner { max-width: 1440px; margin-inline: auto; padding: 1.75rem var(--gutter) 2rem; display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 1.5rem 2rem; }
.mega h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.1em; color: var(--on-dark-muted); margin-bottom: 0.6rem; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega-team { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0.5rem; text-decoration: none; border-radius: 2px; transition: background-color 0.15s; }
.mega-team:hover, .mega-team[aria-current="page"] { background: var(--ink-3); }
.mega-team img { width: 38px; height: 38px; object-fit: contain; flex: none; border-radius: 2px; background: #000; }
.mega-team b { display: block; font-weight: 700; line-height: 1.15; }
.mega-team small { color: var(--on-dark-muted); font-size: 0.8rem; }
.mega-feature { align-self: start; background: var(--ink); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border: 1px solid var(--line-dark); }
.mega-feature p { margin: 0; color: var(--on-dark-muted); font-size: 0.95rem; }
.mega-feature strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 0.95; display: block; margin-bottom: 0.4rem; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--on-dark); margin: 5px auto; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed; inset: 76px 0 0 0; z-index: var(--z-drawer); margin: 0;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain; padding: 0.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }
  .is-open .nav-main { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease-out); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line-dark); }
  .nav-link { width: 100%; justify-content: space-between; font-size: clamp(1.35rem, 3.2vh, 1.7rem); padding: clamp(0.45rem, 1.3vh, 0.9rem) 0; min-height: 48px; }
  .nav-link::after { display: none; }
  .dropdown, .mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: none; padding: 0 0 0.75rem; display: none; min-width: 0;
  }
  .nav-item.is-open > .dropdown, .nav-item.is-open > .mega { display: block; }
  .dropdown a { padding: 0.7rem 0.9rem; font-size: 1.1rem; }
  .mega-inner { display: block; padding: 0; }
  .mega-inner > div { margin-bottom: 1rem; }
  .mega-feature { display: none; }
  .mega ul { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--on-dark); overflow: hidden; isolation: isolate; background: #000;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.12 0.006 20 / 0.92) 0%, oklch(0.12 0.006 20 / 0.55) 55%, oklch(0.12 0.006 20 / 0.2) 100%),
    linear-gradient(0deg, oklch(0.12 0.006 20) 0%, transparent 45%);
}
.hero-inner { padding-block: 9rem clamp(3rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(3.2rem, 1.6rem + 7vw, 6rem); max-width: 13ch; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.14em 0 0.04em; margin-top: -0.14em; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { margin: 1.5rem 0 2rem; max-width: 46ch; font-size: var(--step-1); color: var(--on-dark-muted); }
.hero-sub strong { color: var(--on-dark); }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.hero-quote { max-width: 38ch; border-top: 1px solid var(--line-dark); padding-top: 1rem; font-size: 0.98rem; color: var(--on-dark-muted); margin: 0; }
.hero-quote cite { display: block; margin-top: 0.4rem; font-style: normal; font-weight: 700; color: var(--on-dark); }
.hero-video-toggle {
  position: absolute; right: var(--gutter); top: 96px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid oklch(1 0 0 / 0.4);
  background: oklch(0 0 0 / 0.35); cursor: pointer; display: grid; place-items: center;
}
.hero-video-toggle svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { transform: translateY(105%); animation: rise 0.9s var(--ease-expo) forwards; }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: 0.08s; }
  .js .hero h1 .line:nth-child(3) > span { animation-delay: 0.16s; }
  .js .hero .hero-sub, .js .hero .btn-row, .js .hero-quote { opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.45s forwards; }
  .js .hero .btn-row { animation-delay: 0.55s; }
  .js .hero-quote { animation-delay: 0.7s; }
}
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Scoreboard strip */
.scoreboard { background: var(--ink); border-block: 1px solid var(--line-dark); }
.scoreboard ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.scoreboard li { padding: 1.4rem var(--gutter); border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 0.35rem; }
.scoreboard li:first-child { border-left: 0; }
.score-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 0.85; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.score-num sup { font-size: 0.45em; color: var(--red); vertical-align: top; margin-left: 2px; }
.score-label { font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.35; }
@media (max-width: 760px) {
  .scoreboard ul { grid-template-columns: repeat(2, 1fr); }
  .scoreboard li:nth-child(3) { border-left: 0; }
  .scoreboard li:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-xl); position: relative; }
.section--tight { padding-block: var(--space-l); }
.light { background: var(--paper); color: var(--text); }
.light-2 { background: var(--paper-2); color: var(--text); }
.red { background: var(--red); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: var(--space-l); }
.section-head h2 { max-width: 16ch; }
.section-head p { max-width: 48ch; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); align-items: center; }
.split--wide-media { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 880px) { .split, .split--wide-media { grid-template-columns: 1fr; } }

.photo { position: relative; overflow: hidden; background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--frame::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 10px; background: var(--red); z-index: 1;
}

/* Intro on home */
.intro-copy h2 { margin-bottom: 1.25rem; }
.intro-photo { aspect-ratio: 4 / 3; }

/* ---------- Team finder ---------- */
.finder { display: grid; grid-template-columns: minmax(260px, 0.8fr) 2fr; gap: var(--space-l); align-items: start; }
@media (max-width: 880px) { .finder { grid-template-columns: 1fr; } }
.finder-form label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.select, .input, .textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 0.9rem; border-radius: var(--radius);
  border: 2px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark); font: inherit;
}
.light .select, .light .input, .light .textarea { background: #fff; color: var(--text); border-color: var(--line); }
.select:focus, .input:focus, .textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-glow); }
.select {
  appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23e2001a' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
}
.finder-hint { font-size: 0.92rem; margin-top: 0.75rem; }
.finder-results { display: grid; gap: 0.75rem; min-height: 120px; }
.finder-empty { border: 2px dashed var(--line-dark); padding: 2rem; color: var(--on-dark-muted); display: grid; place-items: center; text-align: center; min-height: 160px; }
.light .finder-empty { border-color: var(--line); color: var(--text-muted); }

/* team result / session card */
.team-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem 1.25rem; align-items: center;
  padding: 1rem; background: var(--ink-2); border: 1px solid var(--line-dark);
  animation: fadeUp 0.45s var(--ease-out) both;
}
.team-row + .team-row { animation-delay: 0.05s; }
.light .team-row { background: #fff; border-color: var(--line); }
.team-row img { width: 72px; height: 72px; object-fit: contain; background: #000; border-radius: 2px; }
.team-row h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.team-row .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.92rem; margin-top: 0.35rem; }
.team-row .sessions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sess-chip { font-size: 0.85rem; padding: 0.3em 0.6em; background: var(--ink-3); border-radius: 2px; font-variant-numeric: tabular-nums; }
.light .sess-chip { background: var(--paper-2); }
@media (max-width: 560px) {
  .team-row { grid-template-columns: 56px 1fr; }
  .team-row img { width: 56px; height: 56px; }
  .team-row > .btn { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Teams rail / grid ---------- */
.team-group + .team-group { margin-top: var(--space-l); }
.team-group-title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.6rem; }
.light .team-group-title { border-color: var(--line); }
.team-group-title h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); }
.team-group-title span { color: var(--on-dark-muted); font-size: 0.92rem; }
.light .team-group-title span { color: var(--text-muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.team-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: #000; border: 1px solid var(--line-dark); overflow: hidden;
  transition: border-color 0.25s, transform 0.35s var(--ease-out);
}
.team-card:hover { border-color: var(--red); transform: translateY(-4px); }
.team-card-logo { aspect-ratio: 1; overflow: hidden; }
.team-card-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.team-card:hover .team-card-logo img { transform: scale(1.06); }
.team-card-body { padding: 0.85rem 1rem 1rem; background: var(--ink-2); flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.team-card-body b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1; color: var(--on-dark); }
.team-card-body small { color: var(--on-dark-muted); font-size: 0.86rem; }
.team-card .tag--open { position: absolute; top: 0.6rem; left: 0.6rem; font-size: 0.68rem; }
.team-age {
  position: absolute; right: 0.6rem; top: 0.4rem; font-family: var(--font-display); font-weight: 900;
  font-size: 1.1rem; color: var(--on-dark); background: oklch(0 0 0 / 0.6); padding: 0.1em 0.4em; border-radius: 2px;
}

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 210px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--red) var(--ink-3); }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 0.5rem; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--line-dark); background: none; cursor: pointer; border-radius: var(--radius); transition: border-color 0.2s, background-color 0.2s; }
.icon-btn:hover { border-color: var(--red); background: var(--ink-2); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Quick links (home / kontakt) ---------- */
.quick { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-l); align-items: start; }
@media (max-width: 880px) { .quick { grid-template-columns: 1fr; } }
.quick-list { list-style: none; border-top: 2px solid currentColor; }
.quick-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 0.25rem; border-bottom: 1px solid oklch(1 0 0 / 0.28); text-decoration: none;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1;
  transition: color 0.2s;
}
.quick-list a > span { transition: transform 0.35s var(--ease-out); }
.quick-list a svg { width: 28px; height: 28px; flex: none; transition: transform 0.35s var(--ease-out); }
.quick-list a:hover > span { transform: translateX(0.9rem); }
.quick-list a:hover svg { transform: translateX(4px) rotate(-45deg); }
.light .quick-list a { border-color: var(--line); }

/* ---------- News ---------- */
.news-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--line-dark); }
.light .news-list { border-color: var(--ink); }
.news-item { display: grid; grid-template-columns: 170px 1fr; gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-dark); }
.light .news-item { border-color: var(--line); }
.news-item time { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; color: var(--red); }
.light .news-item time { color: var(--red-deep); }
.news-item h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); line-height: 1; margin-bottom: 0.6rem; }
.news-item p:last-child { margin-bottom: 0; }
.news-item ul { padding-left: 1.2em; margin: 0 0 1em; }
.results { list-style: none !important; padding: 0 !important; display: grid; gap: 4px; max-width: 520px; }
.results li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: center; background: var(--paper-2); padding: 0.5rem 0.75rem; font-weight: 600; }
.results li span:last-child { text-align: right; }
.results .score { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.results .bbzu { color: var(--red-deep); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */
.main-sponsor { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-l); align-items: center; }
@media (max-width: 880px) { .main-sponsor { grid-template-columns: 1fr; } }
.main-sponsor-logo { display: block; width: 100%; max-width: 420px; justify-self: end; background: #fff; border: 1px solid var(--line); padding: 1.25rem; transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.main-sponsor-logo:hover { transform: translateY(-3px); box-shadow: 0 16px 40px oklch(0 0 0 / 0.12); }
.sponsor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; background: #fff; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sponsor-wall > * { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.1rem; text-decoration: none; position: relative; }
.sponsor-wall img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.82; transition: filter 0.3s, opacity 0.3s, transform 0.35s var(--ease-out); }
.sponsor-wall > *:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.sponsor-wall span { position: absolute; bottom: 0.4rem; left: 0; right: 0; text-align: center; font-size: 0.72rem; color: var(--text-muted); opacity: 0; transition: opacity 0.2s; }
.sponsor-wall > *:hover span, .sponsor-wall > *:focus-visible span { opacity: 1; }
@media (hover: none) { .sponsor-wall img { filter: none; opacity: 1; } }
.members { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--line); }
.members p { margin: 0; max-width: 46ch; }
.members img { height: 64px; width: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-l); align-items: end; }
@media (max-width: 880px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--step-5); }
.cta-band .court {
  position: absolute; right: -8%; top: 50%; width: min(620px, 70vw); aspect-ratio: 1; transform: translateY(-50%);
  border: 6px solid oklch(1 0 0 / 0.14); border-radius: 50%; pointer-events: none;
}
.cta-band .court::after { content: ""; position: absolute; inset: 22%; border: 6px solid oklch(1 0 0 / 0.14); border-radius: 50%; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: #000;
  min-height: clamp(360px, 52vh, 560px); display: grid; align-items: end;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 2%, oklch(0.155 0.006 20 / 0.55) 55%, oklch(0.155 0.006 20 / 0.35)); }
.page-hero .wrap { padding-block: 8rem 3rem; }
.page-hero h1 { font-size: var(--step-5); max-width: 18ch; }
.page-hero .lead { margin-top: 1rem; color: var(--on-dark-muted); }
.page-hero--plain { min-height: 0; background: var(--ink); }
.page-hero--plain::after { display: none; }
.page-hero--plain .wrap { padding-block: 8.5rem 2.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; font-size: 0.88rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--red); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.quote-block { margin: 0; padding: var(--space-m) 0; max-width: 40ch; }
.quote-block p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-3); line-height: 1; margin-bottom: 0.75rem; }
.quote-block cite { font-style: normal; font-weight: 700; color: var(--red); }
.light .quote-block cite { color: var(--red-deep); }
.quote-block--sm p { font-size: var(--step-2); }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--space-m); }
.person { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-dark); }
.light .person { background: #fff; border-color: var(--line); }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-photo--mono { display: grid; place-items: center; background: var(--ink); }
.person-photo--mono span { font-family: var(--font-display); font-weight: 900; font-size: 6rem; color: var(--on-dark); line-height: 1; }
.person-photo--mono::after { content: ""; position: absolute; left: 0; bottom: 0; height: 8px; width: 40%; background: var(--red); }
.person-body { padding: 1.25rem 1.25rem 1.5rem; }
.person h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 0.95; }
.person .roles { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.7rem 0 1rem; }
.person blockquote { margin: 0; font-size: 0.97rem; color: var(--on-dark-muted); }
.light .person blockquote { color: var(--text-muted); }
.person blockquote p:last-child { margin-bottom: 0; }
.person-teams { margin-top: 1rem; font-size: 0.88rem; border-top: 1px solid var(--line-dark); padding-top: 0.75rem; color: var(--on-dark-muted); }
.person-teams a { color: var(--on-dark); font-weight: 600; }

.people--feature { grid-template-columns: 1fr; gap: var(--space-l); }
.people--feature .person { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; background: none; border: 0; }
.people--feature .person-body { padding: 0 0 0 var(--space-l); align-self: center; }
.people--feature .person blockquote { font-size: var(--step-1); color: var(--on-dark); max-width: 60ch; }
.people--feature .person:nth-child(even) { grid-template-columns: 1fr minmax(240px, 380px); }
.people--feature .person:nth-child(even) .person-photo { order: 2; }
.people--feature .person:nth-child(even) .person-body { padding: 0 var(--space-l) 0 0; }
@media (max-width: 760px) {
  .people--feature .person, .people--feature .person:nth-child(even) { grid-template-columns: 1fr; }
  .people--feature .person:nth-child(even) .person-photo { order: 0; }
  .people--feature .person-body, .people--feature .person:nth-child(even) .person-body { padding: 1.25rem 0 0; }
}

/* ---------- Timeline (Über uns) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 6px solid var(--red); }
.timeline li { padding: 1.25rem 1.25rem 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -13px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 5px solid var(--red); }
.light .timeline li::before { background: var(--paper); }
.timeline b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; margin: 0.4rem 0 0.35rem; }
.timeline p { font-size: 0.95rem; margin: 0; }

.strengths { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.strengths li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.strengths li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--red-deep); line-height: 1; margin-bottom: 0.5rem; }

/* ---------- Trainings ---------- */
.steps { list-style: none; counter-reset: st; display: grid; gap: 1rem; }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.steps > li::before { content: counter(st); font-family: var(--font-display); font-weight: 900; font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--red); color: #fff; line-height: 1; }
.steps ul { padding-left: 1.2em; margin-top: 0.4rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: var(--space-m); padding: 1rem; background: #fff; border: 1px solid var(--line); position: sticky; top: 84px; z-index: 5; }
.toolbar .field { flex: 1 1 200px; }
.toolbar label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.seg button { background: none; border: 0; padding: 0 1rem; min-height: 48px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 700px) {
  .toolbar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .toolbar .field:first-child, .toolbar .check { grid-column: 1 / -1; }
}
.count { font-size: 0.9rem; color: var(--text-muted); margin: -0.5rem 0 1rem; }

.plan { display: grid; gap: 1rem; }
.plan-team { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); }
.plan-team[hidden] { display: none; }
.plan-team > img { width: 96px; height: 96px; object-fit: contain; background: #000; border-radius: 2px; }
.plan-team header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 0.75rem; }
.plan-team h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.plan-team h3 a { text-decoration: none; }
.plan-team h3 a:hover { color: var(--red-deep); }
.sessions-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; table-layout: fixed; }
.sessions-table th:nth-child(1) { width: 16%; } .sessions-table th:nth-child(2) { width: 17%; } .sessions-table th:nth-child(3) { width: 39%; }
.sessions-table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; padding: 0 0.75rem 0.4rem 0; }
.sessions-table td { padding: 0.6rem 0.75rem 0.6rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.sessions-table .day { font-weight: 700; white-space: nowrap; }
.sessions-table .time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sessions-table a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.dark-table .sessions-table th { color: var(--on-dark-muted); }
.dark-table .sessions-table td { border-color: var(--line-dark); }
@media (max-width: 720px) {
  .plan-team { grid-template-columns: 1fr; }
  .plan-team > img { width: 72px; height: 72px; }
  .sessions-table thead { display: none; }
  .sessions-table tr { display: grid; grid-template-columns: auto 1fr; gap: 0 0.75rem; border-top: 1px solid var(--line); padding: 0.6rem 0; }
  .dark-table .sessions-table tr { border-color: var(--line-dark); }
  .sessions-table td { border: 0; padding: 0.1rem 0; }
  .sessions-table td.hall, .sessions-table td.coach { grid-column: 1 / -1; }
}

.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.week[hidden] { display: none; }
.week-day h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; background: var(--ink); color: #fff; padding: 0.4rem 0.6rem; }
.week-day ol { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.5rem; }
.week-slot { background: #fff; border: 1px solid var(--line); padding: 0.6rem; font-size: 0.86rem; line-height: 1.35; }
.week-slot[hidden] { display: none; }
.week-slot b { display: block; font-variant-numeric: tabular-nums; }
.week-slot a { font-weight: 700; text-decoration: none; color: var(--red-deep); }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .week { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.95rem; }
.textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; font-weight: 500 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); }
.form-note { font-size: 0.88rem; color: var(--on-dark-muted); margin-top: 0.75rem; }
.light .form-note { color: var(--text-muted); }
.form-success { display: none; margin-top: 1rem; padding: 1rem 1.25rem; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.form-success.is-visible { display: block; animation: fadeUp 0.5s var(--ease-out); }
.field-error { color: var(--red); font-size: 0.85rem; margin-top: 0.3rem; font-weight: 600; }
.light .field-error { color: var(--red-deep); }
[aria-invalid="true"] { border-color: var(--red) !important; }

/* ---------- Team page ---------- */
.team-hero { position: relative; background: #000; overflow: hidden; isolation: isolate; }
.team-hero .wrap { display: grid; grid-template-columns: 1fr minmax(260px, 480px); gap: var(--space-l); align-items: center; padding-block: 8rem 3.5rem; }
.team-hero-logo { aspect-ratio: 1; }
.team-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-hero h1 { font-size: clamp(3.4rem, 2rem + 6vw, 6rem); }
.team-hero .year { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); color: var(--red); margin: 0.6rem 0 1.5rem; line-height: 1; }
.team-hero .big-age {
  position: absolute; z-index: -1; left: -1vw; bottom: -6vw; font-family: var(--font-display); font-weight: 900;
  font-size: 36vw; line-height: 0.8; color: transparent; -webkit-text-stroke: 2px oklch(1 0 0 / 0.08); pointer-events: none; user-select: none;
}
@media (max-width: 820px) {
  .team-hero .wrap { grid-template-columns: 1fr; padding-top: 6.5rem; }
  .team-hero-logo { max-width: 260px; order: -1; }
}
.team-photo { aspect-ratio: 3 / 2; }
.photo-missing { aspect-ratio: 3 / 2; display: grid; place-items: center; text-align: center; background: var(--ink-2); border: 2px dashed var(--line-dark); padding: 2rem; }
.light .photo-missing { background: var(--paper-2); border-color: var(--line); }
.photo-missing p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-2); margin: 0; line-height: 1.05; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); }
.pager a { display: flex; align-items: center; gap: 1rem; padding: 1.5rem var(--gutter); background: var(--ink); text-decoration: none; transition: background-color 0.2s; }
.pager a:hover { background: var(--ink-2); }
.pager a:last-child { justify-content: flex-end; text-align: right; }
.pager img { width: 56px; height: 56px; object-fit: contain; background: #000; }
.pager small { display: block; color: var(--on-dark-muted); }
.pager b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }

/* ---------- Gallery + lightbox ---------- */
.gallery { columns: 3 320px; column-gap: 0.75rem; }
.gallery button { display: block; width: 100%; margin: 0 0 0.75rem; padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.gallery img { width: 100%; transition: transform 0.6s var(--ease-out), opacity 0.3s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: oklch(0.1 0.004 20 / 0.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 1rem; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: oklch(0 0 0 / 0.8); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; object-fit: contain; }
.lightbox .icon-btn { border-color: oklch(1 0 0 / 0.3); color: #fff; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-size: 0.9rem; color: var(--on-dark-muted); }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; } .lightbox-prev, .lightbox-next { position: absolute; bottom: 1rem; } .lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; } }

/* ---------- Roles (Förderung) ---------- */
.roles-list { display: grid; gap: var(--space-l); }
.role { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); align-items: center; }
.role:nth-child(even) .role-photo { order: 2; }
.role-photo { aspect-ratio: 4 / 3; }
.role h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--step-4); line-height: 0.9; margin-bottom: 0.75rem; }
.role ul { padding-left: 1.2em; }
@media (max-width: 820px) { .role { grid-template-columns: 1fr; } .role:nth-child(even) .role-photo { order: 0; } }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.product-img { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.product:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.product h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 0.95; }
.product dl { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.9rem; margin: 0; font-size: 0.92rem; }
.product dt { color: var(--text-muted); }
.product dd { margin: 0; font-weight: 600; }
.product .price { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--red-deep); }
.product p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Contact ---------- */
.shotclock {
  display: inline-grid; place-items: center; min-width: 5.2ch; padding: 0.1em 0.3em; background: #000; border: 3px solid var(--line-dark);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 3rem + 5vw, 7.5rem); line-height: 1; color: var(--red);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 22px var(--red-glow);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-l); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; display: grid; gap: 0.25rem; font-size: var(--step-1); }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--red); }
.socials { display: flex; gap: 0.5rem; list-style: none; margin-top: 1.25rem; }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--line-dark); border-radius: 50%; transition: background-color 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--on-dark); padding-top: var(--space-xl); border-top: 6px solid var(--red); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--space-l); padding-bottom: var(--space-l); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-m) 1rem; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { width: 170px; margin-bottom: 1.25rem; }
.footer-brand address { font-style: normal; color: var(--on-dark-muted); }
.site-footer h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.1em; color: var(--on-dark-muted); margin-bottom: 0.9rem; }
.footer-links { list-style: none; display: grid; gap: 0.25rem; }
.footer-links a { text-decoration: none; display: inline-block; padding: 0.2rem 0; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.88rem; color: var(--on-dark-muted); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-sponsor { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; text-decoration: none; }
.footer-sponsor img { width: 120px; background: #fff; padding: 6px; }
.footer-sponsor small { color: var(--on-dark-muted); display: block; }
.credit a { color: var(--on-dark-muted); }

/* Mobile sticky probetraining bar */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    gap: 1px; background: var(--line-dark); transform: translateY(110%); transition: transform 0.4s var(--ease-out);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; background: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.04em; }
  .mobile-cta a:first-child { background: var(--red); flex: 1.4; }
  .mobile-cta svg { width: 18px; height: 18px; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 56px; }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
  .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-expo); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
  .js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .mobile-cta, .site-footer, .hero-media, video { display: none !important; }
  body { background: #fff; color: #000; }
}

.handle { font-size: clamp(1.9rem, 0.9rem + 4.4vw, 4.4rem); overflow-wrap: anywhere; }
@media (max-width: 560px) { .pager img { display: none; } .pager a { padding: 1.1rem var(--gutter); } .pager b { font-size: 1.3rem; } }

/* ---------- Games: match cards, lists, standings ---------- */
.mc-tools { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.seg--dark { border-color: var(--on-dark); }
.seg--dark button[aria-selected="true"], .seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg--dark button[aria-selected="true"] { background: var(--on-dark); color: var(--ink); }
.seg button { color: inherit; }
.rail--matches { grid-auto-columns: minmax(300px, 340px); }
.rail[hidden], .game-list[hidden], .tables[hidden] { display: none; }

.match {
  display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-dark);
  position: relative; overflow: hidden; color: var(--on-dark);
}
.match[hidden] { display: none; }
.match::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); }
.match--win { box-shadow: inset 0 4px 0 var(--red); }
.match-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
.match-head time { color: var(--on-dark-muted); }
.match-head time b { color: var(--on-dark); font-weight: 700; }
.where-tag, .res-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.55em; border-radius: 2px; background: var(--ink-3); white-space: nowrap; }
.where-tag--home { background: var(--red); color: #fff; }
.res-tag--win { background: var(--red); color: #fff; }
.res-tag--loss { background: var(--ink-3); color: var(--on-dark-muted); }
.match-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; padding: 1.1rem 1rem; flex: 1; }
.side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; min-width: 0; font-size: 0.9rem; line-height: 1.25; }
.side img, .crest { width: 48px; height: 48px; object-fit: contain; background: #000; border-radius: 50%; flex: none; }
.crest { display: grid; place-items: center; background: var(--ink-3); font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: var(--on-dark-muted); }
.side b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.side small { display: block; color: var(--on-dark-muted); font-size: 0.78rem; }
.side a { text-decoration: none; }
.side a:hover b { color: var(--red); }
.side--bbzu b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.vs { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.score { display: flex; align-items: baseline; gap: 0.2rem; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.score i { font-style: normal; color: var(--on-dark-muted); font-size: 0.7em; }
.match--win .score span { color: var(--on-dark); }
.match-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.7rem 1rem; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-muted); }
.match-foot .league { font-weight: 700; color: var(--on-dark); }
.match-foot a { display: inline-flex; align-items: center; gap: 0.3rem; text-decoration: none; color: inherit; min-height: 32px; }
.match-foot a:hover { color: var(--red); }
.match-foot svg { width: 14px; height: 14px; flex: none; }
.match-foot .details { margin-left: auto; font-variant-numeric: tabular-nums; }

.light .match { background: #fff; border-color: var(--line); color: var(--text); }
.light .match-head, .light .match-foot { border-color: var(--line); }
.light .match-head time, .light .match-foot, .light .side small, .light .crest { color: var(--text-muted); }
.light .match-head time b, .light .match-foot .league, .light .vs, .light .score span { color: var(--text); }
.light .crest { background: var(--paper-2); }
.light .where-tag, .light .res-tag--loss { background: var(--paper-2); color: var(--text); }
.light .where-tag--home, .light .res-tag--win { background: var(--red); color: #fff; }
.light .side a:hover b, .light .match-foot a:hover { color: var(--red-deep); }

.game-list { display: grid; gap: 0.75rem; }
.game-list--grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.game-list .month, .game-list .season-head { grid-column: 1 / -1; margin-top: 1.25rem; }
.game-list .month { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); border-bottom: 2px solid currentColor; padding-bottom: 0.3rem; }
.game-list .month:first-child, .game-list .season-head:first-child { margin-top: 0; }
.game-list .month[hidden], .empty-note[hidden] { display: none; }
.empty-note { grid-column: 1 / -1; padding: 2rem; border: 2px dashed var(--line); text-align: center; color: var(--text-muted); }

.next-game { margin-bottom: var(--space-l); }
.next-label { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.06em; color: var(--red); margin-bottom: 0.5rem; }
.next-game .match { border-color: var(--red); }
.next-game .match-body { padding-block: 1.75rem; }
.next-game .side img, .next-game .crest { width: 80px; height: 80px; }
.next-game .side--bbzu b { font-size: 2rem; }
.next-game .vs { font-size: 3.4rem; }
@media (min-width: 900px) { .next-game .side { flex-direction: row; text-align: left; } .next-game .side:last-child { flex-direction: row-reverse; text-align: right; } }
.team-games { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); }
.team-games h3 { margin-bottom: 1rem; }
@media (max-width: 880px) { .team-games { grid-template-columns: 1fr; } }

.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: var(--space-m); margin-top: var(--space-l); }
.table-block[hidden] { display: none; }
.table-block h3 { margin-bottom: 0.6rem; }
.table-wrap { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; background: var(--ink-2); border: 1px solid var(--line-dark); }
.light .standings { background: #fff; border-color: var(--line); }
.standings caption { text-align: left; font-weight: 700; padding: 0 0 0.5rem; }
.standings th { text-align: right; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); padding: 0.6rem 0.6rem; border-bottom: 1px solid var(--line-dark); }
.standings td { text-align: right; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line-dark); }
.light .standings th { color: var(--text-muted); }
.light .standings th, .light .standings td { border-color: var(--line); }
.standings th:nth-child(2), .standings td.team { text-align: left; }
.standings td:first-child, .standings th:first-child { text-align: center; width: 2.5rem; }
.standings .pts { font-weight: 800; }
.standings tr.is-bbzu td { background: var(--red); color: #fff; font-weight: 700; }
@media (max-width: 520px) { .standings .opt { display: none; } }

.data-note { margin-top: var(--space-m); font-size: 0.85rem; color: var(--on-dark-muted); }
.light .data-note { color: var(--text-muted); }
.toolbar--games { align-items: end; }
.toolbar--games .seg { flex: none; }
@media (max-width: 700px) { .toolbar--games .seg { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, auto); } .toolbar--games .seg button { padding: 0 0.5rem; white-space: nowrap; font-size: 0.92rem; } .toolbar--games .field { grid-column: 1 / -1; } }

.cal-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; }
.cal-list a { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1rem; background: var(--ink-2); border: 1px solid var(--line-dark); text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.cal-list a:hover { border-color: var(--red); background: var(--ink-3); }
.cal-list img { width: 40px; height: 40px; object-fit: contain; background: #000; border-radius: 50%; }
.cal-list span { flex: 1; min-width: 0; }
.cal-list b { display: block; font-weight: 700; }
.cal-list small { color: var(--on-dark-muted); }
.cal-list svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.crest--logo { background: #fff; object-fit: contain; padding: 3px; border: 1px solid var(--line); }
.standings .row-logo { display: inline-block; width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 0.5rem; background: #fff; border-radius: 50%; padding: 1px; }
.crest--logo { border-radius: 10px; }
.standings .row-logo { border-radius: 4px; }
.standings .row-logo--bbzu { background: #000; }
.crest--dark, .standings .row-logo.crest--dark { background: var(--ink); border-color: var(--ink); }
.crest.crest--dark, .light .crest.crest--dark, .standings .row-logo.crest--dark { background: var(--ink); border-color: var(--ink); }

/* ---------- Tournaments ---------- */
.tourney { display: grid; grid-template-columns: 110px 1fr; background: #fff; border: 1px solid var(--line); color: var(--text); }
.tourney[hidden] { display: none; }
.tourney-date { background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 0.5rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1; gap: 0.25rem; }
.tourney-date b { font-size: 3.2rem; font-weight: 900; }
.tourney-body { padding: 1rem 1.25rem; }
.tourney-body p { margin: 0 0 0.35rem; }
.tourney-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-deep); }
.tourney h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 0.5rem; }
.tourney a { display: inline-flex; gap: 0.35rem; align-items: center; color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.tourney a svg { width: 16px; height: 16px; flex: none; }
.tourney-meta { font-size: 0.88rem; color: var(--text-muted); }
.tourney-list { display: grid; gap: 1rem; max-width: 860px; }
.tourney-list[hidden] { display: none; }
.tourney-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tourney--strip { background: var(--ink-2); border-color: var(--red); color: var(--on-dark); }
.tourney--strip .tourney-kicker { color: var(--red); }
.tourney--strip .tourney-meta { color: var(--on-dark-muted); }
@media (max-width: 480px) { .tourney { grid-template-columns: 84px 1fr; } .tourney-date b { font-size: 2.4rem; } }
.side img.crest--logo { background: #fff; }
.side img.crest--logo.crest--dark { background: var(--ink); border-color: var(--line-dark); }
.side b { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.rail--matches { grid-auto-columns: minmax(320px, 350px); }
.tourney--in-list { border-color: var(--red); box-shadow: inset 0 4px 0 var(--red); grid-template-columns: 96px 1fr; }
.tourney--in-list h3 { font-size: 1.6rem; }



/* ---------- BBZU Korbjäger ---------- */
.kj-section { padding-top: var(--space-m); }
.kj { max-width: 980px; margin-inline: auto; outline: none; }
.kj-stage { position: relative; width: 100%; height: min(78svh, 720px); min-height: 520px; background: #0e0b0b; border: 1px solid var(--line-dark); overflow: hidden; user-select: none; -webkit-user-select: none; }
.kj-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; outline: none; }
.kj-stage canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--red); }
.kj-hud { position: absolute; inset: 0 0 auto 0; display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.75rem; pointer-events: none; }
.kj-hud[hidden], .kj-overlay[hidden] { display: none; }
.kj-score, .kj-time { background: rgba(0,0,0,0.6); padding: 0.35rem 0.7rem; line-height: 1; border-bottom: 3px solid var(--red); }
.kj-score small, .kj-time small { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-bottom: 0.15rem; }
.kj-score b, .kj-time b { font-family: var(--font-display); font-weight: 900; font-size: 2rem; font-variant-numeric: tabular-nums; }
.kj-streak { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: var(--red); margin-left: 0.35rem; }
.kj-time.is-low b { color: var(--red); }
.kj-leader { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; background: rgba(0,0,0,0.6); padding: 0.35rem 0.6rem; max-width: 55%; }
.kj-leader img { width: 28px; height: 28px; object-fit: contain; background: #000; border-radius: 4px; }
.kj-leader small { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.kj-leader b { display: block; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kj-leader em { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; }
.kj-lead-you { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: #fff; background: var(--red); padding: 0.2rem 0.5rem; font-size: 1.1rem; }
.kj-overlay { position: absolute; inset: 0; overflow-y: auto; background: rgba(14,11,11,0.92); padding: clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
@supports (backdrop-filter: blur(1px)) { .kj-overlay { background: rgba(14,11,11,0.78); backdrop-filter: blur(6px); } }
.kj-select h2 { font-size: var(--step-3); }
.kj-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.6rem; width: 100%; max-width: 820px; }
.kj-teams button { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.6rem 0.3rem; background: var(--ink-2); border: 2px solid var(--line-dark); cursor: pointer; transition: border-color 0.2s, transform 0.25s var(--ease-out); color: var(--on-dark); }
.kj-teams button:hover, .kj-teams button:focus-visible { border-color: var(--red); transform: translateY(-2px); }
.kj-teams button[aria-pressed="true"] { border-color: var(--red); background: var(--ink-3); }
.kj-teams img { width: 64px; height: 64px; object-fit: contain; background: #000; border-radius: 6px; }
.kj-teams span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; line-height: 1; }
.kj-howto { max-width: 56ch; font-size: 0.92rem; color: var(--on-dark-muted); margin: 0; }

.kj-over-kicker { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--red); font-size: 1.3rem; margin: 0; letter-spacing: 0.05em; }
.kj-final { font-size: clamp(4.5rem, 3rem + 6vw, 7rem); line-height: 0.85; margin: 0; }
.kj-final-meta, .kj-final-note { margin: 0; color: var(--on-dark-muted); }
.kj-final-note { color: var(--on-dark); font-weight: 700; }
.kj-form { width: 100%; max-width: 560px; text-align: left; background: var(--paper); color: var(--text); padding: 1.1rem 1.2rem; }
.kj-form[hidden], .kj-form-done[hidden] { display: none; }
.kj-form h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.kj-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.kj-fields > label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; }
.kj-fields .select, .kj-fields .input { background: #fff; color: var(--text); border-color: var(--line); min-height: 46px; }
.kj-rel { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
.kj-rel legend { font-weight: 700; font-size: 0.9rem; padding: 0; margin-bottom: 0.2rem; }
.kj-rel .check input { width: 20px; height: 20px; }
.kj-consent { font-size: 0.82rem; font-weight: 500; line-height: 1.4; align-items: flex-start; margin: 0.75rem 0 0.25rem; }
.kj-consent input { flex: none; margin-top: 2px; }
.kj-form .field-error { color: var(--red-deep); min-height: 1.2em; }
.kj-form-done { max-width: 560px; background: var(--red); color: #fff; padding: 1rem 1.2rem; font-weight: 700; margin: 0; }
@media (max-width: 560px) { .kj-fields { grid-template-columns: 1fr; } .kj-leader { max-width: 48%; } .kj-score b, .kj-time b { font-size: 1.6rem; } }
.kj-board { width: 100%; max-width: 760px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.kj-board th { text-align: left; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
.kj-board td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); }
.kj-board .rank { width: 3rem; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.kj-board .who { display: flex; align-items: center; gap: 0.7rem; }
.kj-board .who img { width: 32px; height: 32px; object-fit: contain; background: #000; border-radius: 4px; }
.kj-board .who small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.kj-board .pts { text-align: right; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; }
.kj-board tr.is-leader td { background: var(--red); color: #fff; }
.kj-board tr.is-leader small { color: rgba(255,255,255,0.85); }
.kj-board .empty { text-align: center; color: var(--text-muted); padding: 2rem; }
.kj-teaser-art { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 100%, #4a3526, #120d0d 70%); border: 1px solid var(--line-dark); overflow: hidden; }
.kj-teaser-hoop { position: absolute; left: 50%; top: 22%; width: 26%; height: 8%; transform: translateX(-50%); border: 5px solid var(--red); border-radius: 50%; }
.kj-teaser-hoop::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 150%; height: 190%; transform: translateX(-50%); border: 3px solid #fff; background: rgba(255,255,255,0.08); }
.kj-teaser-ball { position: absolute; left: 50%; bottom: 10%; width: 13%; aspect-ratio: 1; margin-left: -6.5%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6a25a, #e0701f 55%, #8f3a0c); }
.kj-teaser-score { position: absolute; right: 6%; top: 8%; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .kj-teaser-art:hover .kj-teaser-ball, .kj-teaser-art:focus-visible .kj-teaser-ball { animation: kjShot 1.1s var(--ease-out) forwards; }
  @keyframes kjShot { 60% { transform: translate(0, -330%) scale(0.55); } 100% { transform: translate(0, -250%) scale(0.5); } }
}
.page-kj .mobile-cta { display: none; }
.kj-stage { height: min(calc(100svh - 110px), 720px); }
.kj-teaser-art { aspect-ratio: auto; background: #0e0b0b; }
.kj-teaser-art img { width: 100%; height: auto; transition: transform 0.6s var(--ease-out); }
.kj-teaser-art:hover img { transform: scale(1.03); }
.kj-teaser-score { z-index: 1; text-shadow: 0 3px 12px rgba(0,0,0,0.6); top: auto; bottom: 8%; right: 6%; }
.kj-teaser-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s var(--ease-out); }
.kj-teaser-play svg { width: 30px; height: 30px; margin-left: 4px; }
.kj-teaser-art:hover .kj-teaser-play { transform: scale(1.08); }

/* Korbjäger v2: full screen, exit button, fixed team in the entry form */
.kj.is-full { position: fixed; inset: 0; z-index: var(--z-modal); max-width: none; margin: 0; background: #000; }
.kj.is-full .kj-stage { height: 100%; min-height: 0; border: 0; }
.kj:fullscreen { max-width: none; width: 100%; height: 100%; background: #000; }
.kj:fullscreen .kj-stage { height: 100%; min-height: 0; border: 0; }
html.kj-lock, html.kj-lock body { overflow: hidden; overscroll-behavior: none; }
html.kj-lock .site-header, html.kj-lock .mobile-cta { visibility: hidden; }
.kj-exit { display: none; position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.55); color: #fff; cursor: pointer; place-items: center; }
.kj-exit svg { width: 18px; height: 18px; }
.kj.is-full .kj-exit { display: grid; }
.kj.is-full .kj-hud { padding-top: max(0.75rem, env(safe-area-inset-top)); }
.kj-team-field { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; }
.kj-team-show { display: flex; align-items: center; gap: 0.6rem; margin: 0; min-height: 46px; padding: 0.3rem 0.6rem; background: var(--paper-2); border: 1px solid var(--line); }
.kj-team-show img { width: 36px; height: 36px; object-fit: contain; background: #000; border-radius: 4px; }

/* Korbjäger v3: one scoreboard (in the arena), leader badge bottom left, modes, duel */
.kj-hud { inset: auto auto 0 0; padding: 0.75rem; padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.kj.is-full .kj-hud { padding-top: 0.75rem; }
.kj-leader { margin-left: 0; max-width: min(70vw, 320px); }
.kj-streak { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; background: var(--red); color: #fff; padding: 0.15rem 0.5rem; font-size: 1rem; margin: 0; }
.kj-streak[hidden] { display: none; }
.kj-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 100%; max-width: 560px; }
.kj-modes button { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.8rem; background: var(--ink-2); color: var(--on-dark); border: 2px solid var(--line-dark); cursor: pointer; min-height: 64px; }
.kj-modes button b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.kj-modes button small { color: var(--on-dark-muted); font-size: 0.8rem; }
.kj-modes button[aria-pressed="true"] { border-color: var(--red); background: var(--red); }
.kj-modes button[aria-pressed="true"] small { color: #fff; }
.kj-modes[hidden], .kj-duel-names[hidden], .kj-turn-note[hidden], .kj-duel-result[hidden], .kj-single-result[hidden] { display: none; }
.kj-duel-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 100%; max-width: 560px; text-align: left; }
.kj-duel-names label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 700; font-size: 0.85rem; color: var(--on-dark-muted); }
.kj-turn-note { display: flex; align-items: center; gap: 0.75rem; background: var(--red); color: #fff; padding: 0.7rem 1rem; margin: 0; max-width: 560px; text-align: left; }
.kj-turn-note img { width: 36px; height: 36px; object-fit: contain; background: #000; border-radius: 4px; flex: none; }
.kj-single-result { display: contents; }
.kj-duel-result { width: 100%; max-width: 560px; display: grid; gap: 0.5rem; }
.kj-winner { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 0.9; margin: 0 0 0.5rem; }
.kj-duel-row { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 0.75rem; background: var(--ink-2); border: 1px solid var(--line-dark); padding: 0.6rem 0.8rem; text-align: left; }
.kj-duel-row.is-win { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.kj-duel-row img { width: 44px; height: 44px; object-fit: contain; background: #000; border-radius: 4px; }
.kj-duel-row b { display: block; font-size: 1.05rem; }
.kj-duel-row small { color: var(--on-dark-muted); font-size: 0.8rem; }
.kj-duel-row em { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.kj-team-show em { margin-left: auto; font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }
@media (max-width: 480px) { .kj-duel-row { grid-template-columns: 36px 1fr auto; } .kj-duel-row .btn { grid-column: 1 / -1; justify-content: center; } .kj-duel-row img { width: 36px; height: 36px; } }
.kj-start { justify-content: center; gap: 0.75rem; background: radial-gradient(ellipse at 50% 60%, rgba(226,0,26,0.28), rgba(14,11,11,0.85) 65%); }
.kj-start[hidden] { display: none; }
.kj-start-kicker { margin: 0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; color: var(--on-dark-muted); }
.kj-start-title { font-size: clamp(3.5rem, 2rem + 8vw, 7rem); line-height: 0.85; margin: 0; }
.kj-start-sub { margin: 0 0 1rem; color: var(--on-dark-muted); max-width: 40ch; }
.kj-play { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.2rem 1rem 1.6rem; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; cursor: pointer; box-shadow: 0 16px 40px rgba(226,0,26,0.45); transition: transform 0.25s var(--ease-out), background-color 0.2s; }
.kj-play svg { width: 30px; height: 30px; }
.kj-play:hover { background: var(--red-deep); transform: scale(1.04); }
@media (prefers-reduced-motion: no-preference) { .kj-play { animation: kjPulse 2.4s ease-in-out infinite; } @keyframes kjPulse { 50% { box-shadow: 0 16px 60px rgba(226,0,26,0.75); } } }
/* footer: main sponsor block */
.footer-sponsor-title { margin-top: 1.75rem; }
.footer-sponsor { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; margin-top: 0; text-decoration: none; max-width: 180px; }
.footer-sponsor img { width: 100%; height: auto; background: #fff; padding: 8px; border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.footer-sponsor span { font-weight: 600; }
.footer-sponsor:hover img { transform: translateY(-2px); }
.footer-sponsor:hover span { color: var(--red); }

/* main sponsor band (McDonald's green, as on the old site) */
.sponsor-band { background: #284416; color: #fff; padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); text-align: center; }
.sponsor-band h2 { font-family: var(--font-text); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: 0 0 1.25rem; letter-spacing: -0.01em; }
.sponsor-band-logo { display: inline-block; width: min(260px, 60vw); transition: transform 0.3s var(--ease-out); }
.sponsor-band-logo img { width: 100%; height: auto; }
.sponsor-band-logo:hover { transform: scale(1.03); }
.sponsor-band-text { max-width: 62ch; margin: 1.5rem auto 0; font-size: var(--step-1); line-height: 1.55; color: rgba(255,255,255,0.92); }
.footer-sponsor img { background: none; padding: 0; }
/* links to basketplan */
.tag-link { text-decoration: none; }
.tag-link:hover span { outline: 2px solid currentColor; outline-offset: 1px; }
.standings caption { caption-side: top; text-align: left; }
.standings caption span { margin-right: 1rem; }
.standings caption a { font-weight: 600; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.3rem; color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.standings caption a svg { width: 13px; height: 13px; }

/* "Offen für Probetraining": a quiet status line instead of floating pills */
.open-note { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--red); }
.light .open-note, .plan .open-note { color: var(--red-deep); }
.open-note svg { width: 1.05em; height: 1.05em; flex: none; }
.team-hero .open-note { margin: -0.75rem 0 1.25rem; font-size: 1rem; color: #fff; }
.team-hero .open-note svg { color: var(--red); }
.plan-meta { font-size: 0.92rem; color: var(--text-muted); }
.plan-team header { gap: 0.3rem 1.25rem; }
.team-card-body { padding-bottom: 0.9rem; }
.team-card-foot { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; background: var(--ink-2); border-top: 1px solid var(--line-dark); font-size: 0.85rem; font-weight: 600; color: var(--on-dark-muted); }
.team-card-foot svg { width: 1em; height: 1em; flex: none; }
.team-card-foot svg:last-child { margin-left: auto; transition: transform 0.3s var(--ease-out); }
.team-card-foot.is-open { color: #fff; }
.team-card-foot.is-open svg:first-child { color: var(--red); }
.team-card:hover .team-card-foot svg:last-child { transform: translateX(3px); }
/* on dark backgrounds: white text, red check (red text would be too low in contrast) */
.team-row .open-note { color: #fff; }
.team-row .open-note svg { color: var(--red); }
/* card footer: always one line and the same height, so the divider sits at the same place on every card */
.team-card-body { flex: 1; }
.team-card-foot { height: 44px; white-space: nowrap; }
.team-card-foot span { overflow: hidden; text-overflow: ellipsis; }
/* match cards: footer on one line so all cards in a row line up */
.match-foot { flex-wrap: nowrap; white-space: nowrap; }
.match-foot .hall { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.match-foot .league, .match-foot .details { flex: none; }
.rail--matches .match { height: 100%; }
/* the rail scrolls sideways and clips vertically: leave room for the hover lift so the red top border stays visible */
.rail { padding-top: 8px; margin-top: -8px; }
.kj-teams[hidden], .kj-howto[hidden], .kj-turn-go[hidden] { display: none; }
.kj-turn-go img { width: 40px; height: 40px; object-fit: contain; background: #000; border-radius: 50%; }

/* ---------- Heute spielen: gameday strip ----------
   No slider: every game of the day is visible. Games sit in a grid that wraps.
   Desktop: red label left | games | "Alle Spiele" right. Tablet/phone: red title row on top, games below. */
.gameday { background: linear-gradient(90deg, var(--red) 50%, var(--ink-2) 50%); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.gameday[hidden] { display: none; }
.gd-inner { max-width: var(--max); margin-inline: auto; background: var(--ink-2); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "label list more"; }
.gd-label { grid-area: label; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; padding: 1rem 1.5rem 1rem var(--gutter); background: var(--red); color: #fff; }
.gd-live { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; letter-spacing: 0.02em; }
.gd-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; }
@media (prefers-reduced-motion: no-preference) { .gd-dot { animation: gdPulse 1.6s ease-in-out infinite; } }
@keyframes gdPulse { 50% { opacity: 0.25; } }
.gd-date { font-family: var(--font-text); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.gd-list { grid-area: list; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gd-game { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: -1px; }
.gd-game a { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); grid-template-areas: "when teams" "when where"; column-gap: 1rem; row-gap: 0.4rem; align-items: center; height: 100%; padding: 0.9rem 1.25rem; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.gd-game a:hover { background: var(--ink-3); }
/* time: fixed column, same size everywhere, so 13:00 and 15:00 line up */
.gd-when { grid-area: when; align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-right: 2px solid var(--red); padding-right: 0.8rem; }
.gd-when b { font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; white-space: nowrap; }
.gd-when small { font-family: var(--font-text); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-muted); margin-top: 0.3rem; }
/* team names: one font (Archivo), BBZU team white and bold, opponent regular */
.gd-teams { grid-area: teams; display: grid; gap: 0.35rem; min-width: 0; }
.gd-team { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.gd-logo { width: 26px; height: 26px; object-fit: contain; flex: none; border-radius: 5px; background: #000; }
.gd-logo--opp { background: #fff; padding: 1px; }
.gd-logo--opp.crest--dark { background: var(--ink); }
.gd-name { font-family: var(--font-text); font-size: 0.95rem; font-weight: 500; line-height: 1.2; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-name b { font: inherit; }
.gd-team--bbzu .gd-name { color: #fff; font-weight: 700; }
.gd-where { grid-area: where; display: flex; align-items: center; gap: 0.35rem; font-family: var(--font-text); font-size: 0.8rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gd-where svg { width: 13px; height: 13px; flex: none; }
.gd-more { grid-area: more; display: flex; align-items: center; gap: 0.5rem; padding: 0 var(--gutter) 0 1.5rem; font-family: var(--font-text); font-weight: 700; font-size: 0.9rem; color: #fff; text-decoration: none; white-space: nowrap; }
.gd-more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.gd-more:hover svg { transform: translateX(3px); }
.gameday--spiele .gd-more { visibility: hidden; }

/* tablet + phone: red title row on top (HEUTE · date · Alle Spiele), games in a grid below */
@media (max-width: 1023px) {
  .gameday { background: var(--ink-2); }
  .gd-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label more" "list list"; }
  .gd-label { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 0.75rem; padding: 0.75rem 0.5rem 0.75rem var(--gutter); }
  .gd-live { font-size: 1.35rem; }
  .gd-more { background: var(--red); padding: 0 var(--gutter) 0 0.5rem; }
  .gameday--spiele .gd-more { visibility: hidden; }
  .gd-list { padding-inline: var(--gutter); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); column-gap: 2rem; }
  .gd-game { border-right: 0; }
  .gd-game a { padding-inline: 0; }
}
@media (max-width: 699px) {
  .gd-list { grid-template-columns: 1fr; }
  .gd-game:last-child { border-bottom: 0; }
  .gd-date { font-size: 0.78rem; }
}

/* long opponent names wrap to a second line instead of being cut off */
.gd-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* hover fills the whole cell on every screen: the gutter is padding inside the link, not around the list */
.gd-list { overflow: hidden; }
.gd-game { border-right: 1px solid var(--line-dark); margin-right: -1px; }
@media (max-width: 1023px) {
  .gd-list { padding-inline: 0; column-gap: 0; }
  .gd-game a { padding: 0.9rem var(--gutter); }
}

/* ---------- Korbjäger on phones / short screens: every screen fits without scrolling ---------- */
.kj.is-full { height: 100vh; height: 100dvh; }

@media (max-width: 700px), (max-height: 760px) {
  .kj-overlay { padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom)); gap: 0.6rem; }
  .kj-select h2, .kj-pick-title { font-size: clamp(1.25rem, 5.2vw, 1.8rem); line-height: 1; margin: 0; }
  .kj-modes button { min-height: 52px; padding: 0.45rem; }
  .kj-modes button b { font-size: 1.2rem; }
  .kj-modes button small { font-size: 0.72rem; }
  .kj-duel-names input { min-height: 42px; padding: 0.5rem 0.7rem; }
  .kj-duel-names label { font-size: 0.78rem; }
  .kj-turn-note { padding: 0.5rem 0.75rem; font-size: 0.88rem; }
  .kj-howto { display: none; }
  /* team logos (they already contain the team name) fill the remaining height in an even grid */
  /* square logo tiles (the logos carry the team names), sized so four rows fit the height left */
  .kj-teams { --kj-reserve: 180px; flex: 0 0 auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem;
    width: min(100%, calc((100dvh - var(--kj-reserve)) / 4 * 5)); margin-inline: auto; }
  .kj-select:has(.kj-duel-names:not([hidden])) .kj-teams, .kj-select:has(.kj-turn-note:not([hidden])) .kj-teams { --kj-reserve: 260px; }
  .kj-teams button { position: relative; aspect-ratio: 1; padding: 0; min-width: 0; justify-content: center; background: #000; overflow: hidden; }
  .kj-teams img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
  .kj-teams span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kj-over { gap: 0.5rem; }
  .kj-final { font-size: clamp(3.5rem, 18vw, 5rem); }
  .kj-winner { font-size: clamp(2rem, 9vw, 2.8rem); }
  .kj-form { padding: 0.8rem; }
  .kj-form h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
  .kj-fields { gap: 0.5rem; }
  .kj-consent { font-size: 0.75rem; margin: 0.4rem 0 0.2rem; }
  .kj-over-actions .btn { min-height: 44px; padding: 0.6em 1em; font-size: 1rem; }
}

/* result screen and leaderboard form are separate steps */
.kj-over.is-form > :not(.kj-form) { display: none; }
.kj-over .kj-enter { margin-top: 0.75rem; }
.kj-form-back { background: none; border: 0; color: inherit; font: inherit; font-size: 0.9rem; font-weight: 700; padding: 0.25rem 0; margin-bottom: 0.35rem; cursor: pointer; opacity: 0.75; }
.kj-form-back:hover { opacity: 1; }
.kj-over.is-form { justify-content: center; }
@media (max-width: 700px), (max-height: 760px) {
  .kj-form .kj-rel { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
  .kj-form .kj-rel legend { width: 100%; }
  .kj-form .input { min-height: 40px; padding: 0.45rem 0.7rem; }
  .kj-form .kj-team-show { padding: 0.35rem 0.6rem; }
  .kj-form .btn[type=submit] { width: 100%; justify-content: center; }
}
.kj:has(.kj-over.is-form) .kj-exit { display: none; }
@media (max-width: 700px), (max-height: 760px) {
  .kj-form h3 { margin-bottom: 0.3rem; }
  .kj-form .kj-fields { gap: 0.4rem; }
  .kj-form .kj-fields label, .kj-form .kj-team-field span, .kj-form .kj-rel legend { font-size: 0.85rem; }
  .kj-form .kj-rel { gap: 0.1rem 0.8rem; }
  .kj-form .kj-rel .check { font-size: 0.88rem; padding: 0.15rem 0; min-height: 0; }
  .kj-form .kj-consent { line-height: 1.3; }
}
@media (max-height: 620px) {
  .kj-over.is-form { padding-top: max(0.4rem, env(safe-area-inset-top)); padding-bottom: max(0.4rem, env(safe-area-inset-bottom)); }
  .kj-form .kj-consent { font-size: 0.7rem; }
  .kj-form-back { margin-bottom: 0; }
}
/* landscape phones/tablets: square logo tiles in two rows, sized to the height that is left */
@media (orientation: landscape) and (max-height: 760px) {
  .kj-teams { flex: 0 0 auto; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-auto-rows: auto; width: min(100%, calc((100dvh - var(--kj-reserve)) / 2 * 9)); margin-inline: auto; }
  .kj-teams button { aspect-ratio: 1; }
}

/* game day photo (home only, shown only when games are on today) */
.gd-photo { margin: 0; position: relative; height: clamp(220px, 34vw, 480px); overflow: hidden; background: #000; }
.gd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; display: block; }
.gd-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.12 0.006 20 / 0.35) 0%, transparent 25%, transparent 70%, oklch(0.12 0.006 20 / 0.6) 100%); }
@media (max-width: 699px) { .gd-photo { height: 62vw; } }
html.menu-open .mobile-cta { display: none !important; }

/* every game screen sits in the middle of the screen; `safe` keeps the top reachable if it ever overflows */
.kj-overlay { justify-content: center; justify-content: safe center; }

/* Probetraining form: the Jahrgang finds the team */
.step-tip { margin: 0.6rem 0 0; padding: 0.55rem 0.8rem; background: oklch(1 0 0 / 0.14); border-left: 3px solid #fff; font-size: 0.95rem; }
.step-tip a { color: inherit; font-weight: 700; }
.trial-match { border: 1px solid var(--line); background: #fff; padding: 0.9rem; display: grid; gap: 0.6rem; }
.trial-match[hidden] { display: none; }
.trial-match-head { display: flex; align-items: center; gap: 0.75rem; }
.trial-match-head img { width: 56px; height: 56px; object-fit: contain; background: #000; border-radius: 4px; flex: none; }
.trial-match-head div { flex: 1; min-width: 0; }
.trial-match-head b { display: block; font-weight: 800; }
.trial-match-head small { color: var(--text-muted, #666); }
.trial-match-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--red); text-decoration: none; white-space: nowrap; }
.trial-match-link svg { width: 16px; height: 16px; }
.trial-match-link:hover { text-decoration: underline; }
.trial-match-label { margin: 0; font-size: 0.85rem; font-weight: 700; }
.trial-match-times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.trial-match-times button { font: inherit; font-size: 0.9rem; text-align: left; padding: 0.45rem 0.7rem; border: 2px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; transition: border-color 0.15s; }
.trial-match-times button small { display: block; font-size: 0.78rem; color: var(--text-muted, #666); }
.trial-match-times button:hover, .trial-match-times button[aria-pressed="true"] { border-color: var(--red); }
.trial-match-times button[aria-pressed="true"] { background: oklch(0.96 0.03 25); }
.trial-match-none { margin: 0; font-size: 0.95rem; }
.trial-match-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.5rem; }
.trial-match-pick button { display: flex; align-items: center; gap: 0.6rem; text-align: left; font: inherit; padding: 0.5rem; border: 2px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; transition: border-color 0.15s; }
.trial-match-pick button:hover { border-color: var(--red); }
.trial-match-pick img { width: 44px; height: 44px; object-fit: contain; background: #000; border-radius: 4px; flex: none; }
.trial-match-pick b { display: block; font-weight: 800; line-height: 1.2; }
.trial-match-pick small { color: var(--text-muted, #666); font-size: 0.8rem; }
