﻿html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.parallax {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.layer {
    width: 100%;
    height: auto; /* wichtig! */
    object-fit: contain; /* statt cover */
    top: 0;
    left: 0;
}

.bg {
    z-index: 1;
}

.front {
    z-index: 3;
    pointer-events: none;
}

.main-content {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
