@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
@import url("https://use.typekit.net/kvt6pkl.css");

*{
	box-sizing: border-box;
}

#loading_overlay{
	left: 0;
    z-index: 99999;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-self: center;
    justify-content: center;
}

#loading_overlay.loaded{
	-webkit-animation: loaded 0.8s forwards ease-in-out;
	animation: loaded 0.8s forwards ease-in-out;
}

@-webkit-keyframes loaded {
	0% { opacity: 1;}
	99% { opacity: 0; }
	100% { opacity: 0;}
}

#loading_overlay.destroy{
	display: none;
}

#loading_overlay .line_wrap{
	display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

#loading_overlay .line{
	width: 200px;
    height: 1px;
  	/*background-color: #000;*/
  	margin-top: 10px;
  	position: relative;
}

#loading_overlay .line:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 5px;
	/*transform: scaleX(1);*/
	background-color: #1E502F;
	transform-origin: center;
	animation: line 2s ease-in-out infinite;
}

#loading_overlay .percent{
	width: 100%;
	text-align: center;
	font-size: 30px;
}

@keyframes line{
	0%{
		transform: scaleX(0);
	}

	50%{
		transform: scaleX(1);
	}

	100%{
		transform: scaleX(0);
	}
}

h1, h2, h3, h4, h5, h6{
	font-family: oskar, sans-serif;
}

html, body{
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', serif;
	font-size: 20px;
	background-color: #FEFEFE;
	line-height: 1.5em;
	font-weight: 300;
	color: #575757;
	/*overflow: hidden;*/
	/*margin-left: calc(100vw - 100%);*/
}

header{
	padding: 20px 0 40px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
	background-image: url(images/fertig/curve.svg);
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
}

/*header:after{
	content: '';
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    
}*/

header .curve{
	position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
}

header .max_100{
	position: relative;
    width: 100%;
    color: #fff;
    display: flex;
    align-items: flex-end;
    z-index: 9999;
    padding: 0 40px;
}

header .max_100 .cross_wrap{
	display: none;
}

header .max_100 nav ul{
	padding: 0;
    display: flex;
    margin: 0 0 10px 30px;
}

header .max_100 nav ul a{
	text-decoration: none;
	color: inherit;
}

header .max_100 nav ul li{
	font-size: 24px;
	font-family: oskar, sans-serif;
    list-style: none;
    margin: 0 20px;
    line-height: 1em;
    position: relative;
    color: #1E502F;
}

header .max_100 nav ul li:last-of-type{
	margin-right: 0;
}

header .max_100 .logo_wrap{
	display: flex;
	align-items: flex-end;
}

header .max_100 .logo_wrap .logo{
	height: 80px;
}

header .instagram_icon{
	position: absolute;
    right: 40px;
    top: 0;
    height: 30px;
    width: auto;
}

header.up{
	background-color: #f8f8f8;
    position: fixed;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    animation: slide-down 0.5s;
}

@keyframes slide-down{
	0%{
		transform: translateY(-100%);
	}

	100%{
		transform: translateY(0%);
	}
}

header.up .max_1300{
	color: #000;
}

header.up .max_1300 .logo_wrap .logo{
	height: 1.5em;
}

header .max_1300 .logo_wrap span{
	line-height: 1em;
	margin-left: 10px;
	font-size: 24px;
}

h2.sec_title{
	margin-top: 0;
	line-height: 1em;
	font-size: 32px;
	border-bottom: 5px solid #E0D48A;
	padding-bottom: 10px;
	font-weight: 400;
	color: #1E502F;
}

h2.sec_title span{
	position: relative;
}

