body{
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-size: 16px;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-family: helvetica, arial, verdana, sans-serif;
    color: #000;
    transition: all 0.5s;
}

.wrapper{
    max-width: 1250px;
    width: 100%;
    margin: auto;
}

.spacer{
    height: 100px;
}

h1{
    color: #b50923;
    margin: 25px auto 10px auto;
    font-size: 180%;
    line-height: 140%;
    font-weight: normal;
}

h2{
    color: #b50923;
    margin: 25px auto 10px auto;
    font-size: 140%;
    font-weight: normal;
}

h2:first-child{
    color: #b50923;
    margin: 0 auto 10px auto;
}

h3{
    color: #b50923;
    margin: 25px auto 10px auto;
    font-size: 120%;
    font-weight: normal;
}

h3:first-child{
    color: #b50923;
    margin: 0 auto 10px auto;
}

p{
    line-height: 150%;
}

a[href]:link, a[href]:visited, a[href]:hover, a[href]:active, li a[href]:focus{
    color: #b50923;
    text-decoration: none;
}

ul{
    list-style-type: square;
    padding: 0 auto 25px 50px;
}

ul li{
    display: list-item;
    line-height: 125%;
    margin: 0 auto 5px auto;
}

.ZoomContainer img{
    max-width: 100%;
    height: auto;
}

.widget_gallery_main_container{
    text-align: center;
}
.widget_gallery_container{
    position: relative;
}

.widget_gallery_container:hover .gallery_left a, .widget_gallery_container:hover .gallery_right a{
    display: block;
}

.widget_gallery_container .gallery_left a{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}

.widget_gallery_container .gallery_left a img{
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -20px;
}

.widget_gallery_container .gallery_right a{
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}

.widget_gallery_container .gallery_right a img{
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -20px;
}

.widget_gallery_container .gallery_left a:hover, .widget_gallery_container .gallery_right a:hover{
    opacity: 1;       
}

.widget_gallery_main_container .big_img img{
    /* margin: 0px; */
    /* width: auto; */
	/* object-fit: contain;  */
	/* max-height: 800px; */
	/* height: auto; */
	
	display: block;
    margin: 0 auto;
    width: 100%;         /* Bild so breit wie der Container */
    max-height: 800px;   /* begrenze die Höhe */
    object-fit: contain; /* Seitenverhältnis bleibt */

}

.widget_gallery.little_images{
    padding: 0px 30px;
    max-height: 81px;
    overflow-x: hidden;
}

.widget_gallery.little_images img{
    margin: 11px;
    height: 50px;
    width: auto;
    display: none;
}

.widget_gallery.little_images img:hover{
    opacity: 0.6;
    display: none;
}

#top{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 4500
}

#top1{
    background-color: rgba(254,246,228,0.975);
    text-align: right;
}

.top1small{
    height: 5px;
}

#top1 #contact{
    padding: 0;
    margin: 0;
}

#top1 #contact li{
    display: inline-block;
    list-style-type: none;
    border-left: 1px solid #fff;
    padding: 10px;
    font-size: 80%;
}

#top1 #contact li:last-child{
    border-right: 1px solid #fff;
}

#top1 #contact li a[href]:link, #top1 #contact li a[href]:visited, #top1 #contact li a[href]:hover, #top1 #contact li a[href]:active, #top1 #contact li a[href]:focus{
    color: #000;
}

#top1 #contact li .fa-solid{
    margin-right: 5px;
    color: #b50923;
}

#top2{
    background-color: rgba(255,255,255,0.975);
    border-bottom: 25px solid rgba(255,255,255,0.975);
}

.top2small{
    border-bottom: none !important;
}

#top2 #top2container{
    position: relative;
    xheight: 64px;
    height: 59px;
}

.top2containersmall{
    height: 50px !important;
}

#top2 #top2container #logo{
    position: absolute;
    height: 100px;
    width: auto;
    top: -41px;
    left: 0;
}

.logosmall{
    top: -5px !important;
    height: 55px !important;
}

#top2 #top2container #logo .small{
    height: 50px;
    bordeR: 3px solid green;
}

#top2 #top2container #mobilenav{
    color: #b50923;
    display: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 250%;
}

#top2 #top2container #nav .mobiledrop{
    display: none;
    cursor: pointer;
    position: relative;
    margin: auto auto auto 10px;
}

