/* raleway-200 - latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/raleway-v28-latin-200.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/raleway-v28-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/raleway-v28-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/raleway-v28-latin-200.woff') format('woff'), /* Modern Browsers */
         url('../fonts/raleway-v28-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/raleway-v28-latin-200.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
  /* raleway-300 - latin */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/raleway-v28-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/raleway-v28-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/raleway-v28-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/raleway-v28-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/raleway-v28-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/raleway-v28-latin-300.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
  /* raleway-regular - latin */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
  /* raleway-500 - latin */
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/raleway-v28-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/raleway-v28-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/raleway-v28-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/raleway-v28-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/raleway-v28-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/raleway-v28-latin-500.svg#Raleway') format('svg'); /* Legacy iOS */
  }
  
* {
    margin: 0;
    padding: 0;
}
body, html {
    width:100%;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Raleway', Verdana, Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight:300;
    font-size: 16px; 
}
.arrow{
    width:100%;
    height:55px;
    position:absolute;
    text-align: left;
    bottom:50px;
    z-index: 2;
}
.arrow .arrow-img{
    z-index: 3;
    top:3px;
    position: relative;
    left:20px;
    width:50px;
    height:auto;
    animation: pulse 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
        transform: scale(1.2);
      }
    100% {
    transform: scale(1);
    }
}
.arrow .hex{
    position: relative;
    left:20px;
    top:-51px;
    z-index: 2;
    width:50px;
    height:auto;
    animation: pulse-hex 2s ease-in-out infinite;
}
@keyframes pulse-hex {
    0% {
      transform: scale(0.9);
      opacity: 1;
    }    

    100% {
    transform: scale(1.7);
    opacity: 0;
    }
}
.frame{
    width:100%;
    height: auto;
    position: relative;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.clear {
    clear: both;
}
[class*=header-]{
    position: relative;
    width:100%;
    height:100%;
    box-shadow: 0 8px 30px darkgrey;
}
.header-1{
    background:url(/images/bg/bg1.webp) center center;
    background-size: cover;
}
.header-2{
    background: url(/images/bg/impressum-mobil.webp) center center;
    background-size: cover;
}
.header-3{
    background: url(/images/bg/datenschutz-mobil.webp) center center;
    background-size: cover;
}
.header-4{
    background: url(/images/bg/kontakt.webp) left center;
    background-size: cover; 
}
.header-5{
    background: url(/images/bg/referenzen.webp) right bottom;
    background-size: cover; 
}
[class*=header-] h1{
    position: relative;
    top: 45%;
    font-weight: 200;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 2.4rem;
    text-align: center;
    color:white;
    z-index: 10;
}
[class*=header-] p{
    position: relative;
    top: 45%;
    font-weight: 200;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 2rem;
    text-align: center;
    color:white;
    z-index: 10;
}
.overlay{
    position:absolute;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}


.container {
    background-color: white;
    margin:0 auto 50px auto;
    width: 100%;
    z-index: 100;
}
.row {
    width: 96%;
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*=col-] {
    float: left;
	word-wrap: break-word;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.col-1 {
    margin-top: 20px;
    width: 100%;
}
.col-2 {
    margin-top: 20px;
    width: 100%;
}
.col-3 {
    margin-top: 0px;
    width: 100%;
}
.flex{
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex .col-3, .flex .col-2{
    display: -webkit-flex; 
    display: -ms-flexbox; 
    display: flex;
}
.center{
    text-align: center !important;
}
.justify{
    text-align: justify;
}
.red{
    color:rgb(168, 18, 18) !important;
}
.container h1, h2, h3, h4 {
    margin:  20px;
    color: #4c7798;
    font-size: 2.2rem;
    font-weight: 200;
    text-align: left;
}
.container h3, h4 {
    margin:  20px;
    color: #4c7798;
    font-size: 1.9rem;
    font-weight: 200;
    text-align: left;
}
.container p {
    color: #5e5e5e;
    line-height: 1.7em;
    font-size: 1.1rem;
    font-style: normal;
    margin: 20px;
    font-weight: 300;
}
.container a {
    color: #4c7798;
    text-decoration: none;
}
.container a:hover{
    text-decoration: underline;
}
.container ul {
    color: #5e5e5e;
    line-height: 1.7em;
    font-size: 1.1rem;
    font-style: normal;
    margin: 20px;
    font-weight: 400;
}
.container ul li{
    list-style-type: none;
}
.container ul li::before{
    content: '\25B8 \2009';
}
.imgr{
    width:100%;
    height:auto;
    margin:10px 0 10px 10px;
    float: right;
}
.imgl{
    width:100%;
    height:auto;
    margin:10px 10px 10px 0;
    float: left;
}

footer{
    height:auto;
    width:100%;
    position: relative;
    box-shadow: 0 0 20px darkgrey;
    background:linear-gradient(135deg,#263b4c,#4c7798);
    text-align: center;
    padding:10px 0;
    overflow:hidden;
}

footer img{
    position: absolute;
    left:-30px;
    bottom:0;
    width:50%;
    height:auto;
    z-index: 3;
}

.footer p {
    position: relative;
    color: white;
    line-height: 1.7em;
    font-size: 1.1rem;
    font-style: normal;
    margin: 20px;
    font-weight: 300;
    z-index: 5;
}

.img-text{
    width: 90%;
    height: auto;
    position: relative;
    margin:50px auto 0 auto;
    box-shadow:0 0 5px darkgrey;
    transition: ease-in-out 0.3s;
    border-radius: 5px;
}
.img-text div{
    position: relative;
    height: auto;
    width:100%;
}
.img-text img{
    width:100%;
    height: auto;
    filter: brightness(0.5);
    transition:ease-in-out .4s;
}
.img-text:hover img,
.img-text h2:hover ~ img {
  filter: brightness(1);
}

.img-text img:hover ~ h2,
.img-text h2:hover {
    opacity: 0;
  }

.img-text h2{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    font-weight: 200;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 2.4rem;
    color:white;
    z-index: 10;
    margin: 0 !important;
    text-align: center !important;
    opacity: 1;
    transition: ease-in-out .3s;
}

video{
    width:90%;
    height:auto;
    margin:10px 5%;
    border:none;
    border-radius:10px;
    box-shadow: 0 0 15px darkgrey;
}
.galerie{
    display: block;
    width:300px;
    height:300px;
    overflow: hidden;
    border-radius: 10px;
}
a img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
/*Trennlinie*/

.rowline{
    border: 0;
    height: 1px;
    z-index: 600;
    width:100%;
    clear:both;
    position: relative;
    top:30px;
    margin-bottom:30px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 3%), rgba(110, 110, 110 , 75%), rgba(0, 0, 0, 3%));
}
details{
    margin: 10px 20px 0 20px;
    box-shadow: 0 0 10px darkgrey;
    border-radius:10px;
}
details p{
    margin-top: 0 !important;
    position: relative;
    top:-10px;
}
summary {
    position: relative;
    left:0px;
    padding: 10px 10px;
    font-size: 1.4rem;
}
 
summary::marker {
    color: transparent;
}
summary:focus{
    outline:none;
}
summary::after {
    content:  "\276E";
    position: absolute;
    top:3px;
    right:10px;
    color: rgb(108, 108, 108);
    font-size: 35px;
    transition: all 0.5s;
    transform:rotate(90deg) scale(0.8);
}
    
details[open] summary::after {
    transform: translate(0px,0) rotate(270deg) scale(0.8);
}
/*Menu*/
.logo{
    width:70px;
    height:auto;
    position: fixed;
    top:10px;
    left:10px;
    z-index: 1100;
}
.logo img{
    width:100%;
    height: auto;
}
nav {
    width: 100%;
    height: 1px;
    position: fixed;
    bottom:0;
    z-index: 1000;
}
input#hamburg {
    display: none;
}
label.hamburg {
    display: block;
    background:linear-gradient(135deg,#263b4c,#4c7798);
    box-shadow: 0 0 35px -5px black;
    border-radius: 35px;
    width: 100px;
    height: 55px;
    position: fixed;
    left: 50%;
    bottom: 50px;
    transform: translate(-50%, 0);
    cursor: pointer;
    z-index: 600;
    transition: ease-in-out 0.5s;
    text-align: center;
}
#hamburg:checked+label.hamburg{
    width:150px;
    background:linear-gradient(135deg,#263b4c,#263b4c);
}
.btn{
    position:relative;
    top:14px;
    left:0;
    color:white;
    font-size: 1.4rem;
    transition: ease-in-out 0.5s;
    letter-spacing: 2px;
}
#hamburg:checked+label.hamburg>.btn{
    left:20px;
}

.line {
    position: absolute;
    left: 17px;
    height: 2px;
    width: 0px;
    background:white;
    border-radius: 2px;
    display: block;
    -webkit-transition:ease-in-out .5s;
    -o-transition:ease-in-out .5s;
    transition:ease-in-out .5s;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}
.line:nth-child(1) {
    top: 22px;
}
.line:nth-child(2) {
    top: 32px;
}

#hamburg:checked+.hamburg .line:nth-child(1) {
    -webkit-transform: translateY(5px) rotate(-45deg);
    -ms-transform: translateY(5px) rotate(-45deg);
    transform: translateY(5px) rotate(-45deg);
    width:30px;
}

