@import url('https://fonts.googleapis.com/css?family=Muli|Playfair+Display');
@import url(font-awesome.css);
/* general settings - allgemeine formatierungen */
* {
  box-sizing: border-box;
  margin:0;
  padding:0;
}

header{
position:relative;
	background:url(../bilder/dias/swimmingpooldia.jpg), #DDDDDD repeat center fixed;
	background-size:cover;
height:600px;
height:100vh;

}

.headerbox {	
	font-family: 'Liberation serif';
	color:#fff;
}

.headerbox  h1{
	font-size:2em;
	font-weight:normal;
	letter-spacing:0.1em;
	word-spacing:0.1em;
	line-height: 1em;
}
.headerbox  h1 span{	
	font-size:2em;
	display:block;
	line-height:0.8em;
}

.headerfilter{
	height:600px;/* fallback für ältere Browser*/
	height:100vh;/*vh, viewport-height , anzeigehöhe des Ausgabegerätes(Browserhöhe, Smartphone- Tabletanzeigehöhe)*/	
	background:#00000;
	/*background:url(../bilder/raster3.png);*/
}



body {
font-family: 'Liberation serif';
}


.innerbox {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding: 0 3% 0px;
}


section .innerbox {
  padding: 15px 1%;
}

a {
  text-decoration: none;
}

h1{
font-family: 'Liberation serif';
}
section h1{
text-transform:uppercase;
margin-bottom:1.5em;
}

section p{
line-height:1.5em;
margin:1em 0;

}

/* header =  logo + navigation .main_h */


.main_h {
  position: fixed;
  max-height: 70px;
  z-index: 9999;
  width: 100%;
  padding-top: 10px;
  background:none;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 1;
  top:0px;
  padding-bottom: 6px;

}



.open-nav {

  max-height: 400px !important;
}


.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.sticky {
  background-color: rgba(255, 255, 255, 0.93);
  opacity: 1;
  top: 0px;
  border-bottom: 1px solid gainsboro;
}

.logo {
	width: 30%;
	max-width: 180px; /* Das Logo ist 180px breit */
	float: left;
}
img {
	max-width: 100%;
	height: auto;
}

.logo.dunkel{
display:none;	
}

.sticky .logo.dunkel{
display:inherit; 
color: #888;	
}
.sticky .logo.hell{
display:none;	
}



/*navigation */
nav {
 float: right;
}

nav ul {
  list-style: none;
  overflow: hidden;
  text-align: right;
  float: right;
}


nav ul li {
  display: inline-block;
  margin-left:25px;
  line-height: 1.5;
}

nav ul a {
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
font-weight:bold;
}

.sticky nav ul a {
  color: #8f8f8f;
}

/* toggle - navigationsschalter für mobile geräte */
.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 0;
  width: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}


.mobile-toggle span {

  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  background: #fff;
  display: block;
}


/* großbildgrafik + überchrift + animierter mouse */

