/* FONTS -------------------------------------- */

 @font-face {
    font-family: 'SimplonRegular';
    src: url('fonts/SimplonNorm-Regular-WebS.woff2') format('woff2'),
         url('fonts/SimplonNorm-Regular-WebS.woff') format('woff'),
         url('fonts/SimplonNorm-Regular-WebS.eot') format('eot'),
         url('fonts/SimplonNorm-Regular-WebS.ttf') format('ttf'),
         url('fonts/SimplonNorm-Regular-WebS.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


 @font-face {
    font-family: 'SimplonMonoRegular';
    src: url('fonts/SimplonMono-Regular-WebS.woff2') format('woff2'),
         url('fonts/SimplonMono-Regular-WebS.woff') format('woff'),
         url('fonts/SimplonMono-Regular-WebS.eot') format('eot'),
         url('fonts/SimplonMono-Regular-WebS.ttf') format('ttf'),
         url('fonts/SimplonMono-Regular-WebS.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}







/* GENERELLES -------------------------------------- */

::selection {
  background: transparent;
  outline: none; 
}


*{
  box-sizing: border-box;
}

*, h1, h2, li, img{
  text-decoration: none;
  font-style: normal;
  font-weight: 400;
  border: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  -webkit-font-smoothing: antialiased; /* Chrome, Safari */
  -moz-osx-font-smoothing: grayscale; /* Firefox */
  font-style: normal;
  font-weight: normal;
}

body{
  background: black;
  font-family: 'SimplonRegular', helvetica, arial, sans-serif;
  font-size: 2.05vw;
}

h1, h2, p, a, li{
  color: white;
}

a{
  display: inline;
}

a:link {            color: white; }
a:visited {         color: white; }
a:hover, a:focus {  color: white; }
a:active {          color: white; }

.single-page-nav .current, h2, a.current {
  color: black;
  -webkit-text-stroke: 1px white;
  text-stroke: 1px white;
  text-transform: uppercase;
}







/* SPEZIELLE ELEMENTE -------------------------------------- */

img{
  width: 100%;
  line-height: 0 !important;
}

.clear{
  clear: both;
}

.mobile-clear{
  clear: both;
  display: none;
}

.offset{
  display: none;
}

#top{
  margin-top: -1vw;
}







/* RASTER -------------------------------------- */

.grid-item, .grid-sizer{

  float: left;
  display: block;
  margin: 1vw;
  width: calc(100% - 2vw);
}

.col-1-1{
  width: calc(100% - 2vw);
}

.col-1-2{
  width: calc(50% - 2vw);
}

.col-1-3, .grid-sizer{
  width: calc(33.333% - 2vw);
}

.col-2-3{
  width: calc(66.667% - 2vw);
}

.col-1-4{
  width: calc(25% - 2vw);
}

.header-col-1-2{
  width: calc(100% - 2vw);
}







/* HEADER -------------------------------------- */

header{
  z-index: 3;
  width: calc(25% - 0.5vw);
  height: calc(100vh - 2vw);
  position: fixed;
  right: 0px;
  top: 0px;
  margin: 1vw;
  background: black;
}



/* NAVIGATION */

header li{
  text-transform: uppercase;
}

.adresse-fixed li, .adresse-unten li{
  font-family: 'SimplonMonoRegular', helvetica, arial, sans-serif;
}

.navigation, .lead, h2 {
  font-size: 2.7vw;
}

.adresse-fixed{
  position: absolute;
  bottom: 0;
}

.adresse-unten{
  display: none;
}

.iconbox{
  display: none;
}

.sprachen li{
  float: left;
}



/* NAV BURGER */

#nav-icon{
  transform: rotate(0deg);
  cursor: pointer;
}

#nav-icon{
  display: block;
  width: auto;
  opacity: 1;
  transform: rotate(0deg);
  transition: transform 0.5s;
}



#nav-icon.open{
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

#nav-icon{
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}



#pfeil, #pfeil2{
  transition: transform 0.5s;
}

.gedreht{
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}






/* WRAPPER -------------------------------------- */

.wrap{
  width: calc(75% - 1.5vw);
  margin: 1vw;
  overflow: hidden;
}

.wrap section{
  padding-top: 3.12vw;
}

.wrap section:first-child{
  padding-top: 0vw;
  min-height: 100vh;
}







