:root {
  --tsv-red: #c40000;
  --tsv-red-dark: #8f0000;
  --tsv-black: #111111;
  --tsv-ink: #202124;
  --tsv-muted: #69707a;
  --tsv-line: #e9ecef;
  --tsv-bg: #ffffff;
  --tsv-soft: #f6f7f9;
  --tsv-card: #ffffff;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 20px 50px rgba(17, 17, 17, 0.12);
  --container: 1180px;
}

/* =========================================================
   Abteilungsfarben / Themes
   ========================================================= */

.theme-red,
.theme-fussball { --department-color: #c40000; }
.theme-kindertanzen { --department-color: #c93f72; }
.theme-tischtennis { --department-color: #f02607; }
.theme-volleyball { --department-color: #294c70; }
.theme-tennis { --department-color: #3e7a48; }
.theme-yoga { --department-color: #79558c; }
.theme-flag-football { --department-color: #151515; }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tsv-ink);
  background: var(--tsv-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--tsv-red);
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.container.narrow,
.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--tsv-line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--tsv-black);
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--tsv-muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}


.nav-toggle {
  display: none;
  border: 0;
  background: var(--tsv-soft);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 1.2rem;
}

.hero {
  width: min(1320px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 28px;
  padding: clamp(32px, 6vw, 78px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(135deg, #151515 0%, #2a0a0a 45%, #c40000 100%);
  overflow: hidden;
  position: relative;
}

.hero::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  margin: 24px 0 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tsv-red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #fff;
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  color: #fff;
  background: var(--tsv-red);
  box-shadow: 0 12px 24px rgba(196, 0, 0, 0.22);
}

.btn-secondary {
  color: var(--tsv-black);
  background: #fff;
  border: 1px solid var(--tsv-line);
}







.section {
  padding: 74px 0;
}

.section-muted {
  background: var(--tsv-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-head a {
  font-weight: 800;
  color: var(--tsv-red);
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.department-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.form-card,
.side-card,
.info-panel {
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background: var(--tsv-card);
  box-shadow: var(--shadow-sm);
}


.card-body {
  padding: 22px;
}

.card h3 {
  margin: 12px 0 10px;
  font-size: 1.34rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--tsv-muted);
}

time {
  color: var(--tsv-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tag-color, var(--tsv-red));
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tag-color, var(--tsv-red));
}

.department-tile {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(145deg, var(--department-color), #151515);
  box-shadow: var(--shadow-sm);
}

.department-tile:hover {
  color: #fff;
  transform: translateY(-2px);
}

.department-tile span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--department-color);
  background: #fff;
  font-weight: 900;
}

.department-tile strong {
  font-size: 1.28rem;
  line-height: 1.1;
}

.department-tile small {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  width: min(1320px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: clamp(42px, 6vw, 72px);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--tsv-black), var(--department-color, var(--tsv-red)));
}

.page-hero.compact {
  padding: clamp(38px, 5vw, 64px);
}

.page-hero > .container {
  width: min(var(--container), 100%);
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
}

.info-panel,
.side-card {
  padding: 24px;
}

.info-panel.dark {
  color: #fff;
  background: rgba(17, 17, 17, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.info-panel.dark a {
  color: #fff;
  font-weight: 800;
}

.content-layout {
  align-items: start;
}

.prose h2 {
  margin-top: 0;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.prose p {
  white-space: normal;
  color: #3e444d;
}

.side-card {
  position: sticky;
  top: 100px;
}

.side-card a {
  color: var(--tsv-red);
  font-weight: 800;
}


.article-body {
  padding-top: 48px;
  padding-bottom: 78px;
  font-size: 1.08rem;
}



.form-card {
  width: 100%;
  padding: 30px;
}

.form-card h2 {
  margin-top: 0;
  letter-spacing: -0.035em;
}


label {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(196, 0, 0, 0.16);
  border-color: var(--tsv-red);
}

.checkbox-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-line input {
  width: auto;
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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



table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--tsv-line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--tsv-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td a {
  color: var(--tsv-red);
  font-weight: 800;
}


.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(20px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--tsv-line);
  background: #111;
  color: #fff;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .department-grid,
  .department-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 14px;
    background: var(--tsv-soft);
  }

  .hero {
    width: calc(100% - 20px);
    padding: 30px 20px;
    border-radius: 24px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards-grid,
  .department-grid,
  .department-grid.large,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .site-footer,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

}

.hero-with-watermark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-with-watermark::before {
  content: "";
  position: absolute;

  right: 2%;
  top: 3%;

  width: min(500px, 40vw);
  height: min(500px, 40vw);

  background: rgba(255, 255, 255, 0.24);

  z-index: 0;
  pointer-events: none;

  -webkit-mask-image: url("../img/logo_solo_frei.png");
  mask-image: url("../img/logo_solo_frei.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero-with-watermark .hero-copy {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .hero-with-watermark::before {
    right: -40px;
    top: 20px;

    width: 320px;
    height: 320px;

    background: rgba(255, 255, 255, 0.14);
  }
}

.page-hero-watermark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-watermark::before {
  content: "";
  position: absolute;
  right: 5%;
  top: -10%;
  width: min(420px, 42vw);
  height: min(420px, 42vw);
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 0;

  -webkit-mask-image: url("../img/logo_solo_frei.png");
  mask-image: url("../img/logo_solo_frei.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.page-hero-watermark > .container,
.page-hero-watermark .container {
  position: relative;
  z-index: 1;
}

/* =======================================================
   Abteilungsseiten / Seitenleiste
   ======================================================= */

.department-sidebar {
  display: grid;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.department-logo-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 18%, rgba(196, 0, 0, 0.08), transparent 30%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.department-logo-card img {
  width: min(260px, 100%);
  max-height: 190px;
  object-fit: contain;
  object-position: center center;
}

.department-contact-card {
  position: static;
}

.department-contact-card h3 {
  margin-top: 0;
}

.department-contact-card a {
  color: var(--tsv-red);
  font-weight: 800;
}

@media (max-width: 980px) {
  .department-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .page-hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 24px;
    padding: 30px 20px;
  }

  .page-hero-watermark::before {
    right: -130px;
    bottom: -80px;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.12);
  }

  .department-logo-card {
    min-height: 180px;
    padding: 22px;
  }

  .department-logo-card img {
    max-height: 150px;
  }
}

.legal-page h2 {
  margin-top: 34px;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page a {
  color: var(--tsv-red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page .small-muted {
  margin-top: 36px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--tsv-soft);
}

/* =========================================================
   Statische STRATO-Version / Kontakt / News
   ========================================================= */

code {
  padding: .12rem .38rem;
  border-radius: 6px;
  background: #f0f1f3;
  font-size: .92em;
}

.text-link {
  color: var(--tsv-red);
  font-weight: 800;
}

.static-side-card {
  position: static;
}

.notice-card,
.external-widget-card {
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.notice-card > div {
  padding: 28px;
}

.notice-card h3 {
  margin: 10px 0 8px;
}

.external-widget-card {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 24px;
  padding: 26px;
  align-items: stretch;
}

.external-widget-copy h3 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.edit-hint {
  padding: 18px;
  border-left: 4px solid var(--tsv-red);
  background: var(--tsv-soft);
  border-radius: 0 12px 12px 0;
}

.optional {
  color: var(--tsv-muted);
  font-size: .78rem;
  font-weight: 600;
}

.contact-form {
  width: 100%;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-bottom: 18px;
  padding: 15px 17px;
  border-radius: var(--radius-md);
  font-weight: 750;
}

.form-status.success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.form-status.error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.legal-page ul,
.legal-page ol {
  color: #3e444d;
}

@media (max-width: 980px) {
  .external-widget-card {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Mitgliedsbeiträge / Downloads
   ========================================================= */

.membership-card-full {
  width: 100%;
  max-width: none;
}

.membership-card-full .card-body {
  padding: 2rem;
}

.membership-note {
  margin: 1rem 0 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.membership-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.membership-table {
  width: 100%;
  border-collapse: collapse;
}

.membership-table th,
.membership-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.membership-table thead th {
  font-weight: 700;
}

.membership-table tbody th {
  font-weight: 600;
}

.membership-table td {
  white-space: nowrap;
}

.membership-table tbody tr:last-child th,
.membership-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .membership-card-full .card-body {
    padding: 1.25rem;
  }

  .membership-table th,
  .membership-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.95rem;
  }
}

/* =========================================================
   Dropdown-Navigation, Personen, Sponsoren und Fußballteams
   ========================================================= */

.nav-item {
  position: relative;
}

.main-nav .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-arrow {
  font-size: .76rem;
  transition: transform 160ms ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 80;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--tsv-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-dropdown-wide {
  min-width: 270px;
}

.nav-dropdown a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: .9rem;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--tsv-red);
  background: var(--tsv-soft);
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover > .nav-parent .nav-arrow,
.nav-item:focus-within > .nav-parent .nav-arrow {
  transform: rotate(180deg);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.person-card-body {
  padding: 22px;
}

.person-card h2 {
  margin: 10px 0 6px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.person-role {
  margin: 0 0 12px;
  color: var(--tsv-muted);
  font-weight: 700;
}

.sponsor-grid {
  display: grid;
  gap: 24px;
}

.sponsor-card {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sponsor-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 30px;
  background: var(--tsv-soft);
}

.sponsor-logo {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.sponsor-card-body {
  padding: clamp(26px, 4vw, 46px);
  align-self: center;
}

.sponsor-card-body h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.sponsor-card-body p {
  color: var(--tsv-muted);
}

.sponsor-actions {
  margin-top: 20px;
}

.football-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.football-area-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.football-area-card:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.football-area-card h3 {
  margin: 14px 0 8px;
  font-size: 1.8rem;
}

.football-area-card p {
  color: var(--tsv-muted);
}

.football-area-card strong {
  color: var(--tsv-red);
}

.football-area-card.external {
  background: linear-gradient(145deg, #fff, #f7f7f8);
}

.team-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.team-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.team-photo-card figcaption {
  padding: 14px 18px;
  color: var(--tsv-muted);
  font-size: .9rem;
}

.team-info-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.coach-card,
.team-facts {
  overflow: hidden;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.coach-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
}

.coach-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.coach-card > div,
.team-facts {
  padding: 24px;
}

.coach-card h2 {
  margin: 10px 0 6px;
}

.coach-card p {
  color: var(--tsv-muted);
}

.team-facts dl {
  margin: 18px 0 0;
}

.team-facts dl div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--tsv-line);
}

.team-facts dl div:last-child {
  border-bottom: 0;
}

.team-facts dt {
  color: var(--tsv-muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.team-facts dd {
  margin: 0;
  font-weight: 700;
}

.edit-hint-inline {
  color: var(--tsv-red);
}

@media (max-width: 980px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-card,
  .team-info-grid {
    grid-template-columns: 1fr;
  }

  .coach-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .main-nav .nav-item {
    width: 100%;
  }

  .main-nav .nav-parent {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 4px 0 6px 14px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
  }

  .nav-dropdown a {
    margin-top: 4px;
    padding: 9px 12px;
    white-space: normal;
    background: #fff;
    border: 1px solid var(--tsv-line);
  }

  .nav-arrow {
    display: none;
  }

  .people-grid,
  .football-area-grid {
    grid-template-columns: 1fr;
  }

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

  .coach-card img {
    max-height: 360px;
  }

  .team-facts dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}/* =========================================================
   Tischtennis – Seitenlayout
   ========================================================= */

.tt-content-layout {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 520px);
  gap: 2rem;
  align-items: start;
}

.tt-content-layout > .prose {
  width: 100%;
  max-width: none;
}

/*
  Die globale .prose-Regel verwendet white-space: pre-line.
  Dadurch werden Zeilenumbrüche aus dem HTML sichtbar und der
  Text nutzt die linke Spalte optisch nicht vollständig.
*/
.tt-content-layout > .prose p {
  width: 100%;
  max-width: none;
  white-space: normal;
}

.tt-content-layout > .prose h2,
.tt-content-layout > .prose h3 {
  width: 100%;
  max-width: none;
}

/*
  Auf dieser Seite soll nichts innerhalb der rechten Spalte
  separat "sticky" sein. So kann die News-Karte nicht unter
  den Spielplan rutschen.
*/
.tt-content-layout .department-sidebar,
.tt-content-layout .side-card,
.tt-schedule-card {
  position: static;
  top: auto;
}


/* =========================================================
   Tischtennis – nächste Spiele
   ========================================================= */

.tt-schedule-card {
  padding: 0;
  overflow: hidden;
}

.tt-schedule-header {
  padding: 1.35rem 1.5rem 1.2rem;
  border-bottom: 1px solid #e5e5e5;
}

.tt-schedule-header .eyebrow {
  margin: 0 0 0.35rem;
}

.tt-schedule-header h3 {
  margin: 0 0 0.55rem;
}

.tt-schedule-header p:last-child {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tt-next-games {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}


/* =========================================================
   Einzelne Mannschaftsblöcke
   ========================================================= */

.tt-team-block {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.04);
}

/* Damen */
.tt-team-block:nth-child(1) {
  background-color: #fff1f1;
}

/* 1. Herren */
.tt-team-block:nth-child(2) {
  background-color: #eef5ff;
}

/* 2. Herren */
.tt-team-block:nth-child(3) {
  background-color: #eef8ef;
}

/* 3. Herren */
.tt-team-block:nth-child(4) {
  background-color: #fff7e8;
}

/* Jugend */
.tt-team-block:nth-child(5) {
  background-color: #f6f0ff;
}


/* =========================================================
   Mannschaftsüberschrift
   ========================================================= */

.tt-team-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.tt-team-name {
  color: #222;
  font-size: 1rem;
  font-weight: 700;
}

.tt-team-league {
  color: #8a8a8a;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
}


/* =========================================================
   Spiele innerhalb einer Mannschaft
   ========================================================= */

.tt-team-games {
  display: grid;
  gap: 0.45rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--tsv-red);
}

.tt-game-row {
  display: grid;
  grid-template-columns: 54px 78px 72px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.65rem;
  min-height: 32px;
  font-size: 0.82rem;
  line-height: 1.3;
}

.tt-game-row + .tt-game-row {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tt-game-date {
  color: #444;
  font-weight: 600;
  white-space: nowrap;
}

.tt-game-time {
  color: #555;
  white-space: nowrap;
}

.tt-game-location {
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.tt-home {
  color: var(--tsv-red);
}

.tt-away {
  color: #666;
}

.tt-game-opponent {
  min-width: 0;
  color: #222;
  font-weight: 500;
  overflow-wrap: anywhere;
}


/* =========================================================
   Meldungen / Spielplanstand
   ========================================================= */

.tt-no-games {
  margin: 0;
  padding: 0.25rem 0;
  color: #777;
  font-size: 0.82rem;
  font-style: italic;
}

.tt-loading,
.tt-load-error {
  margin: 0;
  padding: 1.25rem;
  color: #666;
  font-size: 0.9rem;
}

.tt-load-error {
  color: #a00000;
}

.tt-updated {
  margin: 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid #e5e5e5;
  color: #888;
  font-size: 0.72rem;
  text-align: center;
}


/* =========================================================
   Tischtennis – Tablet / Mobil
   ========================================================= */

@media (max-width: 1050px) {
  .tt-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tt-next-games {
    padding: 0.75rem;
  }

  .tt-team-block {
    padding: 0.9rem;
  }

  .tt-schedule-header {
    padding: 1.1rem 1rem;
  }

  .tt-game-row {
    grid-template-columns: 44px 68px 62px minmax(0, 1fr);
    column-gap: 0.35rem;
    font-size: 0.74rem;
  }

  .tt-game-location {
    font-size: 0.67rem;
  }

  .tt-game-opponent {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.department-tile .department-tile-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.department-tile .department-tile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.department-tile span.department-tile-logo {
  color: initial;
  font-weight: initial;
}
/* =========================================================
   Kindertanzen – Trainingszeiten
   ========================================================= */

.dance-training-card {
  padding: 24px;
}

.dance-location {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 22px;
  padding: 14px 16px;
  border-left: 4px solid var(--tsv-red);
  border-radius: 0 12px 12px 0;
  background: var(--tsv-soft);
}

.dance-location strong {
  color: var(--tsv-ink);
}

.dance-location span {
  color: var(--tsv-muted);
  font-size: 0.88rem;
}

.dance-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.dance-day {
  padding: 18px;
  border: 1px solid var(--tsv-line);
  border-radius: 14px;
  background: #fff;
}

.dance-day h3 {
  margin: 0 0 14px;
  color: var(--tsv-red);
  font-size: 1.05rem;
}

.dance-group {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--tsv-line);
}

.dance-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.dance-group:last-child {
  padding-bottom: 0;
}

.dance-group strong {
  display: block;
  margin-bottom: 2px;
  color: var(--tsv-ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.dance-group span {
  display: block;
  margin-bottom: 5px;
  color: var(--tsv-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.dance-group time {
  display: block;
  margin-top: 5px;
  color: var(--tsv-red);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .dance-days {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Shows, Galerien und Sponsoren 2026/27
   ========================================================= */

.dance-show-highlight {
  margin: 0 0 3rem;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(201, 63, 114, .2);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fff 0%, #fff5f8 100%);
  box-shadow: var(--shadow-sm);
}

.dance-show-highlight h2 { margin: 0 0 .65rem; }
.dance-show-highlight-head > p:last-child { margin-bottom: 1.2rem; }
.dance-show-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1rem 0; }
.dance-show-date { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #f0dce4; }
.dance-show-date strong { color: #a82f5b; font-size: 1.12rem; }
.dance-show-date span { color: var(--tsv-muted); font-weight: 700; }
.dance-show-place, .dance-show-ticket { margin: .75rem 0 0; }
.dance-show-ticket a { color: var(--tsv-red); font-weight: 800; }
.dance-show-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.35rem; }

.show-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.show-overview-card { padding: 28px; border: 1px solid var(--tsv-line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm); }
.show-overview-card.upcoming { background: linear-gradient(145deg, #fff, #fff5f8); border-color: rgba(201, 63, 114, .2); }
.show-overview-card h2 { margin: .6rem 0 .8rem; }

.show-event-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr); gap: 26px; padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(201, 63, 114, .2); border-radius: var(--radius-xl); background: linear-gradient(145deg, #fff, #fff5f8); box-shadow: var(--shadow-sm); }
.show-event-card h2 { margin: .6rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.show-event-dates { display: grid; align-content: start; gap: 10px; }
.show-event-dates > div { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #f0dce4; }
.show-event-dates strong, .show-event-dates span { display: block; }
.show-event-dates strong { color: #a82f5b; font-size: 1.2rem; }
.show-event-dates span { color: var(--tsv-muted); font-weight: 700; }
.show-event-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.show-event-meta p { margin: 0; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.78); }
.show-event-meta a { color: var(--tsv-red); font-weight: 800; }
.show-back-link { margin-top: 22px; }

.media-gallery { position: relative; }
.gallery-stage { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: #111; box-shadow: var(--shadow-sm); }
.gallery-stage img { width: 100%; height: clamp(300px, 52vw, 650px); object-fit: cover; transition: opacity 180ms ease; }
.gallery-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; padding: 10px 14px; border-radius: 12px; color: #fff; background: rgba(0,0,0,.58); backdrop-filter: blur(8px); }
.gallery-arrow { position: absolute; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.5); font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery-arrow:hover { background: rgba(196,0,0,.85); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-empty { padding: 34px; text-align: center; color: var(--tsv-muted); border: 2px dashed #d7dbe0; border-radius: var(--radius-xl); background: var(--tsv-soft); }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gallery-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c7cbd0; cursor: pointer; }
.gallery-dot.active { background: var(--tsv-red); }
.gallery-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gallery-filter button { padding: 9px 14px; border: 1px solid var(--tsv-line); border-radius: 999px; background: #fff; color: var(--tsv-ink); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.gallery-filter button.active, .gallery-filter button:hover { color: #fff; border-color: var(--tsv-red); background: var(--tsv-red); }

.sponsor-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sponsor-card-compact { grid-template-columns: 190px minmax(0, 1fr); min-height: 280px; }
.sponsor-card-compact .sponsor-logo-wrap { min-height: 100%; padding: 20px; }
.sponsor-card-compact .sponsor-logo { max-height: 170px; }
.sponsor-card-compact .sponsor-card-body { padding: 26px; }
.sponsor-card-compact .sponsor-card-body h2 { font-size: 1.55rem; }
.sponsor-card-compact .sponsor-card-body p { font-size: .96rem; }
.sponsor-no-link { display: inline-block; color: var(--tsv-muted); font-size: .82rem; font-style: italic; }

@media (max-width: 980px) {
  .show-overview-grid, .show-event-card, .sponsor-grid-compact { grid-template-columns: 1fr; }
  .show-event-meta { grid-template-columns: 1fr; }
  .sponsor-card-compact { grid-template-columns: 170px minmax(0, 1fr); }
}

@media (max-width: 650px) {
  .dance-show-dates { grid-template-columns: 1fr; }
  .gallery-stage img { height: 62vw; min-height: 260px; }
  .gallery-arrow { width: 40px; height: 40px; }
  .sponsor-card-compact { grid-template-columns: 1fr; }
  .sponsor-card-compact .sponsor-logo-wrap { min-height: 180px; }
}

/* =========================================================
   Tennis – Impressionen / Bildergalerie
   ========================================================= */

.tennis-impressions {
  overflow: hidden;
}

.tennis-impressions h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.tennis-slider {
  width: 100%;
}

.tennis-slider-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--tsv-soft);
}

.tennis-slider-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.tennis-slider-image img.is-changing {
  opacity: 0;
}

.tennis-slider-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.tennis-slider-button:hover {
  background: rgba(0, 0, 0, 0.82);
  transform: translateY(-50%) scale(1.05);
}

.tennis-slider-prev {
  left: 10px;
}

.tennis-slider-next {
  right: 10px;
}

.tennis-slider-counter {
  margin-top: 8px;
  color: var(--tsv-muted);
  font-size: 0.78rem;
  text-align: center;
}

/* =========================================================
   Fußball – breite Textbereiche
   ========================================================= */

.football-text-wide {
  width: calc(100% - 40px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.football-text-wide > .prose {
  width: 100%;
  max-width: none;
}

.football-text-wide > .prose p,
.football-text-wide > .prose h2,
.football-text-wide > .prose h3 {
  width: 100%;
  max-width: none;
}

.football-text-wide > .prose p {
  white-space: normal;
}

@media (max-width: 760px) {
  .football-text-wide {
    width: calc(100% - 20px);
  }
}

/* =========================================================
   Tischtennis – Galerie in der Seitenleiste
   ========================================================= */

.tt-sidebar-gallery {
  padding: 18px;
  overflow: hidden;
}

.tt-sidebar-gallery h3 {
  margin: 0 0 14px;
}

.tt-sidebar-gallery .gallery-stage {
  border-radius: 14px;
}

.tt-sidebar-gallery .gallery-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.tt-sidebar-gallery .gallery-caption {
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  font-size: 0.78rem;
}

.tt-sidebar-gallery .gallery-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
}

.tt-sidebar-gallery .gallery-prev { left: 8px; }
.tt-sidebar-gallery .gallery-next { right: 8px; }

.tt-sidebar-gallery .gallery-empty {
  padding: 22px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.tt-sidebar-gallery .gallery-dots {
  margin-top: 10px;
}

/* =========================================================
   FUSSBALL.DE Widgets
   ========================================================= */

.fussballde-widgets {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.fussballde-widget-block {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--tsv-line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.fussballde-widget-block h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.fussballde_widget {
  width: 100% !important;
  min-width: 0;
}

.coach-card-text-only {
  grid-template-columns: 1fr;
}
