/* Reset Default CSS
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


html {
	font-size: 76%;
}

body {
	height: 100%;
	padding: 75px 0 0;
	margin: 0;
	font-family: 'Lato', sans-serif;
	font-size: 1em;
	line-height: 120%;
}

/* fonts*/
h1 {
	font-family: 'Dosis', sans-serif;
	font-weight: 600;
	font-size: 8em;
	letter-spacing: 0.2em;
	line-height: 120%;
	text-align: center;
	margin: 0 10px 0.25em;
   background: hsl(330,75%,40%);
   color:hsl(50,80%,50%);
   text-shadow: 
     -1px -1px 1px hsl(50,80%,80%), 
     1px 1px 1px hsl(50,80%,5%);
}
h2 {
	font-weight: 300;
	font-size: 2.5em;
	line-height: 120%;
	text-align: center;
	margin-bottom: 1.25em;
}
#intro h2 {
	font-weight: 300;
	font-size: 3em;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0;
}
h1 > span,
h2 > span {
	display: inline-block;
}

h3 {
	font-weight: 400;
	font-size: 2em;
	line-height: 130%;
	text-align: center;
	margin-bottom: .5em;
}
h3.error {
	color: red;
	margin: 1em -30px;
}
h4 {
	font-size: 1.2em;
	font-weight: 300;
	line-height: 130%;
	margin-bottom: 0.5em;
	text-align: left;
}
p, li {
	font-size: 1.3em;
	line-height: 130%;
}
p {
	margin-bottom: .5em;
}

.margin-bottom {
	margin-bottom: 2em;
}
.margin-top {
	margin-top: 1em;
}
.no-margin {
	margin: 0;
}

nav {
	position: fixed;
	z-index: 1000;
	width: 100%;
	margin: 0;
	padding: 0 0 0 90px;
	top: 0;
	height: 75px;
	background: #646464;
	text-align: center;
	opacity: 0.95;
}
nav ul {
	display: inline-block;
}
nav ul.closed {
	display: none;
}
nav li {
	display: inline-block;
	float: left;
	height: 75px;
	margin-right: 10px;
}
nav a {
	color: #fff;
	display: block;
	height: 75px;
	line-height: 75px;
	margin: 0 10px;
	padding: 0;
	text-decoration: none;
	vertical-align: middle;
}
nav img {
	padding: 17px 0;
}
nav button {
	display: none;
}
section {
	position: relative;
	padding: 150px 20px 200px;
	text-align: center;
	border-bottom: 6px solid #fff;
}
nav > ul,
section > div {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}
section > img {
	position: absolute;
	top: -60px;
	margin-left: -60px;
}
#intro {
	background: hsl(330,75%,40%);

	color: #fff;
	padding: 100px 0 170px;
}

#contact {
	color: #fff;
	background: #A4A4A4;
}
#contact h2 {
	margin-bottom: .45em;
}
#contact p {
	font-size: 2em;
	text-align: center;
}
#contact p.tel {
	font-size: 1.8em;
	margin: -0.5em 0 2em;
}
a[href^=tel] {
	text-decoration: underline;
	color: inherit;
}
#imprint {
	background: hsl(330,75%,40%);
	color: #fff;
	border-bottom: 0;
	padding-bottom: 16em;
}
#imprint > div {
	max-width: 66em;
}
#imprint .half {
	font-size: .7em;
}
#imprint .half p {
	font-size: 1.409em;
}
#imprint .margin-bottom {
	font-size: 1.2em;
}

#imprint h2,
#imprint h3 {
	text-align: left;
	margin-bottom: 0.5em;
}
#imprint a {
	color: #fff;
}
#imprint dl {
    font-size: 1.5em;
    line-height: 120%;
}
#imprint dt {
	width: 5em;
	display: inline-block	;
	clear: left;
}
#imprint dd {
	display: inline;
	clear: right;
}
#imprint dd:after {
	content: " ";
    display: block;
    clear: both;
}

#data-imprint {
	text-align: left;
	padding: 4em;
}
#data-imprint > div {
	max-width: 60em;
}


.half {
	width: 45%;
	display: inline-block;
	vertical-align: top;
	padding-right: 4%;
}
.half + .half {
	padding-right: 0;
	padding-left: 4%;	
}
img.floatleft {
	float: left;
	padding-right: 40px;
}

img.floatright {
	float: right;
	padding-left: 40px;
}

img.bild_plan {position: absolute;
	z-index: 3;
	bottom: 30px;
	right: 20px;}

/* form */
form {
	width: 70%;
	margin: 0 auto;
	position: relative;
}
.mailsent form {
	padding-bottom: 0;
}
label {
	position: absolute;
	left: -9999em;
	display: inline;
	text-align: right;
	vertical-align: top;
}
label.error {
	position: relative;
	left: 0;
	display: block;
	text-align: left;
	vertical-align: top;
	font-weight: bold;
	color: red;
}

input,
textarea {
	font: 1em 'Lato',sans-serif;
	width: 100%;
	margin: 5px 0;
	padding: 6px;
	border: 0;
	background: #fff;
	outline: none;
}
input.error,
textarea.error {
	background: red;
	color: #fff;
}
.mailsent input,
.mailsent textarea {
	background: rgba(255,255,255,.5);
	color: #444;
}

textarea {
	height: 8em;
}
input[type=submit] {
	color: #fff;
	font-weight: bold;
	background: #87A180;
	width: 10em;
	height: 2.4em;
	cursor: pointer;
	margin-right: -12px;
}
div.submit {
	text-align: right;
}

