.tva-zebra-table tbody tr:hover,
.tabelle-kurs-beschreibung tbody tr:hover {
  background: var(--tva-table-row-hover, #eaf3fb);
  transition: background 0.15s;
}

@media (prefers-color-scheme: dark), (data-theme: dark) {
  .tva-zebra-table tbody tr:hover,
  .tabelle-kurs-beschreibung tbody tr:hover {
    background: rgba(255,255,255,0.16) !important;
    transition: background 0.15s;
  }
}
/* TVA Tennis-Tabelle: Spalten 2 und 3 (th, td) rechtsbündig */
/* TVA Tennis-Tabelle: Spalten 2 und 3 (th, td) rechtsbündig, mit !important zur Überschreibung */
.table-einfache-preisliste-2preise th:nth-child(2),
.table-einfache-preisliste-2preise th:nth-child(3),
.table-einfache-preisliste-2preise td:nth-child(2),
.table-einfache-preisliste-2preise td:nth-child(3) {
  text-align: right !important;
}
.tabelle-beitraege th:nth-child(2) {
  white-space: nowrap;
}

/* ===== Canonical restore: table-einfache-preisliste ===== */
[data-theme="dark"] .table-einfache-preisliste td {
  border-bottom: 1px solid #3a4652;
}

.table-einfache-preisliste th:last-child,
.table-einfache-preisliste td:last-child {
  white-space: nowrap;
}

[data-theme="dark"] .table-einfache-preisliste th {
  color: #fff;
}

[data-theme="dark"] .table-einfache-preisliste tbody tr:nth-child(odd) {
  background: var(--tva-table-row1, #1b2733);
}

[data-theme="dark"] .table-einfache-preisliste tbody tr:nth-child(even) {
  background: var(--tva-table-row2, #232f3a);
}

[data-theme="dark"] .table-einfache-preisliste tbody tr:hover {
  background: var(--tva-table-row-hover, #263445);
}

[data-theme="dark"] .table-einfache-preisliste {
  color: #fff;
}

.table-einfache-preisliste {
  width: min(100%, 560px);
  border-collapse: collapse;
  margin-top: 8px;
}

.table-einfache-preisliste td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.table-einfache-preisliste td:first-child {
  padding-right: 18px;
}

.table-einfache-preisliste tr:last-child td {
  border-bottom: 0;
}

.table-einfache-preisliste td:last-child {
  min-width: 140px;
  width: 1%;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.table-einfache-preisliste {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.04em;
  background: var(--tva-table-bg, #fff);
  color: var(--tva-table-fg, #222);
  margin-bottom: 1.5em;
  border-radius: 0.5em;
  overflow: hidden;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
}

.table-einfache-preisliste th,
.table-einfache-preisliste td {
  padding: 0.65em 1.1em;
  text-align: left;
  border-bottom: 1px solid var(--tva-table-row-divider, #e0e0e0);
}

.table-einfache-preisliste thead th {
  background: var(--tva-table-head-bg, #f5f5f5);
  color: var(--tva-table-head-fg, #222);
  font-weight: 600;
  font-size: 1.07em;
  border-bottom: 2px solid var(--tva-table-row-divider, #e0e0e0);
}

.table-einfache-preisliste tbody tr:nth-child(odd) {
  background: var(--tva-table-row1, #fafbfc);
}

.table-einfache-preisliste tbody tr:nth-child(even) {
  background: var(--tva-table-row2, #f5f5f5);
}

.table-einfache-preisliste tbody tr:hover {
  background: var(--tva-table-row-hover, #eaf3fb);
}

.table-einfache-preisliste td {
  font-size: 1em;
}

@media (max-width: 700px) {
  .table-einfache-preisliste,
  .table-einfache-preisliste thead,
  .table-einfache-preisliste tbody,
  .table-einfache-preisliste th,
  .table-einfache-preisliste td,
  .table-einfache-preisliste tr {
    display: block;
    width: 100%;
  }

  .table-einfache-preisliste thead {
    display: none;
  }

  .table-einfache-preisliste tr {
    margin-bottom: 1.1em;
    border-radius: 0.4em;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.03);
    background: var(--tva-table-row1, #fafbfc);
  }

  .table-einfache-preisliste td {
    border: none;
    position: relative;
    padding-left: 48%;
    min-height: 2.2em;
    font-size: 1em;
    background: none;
    box-shadow: none;
  }

  .table-einfache-preisliste td:before {
    position: absolute;
    top: 0;
    left: 0.7em;
    width: 45%;
    white-space: nowrap;
    font-weight: 600;
    color: var(--tva-table-head-fg, #222);
    content: attr(data-label);
    font-size: 0.98em;
    opacity: 0.95;
  }
}

/* TVA override: table-einfache-preisliste-2preise column alignment and weight */
.table-einfache-preisliste-2preise thead th:nth-child(2),
.table-einfache-preisliste-2preise thead th:nth-child(3) {
  text-align: center !important;
}

.table-einfache-preisliste-2preise tbody td:nth-child(2),
.table-einfache-preisliste-2preise tbody td:nth-child(3) {
  text-align: right !important;
  font-weight: 400 !important;
}

/* ===== Canonical copy: table-einfache-preisliste-2preise ===== */
[data-theme="dark"] .table-einfache-preisliste-2preise td {
  border-bottom: 1px solid #3a4652;
}

.table-einfache-preisliste-2preise th:last-child,
.table-einfache-preisliste-2preise td:last-child {
  white-space: nowrap;
}

[data-theme="dark"] .table-einfache-preisliste-2preise th {
  color: #fff;
}

[data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:nth-child(odd) {
  background: var(--tva-table-row1, #1b2733);
}

[data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:nth-child(even) {
  background: var(--tva-table-row2, #232f3a);
}

[data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:hover {
  background: var(--tva-table-row-hover, #263445);
}

[data-theme="dark"] .table-einfache-preisliste-2preise {
  color: #fff;
}

.table-einfache-preisliste-2preise {
  width: min(100%, 560px);
  border-collapse: collapse;
  margin-top: 8px;
}

.table-einfache-preisliste-2preise td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.table-einfache-preisliste-2preise td:first-child {
  padding-right: 18px;
}

.table-einfache-preisliste-2preise tr:last-child td {
  border-bottom: 0;
}

.table-einfache-preisliste-2preise td:last-child {
  min-width: 140px;
  width: 1%;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.table-einfache-preisliste-2preise {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.04em;
  background: var(--tva-table-bg, #fff);
  color: var(--tva-table-fg, #222);
  margin-bottom: 1.5em;
  border-radius: 0.5em;
  overflow: hidden;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
}

.table-einfache-preisliste-2preise th,
.table-einfache-preisliste-2preise td {
  padding: 0.65em 1.1em;
  text-align: left;
  border-bottom: 1px solid var(--tva-table-row-divider, #e0e0e0);
}

.table-einfache-preisliste-2preise thead th {
  background: var(--tva-table-head-bg, #f5f5f5);
  color: var(--tva-table-head-fg, #222);
  font-weight: 600;
  font-size: 1.07em;
  border-bottom: 2px solid var(--tva-table-row-divider, #e0e0e0);
}

.tabelle-beitraege th:nth-child(2),
.tabelle-beitraege td:nth-child(2) {
  min-width: 140px;
  width: 1%;
}

/* TVA: Abteilungsbeitrag-Tabellen – Kartenrahmen mit Kopfzeile und
   hervorgehobenem Monatsbeitrag ("Variante A") */
.tabelle-beitraege {
  width: min(100%, 560px);
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 8px;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 3px 0 0 var(--accent-solid);
  font-variant-numeric: tabular-nums;
}

.tabelle-beitraege th {
  text-align: left;
  background: var(--chip-bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.tabelle-beitraege th:nth-child(2),
.tabelle-beitraege th:nth-child(3) {
  text-align: right;
}

.tabelle-beitraege td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.tabelle-beitraege td:first-child {
  padding-right: 18px;
}
.tabelle-beitraege tr:last-child td {
  border-bottom: 0;
}
.tabelle-beitraege td:nth-child(2) {
  text-align: right;
  color: var(--accent-solid);
  font-weight: 700;
}
.tabelle-beitraege td:last-child {
  min-width: 140px;
  width: 1%;
  text-align: right;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

/* Dezente Hover-Hervorhebung für .tabelle-beitraege */
.tabelle-beitraege tbody tr:hover {
  background: var(--accent-soft);
  transition: background 0.15s;
}
  /* TVA: Bankverbindung Tabelle (basiert auf fees-table, max-content) */
  .table-bankverbindung {
    width: max-content;
    border-collapse: collapse;
    font-size: 1.04em;
    background: transparent;
    color: var(--tva-table-fg, #222);
    margin-bottom: 1.5em;
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: none;
  }

  .table-bankverbindung th,
  .table-bankverbindung td {
    padding: 0.32em 1.1em;
    text-align: left;
    border-bottom: 1px solid transparent;
    font-weight: normal;
    background: transparent;
  }

  .table-bankverbindung thead th {
    background: transparent;
    color: var(--tva-table-head-fg, #222);
    font-weight: normal;
    font-size: 1.07em;
    border-bottom: 2px solid transparent;
  }

  .table-bankverbindung tbody tr {
    background: transparent !important;
  }

  .table-bankverbindung tbody tr:hover {
    background: transparent !important;
  }

  .table-bankverbindung td {
    font-size: 1em;
  }

  @media (max-width: 700px) {
    .table-bankverbindung,
    .table-bankverbindung thead,
    .table-bankverbindung tbody,
    .table-bankverbindung th,
    .table-bankverbindung td,
    .table-bankverbindung tr {
      display: block;
      width: 100%;
    }

    .table-bankverbindung thead {
      display: none;
    }

    .table-bankverbindung tr {
      margin-bottom: 1.1em;
      border-radius: 0.4em;
      box-shadow: 0 1px 2px 0 rgba(0,0,0,0.03);
      background: var(--tva-table-row1, #fafbfc);
    }

    .table-bankverbindung td {
      border: none;
      position: relative;
      padding-left: 48%;
      min-height: 2.2em;
      font-size: 1em;
      background: none;
      box-shadow: none;
    }

    .table-bankverbindung td:before {
      position: absolute;
      top: 0;
      left: 0.7em;
      width: 45%;
      white-space: nowrap;
      font-weight: 600;
      color: var(--tva-table-head-fg, #222);
      content: attr(data-label);
      font-size: 0.98em;
      opacity: 0.95;
    }
  }

  [data-theme="dark"] .table-bankverbindung th {
    color: #fff;
  }

  [data-theme="dark"] .table-bankverbindung {
    color: #fff;
  }

  [data-theme="dark"] .table-bankverbindung tbody tr:nth-child(odd) {
    background: var(--tva-table-row1, #1b2733);
  }

  [data-theme="dark"] .table-bankverbindung tbody tr:nth-child(even) {
    background: var(--tva-table-row2, #232f3a);
  }

  [data-theme="dark"] .table-bankverbindung tbody tr:hover {
    background: var(--tva-table-row-hover, #263445);
  }

  .fees-table th:last-child,
  .fees-table td:last-child {
    white-space: nowrap;
    min-width: 140px;
  }

  .fees-table th {
    font-size: 1.11em;
  }

  .fees-table th:first-child {
    text-align: left;
  }

  [data-theme="dark"] .table-einfache-preisliste td,
  [data-theme="dark"] .table-einfache-preisliste-2preise td {
    border-bottom: 1px solid #3a4652;
  }

  .table-einfache-preisliste th:last-child,
  .table-einfache-preisliste td:last-child,
  .table-einfache-preisliste-2preise th:last-child,
  .table-einfache-preisliste-2preise td:last-child {
    white-space: nowrap;
  }

  [data-theme="dark"] .table-einfache-preisliste th,
  [data-theme="dark"] .table-einfache-preisliste-2preise th {
    color: #fff;
  }

  [data-theme="dark"] .table-einfache-preisliste tbody tr:nth-child(odd),
  [data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:nth-child(odd) {
    background: var(--tva-table-row1, #1b2733);
  }

  [data-theme="dark"] .table-einfache-preisliste tbody tr:nth-child(even),
  [data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:nth-child(even) {
    background: var(--tva-table-row2, #232f3a);
  }

  [data-theme="dark"] .table-einfache-preisliste tbody tr:hover,
  [data-theme="dark"] .table-einfache-preisliste-2preise tbody tr:hover {
    background: var(--tva-table-row-hover, #263445);
  }

  /* TVA: Einfache Preisliste Tabellen Dark Mode */
  [data-theme="dark"] .table-einfache-preisliste,
  [data-theme="dark"] .table-einfache-preisliste-2preise {
    color: #fff;
  }

  /* TVA: Einfache Preislisten */
  .table-einfache-preisliste,
  .table-einfache-preisliste-2preise {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.04em;
    background: var(--tva-table-bg, #fff);
    color: var(--tva-table-fg, #222);
    margin-top: 8px;
    margin-bottom: 1.5em;
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
  }

  .table-einfache-preisliste th,
  .table-einfache-preisliste td,
  .table-einfache-preisliste-2preise th,
  .table-einfache-preisliste-2preise td {
    padding: 0.65em 1.1em;
    text-align: left;
    border-bottom: 1px solid var(--tva-table-row-divider, #e0e0e0);
  }

  .table-einfache-preisliste thead th,
  .table-einfache-preisliste-2preise thead th {
    background: var(--tva-table-head-bg, #f5f5f5);
    color: var(--tva-table-head-fg, #222);
    font-weight: 600;
    font-size: 1.07em;
    border-bottom: 2px solid var(--tva-table-row-divider, #e0e0e0);
  }

  .table-einfache-preisliste tbody tr:nth-child(odd),
  .table-einfache-preisliste-2preise tbody tr:nth-child(odd) {
    background: var(--tva-table-row1, #fafbfc);
  }

  .table-einfache-preisliste tbody tr:nth-child(even),
  .table-einfache-preisliste-2preise tbody tr:nth-child(even) {
    background: var(--tva-table-row2, #f5f5f5);
  }

  .table-einfache-preisliste tbody tr:hover,
  .table-einfache-preisliste-2preise tbody tr:hover {
    background: var(--tva-table-row-hover, #eaf3fb);
  }

  .table-einfache-preisliste td,
  .table-einfache-preisliste-2preise td {
    font-size: 1em;
  }

  @media (max-width: 700px) {
    .table-einfache-preisliste,
    .table-einfache-preisliste thead,
    .table-einfache-preisliste tbody,
    .table-einfache-preisliste th,
    .table-einfache-preisliste td,
    .table-einfache-preisliste tr,
    .table-einfache-preisliste-2preise,
    .table-einfache-preisliste-2preise thead,
    .table-einfache-preisliste-2preise tbody,
    .table-einfache-preisliste-2preise th,
    .table-einfache-preisliste-2preise td,
    .table-einfache-preisliste-2preise tr {
      display: block;
      width: 100%;
    }

    .table-einfache-preisliste thead,
    .table-einfache-preisliste-2preise thead {
      display: none;
    }

    .table-einfache-preisliste tr,
    .table-einfache-preisliste-2preise tr {
      margin-bottom: 1.1em;
      border-radius: 0.4em;
      box-shadow: 0 1px 2px 0 rgba(0,0,0,0.03);
      background: var(--tva-table-row1, #fafbfc);
    }

    .table-einfache-preisliste td,
    .table-einfache-preisliste-2preise td {
      border: none;
      position: relative;
      padding-left: 48%;
      min-height: 2.2em;
      font-size: 1em;
      background: none;
      box-shadow: none;
    }

    .table-einfache-preisliste td:before,
    .table-einfache-preisliste-2preise td:before {
      position: absolute;
      top: 0;
      left: 0.7em;
      width: 45%;
      white-space: nowrap;
      font-weight: 600;
      color: var(--tva-table-head-fg, #222);
      content: attr(data-label);
      font-size: 0.98em;
      opacity: 0.95;
    }
  }

/* Verbesserter Stil für .tva-zebra-table und .tabelle-kurs-beschreibung */
.tva-zebra-table,
.tabelle-kurs-beschreibung {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.6em;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(53,83,108,0.07);
  margin: 18px 0 24px 0;
  font-size: 1.06em;
  background: transparent;
  transition: box-shadow 0.18s;
}
.tva-zebra-table th, .tva-zebra-table td,
.tabelle-kurs-beschreibung th, .tabelle-kurs-beschreibung td {
  padding: 0.85em 1.2em;
  text-align: left;
  border-bottom: 1.5px solid var(--tva-table-row-border);
}
.tva-zebra-table th,
.tabelle-kurs-beschreibung th {
  background: var(--tva-table-head-bg);
  color: var(--tva-table-head-text);
  font-weight: 700;
  font-size: 1.09em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-bottom: 2.5px solid var(--tva-table-row-border);
}
.tva-zebra-table tbody tr:nth-child(even),
.tabelle-kurs-beschreibung tbody tr:nth-child(even) {
  background: var(--tva-table-row2);
}
.tva-zebra-table tbody tr:nth-child(odd),
.tabelle-kurs-beschreibung tbody tr:nth-child(odd) {
  background: var(--tva-table-row1);
}
.tva-zebra-table tbody tr:hover,
.tabelle-kurs-beschreibung tbody tr:hover {
  background: var(--tva-table-row-hover, #eaf3fb);
  transition: background 0.15s;
}
.tva-zebra-table tr:last-child td,
.tabelle-kurs-beschreibung tr:last-child td {
  border-bottom: none;
}
.tva-zebra-table td,
.tabelle-kurs-beschreibung td {
  font-size: 1em;
}
@media (max-width: 700px) {
  .tva-zebra-table,
  .tva-zebra-table thead,
  .tva-zebra-table tbody,
  .tva-zebra-table th,
  .tva-zebra-table td,
  .tva-zebra-table tr,
  .tabelle-kurs-beschreibung,
  .tabelle-kurs-beschreibung thead,
  .tabelle-kurs-beschreibung tbody,
  .tabelle-kurs-beschreibung th,
  .tabelle-kurs-beschreibung td,
  .tabelle-kurs-beschreibung tr {
    display: block;
    width: 100%;
  }
  .tva-zebra-table thead,
  .tabelle-kurs-beschreibung thead {
    display: none;
  }
  .tva-zebra-table tr,
  .tabelle-kurs-beschreibung tr {
    margin-bottom: 1.1em;
    border-radius: 0.4em;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.03);
    background: var(--tva-table-row1);
  }
  .tva-zebra-table td,
  .tabelle-kurs-beschreibung td {
    border: none;
    position: relative;
    padding-left: 48%;
    min-height: 2.2em;
    font-size: 1em;
    background: none;
    box-shadow: none;
  }
  .tva-zebra-table td:before,
  .tabelle-kurs-beschreibung td:before {
    position: absolute;
    top: 0;
    left: 0.7em;
    width: 45%;
    white-space: nowrap;
    font-weight: 600;
    color: var(--tva-table-head-text);
    content: attr(data-label);
    font-size: 0.98em;
    opacity: 0.95;
  }
}

.fees-table {
  width: min(100%, 560px);
  border-collapse: collapse;
  margin-top: 8px;
}

.fees-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.fees-table td:first-child {
  padding-right: 18px;
}

.fees-table tr:last-child td {
  border-bottom: 0;
}

 .fees-table td:last-child {
  min-width: 140px;
  width: 1%;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
