@charset "utf-8";
@font-face {
	font-family:"open sans";
	src:url(../fonts/open-sans/OpenSans-Light.ttf);
}
@font-face {
	font-family:"open sans regular";
	src:url(../fonts/open-sans/OpenSans-Regular.ttf);
}
@font-face {
	font-family:"open sans bold";
	src:url(../fonts/open-sans/OpenSans-Bold.ttf);
}
.fa { width:1.5em; text-align:center; }
body, html { 
	font-family:"open sans regular", Helvetica, Arial, sans-serif;
	font-size: 100%;
	color:black;
	padding: 0; margin: 0;
	background: linear-gradient(180deg, rgba(44,144,183,1) 0%,rgba(255,255,255,1) 100%);
}
*, *:after, *:before { box-sizing: border-box; }
h1, h2 { color:rgba(0,0,0,1.00); font-family:"open sans regular", Helvetica, Arial, sans-serif; font-weight: normal; }
h1 { font-size:1.6rem; }
h2 { font-size:1.2rem; }
figure {margin:0;}
img, video { max-width: 100%; }
a { color:rgb(5,111,184); text-decoration: none;}
a:hover { text-decoration: underline;}

body { margin:0; padding:.5rem; }
header, nav, main, footer { margin:0 0 1rem 0;}
address { font-style: normal; }
article { 
	background: rgba(255,255,255,.7); 
	padding:1rem;
	margin:1rem auto;
}
article table { margin:0 auto; }
@media only screen and (min-width: 800px) {
	body, html { font-size: 105%; }
	body { padding:1rem;}
	article { width:80%; }
	h1 { font-size:2rem; }
}
.flex { 
	display:flex;
	flex-flow:column;
}
.flex>* {
	flex:0 0 1;
	background: rgba(255,255,255,.7); 
	padding:1rem;
	margin:1rem;
}
@media only screen and (min-width: 800px) {
	.flex { flex-flow:row; }
}

/* ------ Header ------ */
header, header a, header h1, header h2 {
	position: relative;
	font-family:"open sans bold", Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: rgba(255,255,255,.8);
	margin:0 0 1rem 0;
}
header .logo { 
	position: relative;
	top:.0rem; left:0;
	width:29%;
}
header .title {
	position: absolute;
	top:.2rem; right:0;
	font-size:220%;
}
header .phone {
	position: absolute;
	bottom:.4rem; right:0;
	font-size:100%;
	text-align:right;
	letter-spacing:.3rem;
	font-style: normal;
}
header .zusatz {
	display:none;
	position: absolute;
	bottom:0.0rem; right:0;
}
header .zusatz *{
	font-size:1.6rem;
	text-align:right;
	color: rgba(255,255,255,.8);
	margin:0;
}
@media only screen and (min-width: 480px) {
	header .title { font-size:290%; }
	header .phone { font-size:140%; bottom:.6rem; }
}
@media only screen and (min-width: 560px) {
	header .title { font-size:360%; }
	header .phone { font-size:170%; bottom:.2rem; }
}
@media only screen and (min-width: 750px) {
	header .logo { width:22%; }
	header .title { font-size:400%; top:0; }
	header .phone { font-size:170%; bottom:0rem; }
}
@media only screen and (min-width: 900px) { /* ab hier neues Layout: Logo in der Mitte, Text links und rechts daneben */
	header .logo { width:16%; margin:0 auto; }
	header .title { font-size:300%; top:.0rem; left:0; }
	header .phone { font-size:130%; bottom:0; left:0; right:auto; text-align: left; line-height: 1.8rem; }
	header .zusatz { display:block;}
}
@media only screen and (min-width: 1170px) {
	header .logo { width:14%; }
	header .title { font-size:380%; top:0; }
	header .phone { font-size:140%; line-height: 2rem; }
	header .zusatz * { font-size:1.8rem; }
}
@media only screen and (min-width: 1500px) {
	header .logo { width:13%; }
	header .title { font-size:500%; }
	header .phone { font-size:160%; line-height: 2.2rem; }
	header .zusatz * { font-size:2.2rem; }
}
@media only screen and (min-width: 1700px) {
	header .logo { width:12%; }
	header .title { font-size:540%; }
	header .phone { font-size:170%; line-height: 2.4rem; }
	header .zusatz * { font-size:2.4rem; }
}

