.team {
  padding: 120px 20px;

}
.team-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 70px;
  background-image: url(../assets/Team/Eis-Schale.jpg);
  background-repeat: no-repeat;
  background-position: center;
}

.team-header h3 {
  color: #e6a96d;
  font-family: 'Poppins';
  margin-bottom: 10px;
}


.team-header p {
  color: #6a5c70;
  line-height: 1.7;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}
.team-img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}
.team-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(77,57,84,0.5),
    transparent
  );
}
.team-info p {
  font-size: 0.9rem;
  color: #c89a63;
  margin-bottom: 5px;
}

.team-info h3 {
  font-size: 1.4rem;
  color: rgb(77, 57, 84);
}

@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-img img {
    height: 260px;
  }

  .team {
    padding: 90px 20px;
  }
}