/* Team page (client wish 11/2026) – shares base.css + legal.css (top bar, footer) with Impressum / Datenschutz */
.team-page { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 10vh, 110px) var(--gutter) 96px; }
.team-page h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 16px 0 18px; }
.team-page__lead { max-width: 60ch; margin-bottom: clamp(32px, 5vh, 56px); color: var(--text-dim); }
.team-page__lead a { color: var(--bronze-hi); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.legal-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* every card: the same rows in the same places – name, e-mail and phone each on one line (they shrink with the
   card instead of wrapping, so no card gets a two-line name while the next one has one) */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tcard {
  container-type: inline-size;
  display: grid; grid-template-rows: auto auto auto auto auto; align-content: start; justify-items: start; gap: 8px;
  padding: clamp(20px, 2.2vw, 28px);
}
.tcard__avatar {
  display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 10px;
  border-radius: 50%; border: 1px solid rgba(220, 195, 156, 0.5);
  background: radial-gradient(circle at 30% 25%, rgba(220, 195, 156, 0.22), rgba(9, 9, 10, 0.6));
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.04em; color: var(--bronze-hi);
  overflow: hidden;
}
.tcard__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard__role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-hi); }
.tcard__name {
  max-width: 100%; margin-bottom: 4px; white-space: nowrap;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; line-height: 1.1;
  font-size: min(1.5rem, 9cqi);
}
.tcard__link {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  white-space: nowrap; color: var(--text-dim); font-size: min(0.9375rem, 5.9cqi);
  transition: color 0.3s ease;
}
.tcard__link svg { flex: none; width: 16px; height: 16px; color: var(--bronze-hi); }
.tcard__link:hover { color: var(--text); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .tcard__link { min-height: 40px; } }
