/* ==========================================================================
   /ueber-uns/ – Historie, Das Team, Presse.
   Baut auf home.css auf (.org-section/.org-section-grey, .section-head,
   .checkliste, .note-box, .back-link, .accordion/.formate-liste – letztere für
   die "Übersicht"-Sprungnavigation, org-page.js wiederverwendet, siehe
   PROJECT_A1Sa.md Abschnitt 5c/7). Hier nur die seitenspezifischen Ergänzungen:
   Historie-Zeitleiste, Team-/Presse-Karten.

   🔒 WICHTIG: .angebote-grid (home.css) bewusst NICHT wiederverwendet – live
   geprüft (August 2026): Ab 1000px Containerbreite ist diese Klasse KEIN
   generisches Auto-Grid mehr, sondern fest auf exakt zwei Karten einzementiert
   (eigene Spurbreiten für "Persönlich vor Ort", siehe home.css). Mit einer
   dritten Karte (hier: Team/Presse) landete diese dadurch außerhalb des
   sichtbaren Rasters. Eigenes, echtes Auto-Grid (.karten-grid) stattdessen. */
.karten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ---------- Historie: vertikale Zeitleiste ---------- */
.historie-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  position: relative;
  max-width: 44rem;
}
.historie-timeline::before {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--a1-gray, #BCBCBC);
}
.historie-punkt {
  position: relative;
  padding-bottom: 2rem;
}
.historie-punkt:last-child { padding-bottom: 0; }
.historie-punkt::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--a1-gray, #BCBCBC);
}
.historie-jahr {
  display: block;
  font-family: var(--a1-font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--a1-dark);
}
.historie-punkt p { margin: 0; color: var(--a1-dark-2, var(--a1-dark)); }

/* Letzter Punkt (Stand heute) optisch hervorgehoben. */
.historie-punkt.ist-aktuell::before {
  background: var(--a1-red-4);
  width: 0.9375rem;
  height: 0.9375rem;
  left: -1.8125rem;
}
.historie-punkt.ist-aktuell .historie-jahr { color: var(--a1-red-4); }

/* ---------- Das Team: Karten (Layout über .karten-grid, siehe oben) ---------- */
.team-karte {
  background: var(--a1-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
}
/* Foto-Vorgabe Michael (August 2026): Format 3:4, 240px hoch – bewusst als
   eigene, zentrierte Box statt kartenbreitem Foto (anders als z. B.
   .angebot-photo), da 3:4 hochformatig ist, nicht die volle Kartenbreite
   ausfüllen soll. */
.team-foto {
  width: 180px;   /* 240px * 3/4 */
  height: 240px;
  margin: 1.25rem auto 0;
  background: var(--a1-light, #F2F2F2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Kein Foto vorhanden (assetExists()-Fallback, siehe ueber-uns/index.php):
   Kürzel statt kaputtem Bild – gleiches Prinzip wie andere Bild-Fallbacks im
   Projekt (Hero-Bilder, siehe PROJECT_A1Sa.md Abschnitt 6/7). */
.team-foto-platzhalter {
  font-family: var(--a1-font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--a1-gray, #BCBCBC);
}
.team-karte-body { padding: 1.25rem 1.25rem 1.5rem; }
.team-name { font-family: var(--a1-font-serif); font-weight: 600; font-size: 1.375rem; margin: 0; color: var(--a1-dark); }
.team-rolle { font-size: 1.125rem; color: var(--a1-dark-2, var(--a1-dark)); margin: 0.15rem 0 0.75rem; }
.team-text { font-size: 1.0625rem; text-align: left; margin: 0 0 1rem; }
.team-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.team-tag {
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--a1-light, #F2F2F2);
  color: var(--a1-dark);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ---------- Presse: Karten (gleiches Grid, andere Feldstruktur) ---------- */
.presse-karte {
  background: var(--a1-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.presse-bild { width: 100%; aspect-ratio: 16 / 9; background: var(--a1-light, #F2F2F2); overflow: hidden; }
.presse-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.presse-karte-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.presse-medium { font-weight: 600; color: var(--a1-red-4); font-size: 1rem; margin: 0 0 0.25rem; }
.presse-titel { font-family: var(--a1-font-serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 0.5rem; color: var(--a1-dark); }
.presse-datum { font-size: 0.9375rem; color: var(--a1-dark-2, var(--a1-dark)); margin: 0 0 1rem; }
.presse-link { margin-top: auto; font-weight: 600; text-decoration: underline; color: var(--a1-red-4); }
.presse-link:hover, .presse-link:focus-visible { color: var(--a1-red-3); }

@media (max-width: 767px) {
  .historie-timeline { padding-left: 1.5rem; max-width: none; }
  .team-karte-body { padding: 1rem; }
}
