/* ------------------------------ */
/* ----------- Header ----------- */
/* ------------------------------ */

header {
    position: relative;
    min-height: var(--height-header); 
}
 
.site_header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--height-header);
    -webkit-transition: var(--transition-2);
    -o-transition: var(--transition-2);
    transition: var(--transition-2);
}
 
.page-scrolled .site_header {
     top: calc(-1* var(--height-header));
     background-color: var(--brand-white);
     -webkit-box-shadow: var(--box-shadow);
     box-shadow: var(--box-shadow);
     -webkit-transition: var(--transition-2);
    -o-transition: var(--transition-2);
    transition: var(--transition-2);
}

.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__inside {
     width: 100%;
}
 
.site_header__row {
     margin-left: 0;
     margin-right: 0;
}

.site_logo {
    line-height: 1;
    z-index: 15;
}
   
.site_logo a {
     display: inline-block;
}

.site_logo svg .farm {
    fill: var(--brand-green-dark);
}

.site_logo svg .brown {
    fill: var(--brand-brown);
}

.site_logo svg .white {
    fill: var(--brand-white);
}

body:not(.page-scrolled):not(.menu-active) .header--cover .site_logo svg .letter, body:not(.page-scrolled):not(.menu-active) .header--no-cover .site_logo svg .letter,
body.menu-active.menu-closing:not(.page-scrolled) .site_logo svg .letter, body.menu-active.menu-closing:not(.page-scrolled) .header--no-cover .site_logo svg .letter {
    fill: var(--brand-white);
    -webkit-transition: var(--transition-2);
    -o-transition: var(--transition-2);
    transition: var(--transition-2);
}

body.page-scrolled .site_logo svg .letter, body.menu-active .site_logo svg .letter {
    fill: var(--brand-brown);
    -webkit-transition: var(--transition-2);
    -o-transition: var(--transition-2);
    transition: var(--transition-2);
}



/* ------------------------------ */
/* ---- Headerimage / -video ---- */
/* ------------------------------ */

.site_cover {
    position: relative;
    z-index: 1;
    max-width: 1920px;
    margin: 0 auto;
}


.site_cover__container {
   position: relative;
   height: 100%;
   width: 100%;
}

.header--cover-big .site_cover {
    height: 100vh;
    height: var(--app-height);
}

.site_cover__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-brown);
}

.site_cover__media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.header--cover-big .site_cover__media::before {
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
  
.site_cover .video_container.is-playing .picture_container {
    opacity: 0;
}

.site_cover__headline {
    position: relative;
    z-index: 3;
    height: 100%;
    margin: 0;
}

.headline__container {
    width: 100%;
}

.headline__container span, .headline__container h1, .headline__container .button {
    max-width: 800px;
}

.headline__container .headline__title, .headline__container .headline__supertitle {
    max-width: 1000px;
    line-height: var(--line-height-2);
    color: var(--brand-white);
}

.headline__container .headline__title {
    margin-bottom: 0;
}

.headline__container .headline__supertitle {
    font-size: var(--font-size-4);
    font-family: var(--brand-font);
    margin-bottom: 5px;
}

.site_cover--video .video_container .picture_container {
    z-index: 1;
}
  
.site_cover--video #video_player.is-playing + .picture_container {
    opacity: 0;
}



/* Bottom */
.site_cover__bottom {
    position: absolute;
    left: 0;
    bottom: -75px;
    width: 100%;
    z-index: 10;
    transition-delay: .5s !important;
}

.site_cover__bottom__container {
    position: relative;
    margin: 0 auto;
}

.site_cover__bottom .icon--circle {
    -webkit-animation: circle_rotation 30s linear infinite;
            animation: circle_rotation 30s linear infinite;
}

.site_cover__bottom span {
    display: inline-block;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    max-width: 110px;
    width: 100%;
    line-height: var(--line-height-2);
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    color: var(--brand-white);
    -webkit-transition: opacity var(--transition-2);
    -o-transition: opacity var(--transition-2);
    transition: opacity var(--transition-2);
}

.no-touchevents .site_cover__bottom:hover span {
    opacity: var(--opacity-2);
}

