.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}

.cards ul {
  list-style: none;
  /* removes default dots */
  padding: 0;
  margin: 0;
}

.cards ul li {
  position: relative;
  padding-left: 1.8em;
  margin: 1vh;
  font-size: medium;
  /* space for the arrow */
}

.cards ul li::before {
content: "➜";
  /* arrow symbol */
  position: absolute;
  left: 0;
  top: 50%;
  /* middle of the li element */
  transform: translateY(-50%);
  /* vertically center it */
  color: #4A4A49;
  /* your theme color */
  font-size: 1.3rem;
  font-weight: bold;
}



.card {
  background: #F9F9F9;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5em;
  margin-right: 0.5em;
  flex: 1 1 400px;
  transition: transform 0.3s;
}

.card h2 {
  color: #4A4A49;
}

.card:hover {
  transform: translateY(-5px);
}

/* ----- Tablet (≤ 1024px) ----- */
@media (max-width: 1024px) {
  .cards {
    flex-direction: row;
    justify-content: space-around;
  }

  .card {
    flex: 1 1 300px;
  }
}

/* ----- Mobile (≤ 768px) ----- */
@media (max-width: 768px) {
  /* Themen cards stack vertically */
  .cards {
    flex-direction: column; /* stack vertically */
    align-items: flex-start; /* key: only as tall as content */
  }

  .card {
    width: 100%;      /* full width of container */
    flex: none;       /* disables stretching/growing */
    height: auto;     /* shrink to content */
  }
}