.e-col-image:hover img {
    transform: scale(1.03);
}
/* Hauptcontainer */
.hero-media-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%; /* Höhe relativ zur Breite */
    overflow: hidden;
    border-radius: 8px;
}

.hero-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Bild und Video - jetzt größer */
.hero-image,
.hero-hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    display: block;
    z-index: 1;
}

.hero-hover-video {
    display: none;
    z-index: 2;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero-media-container {
        padding-bottom: 80%; /* Höheres Verhältnis auf Mobilgeräten */
    }
    
    .hero-flex-container {
        flex-direction: column;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-media-container {
        order: 1;
        min-height: 300px;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .e-container {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-media-wrapper {
        padding-top: 75%; /* Anderes Seitenverhältnis für Mobile */
    }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1024px) {
    .e-col-text,
    .e-col-image {
        flex: 0 0 100% !important;
    }

    .e-col-text {
        margin-bottom: 40px;
        padding: 0 10px !important;
    }

    .e-col-image {
        padding: 0 10px !important;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .e-container {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        margin-bottom: 1.25rem !important;
    }

    p,
    li {
        font-size: 1rem !important;
    }

    .e-col-image div {
        border-radius: 12px;
    }

    .e-col-image {
        height: 300px;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}
