html, body {
margin: 0 0 0 0;
padding: 0;
text-align: center;
background:#fff;
width: 100%; float: left;
height: 100%;
}

#wrap {float: left; width: 100%; margin: 0; padding: 0; position: relative; min-width: 960px; z-index: 5; overflow: hidden;  }
#wrap2 {float: left; width: 100%; margin: 0; padding:0; min-width: 960px; position: fixed; z-index: 102; background:#fff; text-align: center; top: 0; left: 0;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}

#topnav {
    float: left; width: 100%; background:#f2f3f8;  border-bottom: 1px solid #d2d3d8;
}

@font-face {
      font-family: 'icons';
      src: url('./font/icons.eot?73531709');
      src: url('./font/icons.eot?73531709#iefix') format('embedded-opentype'),
           url('./font/icons.woff?73531709') format('woff'),
           url('./font/icons.ttf?73531709') format('truetype'),
           url('./font/icons.svg?73531709#icons') format('svg');
      font-weight: normal;
      font-style: normal;
    }

.zc {
    margin: 0 auto; max-width: 1260px; width: 100%; padding: 0;
}

header {
width: 100%;
margin: 0;  padding:0;
position: relative;
float: left;
text-align: center; z-index: 9;
}


#logocontainer {
display: inline-block; width:80%;margin:40px 4% 10px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; text-align: left;
max-width: 950px;
}
#logocontainer img { float: left; max-width: 40%; }

.slogan { display: inline-block; text-align: center;margin:70px 20px 10px; font-family:'Crimson Text'; font-size: 21px; font-weight: 600; color: #e31e1b; text-transform: uppercase; }


#navcontainer {
float: right; position: fixed; top: 0; right: 0; height:100vh;
margin: 0; display: none; background: #fff;
padding: 0;
width: 35%;
z-index: 10;box-shadow: 0px 0px 30px 0px #000000;
-moz-box-shadow: 0px 0px 30px 0px #000000;
-webkit-box-shadow: 0px 0px 30px 0px #000000;
overflow: auto;
}

#bilder {float: left; width: 100%; position: relative; overflow: hidden;
text-align: left; background-position: center center;
background-repeat: no-repeat;
margin:0;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-color: #fff;
height:550px;
background-image: url('images/bild1.jpg');
margin: 160px 0 0;z-index: 1;
}
@media only screen and (min-width: 1960px) {
#bilder { height:850px;}
}
@media only screen and (min-width: 2660px) {
#bilder { height:1350px;}
}


div#startinfo {
    position: absolute; bottom: 10%; left: 10%; width: 80%; text-align: center;  font-size: 1.4em;  z-index: 10; color: #fff;text-shadow: 0px 0px 3px #000000;
}
div#startinfo h1 { color: #fff; }


@media only screen and (min-width: 1160px) {
#wrap2.fixiert {
box-shadow: 0px 0px 5px 0px #000000;
-moz-box-shadow: 0px 0px 5px 0px #000000;
-webkit-box-shadow: 0px 0px 5px 0px #000000;
border-top: 0;
}

#wrap2.fixiert #logocontainer { margin:0 4%;  }

}


#bilder div.start {
    position: absolute; bottom: 20%; right: 30%; z-index: 5; color: #fff; font-size: 1.1em;
}
#bilder div.start h1 {
    color: #fff;
}

#content {
margin: 0;
text-align: left;
padding: 0;  position: relative;
float: left; width: 100%; z-index: 2;
}

.contentseite, .startseite {
    display: flex; flex-wrap: wrap; float: left; width: 100%;
}

.contentelement {float: left; width: 98%; padding: 0; margin: 0 1%;}
.halb { width: 48%; margin: 10px 1%; }
.drittel { width: 31.33%; margin: 10px 1%; }
.viertel { width: 23%; margin: 10px 1%; }
.dreiviertel { width:73%; margin: 10px 1%; }
.zweidrittel { width: 64.66%; margin:10px 1%; }

#inhalt {
float: left; width: 100%;
padding: 30px 0;
position: relative;
min-height: 400px;
}

#textfeld {
float: right;
padding: 0 3%;
margin: 0;
width: 94%;
min-height: 100px;
}
#textfeld img, img {max-width: 100%;height: auto;}

aside {
float: left; padding: 0 4%;
margin: 0;
width: 92%;
display: none;
}