.hero {
  position: relative;
background: url(../bilder/dias/tropfen.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #fff;
  height: 500px;
  height:100vh;
  letter-spacing: 2px;
  font-family: "Liberation serif", sans-serif;

}



.hero h1 {
  font-size: 50px;
  line-height: 1.3;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}
.hero h1 span {
  font-size: 25px;
  color: #e8f380;
  border-bottom: 2px solid #e8f380;
  padding-bottom: 12px;
  line-height: 3;
}

.mouse {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid #e8f380;
  position: absolute;
  bottom: 40px;
  position: absolute;
  left: 50%;
  margin-left: -13px;
  /*
    transform:translateX(-50%);
  */
}
.mouse span {
  display: block;
  margin: 6px auto;
  width: 2px;
  height: 2px;
  background: #e8f380;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
}





/*  //////////////    galerie-1 ////////////////////    */



.galerie-1 {
overflow:hidden;	
}

.galerie-1 li{
list-style-type:none;
width:50%;
float:left;	
line-height:0;
position:relative;
}

.galerie-1 li img{
width:100%;	
}


.col-2-ap-left {
	background-color:#231f20;
	color:#fff;
	padding: 1em;
}
div.row {
	margin-bottom: 1em;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}




/* änderungen , mediaqueries bis 766px*/


@media only screen and (max-width: 766px) {
  .main_h {
    padding-top: 25px;
  }
  
  .logo {
    float: none;
  }

  nav {
    width: 100%;
  }

  nav ul {
    padding-top: 10px;
    margin-bottom: 22px;
    float: left;
    text-align: center;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    padding: 7px 0;
    margin: 0;
  }

  .mobile-toggle {
    display: block;
  }
}



/* ende der änderungen , mediaqueries bis 766px*/

	
	.row{
		overflow:hidden;
		background-color:#ff0;
		position:relative;
	}

	.col-2-float-left{
	width:50%;
	float:left;	
	line-height:0;
	}
	.col-2-float-left img{
	width:100%;
	}


	.col-2-float-right{
	width:50%;
	float:right;	
	line-height:0;
	}
	.col-2-float-right img{
	width:100%;
	}

	.col-2-ap-right{
		background-color:#231f20;
		color:#fff;
		position:absolute;
		top:0;
		right:0;
		width:50%;
		height:100%;
	}

	.col-2-ap-left{
		background-color:#231f20;
		color:#fff;
		position:absolute;
		top:0;
		left:0;
		width:50%;
		height:100%;
	}


	.col-2-float-left{
	width:50%;
	float:left;	
	line-height:0;
	}
	.col-2-float-left img{
	width:100%;
	}


	.absolute-center{
		position:absolute;
		top:50%;
		left:50%;
		transform:translate(-50%,-50%);
		text-align:center;
		width:70%;
	}
	
	.galerie-1 li{
		width: 20%;
	}
	.galerie-1 li span{
		background:rgba(0,0,0,0.2) url(../bilder/link.png) no-repeat center;
		position:absolute;
		opacity:0;
		top:0;
		right:0;
		left:0;
		bottom:0;
		transition: all 1s ease-in-out;
	}
	.galerie-1 li:hover span{
		background-color:rgba(0,0,0,0.8);
		opacity:1;
	}
	



/* ////////////  inquiry ///////////////  */
#inquiry {
padding:100px 1em;
}
#innerbox {
box-sizing:border-box;
padding:0;
margin:0;

}
#kontaktformular{
text-align:left;	
max-width:300px;
margin:auto;	
}


#kontaktformular .label{
display:inline-block;
vertical-align: top;
width:100%;	
padding-top:0;	
}

#kontaktformular input[type="text"],
#kontaktformular input[type="email"],
#kontaktformular textarea{
width:100%;
border:1px solid #ccc;
padding:15px;
font-family:'Liberation serif', serif;
font-size:1em;
}

#kontaktformular input[type="submit"]
{
	background-color:#79c9b2;
	color:#fff;
	padding:10px 40px;
	border:0;
	margin-left:20%;
}

#kontaktformular input[type="checkbox"] {
	margin-top: 1em;
}
#kontaktformular input[type="radio"]
{
margin:0 15px 0 3px;
}



/* ////////////  kontakt ///////////////  */
#kontakt {
padding: 0;
background:url(../bilder/kontakt-higru.jpg) #349f80  no-repeat center;
background-size:cover;
color:#fff;
}

#kontakt  a{
color:#fff;
}

/* ////////////  footer ///////////////  */

footer{
	background-color:#349f80;
	padding:30px 0 30px 0;
	color:rgba(255,255,255,0.3);
    
}



/* /////////////  back-to-top ///////////////  */
#back-top{
position:fixed;
right:20px;
bottom:20px;
z-index:99999;
background-color:#f00;
color:#fff;	
text-decoration:none;
width:40px;
height:40px;
text-align:center;
border-radius:50%;
}