/* HOME SECTION ---------------------------------------*/

#introduction{
  height: calc(100vh - 2vw);
  width: calc(75% - 1.5vw);
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.bg {
  background-image: url("../img/text-large.svg");
  height: calc(100vh - 4vw);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}






/* HOME FLICKITY ---------------------------------------*/

@keyframes launch-slide {
    from {opacity: 0}
    to {opacity: 1}
}

#homeslide {
    opacity: 0;
    animation-name: launch-slide;
    animation-delay: 2s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.carousel {
  z-index: 1;
}

.carousel-cell {
  width: 60%;
  height: calc(100vh - 4vw);
  margin-right: 50%;
}

.carousel-cell-image {
  display: block;
  max-height: 66.667%;
  width: auto;
  margin: auto;
  margin-top: calc(50vh - 2vw);
  transform: translateY(-50%);
}













/* PRESTATIONS ---------------------------------------*/

#prestations p{
  position: absolute;
  padding: 0.5vw 0.75vw 0 0;
  bottom: 0;
  left: 0;
  background: black;
}



/* MASONRY ---------------------------------------*/

/* CLEAR FIX */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.gallery, .maschinen{
  margin-bottom: 3vw;
}



.image{
  cursor: zoom-in;
  border-bottom: 0vw solid black;
  border-top: 0vw solid black;
  transition: all 0.2s;
}

.big{
  width: calc(100% - 2vw) !important;
  position: absolute !important;
  left: 0 !important;
  z-index: 2;
  cursor: zoom-out;
    margin-top: -1vw;
  border-bottom: 2vw solid black;
  border-top: 2vw solid black;
  transition: all 0.2s;
}




/* DROPDOWN JAVASCRIPT */

.dropdown{

}

.dropbtn {
    background: black;
    color: white;
    padding: 0.5vw;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: 'SimplonRegular', helvetica, arial, sans-serif;
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid white;
}


.dropdown-content {
    display: none;
    background: black;
    overflow: auto;
    z-index: 1;
    width: calc(50% - 3vw);
    border: 1px solid white;
    border-top: 0;
    position: absolute;
}

.dropdown-content a {
    padding: 0.5vw;
    padding-bottom: 0;
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-content a:last-child {
    padding-bottom: 0.5vw;
}

.show-dropdown {
  display: block;
}

.turn-arrow {
  display: block;
}


/* DROPDOWN BURGER */

#dropdown-burger{
  height: 2vw;
  width: 2vw;
  display: block;
  float: right;
  margin: 0;
  padding: 0;
  margin-right: 1.7vw;
  margin-top: -2vw;
  pointer-events: none;
  transform: translateY(3.7vw);
}



/* DROPDOWN SELECT (NICHT VERWENDET) */

/* RESETS */

input:focus, select:focus {
  outline:0;
}

select{
  margin: 0;
  border-radius: 0;    
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/* STYLES */

select{
  text-transform: uppercase;
  border: 1px solid white;
  color: white;
  background: black;
  padding: 8px;
  padding-bottom: 6px;
  padding-left: 10px;
  width: 100%;
}

option{
  font-family: 'SimplonRegular', helvetica, arial, sans-serif !important;
}











/* LOCATION MASCHINEN ---------------------------------------*/

#location img{
  border: 0.5px solid black;
}

