/* =============================================
   TTC SportForum Bernau – Custom CSS
   Template: T4 BS5 Blank
   Letzte Überarbeitung: März 2026
   ============================================= */

/* ── CSS-Variablen ── */
:root {
  --ttc-blue:     #428aca;
  --ttc-navy:     #000066;
  --ttc-teal:     #47706f;
  --ttc-mint:     #f0fff8;
  --ttc-mint-acc: #bdffef;
  --ttc-light-mint: #f8fffc;
}

/* ══════════════════════════════════════════
   GLOBAL
══════════════════════════════════════════ */

body {
  background-color: var(--ttc-mint);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ttc-navy);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

a { color: var(--ttc-blue); }
a:hover { color: var(--ttc-navy); }

/* ══════════════════════════════════════════
   HEADER – Logo-Zeile
══════════════════════════════════════════ */

header.header-ttc {
  background: var(--ttc-mint) !important;
  padding: 14px 0 !important;
  box-shadow: none !important;
}

/* Logo */
.navbar-brand img,
.logo-img {
  max-height: 70px !important;
  width: auto !important;
  border-radius: 50%;
}

/* Site-Name per CSS da T4 ihn unterdrückt */
.navbar-brand.logo-image::after {
  content: "TTC SportForum Bernau e.V.";
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  color: var(--ttc-navy);
  margin-left: 14px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Header: Mobile ── */
@media (max-width: 767px) {
  .navbar-brand.logo-image::after {
    font-size: 20px;
    margin-left: 8px;
  }

  .navbar-brand img,
  .logo-img {
    max-height: 44px !important;
  }

  /* Platz für Hamburger-Button rechts */
  .t4-header .navbar {
    flex-wrap: nowrap;
    padding-right: 56px !important;
  }
}

/* ══════════════════════════════════════════
   NAVBAR – Mintgrüne Leiste mit Menü
══════════════════════════════════════════ */

nav.t4-navbar-row {
  background: var(--ttc-mint-acc) !important;
  border-top: 0px solid var(--ttc-blue) !important;
  border-bottom: 1px solid var(--ttc-blue) !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Bootstrap navbar padding zurücksetzen */
nav.t4-navbar-row .navbar.navbar-expand-lg {
  padding: 0 !important;
}

nav.t4-navbar-row .t4-megamenu,
nav.t4-navbar-row ul.nav.navbar-nav.level0 {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Nav-Links */

/* navbar-nav: stretch damit alle Items gleich hoch sind */
nav.t4-navbar-row .navbar-nav {
  align-items: stretch !important;
}

/* nav-item: flex + center — zentriert den Link innerhalb des Items */
nav.t4-navbar-row .navbar-nav > .nav-item {
  display: flex !important;
  align-items: center !important;
}

nav.t4-navbar-row .navbar-nav .nav-link {
  color: var(--ttc-navy) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 11px 14px !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
  gap: 4px;
  height: 100%;
}

/* Bootstrap ::after-Caret weg (T4 nutzt <i class="item-caret">) */
nav.t4-navbar-row .navbar-nav .nav-link::after {
  display: none !important;
}

/* T4 item-caret: Font-Icon killen, reines CSS-Dreieck */
nav.t4-navbar-row .navbar-nav .nav-link .item-caret {
  font-size: 0 !important;
  line-height: 0 !important;
  font-family: sans-serif !important;
  flex-shrink: 0;
}
nav.t4-navbar-row .navbar-nav .nav-link .item-caret::before {
  content: "" !important;
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.5;
  vertical-align: middle;
}

nav.t4-navbar-row .navbar-nav .nav-link:hover,
nav.t4-navbar-row .navbar-nav .nav-item:hover > .nav-link {
  color: var(--ttc-blue) !important;
  background: rgba(0, 0, 102, .06) !important;
}

/* Rehasport-Pill in der Navbar */
nav.t4-navbar-row .nav-item[data-id="654"] > .nav-link {
  background: var(--ttc-teal) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  margin-left: 6px;
}

nav.t4-navbar-row .nav-item[data-id="654"] > .nav-link:hover {
  background: #2d5250 !important;
  color: #ffffff !important;
}
/* Rehasport-Pill */
nav.t4-navbar-row .nav-item.reha-nav > .nav-link {
  background: var(--ttc-teal) !important;
  color: white !important;
  border-radius: 4px 4px 0 0 !important;
  border: none !important;
  margin-left: 8px;
}

nav.t4-navbar-row .nav-item.reha-nav > .nav-link:hover,
nav.t4-navbar-row .nav-item.reha-nav:hover > .nav-link {
  background: #3a5f5e !important;
  color: white !important;
}

/* Dropdowns */
nav.t4-navbar-row .dropdown-menu {
  border-top: 3px solid var(--ttc-blue) !important;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 50, .1);
}

nav.t4-navbar-row .dropdown-item {
  font-size: 13.5px;
  color: #444;
}

nav.t4-navbar-row .dropdown-item:hover,
nav.t4-navbar-row .dropdown-item:focus {
  background: var(--ttc-mint) !important;
  color: var(--ttc-blue) !important;
}

nav.t4-navbar-row .nav-item.reha-nav .dropdown-menu {
  border-top-color: var(--ttc-teal) !important;
}

/* Aktiver Hauptmenüpunkt Desktop */
nav.t4-navbar-row .navbar-nav > .nav-item.current > .nav-link,
nav.t4-navbar-row .navbar-nav > .nav-item.active > .nav-link {
  background-color: #ffffff !important;
  color: var(--ttc-navy) !important;
  border-radius: 4px !important;
}

/* ══════════════════════════════════════════
   HAUPTINHALT – Zweispalten-Layout
══════════════════════════════════════════ */

#t4-main-body {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Content-Spalte: weiße Card */
#t4-main-body .t4-col.col-md {
  background: white;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 18px rgba(66, 138, 202, .09);
}

/* Sidebar: transparenter Hintergrund, Widgets haben eigene Boxen */
#t4-main-body .t4-col.sidebar-r {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Abstand zwischen Content und Sidebar */
#t4-main-body .t4-row {
  gap: 24px;
}

