.custom-row {
    width: 20% !important;
    padding: 12px;
}


.flip-card {
    background-color: transparent;
    height: 200px;
    perspective: 1000px;
    /* Remove this if you don't want the 3D effect */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.flip-card-back {
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back a {
    color: #fff;
    text-decoration: underline;
}

.flip-headline {
    margin: 0 0 15px;
    padding: 0 0 27px;
    font-size: 30px;
    font-weight: 400;
    position: relative;
}

.flip-headline::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 10px;
    background: #0069b4;
    left: calc(50% - 30px);
}

.text {
    display: flex;
    flex-direction: column;
    min-height: 295px;
    justify-content: space-between;
}

@media screen and (max-width: 1200px) {
    .karten .col-md-4 {
        width: 100% !important;
    }

    .text {
        justify-content: flex-start;
        min-height: auto;
    }
}

@media screen and (max-width: 767px) {
    .custom-row {
        width: 100% !important;
    }
}

@media screen and (max-width: 450px) {
    .custom-row {
        width: 100% !important;
    }
}