/* input placeholders */
::-webkit-input-placeholder { color:#999; opacity: 1; }
::-moz-placeholder { color:#999; opacity: 1;  } /* firefox 19+ */
:-ms-input-placeholder { color:#999; opacity: 1; } /* ie */
input:-moz-placeholder { color:#999; opacity: 1; }
textarea:-moz-placeholder { color:#999; opacity: 1; }

/* input placeholders on error */
.error::-webkit-input-placeholder { color:#fff; }
.error::-moz-placeholder { color:#fff; opacity: .7; } /* firefox 19+ */
.error:-ms-input-placeholder { color:#fff; } /* ie */
input.error:-moz-placeholder { color:#fff; }
textarea.error:-moz-placeholder { color:#fff; }

/* /form */

/* Swipe 2 required styles */
.swipe {
	overflow: hidden;
	visibility: hidden;
	position: relative;
}
.js-off .swipe {
	visibility: visible;
}
#customersSwipe {
	margin: 0 78px;
}
.swipe-wrap {
	overflow: hidden;
	position: relative;
}
.swipe-wrap > div {
	float: left;
	width: 100%;
	position: relative;
}
.js-off .swipe-wrap > div {
	margin-bottom: 2em;
}

/* END required styles */
.swipe-controls {
}
.swipe-prev {
	position: absolute;
	left: 0;
	top: 50%;
	background: none;
	border: 0;
}
#customers .swipe-prev,
#customers .swipe-next {
	top: 306px;
}
.swipe-next {
	position: absolute;
	right: 0px;
	top: 50%;
	background: none;
	border: 0;
}
.js-off .swipe-prev,
.js-off .swipe-next,
.js-off .pagination {
	display: none;
}
.pagination {
	text-align: center;
	margin-top: 1em;
}
#customers .pagination {
	margin-top: 3em;
}
#works .pagination li, #aboutme .pagination li,
#customers .pagination li {
    display: inline-block;
    margin: 0 5px 2px;
    position: relative;
    text-align: center;
    vertical-align: middle;	
	background: url('img/pagination.png') no-repeat;
	background-size: 100%;
	padding: 0;
	width: 21px;
	height: 21px;
}
.swipeicon {
	display: none;
}


.onlyphone {
	display: none;
}

.search	   {
	background: #fff;
	color: #87A180;
	padding: 30px 40px 20px 40px;
}

.sup1	   {
	height:0;
	bottom:0.75em;
	position:relative;
	vertical-align:baseline;
	_vertical-align:bottom;
	font-size:.5em;
	line-height:1;
}


/*--definiert die Inserat-Tabelle--*/

.Table
    {
        display: table;
    }
    
    .Row
    {
        display: table-row;
    }
    .Cell1
    {
        display: table-cell;
	width: 250px; height: 22px;
        border: none;
        border-width: thin;
	padding-top: 0px;
        padding-left: 20px;
        padding-right: 0px;
	padding-bottom: 0px;
		
    }
    .Cell2
    {
        display: table-cell;
	width: 350px; height: 22px;
        border: none;
        border-width: thin;
	padding-top: 0px;
        padding-left: 20px;
        padding-right: 0px;
	padding-bottom: 0px;
		
    }

/* Tablet Portrait Styles */
@media screen and (max-width: 768px) {

	#customers li {
		width: 102px;
		height: 102px;
		padding: 2px;
	}
	
	#works h2 {
	    margin-left: -15px;
	    margin-right: -15px;
	}
	#aboutme h2 {
	    margin-left: -15px;
	    margin-right: -15px;
	}
}


/* Phone Styles */
@media screen and (max-width: 480px) {
/* @media screen { */
    body{
		padding: 0;
        -webkit-text-size-adjust:none;
	}
	
	h1 {
		font-size: 3em;
		margin-bottom: .5em;
	}
	h2 {
		font-size: 2em;
	}
	
	nav {
		background: none;
		text-align: left;
		height: auto;
		
		display: none;
	}
	nav ul {
		position: relative;
		top: 0;
		max-width: 100%;
		width: 100%;
		background: #646464;
		padding-left: 45px;
		min-height: 44px !important;
	}
	nav li,
	nav a {
		height: 44px;
		line-height: 44px;
		font-size: 12px;
	}
	nav button {
		background: url("img/home_mobile.png") no-repeat;
		background-size: 59px 59px;
		display: block !important;
		position: fixed;
		width: 59px;
		height: 59px;
		border: 0;
		z-index: 10;
		-webkit-tap-highlight-color: transparent;
	}
	
	section {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}
	section > img {
		top: -32px;
		margin-left: -30px;
		width: 60px;
	}
	.swipe {
		margin: 0 10px;
	}


	.swipe-prev,
	.swipe-next {
		display: none;
	}
	
	.swipeicon {
		display: block;
		position: relative;
		left: 50%;
	    margin-left: -30px;
		margin-bottom: 1em;
	}

	.half {
		width: 100%;
		float: none;
		padding: 0 !important;
	}
	form {
		width: 90%;
		padding-right: 12px;
	}
	textarea {
		min-height: 8em;
	}
	#contact h2 {
		font-weight: 400;
	}
	#contact h2.margin-top {
		margin-top: 1.5em;
	}
	#contact p {
		font-weight: 300;
	}
	#imprint h2, #imprint h3 {
		margin-top: 1em;
	}
	#imprint .margin-bottom {
	    margin-top: 1em;
	}
	
	.onlyphone {
		display: inline;
	}
}