html {
        background: url(../images/h-1.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}
html, body {
    scroll-behavior: smooth;
}

h1 {
    text-shadow: 4px 4px 4px #aaa;
}
 .clear {
    clear: both;
}
.baustelle {
    width: 50%;
    height: auto;
    margin: 150px auto 1000px;
}
.baustelle img {
    width: 100%;
}
header {
    width: 100%;
    height: auto;
    margin: 0 auto;
        
}
.kopf {
    width: 80%;
    height: auto;
    margin: 0 auto;
    position: relative;
}
.kopf img {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

 .kopf.scrolled {
    display: none;
}
.kopf-2  {
    width: 100%;
    height: auto;
    margin: 0 auto;
   
    display: none;
}
.kopf-2 img {
     width: 100%;
    height: auto;
    margin: 0 auto;
}
.kopf-2.scrolled {
    display: block;
    width: 80%;
    position: fixed;
    top: 0;
    left: 10%;
    z-index: 100;
    box-shadow: 0px 10px  15px grey;
    transition-duration: 3s;
}
.kopf-3 {
	display: none;

 }
.wrapper {
	width: 80%;
	height: auto;
	margin: 0 auto;
	background-color: #fff;
	border: 7px solid #000;
	font-family: Arial;
	font-size: 22px;
}
.wrapper.scrolled {
	top: 1000px;
}

 .figure {
    width: 100%;
    height: auto;
    margin: 0 auto;
    }
.section {
	width: 90%;
	height: auto;
	margin: 0 auto;

	}
.ruecklink {
     font-family: 'Nunito', sans-serif;
     font-size: 20px;
     font-weight: bold;
     margin-left: 60%;
 }

.counter {
    clear: both;
    width: 135px;
    margin-top: 10px;
    margin-bottom: 600px;
    background-color: #E6E6E6;
    border: 5px solid #393185;
}
.formfoot1, .formfoot2 {
     width: 30%;
     font-family: Arial;
     font-size: 18px;
     min-width: 250px;
     float: left;
     margin-left: 3%;
     margin-top: 10px;
     margin-bottom: 10px;
}
.formfoot3 {
    width: 30%;
    float: left;
    margin-left: 3%;
     margin-top: 10px;
     margin-bottom: 10px;
}
.formfoot3 img {
    width: 100px;
    height: auto;
    margin-top: 10px;
    margin-left: 3%;
    float: right;
}
.footer {
    background-color: #000;
    margin: 0 auto 50px; 
    box-shadow: 10px 10px 15px grey;        
    width: 80%;
    height: auto;                         
      displa5y: flex;     
      flex-wrap:wrap;
      color: #FFFFFF;
}
.footer a {
    color: #FFFFFF;
}
.hoch {
    width: 30px;
    height: auto;                                  
    bottom: 5px;
    position: fixed;
    right: 5px;
}
.hoch img {
    width: 100%;
    height: auto;
}
#kontakt {
  right: 1px;
    bottom: 80px;
    position: fixed;
    z-index: 1000;
}
#ipsum {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
 @media only screen and (max-width: 1100px)
 {
 body, .wrapper {
     font-size: 20px;
 }


.formfoot1, .formfoot2, .formfoot3 {
    width: 80%;
    min-width: 200px;
    font-size: 18px;
    margin: 10px auto;
}

.formfoot3 img {
    float: none;
    }
}
@media only screen and (max-width: 860px) {
.wrapper, .kopf, .kopf-2 {
    width: 95%;
    height: auto;
}
}
.kopf2.scrolled, kopf2 img.scrolled {
	left: 130px;
}
}





  @media only screen and (max-width: 640px) {
body, html, .wrapper {
    font-size: 16px;
}


.formfoot1, .formfoot2, .formfoot3 {
    width: 80%;
    min-width: 200px;
    font-size: 18px;
    margin: 10px auto;
}
.formfoot3 img {
    width: 80px;
    }

}