@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: "Raleway";
  font-display: swap;
  src: url(Raleway-VariableFont_wght.woff2) format("woff2");
}

/* UNIVERSAL ANFANG */

* {
	margin: 0px;
	padding: 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

a {
	text-decoration: none;
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:link, a:visited, a:active, a:hover {
	color: black;
}

h1, h2, h3 {
	font-weight: normal;
}

h1 {
	font-size: 48px;
}

h2, h3 {
	font-size: 36px;
    line-height: 1.1;
}

/* UNIVERSAL ENDE */

/* BODY ANFANG */

html, body, #primary {
    height: 100%;
}

body {
	font-family: "Raleway", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 15px;
	min-width: 320px;
}

.button {
	border: none;
	padding: 18px;
	display: inline-block;
}

.button:hover {
	background-color: gainsboro;
}

/* BODY ENDE */

/* NAVIGATION ANFANG */

nav.top {
	position: fixed;
	width: 100%;
	min-width: 320px;
	z-index: 1;
	background-color: white;
	line-height: 150%;
	box-shadow: 0px 5px 4px 0 rgba(0,0,0,0.4);
}
	
div#logo {
	position: absolute;
	width: 50%;
	max-width: 190px;
	left: 15px;
}

.icon {
	float: right;
}

.icon img {
	margin: 0px;
}

.nav-mobile {
	display: none;
}

@media (max-width: 850px) {
	
	div#logo {
		left: auto;
		right: 10px;
	}

	.icon {
		float: left;
	}
	
	.dropdown {
		position: absolute;
		width: 145px;
		background-color: white;
		box-shadow: 5px 5px 4px 0 rgba(0,0,0,0.4);
	}
	
	.dropdown a {
		width: 100%;
		display: none;
	}

	.nav-mobile {
		display: block;
		width: 145px;
	}
	
	.nav-mobile a {
		width: 100%;
	}
	
	#navigation:hover, #navigation:hover .dropdown a {
		display: block;
	}

}

@media (max-width: 400px) {
	
	.n2 {
		width: 400px;
	}
	
}

@media (max-width: 359px) {

	div#logo img {
		width: 100%;
	}
	
}

/* NAVIGATION ENDE */

/* HEADER ANFANG */

header {
	background-image: url("img/bg-00ext-1.jpg");
	background-position: top left;
	background-size: cover;
	min-height: 100%;

	animation-name: animate;
	animation-direction: normal;
	animation-duration: 100s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
	animation-play-state: running;
	animation-timing-function: easy-in-out;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@keyframes animate {
	0%   {background-image: url("img/bg-00ext-1.jpg");}
	48%  {background-image: url("img/bg-00ext-1.jpg");}
    
	49%  {background-image: url("img/bg-00ext-2.jpg");}
	96%  {background-image: url("img/bg-00ext-2.jpg");}
    
	97%  {background-image: url("img/bg-00ext-1.jpg");}
	100% {background-image: url("img/bg-00ext-1.jpg");}
}
#blackbox {
	background-image: url(img/ext/stripe.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: 1800px;
	margin-top: 200px;
    margin-bottom: 60px;
}

#titlebox {
	background-image: url(img/ext/logo.png);
	background-repeat: no-repeat;
	background-position: 50% 30px;
	background-size: 600px;
    padding-top: 250px;
}

#titlebox-down {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

#titlebox-down a {
    display: block;
}

#titlebox-down strong {
    color: cornflowerblue;
    text-decoration: underline;
}

.titlebox {
	background-position: top;
	background-repeat: no-repeat;
    background-size: contain;
	background-color: white;
    width: 400px;
	padding: 170px 12px 30px 12px;
    margin-bottom: 30px;
	border-radius: 7px;
    height: 90%;
}

.titlebox p {
    padding-left: 2px;
}

.titlebox-news {
    background-color: darkred;
	background-image: url(img/ext/atention.jpg);
    padding: 15px;
}

.titlebox-news p {
    background-color: white;
    text-align: center;
    width: 100%;
    border-radius: 7px;
    padding: 15px;
}

.titlebox-left {
	background-image: url(img/ext/bild1.jpg);
    margin-left: 30px;
}

.titlebox-middle {
	background-image: url(img/ext/humus-sand-gemisch.jpg);
    background-size: cover;
	background-repeat: no-repeat;
	background-color: white;
    text-align: center;
    color: white;
	text-shadow: 2px 2px 7px black;
    margin-left: 30px;
    margin-right: 30px;
    width: 220px;
	padding: 170px 12px 30px 12px;
    margin-bottom: 30px;
	border-radius: 7px;
    height: 220px;
}

.titlebox-right {
	background-image: url(img/ext/bild2.jpg);
    margin-right: 30px;
}

