html {
	font-size: 100%;  								/* bugfix für IE, der ansonsten fontsize em nicht richtig berechnen kann */
	height: 100%;									/* zusammen mit min-height body immer volle Höhe */
	background: #fff;
	}
body {
	font-family: Arial, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, sans-serif;
	font-size: 0.85rem;								/* vielfaches der aktuell eingestellten Schriftgroesse des Browsers, standard 16px */
	color: #333;
	max-width: 1200px;
	min-height: 100%;								/* immer volle Höhe, nicht darüber hinaus jedoch, wie bei height */	
	margin: 0 auto;
	background-color: #fff;
	position: relative;								/* für footer width und bottom */
	}
body, footer {
	width: 95%;
	}
h1 {
	color: #222;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	}
h2 {
	color: #222;
	font-size: 1.1rem;
	margin: 1rem 0 0.8rem 0;
	}
h1, h2 {
	line-height: 1.3;
	font-weight: normal;
	}
a		{color: #6E5B00; text-decoration: none;}
a:hover	{color: #183471;}

#counter {
	top: 31rem;
	right: 0;
	}

header {
	height: 14vw;
	max-height: 11rem;
	}
	
#logo {
	width: 20%;
	max-width: 17rem;
	margin: 0.5rem -5rem 0 -1rem;
	float: left;
	padding: 5px 10px;
	}
#logo img {
	width: 100%;
	background: #FEDC00;
	padding: 1rem;
	}
	
/* Zusnav */
#topzusnav {
	position: absolute;
	top: 1.2rem;
	right: 0.2rem;
	font-size: 0.8rem;
	}
#topzusnav a {
	color: #777;
	}

/* Topnavi als Table */
header nav {
	font-size: 0.95rem;
	float: right;
	width: 72%;
	margin: 5.5vw 0 0;
	padding: 0.8rem 0 0;
	border-style: solid;
	border-color: #FEDC00;
	border-width: 1rem 0 0 0;
	}
header nav ul {
	display: table;
	width: 100%;
	}
header nav li {
	display: table-cell;
	text-align: center;
	white-space: nowrap;
	}
header nav li a {
	color: #777;
	text-decoration: none;
	padding: 0.5em 0.02em;
	letter-spacing: -0.5px;
	display: block;									/* macht inline-element hyperlink (was nur den eigentlichen platz einnimmet) zum blockelement und verbreitert ihn */
	}												/* auf die ges. zur verfügung stehende breite, ausserdem kann <a> dadurch nun auch die nav ul in der höhe "aufdrücken */
header nav li a:hover, header nav li a.topact {
	color: #333;
	text-decoration: underline;
	}

/* Leistnavi als Liste */
#leist {
	position: absolute;								/* Unternav wird hier aus dem Listenverbund herausgetrennt */
	top: calc(2.2rem + 10vw);
	left: 1.5rem;
	font-size: 0.9em;								/* Größe hängt durch em von topnav ab */
	}
#leist ul li {
	display: list-item;
	text-align: left;
	}
#leist ul li a {
	margin: -1px 0 0 -1.2rem;
	padding: 5px 2rem 2px 2rem;
	border-style: solid;
	border-color: #999;
	border-width: 1px 0;
	}
#leist a:hover, #leist a.leistact {
	background: url(../../ima/symb/leistpfeil.png);
	background-position: 0.5rem center;
	background-repeat: no-repeat;
	color: #777;
	text-decoration: none;
	font-weight: bold;
	}
	
/* Innernav */
#leist #innernav {
	margin: 0.5rem 1rem 1rem 1.2rem;
	font-size: 0.9em;								/* Größe hängt durch em von topnav ab */
	}
#leist #innernav a {
	border-width: 0;
	line-height: 1rem;
	padding-right: 0;
	}
	
/* main */
main {
    padding: 1rem 0;
	float: right;
	width: 72%;
	min-height: 22rem;
	}
	
/* aside */
aside {
	float: left;
	margin: calc(-5vw + 28rem) 0 2rem 0.3rem
	}
	
#ticker, #adrbox {
	display: block;
	width: 14rem;
	height: 7rem;
	border-style: solid;
	border-color: #FEDC00;
	border-width: 1px;
	padding: 0 0.6rem !important;
	margin: 2rem 0 0 0;
	font-size: 0.8rem;
	letter-spacing: -0.7px;
	line-height: 1rem;
	overflow: hidden;
	}
#ticker b {
	display: block;
	text-transform: uppercase;
	margin: 0 -0.6rem 0.5rem -0.6rem;
	padding: 0 8px 1px;
	font-weight: normal;
	color: #333;
	background: #FEDC00;
	}
#ticker a, #adrbox a {
	color: #777;
	}
#ticker a:hover, #adrbox a:hover {
	color: #183471;
	}
#adrbox {
	box-sizing: border-box;
	border-width: 18px 0 0 0;
	margin: 0;
	height: 13rem;
	}
#adrbox ul {
	margin: 1rem 0 0 -3rem;
	}
#adrbox li {
	list-style-type: none;
	}
#adrbox .adrname {
	font-weight: normal;
	}
#adrbox em {
	display: none;
	}
#adrbox .adrtel:before {
	content: "Telefon:";
	margin-right: 0.6rem;
	}
#adrbox .adrfax:before {
	content: "Telefax:";
	margin-right: 0.6rem;
	letter-spacing: -0.5px;
	}
#adrbox .oeff {
	margin: 0.8rem 0 -0.8rem
	}


footer {
	clear: both;    /* wie oben: verhindert zusammenklappen von bopdy bei float. sofern nicht vorhande nimmt man clearfix */
	background: #FEDC00;
	color: #333;
	padding: 0.2rem 0;
	text-align: center;
	font-size: 0.65rem;
	bottom: 0;
	float: right;
	width: 72%;
	}
	
/* adressblock */
#adressblock {
	display: flex;
	}
#adressblock ul li {
	height: 1.1rem;
	}
#adressblock em, .team em {
	margin-left: 0rem;
	}
.adrname {
	font-weight: bold;
	}
.adrort {
	margin-bottom: 0.8rem;
	}
#startbild img {
	max-width: 99%;
	}
#adressblock .oeff {
	display: none;
	}
	
/* QR-Code auf startseite */
figure
{
float: right;
}
figure img
{
width: 10rem;
}
figure figcaption
{
padding-left: 1rem;
}


/*
##########################################################################################################################################
Hauptbreakpoint ausnahme oberhalb 1250
##########################################################################################################################################
*/
@media (min-width: 1250px) {

aside {
	margin: 24rem 0 2rem 0.3rem;
	}
header nav {
	margin-top: 4.3rem;
	}
#leist {
	top: 10.2rem;
	}

} /*--- Schlußklammer ---*/


/* SOS */
.zoom20
{
transition: all 0.6s ease;
width: 15rem;
float: left;
margin: 0 1rem 0 0;
}

.zoom20:hover
	{
	cursor: zoom-in;
	transform: scale(2, 2);
	position: relative;
	z-index: 15;
	box-shadow: 4px 7px 11px -2px rgba(0, 0, 0, 0.3);
	border-radius: 2px;
	}