/* Teaser-Bereich für Unterseiten */
.teaser {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay-Option für dunklere Bilder */
.teaser::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Leichtes Overlay für besseren Kontrast */
}

/* Teaser mit Titel-Option */
.teaser-with-title {
    position: relative;
}

.teaser-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 10;
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Responsive Anpassung */
@media only screen and (max-width: 600px) {
    .teaser {
        width: 100vw;
        height: 80px;
    }
    .teaser img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .teaser-title {
        font-size: 1.8rem;
    }
}