.wbox-teaserimage-cta {
    margin-block: 3rem;
    background-color: #fff;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
}

.wbox-teaserimage-cta a {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.wbox-teaserimage-cta-contentwrap {
    background-image: url("data:image/svg+xml,%3Csvg width='601' height='401' viewBox='0 0 601 401' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.584961' y='0.777344' width='600' height='400' fill='%23003C73'/%3E%3Cpath d='M0.584956 0.777344H335.585C334.543 10.7695 332.64 20.956 330.945 30.9205C327.195 39.8302 322.931 47.1717 320.791 56.6227C306.887 92.2754 275.869 122.696 242.726 141.57C215.459 155.199 190.873 168.827 161.466 176.696C141.686 182.469 121.906 174.073 99.9723 176.696C90.8879 176.168 83.9287 170.409 73.7885 171.977C50.7995 164.122 28.8802 155.726 8.55818 142.084C5.90507 139.697 3.25195 137.296 0.584956 134.867V0.777344Z' fill='%23004F9F'/%3E%3C/svg%3E%0A");
}

.wbox-teaserimage-cta-contentwrap h2,
.wbox-teaserimage-cta-contentwrap h3 {
    color: white !important; 
    line-height: 1.1em;
}

.wbox-teaserimage-cta-content {
    color: black;
}

.wbox-teaserimage-cta-title {
    display: table;
    height: 50px;
    width: 100%;
}

.wbox-teaserimage-cta-img {
    height: 100%;
    overflow: hidden;
    -ms-flex-item-align: center;
    -webkit-align-self: center;
    -ms-grid-row-align: center;
    align-self: center;
    text-align: center;
}

.wbox-teaserimage-cta-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.wbox-teaserimage-cta-contentwrap {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.wbox-teaserimage-cta-linktext {
    font-weight: 300 !important;
    color: white !important;
    margin-block: 0 !important;
    text-align: left !important;
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.wbox-teaserimage-cta:hover .wbox-teaserimage-cta-linktext {
    color: white !important;
}

.wbox-teaserimage-cta:hover .wbox-teaserimage-cta-linktext::after {
    transform: translateX(0.5rem);
}

.wbox-teaserimage-cta-linktext::after {
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.25 24.375H47.125V27.625H3.25V24.375Z' fill='%23ffffff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.5771 9.75024L44.8271 26.0002L28.5771 42.2502L30.8754 44.5483L49.4235 26.0002L30.8754 7.45215L28.5771 9.75024Z' fill='%23ffffff'/%3E%3C/svg%3E%0A") !important;
}

/* .wbox-teaserimage-cta-linktext:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.25 24.375H47.125V27.625H3.25V24.375Z' fill='%23ffffff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M28.5771 9.75024L44.8271 26.0002L28.5771 42.2502L30.8754 44.5483L49.4235 26.0002L30.8754 7.45215L28.5771 9.75024Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
} */

/*Teaserhover Bild vergrössern wenn Link vorhanden*/

.wbox-teaserimage-cta-img img {
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    width: 100%;
}

.wbox-teaserimage-cta:hover .wbox-teaserimage-cta-img img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

@media (max-width: 1540px) {
  
    .wbox-teaserimage-cta .wbox-teaserimage-cta-title h2 {
        font-size: 2.25rem;
    }
    .wbox-teaserimage-cta .wbox-teaserimage-cta-linktext {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 1200px) {
    .wbox-teaserimage-cta .wbox-teaserimage-cta-title h2 {
        font-size: 1.9rem;
    }
    .wbox-teaserimage-cta .wbox-teaserimage-cta-linktext {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 992px) {
    .wbox-teaserimage-cta .wbox-teaserimage-cta-title h2 {
        font-size: 2rem;
        padding-bottom: 3rem;
    }
    .wbox-teaserimage-cta .wbox-teaserimage-cta-linktext {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 767px) {
    .wbox-teaserimage-cta a {
        display: block;
    }
}