/* Grundelemente */

body, html, header {margin:0; padding:0;}
html {font-family:sans-serif-condensed, calibri, helvetica, arial;}
body {display:flex; flex-direction: column;}
header, main { width: 100%;}

article {width: 100%;margin:0;display:flex; flex-direction:column; align-items: center;}
section {width: 100%;}

a {text-decoration: none; color: rgba(255,127,0,1);cursor:pointer;}
h1 {padding:0; margin:0; margin: 30px 30px 0 30px; text-align: center;color: #fff;}
h2 {margin:0;}

.color-orange {color: rgba(255,127,0,1);}
.color-white {color: rgba(255,255,255,1);}
.bcolor-orange {background-color: rgba(255,127,0,1);} 

/* Boxen */

.four-boxes {display: flex; align-items: space-around;width: 100%;}

.box {display:flex; flex-direction: column; align-items: center; justify-content: space-between; background-color:rgba(255,127,0,1);}

/* Tabellen */

/* Buttons */

.free-button {padding: 10px 20px; border: 2px solid rgba(255, 127, 0, 1); background: rgba(255, 127, 0, 1); color:rgba(255, 255, 255, 1); font-weight: bold; cursor:pointer;}

.box-button {padding: 10px 20px; border: 2px solid #fff; background: rgba(255,255,255,1); color:rgba(255, 127, 0, 1); font-weight: bold; cursor:pointer;}

/* drop-down */


/* Nav */

nav {position: fixed; top: 20px; left:20px; right:20px; z-index:100;}

nav img {height: 120px; margin: 10px 30px;}
nav ul {display: flex; align-items: center; padding: 0; margin: 0;}
nav ul li {text-decoration: none; list-style: none; font-weight: bold; }

/* Header */

header { width: 100%;}
header article {display:flex; }
header img { -webkit-filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); }
header h1 {color:rgba(255,255,255,1);}
header section {color:rgba(255,255,255,1); text-align: center;}

.headerindex {background-image: url("/pics/farbverlauf02_m.jpg"); background-position:center; background-size:cover;  }

/* Kontaktformular */

/* AGB */

.paragraph {display:flex;}
.paragraph-number {margin: 0 0 0 20px; font-size: 18px;}
.paragraph-text {margin: 0 40px;}

/* Footer */

footer {background:rgba(0,30,60,1); border-radius:15px; margin: 0 20px 20px 20px;}
#footer-top {color:rgba(255,127,0,1);}
#footer-middle, #footer-bottom {color:rgba(200,42,0,1); }
#footer-top {padding:  50px 0;}
#footer-top article {display:flex; justify-content: space-between; align-items: center;  max-width: 1000px; margin: 0 auto;}
#footer-top article h4 {margin: 0 auto;}
#footer-top article section {display: flex; align-items: center; }
#footer-top article section a {color:rgba(200,42,0,1);}
#footer-top article section .icons {width: 30px; height: 30px;}
#footer-top article section .icon-main {z-index:2;}
#footer-top article section .icon-hover {z-index: 1;}
#footer-top article section img {width: 30px; position:absolute;}
.footer-top-one, .footer-top-two {display:flex; flex-direction: column;}
.footer-top-three {justify-content:center;}
#footer-middle section {display: flex; flex-direction: row; justify-content: space-around;max-width: 800px;  margin: 0 auto;}
#footer-middle section a {margin: 0; color:rgba(200,42,0,1);}
#footer-bottom {margin: 10px 0; text-align:center;font-size:14px;}


@media (max-width:600px) {

/* Grundelemente */

	.desktop {display:none;}
	main {margin: 0;}
	h1 {font-size: 30px; }
	h2 {font-size: 25px;}
	h3 {font-size: 23px; }
	
	.fullview {max-height: 600px;}

/* Nav */
	
	#mobile-nav {
		position:absolute;
		width: 100%;
		height:80px;
		border-radius: 15px;
		background:rgba(0,30,60,1);
		overflow:hidden;
		transition: width 1s,
					height 1s;
	}
	#span-container {
		position: absolute;
		display:flex;
		flex-direction:column;
		justify-content: center;
		align-items: center;
		width:100px;
		height: 80px;
	}
	#mobile-nav span {
		width: 40px; 
		height: 4px; 
		margin: 3px; 
		background: rgba(255,127,0,1); 
		border-radius: 3px; 
		z-index: 20; 
		
	}
	#mobile-nav span:nth-child(1) {
		transform: translate(0px,0px)
					rotate(0deg);
		transition: transform 0.5s;
	}
	#mobile-nav span:nth-child(2) {
		opacity:1;
		transition: opacity 0.5s;
	}
	#mobile-nav span:nth-child(3) {
		transform: translate(0px,0px)
					rotate(0deg);
		transition: transform 0.5s;
	}
	#mobile-nav ul {
		flex-direction: column;
		align-items: flex-start;
		padding: 70px 0 0 20px;
		opacity:0;
		transition: opacity 1.7s;
	}
	#mobile-nav ul li{
		font-size:18px;
		font-weight: bold;
		margin: 10px;
	}
	#click {
		display:none;
	}
	nav label {
		position:absolute;
		display:block;
		width:100px;
		height: 80px;
		z-index:50;
	}
	#click:checked ~ #mobile-nav {width:90vw; height: 300px;}
	#click:checked ~ #mobile-nav ul {opacity:1;}
	#click:checked ~ #mobile-nav span:nth-child(1) {
		transform: translate(0px,10px)
					rotate(45deg);
	}
	#click:checked ~ #mobile-nav span:nth-child(2) {
		opacity: 0;
	}
	#click:checked ~ #mobile-nav span:nth-child(3) {
		transform: translate(0px,-10px)
					rotate(-45deg);
	}
	nav .mobile p {
		position:absolute;
		right: 20px;
		margin:0;
		padding: 0;
		line-height:80px;
		font-size: 25px;
		font-weight: bold;
		color:rgba(255,127,0,1);
		z-index: 200;
	}

