/* =====================================================================
   Team section — strukturiert, scanbar, dunkles Theme passend zur Brand
   ===================================================================== */

.team-section {
  background: #0e0e10;
  color: var(--va-white);
  padding: clamp(72px, 10vw, 140px) 0 clamp(80px, 11vw, 160px);
  margin: 0 calc(-1 * 50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  position: relative;
  overflow: hidden;
}
.team-section::before {
  /* dezenter roter Glow oben links */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at 70% 30%, rgba(227,6,19,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.team-section > .container { position: relative; z-index: 1; }

/* ---------- Section head ---------- */
.tl-head {
  margin-bottom: clamp(48px, 7vw, 96px);
  max-width: 1100px;
}
.tl-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.tl-eyebrow {
  color: var(--va-red);
  font-size: 12px;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tl-rule {
  flex: 0 1 120px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.tl-count {
  font-size: 12px;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.tl-head h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-xbold, 800);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--va-white);
  margin: 0 0 24px;
  text-wrap: balance;
}
.tl-head h2 em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  font-weight: var(--fw-medium, 500);
}
.tl-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Lead row ---------- */
.tl-lead-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 760px) {
  .tl-lead-row { grid-template-columns: 1fr; }
}

.tl-lead {
  display: grid;
  grid-template-columns: clamp(140px, 18vw, 200px) 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: center;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: background 280ms ease, border-color 280ms ease, transform 280ms var(--ease-emph, cubic-bezier(0.2,0.8,0.2,1));
}
.tl-lead:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}
.tl-lead-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.06);
}
.tl-lead.tone-red .tl-lead-photo { background: var(--va-red); }
.tl-lead.tone-red .tl-lead-photo:not(.has-photo)::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--va-red);
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
  border-radius: 999px;
}
.tl-lead-photo image-slot { width: 100%; height: 100%; display: block; border-radius: 999px; }

.tl-lead-name {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--va-white);
  margin-bottom: 4px;
}
.tl-lead-role {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255,255,255,0.62);
  font-weight: var(--fw-medium, 500);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.tl-lead-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
  text-decoration: none;
  color: var(--va-white);
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: color 200ms ease;
}
.tl-link:first-child { border-top: 0; padding-top: 0; }
.tl-link:hover { color: var(--va-red); }
.tl-link:hover .tl-link-label { color: var(--va-red); }
.tl-link-label {
  font-size: 11px;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 200ms ease;
}
.tl-link-value {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: var(--fw-medium, 500);
  letter-spacing: -0.005em;
  word-break: break-word;
}

/* ---------- Department groups ---------- */
.tl-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.tl-group {}
.tl-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.tl-group-num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  font-size: 13px;
  color: var(--va-red);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.tl-group-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  color: var(--va-white);
  margin: 0;
  flex: 1 1 auto;
}
.tl-group-count {
  font-size: 12px;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  flex: 0 0 auto;
}

.tl-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

/* ---------- Member card ---------- */
.tl-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.tl-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.06);
  transition: transform 360ms var(--ease-emph, cubic-bezier(0.2,0.8,0.2,1)),
              box-shadow 360ms ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.tl-card.tone-red .tl-card-photo { background: var(--va-red); }
.tl-card.tone-red .tl-card-photo:not(.has-photo)::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--va-red);
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
  border-radius: 999px;
  transition: opacity 360ms ease;
}
.tl-card:hover .tl-card-photo {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.18);
}
.tl-card.tone-red:hover .tl-card-photo:not(.has-photo)::after { opacity: 0.18; }

.tl-card-photo image-slot { width: 100%; height: 100%; display: block; border-radius: 999px; }

.tl-card-name {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  font-size: clamp(15px, 1.15vw, 17px);
  letter-spacing: -0.01em;
  color: var(--va-white);
  line-height: 1.2;
}
.tl-card-role {
  font-size: clamp(12px, 0.9vw, 14px);
  color: rgba(255,255,255,0.62);
  font-weight: var(--fw-medium, 500);
  line-height: 1.35;
  margin-top: -6px;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 600px) {
  .tl-lead {
    grid-template-columns: 96px 1fr;
    padding: 16px;
    gap: 16px;
    align-items: start;
  }
  .tl-lead-name { font-size: 20px; }
  .tl-lead-role { margin-bottom: 12px; font-size: 13px; }
  .tl-link { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .tl-group-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
