/* ============================================
   TC BLAU-WEISS BAD SODEN - Website 2025
   Brand System & Global Styles
   ============================================ */

/* --- GeomGraphic Font --- */
@font-face {
  font-family: 'GeomGraphic';
  src: url('../fonts/GeomGraphicW03-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --tcbw-blue: #002d72;
  --tcbw-blue-dark: #001a45;
  --tcbw-blue-light: #003d99;
  --tcbw-yellow: #efdf00;
  --tcbw-yellow-dark: #c4b800;
  --tcbw-white: #ffffff;
  --tcbw-off-white: #f5f5f7;
  --tcbw-gray-100: #f0f0f2;
  --tcbw-gray-200: #e0e0e4;
  --tcbw-gray-300: #b0b0b8;
  --tcbw-gray-600: #5a5a66;
  --tcbw-gray-800: #2a2a32;
  --tcbw-black: #111118;

  /* Typography */
  --font-headline: 'GeomGraphic', 'Rajdhani', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1280px;
  --container-wide: 1440px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tcbw-gray-800);
  background: var(--tcbw-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--tcbw-blue);
  hyphens: auto;
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-before: 5;
  -webkit-hyphenate-limit-after: 4;
  hyphenate-limit-chars: 16 5 4;
  overflow-wrap: break-word;
}

h4, h5 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tcbw-blue);
}

h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-style: italic;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  max-width: 680px;
}

.text-small {
  font-size: 0.875rem;
}

.text-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
}

.section--darker {
  background: var(--tcbw-blue-dark);
  color: var(--tcbw-white);
}

.section--light {
  background: var(--tcbw-off-white);
}

