/* ////// NEUES OVERLAY MENU ////// */

#navigationWrap {
     display: none;
     width: 100%;
     min-height: 100%;
     height: 100%;
     opacity: 0;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
     z-index: 1005;
     background: #14161b;
}

nav {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
     background: #14161b;
     z-index: 1005;
    transform: translate3d(-100%, 0, 0);
}

nav section {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 3;
}	

.skew{
    -webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    -moz-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    -ms-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    -o-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.vertical {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    -moz-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    -ms-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    -o-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.skewback {
    -webkit-clip-path: polygon(0 0, -100% 0, 100% 100%, 0 100%);
    -moz-clip-path: polygon(0 0, -100% 0, 100% 100%, 0 100%);
    -ms-clip-path: polygon(0 0, -100% 0, 100% 100%, 0 100%);
    -o-clip-path: polygon(0 0, -100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, -100% 0, 100% 100%, 0 100%);

}

nav h4, nav p, nav a {
    color: #fff;
}

nav h4 {
    position: relative;
    margin-left: 20px;
}

.h4over-1, .h4over-2, .h4over-3 {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

nav .grid {
    width: 75%;
    justify-content: center;
    z-index: 3;
}

nav .grid a {
    font-size: min(max(16px, 1.2vw), 25px);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    margin: 25px 0;
    padding: 10px 20px;
    white-space: nowrap;
    transition: all ease 0.5s;
}

nav a.button {
    border: none;
    color: #fff;
    float: none;
    border: solid 0px #272c35 !important;
    opacity: 0;
}

nav a.button:before {
    display: none;
}

nav .button-over:after, nav .button-over:before {
    background: #fff;
}

nav .button:hover .button-content {
    color: #272d35;
}


nav .grid-1-1, nav .grid-2-1 {
    border-right: solid 1px #495056;
}

nav .grid-1-1, nav .grid-2-1, nav .grid-3-1 {
    padding: 0 4vw;
}

#navigationWrap .logo a {
    color: #868079;
}

nav ul {
     list-style-type: none;
     padding: 0;
     margin-left: 0;
}

nav img.logo {
    width: 80px;
    position: absolute;
    left: 5em;
    top: 4em;
}

a.home {
    color: #fff;
    position: absolute;
    left: 22em;
    top: 7em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5em;
}

nav .kontakt {
    position: absolute;
    right: 5em;
    bottom: 3em;
    z-index: 3;
}

.kontakt p, .kontakt a {
    line-height: 1;
    font-size: 14px;
    text-align: right;
    display: block;
}

.menu-container {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    text-align: center;
}

.menu-container nav {
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}

.navbar {
     position: fixed;
     top: 20px;
     left: 20px;
     width: 45px;
     height: 45px;
     z-index: 20;
     cursor: pointer;
}
.close {
     display: none;
     opacity: 0;
     position: fixed;
     top: 20px;
     left: 20px;
     width: 45px;
     height: 45px;
     z-index: 20;
     cursor: pointer;
}




/* ////// GSAP NAVIGATION ////// */

.navigation-menu {
  position: fixed;
  top: -200%;
  left: 0;
  height: 100%;
  width: 100%;
  min-height: 100vh;
  z-index: 10000;
}

.navigation-container {
    position: relative;
    display: block;
    float: left;
    height: 100%;
}

.navigation-menu .logo {
    position: absolute;
    left: 5%;
    top: 2em;
    width: 10vw;
    opacity: 0;
}

.navigation-menu .navigation-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.navigation-menu .navigation-bg.one {
  width: 4px;
  background-color: rgba(255,0,0,0.9);
}

.navigation-menu .navigation-bg.two {
  width: 0;
background: rgb(60,70,80);
background: -moz-linear-gradient(90deg, rgba(60,70,80,1) 0%, rgba(33,41,52,1) 100%);
background: -webkit-linear-gradient(90deg, rgba(60,70,80,1) 0%, rgba(33,41,52,1) 100%);
background: linear-gradient(90deg, rgba(60,70,80,1) 0%, rgba(33,41,52,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3c4650",endColorstr="#212934",GradientType=1);
}

.navigation-menu .navigation-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.navigation-menu .nav-inner {
  position: relative;
  text-align: right;
}

.navigation-menu .nav-inner .nav-link {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
}




/* ////// BESTEHENDE MENU KLASSEN ////// */

/* ///// NAVIGATION ///// */


#responsive-navigation ul.menu li {
    transform: translateY(-40px);
    opacity: 0;
    float: none;
}

#responsive-navigation ul.menu a, #responsive-navigation span.separator {
    font-size: 1.5em;
    display: block;
    padding: 5px;
    margin: 0;
    color: #868079;
    background: transparent;
    text-align: center;
    transition: all ease .5s;
}

#responsive-navigation ul.menu a:hover, #responsive-navigation span.separator:hover {
    color: #ea0744;
}

#responsive-navigation span.separator:before,
#responsive-navigation-fadein span.separator:before {
    top: 50%;
    right: -15px;
    transform: translate(0, -50%);
}

