.aw-teaser-boxen-wrapper .text {
    margin-bottom: calc(var(--section-margin-bottom) / 2);
}

.aw-teaser-boxen-wrapper .teaser-boxen-inner {
    display: grid;
    grid-template-columns: repeat(var(--teaser-col), minmax(0, 1fr));
    gap: 1.5rem;
}

.aw-teaser-boxen-wrapper .teaser-boxen-swiper {
    position: relative;
}

.aw-teaser-boxen-wrapper .teaser-box {
    position: relative;
    background: white;
    box-shadow: var(--cd-shadow-blue);
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.aw-teaser-boxen-wrapper .teaser-box img {
    /* width: 100%;
    height: auto; */
    display: block;
}

.aw-teaser-boxen-wrapper .teaser-box a {
    position: absolute;
    inset: 0;
    text-decoration: none;
}

.aw-teaser-boxen-wrapper .teaser-box h3 {
    font-size: 1.7rem;
    color: var(--cd-color-blue);
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.aw-teaser-boxen-wrapper .teaser-box h4 {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--cd-color-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.aw-teaser-boxen-wrapper .teaser-box-img {
    padding: 1rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aw-teaser-boxen-wrapper .img-text {
    text-align: center;
}

.aw-teaser-boxen-wrapper .teaser-box.has-link img {
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .aw-teaser-boxen-wrapper .teaser-box.has-link:hover img {
        transform: scale(1.15);
    }
}

.aw-teaser-boxen-wrapper .teaser-button {
    margin-top: 1rem;
}

.aw-teaser-boxen-wrapper .teaser-boxen-swiper-pagination {
    display: none;
    margin-top: 0.75rem;
    text-align: center;
}

.aw-teaser-boxen-wrapper .teaser-boxen-swiper-pagination .swiper-pagination-bullet {
    background: var(--cd-color-blue);
    opacity: 0.3;
}

.aw-teaser-boxen-wrapper .teaser-boxen-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.aw-teaser-boxen-wrapper .swiper {
    overflow: visible;
}

/* 80rem (1280px) */
@media (width < 80rem) {
    .aw-teaser-boxen-wrapper .teaser-boxen-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 64rem (1024px) */
@media (width < 64rem) {
    .aw-teaser-boxen-wrapper .teaser-boxen-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 40rem (640px) */
@media (width < 40rem) {

    .activewerbung_teaserboxen {
        overflow: hidden;
        padding-top: 1rem!important;
        margin-top: -1rem!important;
    }

    .aw-teaser-boxen-wrapper .teaser-boxen-inner {
        display: flex;
        gap: 0;
    }

    .aw-teaser-boxen-wrapper .teaser-boxen-inner .teaser-box {
        width: 80%;
        height: auto;
    }

    .aw-teaser-boxen-wrapper .teaser-box {
        padding: 1.25rem;
    }

    .aw-teaser-boxen-wrapper .teaser-boxen-swiper-pagination {
        display: block;
    }
}