:root {
  --bg-light: #F7F9FA;
  --text-dark: #0A0E14;
  --hyper-cyan-light: #00CFE6;
  --neon-mint-light: #00E0A2;
  --neon-emerald-light: #00E0A2;
  font-family: "Poppins", sans-serif;
  color-scheme: light;
}

/* === SECTION === */
.team-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
  text-align: center;
}

/* Header */
.team-header {
  max-width: 850px;
  margin: 0 auto 4rem;
}
.team-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .8rem;
}
.team-subtitle {
  font-size: 1.05rem;
  color: rgba(10,14,20,0.65);
  line-height: 1.6;
}

.team-contact-label {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,14,20,0.5);
}

/* === GRID === */
.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

/* === TEAM CARD === */
.team-card {
  position: relative;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(255,255,255,0.45));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.04),
    0 12px 30px rgba(0,0,0,0.08);
  transition: all .4s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 25px rgba(0,224,162,0.25),
    0 0 40px rgba(0,224,162,0.15);
  border-color: #00E0A2;
}

/* === FOTO === */
.team-photo {
  width: 100%;
  height: 360px; /* etwas höher für mehr Gesicht */
  object-fit: cover;
  object-position: 50% 30%; /* nach oben verschoben */
  display: block;
  filter: brightness(0.95);
}

/* === MEMBER WRAPPER (card + linkedin) === */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

/* === HOVER OVERLAY === */
.team-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.78) 0%,
    rgba(10, 14, 20, 0.93) 100%
  );
  display: flex;
  align-items: center;
  padding: 1.8rem 1.6rem 70px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-bio {
  color: rgba(237, 237, 237, 0.88);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* === LINKEDIN LINK === */
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0A0E14;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(0, 224, 162, 0.1);
  border: 1px solid rgba(0, 224, 162, 0.45);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.team-linkedin:hover {
  background: rgba(0, 224, 162, 0.2);
  border-color: #00E0A2;
}

/* === INFO (Glass Overlay mit dunklem Untergrund) === */
.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.4rem;
  height: 50px;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10,14,20,0.05) 0%,
    rgba(10,14,20,0.85) 100%
  ); /* dunkler Verlauf */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  transition: all .3s ease;
}
.team-card:hover .team-info {
  background: linear-gradient(
    180deg,
    rgba(10,14,20,0.2) 0%,
    rgba(10,14,20,0.9) 100%
  );
  box-shadow: inset 0 0 18px rgba(0,224,162,0.12);
}

/* === TEXT === */
.team-name {
  font-weight: 600;
  font-size: 1rem;
  color: #EDEDED;
}

.team-role {
  font-size: 0.85rem;
  color: #00E0A2;
  margin-bottom: 0.6rem;
}
