.Vertretungen-Gesamt {
  display: flex;
  justify-content: center;
  margin-left: 10px;
  margin-right: 10px;
  flex-wrap: wrap;
  /* Karten umbrechen, wenn kein Platz mehr */
}

.Vertretungen-Gesamt a {
  text-decoration: none;
  color: #1e1e1e !important;
  font-weight: 400 !important;
}

.Vertretungen-Einzeln {
  margin: 20px;
  align-items: center;
  padding: 10px;
  background-color: #ffffff;
  width: calc((100% - 180px) / 3);
  transition: 0.3s;
}

.Vertretungen-Einzeln:hover {
  scale: 105%;
}

.Vertretungen-Text a {
  color: #b81137;
  font-weight: 500;
}

.Container-Bild {
  overflow: hidden;
  margin-bottom: 30px;
  width: 100%;
  height: 200px;
}

.Vertretungen-Bild img {
  width: 100%;
  height: auto;
}

.Vertretungen-Gesamt-Links {
  justify-content: flex-start;
  display: flex;
  margin: 50px;
}

@media (max-width: 1000px) {
  .Vertretungen-Einzeln {
    width: calc((100% - 60px) / 2);
    /* 2 Karten + Abstand */
    margin: 10px;
  }

  .Vertretungen-Einzeln-Weg {
    width: calc((100% - 60px) / 2);
    /* gleiche Breite wie die anderen Karten */
    margin: 10px;
    display: flex;
    /* optional, falls du ihn sichtbar machen willst */
  }
}

@media (max-width: 500px) {
  .Vertretungen-Gesamt {
    flex-direction: column;
    justify-content: center !important;
    margin-left: 15%;
    margin-right: 15%;
  }

  .Vertretungen-Einzeln {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.4s ease-out;
    margin-bottom: 13%;
  }

  .Vertretungen-Einzeln-Weg {
    display: none;
  }
}
