/* ===================================================================
   assets/css/team.css
   Spezifische Styles für die „Über uns“-Seite (Team-Vorstellung)
   =================================================================== */

/* Abschnitt & Container */
.team-section {
  margin: 4rem 0;
  position: relative;
  z-index: 1;
}
.team-section .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 31, 48, 0.6);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: var(--text-light);
}

/* Überschrift */
.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Grid für Team-Mitglieder */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Einzelne Karte */
.team-member {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Bild */
/* Bild in der Team-Karte – quadratisch mit smoothen Ecken */
.team-member img {
  width: 200px;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius); /* statt 50% */
  margin-bottom: 1rem;
}

/* Name */
.team-member h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--text-light);
}

/* Liste der Details */
.team-member ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.team-member ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .team-section .container {
    padding: 1rem;
  }
  .team-member {
    width: 100%;
    max-width: 320px;
  }
}
