/* EC Bad Hornets – Theme
   Farben als Variablen: bei Bedarf an das Vereinslogo anpassen. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --rink-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 700' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke-width='3'%3E%3Crect x='40' y='40' width='1520' height='620' rx='230' stroke='rgba(255,255,255,0.10)'/%3E%3Cline x1='800' y1='40' x2='800' y2='660' stroke='rgba(245,154,0,0.35)' stroke-width='8'/%3E%3Cline x1='560' y1='40' x2='560' y2='660' stroke='rgba(255,255,255,0.08)' stroke-width='10'/%3E%3Cline x1='1040' y1='40' x2='1040' y2='660' stroke='rgba(255,255,255,0.08)' stroke-width='10'/%3E%3Ccircle cx='800' cy='350' r='150' stroke='rgba(255,221,0,0.22)'/%3E%3Ccircle cx='330' cy='200' r='120' stroke='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='330' cy='500' r='120' stroke='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='1270' cy='200' r='120' stroke='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='1270' cy='500' r='120' stroke='rgba(255,255,255,0.08)'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.10)'%3E%3Ccircle cx='800' cy='350' r='9'/%3E%3Ccircle cx='330' cy='200' r='11'/%3E%3Ccircle cx='330' cy='500' r='11'/%3E%3Ccircle cx='1270' cy='200' r='11'/%3E%3Ccircle cx='1270' cy='500' r='11'/%3E%3C/g%3E%3C/svg%3E");
  --rink-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='%23d9d9d9' stroke-width='3'%3E%3Ccircle cx='420' cy='200' r='150'/%3E%3Cline x1='270' y1='160' x2='230' y2='160'/%3E%3Cline x1='270' y1='240' x2='230' y2='240'/%3E%3Cline x1='570' y1='160' x2='610' y2='160'/%3E%3Cline x1='570' y1='240' x2='610' y2='240'/%3E%3C/g%3E%3Ccircle cx='420' cy='200' r='16' fill='%23ffdd00' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E");
  /* Farben aus dem Vereinslogo (Logo_main_2025) */
  --ice: #f2f2f2;       /* Seitenhintergrund (neutral hell) */
  --rink: #ffffff;      /* Flächen; Flügel im Logo */
  --puck: #000000;      /* Ring und Schrift im Logo */
  --sting: #ffdd00;     /* Hornissengelb */
  --amber: #f59a00;     /* Orange-Gelb am Hinterleib */
  --steel: #b2b2b2;     /* hellgrauer Ring */
  --graphite: #585657;  /* Konturen */
  --frost: #d9d9d9;     /* Linien */
  --ink-soft: #585657;  /* Nebentext */

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.75rem, 6vw, 4.5rem);
  --step-5: clamp(3rem, 10vw, 7.5rem);

  --wrap: 72rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --section: clamp(2.5rem, 6vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ice); color: var(--puck); font: 400 var(--step-0)/1.55 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--puck); text-underline-offset: 0.18em; text-decoration-thickness: 1px; text-decoration-color: var(--amber); }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--puck); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sting); }
