/* =========================================================
   EC Kapsreiter Wels – Stylesheet
   Keine externen Schriften, keine Cookies, kein Tracking.
   Farben aus dem Vereinslogo: Rot, Blau, Weiß
   ========================================================= */

:root {
  --navy: #0a1a36;
  --navy-2: #122a55;
  --blue: #1f55b0;
  --blue-light: #3d7fe0;
  --red: #2f6fe0;       /* Akzentfarbe (früher Rot, jetzt Blau aus dem Logo) */
  --red-dark: #1446a0;
  --ice: #eef4fb;
  --ice-2: #dfe9f6;
  --white: #ffffff;
  --text: #16213a;
  --muted: #56627a;
  --line: #d4deec;

  --ph-bg: #fff06a;       /* Platzhalter gelb */
  --ph-border: #e0b800;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 26, 54, .12);
  --max: 1180px;
  --skew: -8deg;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 .6em;
  font-weight: 900;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); text-transform: uppercase; font-style: italic; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); text-transform: uppercase; font-style: italic; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff; padding: .6em 1em; z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Platzhalter (gelb markiert) ---------- */
.ph {
  background: var(--ph-bg);
  color: #3a3000;
  padding: .05em .35em;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--ph-border);
  font-weight: 600;
  font-style: normal;
}
.ph-box {
  background: var(--ph-bg);
  color: #3a3000;
  border: 2px dashed var(--ph-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 0 0 1.2rem;
  font-size: .98rem;
}
.ph-box strong:first-child { text-transform: uppercase; letter-spacing: .04em; }
.ph-img {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--ph-bg), var(--ph-bg) 12px, #ffe94a 12px, #ffe94a 24px);
  border: 2px dashed var(--ph-border);
  border-radius: var(--radius);
  color: #3a3000; font-weight: 700; padding: 1rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: #fff; text-decoration: none;
}
.brand img { width: 50px; height: 50px; filter: drop-shadow(0 0 5px rgba(106, 168, 255, .55)); }
.brand span {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; line-height: 1; white-space: nowrap;
}
.brand small { display: block; font-family: var(--font); font-style: normal; font-size: .7rem; letter-spacing: .12em; color: #a9bde0; margin-top: .25rem; }
.brand:hover { color: #fff; }
/* Langer Vereinsname: am Handy etwas kleiner, Menü-Button bleibt immer daneben */
.brand { min-width: 0; }
.nav-toggle-label { flex-shrink: 0; }
@media (max-width: 1349px) { .brand span { font-size: 1rem; } }
@media (max-width: 520px) {
  .brand { gap: .5rem; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: .92rem; }
  .brand small { font-size: .6rem; letter-spacing: .08em; }
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer; user-select: none;
  padding: .55rem .8rem; border: 2px solid rgba(255,255,255,.35); border-radius: 8px;
  font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em;
}
.nav-toggle-label .bars { display: inline-block; width: 18px; margin-right: .45rem; vertical-align: middle; }
.nav-toggle-label .bars i { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--red); outline-offset: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  display: block; padding: .5rem .7rem;
  color: #fff; text-decoration: none; font-weight: 700;
  text-transform: uppercase; font-size: .85rem; letter-spacing: .05em;
  border-radius: 6px;
}
.main-nav a:hover { background: var(--navy-2); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.main-nav .nav-cta a { background: var(--red); margin-left: .4rem; transform: skewX(var(--skew)); border-radius: 4px; }
.main-nav .nav-cta a > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.main-nav .nav-cta a:hover { background: var(--red-dark); }

@media (max-width: 1120px) {
  .nav-toggle-label { display: inline-block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-bottom: 4px solid var(--red);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-toggle:checked ~ .main-nav { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 16px 1rem; gap: 0; }
  .main-nav a { padding: .85rem .5rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: .9rem; }
  .main-nav .nav-cta a { margin: .8rem 0 0; text-align: center; transform: none; border-radius: 8px; }
  .main-nav .nav-cta a > span { transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transform: skewX(var(--skew)); border-radius: 4px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(47, 111, 224, .45); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* leichte Abdunklung des Bildes (schwächer als bei den Unterseiten) */
  background: linear-gradient(rgba(10,26,54,.3), rgba(10,26,54,.3)), var(--navy) url("../img/kufe-wels-verlauf-neu.jpg") 42% 70% / cover no-repeat;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(6rem, 14vw, 10rem);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,26,54,.95) 0%, rgba(10,26,54,.82) 38%, rgba(10,26,54,.3) 62%, rgba(10,26,54,.08) 100%);
}
.hero::after { /* Speed-Streifen – auf Wunsch ausgeblendet */
  display: none;
  content: ""; position: absolute; right: -10%; bottom: 12%; width: 60%; height: 90px;
  background: repeating-linear-gradient(90deg, var(--red) 0 38px, transparent 38px 56px);
  transform: skewX(-30deg); opacity: .85;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.hero .container { position: relative; z-index: 1; }
/* Desktop: Hochformat-Bild rechts, links läuft es in Dunkelblau aus */
@media (min-width: 1000px) {
  .hero { background-size: auto 100%; background-position: right top; }
  .hero::before { background: linear-gradient(100deg, rgba(10,26,54,1) 0%, rgba(10,26,54,.97) max(36%, calc(100% - 800px)), rgba(10,26,54,.88) max(41%, calc(100% - 730px)), rgba(10,26,54,.72) max(46%, calc(100% - 660px)), rgba(10,26,54,.52) max(51%, calc(100% - 585px)), rgba(10,26,54,.32) max(57%, calc(100% - 505px)), rgba(10,26,54,.16) max(63%, calc(100% - 420px)), rgba(10,26,54,.05) max(70%, calc(100% - 330px)), rgba(10,26,54,0) max(78%, calc(100% - 240px))); }
}
@media (min-width: 1000px) and (max-width: 1349px) {
  .hero h1 { font-size: 3rem; }
}
/* Handy: Bild füllt den Kopf, Text braucht mehr Kontrast */
@media (max-width: 999px) {
  .hero::before { background: linear-gradient(100deg, rgba(10,26,54,.93) 0%, rgba(10,26,54,.8) 55%, rgba(10,26,54,.5) 100%); }
}
.hero-kicker {
  display: inline-block; background: var(--red); color: #fff;
  padding: .3rem .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  transform: skewX(var(--skew)); margin-bottom: 1.1rem;
}
.hero h1 { max-width: 14ch; margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero h1 em { color: var(--red); font-style: italic; }
/* Kicker steht für Google in der H1, soll aber genauso aussehen wie vorher */
.hero h1 .hero-kicker { display: table; font-family: var(--font); font-style: normal; line-height: 1.6; text-shadow: none; }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 40ch; color: #dbe6f7; margin-bottom: 1.8rem; }
.hero .lead-name { color: #fff; font-weight: 800; white-space: nowrap; }

/* ---------- Unterseiten-Header ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) url("../img/banner-1.jpg") center / cover no-repeat;
  padding: clamp(3rem, 9vw, 5.5rem) 0 clamp(3.5rem, 10vw, 6.5rem);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,26,54,.95), rgba(10,26,54,.55)); }
.page-hero .container { position: relative; }
.page-hero h1 { margin: 0 0 .3em; font-size: clamp(2rem, 6vw, 3.6rem); }
.page-hero p { margin: 0; color: #cfdcf2; max-width: 55ch; font-size: 1.1rem; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-ice { background: var(--ice); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark a:not(.btn) { color: #9fc2ff; }
.section-dark .muted { color: #b4c3de; }
.section-head { margin-bottom: 2rem; max-width: 60ch; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.wide { max-width: none; }
.section-head.wide p { max-width: 60ch; }
.section-dark .section-head p { color: #b4c3de; }

.eyebrow {
  display: inline-block; color: var(--red); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem; margin-bottom: .5rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 4px; background: currentColor; margin-right: .55rem; vertical-align: middle; transform: skewX(-30deg); }

.muted { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }

/* ---------- Karten ---------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
  border-top: 5px solid var(--blue);
}
.card.red { border-top-color: var(--red); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.card-body > :last-child { margin-bottom: 0; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card h3 { margin-bottom: .4em; }
.card .meta { font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.section-dark .card { color: var(--text); }

.photo {
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.photo img { width: 100%; object-fit: cover; }
.photo.slant { clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.photo figcaption { font-size: .8rem; color: var(--muted); padding: .4rem .2rem 0; }

/* ---------- Nächstes Heimspiel (Scoreboard in Logo-Blau) ---------- */
:root {
  --logo-blue: #1446a0;      /* Blau aus dem Vereinslogo */
  --logo-blue-bright: #2f6fe0;
  --logo-blue-glow: #6aa8ff;
}
.gameday {
  position: relative; z-index: 2;
  margin-top: clamp(-7rem, -12vw, -4rem);
}
.gameday-card {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; border-radius: 16px;
  background: linear-gradient(125deg, #081630 0%, #0d2a63 45%, var(--logo-blue) 100%);
  box-shadow: 0 25px 60px rgba(20, 70, 160, .45), inset 0 0 0 1px rgba(106, 168, 255, .25);
}
/* Puck-Foto dezent im Hintergrund */
.gameday-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-puck.jpg") right center / cover no-repeat;
  opacity: .22; mix-blend-mode: screen;
}
/* Speed-Streifen */
.gameday-card::after {
  content: ""; position: absolute; z-index: -1;
  top: -20%; bottom: -20%; left: 38%; width: 34%;
  background: repeating-linear-gradient(90deg, rgba(106,168,255,.22) 0 10px, transparent 10px 26px);
  transform: skewX(-24deg);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.gameday-top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(106, 168, 255, .25);
  font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
}
.gameday-top h2 {
  font: inherit; margin: 0;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--logo-blue-bright); padding: .45rem 1rem .45rem .8rem;
  transform: skewX(var(--skew)); border-radius: 4px;
  box-shadow: 0 6px 20px rgba(47, 111, 224, .55);
}
.gameday-top h2 > * { transform: skewX(calc(var(--skew) * -1)); }
.live-dot {
  width: .6rem; height: .6rem; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.gameday-league { color: #bcd4ff; }

.gameday-main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: clamp(1.6rem, 4vw, 2.6rem) 1.4rem;
}
.team { text-align: center; }
.team .logo-circle {
  width: clamp(78px, 17vw, 128px); aspect-ratio: 1; margin: 0 auto .8rem;
  border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 4px var(--logo-blue-bright), 0 0 0 9px rgba(106,168,255,.25), 0 0 40px rgba(106,168,255,.55);
}
.team .logo-circle img { width: 94%; }
.team .logo-circle.ph-logo { background: var(--ph-bg); font-weight: 800; color: #3a3000; font-size: .8rem; padding: .5rem; text-align: center; }
.team strong {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: clamp(1rem, 2.8vw, 1.5rem); line-height: 1.15; display: block;
  text-shadow: 0 3px 14px rgba(0,0,0,.4);
}
.team .team-tag { display: block; margin-top: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--logo-blue-glow); }
.vs {
  position: relative; display: grid; place-items: center; isolation: isolate;
  width: clamp(64px, 12vw, 110px); aspect-ratio: 1;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 5.5vw, 3rem); color: #fff;
  text-shadow: 0 0 18px var(--logo-blue-glow), 0 0 40px rgba(106,168,255,.7);
}
.vs::before { /* schräger Blitz-Balken hinter VS */
  content: ""; position: absolute; left: 50%; top: -30%; bottom: -30%; width: 6px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--logo-blue-glow), transparent);
  transform: translateX(-50%) rotate(22deg);
  box-shadow: 0 0 18px var(--logo-blue-glow);
}

.gameday-info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(106, 168, 255, .2);
  border-top: 1px solid rgba(106, 168, 255, .25);
}
.gameday-info > div { padding: 1rem 1.4rem; background: rgba(8, 22, 48, .72); }
.gameday-info span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--logo-blue-glow); margin-bottom: .2rem; }
.gameday-info b { font-size: 1.05rem; }
.gameday-info .big b { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.1; }

