html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
}
a {
  text-decoration: none;
}
li {
  list-style-type: none;
}
h1, h2, h3, h4, a {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #494949;
  text-transform: uppercase;
}
h2 {
  color: #5d7177;
}
h3 {
  font-size: 40px;
  padding-top: 8%;
  margin-top: 0;
  margin-bottom: 5px;
}
h5, p {
  font-family: 'Roboto Slab', serif;
  color: #494949;
}
hr {
  width: 140px;
  height: 3px;
  background: #b23926;
  border: 0;
  margin: 0 auto 40 auto;
}
#logo, li, img, .button, .fa-bars {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
.fa-bars {
  display: none;
}
.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.loader {
  display: inline-block;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.loader img {
  max-width: 60%;
  height: auto;
  padding-bottom: 15px;
}
.loader p {
  letter-spacing: 0.4rem;
  font-size: 1.2rem;
  padding-top: 15px;
}
.loader-circle {
  width: 4rem;
  height: 4rem;
  border: solid 0.3rem #121821;
  border-radius: 50%;
  border-right: solid 0.3rem #D80002;
  animation: spin 2s infinite;
}
@keyframes spin {
  0% {transform: rotate(0);}
  100% {transform: rotate(360deg);}
}
/**************************************/
/* HEADER *****************************/
/**************************************/
header {
  width: 100%;
  height: 75px;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
#logo {
  width: 240px;
  float: left;
  margin: 2px 0 0 50px;
}
#logo img {
  width: 100%;
}
header nav {
  float: right;
  margin: 12px 50px 0 0;
}
header nav ul li {
  float: left;
  margin-left: 25px;
  color: #494949;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}
header nav ul li a {
  font-size: 16px;
}
header nav ul li:hover {
  color: #ff0000;
}
/**************************************/
/* HOME *******************************/
/**************************************/
#home {
  background: url(../img/bg-1.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
  margin: 0;
  padding-top: 1px;
}
#home h1 {
  margin: 240px auto 0 auto;
  font-size: 80px;
  font-weight: bold;
  color: #fff;
  text-transform: none;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
}
#home h2 {
  margin: 0 auto 0 auto;
  font-size: 38px;
  color: #ff0000;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
}
#home h4 {
  color: #fff;
  margin: 10px auto 0 auto;
  font-size: 70px;
  text-transform: none;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
}
#home img {
  max-width: 800px;
  height: auto;
  margin-top: 200px;
}
/**************************************/
/* LEISTUNGEN *************************/
/**************************************/
#leistungen {
  background-color: #fff;
  height: auto;
  padding-bottom: 20px;
}
#leistungen p {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#leistungen img {
  max-width: 900px;
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
.powr-instagram-feed {
  max-width: 1000px;
  margin: 0 auto 0 auto;
}
#leistungen .accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 900px;
  max-width:95%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
}

#leistungen .active, .accordion:hover {
  background-color: #ccc;
}

#leistungen .accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

#leistungen .active:after {
  content: "\2212";
}

#leistungen .panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
#experiments {
  width: 1024px;
  margin: 0 auto 0 auto;
  display: inline-block;
}
#experiments h5 {
  font-size: 16px;
  margin: 0;
  padding: 10px;
}
#experiments p {
  width: 95%;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#experiments hr {
  width: 95%;
  height: 1.5px;
  background: #fff;
  border: 0;
}
#experiments ul {
  padding: 0;
}
#experiments ul li {
  width: 33.3%;
  float: left;
  margin-bottom: 15px;
}
#experiments .ov {
  width: 250px;
  margin: auto;
}
#experiments .ov_top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #58687b;
  height: 140px;
  margin: 0;
  padding: 0;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
#experiments .ov_top img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-height: 220px;
  max-width: 100%;

}
#experiments .ov_bottom {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #fff;
  height: 255px;
  margin-top: 0;
  padding-top: 10px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
/**************************************/
/* REFERENZEN *************************/
/**************************************/
#referenzen {
  background-color: #d8d8d8;
  min-height: 100%;
  padding-bottom: 20px;
}
#referenzen p {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#referenzen img {
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
#referenzen img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
#referenzen ul li {
  font-family: 'Roboto Slab', serif;
  color: #494949;
  width: 90%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  text-transform: none;
  list-style-type: square;
}
/**************************************/
/* TEAM *******************************/
/**************************************/
#team {
  background-color: #fff;
  min-height: 100%;
  padding-bottom: 20px;
}
#team p {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#team a {
  color: #ff0000;
}

