.section-imageteaser {
    margin-top:60px;
}
.singleimageteaser {
    flex:0 1 auto;
}

.singleimageteaser a {
    width:100%;
    display:block;
    height:100%;
    text-decoration:none;
    color:var(--bs-white);
    position:relative;
    transition:all 0.4s;
    overflow:hidden;
}

.col-4 .singleimageteaser {
    aspect-ratio:4/6.75;
}

.teasertitle {
    font-size: 40px;
    color: var(--bs-white);
    font-family: 'Roboto Condensed', Arial, sans-serif;
    text-transform: uppercase;
    line-height: 1;
    display:block;
}

.teasercta {
    font-size:14px;
    text-decoration: underline;
    font-weight:700;
    color:var(--bs-white);
    margin-top:20px;
    display:block;
    width:100%;
}


.singleimageteaser label.supline {
    color:var(--bs-white);
}

.singleimageteaser a:hover .singleimageteaser-wrap img {
    transform:scale(1.25);
}

.singleimageteaser a:hover .singleimageteaser-wrap.noscale img {
    transform:none;
}

.singleimageteaser-wrap .imagetitle {display:none;}

.singleimageteaser a img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:all 0.4s;
}

.singleimageteaser .imagetitle {
    position:absolute;
    bottom:0;
    padding: 20% 30px 30px 30px;
    left: 0;
    width: 100%;
    background: rgb(38,38,38);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#262626",endColorstr="#000000",GradientType=1);
}

.singleimageteaser .imagetitle span {
    max-width: calc(100% - 55px);
    display: inline-block;
}

/* Standardzustand für .singleimageteaser-second */
.singleimageteaser-second {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:auto;
    opacity: 0; /* Versteckt das Element standardmäßig */
    visibility: hidden; /* Stellt sicher, dass das Element unsichtbar ist */
    transition: opacity 0.3s ease-in, visibility 0s 0.3s; /* Sanfte Einblend-Transition */
}

/* Einblenden von .singleimageteaser-second, wenn .singleimageteaser gehovt wird */
.singleimageteaser:hover .singleimageteaser-second {
    opacity: 1; /* Macht das Element sichtbar */
    visibility: visible; /* Stellt sicher, dass das Element zugänglich ist */
    transition: opacity 0.3s ease-in, visibility 0s 0s; /* Sanfte Einblend-Transition ohne Verzögerung */
}


@media screen and (max-width: 1280px) {
    .teasertitle {
        font-size:28px;
    }
    .singleimageteaser .imagetitle {
        padding:20px;
    }
    .singleimageteaser .imagetitle span {
        max-width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .singleimageteaser {
        flex: 0 1 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .section-imageteaser {
        padding:0 20px;
    }
    .teasertitle {
        font-size:24px;
    }
    .singleimageteaser .imagetitle span.teasertitle {
        max-width: calc(100% - 20px);
    }
    .singleimageteaser .imagetitle {
        padding: 20% 20px 20px 20px;
    }
    .section-imageteaser {
        margin-top: 40px;
    }
    .teasercta {
        margin-top:10px;
    }
}