/* --- Accent Bar (parallelogram + trailing stripes via SVG mask) --- */
.accent-bar {
  display: block;
  height: 16px;
  width: clamp(180px, 28vw, 360px);
  background: var(--tcbw-yellow);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 16' preserveAspectRatio='none'%3E%3Cpolygon points='4,0 0,16 2,16 6,0'/%3E%3Cpolygon points='11,0 7,16 10,16 14,0'/%3E%3Cpolygon points='19,0 15,16 19,16 23,0'/%3E%3Cpolygon points='28,0 24,16 29,16 33,0'/%3E%3Cpolygon points='38,0 34,16 40,16 44,0'/%3E%3Cpolygon points='50,0 46,16 336,16 340,0'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 16' preserveAspectRatio='none'%3E%3Cpolygon points='4,0 0,16 2,16 6,0'/%3E%3Cpolygon points='11,0 7,16 10,16 14,0'/%3E%3Cpolygon points='19,0 15,16 19,16 23,0'/%3E%3Cpolygon points='28,0 24,16 29,16 33,0'/%3E%3Cpolygon points='38,0 34,16 40,16 44,0'/%3E%3Cpolygon points='50,0 46,16 336,16 340,0'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.accent-bar::before,
.accent-bar::after {
  display: none;
}

/* White variant for dark backgrounds */
.page-hero .accent-bar,
.section--dark .accent-bar,
.hero__label .accent-bar {
  background: var(--tcbw-white);
}

.section-header {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-header .accent-bar {
  margin-bottom: 20px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--tcbw-gray-600);
}

.section--dark .section-header p {
  color: var(--tcbw-gray-300);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--darker h2,
.section--darker h3,
.section--darker h4 {
  color: var(--tcbw-white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
}

.btn--primary:hover {
  background: var(--tcbw-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 223, 0, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--tcbw-white);
  border: 2px solid var(--tcbw-white);
}

.btn--outline:hover {
  background: var(--tcbw-white);
  color: var(--tcbw-blue);
}

.btn--blue {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
}

.btn--blue:hover {
  background: var(--tcbw-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 45, 114, 0.3);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(0, 26, 69, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo img {
  height: 52px;
  min-height: 52px;
  width: auto;
  transition: height var(--transition-base);
}

.nav--solid .nav__logo img {
  height: 40px;
  min-height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav__links li {
  flex-shrink: 0;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-white);
  padding: 10px 12px;
  position: relative;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--tcbw-yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__links a:hover {
  color: var(--tcbw-yellow);
}

.nav__cta {
  margin-left: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--tcbw-white);
  transition: all var(--transition-base);
}

/* Mobile Nav Overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--tcbw-blue-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 100px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 320px;
}

.nav__mobile-links a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--tcbw-white);
  letter-spacing: 0.02em;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
}

.nav__mobile-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--tcbw-yellow);
  transition: width 0.2s ease;
}

.nav__mobile-links a:hover,
.nav__mobile-links a.active {
  color: var(--tcbw-yellow);
}

.nav__mobile-links a:hover::after,
.nav__mobile-links a.active::after {
  width: 40px;
}

.nav__mobile-cta {
  margin-top: 24px;
}

.nav__mobile-close {
  display: none;
  padding: 8px;
  line-height: 1;
  z-index: 1000;
  transition: color 0.2s ease;
}

.nav__mobile-close:hover {
  color: var(--tcbw-yellow);
}

/* Burger animation to X */
.nav__burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: clamp(700px, 80vh, 900px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: clamp(140px, 16vw, 200px);
  background: var(--tcbw-blue-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 26, 69, 0.3) 0%,
    rgba(0, 26, 69, 0.6) 50%,
    rgba(0, 26, 69, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero__label .accent-bar {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 280px);
}

.hero__label span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tcbw-yellow);
}

.hero h1 {
  color: var(--tcbw-white);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--tcbw-yellow);
  font-style: italic;
}

.hero p {
  color: var(--tcbw-gray-200);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scrolling stats bar */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 45, 114, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.hero__stat {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat:last-child {
  border-right: none;
}

/* Tablet: 3 columns, second row with 2 centered */
@media (max-width: 900px) {
  .hero__stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__stat {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero__stat:nth-child(3n) {
    border-right: none;
  }
  .hero__stat:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Mobile: 2 columns, last item spans full width */
@media (max-width: 560px) {
  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stat {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
  }
  .hero__stat:nth-child(2n) {
    border-right: none;
  }
  .hero__stat:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero__stat:last-child {
    grid-column: 1 / -1;
    border-right: none;
  }
}

.hero__stat-number {
  font-family: var(--font-headline);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--tcbw-yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-gray-300);
}

/* --- Cards --- */
.card {
  display: block;
  background: var(--tcbw-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center top;
  background-color: var(--tcbw-gray-200);
  transition: transform 0.3s ease;
}

.card__image--portrait {
  aspect-ratio: 4 / 3;
}

.card:hover .card__image {
  transform: scale(1.03);
}

.card__body {
  padding: 24px;
}

.card__date {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-blue);
  margin-bottom: 8px;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.card__excerpt {
  font-size: 0.9rem;
  color: var(--tcbw-gray-600);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcbw-blue);
  transition: color var(--transition-base);
}

.card__link:hover {
  color: var(--tcbw-blue-light);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* --- News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* --- News-Article Body --- */
/* Der globale Reset (* { margin: 0 }) löscht die Default-Absatzabstände,
   daher hier explizit Spacing für Markdown-Output: <p>, <h4>, Listen. */
.article-body p {
  margin: 0 0 1.1em 0;
  max-width: none;
}
.article-body h4 {
  margin: 1.6em 0 0.5em;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tcbw-blue);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.1em 0;
  padding-left: 1.4em;
}
.article-body li {
  margin: 0.25em 0;
}
.article-body strong {
  color: var(--tcbw-blue-dark);
}
.article-body a {
  color: var(--tcbw-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body > *:last-child {
  margin-bottom: 0;
}

/* --- Info Tiles (Club Fakten etc.) --- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.tile {
  padding: 40px 32px;
  background: var(--tcbw-white);
  position: relative;
  transition: transform var(--transition-base);
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--tcbw-yellow);
  transition: width var(--transition-base);
}

.tile:hover {
  transform: translateY(-4px);
}

.tile:hover::before {
  width: 6px;
}

.tile__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--tcbw-blue);
}

.tile h4 {
  margin-bottom: 10px;
  color: var(--tcbw-blue);
}

.tile p {
  font-size: 0.9rem;
  color: var(--tcbw-gray-600);
}

/* --- Trainer Section --- */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.trainer-card {
  text-align: center;
}

.trainer-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  margin: 0 auto 20px;
  background-color: var(--tcbw-gray-200);
  border: 4px solid var(--tcbw-yellow);
}

.trainer-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.trainer-card__role {
  font-size: 0.85rem;
  color: var(--tcbw-blue);
  font-weight: 500;
  margin-bottom: 4px;
}

.trainer-card__detail {
  font-size: 0.8rem;
  color: var(--tcbw-gray-600);
}

/* --- Spielplan Table --- */
.spielplan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spielplan-table thead {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
}

.spielplan-table th {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 14px 20px;
  text-align: left;
}

.spielplan-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--tcbw-gray-200);
}

.spielplan-table tbody tr:hover {
  background: var(--tcbw-gray-100);
}

.spielplan-table .home {
  font-weight: 600;
  color: var(--tcbw-blue);
}

.spielplan-date {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--tcbw-yellow-dark);
  white-space: nowrap;
}

/* --- Sponsoren Logos --- */
.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 0;
}

.sponsor-row img {
  height: 48px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: filter var(--transition-base);
}

.sponsor-row img:hover {
  filter: grayscale(0%) opacity(1);
}

/* --- Footer --- */
.footer {
  background: var(--tcbw-black);
  color: var(--tcbw-gray-300);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 64px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h5 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tcbw-white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--tcbw-gray-300);
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--tcbw-yellow);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--tcbw-gray-300);
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--tcbw-yellow);
  border-color: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--tcbw-blue);
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(239, 223, 0, 0.06);
}