#responsive-navigation ul.menu span.separator.aktiv:before {
    transform: rotate(180deg) translate(0, 50%);
}

#responsive-navigation li.current.active a {
    color: #867f79;
    font-family: "ah-bold";
}

#responsive-navigation ul.nav-child.unstyled.small {
    position: relative;
	margin-left: 0;
    padding: 0 0% 6% 6%;
}

#responsive-navigation ul.menu li ul.nav-child.unstyled.small li {
    border-bottom: 0px;
}

#responsive-navigation ul.menu li ul.nav-child.unstyled.small li ul {
    left: 5%;
}

#responsive-navigation ul.nav-child.unstyled.small li a,
#responsive-navigation ul.nav-child.unstyled.small li span.separator {
    padding: 3% 10%;
    font-size: 1rem;
}



/* /// STICKY /// */

#sticky, #sticky-fadein, #sticky-reverse, #sticky-reverse-fadein {
    position: absolute;
    width: 60px;
    height: auto;
    z-index: 1008;
    top: 5em;
    right: 4em;
    cursor: pointer;
    transition: all .3s ease-out;
    display: block;
}

#sticky-fadein, #sticky-reverse-fadein {
    position: fixed;
    top: -100px;
	visibility: hidden;
    transition: all 1s ease 0s;
}

#sticky-fadein.active, #sticky-reverse-fadein.active {
    top: 20px;
	visibility: visible;
}


#sticky-close {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1006;
    top: 6%;
    right: 7%;
    cursor: pointer;
    transition: all .3s ease-out;
    display: block;
}

.btn svg {
    position: absolute;
    left: -20px;
    top: -22px;
}


#hamburger, #hamburger-fadein {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 7px;
    transition: all ease .5s;
}

.hamburger .line1 {
    width: 35px;
    height: 2px;
    background-color: #ffffff;
    display: block;
    margin: 4px 0;
    float: right;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger .line1:nth-child(1) {
    width: 45px;
}

.hamburger .line2 {
    width: 40px;
    height: 3px;
    background-color: #868079;
    display: block;
    margin: 4px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#sticky.light .hamburger .line1 {
    background-color:#272c35;
}
#sticky.dark .hamburger .line1 {
    background-color:#fff;
}

#sticky.subpages .hamburger .line1 {
    background-color:#272c35;
}

#sticky.subpages.dark .hamburger .line1 {
    background-color:#ffffff;
}

#sticky.subpages.light .hamburger .line1 {
    background-color:#272c35;
}

.hamburger:hover, .hamburger-home:hover {
  cursor: pointer;
}

#hamburger.is-active .line1:nth-child(1) {
    background-color: #ffffff;
    -webkit-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -o-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
    width: 40px;
    height: 2px;
    -webkit-animation: none;
    animation: none;
}

#sticky.subpages.light #hamburger.is-active .line1:nth-child(1) {
    background-color: #fff;
}

#header-fadein #hamburger.is-active .line1:nth-child(1) {
    -webkit-transform: translateY(6px) rotate(45deg);
    -ms-transform: translateY(6px) rotate(45deg);
    -o-transform: translateY(6px) rotate(45deg);
    transform: translateY(6px) rotate(45deg);
    width: 30px;
}

#hamburger.is-active .line1:nth-child(2) {
    background-color: #ffffff;
    -webkit-transform: translateY(-1px) rotate(-45deg);
    -ms-transform: translateY(-1px) rotate(-45deg);
    -o-transform: translateY(-1px) rotate(-45deg);
    transform: translateY(-1px) rotate(-45deg);
    width: 40px;
    height: 2px;
    -webkit-animation: none;
    animation: none;
}

#sticky.subpages.light #hamburger.is-active .line1:nth-child(2) {
    background-color: #fff;
}

#header-fadein #hamburger.is-active .line1:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
    width: 40px;
}


#hamburger.is-active .line2:nth-child(2), #hamburger-fadein.is-active .line2:nth-child(2) {
    opacity: 0;
}



#header-fadein .hamburger .line1, #header-fadein .hamburger .line2 {
    width: 40px;
    margin: 4px auto;
}




/* /// RESPONSIVE /// */


@media (max-width: 1100px) {

#navigation {
    display: none;
}

#sticky, #sticky-fadein {
    display: block;
}

}