
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700,900&display=swap');
@import url(normalize.css);
@import url(all.min.css);
@import url(lightbox.min.css);
@import url(flickity.min.css);


/*General Settings = Allgemeine Formatierung für alle Geräte*/

* {
  box-sizing: border-box;
}

body {
  color: #333;
  background: white;
  -webkit-font-smoothing: antialiased;
  font-family: 'Raleway', sans-serif;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 30px;
  line-height: 1.8;
  text-transform: uppercase;
}



.row {
overflow:hidden;
}

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

/*CSS-Raster/////////////////////////*/

.halbe{
	width:48%;
	margin-right:4%;
	float:left;
}

.drittel{
	width:30.666%;
	margin-right:4%;
	float:left;
}

.zweidrittel{
	width:65.333%;
	margin-right:4%;
	float:left;
}

.halbe:last-child,
.drittel:last-child,
.zweidrittel:last-child{
	margin-right:0;
}

header .innerbox {
  padding: 0 1%;
}


/* button //////////////////////////////////////////////////////////////*/

.button{
	display:inline-block;
	margin-top:1.3em;
	text-transform: uppercase;
	color:#fff;
	font-weight:600;
	background: #393939;
	padding: 11px 30px;
	font-size:0.8em;
	letter-spacing:2px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.button:hover{
	background:#000;
}


/* header //////////////////////////////////////////////////////////////*/

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

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

.open-nav {
  max-height: 400px !important;
   background-color: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid gainsboro;
}
}
.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}


.logo {
  width: 50px;
  font-size: 25px;
  color: #fff;
  text-transform: uppercase;
  float: left;
  display: block;
  margin-top: 0;
  line-height: 1;
  margin-bottom: 10px;
}

.sticky .logo {
 color: #8f8f8f;
}


nav {
  float: right;
}

nav ul {
	
  list-style: none;
  overflow: hidden;
  text-align: right;
  float: right;
  margin-left:0px;
  margin-top:8px;
}

nav ul li {

  display: inline-block;
  margin-left: 35px;
  line-height: 1.5;
}

nav ul a {
  color: #444;
  text-transform: uppercase;
  font-size: 18px;
}

.sticky nav ul a {
  color: #888888;
}

.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: #8f8f8f;
  display: block;
}


/*Hero-Großbildbereich im Header*/


.hero {
  position: relative;
  background: url(../bilder/higru/higru2b.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  letter-spacing: 2px;
}

.herobox{
  position: relative;
  height: 500px;
  height: 100vh;
  max-width:940px;
  margin: 0 auto;
  padding: 0 2%;
}

.hero h1 {
  background:fff#;
  position:absolute;
  right: 0%;
  top: 67%;
  transform:translateY(-50%);
  font-size: 2.5em;
  font-weight:900;
  line-height: 0.7;
  color: #f90;
  text-shadow: 0.1em 0.1em #2a2a2a;
  text-transform:inherit;
}

.hero h1 span {
  font-size: 0.6em;
  font-weight:700;
   text-shadow: 0.1em 0.1em #2a2a2a;
  color: #f90;
}

.hero h1 span span{
  font-size: 0.9em;
  color:#f90;
  text-shadow: 0.1em 0.1em #2a2a2a;
}

/*hero Ende*/

.mouse {
  margin: 0 auto;
  width: 26px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid #f90;
  position: absolute;
  left: 50%;
  bottom: 40px;
  margin-left: -13px;
  transform:translateX(-50%);
}

.mouse span {
  display: block;
  margin: 6px auto;
  width: 2px;
  height: 4px;
  border-radius: 4px;
  background: #f90;
  border: 1px solid transparent;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  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);
  }
}

/*Formatierung der Sektionen//////////////////*/

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

section h2{
	text-align:center;
	font-weight:700;
	font-size:1.55em;
}

section h3{
	font-weight:300;
	font-size:1.32em;
	text-transform:capitalize;
}


/* Section About ///////////////*/




/* section what-i-do ------ */

#what-i-do{
	background:#f9f9f9;
}

#what-i-do .drittel{
	background:#fff;
	text-align:center;
	padding:1.2em;
	border:1px solid #eee;
}

.iconbox{
	background-color:#393939;
	width:70px;
	height:70px;
	border-radius:50%;
	display:inline-block;
	padding-top:18px;
		
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}

#what-i-do .drittel:hover .iconbox{ 
	background-color:#f90;
}

.iconbox i{
	color:#fff;
	font-size:2em;
}

.whatido {
	font-size:0.9em;
}




/* Schnellkontakt///////////////*/


#schnellkontakt{
background:#dbd4d4;
color:#000;
}

#schnellkontakt .drittel{
	text-align:left;
}

/*schnellkontakt button//////////////*/
#schnellkontakt .button{
 color: #fff;
 background:#000;
 padding:1em;
margin-top:20px;
}

#schnellkontakt .button:hover{
 background: #42403d;
}



/* Section Work ///////////////*/

#work .innerbox{
	max-width:100%; 
	padding:50px 0 0;
}

ul#workliste{
	overflow:hidden;
	list-style-type:none;
	padding:0;
	margin:0;
}

ul#workliste li{ 
	width:25%; 
	float:left;
}

ul#workliste li img{ 
	width:100%;
}

ul#workliste figure{
	margin:0; 				
	line-height:0;
	position:relative; 
}

ul#workliste figcaption{
	background:#000;
	background:rgba(0,0,0,0.8);
	line-height:1.5em; 
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	text-transform:uppercase;
	opacity:0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

ul#workliste figcaption:hover{
	opacity:1;
}