.cta-banner h2 {
  color: var(--tcbw-white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--tcbw-gray-200);
  margin: 0 auto 32px;
  max-width: 520px;
}

/* --- Tile Dark Variant (for dark sections) --- */
.tile--dark {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--tcbw-yellow);
}

.tile--dark::before {
  display: none;
}

.tile--dark h4 {
  color: var(--tcbw-yellow);
}

.tile--dark p {
  color: var(--tcbw-gray-200);
}

/* --- Page Hero (Subpages) --- */
.page-hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(48px, 6vw, 80px);
  background:
    linear-gradient(180deg, rgba(0,26,69,0.1) 0%, rgba(0,26,69,0.4) 40%, rgba(0,26,69,0.85) 100%),
    linear-gradient(135deg, #001a45 0%, #002d72 50%, #003d99 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 10%;
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: url('../img/TCBW_Logo_Vektor_weiss_trans.svg') center / contain no-repeat;
  opacity: 0.06;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: -60px;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: pattern-drift 20s linear infinite;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,26,69,0.1) 0%, rgba(0,26,69,0.4) 40%, rgba(0,26,69,0.85) 100%),
    linear-gradient(135deg, #001a45 0%, #002d72 50%, #003d99 100%);
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--tcbw-white);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--tcbw-gray-200);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 560px;
}

/* --- Sponsor Placeholder --- */
.sponsor-placeholder {
  height: 48px;
  background: var(--tcbw-gray-200);
}

/* --- Pricing Cards (Sponsoring) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: var(--tcbw-white);
  padding: 0;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.pricing-card__header {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
  padding: 32px;
  text-align: center;
}

.pricing-card__header h3 {
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--tcbw-yellow);
  line-height: 1;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--tcbw-gray-300);
}

.pricing-card--featured .pricing-card__header {
  background: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
}

.pricing-card--featured .pricing-card__price {
  color: var(--tcbw-blue-dark);
}

.pricing-card--featured .pricing-card__price span {
  color: var(--tcbw-gray-600);
}

.pricing-card__body {
  padding: 32px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--tcbw-gray-100);
  font-size: 0.9rem;
  color: var(--tcbw-gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--tcbw-yellow);
  flex-shrink: 0;
}

/* --- Player Grid (Mannschaften) --- */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.player-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--tcbw-white);
  border-bottom: 3px solid var(--tcbw-yellow);
  transition: transform var(--transition-base);
}