#top2 #top2container #nav .rotate{
    transform: rotate(180deg) !important;
    transition: all 0.5s;
}

#top2 #top2container #nav .rotateclose{
    transform: rotate(0deg) !important;
    transition: all 0.5s;
}

#top2 #top2container #nav .show{
    display: inline-block !important;
}

#top2 #top2container #nav{
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}

#top2 #top2container #nav li{
    display: inline-block;
    list-style-type: none;
    padding: 10px 0;
    border-bottom: 5px solid #fff;
    margin: 0 0 0 40px;
    position: relative;
}

#top2 #top2container #nav li:first-child{
    margin: 0;
}

#top2 #top2container #nav li.active{
    border-bottom: 5px solid #fef6e4;
}

#top2 #top2container #nav li a[href]:link, #top2 #top2container #nav li a[href]:visited, #top2 #top2container #nav li a[href]:hover, #top2 #top2container #nav li a[href]:active, #top2 #top2container #nav li a[href]:focus{
    text-transform: uppercase;
    font-size: 105%;
    display: block;
    color: #b50923;
}

#top2 #top2container #nav .subnav li a[href]:link, #top2 #top2container #nav li .subnav a[href]:visited, #top2 #top2container #nav li .subnav a[href]:hover, #top2 #top2container #nav li .subnav a[href]:active, #top2 #top2container #nav li .subnav a[href]:focus{
    text-decoration: none;
    font-size: 105%;
    color: #fef6e4;
    display: block;
    text-transform: none;
    color: #b50923;
}

#top2 #top2container #nav .subnav{
	display: none;
    border: 5px solid rgba(254,246,228,0.975);
    position: absolute; 
    background-color: rgba(254,246,228,0.975);
    left: 0;
	top: 40px;
    z-index: 1000;
    padding: 5px 0;
    margin: 0;
}

#top2 #top2container #nav #subnav_leistungen{
    width: 185px;
}

#top2 #top2container #nav #subnav_kunden{
    width: 150px;
}

#top2 #top2container #nav #subnav_ueberuns{
    width: 160px;
}

#top2 #top2container #nav .subnav li{
    margin: 0;
    padding: 5px 15px;
    position: relative;
    width: calc(100% - 30px);
    border: none;
}

#top2 #top2container #nav .subnav li.active{
    background-color: #fff;
}

#top2 #top2container #nav .subnav li:hover{
    background-color: #fff;
}

#top2 #top2container #nav li:hover > .subnav {
	display:inherit;
}

#top2 #top2container #nav .mobiledrop{
    display: none;
    cursor: pointer;
    position: relative;
    height: 16px;
    width: 40px;
}

#top2 #top2container #nav .mobiledrop .navarrow{
    height: 18px;
    width: auto;
    margin: 0;
    top: -2px;
    left: 12px;
    position: absolute;
    user-select: None; 
}

#top2 #top2container #nav .rotate{
    transform: rotate(180deg);
    transition: all 0.5s;
    user-select: None; 
}

#top2 #top2container #nav .rotateclose{
    transform: rotate(0deg);
    transition: all 0.5s;
}

#top2 #top2container #nav .show{
    display: inline-block !important;
}

#imagecontainer1{
    width: 100%;
    aspect-ratio: 3/1;
    background-position: center;
    background-repeat: none;
    background-size: cover;
    margin: 150px 0 0 0;
    position: relative;
}

#imagecontainer1 #teaser{
    background-color: rgba(254,246,228,0.75);
    color: #b50923;
    display: inline-block;
    position: absolute;
    bottom: 50px;
    font-size: 200%;
    font-weight: bold;
    padding: 15px 15px 15px calc((100% - 1250px) / 2);
}

#imagecontainer2{
    width: 100%;
    aspect-ratio: 6/1;
    background-position: center;
    background-repeat: none;
    background-size: cover;
    margin: 150px 0 0 0;
	position: relative;
}

#cta{
	background-color: rgba(254,246,228,0.75);
    color: #b50923;
    display: inline-block;
    position: absolute;
    top: 50px;
    right: 0;    
	padding: 15px calc((100% - 1250px) / 2) 15px 15px;
}

#cta .line1{
	font-size: 165%;
    font-weight: bold;
}

#cta .line2{
	font-size: 135%;
    font-weight: normal;
}

.main{
    margin: 0 auto;
}