#hamburg:checked+.hamburg .line:nth-child(2) {
    -webkit-transform: translateY(-5px) rotate(45deg);
    -ms-transform: translateY(-5px) rotate(45deg);
    transform: translateY(-5px) rotate(45deg);
    width:30px;
}
#bg-move{
    position: absolute;
    width: 100%;
    height: 150vh;
    bottom:0;
    left:-105%;
    background:linear-gradient(135deg,#263b4c,#4c7798);
    transition: ease-in-out 0.3s;
}
#move {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    left: -105%;
    text-align: center;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    margin: 0;
    padding: 0 0 130px 0;
    z-index: 500;
}
nav ul li{
    list-style: none;
}
nav li {
    width: 100%}
nav ul li a {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.2rem;
    padding: 20px;
    border-bottom: 1px #fff dotted;
    color: #fff;
    text-decoration: none;
}
nav ul li:first-of-type > a{
    border-top: 1px #fff dotted;
}
nav a.active, nav a:hover {
    background: #fff;
    color: #000;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}
nav ul>li>ul>li{
    background:#334f66;
}
nav ul>li>ul>li:first-of-type > a{
    border-top: none;
}
#hamburg:checked~#move {
    left: 0;
}
#hamburg:checked~#bg-move {
    left: 0;
}
.mobil-menu {
    display: none;
}