.player-card:hover {
  transform: translateY(-4px);
}

.player-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--tcbw-gray-200);
  margin: 0 auto 14px;
  border: 3px solid var(--tcbw-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-gray-300);
}

.player-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* --- Team Tabs (Mannschaften) --- */
.team-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.team-tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--tcbw-gray-100);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--tcbw-gray-600);
}

.team-tab.active,
.team-tab:hover {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
}

/* --- Advantages Grid (Sponsoring) --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* --- Beitrag Table (Mitgliedschaft) --- */
.beitrag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.beitrag-table thead {
  background: var(--tcbw-blue);
  color: var(--tcbw-white);
}

.beitrag-table th {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 14px 20px;
  text-align: left;
}

.beitrag-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--tcbw-gray-200);
}

.beitrag-table tbody tr:hover {
  background: var(--tcbw-gray-100);
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h4 {
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--tcbw-gray-600);
  margin-bottom: 24px;
}

.contact-info a {
  color: var(--tcbw-blue);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--tcbw-blue-light);
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--tcbw-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-gray-300);
}

/* --- Vorstand Grid --- */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.vorstand-card {
  background: var(--tcbw-white);
  padding: 24px;
  border-left: 4px solid var(--tcbw-yellow);
}

.vorstand-card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.vorstand-card__role {
  font-size: 0.85rem;
  color: var(--tcbw-blue);
  font-weight: 500;
  margin-bottom: 8px;
}

.vorstand-card__contact {
  font-size: 0.8rem;
  color: var(--tcbw-gray-600);
}

.vorstand-card__contact a {
  color: var(--tcbw-blue);
}

