/* ============================================================================
   Hero Shine Effect - Weißer Lichtstrahl beim Laden
   Macht Hero-Sektionen lebendiger beim Seitenaufruf
   ============================================================================ */

/* Shine Animation Keyframes */
@keyframes hero-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Shine Effect für alle Hero-Sektionen */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: hero-shine 1.5s ease-in-out 0.3s;
    z-index: 2;
    pointer-events: none;
}

/* Für page-header auch */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: hero-shine 1.5s ease-in-out 0.3s;
    z-index: 2;
    pointer-events: none;
}

/* Für story-hero (Über Uns Seite) */
.story-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: hero-shine 1.5s ease-in-out 0.3s;
    z-index: 2;
    pointer-events: none;
}

/* Sicherstellen dass Hero position: relative hat */
.hero,
.page-header,
.story-hero {
    position: relative;
    overflow: hidden;
}
