/* ===========================
   Landing
=========================== */

.landing {

    position: relative;

    display: flex;

    width: 100%;

    height: 100vh;

}

.landingTitle {

    position: absolute;

    top: 140px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 10;

    text-align: center;

    color: white;

}

.landingTitle h1 {

    font-size: 3rem;

    margin-bottom: 10px;

}

.landingTitle p {

    font-size: 1.3rem;

}

.landingSide {

    position: relative;

    flex: 1;

    overflow: hidden;

    cursor: pointer;

    transition: .45s ease;

    position: relative;

    overflow: hidden;

}

.leftSide {

    background: #5f5f5f;

}

.rightSide {

    background: #7a7a7a;

}

.overlay {

    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(0, 0, 0, .45);

    transition: .45s ease;

    z-index: 2;

}

.content {

    text-align: center;

    color: white;

    transition: .45s ease;

    z-index: 3;

    padding: 20px;

    position: relative;

}

.content h2 {

    font-size: 4rem;

    margin-bottom: 20px;

}

.content span {

    font-size: 1.2rem;

}

.landing-background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

}

.bg {

    position: absolute;

    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transition: opacity 1s ease,
        transform 6s linear;

}

.bg.active {

    opacity: 1;

    transform: scale(1.08);

}

.leftSide .landing-background {

    background-image: url("../images/landing/innen1.jpg");

}

.rightSide .landing-background {

    background-image: url("../images/landing/aussen1.jpg");

}

.landingSide:hover .landing-background {

    transform: scale(1.08);

}

.landingSide:hover .overlay {

    background: rgba(0, 0, 0, .25);

}

.landingSide:hover .content {

    transform: translateY(-10px);

}

.leftSide {

    border-right: 2px solid rgba(255, 255, 255, .15);

}

.landing::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 2px;

    height: 100%;

    background: rgba(255, 255, 255, .15);

    z-index: 5;

}

.landingSide:hover .overlay {

    background: rgba(0, 0, 0, .20);

}

.landingSide:hover .content {

    transform: translateY(-12px);

}

.landingSide:hover h2 {

    color: var(--primary);

}

.landingPage footer {

    position: absolute;

    bottom: 0;

    left: 0;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(8px);

    z-index: 100;

}

/* ==========================
   Landing Responsive
========================== */

@media (max-width:1000px) {

    .landingTitle h1 {

        font-size: 2.6rem;

    }

    .landingTitle p {

        font-size: 1.6rem;

    }

    .content h2 {

        font-size: 3rem;

        margin-bottom: 10px;

    }

    .content span {

        font-size: 1.4rem;

    }
}

@media (max-width:768px) {

    .landing {

        flex-direction: column;

        min-height: 100vh;

        height: auto;

    }

    .landingTitle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        background-color: rgba(0, 0, 0, .45);
    }

    .landingTitle h1 {

        font-size: 1.8rem;

    }

    .landingTitle p {

        font-size: 1rem;

    }

    .content h2 {

        font-size: 1.6rem;

        margin-bottom: 10px;

    }

    .content span {

        font-size: 1rem;

    }

    .landing::before {

        display: none;

    }

    .leftSide {

        border-right: none;

        border-bottom: 2px solid rgba(255, 255, 255, .15);

    }

    .landingPage footer {
        display: none;
    }

    .overlay {

        justify-content: center;
        align-items: center;

    }

    .content {

        width: 100%;
        text-align: center;

    }

}