.max_1300{
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

section.instagram{
	padding: 60px 0;
}

section.instagram .gallery{
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

section.instagram .gallery .box{
	padding-bottom: 100%;
	float: left;
	background-color: #eee;
	background-size: cover;
	background-position: center;
	transform: translateY(20px);
	opacity: 0;
	transition: all 3s;
}

section.instagram .gallery .box.active{
	transform: translateY(0);
	opacity: 1;
}

section.instagram .gallery .box:nth-of-type(2n+1){
	transition-delay: 0.3s;
}

section.instagram .follow_wrap{
	text-align: center;
}

section.instagram .follow_wrap .follow_button{
	background-color: #1E502F;
	padding: 10px 40px 10px 80px;
	display: inline-block;
	font-family: oskar, sans-serif;
	color: #fff;
	font-size: 24px;
	margin: 40px 0 0;
	position: relative;
	border-radius: 6px;
}

section.instagram .follow_wrap .follow_button:before{
	content: '';
	position: absolute;
	left: 20px;
	background-image: url(images/fertig/instagram.svg);
	background-size: cover;
	height: 1em;
	width: 1em;
	top: 50%;
	transform: translateY(-50%);
}

section.start{
	width: 100%;
	height: 100vh;
	background-image: url(images/fertig/start2.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

section.start h1{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 10%;
	color: #fff;
	z-index: 1;
	visibility: hidden;
	margin: 0;
}

section.start .text h1.title{
	font-size: 42px;
	font-weight: 400;
	margin: 0 0 20px;
	opacity: 0;
	transition: opacity 2s ease;
}

section.start .text span{
	padding: 0 30px;
	position: relative;
	opacity: 0;
	transition: opacity 2s 0.6s ease;
}

section.start.active .text h1.title{
	opacity: 1;
}

section.start .scroll{
	position: absolute;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	width: 30px;
}

section.start .scroll .bs{
   animation: spin 2s infinite;
}

@keyframes spin {
   from {transform: translate(918px, 940px); opacity: 1}
   to {transform: translate(918px, 960px); opacity: 0}
}

section.about{
	padding: 60px 0;
	background-color: rgba(224, 212, 138, 0.2);
}

section.about .max_1300 p:first-of-type{
	margin-top: 0;
}

section.about .max_1300 p:last-of-type{
	margin-bottom: 0;
}

section.services{
	background-color: #F8F8F8;
	padding: 60px 0;
}

section.services .max_1300 .list_wrap h3{
	font-weight: 400;
	font-size: 28px;
	color: #1E502F;
	margin: 25px 0;
}

section.services .max_1300 .list_wrap .list ul{
	padding-left: 1.5em;
}

section.services .max_1300 .list_wrap .list ul li:last-of-type(){
	margin-bottom: 0px;
}

section.services .max_1300 .list_wrap .list ul li{
	list-style: none;
	position: relative;
	font-weight: 600;
	margin: 20px 0;
	margin-bottom: 15px;
	font-size: 18px;
}

section.services .max_1300 .list_wrap .list ul li span:before{
	content: '';
	width: 1.5em;
	height: 1.5em;
	left: -2em;
    top: 50%;
    transform: translateY(-50%);
	background-image: url(images/fertig/flower.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
}

section.services .max_1300 .list_wrap .list{
	margin: 25px 0;
}

section.services .max_1300 .gallery{
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

section.services .gallery .box{
	padding-bottom: 100%;
	float: left;
	background-color: #eee;
	background-size: cover;
	background-position: center;
	transform: translateY(20px);
	opacity: 0;
	transition: all 3s;
}

section.services .gallery .box.active{
	transform: translateY(0);
	opacity: 1;
}

section.services .gallery .box:nth-of-type(2n+1){
	transition-delay: 0.3s;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgba(255, 255, 255, 0.6);
  opacity: 1; /* Firefox */
}

section.contact{
	background-color: #1E502F;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
	color: #fff;
}

section.contact h2.sec_title{
	color: #fff;
	border-color: #fff;
}

section.contact .blume{
	content: '';
    background-image: url(images/fertig/flowerContact.svg);
    position: absolute;
    height: 40%;
    width: 20%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
}

section.contact .blume:nth-of-type(1){
    left: -8%;
    bottom: 20%;
}

section.contact .blume:nth-of-type(2){
    bottom: 5%;
    right: 5%;
}

section.contact .blume:nth-of-type(3){
    top: -20%;
    left: 50%;
}

section.contact .flex_wrap{
	display: flex;
	flex-wrap: wrap;
}

section.contact .information{
	width: 50%;
}

section.contact .information span{
	min-width: 150px;
	display: inline-block;
	padding: 5px 0;
}

section.contact .information .contactinformation div{
	padding-left: 40px;
}

section.contact .information .contactinformation div span{
	position: relative;
}

section.contact .information .contactinformation div span:before{
	content: '';
    width: 1em;
    height: 1em;
    left: -2em;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(images/fertig/email.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
}

section.contact .information .contactinformation div:nth-of-type(2) span:before{
    background-image: url(images/fertig/telephone.svg);
}

section.contact .information .contactinformation div:nth-of-type(3) span:before{
    background-image: url(images/fertig/fax.svg);
}

section.contact .information .contactinformation div:nth-of-type(4) span:before{
    background-image: url(images/fertig/placeholder.svg);
}

section.contact .information .contactinformation div:nth-of-type(5) span:before{
    background-image: url(images/fertig/instagram.svg);
}


section.contact form{
	width: 50%;
}

section.contact form h3{
	text-align: center;
}

section.contact form .input_wrap{
	overflow: hidden;
}

section.contact .input_wrap input{
	/*height: 60px;*/
	line-height: 2em;
}

section.contact .input_wrap input, 
section.contact .input_wrap textarea,
section.contact .input_wrap select {
	font-family: 'Open Sans', serif;
	border: none;
	font-size: 20px;
	margin: 0;
	outline: 0;
	padding: 0px 0;
	width: 100%;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	background-color: rgba(255, 255, 255, 0);
	color: #fff;
	border-bottom: 5px solid #fff;
	margin-bottom: 30px;
	transition: border-color 0.5s;
	font-weight: 300;
}

section.contact .input_wrap input:focus, 
section.contact .input_wrap textarea:focus,
section.contact .input_wrap select:focus {
	/*border-color: #000;*/
}

section.contact .input_wrap textarea{
	width: 100%;
	margin: 0;
	float: none;
}

section.contact .wrap_checkbox{
	clear: both;
	margin-top: 20px;
}

section.contact .wrap_checkbox .checkbox-custom{
	display: none;
}

section.contact .wrap_checkbox .checkbox-custom-label{
  display: flex;
  position: relative;
  align-items: center;
  margin: 5px;
  cursor: pointer;
}

section.contact .wrap_checkbox .checkbox-custom-label .rectangle{
  content: '';
  background: #fff;
  border: 2px solid #ddd;
  display: inline-block;
  vertical-align: middle;
  width: 1em; 
  height: 1em;
  padding: 2px; 
  margin-right: 10px;
  position: relative;
}

section.contact .wrap_checkbox .checkbox-custom-label .rectangle:before{
	content: "";
    position: absolute;
    top: .3em;
    /*left: .2em;*/
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transform: rotate(45deg);
    transform-origin: 0% 100%;
}

section.contact .wrap_checkbox .checkbox-custom:checked + .checkbox-custom-label .rectangle:before{
    animation: checkbox-check 125ms 250ms cubic-bezier(.0,.0,.0,1) forwards;
}

section.contact .wrap_checkbox .checkbox-custom-label a{
  color: #fff;
}

section.contact .input_wrap input.send{
	background-color: #fff;
    padding: 0px 40px;
    width: 100%;
    font-family: oskar, sans-serif;
    color: #1E502F;
    font-size: 24px;
    margin: 40px 0 0;
    position: relative;
    border-radius: 6px; 
    cursor: pointer;
}

#site_impressum header{
	background-color: #f8f8f8;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

#site_impressum header .max_1300{
	color: #000;
}

section.impressum .max_1300{
	padding: 60px 40px;
	margin-top: 100px;
}

@keyframes checkbox-check{
  0%{
    width: 0;
    height: 0;
    border-color: #1E502F;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  33%{
    width: .2em;
    height: 0;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  100%{    
    width: .2em;
    height: .5em;    
    border-color: #1E502F;
    transform: translate3d(0,-.5em,0) rotate(45deg);
  }
}

footer{
	padding: 20px 0px;
	font-size: 16px;
}

footer .max_1300 .impdatins{
	width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .max_1300 .impdatins a{
	color: inherit;
	text-decoration: none;
}

footer .max_1300 .links span{
	width: 50%;
    display: block;
    float: left;
    margin-bottom: 5px;
}

footer .max_1300 .impdatins .middle span{
	margin: 0 10px;
}

@media (max-width: 769px) {

	#site_impressum header .max_1300 .cross_wrap .line{
	    background-color: #000;
	}

	#site_impressum	header .max_1300 nav{
		background-color: #f8f8f8;
	}

	header .instagram_icon {
	    position: absolute;
	    right: 40px;
	    top: 50%;
	    transform: translateY(-50%);
	    height: 30px;
	    width: auto;
	}

	header .max_100{
		padding: 0 20px;
	}

	header .max_100 .cross_wrap{
		display: block;
	    top: 50%;
	    width: 25px;
	    height: 16px;
	    position: absolute;
	    left: 70%;
	    cursor: pointer;
	    transform: translate(-50%, -50%);
	}

	header .max_100 .cross_wrap .line{
		width: 100%;
	    height: 3px;
	    background-color: #1e502f;
	}

	header .max_100 .cross_wrap .line:nth-of-type(2){
	    margin: 5px 0;
	}

	header .max_100 nav ul li:last-of-type{
		margin: 0;
	}

	header .max_100 nav{
		width: 100%;
		position: absolute;
		top: 90px;
		left: 0;
		padding: 20px;
		background-color: #1e502f;
		box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.15);
		transform: translateY(calc(-100% - 200px));
	}

	header .max_100 nav.active{
		transform: translateY(0%);
	}

	header.up .max_100 nav{
		background-color: #f8f8f8;
		top: 90px;
	}

	header.up .max_100 .cross_wrap .line{
	    background-color: #000;
	}

	header .max_100 nav ul{
		margin: 0;
		flex-wrap: wrap;
	}

	header .max_100 nav ul a{
		width: 100%;
	}

	header .max_100 nav ul li{
		width: 100%;
		text-align: center;
		padding: 10px 0;
		color: #fff;
	}

	header .max_100 nav ul li:before{
		left: 0;
		bottom: 0;
	}

	.mobile{
		display: none;
	}

	html, body{
		font-size: 18px;
	}

	.max_1300{
		padding: 0 20px;
	}

	section.instagram .gallery, section.services .max_1300 .gallery{
	    grid-template-columns: repeat(2, 1fr);
	    grid-gap: 10px;
	}

	section.contact .information, section.contact form{
		width: 100%;
	}

	footer .max_1300 .impdatins{
		width: 100%;
		justify-content: space-between;
		display: inherit;
    	text-align: center;
	}

	footer .max_1300 .impdatins p{
		margin-top: 10px;
	}

	footer .max_1300 .links{
		width: 100%;
	}

	footer .max_1300 .links span{
		width: 100%;
	}


}