/**************************************/
/* FOOTER *****************************/
/**************************************/
footer {
  width: 100%;
  height: auto;
  background-color: #14171c;
}
footer p {
  font-size: 14px;
  color: #fff;
  margin: 0;
  padding-top: 10px;
}
footer a {
  color: #ff0000;
}
#footer_logo {
  width: 100%;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
}
#footer_logo a {
  font-size: 14px;
  color: #ff0000;
  text-transform: none;
}
#footer_logo h4 {
  color: #fff;
  margin: 0;
  padding: 10px;
}
#footer_logo img {
  width: 200px;
  height: auto;
  background-color: #fff;
}
#footer_logo p {
  color: #fff;
  margin: 0;
  padding-top: 5px;
}
#questions {
  width: 900px;
  margin: 0 auto 0 auto;
  display: inline-block;
}
#questions h4 {
  font-size: 25px;
}
#questions p {
  width: 90%;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#questions ul {
  padding: 0;
}
#questions ul li {
  width: 100%;
  float: left;
  margin-bottom: 15px;
}
#questions img {
  border-radius: 5px;
}
#contact .fa-instagram, .fa-facebook-f {
  font-size: 40px;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  padding: 20px;
}
#contact .fa-instagram:hover {
  color: #3F729B;
}
#contact .fa-facebook-f:hover {
  color: #3B5998;
}
/**************************************/
/* MEDIA QUERIES **********************/
/**************************************/
@media only screen and (max-width: 1370px) {
	#home {
		background-attachment: scroll !important;
	}
	#banner {
    	background-attachment: scroll !important;
  	}
}

/* TABLET *****************************/
@media only screen and (max-width: 1024px) {
  #logo {
    width: 140px;
    margin: 10px 0 0 20px;
  }
  header {
    background: #fff;
    box-shadow: none;
    height: 64px;
  }
  header nav {
    margin: 0;
    float: none;
  }
  .fa-bars {
    font-size: 40px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -45px 20px 0 0;
    color: #b23926;
  }
  header nav ul {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  header nav ul.open {
    height: auto;
  }
  header nav ul li {
    background: #fff;
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 28px;
    border-top: 1px solid #dddddd;
  }
  header nav ul li:hover {
    background-color: #eeeeee;
    color: #494949;
  }
  #home {
    background-attachment: scroll !important;
  }
  #home h1 {
    font-size: 105px;
    margin-top: 200px;
  }
  #home h2 {
    font-size: 32px;
  }
  #home h4 {
    font-size: 60px;
  }
  h3 {
    padding-top: 12%;
  }
  #leistungen img {
    max-width: 90%;
  }
  #banner {
    background-attachment: scroll !important;
  }
  #banner img {
    width: 95%;
    height: auto;
    padding: 5px;
  }
  #projects {
    width: auto;
  }
  #projects ul li {
    width: 50%;
  }
  #projects ul li:last-child {
    padding-bottom: 20%;
  }
  #projects p {
    width: 53%;
  }
  #projects hr {
    width: 54%;
  }
  #projects img {
    width: 55%;
    height: auto;
  }
  #experiments {
    width: 850px;
  }
  #experiments ul li {
    width: 33.3%;
  }
  #experiments ul li:last-child {
    padding-bottom: 20%;
  }
  #experiments p {
    width: 53%;
  }
  #experiments hr {
    width: 54%;
  }
  #experiments .ov_bottom {
    height: 300px;
  }
  #questions {
    width: auto;
  }
  #questions ul li {
    width: 100%;
    float: none;
  }
  #questions ul li:last-child {
    padding-bottom: 20%;
  }
  #questions p {
    width: 53%;
  }
  #questions hr {
    width: 54%;
  }
  #questions img {
    width: 55%;
    height: auto;
  }
}
/* MOBILE ****************************/
@media only screen and (max-width: 850px) {
  h3 {
    padding-top: 22%;
  }
  #home img {
    max-width: 90%;
  }
  #home h1 {
    font-size: 64px;
    margin-top: 180px;
  }
  #home h2 {
    font-size: 20px;
  }
  #home h4 {
    font-size: 36px;
  }
  #leistungen img {
    max-width: 95%;
  }
  #projects ul li {
    width: 100%;
    float: none;
  }
  #projects ul li:last-child {
    padding-bottom: 20%;
  }
  #projects p {
    width: 68%;
  }
  #projects hr {
    width: 69%;
  }
  #projects img {
    width: 70%;
    height: auto;
  }
  #experiments {
    width: 70%;
  }
  #experiments ul li {
    width: 100%;
    float: none;
  }
  #experiments p {
    width: 68%;
  }
  #experiments hr {
    width: 69%;
  }
  #experiments .ov {
    width: 250px;
    margin: auto;
  }
  #experiments .ov_top {
    height: 140px;
  }
  #experiments .ov_bottom {
    height: 260px;
  }
  #termin h3 {
    font-size: 2em;
  }
  #termin iframe {
    max-width: 90%;
  }
  #questions p {
    width: 100%;
  }
  #questions hr {
    width: 69%;
  }
  #questions img {
    width: 70%;
    height: auto;
  }
}