.balken {background: #ececec; margin: 20px 1%; padding: 20px 0; position: relative;}
.balken::after {
    background: #ececec;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    z-index: 1;
}

.balken::before {
    background: #ececec;
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}


.footcontainer {float: left; width:25.33%; padding: 10px 4%; text-align: left; }

footer {
float: left;
width: 100%;
padding: 30px 0;
min-width: 1160px;
background:#a3a3a3; text-align: center;
margin: 0;
margin: 0;
color: #fff;
}

footer .links  {
    float: left; width: 58.66%;
}

#copyright {
    float: left; width: 80%; margin: 20px 10% 50px; color:#838383; text-align: right;
}

.kontaktseite {float: right; width: 40%; margin: 30px 0 10px;}
.kontaktformcontainer {float: left; width: 100%; max-width: 1200px;}

.unavseite {
    float: left; width: 100%; margin: 10px 0;
}

ul.unavseite_menue { float: left;color: #555464; margin: 0; }

#textfeld ul.unavseite_menue
{
			float: left;
            margin: 0;
			padding: 0;
			list-style-type: none;
            display: flex; flex-wrap: wrap;
            width: 100%; justify-content: left;
}

ul.unavseite_menue li {
                         display: block;
                         float: left; width: 50%;
                         margin: 0; padding: 0;
                         position: relative; box-sizing: border-box; padding: 8px;
                         z-index: 3;

}
ul.unavseite_menue li a {
    display: block; float: left; width: 100%; box-sizing: border-box; padding: 20px; background: #c2e3f6; color: #fff; font-size: 1.2em;
}
ul.unavseite_menue li a:hover {
     background: #999;
}

ul.unavseite_menue li a::before {
    display: inline-block;
    padding: 0 10px 0 0;
    font-family: 'icons';
    text-decoration: none;
    font-size: 22px;
    content: "\e813";
    line-height: 20px;
}

ul.sitemap li {
margin: 5px 0 10px;
list-style-type: square;
font-weight: normal;
font-size: 1.2em;
}


ul.sitemap_unterpunkt {
list-style-type: square;
color: #555464;
}

ul.sitemap_unterpunkt li {
margin: 5px 0;
list-style-image: none;
font-weight: 300;
font-size: 0.8em;
}

.bildrahmen {
padding: 0;
text-align: center;
font-size: 0.85em;
color: #000;
position: relative;
max-width: 50%;
}

.bildrahmen img {width: 100%;}


.floatrechts {
margin: 0 0 20px 5%;
float: right;
}

.floatlinks {
margin: 0 5% 10px 0;
float: left;
}

.galerie {
float: left;
margin: 10px 0 10px -1%; width: 102%;
}
.galerie > div { display: flex; flex-wrap: wrap;}

.galerie dl {
float: left;
height: auto !important;
text-align: left;
margin: 10px 1%;
font-size: 0.9em;
width: 31.33%;
}

.galerie dd {
margin: 0; 
padding: 0;
}


img.gal {
padding: 0;
width: 100%;
box-sizing: border-box;
}



.dlbox {

margin: 0 0 5px 0;
}

.dlbox p {
margin: 7px 0;
padding-left: 20px;
background: url('images/pfeilr2.gif') 0 4px no-repeat;
font-size: 95%;
}
.dlbox p.pdfdl {
background: url('images/pdf.gif') 0 0 no-repeat;
}

.dlbox h3 {
padding: 0;
margin: 30px 0 20px 0;
font-weight: bold;
}


#logoutform {
position: absolute;
bottom: 100px; right: 60px;
}

#kontaktform {
    float: left; width: 100%; margin: 0; padding: 0;
}

.kontaktformular {
width: 100%; padding: 20px 0; max-width:1200px;
}

.fspalte {float: left; width: 47%; padding: 10px 3% 10px 0;}


.kontaktformular p {
width: 100%;
float: left;
}
.kontaktformular p.pflichtf {font-size: 0.9em; padding: 0; width: 100%;}

.kontaktformular legend {  display: none; }

legend {  float: left; width: 100%; font-size: 1.4em; margin: 0 0 20px; }
fieldset {border: none;  padding: 0; margin: 0;}

.formfeld.radio > div {
    float: left; margin: 0 10px;
}
.formfeld.radio > div input {
    width: auto; margin: 10px;
}
.formfeld.radio > div label {
    width: auto;
}

.kontaktformular label {
float: left;
width: 35%;
margin: 5px 0;
font-size: 100%;
}

.kontaktformular input {
float: left;
background: #fff;
width: 100%;
margin: 0; box-sizing: border-box;
}

