body {
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: large;
}

.headimg {
  background-image: url('../images/unserTeam1.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.headimg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(37, 37, 37, 0) 75%, #012033 100%);
  z-index: 1;
}

/* Main Tag Farbverlauf */
main {
  position: relative;
  /* background-image: linear-gradient(to bottom right, rgb(37, 37, 37), #003a63, rgb(37, 37, 37), #003a63, rgb(37, 37, 37)); */
  background-image: linear-gradient(to bottom, #012033, #003a63);
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

/* Das hier kannst du so lassen, das ist gut für die Performance */
.team-card {
  opacity: 0;
  will-change: transform, opacity;
  /* Startposition für die Scroll-Animation */
  transform: translateY(30px);
}

/* Der visible State für den Scroll-In */
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .team-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}