.nav,.head,.about,.company,.reference,.aboutus,.contact,.footer,.impr {
	width: 100%;
	color: white;
}
.about ,.company ,.reference ,.aboutus {
	transform: skewY(6deg);
	margin-top: -170px;
}
.about .container,.company .container,.reference .container,.aboutus .container {
	transform: skewY(-6deg);
}
.nav .container {
	padding: 8px 0 8px 0;
}
.nav ul {
	list-style: none;
	padding-top: 28px;
	margin-bottom: 0;
}
.nav ul li {
	display: inline-block;
}
.nav ul li a {
	color: #494949;
	text-decoration: none;
}
.head {
	background: url(../img/Header-BG.jpg) no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position-x: center;
	text-align: center;
}
.head .container {
	padding: 400px 0 400px 0;
}
.head .container h1 {
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-delay: 1.35s;
	animation-delay: 1.35s;
}
.head .container h2 {
	-webkit-animation-duration: 3s;
	animation-duration: 3s;
	-webkit-animation-delay: 2.85s;
	animation-delay: 2.85s;
}
.about {
	color: #555555;
	background: white;
	margin-top: -103px;
}
.about .container {
	padding: 70px 0 300px 0;
}
.company {
	background: #ea1d24;
}
.company .container {
	padding: 170px 0 300px 0;
}
.company .right {
	padding-top: 3%;
	padding-bottom: 2%;
}
.left {
	border-left: solid #FFFFFF;
	padding-left: 4%;
}
.left {
	margin-left: 0;
}
.left p {
	margin: 0;
}
.company ul, .aboutus ul {
	list-style: disc;
	padding-left: 5rem;
}
.company .p {
	padding-bottom: 80px;
	position: relative;
}
.vertical-align {
	position: absolute;
	top: 37%;
	transform: translateY(-50%);
}
.reference {
	background: #f25623;
}
.reference .container {
	padding: 170px 0 300px 0;
}
.reference .right {
	padding-top: 3%;
	padding-bottom: 2.5%;
}
.reference img {
	height: auto;
	max-width: 100%;
}
.reference .p {
	position: relative;
	padding-bottom: 80px;
}
.aboutus {
	background: #ffc000;
}
.aboutus .container {
	padding: 170px 0 130px 0;
}
.aboutus .right {
	padding-top: 11%;
	padding-bottom: 9%;
}
.curright {
	border-right: solid #FFFFFF;
	padding-right: 4%;
}
.curright p {
	margin: 0;
}
.aboutus .curleft {
	padding-top: 10%;
	padding-bottom: 10%;
}
.aboutus .desktop {
	padding-top: 120px;
	padding-bottom: 120px;
}
.aboutus a {
	text-decoration: none;
}
.curleft h1 {
	padding-left: 65%;
}
.contact {
	background: url(../img/contact_bg.jpg) #ea1d24 no-repeat;
	background-size: cover;
	background-attachment: fixed;
	margin-top: -170px;
}
.contact .container {
	padding: 370px 0 110px 0;
}
.contact .right {
	padding-top: 6%;
	padding-bottom: 4%;
}
.footer {
	background: #2e2e2e;
	color: #9b9999;
}
.footer .container {
	padding: 40px 0 0 0;
}
.footer a {
	color: #ea1d24;
}
.footer ul {
	list-style: none;
}
.footer ul li {
	display: inline-block;
	padding-left: 6.9%;
}
.but {
	display: none;
}
.impr {
	background: white;
	color: #555555;
	margin-top: 234px;
}
.impr a {
	color:#ea1d24;
}
.impr img {
	padding-bottom: 40px;
}
.impr span {
	color:#ea1d24;
}
/* Mobile */
.mobile {
	display: none;
}
@media (max-width: 800px) {
.company .container,.reference .container {
	padding: 0 0 300px 0;
}
.head .container {
	padding: 300px 0 300px 0;
}
.aboutus .container {
	padding: 0 0 120px 0;
}
.contact .container {
	padding: 205px 0 110px 0;
}
.left {
	border: none;
	padding-left: 0;
}
.left p {
	margin-bottom: 2.5rem;
}
.vertical-align {
	position: relative;
	top: 0;
	transform: none;
}
.mobile {
	display: block;
}
.aboutus .desktop {
	display: none;
}
.head, .contact {
	background-attachment: scroll;
}
}
@media (min-width: 549px) and (max-width:980px) {
.about {
	word-wrap: break-word;
}
}
@media (max-width: 687px) {
.head h1 {
	line-height: 1;
}
}
@media (max-width: 1345px) {
.contact .right {
		word-wrap: break-word;
}
}
@media (min-width: 1420px) {
.nav ul li {
	padding-left: 7%;
}
}
@media (min-width: 1320px) and (max-width: 1419px) {
.nav ul li {
	padding-left: 6%;
}
}
@media (min-width: 1233px) and (max-width: 1319px) {
.nav ul li {
	padding-left: 5%;
}
}
@media (min-width: 1157px) and (max-width: 1232px) {
.nav ul li {
	padding-left: 4%;
}
}
@media (min-width: 1090px) and (max-width: 1156px) {
.nav ul li {
	padding-left: 3%;
}
}
@media (min-width: 1030px) and (max-width: 1089px) {
.nav ul li {
	padding-left: 2%;
}
}
@media (max-width: 399px) {
	.nav img {
		position: relative;
		top: -15px;
	}
}
@media (max-width: 1030px) {
	.nav ul {
		display: none;
	}
	.nav {
		text-align: center;
		background: white;
		position: fixed;
		top: 0;
		z-index: 99999;
		border-bottom: #A5A3A3 solid 1px;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
		max-height: 100px;
	}
	.nav .columns {
		width: 100%;
	}
	.but {
		display: block;
		float: left;
		position: relative;
		width: 30px;
		height: 29px;
		background: url(../img/menu.png) no-repeat;
		top: 35px;
		left: 10px;
		z-index: 999999;
	}
}
.error_message {
	text-align: center;
}
.error_message span {
	text-decoration: underline;
}
#success_page {
	padding-top: 15px;
}
#success_page span {
	text-decoration: underline;
}
#owl-demo .owl-item > div img {
    display: block;
    height: auto;
}
/*   Referenzen   */
figure {
	-webkit-margin-before:0;
	-webkit-margin-after:0;
	-webkit-margin-start:0;
	-webkit-margin-end:0;
}
.grid {
	position: relative;
}
.grid figure {
	position: relative;
	overflow: hidden;
}
.grid figure img {
	opacity: 0.7;
	transition: opacity 0.35s, transform 0.35s;
}
.grid figure a {
	position: absolute;
	z-index: 1000;
	white-space: nowrap;
	width: 77px;
	height: 77px;
	bottom: 0;
	right: 0;
}
.grid figure a img {
	width: 77px;
	height: 77px;
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
}
figure.overlay:hover a img {
	opacity: 1;
}
figure.overlay figcaption {
	text-align: left;
}
.grid figure figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
}
figure.overlay {
	background: #f25623;
	margin: 0 20px 20px 20px;
}

figure.overlay img {
	max-width: 100%;
	width: -webkit-calc(100% + 20px);
	width: calc(100% + 20px);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-10px,0,0);
	transform: translate3d(0,0,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.overlay:hover img {
	opacity: 0.2;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.overlay figcaption {
	text-align: left;
}

figure.overlay h2 {
	position: relative;
	overflow: hidden;
	padding: 0.5em 0 0.5em 1em;
}

figure.overlay h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 85%;
	height: 3px;
	background: #fff;
	content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

figure.overlay:hover h2::after {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.overlay p {
	padding: 1em 0 1em 2em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
}

figure.overlay:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
@media (min-width: 0px) and (max-width: 518px) {
figure.overlay p {
	padding: 0 0 0 1.7em;
}
}
.in:focus {
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: pulse;
	animation-name: pulse;
}