.main h1{
    text-align: center;
}

#content #contentheader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 50px auto;
}

#content #contentheader .ctxt{
    width: calc(50% - 50px);
    display: inline-block;
    margin: 25px auto;
    line-height: 150%;
    max-width: 700px;
}

#content #contentheader .cimg{
    width: calc(50% - 50px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    aspect-ratio: 4 / 3;
}    

.widget_gallery_main_container{
    text-align: center;
    width: auto;
    background-color: #fef6e4;
    padding: 50px 0;
    margin: 50px auto;
    
}

.widget_gallery_container{
    position: relative;
    
}

.widget_gallery_container:hover .gallery_left a, .widget_gallery_container:hover .gallery_right a{
    display: block;
}

.widget_gallery_container .gallery_left a{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}

.widget_gallery_container .gallery_left a img{
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -20px;
}

.widget_gallery_container .gallery_right a{
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}

.widget_gallery_container .gallery_right a img{
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -20px;
}

.widget_gallery_container .gallery_left a:hover, .widget_gallery_container .gallery_right a:hover{
    opacity: 1;       
}

.widget_gallery_main_container .big_img img{
    margin: 0px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4/3;
}

.widget_gallery.little_images{
    padding: 0px 30px;
    max-height: 81px;
    overflow-x: hidden;
}

.widget_gallery.little_images img{
    margin: 11px;
    height: 50px;
    width: auto;
}

.widget_gallery.little_images img:hover{
    opacity: 0.6;
}

#intro{

}

#intro h1{
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

#intro .icontainer{
    max-width: 700px;
    margin: 0 auto;
}

#intro .icontainer h2{
    text-align: center;
}

#boxen{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

#boxen li{
    display: inline-block;
    width: 30%;
    background-color: #fef6e4;
    text-align: center;
    margin: 0;
}

#boxen li .bimg{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
}

#boxen li h2{
    text-transform: uppercase;
    margin: 15px auto;
    font-size: 105%;
}

#ankuendigung{
    padding: 0;
    margin: 0;
}

#alist{
    margin: 0;
    padding: 0;
}

#alist li{
    margin: 0 0 100px 0;
    padding: 0;
}

#alist li:last-child{
    margin: 0;
}

#alist li .acontainer{
    display : flex;
    align-items : center;
    justify-content: space-between;
}

#alist li .acontainer .aimg{
    width: calc(50% - 50px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    aspect-ratio: 4 / 3;
    margin: 50px 0;
}

#alist li .acontainer .atxt{
    width: calc(50% - 50px);
    display: inline-block;
    margin: 25px 0;
    line-height: 150%;
}

#alist li .acontainer .atxt h2{
    text-align: center;
}

#alist li:nth-child(odd){
    background-color: #fef6e4;
}

#alist li:nth-child(odd) .acontainer .aimg{
    order: 2;
}

#alist li:nth-child(odd) .acontainer .atxt{
    order: 1;
}

#quote{
    margin: 0;
    padding: 0;    
    list-style-type: none;
}

#quote li{
    display: block;
    margin: 0 auto 50px auto;
    padding: 50px;
    background-color: #fef6e4;
}

#quote li .qcontainer h2{
    text-align: center;
}

#quote li .qcontainer .quote{
    font-style: italic;
    margin: 0 auto 25px auto;
}

#quote li .qcontainer .author{
    text-align: right;
}

#videocontainer{
    text-align: center;
}

#videocontainer #video{
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4/3;
}

#anfrage{
    margin: 50px auto;
    max-width: 400px;
    width: 100%;
    position: relative;
    transition: all 0.5s;
}

#anfrage h2{
    text-align: left !important;
}

#anfrage button{
    padding: 10px 20px;
    width: 100%;
    max-width: 220px;
    background-color: #b50923;
    display: block;
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    color: #eff3ec;
    font-size: 120%;
    cursor: pointer;
    text-transform: uppercase;
    font-family: helvetica, arial, verdana, sans-serif;
    transition: all 0.5s;
}

#anfrage button .fa-solid{
    margin-right: 8px;
}

#anfrage label{
    margin-top: 5px;
    margin-bottom: 1px;
    display: block;
    font-size: 80%;
    color: #b50923;
    transition: all 0.5s;
}

#anfrage #plzort{
   white-space: nowrap; 
}

