/* =========================================================================
   Team – Übersichtsseite (/team/).
   Nutzt die Design-Tokens aus holtz-base.css und den Seitenkopf .hh-page-head
   (holtz-base.css) sowie die Leer-Zustand-Optik .hh-ref-empty (holtz-referenzen.css).
   ========================================================================= */

.hh-team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

@media (min-width: 64rem) {
  .hh-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hh-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem) 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
}

.hh-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--c-gold-rgb), 0.5);
  box-shadow: 0 18px 40px rgba(var(--c-forest-rgb), 0.1);
}

.hh-team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  margin: 0 0 1.125rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-surface-muted);
  box-shadow: var(--shadow-sm);
}

.hh-team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ohne Foto: Initialen auf Bronzefläche in derselben Formsprache wie die
   Werte-Icons auf der Über-uns-Seite (.hh-about-value-icon) – kein
   generischer Platzhalteravatar. */
.hh-team-avatar-fallback {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-gold-ink);
  background: var(--c-gold-soft);
  border: 1px solid rgba(var(--c-gold-rgb), 0.45);
  border-radius: var(--radius-lg);
}

.hh-team-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
}

.hh-team-role {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.hh-team-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--c-border);
}

.hh-team-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--c-primary);
  background: var(--c-surface-muted);
  transition: background 0.24s var(--ease), color 0.24s var(--ease);
}

.hh-team-contact-link:hover,
.hh-team-contact-link:focus-visible {
  background: var(--c-gold);
  color: #fff;
}

.hh-team-contact-link svg {
  width: 16px;
  height: 16px;
}