/* -------------- Navi - zunächst die gemeinsamen Sachen für Mobile- und Desktop-Navi -----*/
#nav {
	position: absolute; /* liegt über Slideshow */
	z-index:2;
	width:100%;
	display:flex;
	justify-content: space-between;
	margin:.5rem;
	font-size:1.2rem;
	font-variant: small-caps;
	letter-spacing:0.1rem;
}
#nav a { 
	color:white;
	white-space:nowrap;
	text-decoration:none;
}
#nav a:hover {
	color: rgba(141,213,255,1.00);
	transition:.15s ease-in-out;
	-moz-transition:.15s ease-in-out;
  	-webkit-transition:.15s ease-in-out;
}
#nav ul {
	list-style: none;
	margin:0;
}
#nav .flaggen {
	white-space: nowrap;
	order:2;
	width:180px;
	margin:0 2% 0 0;
}
#nav .flaggen img {
	width:40px; height:auto;
	margin:0 0 0 2%;
}
/*---------------------------- MOBIL NAVI --------------------*/
#mobileNavi { 
	margin:0;
}
.toggleMobile {
	width:50px; height:30px;
	transform: rotate(0deg);
	transition:.5s ease-in-out;
	cursor:pointer;
	z-index:11;
	margin:0; padding: 0;
}
.toggleMobile span {
	display:block;
	position:absolute;
	left:0;
	height:5px; width:100%;
	background: rgba(255,255,255,.8);
	border-radius:9px;
	opacity:1;
	transform:rotate(0deg);
	transition:.25s ease-in-out;
}
.toggleMobile span:nth-child(1) { top:0px; }
.toggleMobile span:nth-child(2) { top:12px; }
.toggleMobile span:nth-child(3) { top:24px; }
.toggleMobile.open span:nth-child(1) { top:18px; transform:rotate(135deg);}
.toggleMobile.open span:nth-child(2) { opacity:0; left:-60px;}
.toggleMobile.open span:nth-child(3) { top:18px; transform:rotate(-135deg);}
/* das Wort "Menü" neben dem Burger-Button */
.toggleMobile span:nth-child(4) { top:-.1rem; left:3.5rem; background:transparent; color:white; }