.kontaktformular select {
float: left;

background: #fff;
width: 100%;
margin: 1px 0;
}

input#captcha {
width: 130px;
}

.kontaktformular textarea {
width: 100%;
height: 120px;
background: #fff;
box-sizing: border-box;
}


div.formfehler {
width: 100%;
float: right;
color: #c00;
text-align: center;
font-size: 90%;
}

input.fehlerfeld {
background: #fcc;
border: 1px solid #f00;
}

form {
margin: 0;
}

input, textarea {
color: #000;
padding: 5px;
}

input.button, input.anfragebutton {
background: #e31e1b; color: #fff; padding: 10px 30px;
font-weight: normal; font-size:1.2em;
cursor: pointer;border: none;
float: left; width: auto; border-radius: 0; box-sizing: content-box;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input.button:hover, input.anfragebutton:hover {background: #d8d8d8; color: #000;}


a.backlink {
float: right;
font-weight: 300;
padding: 9px 20px; margin: 10px 1%;
color: #fff; background: #858494;
background-size: 22px auto;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

a.weiterlink  {
display: inline-block;
text-decoration: none;
font-weight:400; text-align: center;
padding: 10px 20px; margin:10px 0;
font-size: 1.1em; background:#a3a3a3; min-width: 100px;
color:#fff;
}


a.backlink:hover {
background:#e31e1b; color: #fff;
text-decoration: none;
}

a.weiterlink:hover {
background:#e31e1b; color: #fff;
text-decoration: none;
}


ul.liste {
list-style-type: none;
}
ul.liste li {
font-weight: bold;
font-size: 100%;
padding-left: 20px;
margin-bottom: 10px;
} 


ul.nliste {
list-style-type: none;
}
ul.nliste li {
font-size: 85%;
padding-left: 20px;
margin-bottom: 10px;
}

p.captchafehler {
border: 1px solid #c00;
color: #f00;
margin: 10px 0;
padding: 10px;
background: #ffc;
}

.meldung { color: red }

#datenschutzfeld {
float: left; width: 98%; margin: 10px 0; background:#fff; padding: 10px 1%;
}
#datenschutzfeld input {
    float: left; width: 6%; margin: 10px 0; padding: 0;
}
#datenschutzfeld label {
    float: right; width: 93%; font-size: 0.9em;
}


.formfeld { width:100%; float: left; padding: 2px 0; box-sizing: border-box; }

@media only screen and (min-width: 960px) {

.formfeld { width: 50%; }
.formfeld:nth-child(2n) {
    padding-right: 2%;
}

}

.ganz { width: 100%; float: left; padding-right:0 !important; }

