.fm-team-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  max-width: 1000px !important;
}

.fm-card {
  background: #f8f8f8 !important;
  padding: 20px !important;
  text-align: center !important;
  width: 30% !important;  /* ca. 3 pro Reihe */
  min-width: 200px !important;
  border-radius: 25px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 350px !important;  /* Höhe anpassen nach Bedarf */
}

.fm-card h3 {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
  margin: 10px 0 0 0 !important;
  font-size: 1.2em !important;
}

.fm-image {
  border-radius: 100px !important;
  width: 150px !important;
  height: 150px !important;
  object-fit: cover !important;
  margin: 0 auto !important;
  display: block !important;
}

.fm-funktion {
  font-weight: bold !important;
  color: red !important;
  margin-top: 10px !important;
}

.fm-dienstgrad {
  margin-top: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: white !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  font-weight: bold !important;

  align-self: center !important;
}

.fm-rank-img {
  height: 30px !important;
}

/* Responsive für Handys: 2 Karten pro Reihe */
@media (max-width: 600px) {
  .fm-card {
    width: 45% !important;
  }
}