/* Header */

	header {height: 100vh;}
	header img {
		width: 70vw;
		margin: 110px 0 0 0;
	}

/* Kontaktformular */



/* Footer */

	#footer-top article {flex-direction: column; justify-content: space-between; align-items: center;}
	#footer-top article h4 { margin: 20px;}
	#footer-top article section {line-height: 25px; }
	#footer-top article section a {color:rgba(255,127,0,1);}
	#footer-top .footer-top-two {margin: 50px 0;}
	#footer-middle {font-size:15px;}

}



@media (min-width:601px) and (max-width:799px) {

/* Grundelemente */

	.mobile {display:none;}
	main {margin: 0;}
	h1 {font-size: 30px; }
	h2 {font-size: 25px;}
	h3 {font-size: 23px; }

/* Nav */

	nav img {display:none;}
	nav section {width: 100%; height: 80px; background: rgba(0,30,60, 1);  border-radius:15px; -webkit-filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1));}
	nav ul {width: 100%; height: 80px; flex-direction: row; justify-content: flex-end; align-items: center;}
	nav ul li {margin: 10px; font-size:18px;}
	nav ul li:nth-child(5) {padding-right:20px;}
	nav a {transition: color 0.5s ease;}
	nav a:hover {color:rgba(200,42,0,1);}

/* Header */

	header {min-height: 100vh;}
	header .filler {
		height: 110px;
		width: 100%;
	}
	header article {
		display:flex; 
		flex-direction:column; 
		justify-content:center; 
	}
	header img {
		max-height:50vh;
		min-height: 350px;
		max-width:40vw;
	}


/* Kontaktformular */

	

/* Footer */

	#footer-top article {flex-direction: column; justify-content: space-between; align-items: center;}
	#footer-top article h4 { margin: 20px;}
	#footer-top article section {line-height: 25px; }
	#footer-top .footer-top-two {margin: 50px 0;}
	#footer-middle {font-size:15px;}
	
	#footer-top article section .icon-main {transition: opacity 0.5s ease;}
	#footer-top article section .icon-main:hover {opacity: 0;}
	
	#footer-middle a {transition: color 0.5s ease;}
	#footer-middle a:hover {color:rgba(255,255,255,1);}

}

@media (min-width:800px) and (max-width:999px) {

/* Grundelemente */

	.mobile {display: none; }
	main {margin: 0;}
	h1 {font-size: 35px; text-align: center;}
	h2 {font-size: 28px;}
	h3 {font-size: 25px; }

/* Nav */

	nav section {width: 100%;display: flex; justify-content: space-between;background: rgba(0,30,60, 1);  border-radius:15px; -webkit-filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1));}
	nav ul {flex-direction: row; justify-content: flex-end; margin:0 20px;}
	nav ul li {margin: 20px;font-size:20px; }
	nav a {transition: color 0.5s ease;}
	nav a:hover {color:rgba(200,42,0,1);}

/* Header */

	header {height: 100vh;}
	header .filler {
		height: 20vh;
		width: 100%;
	}
	header article {
		display:flex; 
		flex-direction:row; 
		justify-content:center; 
		height: 80vh;
	}
	header img {
		max-height:65vh;
		max-width:40vw;
	}
	header section {
		max-width: 50vw;
		margin: 0 0 0 40px;
	}