/* ══════════════════════════════════════════
   KATEGORIE-BLOG – Artikel-Darstellung
══════════════════════════════════════════ */

/* Intro-Bild: Größe begrenzen (Joomla setzt width/height als HTML-Attribut) */
figure.item-image img {
  max-width: 280px;
  height: auto;
}

/* Mobile: Float aufheben, Bild 50% */
@media (max-width: 575px) {
  figure.item-image {
    float: none !important;
    margin: 0 auto 1rem auto;
  }
  figure.item-image img {
    max-width: 50%;            /* ← hier anpassen */
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* Abstand zwischen Blog-Artikeln */
.blog .items-row {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--ttc-mint-acc);
}

.blog .items-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════
   SIDEBAR – Widget-Boxen
══════════════════════════════════════════ */

.t4-module.module {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(66, 138, 202, .09);
  margin-bottom: 22px;
}

.t4-module.module h3.module-title {
  color: var(--ttc-navy);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ttc-mint-acc);
}

/* Termine-Widget: blauer Eyecatcher */
#Mod154 {
  background: linear-gradient(135deg, var(--ttc-blue) 0%, var(--ttc-teal) 100%) !important;
}

#Mod154 h3.module-title {
  color: white !important;
  border-bottom-color: rgba(255,255,255,.25) !important;
}

#Mod154 .ttc-no-results {
  color: rgba(255,255,255,.8) !important;
}

#Mod154 .ttc-termin-datum {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  flex-shrink: 0;
}

#Mod154 .ttc-termin-team,
#Mod154 .ttc-termin-titel {
  color: white;
  font-size: 13px;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#Mod154 .ttc-termin-gegner {
  color: white !important;
  font-size: 12px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

#Mod154 .ttc-termin-gegner:hover {
  text-decoration: underline;
}

#Mod154 .ttc-termin-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

#Mod154 .ttc-termin-item:last-of-type .ttc-termin-row {
  border-bottom: none;
}

#Mod154 .ttc-termin-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

#Mod154 .ttc-badge-vs {
  background: rgba(255,255,255,.25);
  color: white;
}

#Mod154 .ttc-badge-intern {
  color: rgba(255,255,255,.6);
  font-size: 8px;
}

#Mod154 .ttc-mehr-btn {
  border-color: rgba(255,255,255,.3);
  color: white;
}

#Mod154 .ttc-mehr-btn:hover {
  background: rgba(255,255,255,.1);
}

#Mod154 .ttc-more-link {
  color: rgba(255,255,255,.85) !important;
}

#Mod154 .ttc-more-link:hover {
  color: white !important;
}

/* ══════════════════════════════════════════
   JEVENTS LATEST EVENTS MODUL
══════════════════════════════════════════ */

table.mod_events_latest_table {
  width: 100%;
  border: none !important;
  border-collapse: collapse;
}

table.mod_events_latest_table td {
  border: none !important;
  padding: 8px 0 !important;
  vertical-align: top;
}

table.mod_events_latest_table tr {
  border-bottom: 1px solid rgba(255, 255, 255, .15) !important;
}

table.mod_events_latest_table tr:last-child {
  border-bottom: none !important;
}

.icon-calendar, .icon-time, .icon-hand-right { display: none !important; }

.mod_events_latest_date {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

span.icon-time ~ .mod_events_latest_date { display: none !important; }

.mod_events_latest_content a {
  color: white !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}

.mod_events_latest_content a:hover { text-decoration: underline; }

/* ================================================
   TTC Bernau – JEvents Listenansicht
   ================================================ */

table.eventlist {
  border: none !important;
  margin: 0 !important;
  width: 100% !important;
}
table.eventlist thead {
  display: none;
}

table.eventlist tr,
table.eventlist tr:nth-child(odd),
table.eventlist tr:nth-child(even) {
  background: none !important;
  display: grid;
  grid-template-columns: 15rem 1fr;
  border-bottom: 1px solid #bdffef !important;
  border-top-width:0px !important;
}
table.eventlist tr:last-child {
  border-bottom: none !important;
  border-top-width:0px !important;
}

table.eventlist td.eventlist_col {
  border: none !important;
  padding: 0.75rem 0.5rem !important;
  background: none !important;
  font-size: 0.9rem !important;
  align-self: center;
}

/* Datum – lila wie alte Tabelle */
table.eventlist td[data-label="Datum"] {
  color: #993399 !important;
  text-align: right;
  padding-right: 1.5rem !important;
  white-space: nowrap;
}

/* Veranstaltung – blau wie alte Tabelle */
table.eventlist td[data-label="Event"],
table.eventlist td[data-label="Event"] a.ev_link_row {
  color: #428aca !important;
  text-decoration: none;
  font-size: 0.9rem !important;
}
table.eventlist td[data-label="Event"] a.ev_link_row:hover {
  color: #000066 !important;
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 575.98px) {
  table.eventlist tr,
  table.eventlist tr:nth-child(odd),
  table.eventlist tr:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 0.5rem 0;
  }
  table.eventlist td[data-label="Datum"] {
    text-align: left;
    padding-right: 0.5rem !important;
    padding-bottom: 0.1rem !important;
  }
  table.eventlist td[data-label="Event"] {
    padding-top: 0 !important;
  }
}
/* ══════════════════════════════════════════
   NULIGA ERGEBNISSE WIDGET
══════════════════════════════════════════ */

