/* Fix für überlappende Team-Bilder */
.team-img, .team-image, .project-img {
  height: 250px !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  margin-bottom: 15px !important;
}

.team-img img, .team-image img, .project-img img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Erhöhte Abstände zwischen den Elementen */
.row > [class*='col-'] {
  margin-bottom: 30px !important;
  padding: 10px 15px !important;
}

/* Styles für Hover-Effekte */
.project-overlay, .team-social {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.project-img:hover .project-overlay,
.team-img:hover .team-social,
.team-image:hover .team-social {
  opacity: 1 !important;
}

/* Maximale Höhe für Cards festlegen */
.team-card, .team-member, .project-card {
  height: auto !important;
  overflow: hidden !important;
}
