@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    /*background: #476e95;*/
}

html img, body img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html ::-moz-focus-inner,
body ::-moz-focus-inner {
border: 0;
}

html :focus,
body :focus {
outline: none;
}

/***/


:root {
    --preloader-color: #476e95;
    --content-width: 1000px;
    --content-padding: 40px;
    --color1: #C8AA22;
    --color2: #e1d189;
    --header-height: 60px;
    --footer-height: 44px;
    --app-height: 100vh;
}

@keyframes animationPreloaderRotation {
    0% {
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: rotate(360deg);
    }
}

.preloader {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;

    opacity: 1;

    transition: opacity 0.5s;

    background-color: var(--preloader-color);
}

.preloaderImage {
    position: absolute;

    left: calc(50% - 50px);
    top: calc(50% - 50px);

    width: 100px;
    height: 100px;

    animation-fill-mode: forwards;

    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: animationPreloaderRotation;
    animation-duration: 2.0s;
    animation-delay: 0.0s;
}

.animation {
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

.site * {
    position: relative;

    margin: 0;
    padding: 0;

    pointer-events: none;
    user-select: none;
    box-sizing: border-box;
}

.site {
    position: relative;

    width: 100%;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    background-color: rgba(71, 110, 149, 1);

    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: white;

    overflow: hidden;
}

.fixed-container {
    position: absolute;

    left: 0px;
    top: 0px;

    width: 100%;
    height: 100%;


    pointer-events: none;
}

.final-container {
    position: absolute;

    pointer-events: none;

    opacity: 0;

    left: 0px;
    bottom: 5%;

    width: 100%;
    padding-left: 25dvw;
    padding-right: 25dvw;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    transition-property: opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}

.button-container {
    position: absolute;

    left: 0px;
    bottom: 5%;

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

.button-container img {
    position: relative;
    width: 42px;
    height: 42px;
}

.state_site_phase2 .background-overlay {
    opacity: 0;
}

.state_site_phase2out .background-overlay {
    opacity: 0;
}

.videoContainer {
    position: absolute;

    opacity: 1;

    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    overflow: hidden;

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.videoContainer video {
    width: 1366px;
    height: 768px;
}

.state_site_phase3 .videoContainer {
    display: block;
    opacity: 1;
}

.videoBlend {
    position: absolute;
}
.videoBlend:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(71, 110, 149, 1) 0%, rgba(71, 110, 149, 0) 100%);
}
.videoBlend:nth-child(2) {
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(71, 110, 149, 1) 0%, rgba(71, 110, 149, 0) 100%);
}
.videoBlend:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(0deg, rgba(71, 110, 149, 1) 0%, rgba(71, 110, 149, 0) 100%);
}
.videoBlend:nth-child(4) {
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(270deg, rgba(71, 110, 149, 1) 0%, rgba(71, 110, 149, 0) 100%);
}

.hotspot {
    position: absolute;

    pointer-events: all;

    width: 34px;
    height: 34px;
    cursor: pointer;

    transition-property: transform, background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;

    transform: scale(0);
}

.hotspot:hover {
    transform: scale(1.5);
}

.activeHotspot {
    transform: scale(1.0);
}

.hotspot:hover > .hotspotCircle {
    background-color: #f1c66a;
}

.hotspot img {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 16px;
    height: 16px;

    transform: translate(-50%, -50%);
}

