/* ------------------------------ */
/* ----------- Header ----------- */
/* ------------------------------ */

header {
    min-height: var(--height-header); 
}
 
.site_header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--height-header);
    -webkit-transition: top var(--transition-2);
    -o-transition: top var(--transition-2);
    transition: top var(--transition-2);
}
 
.page-scrolled .site_header {
    top: calc(-1* var(--height-header));
}

.logged-in.page-scrolled .site_header {
    top: calc(-1* var(--height-header));
}

.page-scrolled.header-fixed .site_header, .page-scrolled.menu-open .site_header  {
     top: 0;
}

.logged-in .site_header, .logged-in.page-scrolled.header-fixed .site_header {
    top: 50px;
}
 
.site_header__row {
    margin-left: 0;
    margin-right: 0;
}

.site_logo, .site_logo a {
    line-height: 0;
}
   
.site_logo a {
    display: inline-block;
}

header.header--no-cover .site_logo svg path {
    fill: var(--brand-blue-screen);
}

header.header--cover .site_logo svg path {
    fill: var(--brand-cold-grey);
}



/* ------------------------------ */
/* ---- Headerimage / -video ---- */
/* ------------------------------ */

.site_cover {
    position: relative;
    z-index: 1;
}

.admin-bar .site_cover {
    margin-top: 50px;
}

.site_cover__container {
   position: relative;
   height: 100%;
   width: 100%;
}

.header--cover .site_cover {
    background-color: var(--brand-black);
}

.site_cover__headline {
    position: relative;
    z-index: 1;
    height: 100%;
    margin: 0;
}

.headline__container {
    width: 100%;
    text-align: right;
}

.headline__inside  {
    position: relative;
    overflow: hidden;
}

.headline__inside::after {
    content: "";
    position: absolute;
    width: 1px;
    background-color: var(--brand-blue-screen);
}

.headline__container h1 {
    position: relative;
    display: inline-block;
    padding-right: var(--spacing-7);
    margin-bottom: 0;
    font-size: var(--font-size-9);
    line-height: var(--line-height-3);
    color: var(--brand-cold-grey);
    -webkit-transition-delay: unset !important;
         -o-transition-delay: unset !important;
            transition-delay: unset !important;
}



/* Bottom */
.site_cover__bottom {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 6%;
    width: 100%;
}

.site_cover__bottom__icon {
    position: relative;
    max-width: 82px;
    margin: 0 auto;
    text-align: center;
    line-height: 0;
    -webkit-animation: MoveUpDown 2s linear infinite;
    animation: MoveUpDown 2s linear infinite;
}

@-webkit-keyframes MoveUpDown{
    0%,100%{ 
        -webkit-transform:translateY(0);
        transform:translateY(0);
    }
    
    50%{
        -webkit-transform:translateY(15px);
        transform:translateY(15px);
    }
}

@keyframes MoveUpDown{
    0%,100%{ 
        -webkit-transform:translateY(0);
        transform:translateY(0);
    }
    
    50%{
        -webkit-transform:translateY(15px);
        transform:translateY(15px);
    }
}

.no-touchevents .site_cover__bottom__icon svg {
    -webkit-transition: opacity var(--transition-2);
    -o-transition: opacity var(--transition-2);
    transition: opacity var(--transition-2);
}

.no-touchevents .site_cover__bottom__icon a:hover + svg {
    opacity: var(--opacity);
}



/* ------------------------------ */
/* -------- Media Queries ------- */
/* ------------------------------ */

@media all and (min-width: 992px) {
    
    .site_header__inside  {
        position: relative;
        z-index: 2;
    }

    .header--cover .site_cover {
        height: 100vh;
        height: 100svh;
    }

}