.site-head :focus-visible, .board :focus-visible, .site-foot :focus-visible, .player-head :focus-visible { outline-color: var(--sting); box-shadow: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
address { font-style: normal; margin-bottom: 1em; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-soft); font-size: var(--step--1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sting); color: var(--puck); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.empty { background: var(--rink); border-left: 4px solid var(--frost); padding: 1rem 1.25rem; max-width: 60ch; }

/* ---------- Kopf ---------- */
.site-head { background: var(--puck); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: inset 0 -3px 0 var(--sting); }
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand__logo { width: 3.5rem; height: 3.5rem; object-fit: contain; }

.brand__name { font: 800 1.6rem/0.95 var(--display); }
.brand__name small { display: block; font: 400 0.8rem var(--text); color: var(--steel); margin-top: 0.2rem; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav__list a { display: block; color: #fff; text-decoration: none; font-weight: 700; padding: 0.6rem 0.75rem; border-bottom: 3px solid transparent; }
.site-nav__list a:hover { border-bottom-color: var(--steel); }
.site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a, .site-nav__list .current_page_item > a { border-bottom-color: var(--sting); }
.site-nav__list ul { display: none; }
.site-nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { background: var(--sting); color: var(--puck); font-weight: 700; text-decoration: none; padding: 0.55rem 0.9rem; border: 2px solid var(--sting); white-space: nowrap; }
.nav-cta:hover, .nav-cta.is-current { background: var(--puck); color: var(--sting); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0 !important; gap: 0; background: none; border: 2px solid #fff; color: #fff; font: 700 1rem var(--text); padding: 0.4rem 0.75rem; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .site-nav { position: absolute; inset: 100% 0 auto; background: var(--puck); border-top: 1px solid #333; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; padding: 0.5rem var(--gap) 1rem; }
  .site-nav__list a { border-bottom: 1px solid #222; padding: 0.9rem 0; font-size: 1.15rem; }
  .site-nav__list .current-menu-item > a { color: var(--sting); }
  .site-nav.is-open { display: block; }
  .nav-cta { display: block; margin: 0 var(--gap) 1.25rem; text-align: center; padding: 0.85rem; }
}

/* ---------- Anzeigetafel ---------- */
.board { color: #fff; padding: var(--section) 0 calc(var(--section) * 0.8); position: relative; overflow: hidden;
  background: var(--rink-dark) center / cover no-repeat, radial-gradient(ellipse 80% 90% at 50% 45%, #3a3839 0%, #232223 55%, #141414 100%); }
.board > .wrap { position: relative; }
.board__title { font: 700 var(--step-1)/1.2 var(--text); color: var(--steel); margin: 0 0 1.25rem; letter-spacing: 0; }
.board__panel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--gap); border-top: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); padding: 1.5rem 0; }
.board__team { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.board__team--right { text-align: right; align-items: flex-end; }
.board__label { font-size: var(--step--1); color: var(--steel); }
/* Wappen: Hornets, Gegner-Logo und Initialen-Kreis immer exakt gleich groß */
.board { --crest: clamp(5.5rem, 11vw, 9rem); }
.board__crest { width: var(--crest); height: var(--crest); flex: none; display: grid; place-items: center; margin-bottom: 0.9rem; box-sizing: border-box; }
.board__crest img { width: 100%; height: 100%; object-fit: contain; display: block; }
.board__crest--opp { background: #fff; border-radius: 50%; padding: 12%; border: 4px solid var(--graphite); }
.board__crest--badge { border-radius: 50%; border: 4px solid var(--graphite); background: #1a1a1a; color: var(--steel); font: 800 calc(var(--crest) * 0.34) / 1 var(--display); letter-spacing: 0.02em; }
.board__name { font: 800 var(--step-5)/0.88 var(--display); overflow-wrap: break-word; hyphens: auto; }
.board__name--long { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 0.92; }
.board__clock { align-self: center; text-align: center; padding: 0.5rem 1.25rem 0.75rem; background: #111; border: 2px solid var(--graphite); }
.board__digits { display: block; font: 800 var(--step-5)/1 var(--display); color: var(--sting); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgb(245 183 0 / 0.45); }
.board__date { display: block; font-size: var(--step--1); color: var(--steel); }
.board__venue { margin: 1rem 0 0; color: var(--steel); }
.board__venue a, .board a { color: var(--sting); }
.board__note { margin: 1.5rem 0 0; max-width: 60ch; padding-left: 0.9rem; border-left: 3px solid var(--sting); }
.board--game { padding-bottom: var(--section); }
@media (max-width: 640px) {
  .board__panel { grid-template-columns: 1fr; text-align: left; }
  .board__team--right { text-align: left; align-items: flex-start; }
  .board { --crest: 5rem; }
  .board__clock { order: 3; text-align: left; }
}

/* ---------- Spieler gesucht ---------- */
.recruit { background: var(--sting); border-bottom: 6px solid var(--amber); padding: calc(var(--section) * 0.6) 0; }
.recruit__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.recruit__text { max-width: 46rem; }
.recruit__kicker { font-weight: 700; margin: 0 0 0.25rem; }
.recruit__title { font-size: var(--step-4); margin: 0 0 0.5rem; }
.recruit__text p:last-child { margin: 0; font-size: var(--step-1); line-height: 1.4; }
.recruit__btn { font-size: 1.1rem; padding: 0.9rem 1.6rem; }
.recruit--inline { margin: 0 0 var(--section); padding: 1.75rem; border-bottom-width: 6px; }
.recruit--inline .recruit__title { font-size: var(--step-3); }

.page-head.page-head--recruit { background: var(--rink-light) right max(-4rem, calc(50% - 44rem)) center / auto 118% no-repeat, var(--sting); border-bottom-color: var(--amber); box-shadow: none; }
.page-head.page-head--recruit .page-head__lead { color: var(--puck); }
.page-head.page-head--recruit .page-head__kicker::before { background: var(--puck); }
.recruit-page { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: calc(var(--gap) * 2); margin-bottom: var(--section); align-items: start; }
.recruit-page__content ul { padding-left: 0; list-style: none; }
.recruit-page__content li { padding: 0.5rem 0 0.5rem 1.6rem; border-bottom: 1px solid var(--frost); position: relative; }
.recruit-page__content li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.7rem; height: 0.7rem; background: var(--sting); border: 2px solid var(--puck); }
.recruit-page__facts { background: var(--puck); color: #fff; padding: 1.5rem; border-top: 6px solid var(--sting); }
.recruit-page__facts dl { margin: 0; display: grid; gap: 1.25rem; }
.recruit-page__facts dt { color: var(--steel); font-size: var(--step--1); }
.recruit-page__facts dd { margin: 0; font: 800 var(--step-3)/1 var(--display); color: var(--sting); }
.recruit-page__facts dd.small { font-size: var(--step-1); line-height: 1.2; color: #fff; }
.recruit-form { background: var(--rink); border-top: 1px solid var(--frost); padding: var(--section) 0; }
.recruit-form__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: calc(var(--gap) * 2); }
@media (max-width: 860px) { .recruit-page, .recruit-form__in { grid-template-columns: 1fr; } }

/* ---------- Eisfläche: Ergebnisse + Bilanz ---------- */
.ice { padding: var(--section) 0; }
.ice__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: calc(var(--gap) * 1.5); align-items: start; }
@media (max-width: 860px) { .ice__grid { grid-template-columns: 1fr; } }

.games { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--frost); }
.game__link { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.85rem 0.5rem 0.85rem 0; border-bottom: 1px solid var(--frost); color: var(--puck); text-decoration: none; }
.game__link:hover { background: var(--rink); }
.game__date { text-align: center; line-height: 1; }
.game__day { display: block; font: 800 2rem var(--display); }
.game__month { font-size: var(--step--1); color: var(--ink-soft); }
.game__opp { display: block; font-weight: 700; font-size: var(--step-1); line-height: 1.2; }
.game__meta { font-size: var(--step--1); color: var(--ink-soft); }
.game__score { text-align: right; line-height: 1.1; }
.game__score strong { display: block; font: 800 1.9rem var(--display); }
.game__score small { font-size: var(--step--1); color: var(--ink-soft); }
.game--w .game__score strong { background: var(--puck); color: var(--sting); padding: 0 0.4rem; }
.game--l .game__score strong { color: var(--graphite); }
.game--cancelled .game__opp { text-decoration: line-through; }
.more { font-weight: 700; }
.ice__h2 { margin-top: 2.5rem; }

.record { background: var(--rink); padding: 1.5rem; border-top: 6px solid var(--sting); box-shadow: inset 0 -4px 0 var(--amber); }
.record h2 { font-size: var(--step-2); }
.record__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin: 0 0 1.5rem; }
.record__list dt { font-size: var(--step--1); color: var(--ink-soft); }
.record__list dd { margin: 0; font: 800 var(--step-3)/1 var(--display); font-variant-numeric: tabular-nums; }
.scorers { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.scorers li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--frost); }
.scorers .num { font: 800 1.2rem var(--display); color: var(--ink-soft); }
.scorers .pts { font: 800 1.2rem var(--display); }

/* ---------- Nummernwand ---------- */
.numbers { padding: var(--section) 0; background: var(--rink); }
.numbers__intro { color: var(--ink-soft); }
.numbers__wall { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)); gap: 0.75rem 1rem; }
.numbers__wall a { display: flex; flex-direction: column; text-decoration: none; color: var(--puck); }
.numbers__n { font: 800 clamp(2.5rem, 6vw, 4rem)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.numbers__name { font-size: 0.75rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.numbers__wall a:hover .numbers__n, .numbers__wall a:focus-visible .numbers__n { color: var(--sting); -webkit-text-stroke: 1px var(--puck); }

/* ---------- News ---------- */
.news { padding: var(--section) 0; }
.news__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--gap); }
.news__list--page { margin: var(--section) 0; }
.news__item { border-top: 2px solid var(--puck); padding-top: 0.75rem; }
.news__item time { font-size: var(--step--1); color: var(--ink-soft); }
.news__item h2, .news__item h3 { font-size: var(--step-2); margin: 0.3rem 0 0.5rem; }
.news__item h2 a, .news__item h3 a { color: var(--puck); text-decoration: none; }

/* ---------- Mitspielen / Gegner ---------- */
.join { background: var(--sting); padding: var(--section) 0; border-bottom: 6px solid var(--amber); }
.join__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: calc(var(--gap) * 2); }
.join p { max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--puck); color: #fff; border: 2px solid var(--puck); font: 700 1rem var(--text); padding: 0.75rem 1.25rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: #fff; color: var(--puck); }
.btn--ghost { background: transparent; color: var(--puck); }
.btn--ghost:hover { background: var(--puck); color: #fff; }
.btn--small { padding: 0.45rem 0.85rem; font-size: 0.95rem; }

/* ---------- Unterseiten ---------- */
.page-head { color: var(--puck); padding: calc(var(--section) * 0.9) 0 calc(var(--section) * 0.7); margin-bottom: var(--section);
  background: var(--rink-light) right max(-4rem, calc(50% - 44rem)) center / auto 118% no-repeat, linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  border-bottom: 6px solid var(--sting); }
.page-head h1 { margin: 0; }
.page-head__lead { margin: 1rem 0 0; color: var(--graphite); max-width: 60ch; font-size: var(--step-1); line-height: 1.4; }
.page-head__kicker { display: block; color: var(--puck); font-weight: 700; margin-bottom: 0.5rem; }
.page-head__kicker::before { content: ""; display: inline-block; width: 0.75rem; height: 0.75rem; background: var(--sting); border: 2px solid var(--puck); margin-right: 0.5rem; vertical-align: -0.05rem; }
.site-main > .wrap:last-child, .site-main > article:last-child { margin-bottom: var(--section); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.75em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.lead-img { margin-bottom: 1.5rem; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 2rem; }
.season-pick { display: flex; align-items: center; gap: 0.5rem; }
.toolbar .season-pick { margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--rink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 0.8rem auto;
  padding-right: 2.6rem !important;
}
select:hover { background-color: #fffbe0; }
select::-ms-expand { display: none; }
.season-pick select { min-width: 9rem; font-weight: 700; }
.season-pick select, .contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: inherit; background-color: var(--rink); border: 2px solid var(--puck); border-radius: 0; padding: 0.55rem 0.7rem; }

/* Spielplan: rote Mittellinie = heute */
.schedule__h { font-size: var(--step-2); margin-top: 1.5rem; }
.redline { position: relative; margin: 2rem 0; height: 1.5rem; }
.today { margin: 2rem 0; border-top: 4px solid var(--amber); border-bottom: 4px solid var(--amber); background: #fffbe0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 1.25rem; padding: 0 0 0 0.9rem; }
.today__label { font-weight: 700; margin: 0; white-space: nowrap; }
.games--today { border-top: 0; margin: 0; }
.games--today li + li .game__link { border-top: 1px solid var(--frost); }
.games--today .game__link { border-bottom: 0; }
.games--today .game__link:hover { background: #fff3b0; }
.games--today .game__today { display: none; }
@media (max-width: 640px) { .today { grid-template-columns: 1fr; padding-top: 0.6rem; } }
.game__today { display: inline-block; background: var(--amber); color: var(--puck); font-weight: 700; font-size: 0.75rem; padding: 0.05rem 0.45rem; margin-bottom: 0.2rem; }
.redline::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 4px solid var(--amber); transform: translateY(-50%); }
.redline span { position: relative; background: var(--ice); color: var(--puck); font-weight: 700; padding: 0 0.75rem 0 0; }

/* Kader */
.roster { margin-bottom: var(--section); }
.roster__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); border-left: 1px solid var(--frost); border-top: 1px solid var(--frost); }
.jersey a { display: flex; flex-direction: column; height: 100%; padding: 1rem 1rem 1.25rem; border-right: 1px solid var(--frost); border-bottom: 1px solid var(--frost); color: var(--puck); text-decoration: none; background: var(--rink); }
.jersey a:hover { background: var(--sting); }
.jersey__img { aspect-ratio: 4 / 5; object-fit: cover; margin: -1rem -1rem 0.75rem; width: calc(100% + 2rem); max-width: none; }
.jersey__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.jersey__num { font: 800 3.5rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.jersey__top .badge-founder { margin-top: 0.3rem; }
.jersey__name { margin-top: 0.4rem; line-height: 1.25; }
.jersey__nick { font-size: var(--step--1); color: var(--ink-soft); }
.jersey a:hover .jersey__nick { color: var(--puck); }
.jersey__meta { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); align-items: end; column-gap: 0.5rem; margin-top: auto; padding-top: 0.6rem; font-size: 0.8rem; line-height: 1.35; color: var(--ink-soft); }
/* Flagge immer an derselben Stelle: unten links in der Karte, unabhängig von Textlänge */
.jersey__meta .flag { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 0.15rem; }
.jersey__meta > span { grid-column: 2; grid-row: 1; }
.jersey a:hover .jersey__meta { color: var(--puck); }
.flag { width: 1.25rem; height: auto; border: 1px solid var(--frost); display: inline-block; vertical-align: -0.1rem; }
.badge-founder { display: inline-block; background: var(--puck); color: var(--sting); font-weight: 700; font-size: 0.72rem; padding: 0.1rem 0.45rem; letter-spacing: 0.02em; }
.facts__nation { display: flex; align-items: center; gap: 0.4rem; }
.player-head .flag { border-color: #444; }

/* Spieler-Detail */
.player-head { color: #fff; margin-bottom: var(--section); overflow: hidden; background: var(--rink-dark) center / cover no-repeat, radial-gradient(ellipse 80% 120% at 30% 40%, #3a3839 0%, #1c1b1c 70%); border-bottom: 6px solid var(--sting); }
.player-head__in { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: var(--gap); padding: calc(var(--section) * 0.6) 0; }
.player-head__num { font: 800 clamp(6rem, 18vw, 13rem)/0.8 var(--display); color: var(--sting); font-variant-numeric: tabular-nums; }
.player-head h1 { font-size: var(--step-4); }
.player-head__img { width: 12rem; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0; }
.facts dt { font-size: var(--step--1); color: var(--steel); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 640px) { .player-head__in { grid-template-columns: 1fr; } .player-head__img { width: 100%; max-width: 16rem; } }

/* Vorstand */
.board-members { margin-bottom: var(--section); }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--gap); }
.person { border-top: 4px solid var(--puck); padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.2rem; }
.person p { margin: 0; }
.person__role { color: var(--ink-soft); font-size: var(--step--1); }
.person__name { font: 800 var(--step-2)/1.05 var(--display); }
.person__tasks { margin-bottom: 0.4rem !important; }
.person__contact { margin-top: auto; display: flex; flex-direction: column; gap: 0.2rem; }
.chronicle h2 { margin-top: 1.5em; }
.chronicle h3 { font-size: var(--step-1); margin: 1.75em 0 0.4em; padding-left: 0.6rem; border-left: 4px solid var(--amber); }

/* Sponsoren */
.sponsors { margin-bottom: var(--section); }
.sponsors__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1px; background: var(--frost); border: 1px solid var(--frost); }
.sponsors--main .sponsors__list { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.sponsor > a, .sponsor > div { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%; padding: 1.5rem; background: var(--rink); color: var(--puck); text-decoration: none; }
.sponsor__logo { display: grid; place-items: center; min-height: 6rem; }
.sponsor__logo img { max-height: 6rem; width: auto; object-fit: contain; }
.sponsor__name { font-weight: 700; }
.sponsor > a:hover .sponsor__name { text-decoration: underline; }
.sponsor-cta { margin-bottom: var(--section); }

.sponsor-strip { background: var(--rink); border-top: 1px solid var(--frost); padding: 2rem 0; }
.sponsor-strip__title { font-weight: 700; margin-bottom: 1rem; }
.sponsor-strip__title a { color: var(--puck); }
.sponsor-strip__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.sponsor-strip__list img { height: 3rem; width: auto; filter: grayscale(1); opacity: 0.85; }
.sponsor-strip__list a:hover img { filter: none; opacity: 1; }
.sponsor-name { font-weight: 700; color: var(--ink-soft); }

/* Statistik */
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.stats { border-collapse: collapse; width: 100%; background: var(--rink); font-variant-numeric: tabular-nums; }
.stats th, .stats td { padding: 0.6rem 0.75rem; text-align: right; border-bottom: 1px solid var(--frost); white-space: nowrap; }
.stats td { font: 700 1.15rem/1.2 var(--display); }
.stats .name { text-align: left; font: 400 var(--step-0)/1.3 var(--text); width: 100%; }
.stats--team { width: auto; min-width: min(100%, 36rem); }
.stats thead th { background: var(--puck); color: #fff; font-weight: 700; }
.stats--sortable th[data-sort] { cursor: pointer; user-select: none; }
.stats--sortable th[aria-sort="descending"]::after { content: " ▼"; color: var(--sting); }
.stats--sortable th[aria-sort="ascending"]::after { content: " ▲"; color: var(--sting); }
.stats tbody tr:hover { background: #fffbe0; }
.stats a { color: var(--puck); }
.stats--career tr.is-selected td { background: #fffbe0; }
.stats--career tr.is-selected td:first-child { box-shadow: inset 4px 0 0 var(--sting); }
.stats tfoot th, .stats tfoot td { font-weight: 700; border-top: 2px solid currentColor; }
.gamelog__title { margin-top: 2.5rem; scroll-margin-top: 6rem; }
.stats--gamelog td.name { font: 400 var(--step-0)/1.3 var(--text); }
.stats--gamelog .nowrap { white-space: nowrap; width: 1%; padding-right: 1.5rem; }
.stats--gamelog tr.has-points td { background: #fffbe0; }
.stats--gamelog tr.has-points td:first-child { box-shadow: inset 4px 0 0 var(--sting); }
.res { display: inline-block; padding: 0 0.35rem; }
.res--w { background: var(--puck); color: var(--sting); }
.res--l { color: var(--graphite); }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: calc(var(--gap) * 2); margin-bottom: var(--section); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font-size: var(--step-2); }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.3rem; font-weight: 700; }
.contact-form .check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.contact-form .check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.contact-form fieldset { border: 2px solid var(--puck); background: var(--rink); padding: 1rem 1.25rem 1.25rem; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.contact-form fieldset[hidden], .contact-form [hidden] { display: none; }
.contact-form legend { font-weight: 700; padding: 0 0.4rem; }
.contact-form legend small { font-weight: 400; color: var(--ink-soft); }
.radio-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.radio-group__label { font-weight: 700; flex-basis: 100%; }
.contact-form .radio-group .check { display: inline-grid; grid-template-columns: auto auto; gap: 0.4rem; align-items: center; }
.contact-form .radio-group .check input { margin: 0; }
.form-msg { padding: 1rem 1.25rem; font-weight: 700; }
.form-msg--ok { background: var(--puck); color: var(--sting); }
.form-msg--err { background: #fff; border-left: 4px solid var(--amber); }

/* ---------- Fuß ---------- */
.site-foot { color: #e2e2e2; padding: var(--section) 0; font-size: 0.95rem; border-top: 6px solid var(--sting);
  background: linear-gradient(180deg, #3a3839 0%, #262526 100%); position: relative; overflow: hidden; }
.site-foot::before { content: ""; position: absolute; width: 24rem; height: 24rem; right: max(-4rem, calc(50% - 42rem)); bottom: -7rem;
  background: url("../img/logo-512.png") center / contain no-repeat; opacity: 0.12; pointer-events: none; }
.site-foot__grid { position: relative; }
.site-foot a { color: #fff; }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--gap); }
.site-foot__name { font: 800 1.4rem var(--display); color: #fff; margin-bottom: 0.6rem; }
.site-foot .muted { color: var(--steel); }
.site-foot__social, .site-foot__legal { display: flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .site-head, .site-foot, .sponsor-strip, .join { display: none; } body { background: #fff; } }
