.cards_layout {
    margin-top: 4.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  /* Kachel */
  .kachel {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
  }

  /* Bild */
  .kachel figure {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 1;
  }

  .kachel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Gradient Overlay */
  .kachel.gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg,
        rgba(37, 36, 98, 0) 0%,
        rgba(37, 36, 98, 0.25) 35%,
        rgba(37, 36, 98, 0.7) 70%,
        rgba(37, 36, 98, 0.9) 100%);
  }

  /* Text */
  .kachel-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px;
    z-index: 3;
  }

  .kachel-content h4 {
    margin: 0 0 6px;
    font-weight: 700;
  }

  .kachel-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
  }

  .kachel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
  }

  .kachel:hover img {
    transform: scale(1.08);
  }

  .kachel:hover {
    cursor: pointer;
  }

  @media (max-width: 1024px) {
    .cards_layout {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
  }

  @media (max-width: 768px) {
    .cards_layout {
      grid-template-columns: repeat(1, 1fr);
      gap: 0;
      row-gap: 30px;
    }
  }