.module_teaser {
    margin-top: 30px;
}

.module_teaser .container {
    background-color: transparent !important;
}

@media (min-width: 992px) {
    .module_teaser .container {
        padding: 40px 40px !important;
    }
}

.module_teaser .mainheadline {
    text-align: center;
    font-size: 23px;
    margin-bottom: 0;
    color: #000;
    margin-top: 0;
}

.module_teaser .teaser_element {
    background: #fff;
    margin-top: 20px;
    padding: 20px 18px;
    transition: background 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out;
    -ms-transition: background 0.5s ease-in-out;
    -webkit-transition: background 0.5s ease-in-out;
    text-align: center;
    min-height: 340px;
}


.module_teaser .teaser_element:hover {
    background: #013763;
    transition: background 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out;
    -ms-transition: background 0.5s ease-in-out;
    -webkit-transition: background 0.5s ease-in-out;
}

.outer_container {
    display: flex;
    justify-content: center;
}

.module_teaser .teaser_element .headline {
    transition: color 0.5s ease-in-out;
    -moz-transition: color 0.5s ease-in-out;
    -ms-transition: color 0.5s ease-in-out;
    -webkit-transition: color 0.5s ease-in-out;
    font-size: 20px;
    padding-bottom: 0;
    color: #003763;
}

.module_teaser .teaser_element:hover .headline,
.module_teaser .teaser_element:hover p {
    transition: color 0.5s ease-in-out;
    -moz-transition: color 0.5s ease-in-out;
    -ms-transition: color 0.5s ease-in-out;
    -webkit-transition: color 0.5s ease-in-out;
    color: #fff;
}

.module_teaser .teaser_element p {
    color: #003763;
}

.module_teaser .teaser_element .button {
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    padding: 8px 22px;
}

.module_teaser .teaser_element:hover .button {
    background: #fff;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    color: #013763;
}

.module_teaser .container {
    padding: 30px 20px 70px 20px;
}

.module_teaser .teaser_element .link_outer {
    position: absolute;
    bottom: 0;
    top: 25%;
    right: 28px;
    text-align: center;
}

.module_teaser .teaser_element .link_outer img {
    width: 19px;
    height: 34px;
}

@media (max-width: 767px) {
    .content_main .module_teaser .container {
        padding: 30px 0;
    }

    .module_teaser .teaser_element .headline {
        margin: 25px 0;
    }

    .module_teaser .teaser_element {
        margin-top: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .module_teaser .teaser_element .link_outer {
        top: 100%;
        right: 0;
        left: 0;
        height: fit-content;
    }

    .module_teaser .teaser_element .button {
        font-size: 18px;
    }

    .module_teaser .teaser_element .headline {
        margin: 20px 0;
    }

    .module_teaser .mainheadline {
        font-size: 30px;
    }

    .content_main .module_teaser .container {
        padding: 30px 20px 70px 20px;
    }

    .module_teaser .teaser_element {
        min-height: 300px;
    }
}

@media (min-width: 992px) {
    .first-teaser {
        border-bottom-left-radius: 5%;
    }

    .last-teaser {
        border-bottom-right-radius: 5%;
    }
}


@media (max-width: 991px) {
    .module_teaser .teaser_element .headline {
        font-size: 24px;
    }

    .line_wrapper {
        margin-bottom: 25px;
    }

    .module_teaser .teaser_element {
        border-radius: 8px;
    }

    .module_teaser .teaser_element .link_outer {
        position: relative;
        margin-top: 20px;
        right: 0;
    }
}

@media (min-width: 992px) {
    .module_teaser .teaser_element {
        max-width: 275px;
        min-height: 480px;
        margin-right: 32px;
        padding: 25px;
        margin-top: 30px;
    }

    .module_teaser .teaser_element {
        padding-bottom: 50px;
    }

    .module_teaser .mainheadline {
        font-size: 32px;
    }

    .module_teaser .teaser_element p {
        width: 100%;
        margin: 0 auto;
    }

    .module_teaser .teaser_element:last-of-type {
        margin-right: 0;
    }

    .module_teaser .teaser_element .text .headline {
        font-size: 24px;
        padding-bottom: 10px;
    }

    .module_teaser .teaser_element .text {
        text-align: center;
    }

    .module_teaser .teaser_element .text p {
        font-size: 20px;
        transition: color 0.5s ease-in-out;
        -webkit-transition: color 0.5s ease-in-out;
    }

    .module_teaser .teaser_element .link_outer {
        left: 0;
        right: 0;
    }

    .module_teaser .mainheadline {
        text-align: center;
        font-size: 32px;
        margin-bottom: 15px;
    }

    .module_teaser .teaser_element .link_outer {
        bottom: 20px;
        top: auto;
    }

    .module_teaser .line_wrapper {
        padding-bottom: 30px;
    }

    .module_teaser .teaser_image {
        margin-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .module_teaser .teaser_element {
        max-width: 382px;
        padding: 30px 20px 65px 20px;
        height: 470px;
    }

    .module_teaser .teaser_element .link_outer {
        bottom: 45px;
    }

    .module_teaser .teaser_element .text .headline {
        padding-bottom: 20px;
        font-size: 28px;
    }

    .module_teaser .container {
        width: 1210px;
        padding: 40px 0 !important;
    }
}

.module_teaser .teaser_image {
    display: flex;
    justify-content: center;
}

/*seperates Styling für Teaser im "download-bereich"*/

@media (min-width: 992px) {
    .module_teaser .teaser_element:not(:has(p)) {
        min-height: 400px !important;
        height: 400px !important;
    }
}

/*seperates Styling für Teaser im "download-bereich"*/