.content-location{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


.maschine-titel{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}

.maschine-titel p{
  position: absolute;
  padding: 0vw 0.75vw 0.5vw 0;
  top: 0;
  left: 0;
  background: black;
  text-transform: uppercase;
}


.moreinfo{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.moreinfo p{
  position: absolute;
  bottom: 0;
  padding: 0.5vw 0.75vw 0 0;
  left: 0;
  background: black;
  text-transform: uppercase;
}

.info-location{
  display: none;
  position: absolute;
  width: 100%;
  background: black;
  height: 100%;
  z-index: 2;
}


.demande {
    background: black;
    padding: 0.5vw;
    margin: 0;
    text-transform: uppercase;
    display: block;
    width: 100%;
    border: 1px solid white;
    position: absolute;
    bottom: 0;
    color: white !important;
    -webkit-text-stroke: 0px !important;
    text-stroke: 0px !important;
}




/* BILDLEGENDEN BÜNDIG ---------------------------------------*/

#prestations p{
  bottom: -0.55vw;
}
.moreinfo p{
  bottom: -0.91vw;
}
.content-location{
  top: -0.37vw;
}
.info-location a{
  bottom: -0.37vw;
}










/* FORMULAR ---------------------------------------*/

input, textarea {
    height: 3.5vw;
    width: 100%;
    color: white;
    padding: 0.6vw 0.5vw 0.4vw 0.6vw;
    margin-bottom: 3vw;
    border: 1px solid white;
    border-radius: 0;
    background-color: black;
    cursor: pointer;
    resize: none;
    text-align: left;
    outline: none;
}

textarea{
    height: 22.7vw;
}

input[type=text] {
}

input[type=submit] {
  text-transform: uppercase;
}


label{
    color: white;
    display: block;
    padding-bottom: 1.09vw;
    line-height: 1em;
}

label span{
  transform: translateY(calc(0.75vw + 0px));
}


.maschinen-form{
  margin-top: 3.4vw;
}

.maschinen-form input, .maschinen-form label {
  float: left;
} 

.maschinen-form input{
  width: auto;
}

.maschinen-form label{
}









/* CHECKBOX ---------------------------------------*/

input[type=checkbox]:not(old),
input[type=radio   ]:not(old){
  margin: -1px;
  padding: 0;
  opacity: 0;
  height: 0px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1em;
}

input[type=checkbox]:not(old) + label{
  display: inline-block;
  cursor:: pointer;
  cursor: pointer;
}

input[type=checkbox]:not(old) + label > span{
  width: 3.5vw;
  height: 3.5vw;
  margin: 0vw 1vw 0.2vw 0vw;
  display: inline-block;
  border: none;
  border-radius: 0;
  background: black;
  vertical-align: bottom;
  border: 1px solid white;

}

input[type=checkbox]:not(old):checked + label > span{
}

input[type=checkbox]:not(old):checked + label > span:before{
  width: calc(3.5vw - 2px);
  line-height: 0.93em;
  font-size: 4vw;
  -webkit-text-stroke: 0.2vw black;
  text-stroke: 0.2vw black;
  content: '✕';
  display: block;
  text-align: center;
  text-shadow: none;
  font-weight: normal;
}



















/* ---------------------------------------------------------
   Responsive
   ---------------------------------------------------------*/






@media screen and (max-width:768px) {

/* GENERELLES -------------------------------------- */

body{
  font-size: 2.8vw;
}



/* HEADER -------------------------------------- */

.navigation, .lead, h2 {
  font-size: 3.65vw;
}

header{
    width: calc(33.333% - 0.5vw);
}



/* WRAPPER -------------------------------------- */

.wrap{
  width: calc(66.667% - 1.5vw);
}

.wrap section{
  padding-top: 4vw;
}



/* HOME SECTION -------------------------------------- */

#introduction{
  width: calc(66.666% - 1.5vw);
}


/* RASTER ---------------------------------------*/

.col-1-3, .grid-sizer{
  width: calc(50% - 2vw);
}

.col-2-3{
  width: calc(50% - 2vw);
}



/* HOME FLICKITY ---------------------------------------*/

.carousel-cell {
  width: 66.667%;
  margin-right: 33.333%;
}

.dropdown-content {
    width: calc(33.333% - 2.8vw);
}

.dropdown-content a {
    padding: 0.5vw;
}





/* FORMULAR ---------------------------------------*/

input{
  height: 4.5vw;
}

textarea{
  height: 19.2vw;
}

.maschinen-form{
  margin-top: 4.2vw;
  margin-bottom: 1.2vw;
}

label{
    padding-bottom: 1.09vw;
    line-height: 1em;
}

label span{
  transform: translateY(calc(0.75vw + 0px));
}

input[type=checkbox]:not(old) + label > span{
  width: 4.5vw;
  height: 4.5vw;
  margin: 0vw 1vw 0.1vw 0vw;
}

input[type=checkbox]:not(old):checked + label > span:before{
  width: calc(4.5vw - 2px);
  line-height: 0.93em;
  font-size: 5.1vw;
  -webkit-text-stroke: 0.22vw black;
  text-stroke: 0.22vw black;
}

/* CHECKBOX ---------------------------------------*/



}