#title h1 {
	color: dimgray;
	font-size: 48px;
	font-weight: normal;
	text-shadow: 3px 3px 8px gray;
}

#subtitle h2 {
	color: dimgray;
	font-size: 32px;
	font-weight: normal;
	text-shadow: 2px 2px 7px gray;
	padding: 10px 0px 20px 0px;
}

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

    #blackbox {
	    margin-top: 120px;
        background-size: 1200px;
    }

    .titlebox {
        width: 310px;
        padding-top: 135px;
    }

    #blackbox {
        background-size: 1000px;
    }

    #titlebox {
	    background-position: 50% 25px;
	    background-size: 500px;
        padding-top: 205px;
    }
    
    #title h1 {
        font-size: 36px;
    }
    
    #subtitle h2 {
        font-size: 24px;
    }

}

@media only screen and (min-width: 971px) {
    
    .titlebox-news {
        position: absolute;
        left: 30px;
        top: 100px;
        max-width: 20%;
    }
}

@media only screen and (max-width: 970px) {
    
    .titlebox-news {
        width: 300px;
        margin-bottom: 30px;
    }

    #blackbox {
	    margin-top: 120px;
        background-size: 1200px;
    }
    
    #titlebox-down {
        flex-direction: column;
        text-align: center;
        margin: 0px auto;
    }

    .titlebox-left {
        margin: 0px 0px 30px 0px;
    }

    .titlebox-middle {
        margin: 0px 0px 30px 0px;
        width: 300px;
        height: 250px;
        order: 1;
    }

    .titlebox-right {
        margin: 0px 0px 30px 0px;
    }
    
    .titlebox table {
        margin: auto;
    }

}

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

    #blackbox {
	    margin-top: 120px;
    }

    #titlebox {
	    background-size: 420px;
        padding-top: 180px;
    }

}

table, th, td {
    border: 0px hidden white;
    vertical-align: text-top;
    text-align: left;
}

table td {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

.more-blue {
    background-color: skyblue;
}

.more {
    text-align: right;
}

.more-gray {
    background-color: gainsboro;
}

/* HEADER ENDE */

/* MAIN ANFANG */

.container {
	padding: 128px 30px;
}

.center {
	text-align: center;
}

.shadow {
    box-shadow: 0px 2px 5px 0 rgba(0,0,0,0.40), 0px 2px 10px 0 rgba(0,0,0,0.20);
    border-radius: 7px;
}

.p30 { /* div-p-middle */
	padding: 30px 8px;
}

.p40 { /* div-p-middle */
	padding: 40px 8px;
}

.p50 { /* div-p-middle */
	padding: 50px 8px;
}

.m30 { /* div-p-middle */
	margin: 30px 8px;
}

.m40 { /* div-p-middle */
	margin: 40px 8px;
}

.m50 { /* div-p-middle */
	margin: 50px 8px;
}

.f15-180 {
	font: 15px;
	line-height: 180%
}

.f18 {
	font-size: 18px;
}

.f24 {
	font-size: 24px;
}

.f32 {
	font-size: 32px;
}

.f48 {
	font-size: 48px;
}

/* PART 1 (QUALITÄT) ANFANG */

#quality {
	background-color: #f1f1f1;
    display: flex;
    justify-content: center;
}

#quality div {
	background-color: white;
    width: 24%;
	padding: 30px 16px;
    display: block;
}

#quality img {
    border-radius: 100%;
}

#quality .b1 {
	background-image: url(img/ext/telefon-simple.jpg);
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
	background-color: white;
    text-align: center;
    color: white;
	text-shadow: 2px 2px 7px black;
}

#quality .b2 {
    margin: 0px 2%;
	
	background-image: url(img/ext/elektrolkw.jpg);
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
	background-color: white;
    text-align: center;
    color: white;
	text-shadow: 2px 2px 7px black;
}

#quality .b3 {
	background-image: url(img/ext/sort-simple.jpg);
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
	background-color: white;
    text-align: center;
    color: white;
	text-shadow: 2px 2px 7px black;
}

#quality a {
	text-decoration-line: underline;
}

#quality h2 {
	padding-bottom: 30px;
}

#quality p {
	padding-bottom: 10px;
}

@media only screen and (max-width: 1250px) {
    
    #quality {
        justify-content: space-between;
    }
    
    #quality div {
	   background-color: white;
        width: 32%;
	   padding: 30px 16px;
        display: block;
    }

    #quality .b2 {
        margin: 0px;
    }

}

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

    #quality {
        flex-direction: column;
    }

    #quality div {
        width: 400px;
        margin: auto;
        
    }

    #quality .b2 {
        margin: 30px auto;
        
    }

}

