/* ============================================================
   TVC88 — Vereinsseiten CSS
   Geteilt von verein-geschichte, -vorstand, -mitglied
   ============================================================ */

/* ── Vereins-Unternavigation ────────────────────────────── */
.verein-subnav {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h, 112px);
  z-index: 80;
}
.verein-subnav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.verein-subnav-inner::-webkit-scrollbar { display: none; }
.verein-subnav-link {
  display: block;
  padding: 13px 22px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .18s, border-color .18s;
  flex-shrink: 0;
}
.verein-subnav-link:hover { color: var(--ink); }
.verein-subnav-link.active { color: var(--rust); border-bottom-color: var(--rust); }

/* ── Zeitstrahl (Geschichte) ────────────────────────────── */
.timeline { position: relative; padding: 10px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
@media (max-width: 680px) {
  .timeline::before { left: 28px; }
}

.tl-entry {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}
.tl-entry:last-child { margin-bottom: 0; }

/* Linke Seite */
.tl-left  { padding-right: 36px; text-align: right; }
/* Rechte Seite */
.tl-right { padding-left: 36px; text-align: left; }
/* Gerade Einträge: Inhalt rechts */
.tl-entry:nth-child(even) .tl-left  { order: 3; text-align: left;  padding-right: 0; padding-left: 36px; }
.tl-entry:nth-child(even) .tl-center { order: 2; }
.tl-entry:nth-child(even) .tl-right { order: 1; text-align: right; padding-left: 0; padding-right: 36px; }

/* Mittel: Jahr-Bubble */
.tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  padding-top: 4px;
}
.tl-bubble {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--rust);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--rust);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-size: 13px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.tl-entry.highlight .tl-bubble {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px rgba(201,146,42,.2);
  width: 60px; height: 60px;
  font-size: 14px;
}

/* Inhaltsbox */
.tl-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 18px 20px;
  transition: box-shadow .2s;
}
.tl-box:hover { box-shadow: 0 4px 20px var(--shadow); }
.tl-entry.highlight .tl-box {
  border-color: var(--gold);
  background: #fffbf2;
}
.tl-box h3 { font-size: 15px; margin-bottom: 6px; }
.tl-box p  { font-size: 13px; color: var(--muted); line-height: 1.7; }
.tl-highlight-badge {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold); color: #fff;
  padding: 2px 8px; border-radius: 2px;
  margin-bottom: 6px;
}

/* Leere Seite im Wechsel */
.tl-empty { /* Platzhalter */ }

/* Mobile: alles linksbündig */
@media (max-width: 680px) {
  .timeline::before { left: 26px; }
  .tl-entry {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
  }
  .tl-entry .tl-left,
  .tl-entry .tl-right,
  .tl-entry:nth-child(even) .tl-left,
  .tl-entry:nth-child(even) .tl-right {
    order: unset; padding: 0; text-align: left;
  }
  .tl-entry .tl-center,
  .tl-entry:nth-child(even) .tl-center { order: unset; }
  .tl-entry .tl-empty { display: none; }
  .tl-center { padding-top: 6px; }
  .tl-bubble { width: 44px; height: 44px; font-size: 11px; }
  .tl-entry.highlight .tl-bubble { width: 50px; height: 50px; }
  .tl-box { padding: 14px 16px; }
  /* Mobile: immer Inhalt auf der rechten Seite der Linie */
  .tl-left  { grid-column: 2; padding-left: 16px; }
  .tl-center { grid-column: 1; grid-row: 1; }
  .tl-right,
  .tl-entry:nth-child(even) .tl-right { display: none; }
  .tl-entry:nth-child(even) .tl-left {
    grid-column: 2; padding-left: 16px; padding-right: 0; text-align: left;
  }
}

/* ── Vorstandskarten ────────────────────────────────────── */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .vorstand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vorstand-grid { grid-template-columns: 1fr; } }

.vs-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.vs-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px var(--shadow); }
.vs-card.vorsitz { border-top: 3px solid var(--rust); }
.vs-card.vorstand { border-top: 3px solid var(--gold); }
.vs-card.beisitzer { border-top: 3px solid var(--forest); }

.vs-photo {
  width: 100%; aspect-ratio: 1;
  max-height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, #e8e4dc, #d4cec4);
  overflow: hidden;
  position: relative;
}
.vs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-body { padding: 18px 16px; }
.vs-funktion {
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 6px; display: block;
}
.vs-card.vorstand  .vs-funktion { color: var(--gold2, #a07520); }
.vs-card.beisitzer .vs-funktion { color: var(--forest); }
.vs-body h3 { font-size: 16px; margin-bottom: 4px; }
.vs-seit { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.vs-kontakt { display: flex; flex-direction: column; gap: 4px; }
.vs-kontakt a {
  font-size: 12px; color: var(--rust);
  display: inline-flex; align-items: center; gap: 5px;
  justify-content: center;
}
.vs-kontakt a:hover { text-decoration: underline; }

/* ── Mitgliedschaft: Vorteile ───────────────────────────── */
.mitglied-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
@media (max-width: 760px) { .mitglied-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mitglied-grid { grid-template-columns: 1fr; } }

.vorteil-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.vorteil-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--shadow); }
.vorteil-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.vorteil-card h3 { font-size: 15px; margin-bottom: 8px; }
.vorteil-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Schritte: So wirst du Mitglied ────────────────────── */
.schritte-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: schritt;
  position: relative;
}
.schritt-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 36px;
  position: relative;
}
.schritt-item:last-child { padding-bottom: 0; }
.schritt-item::before {
  content: '';
  position: absolute;
  left: 27px; top: 52px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.schritt-item:last-child::before { display: none; }
.schritt-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.schritt-body h3 { font-size: 17px; margin-bottom: 6px; line-height: 1.3; padding-top: 10px; }
.schritt-body p  { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.schritt-body .schritt-action { margin-top: 12px; }

/* ── Download-Box ───────────────────────────────────────── */
.download-box {
  background: var(--forest2);
  border-radius: 3px;
  padding: 32px 36px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.download-box .icon { font-size: 42px; flex-shrink: 0; }
.download-box .text { flex: 1; min-width: 180px; }
.download-box h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.download-box p  { color: #8fb49a; font-size: 13px; line-height: 1.65; }
.download-btns  { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Beitrag-Info-Box ───────────────────────────────────── */
.beitrag-box {
  background: var(--wheat);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 3px 3px 0;
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin: 32px 0;
}
.beitrag-box strong { color: var(--ink); }