.ttc-nuliga-widget { margin: 0; }

.ttc-result-item {
  padding: 7px 0;
  border-bottom: 1px solid #e8f8f0;
}

.ttc-result-item:last-of-type { border-bottom: none; }

.ttc-result-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  flex-wrap: nowrap;
}

.ttc-result-team {
  font-size: 11px;
  font-weight: 700;
  color: var(--ttc-blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  min-width: 60px;
}

.ttc-ha-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ttc-ha-h { background: var(--ttc-navy); color: white; }
.ttc-ha-a { background: #e8f0ff; color: var(--ttc-navy); }

.ttc-result-gegner {
  flex: 1;
  color: #444;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.ttc-result-score,
a.ttc-result-score {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

a.ttc-result-score.ttc-w, .ttc-result-score.ttc-w { color: #2a7a2a !important; }
a.ttc-result-score.ttc-l, .ttc-result-score.ttc-l { color: #cc0000 !important; }
a.ttc-result-score.ttc-u, .ttc-result-score.ttc-u { color: #888 !important; }
a.ttc-result-score:hover { text-decoration: underline; }

.ttc-result-date { font-size: 11px; color: #aaa; margin-top: 2px; }
.ttc-no-results { font-size: 13px; color: #999; }

.ttc-more-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ttc-blue);
  text-decoration: none;
}

.ttc-more-link:hover { text-decoration: underline; }

.ttc-hidden { display: none !important; }

.ttc-mehr-btn {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  padding: 6px 0;
  background: none;
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 6px;
  color: var(--ttc-blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
}

.ttc-mehr-btn:hover { background: var(--ttc-mint); }

/* ══════════════════════════════════════════
   KONTAKT & ANFAHRT WIDGET
══════════════════════════════════════════ */
.ttc-ka-wrap {
  font-family: inherit;
}
.ttc-ka-btn {
  display: block;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  margin-bottom: 8px;
}
.ttc-ka-btn:hover {
  text-decoration: none;
  opacity: 0.9;
}
.ttc-ka-tennis {
  background: #000066;
  color: #ffffff;
}
.ttc-ka-reha {
  background: #47706f;
  color: #ffffff;
}
.ttc-ka-anfahrt {
  border-top: 1px solid #bdffdf;
  margin-top: 14px;
  padding-top: 12px;
}
.ttc-ka-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #47706f;
  margin-bottom: 5px;
}
.ttc-ka-addr {
  font-size: 12px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 5px;
}
.ttc-ka-maps {
  font-size: 13px;
  font-weight: 500;
  color: #428aca;
  text-decoration: none;
}
.ttc-ka-maps:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */

.t4-footer, footer {
  background-color: var(--ttc-teal) !important;
  color: var(--ttc-mint);
}

.t4-footer a, footer a { color: #c8e8ff; }
.t4-footer a:hover, footer a:hover { color: var(--ttc-mint-acc); }
.t4-footer h4, footer h4 { color: var(--ttc-mint-acc); }
/* ── FOOTER – Spalten-Module ── */
.t4-footnav .t4-module.module {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 16px 0 0 !important;
  margin-bottom: 0 !important;
}

/* Footnav Section – Padding reduzieren */
#t4-footnav .t4-section-inner.container {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

/* Footnav responsive – Desktop 4 Spalten, mobile nicht */
#t4-footnav .t4-row > .t4-col {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

@media (min-width: 576px) {
  #t4-footnav .t4-row > .t4-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (min-width: 992px) {
  #t4-footnav .t4-row > .t4-col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

@media (max-width: 991px) {
  #t4-footnav .t4-row > .t4-col {
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.2);
  }

  #t4-footnav .t4-row > .t4-col:first-child {
    padding-top: 0;
    border-top: none;
  }
}

.t4-footnav .t4-module.module h3.module-title {
  color: var(--ttc-mint-acc) !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.ttc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttc-footer-links li {
  margin-bottom: 6px;
}

.ttc-footer-links a {
  color: var(--ttc-mint) !important;
  font-size: 13px;
  text-decoration: none;
}

.ttc-footer-links a:hover {
  color: var(--ttc-mint-acc) !important;
  text-decoration: underline;
}

/* Spalte 1: Info-Text */
.t4-footnav .t4-module.module p {
  color: var(--ttc-mint);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* Copyright-Zeile */
.ttc-footer-copy {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  text-align: center;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.t4-footer, footer {
  background-color: var(--ttc-teal) !important;
  color: var(--ttc-mint);
}

.t4-footnav {
  background-color: var(--ttc-teal) !important;
}

/* ══════════════════════════════════════════
   HAMBURGER / OFFCANVAS
══════════════════════════════════════════ */

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2347706f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Template.css Override: Nav-Padding zurücksetzen ── */
#t4-megamenu-ttc {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

#t4-megamenu-ttc.t4-megamenu > ul.navbar-nav,
#t4-megamenu-ttc > ul.nav.navbar-nav.level0 {
  padding: 0 !important;
  margin: 0 !important;
}

/* template.css setzt padding: 20px 1rem auf Nav-Links – überschreiben */
nav.t4-navbar-row .t4-megamenu .nav-link {
  padding: 11px 14px !important;
  height: auto !important;
  line-height: normal !important;
}

/* ══════════════════════════════════════════
   REHASPORT – Header-Overrides
   item-654  = /rehasport (Top-Menü)
   item-1099 = /verein/rehasport (Untermenü)
══════════════════════════════════════════ */

body.item-654 header.header-ttc,
body.item-1099 header.header-ttc {
  background: #47706f !important;
}

body.item-654 .navbar-brand.logo-image::after,
body.item-1099 .navbar-brand.logo-image::after {
  color: #ffffff !important;
}

body.item-654 .t4-header-r .fa-bars,
body.item-1099 .t4-header-r .fa-bars {
  color: #ffffff !important;
}


/* ================================================
   Responsives Artikel-Layout
   ================================================ */

/* --- Artikel-Karte --- */
.com-content-article,
.item-page {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 102, 0.08);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

/* --- Mobil: weniger Padding, volle Breite --- */
@media (max-width: 767.98px) {
  .com-content-article,
  .item-page {
    padding: 1.25rem 1rem;
    border-radius: 0.5rem;
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Überschriften responsiv --- */
.com-content-article h1,
.item-page h1 {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  color: var(--ttc-navy, #000066);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.com-content-article h2,
.item-page h2 {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  color: var(--ttc-blue, #428aca);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.com-content-article h3,
.item-page h3 {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--ttc-navy, #000066);
}

/* --- Tabellen: kein horizontales Abschneiden --- */
.com-content-article table,
.item-page table {
  width: 100%;
  border-collapse: collapse;
}

.com-content-article .table-responsive-wrapper,
.item-page table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Links im Artikel --- */
.com-content-article a,
.item-page a {
  color: var(--ttc-blue, #428aca);
  text-decoration: none;
}

.com-content-article a:hover,
.item-page a:hover {
  text-decoration: underline;
}

/* TTC Terminkalender – CSS Grid */
.ttc-kalender {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 700px;
}

.ttc-eintrag {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e8f5f0;
  align-items: start;
}

.ttc-datum {
  color: #993399;
  text-align: right;
  font-size: 0.9rem;
  padding-right: 0.5rem;
  white-space: nowrap;
  line-height: 1.5;
}

.ttc-event {
  line-height: 1.5;
}

.ttc-event a {
  color: #428aca;
  text-decoration: none;
}
.ttc-event a:hover {
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 575.98px) {
  .ttc-eintrag {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem 0;
  }
  .ttc-datum {
    text-align: left;
    font-size: 0.8rem;
    padding-right: 0;
    color: #993399;
  }
}

/* ============================================
   Rehasport-Seite  
   ============================================ */

.reha-wrap *{box-sizing:border-box;margin:0;padding:0}
.reha-wrap{font-family:system-ui,-apple-system,sans-serif;max-width:100%;padding-bottom:1.5rem}

/* Hero */
.reha-hero{background:#47706f;border-radius:10px;padding:1.75rem 2rem 1.5rem;margin-bottom:1.5rem}
.reha-hero-badge{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:20px;font-size:11px;padding:3px 12px;margin-bottom:10px;color:#d4fff0;letter-spacing:.4px}
.reha-hero h2{font-size:1.6rem;font-weight:600;color:#fff;margin-bottom:.5rem}
.reha-hero p{font-size:1rem;color:rgba(255,255,255,.88);line-height:1.6;margin-bottom:1.1rem}
.reha-btn-leitfaden{display:inline-flex;align-items:center;gap:7px;background:#fff;color:#47706f;border-radius:6px;padding:9px 18px;font-size:.95rem;font-weight:600;text-decoration:none}
.reha-btn-leitfaden:hover{background:#e8fff6;color:#47706f;text-decoration:none}

/* Abschnitts-Label */
.reha-section-label{font-size:.75rem;font-weight:600;color:#47706f;letter-spacing:.8px;text-transform:uppercase;margin-bottom:.4rem}
.reha-section-title{font-size:1.15rem;font-weight:600;color:#000066;margin-bottom:.9rem}

/* Standortkarten */
.reha-loc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:1.5rem}
.reha-loc-card{background:#fff;border:1px solid #d8ede8;border-radius:10px;overflow:hidden}
.reha-loc-head{background:#47706f;padding:13px 15px 11px}
.reha-loc-name{font-size:1rem;font-weight:600;color:#fff;display:block}
.reha-loc-sub{font-size:.82rem;color:rgba(255,255,255,.72);display:block;margin-top:2px}
.reha-loc-body{padding:13px 15px}
.reha-ext-link{display:flex;align-items:center;gap:5px;font-size:.85rem;color:#428aca;text-decoration:none;margin-bottom:10px;word-break:break-all}
.reha-ext-link:hover{text-decoration:underline;color:#428aca}
.reha-btn-kursplan{display:flex;align-items:center;gap:6px;background:#f0fff8;border:1px solid #bdffef;border-radius:6px;padding:7px 12px;font-size:.8rem;color:#47706f;font-weight:600;text-decoration:none}
.reha-btn-kursplan:hover{background:#dffff4;color:#47706f;text-decoration:none}

/* Zwei Spalten */
.reha-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:1.5rem}
.reha-card{background:#fff;border:1px solid #d8ede8;border-radius:10px;padding:1.1rem 1.25rem}
.reha-card-title{font-size:1rem;font-weight:600;color:#000066;margin-bottom:.75rem;display:flex;align-items:center;gap:7px}
.reha-dot{width:8px;height:8px;background:#47706f;border-radius:50%;flex-shrink:0}

/* Formularliste */
.reha-form-list{list-style:none;padding:0}
.reha-form-list li{border-bottom:1px solid #e8f5f1}
.reha-form-list li:last-child{border-bottom:none}
.reha-form-list a{display:flex;align-items:center;gap:8px;padding:10px 0;font-size:.93rem;color:#222;text-decoration:none}
.reha-form-list a:hover{color:#47706f;text-decoration:none}
.reha-form-tag{font-size:.68rem;background:#f0fff8;border:1px solid #bdffef;color:#47706f;border-radius:3px;padding:1px 6px;margin-left:auto;flex-shrink:0;font-weight:600}

/* Rechte Spalte */
.reha-right-col{display:flex;flex-direction:column;gap:12px}
.reha-beitr-card{background:#f5fdf9;border:1px solid #d8ede8;border-radius:10px;padding:1rem 1.25rem}
.reha-beitr-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.reha-beitr-label{font-size:.68rem;font-weight:600;color:#47706f;text-transform:uppercase;letter-spacing:.6px;margin-bottom:3px}
.reha-beitr-sub{font-size:.78rem;color:#555}
.reha-btn-pdf{display:inline-flex;align-items:center;gap:5px;border:1px solid #c5dfd9;border-radius:6px;padding:6px 12px;font-size:.78rem;color:#47706f;font-weight:600;text-decoration:none;white-space:nowrap;flex-shrink:0}
.reha-btn-pdf:hover{background:#e8fff6;color:#47706f;text-decoration:none}

/* Kontaktkarte */
.reha-contact-card{background:#47706f;border-radius:10px;padding:1.1rem 1.25rem}
.reha-contact-label{font-size:.78rem;color:rgba(255,255,255,.75);margin-bottom:3px}
.reha-contact-name{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:.9rem}
.reha-wa-btn{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:9px 14px;font-size:.9rem;color:#fff;text-decoration:none;font-weight:500}
.reha-wa-btn:hover{background:rgba(255,255,255,.28);color:#fff;text-decoration:none}
.reha-wa-number{display:block;font-size:.85rem;margin-top:8px}
.reha-wa-number a{color:rgba(255,255,255,.85) !important;text-decoration:none !important}
.reha-wa-number a:hover{color:#fff !important;text-decoration:underline !important}
.reha-wa-btn,
.reha-wa-btn:link,
.reha-wa-btn:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* Responsive */
@media(max-width:680px){
  .reha-loc-grid{grid-template-columns:1fr}
  .reha-two-col{grid-template-columns:1fr}
  .reha-beitr-row{flex-direction:column;align-items:flex-start}
}
@media(max-width:900px) and (min-width:681px){
  .reha-loc-grid{grid-template-columns:1fr 1fr}
}


/* ══════════════════════════════════════════
   OFFCANVAS / DRILLDOWN-MENÜ (mobil)
   T4 eigenes Offcanvas: .t4-offcanvas
══════════════════════════════════════════ */

/* --- Panel-Breite --- */
.t4-offcanvas.c-offcanvas {
  width: 85vw !important;
  max-width: 340px !important;
}

/* --- Header: Gradient blau → petrol --- */
.t4-off-canvas-header {
  background: linear-gradient(135deg, var(--ttc-blue) 0%, var(--ttc-teal) 100%) !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Logo im Header weiß umranden für Sichtbarkeit */
.t4-off-canvas-header .logo-img {
  max-height: 44px !important;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  padding: 3px;
}

/* Close-Button × weiß */
.t4-off-canvas-header .close.js-offcanvas-close {
  color: #ffffff !important;
  opacity: 0.9 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  background: none !important;
  border: none !important;
  text-shadow: none !important;
}

.t4-off-canvas-header .close.js-offcanvas-close:hover {
  opacity: 1 !important;
}

/* --- Nav-Links allgemein --- */
.t4-off-canvas-body nav.navbar.drilldown-effect .nav-link,
.t4-off-canvas-body nav.navbar.drilldown-effect .dropdown-item {
  font-size: 17px !important;
  padding: 13px 20px !important;
  color: #333333 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  border-radius: 0 !important;
  background: none !important;
}

.t4-off-canvas-body nav.navbar.drilldown-effect .nav-link:hover,
.t4-off-canvas-body nav.navbar.drilldown-effect .dropdown-item:hover {
  background: var(--ttc-mint) !important;
  color: var(--ttc-blue) !important;
}

/* --- Submenu-Toggle (Chevron-Kreis rechts) --- */
.t4-off-canvas-body .sub-menu-toggle.btn-toggle {
  background: #f0f0f0 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #888888 !important;
  border: none !important;
  flex-shrink: 0;
}

/* --- Submenu-Back ("< Verein") --- */
.t4-off-canvas-body .sub-menu-back {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  background: #f5f5f5 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #555555 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  cursor: pointer;
}

/* --- Aktiver / aktueller Menüpunkt --- */
.t4-off-canvas-body nav.navbar.drilldown-effect .nav-item.current > .nav-link,
.t4-off-canvas-body nav.navbar.drilldown-effect .nav-item.active > .nav-link,
.t4-off-canvas-body nav.navbar.drilldown-effect .nav-item.current.active > .nav-link {
  color: var(--ttc-blue) !important;
  background-color: var(--ttc-mint) !important;
  font-weight: 600 !important;
}

/* --- Rehasport: petrol hervorgehoben --- */
.t4-off-canvas-body nav.navbar.drilldown-effect .nav-item.item-654 > .nav-link {
  background-color: var(--ttc-teal) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.t4-off-canvas-body nav.navbar.drilldown-effect .nav-item.item-654 > .nav-link:hover {
  background-color: #3a5e5d !important;
  color: #ffffff !important;
}

/* --- Modul-Titel: Template-Span-Linie entfernen --- */
.t4-module.module h3.module-title span {
  border-bottom: none !important;
  padding-bottom: 0;
  margin-bottom: 0;
}


/* ══════════════════════════════════════════
   TTC SEITENKOMPONENTEN – Unified System
   Präfix: .ttc-p-
   Genutzt auf: Verein, Tennis, und künftige Inhaltsseiten
   Tennisschule (.ts-*) und Rehasport (.reha-*) sind separat.
══════════════════════════════════════════ */

/* ── Intro-Box ── */
.ttc-p-intro {
  background: var(--ttc-mint);
  border: 1.5px solid var(--ttc-mint-acc);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 22px;
}
.ttc-p-intro-text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

/* ── Stats-Leiste ── */
.ttc-p-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ttc-p-stat {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 12px 8px;
  border: 1px solid var(--ttc-mint-acc);
}
.ttc-p-stat-n {
  font-size: 22px;
  font-weight: 700;
  color: var(--ttc-navy);
  line-height: 1.2;
}
.ttc-p-stat-l {
  font-size: 11px;
  color: var(--ttc-teal);
  margin-top: 3px;
}

/* ── Navigations-Kacheln ── */
.ttc-p-kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ttc-p-kachel {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s;
}
.ttc-p-kachel:hover { opacity: .88; text-decoration: none; }
.ttc-p-kachel--blue  { background: var(--ttc-blue); }
.ttc-p-kachel--navy  { background: var(--ttc-navy); }
.ttc-p-kachel--teal  { background: var(--ttc-teal); }
.ttc-p-kachel-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.ttc-p-kachel-sub {
  font-size: 11px;
  color: rgba(255,255,255,.8);
  line-height: 1.3;
}

/* ── Section (farbiger Header + weißer Body) ── */
.ttc-p-section {
  margin-bottom: 22px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0ede8;
}
.ttc-p-head {
  padding: 11px 20px;
}
.ttc-p-head--blue  { background: var(--ttc-blue); }
.ttc-p-head--teal  { background: var(--ttc-teal); }
.ttc-p-head--navy  { background: var(--ttc-navy); }
.ttc-p-head--light { background: #f5f5f5; border-bottom: 1px solid #e0e0e0; }
.ttc-p-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  margin: 0;
}
.ttc-p-title--dark { color: #333 !important; }
.ttc-p-body {
  padding: 18px 20px;
  background: #fff;
}
.ttc-p-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

/* ── Grids ── */
.ttc-p-two-col   { display: grid; grid-template-columns: 1fr 1fr;      gap: 14px; margin-bottom: 14px; }
.ttc-p-three-col { display: grid; grid-template-columns: 1fr 1fr 1fr;  gap: 12px; margin-bottom: 14px; }

/* ── Content-Card ── */
.ttc-p-card {
  background: var(--ttc-light-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 8px;
  padding: 14px 16px;
}
.ttc-p-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ttc-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.ttc-p-card p { font-size: 13px; margin-bottom: 8px; }
.ttc-p-list { padding-left: 18px; margin: 0; }
.ttc-p-list li { font-size: 13px; color: #444; line-height: 1.6; margin-bottom: 3px; }

/* ── Sparten-Label (inline Badge) ── */
.ttc-p-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-block;
}
.ttc-p-label--blue { background: #e6f1fb; color: var(--ttc-navy); }
.ttc-p-label--teal { background: #e1f5ee; color: var(--ttc-teal); }

/* ── Personen-Card (Trainer etc.) ── */
.ttc-p-trainer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ttc-light-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 8px;
  padding: 14px 16px;
}

.ttc-wa-btn {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #25d366;
  text-decoration: none;
}
.ttc-wa-btn:hover { text-decoration: underline; color: #1da851; 
}

.ttc-p-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.ttc-p-avatar--blue { background: var(--ttc-blue); color: #fff; }
.ttc-p-avatar--teal { background: var(--ttc-teal); color: #fff; }
.ttc-p-avatar--navy { background: var(--ttc-navy); color: #fff; }
.ttc-p-trainer-name { font-size: 14px; font-weight: 600; color: var(--ttc-navy); }
.ttc-p-trainer-role { font-size: 12px; color: #666; margin-top: 2px; }
.ttc-p-trainer-tel  { font-size: 12px; margin-top: 3px; }
.ttc-p-trainer-tel a { color: var(--ttc-blue); text-decoration: none; }
.ttc-p-trainer-tel a:hover { text-decoration: underline; }

/* ── Nummerierte Schritte ── */
.ttc-p-steps {
  background: var(--ttc-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 14px;
}
.ttc-p-steps-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ttc-teal);
  margin-bottom: 10px;
}
.ttc-p-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 8px;
}
.ttc-p-step:last-child { margin-bottom: 0; }
.ttc-p-step-nr {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--ttc-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── PDF-Card ── */
.ttc-p-pdf-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--ttc-light-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.ttc-p-pdf-icon {
  background: var(--ttc-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  height: fit-content;
}
.ttc-p-pdf-icon--teal { background: var(--ttc-teal); }
.ttc-p-pdf-title { font-size: 14px; font-weight: 600; color: var(--ttc-navy); margin-bottom: 3px; }
.ttc-p-pdf-sub   { font-size: 12px; color: #666; margin-bottom: 6px; line-height: 1.4; }
.ttc-p-pdf-link  { font-size: 13px; font-weight: 500; color: var(--ttc-blue); text-decoration: none; }
.ttc-p-pdf-link--teal { color: var(--ttc-teal); }
.ttc-p-pdf-link:hover { text-decoration: underline; }

/* ── Team-Pills ── */
.ttc-p-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ttc-p-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
}
.ttc-p-pill--navy { background: var(--ttc-navy); color: #fff; }
.ttc-p-pill--blue { background: var(--ttc-blue); color: #fff; }
.ttc-p-pill--teal { background: var(--ttc-teal); color: #fff; }

/* ── Tabelle ── */
.ttc-p-sublabel {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ttc-teal);
  margin: 16px 0 8px;
}
.ttc-p-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ttc-p-table th {
  background: var(--ttc-mint);
  color: var(--ttc-navy);
  font-weight: 600;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 2px solid var(--ttc-mint-acc);
}
.ttc-p-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: top;
}
.ttc-p-table tr:last-child td { border-bottom: none; }
.ttc-p-table tr:nth-child(even) td { background: #fafffe; }

/* ── Hinweis-Box ── */
.ttc-p-hinweis {
  background: #fffdf0;
  border-left: 3px solid #d4a017;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 13px;
  color: #555;
  margin-top: 12px;
  line-height: 1.6;
}
.ttc-p-hinweis a { color: var(--ttc-blue); }

/* ── Buttons ── */
.ttc-p-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ttc-blue);
  background: var(--ttc-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 6px;
  padding: 7px 14px;
  text-decoration: none;
  margin-bottom: 4px;
}
.ttc-p-btn:hover { background: #e0fff4; text-decoration: none; color: var(--ttc-navy); }

/* ── CTA-Banner (navy) ── */
.ttc-p-cta {
  background: var(--ttc-navy);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.ttc-p-cta-text { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.5; flex: 1; }
.ttc-p-cta-text strong { color: #fff; }
.ttc-p-cta-btn {
  background: #fff;
  color: var(--ttc-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.ttc-p-cta-btn:hover { background: var(--ttc-mint); text-decoration: none; color: var(--ttc-navy); }

/* ── Kleiner Sparten-CTA ── */
.ttc-p-cta-small {
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}
.ttc-p-cta-small a { text-decoration: none; font-weight: 600; }
.ttc-p-cta-small--blue { background: #e6f1fb; }
.ttc-p-cta-small--blue a { color: var(--ttc-navy); }
.ttc-p-cta-small--blue a:hover { text-decoration: underline; }
.ttc-p-cta-small--teal { background: #e1f5ee; }
.ttc-p-cta-small--teal a { color: var(--ttc-teal); }
.ttc-p-cta-small--teal a:hover { text-decoration: underline; }

/* ── Locations (3-Spalten, farbig) ── */
.ttc-p-loc-card {
  background: var(--ttc-teal);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}
.ttc-p-loc-name { font-size: 16px; font-weight: 600; color: #fff; }
.ttc-p-loc-sub  { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 3px; }

/* ── Doclist (Chip-Links) ── */
.ttc-p-doclist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ttc-p-doclist li a {
  display: inline-block;
  background: var(--ttc-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ttc-blue);
  text-decoration: none;
}
.ttc-p-doclist li a:hover { background: #e0fff4; text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .ttc-p-stats        { grid-template-columns: repeat(2, 1fr); }
  .ttc-p-kacheln      { grid-template-columns: 1fr 1fr; }
  .ttc-p-two-col      { grid-template-columns: 1fr; }
  .ttc-p-three-col    { grid-template-columns: 1fr; }
  .ttc-p-cta          { flex-direction: column; align-items: flex-start; }
  .ttc-p-intro        { padding: 16px; }
  .ttc-p-body         { padding: 14px; }
  .ttc-p-table th,
  .ttc-p-table td     { padding: 6px 7px; font-size: 12px; }
}

/* ── Eyebrow-Pill & Lead (Tennisschule, wiederverwendbar) ── */
.ttc-p-eyebrow {
  display: inline-block;
  background: var(--ttc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.ttc-p-lead {
  font-size: 1.1rem;
  color: var(--ttc-navy);
  font-weight: 600;
  font-style: italic;
  margin: 0 0 12px;
  line-height: 1.5;
}


/* ══════════════════════════════════════════
   TEAM-LAYOUT (Vorstand, Mannschaften)
   Übernommen aus T3-Template
══════════════════════════════════════════ */

.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.team {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;
  text-align: center;
}

.team img {
  width: auto;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .team {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .team {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════
   TRAININGSZEITEN – Desktop-Tabelle
   Platzbelegung farbcodiert
══════════════════════════════════════════ */

.trainingszeiten {
  width: 65%;
  border-collapse: collapse;
  text-align: left;
  margin: 20px auto;
}

.trainingszeiten th,
.trainingszeiten td {
  min-height: 20px;
  padding: 8px;
  border: 1px solid #444;
  font-size: 13px;
}

/* Platz-Farbcodes */
.pl1 { background-color: #eee8aa; border-left: 1px solid #888; }
.pl2 { background-color: #98fb98; }
.pl3 { background-color: #ffa07a; }
.pl4 { background-color: #b0c4de; }

/* Desktop: Week-View ausblenden */
@media (min-width: 769px) {
  .trainingszeiten.desktop-table {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: table !important;
  }
  .week-view {
    display: none !important;
  }
}

/* ── Mobil: Desktop-Tabelle aus, Week-View ein ── */
@media (max-width: 768px) {
  .desktop-table {
    display: none !important;
  }

  .trainingszeiten-mobile {
    display: table !important;
    opacity: 1;
    visibility: visible;
    position: relative;
  }

  .week-view {
    width: 90%;
    margin: 20px auto;
    text-align: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
  }

  .week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 0 10px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
  }

  #day-title {
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    flex-grow: 1;
  }

  .day-table {
    width: 100%;
    border-collapse: collapse;
    display: none;
  }

  .day-table.active {
    display: table !important;
  }

  .day-table th,
  .day-table td {
    border: 1px solid #000;
    padding: 8px;
  }

  .day-switch {
    background-color: var(--ttc-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4em 0.7em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 30px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .day-switch:hover { background-color: #2c6ca0; }
  .day-switch:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(66,138,202,.3);
  }
}

/* ══════════════════════════════════════════
   BLOGPOST – Zwei Bilder (Text + Bild rechts)
══════════════════════════════════════════ */

.text-und-bild {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.item-image.pull-left {
  margin-right: 20px;
  max-width: 250px;
}

.bild-rechts img {
  max-width: 250px;
  height: auto;
}

.textblock {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .text-und-bild { flex-direction: column; }
  .item-image.pull-left,
  .bild-rechts img {
    float: none;
    display: block;
    margin: 0 auto 10px auto;
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════
   DRUCKVERSION (angepasst für T4)
══════════════════════════════════════════ */

@media print {

  @page { margin: 8mm 16mm 18mm 16mm; }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    line-height: 1.3;
  }

  .item-page::before {
    content: url("/cms/images/ttc-logo-klein.png");
    display: block;
    text-align: center;
    margin: 0 auto 8mm auto;
  }

  a[href]:after { content: "" !important; }
  a { color: #000000 !important; text-decoration: none !important; }

  /* T4-Elemente im Druck ausblenden */
  header,
  nav,
  footer,
  aside,
  .navbar,
  .breadcrumb,
  .module,
  .moduletable,
  .sidebar,
  .off-canvas,
  .offcanvas,
  .t4-header,
  .t4-nav,
  .t4-footer,
  .t4-off-canvas-header,
  .t4-off-canvas-body,
  .t4-footnav,
  .page-header,
  .page-title {
    display: none !important;
  }

  .item-page { display: block !important; }

  .item-page h1 {
    text-align: center;
    font-size: 20pt;
    font-weight: 700;
    margin: 0 0 6mm 0;
    color: #000000;
  }

  .item-page table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .item-page tr { border-bottom: 1px solid #cfcfcf; }

  .item-page td,
  .item-page th { padding: 6px 8px !important; vertical-align: top; }

  .item-page td:first-child {
    width: 26%;
    text-align: right;
    white-space: nowrap;
    color: #7a2f7a;
    padding-right: 10px !important;
  }
}

/* ══════════════════════════════════════════
   TRAININGSZEITEN – Legende & Mobile Nav
   Artikel: Trainingszeiten Verbandsspielteams
══════════════════════════════════════════ */

.tz-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tz-leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}
.tz-leg-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #aaa;
  display: inline-block;
}
.tz-table-wrap {
  overflow-x: auto;
}

/* Mobile Tagesnavigation */
.tz-mobile {
  display: none;
}
#tz-day-content {
  width: 100%;
}

.tz-day-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ttc-mint);
  border: 1px solid var(--ttc-mint-acc);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
#tz-day-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ttc-navy);
}
.tz-day-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  display: table !important;
  overflow-x: visible !important;
}
.tz-day-table th {
  background: var(--ttc-mint);
  color: var(--ttc-navy);
  font-weight: 600;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 2px solid var(--ttc-mint-acc);
}
.tz-day-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
}
.tz-day-table tr:last-child td { border-bottom: none; }
.tz-day-table td.tz-team {
  font-weight: 600;
  color: var(--ttc-navy);
}
.tz-empty {
  color: #ccc;
  font-style: italic;
  font-size: 13px;
  padding: 12px 0;
}

@media (max-width: 768px) {
  .tz-mobile      { display: block; }
  .tz-table-wrap  { display: none; }
  .tz-legend      { display: none; }
}

/* iOS Safari: Offcanvas-Panel auf echte Viewport-Größe begrenzen */
.t4-off-canvas-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  /* KEIN position: relative, KEIN overflow: hidden */
}

.t4-off-canvas-header .close.js-offcanvas-close {
  /* Kein position: absolute ! */
  position: static !important;
  transform: none !important;
  flex-shrink: 0 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  opacity: 1 !important;
  background: rgba(255,255,255,0.25) !important;
  border: 1.5px solid rgba(255,255,255,0.6) !important;
  border-radius: 50% !important;
  margin-left: auto !important;
  margin-right: 4px !important;
}

.t4-off-canvas-header .close.js-offcanvas-close .c-button__text {
  color: #fff !important;
  display: block !important;
  line-height: 1 !important;
}
/* Panel clippt Inhalt an seiner Kante */
.t4-offcanvas.c-offcanvas {
   width: 320px !important;
  max-width: calc(100% - 40px) !important;
  overflow: hidden !important;
}