/* --- Facility Grid --- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.facility-card {
  background: var(--tcbw-white);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.facility-card:hover {
  transform: translateY(-4px);
}

.facility-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--tcbw-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tcbw-gray-300);
}

.facility-card__body {
  padding: 24px;
}

.facility-card__body h4 {
  margin-bottom: 8px;
}

.facility-card__body p {
  font-size: 0.9rem;
  color: var(--tcbw-gray-600);
}

/* --- Animations --- */
@keyframes pattern-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(60px, 60px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Intermediate: shrink nav items slightly so they still fit in one row */
@media (max-width: 1280px) {
  .nav__links a {
    font-size: 0.72rem;
    padding: 10px 8px;
  }

  .nav__cta {
    font-size: 0.78rem;
    padding: 12px 22px;
    margin-left: 10px;
  }
}

/* Full wrap: scrollable second row */
@media (max-width: 1100px) {
  .nav__inner {
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .nav__links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 12px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 48px), transparent);
  }

  .nav__links::-webkit-scrollbar {
    display: none;
  }

  .nav__links a {
    font-size: 0.75rem;
    padding: 10px 14px;
    flex-shrink: 0;
  }

  .nav__cta {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .nav__burger {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__inner {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1024px) {

  .hero {
    height: auto;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 120px;
    padding-bottom: 0;
  }

  .hero__content {
    padding: 0 clamp(20px, 4vw, 48px) 48px;
  }

  .hero__stats {
    position: relative;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .vorstand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero__label {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    height: auto;
    min-height: 92vh;
    align-items: center;
    padding-bottom: 100px;
  }

  .hero__stat {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero__stat:last-child {
    border-bottom: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .next-match {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 28px 24px;
  }

  .next-match__time {
    margin-left: 0;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .player-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .spielplan-table {
    font-size: 0.78rem;
  }

  .spielplan-table th,
  .spielplan-table td {
    padding: 10px 4px;
  }

  /* Hide Uhrzeit column (4th) on mobile to fit 4 cols in viewport */
  .spielplan-table th:nth-child(4),
  .spielplan-table td:nth-child(4) {
    display: none;
  }

  /* Exception: standings table has 8 cols where the 4th is "S" (Siege) — keep it */
  .spielplan-table.alle-teams__standings-table th:nth-child(4),
  .spielplan-table.alle-teams__standings-table td:nth-child(4) {
    display: table-cell;
  }

  /* Compact date on mobile: "10.05." instead of "10.05.2026" to save width */
  .spielplan-table .spielplan-date {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .beitrag-table {
    font-size: 0.8rem;
  }

  .beitrag-table th,
  .beitrag-table td {
    padding: 10px 12px;
  }

  .vorstand-grid {
    grid-template-columns: 1fr;
  }

  .trainer-grid {
    grid-template-columns: 1fr;
  }

  /* Stack inline multi-col grids on mobile */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* --- Accessibility --- */
/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--tcbw-yellow);
  outline-offset: 2px;
}

/* Skip to content (hidden until focused) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  top: 16px;
}

/* --- Photo Placeholders --- */
[data-placeholder] {
  position: relative;
  background-color: var(--tcbw-gray-200);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
/* Hide icon & label when a real image is loaded */
[data-placeholder][style*="background-image"]::before,
[data-placeholder][style*="background-image"]::after {
  display: none;
}
[data-placeholder]::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b0b0b8'%3E%3Cpath d='M12 15.2a3.2 3.2 0 100-6.4 3.2 3.2 0 000 6.4z'/%3E%3Cpath d='M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-placeholder]::after {
  content: attr(data-placeholder);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tcbw-gray-300);
}
/* Person icon for trainer & player photos */
.trainer-card__photo[data-placeholder]::before,
.player-card__photo[data-placeholder]::before {
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b0b0b8'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}
/* Map pin icon */
.ph-map[data-placeholder]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b0b0b8'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}
/* Document icon */
.ph-doc[data-placeholder]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b0b0b8'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}
/* Sponsor logo placeholder */
.ph-sponsor {
  background: var(--tcbw-gray-200);
  border-radius: 4px;
}
/* Dark background variant */
.section--dark [data-placeholder] {
  background: rgba(255,255,255,0.06);
}

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

  html {
    scroll-behavior: auto;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }
}

/* ═══ IM FOKUS (Mannschaften-Seite) ═══ */
.im-fokus__cards {
  display: grid;
  gap: 14px;
}

.fokus-card {
  background: var(--tcbw-white);
  color: var(--tcbw-blue-dark);
  display: grid;
  overflow: hidden;
}

.fokus-card--herren {
  grid-template-columns: 1fr 1fr;
}

.fokus-card--nachwuchs {
  grid-template-columns: 1.6fr 1fr;
}

.fokus-card__media {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--tcbw-gray-100);
}

.fokus-card__overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 26, 69, 0.85);
  color: var(--tcbw-white);
  padding: 5px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

.fokus-card__body {
  padding: clamp(24px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fokus-card__badge {
  align-self: flex-start;
  background: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  text-transform: uppercase;
}

.fokus-card__heading,
.section--dark .fokus-card__heading {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  color: var(--tcbw-blue);
  margin: 0;
}

.fokus-card__meta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--tcbw-gray-600);
  margin: 0;
}

.fokus-card__text {
  line-height: 1.6;
  color: var(--tcbw-blue-dark);
  margin: 0;
}

.fokus-card__portrait-strip {
  display: grid;
  grid-template-columns: repeat(8, 40px);
  gap: 6px;
  margin-top: 4px;
}

.fokus-card__portrait {
  width: 40px;
  height: 40px;
  background-size: cover;
  background-position: center top;
  background-color: var(--tcbw-gray-100);
}

.fokus-card__portrait-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tcbw-blue);
  background: var(--tcbw-gray-100);
}

.fokus-card__divider {
  border-top: 1px solid rgba(0, 26, 69, 0.1);
  margin: 4px 0;
}

.fokus-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fokus-card__coach-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--tcbw-gray-600);
  text-transform: uppercase;
  font-weight: 600;
}

.fokus-card__coach-name {
  font-weight: 700;
  color: var(--tcbw-blue-dark);
}