.gameday-actions {
  display: flex; flex-wrap: wrap; gap: .8rem; align-items: center;
  padding: 1.2rem 1.4rem 1.5rem; background: rgba(8, 22, 48, .72);
}
.btn-logo-blue { background: var(--logo-blue-bright); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 224, .5); }
.btn-logo-blue:hover { background: #fff; color: var(--logo-blue); }

@media (max-width: 760px) {
  .gameday-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gameday-main { gap: .3rem; padding: 1.5rem .7rem; }
  .gameday-top { padding: .9rem 1rem; }
  .gameday-info > div { padding: .9rem 1rem; }
  .gameday-card::after { left: 30%; width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
/* ---------- Zahlen / Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.stat {
  background: var(--navy-2); color: #fff; padding: 1.4rem; border-radius: var(--radius);
  border-left: 6px solid var(--red);
}
.stat b { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; margin-bottom: .3rem; }
.stat span { color: #c3d2ec; font-weight: 600; }
/* Startseite am Handy: Zahlen kompakt 2 × 2 statt großer Kacheln */
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .stats .stat { padding: .8rem .9rem; border-left-width: 4px; }
  .stats .stat b { font-size: 1.7rem; margin-bottom: .15rem; }
  .stats .stat span { font-size: .82rem; line-height: 1.3; display: block; }
}

/* ---------- Checkliste ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .55rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem;
  background: var(--red); border-radius: 3px; transform: skewX(var(--skew));
  -webkit-mask: none;
}
.checklist li::after {
  content: ""; position: absolute; left: .38rem; top: .48em; width: .38rem; height: .7rem;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption { text-align: left; padding: 1rem 1.2rem; font-weight: 800; font-size: 1.1rem; background: var(--navy); color: #fff; font-family: var(--font-display); font-style: italic; text-transform: uppercase; }
th, td { padding: .85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ice); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tbody tr:hover { background: #f7faff; }
tbody tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 4px; background: var(--ice-2); color: var(--navy-2);
}
.tag.home { background: var(--red); color: #fff; }
.tag.away { background: var(--navy-2); color: #fff; }
.tag.win { background: #0d8a4e; color: #fff; }
.tag.loss { background: #555f73; color: #fff; }
.score { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; white-space: nowrap; }

tbody tr.next { background: #eaf2ff; box-shadow: inset 5px 0 0 var(--logo-blue-bright, #2f6fe0); }
tbody tr.next:hover { background: #e0ecff; }
.tag.next { background: var(--logo-blue-bright, #2f6fe0); color: #fff; margin-left: .4rem; }
.tbd { color: var(--muted); font-style: italic; }
.series { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 2rem 0 .8rem; }
.series h3 { margin: 0; }
.source { font-size: .9rem; color: var(--muted); }
.team .logo-circle.abbr { font-family: var(--font-display); font-style: italic; color: var(--logo-blue, #1446a0); font-size: clamp(1.2rem, 3.5vw, 2rem); }
/* ---------- Spielplan: Team-Übersicht & Liga-Köpfe ---------- */
.team-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .8rem; margin-bottom: 1rem; }
.team-card {
  position: relative; display: flex; flex-direction: column; gap: .15rem;
  padding: 1rem 1rem 1rem 5rem; min-height: 78px; justify-content: center;
  background: linear-gradient(125deg, #0d2a63, var(--logo-blue, #1446a0)); color: #fff; text-decoration: none;
  border-radius: 10px; box-shadow: 0 8px 22px rgba(20, 70, 160, .25);
  transition: transform .15s, box-shadow .15s;
}
.team-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 70, 160, .4); }
.team-card b { font-size: .98rem; line-height: 1.2; }
.team-card small { color: #bcd4ff; font-size: .8rem; }
.team-card .league-badge { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%) skewX(var(--skew)); }
.team-card.junior { background: linear-gradient(125deg, #122a55, #2b5fa8); }
.team-card.row-start { grid-column-start: 1; }  /* Nachwuchs beginnt in neuer Zeile */

.league-badge {
  display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .4rem;
  background: #fff; color: var(--logo-blue, #1446a0); border-radius: 6px;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  transform: skewX(var(--skew)); box-shadow: 0 0 0 3px rgba(106, 168, 255, .45);
}
.league-head {
  display: flex; align-items: center; gap: 1.1rem;
  margin: 3.5rem 0 1.2rem; padding: 1.1rem 1.3rem;
  background: linear-gradient(110deg, #081630 0%, #0d2a63 55%, var(--logo-blue, #1446a0) 100%);
  color: #fff; border-radius: 12px; position: relative; overflow: hidden;
}
.league-head::after {
  content: ""; position: absolute; right: -2rem; top: -50%; bottom: -50%; width: 40%;
  background: repeating-linear-gradient(90deg, rgba(106,168,255,.18) 0 8px, transparent 8px 22px);
  transform: skewX(-24deg); pointer-events: none;
}
.league-head .league-badge { min-width: 3.2rem; height: 3.2rem; font-size: 1.5rem; flex-shrink: 0; }
.league-head h2 { margin: 0 0 .15rem; font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
.league-head p { margin: 0; color: #bcd4ff; font-size: .95rem; position: relative; z-index: 1; }
.league-head a { color: #fff; }
.league-head small { font-size: .85rem; }
/* Spielplan: Hinweis auf die tagesaktuelle Tabelle beim Verband */
.tabelle-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin: 2rem 0 0; padding: 1.3rem 1.5rem; background: var(--ice); border-left: 6px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.tabelle-link h3 { margin: 0 0 .3rem; font-size: 1.25rem; text-transform: uppercase; font-style: italic; }
.tabelle-link p { margin: 0; max-width: 46ch; }

/* Spielplan: Vereinslogos vor den Mannschaftsnamen */
.mteam { display: inline-flex; align-items: center; gap: .45rem; vertical-align: middle; }
.mteam-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }

/* Spielplan: Rückblick der Vorsaison zum Aufklappen */
details.rueckblick { margin: 2rem 0 0; border-top: 2px solid var(--ice-2); border-bottom: 2px solid var(--ice-2); }
details.rueckblick > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: .9rem .2rem; }
details.rueckblick > summary::-webkit-details-marker { display: none; }
details.rueckblick > summary .sub-h { margin: 0; }
details.rueckblick > summary:hover .sub-h { color: var(--red); }
details.rueckblick > summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
details.rueckblick[open] { padding-bottom: 1.5rem; }
.rueckblick-pfeil { margin-left: auto; display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.rueckblick-pfeil::after { content: ""; width: .55rem; height: .55rem; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform .2s; }
details.rueckblick[open] .rueckblick-pfeil::after { transform: translateY(25%) rotate(-135deg); }
.rueckblick-pfeil .auf, details.rueckblick[open] .rueckblick-pfeil .zu { display: none; }
details.rueckblick[open] .rueckblick-pfeil .auf { display: inline; }

/* Spielplan: Ligen ab der 2. OÖ LIWEST EHL zum Aufklappen */
details.liga > summary { list-style: none; cursor: pointer; margin: 1rem 0 0; }
details.liga > summary::-webkit-details-marker { display: none; }
details.liga[open] > summary { margin-bottom: 1.2rem; }
#km2 > summary { margin-top: 3.5rem; }
details.liga > summary:hover { filter: brightness(1.12); }
details.liga > summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.liga-pfeil { margin-left: auto; position: relative; z-index: 1; display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.liga-pfeil::after { content: ""; width: .6rem; height: .6rem; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-25%) rotate(45deg); transition: transform .2s; }
details.liga[open] .liga-pfeil::after { transform: translateY(25%) rotate(-135deg); }
.liga-pfeil .auf, details.liga[open] .liga-pfeil .zu { display: none; }
details.liga[open] .liga-pfeil .auf { display: inline; }
@media (max-width: 640px) { .liga-pfeil .zu, .liga-pfeil .auf, details.liga[open] .liga-pfeil .auf { display: none; } }
.league-head.junior { background: linear-gradient(110deg, #0a1a36, #2b5fa8); }
@media (max-width: 520px) {
  .team-overview { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .team-card { padding: .8rem; min-height: 0; justify-content: flex-start; }
  .team-card .league-badge { position: static; transform: skewX(var(--skew)); margin-bottom: .4rem; min-width: 2.2rem; height: 2.2rem; font-size: 1rem; align-self: flex-start; }
  .team-card b { font-size: .9rem; }
  .team-card small { font-size: .74rem; }
}
.sub-h { font-size: 1.35rem; margin: 2rem 0 .8rem; text-transform: uppercase; font-style: italic; }
.series h4 { margin: 0; font-size: 1.1rem; }
/* Mobile: Spielplan als Karten statt Tabelle */
@media (max-width: 640px) {
  .table-cards table { min-width: 0; }
  .table-cards thead { position: absolute; left: -9999px; }
  .table-cards tr { display: block; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
  .table-cards td { display: block; padding: .3rem 0; border: 0; text-align: right; overflow: hidden; }
  .table-cards td::before { content: attr(data-label); float: left; margin-right: 1rem; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; padding-top: .2em; }
  .table-cards td .tag + .tag { margin-top: .3rem; }
}

/* ---------- Tabs (nur CSS) ---------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.pill-nav a {
  padding: .5rem 1rem; border-radius: 999px; background: var(--ice); color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: .9rem; border: 2px solid var(--ice-2);
}
.pill-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Kader ---------- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: .8rem; }
.player {
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border-radius: 8px; padding: .7rem .9rem; box-shadow: 0 3px 12px rgba(10,26,54,.08);
  border-left: 4px solid var(--blue);
}
.player .no {
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--red);
  min-width: 2.2ch; text-align: center; flex-shrink: 0; white-space: nowrap;
}
.player b { display: block; line-height: 1.2; }
.player small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.roster-group { margin: 2rem 0 .8rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font); font-weight: 800; }
.roster-note { margin: -1.2rem 0 0; color: var(--muted); font-weight: 700; }

/* Spielerkarten: Foto aus img/kader/ – fehlt es, bleibt der Platzhalter sichtbar */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1.1rem; }
@media (max-width: 520px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
.pcard { display: flex; flex-direction: column; background: var(--red); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(10,26,54,.12); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,26,54,.18); }
.pc-photo {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: #0a1a36 url("../img/kader/platzhalter-spieler-5.jpg") center top / cover no-repeat;
}
.pcard.trainer .pc-photo { background-image: url("../img/kader/platzhalter-trainer.jpg"); }
.pc-photo::after {
  content: ""; position: absolute; right: 8px; top: 8px; width: 34px; height: 34px;
  background: url("../img/logo.png") center / contain no-repeat; opacity: .55;
}
.pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; }
.pc-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2; background: #fff; color: var(--navy);
  font-family: var(--font-display); font-style: italic; font-size: .85rem; padding: .1rem .45rem; border-radius: 4px;
}
.pc-band {
  flex: 1; display: flex; align-items: center; gap: .7rem; min-height: 4.4rem;
  background: var(--red); color: #fff; padding: .55rem .8rem;
  border-top: 4px solid var(--navy);
}
.pc-no { font-family: var(--font-display); font-style: italic; font-size: 2.3rem; line-height: 1; min-width: 2ch; text-align: center; }
.pc-first { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .9; line-height: 1.2; }
.pc-last { display: block; font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 1.12rem; line-height: 1.1; }
.pc-last.lang { font-size: .86rem; }
.pc-band > div { min-width: 0; }
.pc-last.xlang { font-size: .8rem; }
.pc-last { -webkit-hyphens: manual; hyphens: manual; }
.pc-band small { display: block; font-size: .75rem; opacity: .85; margin-top: .15rem; }
@media (max-width: 520px) { .pc-no { font-size: 1.5rem; } .pc-last { font-size: .84rem; } .pc-band { gap: .5rem; padding: .5rem .6rem; } .pc-last.lang { font-size: .68rem; } .pc-last.xlang { font-size: .6rem; } }

/* ---------- Nachwuchs-Altersklassen ---------- */
.age-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; overflow: hidden; }
.age-card .age {
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--navy);
  display: inline-block; margin-bottom: .5rem;
}
.age-card .age::after { content: ""; display: block; height: 5px; width: 60%; background: var(--red); transform: skewX(-30deg); margin-top: .3rem; }
.age-card dl { margin: .5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; font-size: .95rem; }
.age-card dt { font-weight: 800; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding-top: .2em; }
.age-card dd { margin: 0; }

/* ---------- Preisbox ---------- */
.price { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--red); line-height: 1; margin: .3rem 0 .2rem; }
.price small { font-family: var(--font); font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- Schritte ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 4.4rem; position: relative; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  transform: skewX(var(--skew)); border-radius: 4px;
}
.steps b { display: block; margin-bottom: .2rem; }

/* ---------- Sponsoren ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 1rem; }
.sponsor {
  display: grid; place-items: center; text-align: center; min-height: 110px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  text-decoration: none; color: var(--navy); font-weight: 800; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--navy); }
.sponsor img { max-height: 80px; width: auto; margin: 0 auto .5rem; object-fit: contain; }
.sponsor small { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; margin-top: .3rem; }
.sponsor-main { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 2rem; }
.sponsor-main .sponsor { min-height: 200px; border-width: 2px; }
.sponsor-main .sponsor img { max-height: 150px; }
.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; }
.sponsor-strip img { max-height: 70px; width: auto; }

/* ---------- News ---------- */
.news-card .date {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 4px; margin-bottom: .7rem;
}
.news-card .more { font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; text-decoration: none; }
.news-card .more::after { content: " →"; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; color: #fff; overflow: hidden;
  background: var(--red) url("../img/banner-2.jpg") center / cover;
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,70,160,.95) 30%, rgba(10,40,110,.75)); }
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 50ch; }
.cta-band .btn-ghost:hover { color: var(--red); }