#mobileMenu {
	display: none;
	z-index:10;
	position:absolute;
	top: -8px;
	left: -8px;
	margin:0; padding:0;
	background:rgba(0,113,161,1);
	box-shadow: 0px 0px 18px -5px rgba(0,0,0,0.75);
}
#mobileMenu ul {
	padding: 0 2rem 0 4rem;
}
#mobileMenu ul ul{
	padding: 0 0 0 2rem;
}
#mobileMenu ul li {
	display:block;
	padding: .8rem .8rem .8rem 0;
	margin:0;
	border-bottom: 1px solid #aaa;
}
#mobileMenu ul li:last-child {
	border-bottom: none;
}
#mobileMenu .dropdown > a:hover { /* falls ein Dropdown-Menü-Punkt, dann soll kein Hover-Effekt angezeigt werden */
	color:white;
	cursor:default;
}
/* -------------- Deskktop-Navi -------------- */
#desktopNavi {
	display:none;
	margin:0;
	height:2.4rem;
	font-size:1.6rem;
}
#desktopNavi ul {
	display:flex;
	flex-flow:row;
	margin:0; padding:0;
}
#desktopNavi li{
	padding:.1rem .4rem;
	margin:0 .8rem 0 0;
}
#desktopNavi a {
	display:block; /* damit der ganze Button und nicht nur der Text anklickbar ist */
	padding:0.2rem;
}
#desktopNavi .dropdown { /* für den Pfeil des  Dropdown-Menü Platz schaffen*/
	padding-right:28px; 
}
#desktopNavi .dropdown > a:after { /* der Pfeil für das Dropdown-Menü */
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -0px;
	border-width: 6px 6px 0 6px;
	border-style: solid;
	border-color: #fff transparent; 
}
#desktopNavi .dropdown > a:hover { /* falls ein Dropdown-Menü-Punkt, dann soll kein Hover-Effekt angezeigt werden */
	color:white;
	cursor:default;
}
#desktopNavi .dropdown ul { /* Drop-Down Menü */
	display:none;
	position:absolute;
	left: 0rem;
	top:2.4rem;
	min-width:6rem;
	background:rgba(0,113,161,.95);
	box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
}
#desktopNavi .dropdown ul li { /* Drop-Down Menü */
	float:none;
}
#desktopNavi .dropdown:hover ul {
	display:block;
}
@media only screen and (min-width: 1280px) {
	#mobileNavi { display:none; }
	#desktopNavi { display:block; }
	#nav .flaggen { width:240px; }
	#nav .flaggen img { width:60px; height:auto; }
}

/* ------ Main ------ */
.slide{
	width:100%; height:40vh;	
	color:white;
	position:relative; /* um den Inhalt darin absolut zu positionieren */
	margin:0 auto;
	padding:0;
	z-index: 0;
}
@media only screen and (min-width: 1000px) {
	.slide{ height:70vh; }
}
/* -------------- Slideshow im Header nach http://tympanus.net/codrops/2013/04/17/background-slideshow/ -------------- */
.cbp-bislideshow {
	list-style: none;
	width: 100%;
	height: 100%;
	position: relative;
	top: 0;
	left: 0;
	z-index: -1;
	padding: 0;
	margin: 0;
}
.cbp-bislideshow p { /* der Text in der Slide */
	width:100%;
	text-align:center;
	position:absolute;
	bottom: .5rem;
	margin:0; padding:0.8rem;
	font-family:"open sans regular", Helvetica, Arial, sans-serif;
	font-size: 130%;
}
@media only screen and (min-width: 1280px) {
	.cbp-bislideshow p { font-size: 200%; }
}
.cbp-bislideshow li {
	position: absolute;
	width: 100%;
	height: 100%;
	top: -0.0%;
	left: -0.0%;
	opacity: 0;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	transition: opacity 1s;
}
/* If background-size supported we'll add the images to the background of the li */
.backgroundsize .cbp-bislideshow li {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center center;
}
/* ...and hide the images */
.backgroundsize .cbp-bislideshow li img {
	display: none;
}
.cbp-bislideshow li img {
	display: block;
	width: 100%;
}
.cbp-bicontrols {
	position: fixed;
	width: 300px;
	height: 100px;
	margin: -50px 0 0 -150px;
	top: 50%;
	left: 50%;
}
.cbp-bicontrols span {
	float: left;
	width: 100px;
	height: 100px;
	position: relative;
	cursor: pointer;
}
.cbp-bicontrols span:before {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-align: center;
	font-family:"open sans regular";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 100px;
	font-size: 80px;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	opacity: 0.7;
}
.cbp-bicontrols span:hover:before { opacity: 1; }
.cbp-bicontrols span:active:before { top: 2px; }
span.cbp-biplay:before { content: "a"; }
span.cbp-bipause:before { content: "b"; }
span.cbp-binext:before { content: "c"; }
span.cbp-biprev:before { content: "d"; }
.cbp-bicontrols span.cbp-binext { float: right; }
/* Fallback */
.no-js.no-backgroundsize .cbp-bislideshow li:first-child { opacity: 1; }
.no-js.backgroundsize .cbp-bislideshow li:first-child img { display: block; }

