.content-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 50px auto;
  max-width: 1000px; /* Ändere die Breite nach Bedarf */
  flex-wrap: wrap; /* Karten werden auf kleinere Bildschirme umbrochen */
}

.card2{
    flex: 0 0 calc(33.33% - 20px); /* 33.33% für drei Karten nebeneinander, 20px für den Abstand zwischen den Karten */
    margin-bottom: 20px; /* Abstand zwischen den Zeilen */
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card2 img{
    width: 100%;
    height: 250px;
    transition: transform 0.5s ease-in-out;
}

.card2-img{
  height: 65%;
  overflow: hidden;
}

.card2 img:hover{
  transform: scale(1.05);
  cursor: pointer;
}

.card-content{
    padding: 30px;
}

.card-content a{
  text-decoration: none;
  font-size: 1.5em;
  color: black;
  font-weight: bold;
}

.card-content a:hover{
    cursor: pointer;
    color: orange;
}

@media screen and (max-width: 768px) {
  .content-cards {
    display: flex;
    flex-direction: column;
    width: 80%;
  }

  .content h1{
    margin-top: 20px;
  }

  .divider-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
  }

  .divider-div .divider{
    width: 50%;
  }

  .content-text p{
    margin-top: 20px;
    font-size: 1em;
    text-align: center;
    width: 80%;
  }

  .welcome{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    background-size: auto;
    background-attachment: local;
    background-position: center;
  }

  .welcome-headline{
    top: 0;
  }

  .welcome-headline p{
    font-size: 1.2em;
    margin: 10px 0px;
    padding: 10px;
    width: 75%;
  }

  .big-footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .big-footer-colum {
    width: 17rem;
  }

  .big-footer-colum h4 {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
  }

  .big-footer-colum .big-footer-colum-inhalt .big-footer-colum-headline {
    width: 17rem;
  }

  .big-footer-colum img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
  }

  .big-footer-colum-inhalt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .big-footer-colum-headline{
    font-size: 1.2em;
  }

  .big-footer-colum-text {
    width: 20rem;
  }

  .big-footer-colum-text p {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
  }

  .big-footer-colum-context {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .big-footer-colum-context h4 {
    text-align: center;
    margin-bottom: 40px;
  }

  .big-footer-colum-headline h4 {
    text-align: center;
    font-size: 1.2em;
  }

  .small-footer-row {
    display: flex;
    flex-direction: column;
  }

  .small-footer-colum {
    margin-bottom: 10px;
  }


}
