/**
 * Animate Lottie Viewport – Stile
 * Größe per Klassen-Postfix / JS transform: scale(). overflow: hidden = Container-Größe bleibt gleich.
 */

.hero,
[class^="hero-"],
[class*=" hero-"] {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    box-sizing: border-box;
}

.alv-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.alv-container {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    min-width: 1px;
    min-height: 1px;
    display: block;
    box-sizing: border-box;
    transform-origin: center center;
}

.alv-container svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}

.hero > *:not(.alv-wrapper),
[class^="hero-"] > *:not(.alv-wrapper),
[class*=" hero-"] > *:not(.alv-wrapper) {
    position: relative;
    z-index: 1;
}