#anfrage a[href]:link,#anfrage a[href]:visited{
    text-decoration: none;
    color: #b50923;
    transition: all 0.5s;
}

#anfrage a[href]:hover{
    text-decoration: none;
    transition: all 0.5s;
    color: #e36c0a;
}

#anfrage input, #anfrage textarea{
    width: calc(100% - 12px);
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    padding: 5px;
    margin-bottom: 10px;
    transition: all 0.5s;
    border: 1px solid #b50923;
    font-size: 120%;
}

#anfrage textarea{
    font-family: arial, verdana, sans-serif;
    font-size: 95%;
    resize: none;
    height: 140px;
    font-size: 120%;
    transition: all 0.5s;
}

#anfrage input:focus, #anfrage textarea:focus{
    outline: none;
}

#anfrage input[name=plz]{
    width: 55px;
}
#anfrage input[name=ort]{
    width: calc(100% - 90px);
}

#anfrage input[type=checkbox]{
    width: 20px;
    height: 20px;
    margin-top: 2px;
    margin-left: 0;
    margin-bottom: 10px;
    border: 1px solid #b50923;
    display: block;
    float:left;
    background-color: #fff;
    transition: all 0.5s;
}

#anfrage input[type=checkbox]:checked{
    background-color: #b50923;
}

#anfrage input::placeholder{
    color: #d25969;
    transition: all 0.5s;
}

#anfrage textarea::placeholder{
    color: #d25969;
    font-family: helvetica, arial, verdana, sans-serif;
    transition: all 0.5s;
}

#anfrage #simplecaptcha{
    height: 35px;
    width: auto;
    max-width: 300px;
    margin: 0 auto 5px 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    clear:left;
}

#anfrage .errormessage{
    color: #fff;
    background-color: #b50923;
    padding: 20px;
    margin: 20px auto 20px auto;
    transition: all 0.5s;
}

.newsletter h2{
    text-align: center !important;
    margin-top: 50px;
}

.newsletter form{
    max-width: 800px;
    margin: auto auto 100px auto;
}

.newsletter input[type="text"]{
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    padding: 5px;
    margin-bottom: 10px;
    transition: all 0.5s;
    border: 1px solid #b50923;
    font-size: 120%;
    max-width: 240px;
}

.newsletter input:focus{
    outline: none;
}

.newsletter input[type=checkbox]{
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    margin-left: 0;
    margin-bottom: 10px;
    border: 1px solid #b50923;
    display: block;
    float:left;
    background-color: #fff;
    transition: all 0.5s;
}

.newsletter input[type=checkbox]:checked{
    background-color: #b50923;
}

.newsletter input[type="submit"]{
    padding: 10px 20px;
    xwidth: 100%;
    xmax-width: 220px;
    background-color: #b50923;
    display: inline-block;
    border: none;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;   
    color: #eff3ec;
    cursor: pointer;
    text-transform: uppercase;
    font-family: helvetica, arial, verdana, sans-serif;
    transition: all 0.5s;
}

#stimmen{
    margin: 0;
    padding: 0;    
    list-style-type: none;
}

#stimmen li{
    display: block;
    margin: 0 auto 50px auto;
    padding: 50px;
    background-color: #fef6e4;
}

#stimmen li .scontainer{

}

#stimmen li .scontainer .quote{
    font-style: italic;
    margin: 0 auto 25px auto;
}

#stimmen li .scontainer .author{
    text-align: right;
}

#galerie{
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 auto -25px auto;
}

#galerie li{
    display: inline-block;
    width: calc(33.33% - 50px);
    background-color: #fef6e4;
    text-align: center;
    flex-shrink: 0;
    margin: 0 0 50px 0;
}

#galerie li .galimg{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
}

#galerie li h2{
    text-transform: uppercase;
    margin: 15px auto;
    font-size: 105%;
}

#personen{
    margin: 0;
    padding: 0;    
    list-style-type: none;
}

#personen li{
    display: block;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

#personen li:last-child{
    margin: 0 auto;
}

#personen li .pcontainer{
    background-color: #fef6e4;
    position: relative;
}

#personen li .pcontainer .pimg{
    width: 25%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    aspect-ratio: 3 / 4;
    margin: 15px 25px 15px 15px;
}

#personen li .pcontainer .ptxt{
    width: calc(75% - 55px);
    position: absolute;
    right: 15px;
    top: 15px;
    bottom: 15px;
    overflow: hidden;
}