.figcaption-box{
	color:#fff;
	position:absolute;
	top:50%;
	left:50%;
	width:80%;
	transform:translate(-50%,-50%);
	text-align: center;
}

.figcaption-box .kategorie{
	display:inline-block;
	background:#fff;
	color:#333;
	margin-bottom:0.3em;
	padding:0.3em 0.625em;
	transform:translate(0,-30%); 
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	opacity:0;
}

.figcaption-box .projekt{
	display:block;
	transform:translate(0,30px); 
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	opacity:0;
}

ul#workliste figcaption:hover .figcaption-box .kategorie{ 
	transform:translate(0,0px);
	opacity:1;
}

ul#workliste figcaption:hover .figcaption-box .projekt{
	transform:translate(0,0px);
	opacity:1;
}



/* footer ////////////////////////////////////  */
footer{
	background-color:#000;
	padding:0px;
}

footer ul{
	padding:0;
	margin:0;
	list-style-type:none;
}
footer ul li{
display:inline;
}

footer ul li a{
color:#fff;
color:rgba(255,255,255,0.8);

-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}


footer ul li a:hover{
color:#ccc;
color:rgba(255,255,255,0.5);

}

#rechtliches{
float:left;	
margin-top:0px;
}

#rechtliches li a{
margin-right:15px;
}

#social{
text-align:right;
float:right;		
}

#social li a{
margin-left:15px;
font-size:2em;

}
.innerbox #adresse{
position:relative;
}
#adresse{
display:inline-block;
color:#fff;
color:rgba(255,255,255,0.8);
position:absolute;
left:50%;
transform:translate(-50%,0);
margin-bottom:-30px;
}

#adresse h1{
text-align:center;
border-bottom:1px solid #fff;
margin-top:-60px;
}

#adresse a{
color:#fff;
}

#adresse a:hover{
border-bottom:1px solid #fff;
}

#copyright{
display:inline-block;
color:#fff;
color:rgba(255,255,255,0.2);
margin-bottom:-40px;

padding:0;
position:absolute;
left:49%;
transform:translate(-50%,0);
}

/*Scroll To Top////////////////////////*/

#scroll-to-top {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  color:#fff; 
  font-size:2em; 
  padding-top:6px;
}

#scroll-to-top:hover {
  cursor: pointer;
  background-color: #333;
}

#scroll-to-top:active {
  background-color: #555;
}

#scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}


/* BREAKPOINT/CSS-WEICHE ///////////////*/

/*Apple-Problematik für Smartphones und Tablets abfangen*/
@media only screen and (max-width: 1234px) {
	.hero { 
  position: relative; 
  background: url(../bilder/higru/higru2b.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  letter-spacing: 2px;
}
}/*Ende 480px*/


@media only screen and (max-width: 866px) {
	/*  Work ///////////////*/

	ul#workliste{
		width:96%; /*soll nicht am Rand kleben*/
		margin:auto;
	}

	ul#workliste li{ 
		width:49%; /*jetzt 2-spaltig*/
		margin-right:0 2% 2% 0;
		border:1px solid #eee;
		padding:0.625em;
	}

	ul#workliste li:nth-child(2){ 
		margin-right:0 0 2% 0;
	}


	ul#workliste figcaption{
		background:#fff; /*auf weiß geändert*/
		background:rgba(255,255,255,1);
		position:static; /*deaktiviert die figcaption, sie liegt nun darunter*/
		opacity:1; /*sichtbar machen*/
		line-height:1.3em;
		padding-top:0.625em;
	}


	.figcaption-box{
		color:#f90;
		position:static; /*geändert*/
		width:100%; /*geändert auf 100*/
		transform:translate(0,0); /*muss auf 0 zurückgesetzt werden*/
	}

	.figcaption-box .kategorie{
		color:#333;
		margin-bottom:0;
		transform:translate(0,0);  /*muss auf 0 zurückgesetzt werden*/
		opacity:1; /*sichtbar machen*/
		padding:0;
	}

	.figcaption-box .projekt{
		transform:translate(0,0); /*muss auf 0 zurückgesetzt werden*/
		opacity:1; /*sichtbar machen*/
	}
}/*Ende 866px*/


/* BREAKPOINT/CSS-WEICHE ///////////////*/

@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;
  }
  
  /*hero*/
  
  .hero h1 { /*h1 wird an der herobox ausgerichtet*/
  font-size: 2.3em;
  padding:0.625em;
  background:#fff;
  background:rgba(255,255,255,0.8);
  }


	/*CSS-Raster*/

	.halbe,.drittel,.zweidrittel{
		width:100%;
		margin-right:0;
		float:none;
	}

	#about .halbe{
		margin-bottom:6em;
	}

	#what-i-do .drittel{
		margin-bottom:1em;
	}


	/* Schnellkontakt///////////////*/

	#schnellkontakt{
		text-align:center;
	}

	#schnellkontakt .drittel{
		text-align:center;
	}


	/*Kontakt*/
	
	#contact .halbe{
		margin-bottom:1em;
	}
	
	#contact .halbe:last-child{ /*Absatz von Email entfernt, ansonsten summiert er sich mit Abstand von Message*/
		margin-bottom:0;
	}

/*Ende 766px*/


@media only screen and (max-width: 480px){
	

	
	.hero h1 { 
	  font-size: 1.3em;
	  line-height: 0.7; /
	  color: #333;
	  text-transform:inherit; 
	}

.sticky nav ul{
margin-left:-30px;
text-align:left;
}
	
	footer .social li{
	margin: 0 1em;
	}

	ul#workliste li{ 
		width:100%; /*jetzt 1-spaltig*/
		margin-right:0 0% 2% 0;
	}
	
}/*Ende 480px*/

