/* Lazy Loading Styling */

/* Fade-in Animation fu00fcr lazy-loaded Bilder */
img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy.loaded {
    opacity: 1;
}

/* Placeholder-Styling bis das Bild geladen wird */
.img-placeholder {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.img-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-placeholder 1.5s infinite;
}

@keyframes loading-placeholder {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}
