@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi&display=swap');
 
html, body {
    padding: 0;
    margin: 0;
    /* font-size: 1.77vh; */
    font-size: 15.9px;
}

* {
    box-sizing:border-box;
}

h1,h2,h3,p,a,span,ul,ol{
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

a:hover{
    cursor: pointer;
}

/*nav*/

.nav {
    background-color: #F5F5F5;
}
.nav_main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
}

.nav_main img{
    width: 14rem;
    height: auto;
}

.nav_grabber{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav_grabber a{
    margin: .5rem;
    text-decoration: none;
    color: #CB2B1D;
    font-weight: bold;
    font-size: .88rem;
    padding: 1rem;
}
.nav_grabber a:hover{
    color: white;
    background-color: #cb2b1d;
}

.nav_grabber a.active{
    color: white;
    background-color: #cb2b1d;
}

.mobileNav{
    display: none;
    position: relative;
}
.mobileNav_list{
    position: absolute;
    left: -21rem;
    top: 4rem;
    background-color: #F5F5F5;
    padding: 1rem;
    min-height: 17rem;
    min-width: 19rem;
    transition: all .3s ease;
}
.navButton{
    position: relative;
    z-index: 3;
    border-radius: 50%;
    background-color: #CB2B1D;
    color: #F5F5F5;
    cursor: pointer;
    border: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.navButton p{
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.mobileNav_list .nav_grabber{
    flex-direction: column;
    align-items: flex-start;
}
.mobileNav_list .nav_grabber a{
    padding: .8rem;
    font-size: 1.2rem;
}



.hamburger_box {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    position: relative;
    border-radius: 50%;
    background-color: #CB2B1D;
    z-index: 4;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
  }

  .hamburger_inner{
    width: 1rem;
    height: .2rem;
    border-radius: 8px;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%)translateX(-50%);
    transition: all .3s ease;
  }


  .hamburger_inner::before, .hamburger_inner::after {
    width: 1rem;
    height: .2rem;
    border-radius: 8px;
    background-color: white;
    position: absolute;
    content: '';
    left: 0;
    transition: all .3s ease;
} 
.hamburger_inner::before {
    top: -0.44rem;
}
  
.hamburger_inner::after {
    top: .44rem;
}
/**/
.hamburger--active .hamburger_box{
    background-color: white;
    border: .15rem solid #CB2B1D;
}


.hamburger--active .hamburger_inner {
    background-color: transparent;
}

.hamburger--active .hamburger_inner:before {
    transform: translateY(0.44rem) rotate(45deg);
    background-color: #CB2B1D;
}

.hamburger--active .hamburger_inner:after {
    transform: translateY(-0.44rem) rotate(-45deg);
    background-color: #CB2B1D;
}

.mobileNav_list--active{
    left: -1rem;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
-webkit-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.2);
}

/*header*/

.header{
    background-image: url(../img/mainbanner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60vh;
}
.header_content{
    color: #F5F5F5;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 5.93rem;
}
.header_content span{
    font-family: 'Reem Kufi', sans-serif;
    font-weight: 400;
}
.header_content h1{
    font-weight: 100;
    line-height: 7rem;
}
.header_content p{
    font-size: 2.25rem;
    font-weight: 300;
}

/*sec1*/

.sec1{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5F5;
    padding: 2rem;
}

.sec1_grabber{
    width: 29.25rem;
    margin: 1rem;
}

.sec1_grabber h2{
    font-size: 2.25rem;
    font-weight: 100;
    text-align: center;
    margin-bottom: 2rem;
}

.sec1_grabber p{
    /* font-size: .88rem; */
    margin-bottom: 1rem;
    /* line-height: 1.2rem; */
    line-height: 1.6rem;
    font-size: 1.135rem;
}

/*sec2*/

.sec2{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.sec2_grabber{}

.sec2_grabber h2{
 text-align: center;
 font-size: 2.25rem;
 font-weight: 100;
 line-height: initial;
}

.sec2_boxes{
    width: 100%;
    max-width: 62rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.sec2_box{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 23rem;
    margin: 1rem 4rem;
    text-decoration: none;
    height: 30rem;
}
.sec2_box img{
    width: 6.2rem;
    height: auto;
    margin: 1.5rem;
    transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
}
.sec2_box p:first-of-type{
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: .5rem;
}
.sec2_box p{
    font-size: 1.135rem;
    line-height: 1.6rem;
    color: #222;
}
.sec2_box p:nth-of-type(2){
    margin-top: 1rem;
    margin-bottom: 2rem;
    height: 9rem;
}
.sec2_box p:last-of-type{
    margin-top: .5rem;
}
.sec2_box .linkstyle{
    color: #CB2B1D;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
}
.sec2_box .linkstyle:hover{
    opacity: .9;
    text-decoration: underline;
}
.sec2_box:hover img{
    transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
}

/*form*/
.form{
    background-color: #F5F5F5;
    padding: 2rem;
}

.form_grabber{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form_grabber h2{
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 100;
}
.form_grabber p{
    font-size: 1.1rem;
    line-height: normal;
    padding-bottom: .5rem;
    font-weight: 500;
}
.form_grabber p:first-of-type{
    margin-bottom: 1rem;
    text-align: center;
}
.form_grabber span{
    color: #EC0000;
    font-weight: 500;
}
.form_main{
    width: 100%;
    max-width: 25rem;
}
.form_main form{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
}
.form_main form label{
    margin: .5rem;
    font-weight: 300;
}
.form_main form input{
    margin: .5rem;
    width: 100%;
    padding: .5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 1rem;
    border: 0.1rem solid lightgrey;
    
}
.form_main form textarea{
    width: 100%;
    margin: 0 0.5rem;
    padding: .5rem;
    resize: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    border: 0.1rem solid lightgrey;
}
.formrow{
    display: flex;
    width: 100%;
}
.formrowradio{
    margin-bottom: 1rem;
}
.formbox{
    display: none;
}
.formbox.active{
    display: inline-block;
}
.form_main form textarea.valid{
    border: 1px solid red;
}
.form_grabber p.formalert{
    color: #EC0000;
    font-size: 1rem;
    margin: .5rem;
    visibility: hidden;
    font-weight: 300;
}
.form_grabber p.formalert.active{
    visibility: unset;
}
.form_grabber p.formoptionradio{
    font-size: 1rem;
    margin: .5rem;
    margin-top: 1rem;
    font-weight: 300;
}
.form_main form label.blacklabel{
    color: #222;
    font-weight: 300;
    width: 100%;
}
.form_main form label.blacklabeledit{
    display: inline-block;
    margin-bottom: 1rem;
}
.radiowidth{
    width: 8rem;
    position: relative;
}

.form_main form .radiowidth input{
    width: 6.5rem;
    opacity: .0;
    position: absolute;
    height: 2rem;
}



  #styleradio input[type="radio"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
    border-radius: 50%;
    border-style: solid;
    border-width: 0.1rem;
    border-color: gray;
  }
  #styleradio input[type="radio"]:checked + * {
    color: #222;
  }
  #styleradio input[type="radio"]:checked + *::before {
    background: radial-gradient(#EC0000 0%, #EC0000 40%, transparent 50%, transparent);
    border-color: #EC0000;
  }

  #impcheck.active{
      border: 1px solid red;
  }
  /***/

   /* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: #EC0000;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  } 

/*footer*/

.footer{
    background-color: #4B4A50;
    color: #F5F5F5;
    padding: 2rem;
}

.footer_grabber{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 85rem;
}

.footer_column{
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
min-height: 12rem;
margin: 0 .5rem;
}

.footer_column a{
    color: #F5F5F5;
    text-decoration: none;
    margin: .5rem 0;
    line-height: initial;
}
.footer_column p{
    font-weight: 400;
    min-height: 1rem;
    display: inline-block;
    margin: .5rem 0;
    line-height: initial;
}
.footer_column span{
    margin: .5rem 0;
}
.copyright{
    text-align: center;
    padding: 2rem;
    line-height: initial;
}
.form_main form input.formsubmitbutton{
    width: auto;
    margin: 0 auto;
    background-color: transparent;
    border: none;
    border: 0.1rem solid #EC0000;
    color: #EC0000;font-weight: 500;
}

/*kontakt*/
.contactheader{
    background-image: url(../img/seconbanner.png);
    justify-content: center;
    align-items: center;
}
.contactheader .header_content{
    margin: 0;
    margin-bottom: 4rem;
}
.contactheader .header_content h1{
    font-weight: 400;
    font-family: 'Reem Kufi', sans-serif;
}
.danefirmy_grabber{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.danefirmy_box{
    width: 100%;
    max-width: 25rem;
    margin: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
}
.danefirmy_box p{
    line-height: 2rem;
    font-weight: 400;
}
.danefirmy .sec2_grabber{
    width: 100%;
}
.map iframe{
    width: 100%;
    height: 40rem;
}


/**/

.zfsec{
 background-color: #F5F5F5;
}
.zfsec2{
    background-color: white;
}
.zfsec .sec2_grabber{
    width: 100%;
    max-width: 50rem;
}


.zfsec .sec2_grabber p{
    line-height: initial;
    width: 100%;
    max-width: 31rem;
    margin: 0 auto;
    line-height: 1.4rem;
}
.zfsec .sec2_grabber p:first-of-type{
    margin: 2rem auto;
    line-height: 1.6rem;
    font-size: 1.135rem;
   
}
.secbelt{
    background-color: #4B4A50;
    color: white;
}
.secbelt .sec2_grabber p{
    line-height: 2rem;
    font-weight: 300;
    margin: 2rem 0;
    font-size: 1.135rem;
}
.secbelt .sec2_grabber p span{
    font-weight: 400;
}
.secbelt .sec2_grabber h2{
    position: relative;
}
.secbelt .sec2_grabber h2:before{
    content: "";
    width: 3.68rem;
    height: 3.68rem;
    background-image: url(../img/icon5.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: -1rem;
}

.smallheader{
    height: 15vh;
}
.zf{
    background-image: url(../img/banner1.png);
}
.ks{
    background-image: url(../img/banner2.png);
}
.kip{
    background-image: url(../img/banner3.png);
}
.dp{
    background-image: url(../img/banner4.png);
}
.aboutus{
    background-image: url(../img/banner5.png);
}
.sec2_grabber ul{
    width: 100%;
    max-width: 35rem;
    margin: 0 auto;
    margin-top: 2rem;
}
.sec2_grabber li{
    position: relative;
    line-height: 2rem;
    font-size: 1.135rem;
}
.sec2_grabber li:before{
    content: "\2022";  
    color: #EC0000; 
    font-weight: bold; 
    font-size: 1.6rem;
    display: inline-block; 
    width: 1rem; 
    margin-left: -1rem;
    top: 0.3rem;
    position: relative;
}
/**/



.scbk{
display: flex;
justify-content: center;
align-items: center;
height: 40vh;
}
.scbk_holder{
    width: 100%;
    max-width: 48rem;
    text-align: center;
}
.scbk_holder p{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: initial;
    font-size: 4rem;
}
.scbk_holder a{
    font-size: 2rem;
    color: white;
    text-decoration: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 5px;
    background-color: #CB2B1D;
    display: inline-block;
    margin-top: 3rem;
}

.scbk_header{
    height: 40vh;
}
.scbk_header .header_content{
    margin-bottom: 2rem;
}


/**/

@media only screen and (max-width: 1000px) {
    .footer_grabber{
        flex-wrap: wrap;
    }
    .footer_column{
        width: 30rem;
        
    }
    .footer_column p{
        min-height: auto;
    }
    .footer_column .emp{
        display: none;
    }
    .mobileNav{
        display: inline-block;
        order: 1;
    }
    .nav .nav_main a{
        order: 2;
    }
    .desktopNav{
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .secbelt .sec2_grabber h2{
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .secbelt .sec2_grabber h2:before{
    position: relative;
    display: inline-block;
    margin: 1rem;
    left: 0;
    top: 0;
    }

    .sec2_box{
        width: 20rem;
        margin: 0;
    }

    .sec2_box p:nth-of-type(2){
        height: 11rem;
    }
}


@media only screen and (max-width: 391px){
    .header_content{
        margin-bottom: 2rem;
    }

    .header_content h1{
        font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 280px){
    .sec2_box p:nth-of-type(2) {
        height: auto;
        font-size: 1rem;
    }
    .sec2_box {
        width: auto;
    }
}