#gruppen{
    margin: 0;
    padding: 0;    
    list-style-type: none;
}

#gruppen li{
    display: block;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

#gruppen li h2{
    text-align: center;
}

#gruppen li:last-child{
    margin: 0 auto;
}

#gruppen li .gcontainer{
    background-color: #fef6e4;
    padding: 15px 0 1px 0;
}

#gruppen li .gcontainer .gimg{
    width: calc(100% - 30px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    aspect-ratio: 4 / 3;
    margin: 0 15px 0 15px;
}

#gruppen li .gcontainer .gtxt{
    margin: 0 15px;
}

#quotes{
    margin: 0 auto;
    background-color: #b50923;
    color: #fff;
}

#quotes #qcontainer{
    padding: 50px 0; 
}

#quotes #qcontainer h2{
    color: #fff;
    text-align: center;
}

#quotes #qcontainer .qtext{
    font-style: italic;
    margin: 50px auto 25px auto;
    max-width: 700px;
}

#quotes #qcontainer .qtext .fa-solid{
    display: inline-block;
}

#quotes #qcontainer .qcredit{
    text-align: center;
}

#logos{
    padding: 25px 0 0 0;
    margin: 0;
    border-top: 5px solid #d25969;
    text-align: center;
    clear: both;
}

#logos img{
    height: 40px;
    width: auto;
    margin: 0 20px 25px 20px;
}

#logos a:nth-last-child(-n+3){
    white-space: nowrap;
}

#bottom{
    background-color: #b50923;
    padding: 40px 0;
    border-top: 20px solid #d25969;
    color: #fff;
}

#footer{
    padding: 0 0 40px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 100%;
    line-height: 150%;
    clear: both;
}

#footer li{
    display: inline-block;
    list-style-type: none;
    margin: unset;
}

#footer li:last-child{
    text-align: right;
}

#footer h4{
    margin: 0 auto 20px auto;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 105%;
}

#footer a[href]:link, #footer a[href]:visited, #footer a[href]:hover, #footer a[href]:active, #footer a[href]:focus{
    text-decoration: none;
    color: #fff;
    display: block;
}

#footer .fa-solid{
    margin-right: 5px;
}

#sm{
    margin: 0 auto 82px auto;
}

#sm a[href]:link, #sm a[href]:visited, #sm a[href]:hover, #sm a[href]:active, #sm a[href]:focus{
    text-decoration: none;
    color: #fff;
    display: inline-block;
    font-size: 250%;
    margin: 0 0 0 10px;
}

#credits{
    text-align: right;
}

#credits a[href]:link, #credits a[href]:visited, #credits a[href]:hover, #credits a[href]:active, #credits a[href]:focus{
    text-decoration: none;
    font-size: 70%;
    color: #fff;
    display: block;
}

@media only screen and (max-width: 1400px) {
    .wrapper{ max-width: 1200px; }
    #top2 #top2container{ height: 49px; }
    #top2 #top2container #logo{ height: 90px; }
    #top2 #top2container #nav li{ padding: 9px 0; margin: 0 0 0 38px; }
    #imagecontainer{ margin: 140px 0 100px 0; }
}

@media only screen and (max-width: 1300px) {
    .wrapper{ max-width: 1100px; }
    #galerie li{ width: calc(50% - 25px); }	
	#imagecontainer1 #teaser{ padding: 15px; }
	#cta{ padding: 15px; }
}

@media only screen and (max-width: 1200px) {
    .wrapper{ max-width: 1000px; }
    #top1{ height: 5px; }
    #top1 #contact{ display: none !important; }
    #top2{ border-bottom: 5px solid rgba(255,255,255,0.975); }
    #top2 #top2container{ height: 50px; }
    #top2 #top2container #logo{ height: 55px; top: -5px; }
    #top2 #top2container #nav li{ padding: 8px 0; margin: 0 0 0 36px; }
    #imagecontainer1{ margin: 100px 0 0 0; }
    #imagecontainer2{ margin: 100px 0 0 0; }
}

@media only screen and (max-width: 1100px) {
    .wrapper{ max-width: 900px; }
}