/* PART 1 (QUALITÄT) ENDE */

/* PART 2 (SERVICE) ANFANG */

#service {
	background-image: url(img/kies-bg.jpg);
    height: 100%;
}

#service a {
	text-decoration-line: underline;
}

#service h2 {
	padding-bottom: 30px;
}

#service p {
	padding-bottom: 10px;
}

#service-down {
    background-image: url(img/ext/box-transparent.png);
    padding-left: 20px;
    margin: 0px auto;
    width: 76%;
    display: flex;
    justify-content: space-between;
}

.service-box {
    width: 53%;
}

.preisliste {
    width: 45%;
}

#lastwagen {
    display: flex;
    width: 100%;
    padding-bottom: 40px;
}

.lkw-l {
    padding-right:25px;
    padding-bottom: 20px;
}

.lkw-r img {
    max-width: 100%;
}

.preisliste {
    text-align: center;
}

.preisliste img {
    width:100%;
    max-width:500px;
    margin: 8px auto;
}

@media only screen and (max-width: 1250px) {
    
    #service-down {
        width: 100%;
    }

}

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

    #service-down {
        flex-direction: column;
        padding-right: 20px;
        width: 400px;
    }
    
    .service-box, .preisliste {
        width: 100%;
    }
    
    #lastwagen {
        flex-direction: column;
    }

    .preisliste img {
        margin-bottom: 0px;
    }

}

/* PART 2 (SERVICE) ENDE */

/* PART 3 (KONTAKT) ANFANG */

#contact {
	background-color: #f1f1f1;
    display: flex;
    justify-content: center;
}

#contact div {
	background-color: white;
    width: 24%;
	padding: 30px 16px;
    display: block;
}

#contact .b1 h2, #contact .b2 h3, #contact .b3 h3 {
	padding-bottom: 30px;
}

#contact .b1 ul {
	padding-left: 15px;
	padding-top: 15px;
}

#contact .b2 {
    margin: 0px 2%;
}

#contact .b2 p {
	padding-bottom: 15px;
}

#contact .b2 img {
	position: relative;
	top: 5px;
	padding-right: 5px;
}

#contact .b3 p {
	padding-bottom: 10px;
}

#contact .b3 .button {
	font-family: "Raleway", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 15px;
	margin-top: 15px;
}

.form-input {
	padding: 8px;
	display: block;
	border: none;
	border-bottom: 1px solid #ccc;
	width: 100%;
	font-family: "Raleway", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 15px;
}

@media only screen and (max-width: 1250px) {
    
    #contact {
        justify-content: space-between;
    }
    
    #contact div {
	    background-color: white;
        width: 32%;
	    padding: 30px 16px;
        display: block;
    }

    #contact .b2 {
        margin: 0px;
    }

}

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

    #contact {
        flex-direction: column;
    }

    #contact div {
        width: 400px;
        margin: auto;
        
    }

    #contact .b2 {
        margin: 30px auto;
        
    }

}

/* PART 3 (KONTAKT) ENDE */

/* PART 4 (IMPRESSUM) ANFANG */

#impressum {
	display: none;
}

#impressum:target {
	display: block;
}

#impressum div {
	padding: 30px 16px;}

#impressum p.f18, #impressum p.f24, #impressum p.f48 {
	padding-bottom: 30px;
}

#impressum p.f32 {
	padding-top: 30px;
}

/* PART 5 () ENDE */

/* FOOTER ANFANG */

footer {
	color: white;
	background-color: #999999;
}

/* FOOTER ENDE */

/* HACKS ANFANG */

.hacks {
	background-color: mistyrose;
	width: 100%;
	color: red;
	padding: 5px 20px;
	margin: 30px 0px;
}

.hacks-box {
	background-color: #F1F1F1;
	border: 1px solid #999999;
	padding: 10px;
	margin: 20px auto;
	width: 90%;
}

/* IE9 */

#ie9 {
	display: none;
	display: block\9;
}

#primary {
	display: none\9;
}

/* IE10 */

#ie10 {
	display: none;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* Hack für IE10 und IE11 */

	#primary {
		display: block;
	}

	#ie10 {
		display: none;
		display: block\9;
	}

	#ie9 {
		display: none;
	}

	#primary img {
		border-width: 0px;
	}

}

/* HACKS ENDE */


#load {
    background-image: url("img/bg-00ext-1.jpg");
    height: 0px;
    
    animation-name: load;
	animation-direction: normal;
    animation-duration: 10s;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-play-state: running;
	animation-timing-function: easy-in-out;
}

@keyframes load {
	0%   {background-image: url("img/bg-00ext-1.jpg");}
	40%   {background-image: url("img/bg-00ext-2.jpg");}
}

/* MAIN ENDE */