/* ================================================================= */
/*                           Allgemeine Stile                        */
/* ================================================================= */

@import url('../css/variables.css');


/* ======================= Grundstruktur ======================= */
.team-section {
  width: 100%;
  background-color: #f3f4ed;
  padding: 6rem 2rem;
  text-align: center;
}

.team-container {
  max-width: 99rem;
  margin: 0 auto;
}


/* ======================= Text-Elemente ======================= */
.team-subtitle {
  text-transform: uppercase;
  font-size: 1rem;
  opacity: 1;
  letter-spacing: 1px;
}

.team-title {
  font-size: 2.8rem;
  margin: 1rem 0;
}

.team-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.85;
}


/* ======================= Karten-Layout ======================= */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}

.team-card {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  padding: 1rem;
  max-width: 350px;
  width: 100%;
  text-align: center;
}


/* ======================= Karten-Inhalte ======================= */
.team-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.team-role {
  font-size: 0.95rem;
  opacity: 0.75;
}


/* ================================================================= */
/*                         Responsive Design                         */
/* ================================================================= */

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten ab Tablet-Größe */
  }
}

@media (min-width: 1156px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten ab großer Bildschirm */
  }
}