/* ==========================================================
   ATARO LEGAL PAGES
   Datenschutz + Impressum
========================================================== */


/* ==========================================================
   SHARED PAGE
========================================================== */

.privacy-page,
.impressum-page {
    position: relative;

    width: 100%;
    height: 100vh;

    /*overflow: hidden;*/

    background: #111;
    color: #fff;
}


/* ==========================================================
   FULLSCREEN BACKGROUND
========================================================== */

.privacy-page__background,
.impressum-page__background {
    /*position: absolute;*/
    position: fixed;

    inset: 0;

    z-index: 0;

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

    transform: scale(1.04);
}


/* Dark photographic treatment */

.privacy-page__overlay,
.impressum-page__overlay {
    position: fixed;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.44) 45%,
            rgba(0, 0, 0, 0.38) 100%
        );
}


/* ==========================================================
   LEGAL SIDEBAR
========================================================== */

.legal-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 30;

    width: 250px;

    display: flex;
    flex-direction: column;

    background:
        rgba(8, 10, 12, 0.35);

    border-right:
        1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ==========================================================
   LEGAL LOGO
========================================================== */

.legal-brand-link {
    display: block;

    padding:
        42px
        32px
        34px;

    color: #fff !important;

    text-decoration: none !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}


.legal-brand-link:visited,
.legal-brand-link:hover,
.legal-brand-link:active {
    color: #fff !important;
    text-decoration: none !important;
}


/* ==========================================================
   LEGAL NAVIGATION
========================================================== */

.legal-sidebar .sidebar__nav {
    display: flex;
    flex-direction: column;

    flex: 1;
}


.legal-sidebar .nav-item {
    position: relative;

    width: 100%;
    min-height: 66px;

    display: grid;

    grid-template-columns:
        42px
        1fr;

    align-items: center;

    gap: 10px;

    padding:
        20px
        26px;

    margin: 0;

    background: transparent;

    border: 0;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.11);

    color: #fff !important;

    text-decoration: none !important;

    text-align: left;
}


.legal-sidebar .nav-item:visited,
.legal-sidebar .nav-item:hover,
.legal-sidebar .nav-item:active {
    color: #fff !important;

    text-decoration: none !important;
}


.legal-sidebar .nav-item:hover {
    background:
        rgba(255, 255, 255, 0.07);
}


.legal-sidebar .nav-item--active {
    background:
        rgba(255, 255, 255, 0.14);
}


/* active white line */

.legal-sidebar .nav-item::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 4px;

    background: #fff;

    transform: scaleY(0);

    transition:
        transform 0.3s ease;
}


.legal-sidebar .nav-item--active::before {
    transform: scaleY(1);
}


.legal-sidebar .nav-item__number {
    font-size: 10px;

    letter-spacing: 0.14em;

    opacity: 0.45;

    text-decoration: none !important;
}


.legal-sidebar .nav-item__label {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.11em;

    text-decoration: none !important;
}


/* ==========================================================
   IMPRESSUM BUTTON AT BOTTOM
========================================================== */

.sidebar__legal-bottom {
    width: 100%;

    min-height: 72px;

    display: flex;
    align-items: center;

    padding:
        20px
        30px;

    background:
        rgba(255, 255, 255, 0.03);

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    color:
        rgba(255, 255, 255, 0.76) !important;

    text-decoration: none !important;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.sidebar__legal-bottom:hover,
.sidebar__legal-bottom--active {
    background:
        rgba(255, 255, 255, 0.14);

    color: #fff !important;
}


/* ==========================================================
   DATENSCHUTZ CENTRE
========================================================== */

.privacy-hero {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 250px;
    right: 0;

    z-index: 5;

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

    padding:
        60px
        7vw;

    text-align: center;
}


.privacy-hero__content {
    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


.privacy-hero__title {
    margin: 0;

    color: #fff;

    font-size:
        clamp(
            4rem,
            7vw,
            7.5rem
        );

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);
}


.privacy-hero__text {
    max-width: 800px;

    margin-top: 28px;

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        clamp(
            0.82rem,
            1.15vw,
            1.05rem
        );

    font-weight: 500;

    line-height: 1.55;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.privacy-hero__link {
    position: relative;

    display: inline-block;

    margin-top: 14px;

    padding-bottom: 5px;

    color: #fff !important;

    text-decoration: none !important;

    font-size: 14px;
}


.privacy-hero__link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        rgba(255, 255, 255, 0.75);

    transform: scaleX(0);

    transition:
        transform 0.3s ease;
}


.privacy-hero__link:hover::after {
    transform: scaleX(1);
}


/* ==========================================================
   IMPRESSUM PAGE
========================================================== */

.impressum-page {
    min-height: 100vh;

    height: auto;

    overflow-x: hidden;
    overflow-y: auto;
}


/*
   LEFT photo remains visible.
   Right panel scrolls naturally.
*/

.impressum-panel {
    position: relative;

    z-index: 5;

    width: 58%;

    min-height: 100vh;

    margin-left: 42%;

    background:
        rgba(245, 244, 239, 0.98);

    color: #20242d;
}


.impressum-panel__inner {
    width: 100%;
    max-width: 850px;

    padding:
        90px
        clamp(55px, 7vw, 115px)
        130px;
}


.impressum-panel .legal-document__label {
    margin-bottom: 25px;

    color: #777;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.2em;
}


.impressum-panel h1 {
    margin:
        0
        0
        55px;

    color: #20242d;

    font-size:
        clamp(
            3rem,
            5vw,
            5.5rem
        );

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -0.05em;
}


.impressum-block {
    margin-bottom: 55px;
}


.impressum-block h2 {
    margin-bottom: 18px;

    color: #272c35;

    font-size:
        1.45rem;

    font-weight: 700;
}


.impressum-block p {
    margin: 0;

    color: #70757e;

    font-size: 15px;

    line-height: 1.7;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1200px) {

    .legal-sidebar {
        width: 190px;
    }


    .privacy-hero {
        left: 190px;
    }


    .impressum-panel {
        width: calc(100% - 38%);

        margin-left: 38%;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .legal-sidebar {
        display: none;
    }


    .privacy-hero {
        left: 0;

        padding:
            40px
            24px;
    }


    .privacy-hero__title {
        font-size:
            clamp(
                3.2rem,
                14vw,
                5rem
            );
    }


    .privacy-hero__text {
        font-size: 0.78rem;

        letter-spacing: 0.09em;
    }


    .impressum-panel {
        width: 100%;

        margin-left: 0;
    }


    .impressum-panel__inner {
        padding:
            65px
            26px
            100px;
    }

}