@media all and (min-width: 1240px) {

    .site_header {
        padding: 27px 0;
    }

    .site_logo {
        position: relative;
        top: -1px;
    }

    .macos .site_logo, .ios .site_logo {
        top: -2px;
    }  

    .site_header::after {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--height-header);
        padding-bottom: 0;
        -webkit-transition: padding-bottom var(--transition-2);
        -o-transition: padding-bottom var(--transition-2);
        transition: padding-bottom var(--transition-2);
    }
    
    header.header--no-cover .site_header::after {
        background-color: var(--brand-white);
    }
    
    header.header--cover .site_header::after {
        background-color: var(--brand-black);
        -webkit-transition-delay: .1s;
             -o-transition-delay: .1s;
                transition-delay: .1s;
    }

    .no-touchevents .site_header.site_header--submenu-active::after {
        -webkit-transition-delay: 0s;
             -o-transition-delay: 0s;
                transition-delay: 0s;
    }

}


@media all and (min-width: 1400px) {

    .site_meta {
        min-height: 42px;
    }

    .headline__inside::after {
        right: var(--spacing-9);
    }

    .header--cover .site_cover {
        min-height: 850px;
    }

    .headline__inside::after {
        top: 3px;
        height: calc(100% - 28px);
    }

    .macos .headline__inside::after, .ios .headline__inside::after {
        top: 14px;
    }

    .headline__container h1 {
        max-width: 992px;
    }

    .no-touchevents .site_header.site_header--submenu-active::after {
        padding-bottom: 195px;
    }

}


@media all and (max-width: 1399.98px) and (min-width: 992px) {

    .headline__inside::after {
        right: var(--spacing-8);
    }
  
}


@media all and (max-width: 1399.98px) and (min-width: 1240px) {

    .site_logo svg, .footer__logo svg {
        width: 183px;
        height: 28px;
    }

    .site_meta {
        min-height: 41px;
    }

    .header--cover .site_cover {
        min-height: 780px;
    }

    .headline__container h1 {
        max-width: 780px;
    }

    .headline__inside::after {
        top: 4px;
        height: calc(100% - 26px);
    }

    .no-touchevents .site_header.site_header--submenu-active::after {
        padding-bottom: 188px;
    }

}


@media all and (max-width: 1239.98px) {

    header.header--no-cover .site_header {
        background-color: var(--brand-white);
    }
    
    header.header--cover .site_header {
        background-color: var(--brand-black);
    }

}


@media all and (max-width: 1239.98px) and (min-width: 992px) {

    .site_header {
        padding: 28px 0 27px;
    }

    .site_logo svg, .footer__logo svg {
        width: 182px;
        height: 28px;
    }

    .header--cover .site_cover {
        min-height: 660px;
    }

    .headline__inside::after {
        top: 4px;
        height: calc(100% - 22px);
    }

    .headline__container h1 {
        max-width: 780px;
    }

}


@media all and (max-width: 991.98px) {

    .site_cover__media .picture_container--cover, .site_cover__media .picture_container--cover picture{
        position: relative;
        height: auto;
    }

}


@media all and (max-width: 991.98px) and (min-width: 576px) {

    header.header--cover {
        background-color: var(--brand-black);
    }

    .site_header {
        padding: 22px 0 21px;
    }

    .site_logo svg, .footer__logo svg {
        width: 169px;
        height: 26px;
    }

    .site_cover {
        padding-top: var(--height-header);
    }

    .site_cover__headline {
        padding: var(--spacing-13) 0;
    }

    .headline__inside::after {
        top: 3px;
        height: calc(100% - 16px);
    }

    .macos .headline__inside::after, .ios .headline__inside::after {
        top: 8px;
    }

    .headline__container h1 {
        max-width: 780px;
    }

}


@media all and (max-width: 576.98px) {

    header.header--cover {
        background-color: var(--brand-black);
    }

    .site_header {
        padding: 16px 0;
    }

    .site_logo svg, .footer__logo svg {
        width: 130px;
        height: 20px;
    }

    .site_cover {
        padding-top: var(--height-header);
    }

    .site_cover__headline {
        padding: var(--spacing-13) 0;
    }

    .headline__container h1 {
        padding-right: var(--spacing-5);
      }

    .headline__inside::after {
        top: 3px;
        height: calc(100% - 14px);
    }

    .macos .headline__inside::after, .ios .headline__inside::after {
        top: 8px;
    }

}