.fokus-card__stat {
  background: var(--tcbw-yellow);
  color: var(--tcbw-blue-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.fokus-card__stat-number {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(4rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--tcbw-blue);
}

.fokus-card__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 12px;
  color: var(--tcbw-blue);
}

/* ═══ SPIELBETRIEB LIVE ═══ */
.spielbetrieb__frame {
  background: var(--tcbw-white);
  min-height: 200px;
}

.spielbetrieb__frame iframe {
  display: block;
  width: 100%;
  height: 1400px;
  border: 0;
}

.spielbetrieb__consent {
  background: var(--tcbw-white);
  color: var(--tcbw-blue-dark);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.spielbetrieb__consent p {
  max-width: 560px;
  line-height: 1.6;
  margin: 0;
}

.spielbetrieb__consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.spielbetrieb__footnote {
  margin-top: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ═══ GOOGLE MAPS (Kontakt) ═══ */
.maps-frame {
  background: var(--tcbw-gray-100);
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.maps-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.maps-frame__consent {
  background: var(--tcbw-white);
  color: var(--tcbw-blue-dark);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.maps-frame__consent p {
  max-width: 420px;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.maps-frame__consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .fokus-card--herren,
  .fokus-card--nachwuchs {
    grid-template-columns: 1fr;
  }
  .fokus-card__media {
    min-height: 240px;
  }
  .fokus-card__portrait-strip {
    grid-template-columns: repeat(8, 1fr);
    max-width: 320px;
  }
  .fokus-card__portrait {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }
  .spielbetrieb__frame iframe {
    height: 1000px;
  }
}

/* ═══ Alle Mannschaften: Dropdown-Spielplan ═══ */
.alle-teams__controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 520px;
}

.alle-teams__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tcbw-blue);
}

.alle-teams__select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--tcbw-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002d72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  border: 2px solid var(--tcbw-blue);
  border-radius: 0;
  padding: 14px 48px 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tcbw-blue-dark);
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-base);
}

.alle-teams__select:hover {
  background-color: var(--tcbw-gray-100);
}

.alle-teams__select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 223, 0, 0.4);
}

.alle-teams__info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--tcbw-yellow);
  background: var(--tcbw-gray-100);
  margin-bottom: 16px;
}

.alle-teams__info-name {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--tcbw-blue);
}

.alle-teams__info-meta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--tcbw-gray-600);
  text-transform: uppercase;
}

.alle-teams__table {
  width: 100%;
}

.alle-teams__footnote {
  margin-top: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--tcbw-gray-600);
}

.alle-teams__empty {
  padding: 32px;
  text-align: center;
  background: var(--tcbw-gray-100);
  color: var(--tcbw-gray-600);
}

/* Spielplan-Ergebnis-Zelle */
.spielplan-result {
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 700;
}

.spielplan-result__pending {
  color: var(--tcbw-gray-600);
  font-weight: 400;
}

.spielplan-result__win {
  color: #1a7a3c;
}

.spielplan-result__loss {
  color: #a12c2c;
}

.spielplan-result__neutral {
  color: var(--tcbw-blue-dark);
}

/* Alle Mannschaften: Liga-Tabelle (Standings) */
.alle-teams__standings {
  margin-top: 32px;
}

.alle-teams__standings-heading {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 1.25rem;
  color: var(--tcbw-blue);
  margin: 0 0 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.alle-teams__liga-name {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--tcbw-gray-600);
  text-transform: uppercase;
}

.alle-teams__standings-empty {
  background: var(--tcbw-gray-100);
  border-left: 4px solid var(--tcbw-yellow);
  padding: 20px 24px;
  color: var(--tcbw-gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.alle-teams__standings-table {
  width: 100%;
  font-size: 0.9rem;
}

.alle-teams__standings-table th.center,
.alle-teams__standings-table td.center {
  text-align: center;
}

.alle-teams__standings-table tbody tr.is-tcbw {
  background: rgba(239, 223, 0, 0.18);
}

.alle-teams__standings-table tbody tr.is-tcbw td {
  font-weight: 700;
  color: var(--tcbw-blue-dark);
}

/* Club-Seite: Historie-Teaser */
.historie-teaser {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.historie-teaser__cta {
  text-align: right;
}

@media (max-width: 768px) {
  .historie-teaser {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .historie-teaser__cta {
    text-align: left;
  }
}