/* Buttons */

	.free-button {transition: all 0.5s ease;}
	.free-button:hover {border: 2px solid rgba(255, 127, 0, 1); background:rgba(255, 255, 255, 1); color:rgba(255, 127, 0, 1);}

	.box-button {transition: all 0.5s ease;}
	.box-button:hover {border: 2px solid #fff; background:rgba(255, 127, 0, 1); color:#fff;}


/* Index elements */

	.index-presentation {height: 90vh; margin:70px 0px;flex-direction: row; justify-content:space-around;align-items:center;}
	.index-presentation img {margin: 0; max-width: 50%;}
	
	.index-boxes {flex-direction: column; justify-content: space-around; align-items:center; min-width:50%;height:100%; max-height:800px;}
	.index-boxes .box {width:45%; height: 40%;}
	
/* Kontaktformular */

	

/* Footer */

	#footer-top article {flex-direction: row;}
	#footer-top article section .icon-main {transition: opacity 0.5s ease;}
	#footer-top article section .icon-main:hover {opacity: 0;}

	#footer-middle a {transition: color 0.5s ease;}
	#footer-middle a:hover {color:rgba(255,255,255,1);}
}



@media (min-width:1000px) and (max-width:1499px) {

/* Grundelemente */
	
	.mobile {display: none; }
	main {margin: 0;}
	h1 {font-size: 40px; }
	h2 {font-size: 32px;}
	h3 {font-size: 28px; }

/* Nav */

	nav section {width: 100%;display: flex; justify-content: space-between;background: rgba(0,30,60, 1);  border-radius:15px; -webkit-filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1));}
	nav ul {flex-direction: row; justify-content: flex-end; margin:0 20px;}
	nav ul li {margin: 20px;font-size:20px; }
	nav a {transition: color 0.5s ease;}
	nav a:hover {color:rgba(200,42,0,1);}

/* Header */

	header {height: 100vh;}
	header .filler {
		height: 20vh;
		width: 100%;
	}
	header article {
		display:flex; 
		flex-direction:row; 
		justify-content:center; 
		align-items: center; 
		height: 80%;
		margin: 0; 
	}
	header img {
		max-height:70vh;
		max-width:40vw;
	}
	header section {
		max-width: 40vw;
		margin: 0 0 0 40px;
	}

/* Buttons */

	.free-button {transition: all 0.5s ease;}
	.free-button:hover {border: 2px solid rgba(255, 127, 0, 1); background:rgba(255, 255, 255, 1); color:rgba(255, 127, 0, 1);}

	.box-button {transition: all 0.5s ease;}
	.box-button:hover {border: 2px solid #fff; background:rgba(255, 127, 0, 1); color:#fff;}

/* Index elements */


	
/* Kontaktformular */

	

/* Footer */

	#footer-top article {flex-direction: row; }
	#footer-top article section .icon-main {transition: opacity 0.5s ease;}
	#footer-top article section .icon-main:hover {opacity: 0;}

	#footer-middle a {transition: color 0.5s ease;}
	#footer-middle a:hover {color:rgba(255,255,255,1);}
}



@media (min-width:1500px) {
	
/* Grundelemente */

	.mobile {display: none; }
	main {margin: 0;}
	h1 {font-size: 45px; }
	h2 {font-size: 35px;}
	h3 {font-size: 30px; }
	h4 {font-size: 25px; }

/* Nav */

	nav section {width: 100%; display: flex; justify-content: space-between;background: rgba(0,30,60, 1);  border-radius:15px; -webkit-filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1)); filter: drop-shadow(0px 0px 3px rgba(0,10,30, 1));}
	nav ul {flex-direction: row; justify-content: flex-end; margin:0 20px;}
	nav ul li {margin: 20px;font-size:20px; }
	nav a {transition: color 0.5s ease;}
	nav a:hover {color:rgba(200,42,0,1);}

/* Header */

	header {height: 95vh;}
	header article {display:flex; flex-direction:row; justify-content:center; margin: 200px 0 0 0; }
	header img {
		height:65vh;
		max-width:40vw;
	}
	header section {
		max-width: 40vw;
		margin: 0 0 0 60px;
	}

/* Buttons */

	.free-button {transition: all 0.5s ease;}
	.free-button:hover {border: 2px solid rgba(255, 127, 0, 1); background:rgba(255, 255, 255, 1); color:rgba(255, 127, 0, 1);}

	.box-button {transition: all 0.5s ease;} 
	.box-button:hover {border: 2px solid #fff; background:rgba(255, 127, 0, 1); color:#fff;}

/* Index elements */


	
/* Kontaktformular */

	

/* Footer */

	#footer-top article {flex-direction: row; }
	#footer-top article section .icon-main {transition: opacity 0.5s ease;}
	#footer-top article section .icon-main:hover {opacity: 0;}
	
	#footer-middle a {transition: color 0.5s ease;}
	#footer-middle a:hover {color:rgba(255,255,255,1);}
}