/* ----- Notizzettel ----- */
.zettel, .mehrspaltig, .zettel-unter {
	display:flex;
	flex-flow: column;
	align-items: stretch;
	justify-content: flex-start;
	margin:1rem 2rem;
}
.zettel aside:nth-child(2), .zettel aside:last-child { display:none; } /* 2. + 3. Zettel bei Mobile ausblenden */
.zettel ul {
	margin:0; padding:0 0 0 1rem;
	color:rgb(5,111,184);
	color:rgba(233,203,0,1.00);
}
.zettel aside {
	/*background: url("/gfx/notizzettel.png") no-repeat top left;
	width:224px; height:314px;
	background-size: 224px 314px; */
	background: rgba(255,255,255,.7);
	padding: 1rem;
	margin:2rem 0;
	
}
@media only screen and (min-width: 600px) { 
	.zettel, .zettel-unter { flex-flow: row; justify-content: space-around; }
}
@media only screen and (min-width: 800px) {
	.zettel aside { margin:0 1rem;}
	.zettel aside:nth-child(2), .zettel aside:last-child { display:block; }
	.mehrspaltig { flex-flow: row; justify-content: space-around; align-items: flex-start;}
	.mehrspaltig>*{ flex:0 0 1; }
}
/* ------ Formular ------ */
form div { 
	display:flex;
	flex-flow:column;
}
form div div { display:flex; flex-flow: row; }
fieldset { 
	margin:1.5rem auto; 
	border: 1px solid rgba(147, 128, 108, 0.75);
	border-radius:.4rem;
}
label {
	background-color: rgba(147, 128, 108, 0.1);
	color: #000000;
	border-radius: .4rem 0 0 .4rem;
	min-width: 7.5rem;
}
label, input, select, legend, textarea { 
	font-size:.85rem;
	font-weight: normal;
}
input, select { 
	flex:1; 
	border-radius: 0 .4rem .4rem 0;
}
option { font-size:1rem; }
label, input, select, textarea {
	border: 1px solid rgba(147, 128, 108, 0.25);
	padding: 0.5em 0.75em;
	margin:.4rem 0;
}
input[type=submit], button {
	border: 1px solid rgba(147, 128, 108, 0.25);
	border-radius:.4rem;
	background-color: rgba(147, 128, 108, 0.1);
	color: #666666;
	font: inherit;
	font-weight: normal;
	cursor:pointer;
}
input[type=checkbox] {
	margin:1.5rem 1rem 0 0;
	align-self: flex-start;
}
textarea { width:100%; height:5rem; }
form table { /* das Spamschutz-Feld */
	float:left;
	margin:0 1rem 0 0;
}
@media only screen and (min-width:1400px) {
	form div { flex-flow: row; max-width:90%; margin:0 auto;}
	form div div { width:80%; margin:0 auto; }
	form div div:not(:first-child) { margin-left: 2rem; }
}
button { padding:1rem 2rem; }

/* ------ Footer ------ */
footer {
	display:flex;
	flex-flow:column;
	margin:0; padding:0 1rem;
	justify-content: space-around;
	color:rgb(255,255,255); background:rgb(5,111,184);
	background-color: rgba(45,124,166,1.00);
}
footer>* {padding:1.5rem 0; border-bottom:1px solid rgba(255,255,255,.5);}
footer>*:last-child{ border:none; }
footer a { color:rgb(255,255,255); text-decoration: none; }
footer p { margin:0 0 .8rem 0; line-height:.8rem; }
footer>*:last-child { /* der Copyright-Hinweis */
	flex:0 0 98%;
	border-top:1px solid rgba(255,255,255,.5);
	font-size:80%;
	text-align:center;
	padding:0.8rem;
}
@media only screen and (min-width:700px) {
	footer { flex-flow:row wrap; }
	footer>* {border:none;}
}