/* ---------- Kontakt ---------- */
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; border-left: 6px solid var(--red); }
.contact-card h3 { margin-bottom: .2em; }
.contact-card .role { color: var(--muted); font-weight: 700; margin-bottom: .8rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .4rem; }
.contact-list a { font-weight: 700; word-break: break-word; }
.label { display: inline-block; min-width: 4.5rem; color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.info-box { background: var(--ice); border-left: 6px solid var(--blue); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.4rem; }
.info-box > :last-child { margin-bottom: 0; }

details summary { cursor: pointer; }
details summary::marker { color: var(--red); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 75ch; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; font-style: normal; text-transform: none; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3d2ec; padding: 3.5rem 0 1.5rem; border-top: 6px solid var(--red); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; font-style: italic; margin-bottom: .8rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #9fc2ff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-brand img { width: 80px; margin-bottom: .8rem; filter: drop-shadow(0 0 7px rgba(106, 168, 255, .5)); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; }

/* ---------- Hilfsklassen ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  .hero, .page-hero { clip-path: none; color: #000; background: none; }
  .hero::before, .page-hero::before, .hero::after { display: none; }
}

/* =========================================================
   STARTSEITE: Anzeigetafel „Nächstes Heimspiel“ in Rot
   (gilt nur für <body class="home">)
   ========================================================= */

/* Anzeigetafel „Nächstes Heimspiel“ in Rot */
.home .gameday-card {
  background: linear-gradient(125deg, #1c0205 0%, #5a0710 45%, #b50d19 100%);
  box-shadow: 0 25px 60px rgba(181, 13, 25, .45), inset 0 0 0 1px rgba(255, 138, 145, .28);
}
.home .gameday-card::after { background: repeating-linear-gradient(90deg, rgba(255,138,145,.2) 0 10px, transparent 10px 26px); }
.home .gameday-top { border-bottom-color: rgba(255, 138, 145, .28); }
.home .gameday-top h2 { background: #e30613; box-shadow: 0 6px 20px rgba(227, 6, 19, .55); }
.home .gameday-league { color: #ffc9cc; }
.home .team .logo-circle { box-shadow: 0 0 0 4px #e30613, 0 0 0 9px rgba(255,138,145,.25), 0 0 40px rgba(255,138,145,.5); }
.home .team .logo-circle.abbr { color: #b50d19; }
.home .team .team-tag { color: #ff9aa0; }
.home .vs { text-shadow: 0 0 18px #ff6b74, 0 0 40px rgba(255,107,116,.7); }
.home .vs::before { background: linear-gradient(180deg, transparent, #ff6b74, transparent); box-shadow: 0 0 18px #ff6b74; }
.home .gameday-info { background: rgba(255, 138, 145, .22); border-top-color: rgba(255, 138, 145, .28); }
.home .gameday-info > div, .home .gameday-actions { background: rgba(38, 3, 7, .72); }
.home .gameday-info span { color: #ff9aa0; }
.home .btn-logo-blue { background: #e30613; box-shadow: 0 8px 22px rgba(227, 6, 19, .5); }
.home .btn-logo-blue:hover { background: #fff; color: #b50d19; }
/* ---------- Social Media (Startseite) ---------- */
.social-links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-width: 760px; }
.social-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(125deg, #0d2a63, #1446a0);
  box-shadow: 0 10px 26px rgba(0,0,0,.25), inset 0 0 0 1px rgba(106,168,255,.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.section-dark a.social-btn, .section-dark a.social-btn:hover { color: #fff; }
.social-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.35), inset 0 0 0 1px rgba(106,168,255,.6); }
.social-btn svg { width: 3rem; height: 3rem; flex-shrink: 0; padding: .55rem; border-radius: 12px; background: #fff; fill: #1446a0; color: #1446a0; }
.social-btn.instagram svg { fill: none; }
.social-btn b { display: block; font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.social-btn small { color: #bcd4ff; font-size: .9rem; }
.social-note { margin: 1.2rem 0 0; font-size: .85rem; color: #9fb3d6; }
/* Nur für Screenreader und Suchmaschinen sichtbar */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Großer News-Hinweis: News laufen nur über Instagram & Facebook */
.social-news { text-align: center; }
.social-news .section-head { margin-left: auto; margin-right: auto; }
.social-news h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.05; }
.social-news .social-links { margin: 0 auto; max-width: 820px; }
.social-news .social-btn { padding: 1.5rem 1.8rem; text-align: left; }
.social-news .social-btn svg { width: 4rem; height: 4rem; }
.social-news .social-btn b { font-size: 1.6rem; }
.social-news .social-note { text-align: center; }
/* ---------- Blaue Karten (Startseite: Mannschaften) ---------- */
.card.card-blue {
  background: linear-gradient(140deg, #1446a0 0%, #0d2a63 100%);
  color: #fff; border-top-color: #6aa8ff;
}
.card.card-blue h3 { color: #fff; }
.card.card-blue .meta { color: #bcd4ff; }
.card.card-blue p { color: #e6eefb; }
.card.card-blue a { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,.5); }
.card.card-blue a:hover { color: #bcd4ff; }.card.card-blue .date { background: rgba(255,255,255,.16); color: #fff; }
.card.card-blue .more { color: #fff; text-decoration: none; }
.card.card-blue .more:hover { color: #bcd4ff; }
/* Tabelle vom Verband (hockeydata) */
.standings td, .standings th { text-align: center; }
.standings td:nth-child(2), .standings th:nth-child(2) { text-align: left; }
.standings tr.wir td { background: var(--ice); font-weight: 700; }

/* Kader: Gruppen am Handy einklappbar */
details.kader-gruppe > summary { list-style: none; display: flex; align-items: center; gap: 1rem; }
details.kader-gruppe > summary::-webkit-details-marker { display: none; }
.kader-anzahl { font-weight: 600; opacity: .7; }
.kader-pfeil { display: none; }
@media (min-width: 641px) { details.kader-gruppe > summary { pointer-events: none; } .kader-anzahl { display: none; } }
@media (max-width: 640px) {
  details.kader-gruppe { border-bottom: 2px solid var(--ice-2); }
  details.kader-gruppe > summary { cursor: pointer; padding: .9rem .2rem; }
  details.kader-gruppe > summary .roster-group { margin: 0; color: var(--navy); }
  details.kader-gruppe[open] > summary { margin-bottom: .6rem; }
  details.kader-gruppe[open] { padding-bottom: 1.2rem; }
  .kader-pfeil { display: block; margin-left: auto; width: .6rem; height: .6rem; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-25%) rotate(45deg); transition: transform .2s; }
  details.kader-gruppe[open] .kader-pfeil { transform: translateY(25%) rotate(-135deg); }
}

/* Startseite am Handy: Spielplan hervorheben, Schnuppertraining dezenter */
@media (max-width: 640px) {
  .hero .btn-row { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .hero .btn-row .btn-ghost { order: -1; background: var(--red); border-color: var(--red); color: #fff; padding: 1rem 2rem; font-size: 1.05rem; box-shadow: 0 8px 20px rgba(47, 111, 224, .45); }
  .hero .btn-row .btn-red { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; box-shadow: none; padding: .45rem .9rem; font-size: .7rem; letter-spacing: .04em; }
}