.sonderinhalt {background: #F9A979; color: #fff; box-sizing: border-box; padding: 20px;}
iframe {max-width: 100%;}



div.formfeldnl {float: left; width: 100%; margin: 5px 0;}
div.formfeldnl input {float: left; width: 10%; margin: 10px 0;}
div.formfeldnl label {float: right; width: 88%; }
div.formfeld.ta label { width: 100%;}

.datenschutzelement {
    float:left; min-height: 300px;
}

.phe {
    float: left; width: 100%; padding: 40px 20px; box-sizing: border-box; background: #ececec; text-align: center;
}


p.beschriftung {
    float: left; width: 100%; margin: 20px 0 10px;
}

.checkbox {float: left; width: 100%; padding-top: 10px;}
.kontaktformular div.checkbox label {float: none; }
.kontaktformular div.checkbox input {background: none; border: none; width: 20px; float: left !important; margin: 5px 5px 5px 0;}

.loader { float: left; width: 100%; text-align: center; margin: 20px 0;}
.loader div { display: inline-block; border:4px solid #c2e3f6; border-top:4px solid #e31e1b; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite;z-index: 6;}


/*sudo-Slider -----------------*/
.slider {
    display: block; float: left; width: 100%; height: 100%; margin:0; background: url('images/loader.gif') center center no-repeat #fff; z-index: 1;
}
.slider div {
     display: block; float: left; width: 100%;  height: 100%; margin:0;
}
.slider div.wslide {
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}


#bilder .filter {
    position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; background: rgba(21,124,188,0.4); float: left;
    opacity: 0.3;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
#bilder:hover .filter {
   opacity: 0.1;
}


.controls a {
    font-family: icons; font-size:2.2em; position: absolute; z-index: 50; color: #bebeb8; width:100%; text-align: center; top: 50%; margin: -40px 0 0 0; line-height: 30px; border-radius: 5px;
}
a.prevBtn { float: left;opacity: 0.5; width:50px;padding: 15px 0; color: #fff; left: 10px; }
a.nextBtn {float: right;opacity: 0.5; width:50px;padding: 15px 0; color: #fff; right: 10px;}
a.prevBtn:hover { opacity: 0.9; color: #fff; text-decoration: none; background: #0b72b5; }
a.nextBtn:hover { opacity: 0.9; color: #fff; text-decoration: none; background: #0b72b5;}

a.prevBtn:hover, a.nextBtn:hover { opacity:1.0;  }

.unavseite_ajax {
    float: left; width: 100%; display: flex; flex-wrap: wrap;
}
.umen {
    float: left; width: 31.33%; box-sizing: border-box; background: #eee; min-height:250px; perspective: 1500; margin: 10px 1%; font-weight: 300; cursor: pointer;
}
.umen h2 {
    font-size: 1.3em; text-align: center;
}
.umen h2 img {
    width:70px; height: auto; margin: 20px 0;
}


.umen:hover .turnaround {
   transform: rotateY(180deg);
}

.umen .front {
background: #eee;
}

.umen .back {
background: #858494; color: #fff;
}
.back h2 a {
    color: #fff;
}

.turnaround {
   transition: .5s;
   transform-style: preserve-3d;
   position: relative;
   height: 100%;
}

.front, .back {
   backface-visibility: hidden;
   position: absolute;
   width: 100%;
   height: 100%;
   box-sizing: border-box; padding: 20px;
}

.front { z-index: 1; }

.back {
   transform: rotateY(180deg);
   z-index:2;
}


@media only screen and (max-height: 800px) {

}


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

#logocontainer { width:80%;margin:20px 4%; }
.slogan {width: 100%; float: left; margin:20px 0 0; text-align: left; font-size: 15px;}
#navcontainer {width: 55%; }
footer {min-width: 960px; }
header > p {
    font-size: 1.0em;
}

#wrap {min-width: 680px;}
header {width: 100%; height: auto;}
#wrap2 {min-width: 680px;padding: 0; position: relative;  }
#content {width: 100%; margin: 0; }
footer {min-width: 680px;}
header > p {  display: none;}

#bilder { margin: 0; height: 400px; background-size: cover; }

.galerie dl { width: 31.33%; }
.slider div.animationsinfos { bottom: 100px; right: 5%; padding: 10px; font-size: 1.6em; }

}

@media only screen and (max-width: 960px) {
.viertel { width: 48%; }
.dreiviertel {width: 98%}
.umen {width: 48%; }
#logocontainer img { max-width: 50%; }   
div#startinfo { font-size: 1.2em;}

footer .kontakt { width:92%;}
}

@media only screen and (max-width: 680px)
{
#wrap {min-width: 320px;}

#logocontainer { width:90%;}
header {width: 100%; min-width: 320px;}
#wrap2 {min-width: 320px; width: 100%; }
#content {min-width: 320px; width: 100%; min-height: 350px;}
#inhalt {width: 100%; padding: 20px 0;}
#textfeld {
float: left;
padding: 0 3%;
width: 94%;
}

#bilder { height: 270px; }

.galerie dl { width: 48%;}

.kontaktseite, .kontaktformcontainer  {width: 100%; margin: 0;}
.kontaktadresse {  width: 100%; margin: 0;}

#navcontainer {width: 75%; }

footer {min-width: 300px; }

address {width: 96%; padding: 5px 2% 0; }

a.weiterlink:link, a.weiterlink:visited  {font-size: 1.1em;}
a.backlink:link, a.backlink:visited, a.backlink:hover {background-size: 20px auto;}

.halb { width: 98%;}
.drittel { width: 98%; }
.zweidrittel { width: 98%; }
.footcontainer { width:92%; padding: 10px 4%; }
}
@media only screen and (max-width: 460px)
{
ul.unavseite_menue li {
padding-left: 9%;
width: 90%;
}

footer {min-width: 300px; }

.kontaktformular label { width: 100%;}
.kontaktformular p {width: 100%;}


.viertel { width: 98%; }

div.formfehler {width: 100%;}
.umen {width: 98%; }

.bildrahmen {
    width: 100%; margin: 0 0 20px 0; max-width: 100%;
}

div#startinfo { font-size: 1.0em;}

footer .kontakt > div {width: 100%; margin: 0 0 20px;}

}

@media only screen and (max-width: 380px)
{ .galerie dl { width: 98%;}  }