@-webkit-keyframes circle_rotation {
    from {
      -ms-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}

@keyframes circle_rotation {
    from {
      -ms-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}


/* ------------------------------ */
/* -------- Media Queries ------- */
/* ------------------------------ */

@media all and (min-width: 768px) {

    .header--cover-small .site_cover__media::before {
        height: 160px;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .site_cover__bottom span {
        font-size: var(--font-size-2);
    }

    .button--play .icon {
        top: 1px;
    }

    .header--cover-big .site_cover {
        min-height: 720px;
    }

}


@media all and (min-width: 992px) {

    .header::before {
        height: 20%;
    }

    .header--cover-small .site_cover {
        height: 65vh;
        height: calc(var(--app-height) * .65);
    }

}


@media all and (min-width: 1240px) {

    .site_header {
        padding: var(--spacing-1) 0;
    }
    
    .header--cover-small .site_cover {
        min-height: 450px;
    }

}


@media all and (min-width: 1400px) {

    .headline__container .headline__title + .button {
        margin-top: var(--spacing-5);
    }

    .site_cover__bottom span {
        top: 42%;
    }

}


@media all and (min-width: 1600px) {

    .site_cover__bottom__container, .icon--circle {
        width: 226px;
        height: 226px;
    }

}


@media all and (min-width: 2100px) {
  
    .headline__container .headline__title, .headline__container .headline__supertitle {
      max-width: 1400px;
    }

    .headline__container .headline__title {
        font-size: 70px;
    }
  
}


@media all and (max-width: 1599.98px) and (min-width: 1400px) {

    .site_cover__bottom__container, .icon--circle {
        width: 216px;
        height: 216px;
    }

}


@media all and (max-width: 1399.98px) and (min-width: 768px) {

    .site_cover__bottom__container, .icon--circle {
        width: 200px;
        height: 200px;
    }

    .site_cover__bottom span {
        top: 40%;
    }

}


@media all and (max-width: 1399.98px) and (min-width: 768px) {

    .site_logo svg {
        width: 120px;
        height: 85px;
    }

    .headline__container .headline__title + .button {
        margin-top: var(--spacing-4);
    }

}


@media all and (max-width: 1239.98px) and (min-width: 992px) {

    .header--cover-small .site_cover {
        min-height: 420px;
    }

}


@media all and (max-width: 1239.98px) {

    .site_header {
        padding: var(--spacing-1) 0;   
    }

    .page-scrolled.menu-active .site_header {
        background-color: var(--brand-white);
    }

}

@media all and (max-width: 991.98px) and (min-width: 768px) {

    .site_cover__bottom__container, .icon--circle {
        width: 210px;
        height: 210px;
    }
    
    .header--cover-small .site_cover {
        height: 50vh;
        height: calc(var(--app-height) * .5);
        min-height: 400px;
    }

}


@media all and (max-width: 991.98px) {

    .header::before {
        height: calc(var(--height-header) + 5%);
    }

}


@media all and (max-width: 767.98px) {

    .header--cover-small .site_cover__media {
        position: relative;
        height: auto;
    }

    .header--cover-big .site_cover {
        min-height: 660px;
        max-height: 768px;
    }

    .header--cover-small .site_cover__media::before {
        height: 170px;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0)));
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .site_cover__bottom__container, .icon--circle {
        width: 180px;
        height: 180px;
    }

    .site_cover__bottom span {
        top: 68px;
        font-size: var(--font-size-1);
    }

    .site_cover:not(.site_cover--video) .picture_container--cover, .site_cover:not(.site_cover--video) .picture_container--cover picture,
    header:not(.header--cover-big) .site_cover .video_container--cover {
        position: relative;
        width: auto;
        height: auto;
    }

    header:not(.header--cover-big) .site_cover .video_container--cover {
        aspect-ratio: 768 / 500;
    }

}


@media all and (max-width: 767.98px) and (min-width: 390px) {

    .site_logo svg {
        width: 100px;
        height: 71px;
    }

    .headline__container .headline__title {
        font-size: 36px;
    }

}


@media all and (max-width: 389.98px) {

    .site_logo svg {
        width: 90px;
        height: 64px;
    }

}