@media only screen and (max-width: 1000px) {
    body{ overflow-x: hidden;  }
    .wrapper{ max-width: unset; }
    #top{ position: relative; }
    #top2 #top2container{ height: 50px; margin: 0 20px; }
    #top2 #top2container #logo{ top: -5px; height: 55px; }
    #top2 #top2container #mobilenav{ display: inline-block; }
    #top2 #top2container #nav{ display: none; position: aboslute; right: -310px; top: 50px; bottom: unset; width: 290px; background-color: rgba(254,246,228,0.975); font-size: 140%; }
    #top2 #top2container #nav .mobiledrop{ display: inline-block; }
    #top2 #top2container #nav li{ display: block; padding: 10px 20px; margin: 0; border: none; }
    #top2 #top2container #nav li.active{ border: none; }
    #top2 #top2container #nav li:hover > .subnav{ display:inline-block; }
    #top2 #top2container #nav li a[href]:link, #top2 #top2container #nav li a[href]:visited, #top2 #top2container #nav li a[href]:hover, #top2 #top2container #nav li a[href]:active, #top2 #top2container #nav li a[href]:focus{ display: inline-block; }
    #top2 #top2container #nav .subnav{ display: inline-block; position: relative; left: unset; top: unset; margin: 0; padding: 5px 0 0 0; border: 0; }
    #top2 #top2container #nav .subnav li{ display: block; padding: 3px 0 0 10px; margin: 0; }
    #top2 #top2container #nav .subnav li:hover{ background-color: unset; }    
    #top2 #top2container #nav #subnav_leistungen{ display: none; width: 100%; }
    #top2 #top2container #nav #subnav_kunden{ display: none; width: 100%; }
    #top2 #top2container #nav #subnav_ueberuns{ display: none; width: 100%; }
    #imagecontainer1{ margin: 20px 0 0 0; }	
    #imagecontainer2{ margin: 20px 0 0 0; }
    #content #contentheader{width: calc(100% - 40px); margin: 0 20px 50px 20px; }
    #content #contentdetail{width: calc(100% - 40px); margin: 0 20px; }
    #alist li .acontainer{ width: calc(100% - 40px); margin: 0 20px; }
    #galerie{ margin: 0 20px -50px 20px; }
    .newsletter form{ margin: auto 20px 100px 20px; }
    #footer{ padding: 0 20px 40px 20px; }
    #credits{ padding: 0 20px 0 0; }
}

@media only screen and (max-width: 900px) {
    .wrapper{ max-width: unset; } 
    #intro .icontainer{ margin: 0 20px 50px 20px; max-width: unset; }
    #quotes #qcontainer .qtext{ margin: 0 20px; max-width: unset; }
}

@media only screen and (max-width: 800px) {
    .wrapper{ max-width: unset; }	
	#imagecontainer1 #teaser{ display: none; }
	#cta{ display: none; }
    #boxen{ flex-direction: column; }
    #boxen li{ width: calc(100% - 40px); margin: 0 20px; max-width: 400px; }
    #boxen li:nth-child(2){ margin: 25px 20px; }
    #content #contentheader{ flex-direction: column; }
    #content #contentheader .ctxt{ width: 100%; margin: 0; }
    #content #contentheader .cimg{ width: 100%; margin: 0; }
    #alist li{ margin: 0 0 75px 0; }
    #alist li .acontainer{ flex-direction: column; }
    #alist li:nth-child(2n+1) .acontainer .atxt{ order: 2; }
    #alist li:nth-child(2n+1) .acontainer .aimg{ order: 1; }
    #alist li .acontainer .aimg{ width: 100%;  margin: 25px auto 25px auto; }
    #alist li .acontainer .atxt{ width: calc(100% - 40px);  margin: 25px 20px 0 20px; }
    #galerie li{ width: 100%; }
    #footer{ flex-direction: column; }
    #footer li{ text-align: center; margin: 0 auto 50px auto; }
    #footer li:last-child{ text-align: center; }
    #credits{ text-align: center; padding: 0; }
}

@media only screen and (max-width: 650px) {
    .wrapper{ max-width: unset; }
    #alist li .acontainer .atxt{ width: 100%;  margin: 25px 0 0 0; }
    #personen li .pcontainer{ padding: 15px 15px 1px 15px; }
    #personen li .pcontainer .pimg{ width: 100%; margin: 0 auto 25px auto; }
    #personen li .pcontainer .ptxt{ width: auto; position: relative; top: unset; right: unset; bottom: unset; overflow: visible; }
}

@media print{
    
}