@media screen and (max-width:567px) {


/* GENERELLES -------------------------------------- */

body, .lead{
  font-size: 4.8vw;
}



/* SPEZIELLE ELEMENTE -------------------------------------- */

.mobile-clear{
  display: block;
}

.offset{
  display: block;
  height: 18vw;
}



/* HEADER -------------------------------------- */

header{
  width: 100%;
  height: auto;
  margin: 0;
  padding: 1vw;
  left: 0;
  right: 0;
}

.adresse-fixed{
  display: none;
}

.adresse-unten{
  display: block;
  text-transform: uppercase;
}

.dropdown, .wrap, .col-1-2{
  width: calc(100% - 2vw);
}



/* NAVIGATION */

#nav-icon{
  height: 10.5vw;
  width: 10.5vw;
  padding: 2vw;
  margin: 2.4vw -2vw 0vw 0vw;
}

.navigation, h2 {
  font-size: 8.2vw;
}

.iconbox{
  display: block;
}

.topnav li {
  display: none;
}

#nav-icon {
  float: right;
  display: inline-block;
}

.topnav.responsive{
  position: relative;
}

.topnav.responsive li {
  display: inline;
}

.topnav.responsive li a {
  display: block;
  text-align: left;
}

.topnav.responsive li{
  z-index: 9999999999;
}

.topnav a{
  display: block;
  text-align: left;
}




/* RASTER ---------------------------------------*/

.header-col-1-2{
  width: calc(50% - 2vw);
}




/* HOME SECTION ---------------------------------------*/

#introduction{
  width: calc(100% - 2vw);
}

.bg {
  background-image: url("../img/text-small.svg");
  background-position: center center;
}



/* HOME FLICKITY ---------------------------------------*/

.carousel-cell {
  width: 75%;
  margin-right: 25%;
}



/* BILDLEGENDEN BÜNDIG ---------------------------------------*/

#prestations p{
  bottom: -1.1vw;
}
.moreinfo p{
  bottom: -1.7vw;
}
.content-location{
  top: -0.6vw;
}
.info-location a{
  bottom: -0.6vw;
}


/* DROPDOWN JAVASCRIPT ---------------------------------------*/


.dropdown-content {
    width: calc(100% - 4vw);
}

/* DROPDOWN BURGER */

#dropdown-burger{
  height: 4vw;
  width: 4vw;
  margin-top: -4vw;
  margin-right: 2.3vw;
  transform: translateY(6.2vw);
}

/* FORMULAR ---------------------------------------*/

.maschinen-form{
  margin-top: 6.1vw;
}







/* FORMULAR ---------------------------------------*/

input{
  height: 6.5vw;
}

textarea{
  height: 21.8vw;
}

.maschinen-form{
  margin-top: 6.1vw;
  margin-bottom: 1.75vw;
}

label{
    padding-bottom: 1.09vw;
    line-height: 1em;
}

label span{
  transform: translateY(calc(0.75vw + 0px));
}

input[type=checkbox]:not(old) + label > span{
  width: 6.5vw;
  height: 6.5vw;
  margin: 0vw 1vw 0.1vw 0vw;
}

input[type=checkbox]:not(old):checked + label > span:before{
  width: calc(6.5vw - 2px);
  line-height: 0.93em;
  font-size: 7.5vw;
  -webkit-text-stroke: 0.32vw black;
  text-stroke: 0.32vw black;
}


}












    
/* ---------------------------------------------------------
   Print styles
   ---------------------------------------------------------*/
@media print {
    * {
        color:#000 !important;
        box-shadow:none !important;
        text-shadow:none !important;
        background:transparent !important;
    }
    html { background-color:#fff; }
    /* Hide navigation */
    nav { display:none; }

    /* Show link destinations in brackets after the link text */
    a[href]:after { content: " (" attr(href) ") "; }
    a[href] {
        font-weight:bold;
        text-decoration:underline;
        color:#06c;
        border:none;
    }
    /* Don't show link destinations for JavaScript or internal links */ 
    a[href^="javascript:"]:after, a[href^="#"]:after { content:""; }
    
    /* Show abbr title value in brackets after the text */
    abbr[title]:after { content: " (" attr(title) ")"; }

    figure { 
        margin-bottom:1em; 
        overflow:hidden;
    }

    figure img { border:1px solid #000; }
}
}