/*Kontaktformular*/
.form{
    width:90%;
    height: auto;
    border:none;
    box-shadow: 0 0 5px #283f50;
    margin: 25px auto;
    padding:10px;
    border-radius: 0px;
    font-size: 1.1rem;
}
.fieldset{
    width:100%;
    border:none;
    padding:5%;
    position: relative;
    box-sizing:border-box;
    overflow: hidden;
}
.form-control{
    border-radius:0px;
    padding:10px;
    border:1px solid lightgrey;
    color:black;
    box-shadow:0 0 1px #046891;
    transition: ease-in-out 0.3s;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 200;
    font-size:1.2rem;
}
.form-control:focus{
    box-shadow:0 0 10px #046891;
    outline:none;
}
.form select{
    width:50%;
}
.form input{
    width:90%;
}
.form textarea{
    width:90%;
}
.form #datenschutzCheckbox{
    width:auto;
    cursor: pointer;
}
.form .label-check{
    text-align: justify;
    word-wrap: break-word;
}
.form button{
    margin-top:20px;
    padding:15px 25px;
    color:white;
    background:linear-gradient(135deg, #283f50, #046891);
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 200;
    font-size:1.1rem;
    text-transform: uppercase;
    border-radius: 25px;
    outline:none;
    border:none;
    transition: ease-in-out 0.3s;
    box-shadow: 0 0 3px #283f50;
    cursor: pointer;
    
}
.form button:hover{
    box-shadow:0 0 15px #283f50;
}
.email-repeat{
    visibility: hidden;
}

.homebutton{
    margin-top:30px;
    padding:10px;
    border: solid 1px white;
    border-radius: 30px;
    color:white;
    text-decoration: none;
    transition: ease-in-out 0.3s;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
}
.homebutton:hover{
    box-shadow: 0 0 15px white;
}


@media (min-width:570px) {
    .container h2, h3, h4 {
        text-align: left;
    }
    video{
        width:50%;
        margin:10px 20px;
    }
    .imgr{
        margin:15px 0 15px 20px;
        width:300px;
    }
    .imgl{
        margin:15px 20px 15px 0;
        width:300px;
    }
    
}

@media (min-width:867px){
    .form textarea{
        width:95%;
    }
    .container p {
        font-size: 1.3rem;
    }
    .arrow .hex, .arrow .arrow-img{
        width:70px;
        left:0;
    }
    .arrow .hex{
        top:-71px;
    }
    .arrow{
        text-align: center;
    }

    .logo{
        width:100px;
        top:5px;
    }
    label.hamburg {
        display: none;
    }
    #bg-move{
        height: 0;
    }
    #move {
        position: fixed;
        top:0;
        left:0;
        background:linear-gradient(135deg,#263b4c,#4c7798);
        height:55px;
        width: 100%;
        text-align: right;
        margin: 0;
        padding: 0 0 0 10px;
    }
    nav ul {
        background-color: none;
        float: none;
        margin: 0 15px 0 0;
    }

    nav ul>li {
        display: inline-block;
        padding: 18px 0px;
        width: auto;
        background:none;
        margin:0 0 0 -5px;
        border-right:solid 1px white;
    }
    nav ul li:first-of-type > a{
        border-top: none;
        border-left:solid 1px white;
    }
    nav ul li:last-of-type > a{
        padding:18px 0 18px 8px;
    }
    nav ul li:last-child{
        border-right:none;
    }
    nav ul li a {
        display: inline;
        border-bottom: 0;
        color: #fff;
        font-size: 0.95rem;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 3px;
        font-weight: 400;
        padding: 18px 8px;
    }
    nav ul>li:hover a{
        color: black ;
    }

    nav ul>li:hover {
        background: #fff;
        color: #000;
        -webkit-transition: .5s;
        -o-transition: .5s;
        transition: .5s;
    }
    nav ul li ul {
        display: none;
        position: absolute;
        background: linear-gradient(135deg,#263b4c,#4c7798);
        z-index: 120;
    }
    nav ul>li>ul>li {
        display: block;
        padding: 0;
        width: auto;
        background:none;
        margin:0 ;
        border-right:none;
        text-align: left;
    }
    nav ul>li>ul {
        margin: 18px 0 0 0;
    }
    nav ul li:hover>ul {
        display: block;
    }
  
    nav ul>li>ul>li>a {
        display: block;
        background:none;
        color:white !important;
        border-left: none !important;
        border-bottom: 1px #fff dotted;
        -webkit-box-shadow: 0 5px 8px 0 rgba(50, 50, 50, .45);
        box-shadow: 0 5px 8px 0 rgba(50, 50, 50, .45);
        padding-left: 5px;
        padding-right: 5px;
    }
    nav ul>li>ul>li:hover a{
        color:black !important;
    }
    video{
        width:30%;
    }
    .col-2{
        margin-top:0;
        width:50%;
    }
}

@media (min-width:900px) {
    .col-3 {
        margin-top: 0;
        width: 33.333%;
    }
    .gap{
        padding: 20px 0;
    }
        video{
    width:20%;
}
.header-2{
    background: url(/images/bg/impressum.webp) center center;
    background-size: cover;
}
.header-3{
    background: url(/images/bg/datenschutz.webp) center center;
    background-size: cover;
}
}

@media (min-width:1170px) {
    .container{
        width:1100px;
    }
}