.hotspotCircle {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #C8AA22;
    border-radius: 17px;

    animation-name: bubble;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;

    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

@keyframes bubble {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}

.hotspot-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.content-container {

}

.hotspot-content-container {
    position: absolute;

    left: 600px;
    top: 500px;

    perspective: 500px;
}

.headline-container {
    position: absolute;

    opacity: 1;

    left: 50%;
    top: 10%;

    transform: translateX(-50%) translateY(-50%);

    width: calc(100% - (var(--content-padding) * 2));

    text-align: center;

    transition-property: opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}

.intro-container {
    position: absolute;
    left: 50%;
    top: 0px;

    width: 100%;
    max-width: 2400px;
    height: 100%;

    opacity: 0;

    transform: translateX(-50%);

    transition-property: transform, opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}

.intro-container-active {
    opacity: 1;
}

.intro-bubble {
    position: absolute;
    opacity: 0;


    left: var(--content-padding);
    top: 50%;

    transform: translateY(-50%);

    width: 20vw;
    max-width: 500px;

    border-radius: 10px;

    background-color: #ffffff;

    padding: var(--content-padding);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;

    transition-property: transform, opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}

.intro-bubble-active {
    opacity: 1;
}



.intro-bubble::before {
    position: absolute;

    display: block;

    content: "";

    right: -10px;
    top: calc(50% - 15px);

    width: 30px;
    height: 30px;

    transform: rotate(45deg);

    background-color: #ffffff;
}

.intro-bubble p {
    color: #999999;
}


.intro-close {
    position: absolute;

    display: none;

    right: 12px;
    top: 12px;

    width: 20px;
    height: 20px;

    cursor: pointer;
    pointer-events: all;
}

.intro-close::before {
    position: absolute;

    display: block;

    content: "";

    width: 200%;
    height: 200%;

    left: -50%;
    top: -50%;
}

.hotspot-content {
    position: absolute;

    display: none;

    opacity: 0;

    left: -10px;
    top: 0px;

    width: 100vw;
    max-width: 400px;

    border-radius: 15px;

    padding: 24px;

    background-color: #c7aa21;

    transform: translateY(-50%) scale(0.8) rotateY(30deg);

    transition-property: transform, opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;

    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;

    pointer-events: none;
}

.hotspot-content-active-left {
    display: flex;
    right: 40px;
    left: auto;
    top: 0px;
    transform: translateY(-50%) scale(1) rotateY(0deg);
    opacity: 1;

    pointer-events: all;
}

.hotspot-content-active-left::before {
    position: absolute;

    display: block;

    content: "";

    right: -10px;
    top: calc(50% - 15px);

    width: 30px;
    height: 30px;

    transform: rotate(45deg);

    background-color: var(--color1);
}

.hotspot-content-active-right {
    display: flex;
    left: 40px;
    top: 0px;
    transform: translateY(-50%) scale(1) rotateY(0deg);
    opacity: 1;

    pointer-events: all;
}

.hotspot-content-active-right::before {
    position: absolute;

    display: block;

    content: "";

    left: -10px;
    top: calc(50% - 15px);

    width: 30px;
    height: 30px;

    transform: rotate(45deg);

    background-color: var(--color1);
}

.hotspot-close {
    position: absolute;

    right: 12px;
    top: 12px;

    width: 20px;
    height: 20px;

    cursor: pointer;
    pointer-events: all;
}

.hotspot-close::before {
    position: absolute;

    display: block;

    content: "";

    width: 200%;
    height: 200%;

    left: -50%;
    top: -50%;
}

.sprechblase-gfx {
    position: absolute;

    right: -30px;
    top: 0px;

    width: 40px;
    height: 48px;
}

.header-logo-container {
    position: absolute;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;

    opacity: 0;

    right: 0px;
    top: 0px;

    height: 90px;

    animation-fill-mode: forwards;
    animation-name: blendIn;
    animation-duration: 0.5s;
    animation-delay: 0s;
    animation-timing-function: ease;
}

.header-logo {
    position: relative;

    right: 40px;
    top: 40px;

    height: 70px;
}

.content-screen {
    display: flex;
    opacity: 0;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    transition-property: opacity;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

@keyframes blendIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blendOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.scroll-indicator {
    position: absolute;

    opacity: 0;

    left: 50%;
    bottom: 10%;

    width: 40px;
    height: 20px;

    transform: translateX(-50%);

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.scroll-indicator-active {
    opacity: 1;
}

.scroll-indicator img {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.dragger {
    position: absolute;

    left: 0px;
    top: 0px;

    width: 100%;
    height: 100%;
}

.dragger-active {
    cursor: grab;
    pointer-events: all;
}

.dragger-active:active {
    cursor: grabbing;
}



.drag-indicator {
    position: absolute;

    opacity: 0;

    left: 50%;
    bottom: 15%;

    width: 40px;
    height: 20px;

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.drag-indicator-active {
    opacity: 1;
}

.drag-square-container {
    position: absolute;

    width: 40px;
    height: 40px;

    transform: scaleY(0.5);
}

.drag-square {
    position: absolute;

    left: -20px;
    top: -20px;

    width: 40px;
    height: 40px;

    background-color: #ffffff;

    animation-name: animationDragSquare;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.drag-arrows {
    position: absolute;

    left: -80px;
    top: -80px;

    width: 160px;
    height: 160px;

    animation-name: animationDragSquare;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes animationDragSquare {
    0% {
        transform: rotate(45deg);
    }
    10% {
        transform: rotate(45deg);
    }
    40% {
        transform: rotate(135deg);
    }
    60% {
        transform: rotate(135deg);
    }
    90% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

.drag-hand {
    position: absolute;

    left: -22px;

    top: 20px;

    width: 44px;
    height: 48px;

    background-position: -44px 0px;
    background-size: 500px 500px;

    transform-origin: 50% -30px;

    animation-name: animationDragHand;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.scene-navigation {
    position: absolute;

    right: var(--content-padding);
    top: 50%;

    pointer-events: all;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.scene-navigation-item {
    position: relative;

    width: 120px;
    height: 30px;
    border-radius: 20px;

    background-color: #ffffff;

    cursor: pointer;
    pointer-events: all;

    transition-property: background-color, width, color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;

    text-align: center;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555555;

    padding-top: 2px;
}

.scene-navigation-item::before {
    position: absolute;

    display: block;

    content: "";

    width: 200%;
    height: 200%;

    left: -50%;
    top: -50%;
}

.scene-navigation-item:hover {
    color: #000000;
}

.scene-navigation-item-active {
    color: #ffffff;
    background-color: var(--color1);
}

.info-container {
    position: absolute;
    opacity: 0;

    left: 0px;
    top: 0px;

    width: 100%;
    height: 100%;

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.info-container-active {
    opacity: 1;
}

.info-button {
    position: absolute;

    opacity: 1;

    display: none;

    left: 40px;
    top: 67%;

    pointer-events: all;
    cursor: pointer;
    width: 42px;
    height: 42px;

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.info-button-active {
    opacity: 0;
}
.hb-header {
    position: relative;

    width: 100%;
    height: var(--header-height);

    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hb-header img {
    position: relative;
    width: auto;
    height: 26px;
}
.hb-header p {
    font-family: Arial, sans-serif;
    font-size: 12px !important;
    line-height: 10px;
    padding: 0;
    color: #000000;
    margin: 0;
}
.hb-footer {
    position: relative;

    width: 100%;
    height: var(--footer-height);

    background-color: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.hb-footer p {
    font-family: Arial, sans-serif;
    font-size: 12px !important;
    line-height: 10px;
    padding: 0;
    color: #000000;
    margin: 0;
}

@keyframes animationDragHand {
    0% {
        transform: translateX(40px) rotate(10deg);
        background-position: 0px 0px;
    }
    10% {
        transform: translateX(40px) rotate(10deg);
        background-position: 0px 0px;
    }
    10.01% {
        transform: translateX(40px) rotate(10deg);
        background-position: -44px 0px;
    }
    40% {
        transform: translateX(-40px) rotate(-10deg);
        background-position: -44px 0px;
    }
    40.01% {
        transform: translateX(-40px) rotate(-10deg);
        background-position: 0px 0px;
    }
    60% {
        transform: translateX(-40px) rotate(-10deg);
        background-position: 0px 0px;
    }
    60.01% {
        transform: translateX(-40px) rotate(-10deg);
        background-position: -44px 0px;
    }
    90% {
        transform: translateX(40px) rotate(10deg);
        background-position: -44px 0px;
    }
    90.01% {
        transform: translateX(40px) rotate(10deg);
        background-position: 0px 0px;
    }
    100% {
        transform: translateX(40px) rotate(10deg);
        background-position: 0px 0px;
    }
}

@media (max-width: 768px) {

    :root {
        --preloader-color: #476e95;
        --content-width: 100%;
        --content-padding: 20px;
        --color1: #C8AA22;
        --color2: #e1d189;
        --header-height: 60px;
        --footer-height: 73px;
        --app-height: 100vh;
    }

    .site {
        height: var(--app-height);
        height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--header-height) - var(--footer-height));
    }

    @keyframes animationDragHand {
        0% {
            transform: translateX(40px) rotate(10deg);
            background-position: -88px 0px;
        }
        10% {
            transform: translateX(40px) rotate(10deg);
            background-position: -88px 0px;
        }
        45% {
            transform: translateX(-40px) rotate(-10deg);
            background-position: -88px 0px;
        }
        45.01% {
            transform: translateX(-40px) rotate(-10deg);
            background-position: -88px 0px;
        }
        55% {
            transform: translateX(-40px) rotate(-10deg);
            background-position: -88px 0px;
        }
        55.01% {
            transform: translateX(-40px) rotate(-10deg);
            background-position: -88px 0px;
        }
        100% {
            transform: translateX(40px) rotate(10deg);
            background-position: -88px 0px;
        }
        90% {
            transform: translateX(40px) rotate(10deg);
            background-position: -88px 0px;
        }
    }


    .intro-container {
        position: absolute;
        left: 0px;
        top: auto;
        bottom: 0;

        width: 100%;
        height: auto;

        transform: translateX(0px);

        padding: 0px;
    }

    .intro-bubble {
        position: relative;

        left: auto;
        top: auto;
        bottom: auto;

        border-radius: 0px;
        transform: translateY(0px);

        width: 100%;
        padding: calc(var(--content-padding) * 2);

        gap: 10px;
    }

    .intro-bubble::before {
        right: calc(50% - 15px);
        top: -10px;
    }

    .videoContainer {
        left: 50%;
        top: 50%;
    }

    .videoContainer video {
        width: calc(1366px * 0.65);
        height: calc(768px * 0.65);
    }

    .header-logo-container {
        gap: 0px;

        height: 90px;
    }

    .header-logo {
        right: 10px;
        top: 10px;

        width: 60px;
        height: 30px;
    }

    .scene-navigation-item {
        width: 14px;
        height: 14px;
        border-radius: 7px;

        font-size: 0;
    }

    .headline-container {
        left: 50%;
        top: 60px;

        transform: translateX(-50%) translateY(0px);
    }



    .hotspot {
        width: 20px;
        height: 20px;
    }

    .hotspot:after {
        position: absolute;

        content: "";

        display: inline-block;

        left: -10px;
        top: -10px;

        width: 40px;
        height: 40px;

        pointer-events: all;
    }

    .hotspot img {
        width: 10px;
        height: 10px;
    }

    .hotspot-content-container {
        position: absolute;

        left: 0px;
        top: 0px;

        width: 100%;
        height: 100%;

        perspective: 500px;
    }

    .hotspot-content {
        left: 0px;
        top: 0px;

        width: calc(100vw - (var(--content-padding) * 5));

        transform: translateY(-50%) scale(0.8) rotateY(30deg);
    }

    .hotspot-content-active-left {
        right: auto;
        left: 50%;
        top: 50%;
        transform: translateY(-50%)  translateX(-50%) scale(1) rotateY(0deg);
    }

    .hotspot-content-active-left::before {
        display: none;
    }

    .hotspot-content-active-right {
        right: auto;
        left: 50%;
        top: 50%;
        transform: translateY(-50%)  translateX(-50%) scale(1) rotateY(0deg);
    }

    .hotspot-content-active-right::before {
        display: none;
    }

    .drag-indicator {
        top: calc(50% + 120px);
        bottom: auto;

        transform: scale(0.5);
    }

    .button-container {
        margin-bottom: 16px;
        margin-bottom: env(safe-area-inset-bottom);
    }

    .info-button {
        display: block;
    }

    .button-container img {
        width: 42px;
        height: 42px;
    }



    .intro-bubble-active {
        opacity: 0;
    }

    .intro-close {
        display: block;
    }
}

@media (max-aspect-ratio: 16/9) {
    /*
    .videoContainer {
        width: 100vw;
        height: calc(100vw * 0.5625);
    }

     */
}

@media (min-width: 1550px) {
    .videoContainer video {
        width: 1920px;
        height: 1080px;
    }

    .intro-bubble p {
        font-size: 0.9em;
    }
}

@media (min-width: 2000px) {
    .videoContainer video {
        width: 2560px;
        height: 1440px;
    }
}