@media only screen and (max-width: 1023px) {
/*  Mobiles Menü  */
body { font-size: .875em;
 -webkit-hyphens: auto;
 -moz-hyphens: auto;
 -ms-hyphens: auto;
 hyphens: auto;
 }
 a:focus {  outline: #666 dotted thin; }
#nav { display: none; }
.nav-search-wrapper { height: 40px; }
a#link-mobile-menu { display: block; }
a#link-mobile-menu { color: #FFF; display: inline-block; height: 40px; width: 40px; line-height: 40px; background: #000;  position: relative;  }
a#link-mobile-menu span { display: none; }
a#link-mobile-menu:after{ content: '\f419'; position: absolute; font-family: 'Genericons'; left: 8px; font-size: 25px; }
/*  sidebar  */
#sidebar-kontakt p span.abstand { display: block; margin-top: 15px;}
/*  a#link-mobile-menu.active:after { content: '\f405'; position: absolute; font-family: 'Genericons'; left: 8px; font-size: 25px; } */
}
@media only screen and (max-width: 850px) {
.slide-desc h4 { font-size: 1.5em;}
}
@media only screen and (max-width: 767px) {

body { font-size: .92em; }
/*  Home  */
.slide-desc h4 { font-size: 1.25em; margin: 15px 20px}
.teaser { width: auto; float: none; margin: 0 0 30px; }
.teaser.home.first { margin-top: 20px; }
.teaser.home.first figure img { width: 100%; }
.teaser.home.full figure { margin: 0 20px 20px 0; }
.teaser.home.full header, .teaser.home.full .entry-content { float: none; width: auto; }
/*  Produkte  */
#nav-produkte, #container, body.page-id-55 #container-page, body.page-id-551 #container-page  { width: 102.5317%; float: none; }
#nav-produkte { margin-bottom: 20px; }
.box { margin: 0 2.5317% 2.5317% 0;}
.box.full-width { width: 100%; margin-right: 0; }
#container-full-width { float: none; width: 100%; }
.full-width { margin-left: 0; }
/*  Page  */
#container-page { float: left; width: 100%; margin-bottom: 20px; }
#sidebar-page { float: right; width: 100%; margin-right: 0; }
/*  sidebar  */
#sidebar-kontakt p span.abstand { display: inline-block; margin-top: 0;}

/*  Kontakt  */
.content-left, .content-right { float: none; width: 100%; }
/*  Galerie  */
body.page-template-galerie-php .box { width: 47.5%; margin: 0 2.5% 2.5% 0; } 
/*  sidebar  */
a.clickable.sub-nav { display: inline-block; margin-bottom: 20px; }
a.clickable.sub-nav.active { margin-bottom: 0px; }
#nav-produkte { display: none; }

}

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

    #footer .footer-nav,
    #footer p  {
        float: none;
        display: block;
    }

    #footer .footer-nav {
        overflow: hidden;
        margin-bottom: .625rem;
    }
    
}

@media only screen and (max-width: 580px) {
/*  Home  */
.teaser.home.full figure { width: auto; float: none; margin-right: 0;}

.slide-desc h4 { font-size: 1.1em; margin: 10px 15px}

/*  Kataloge  */
.article-katalog { width: 46.5%; margin: 0 5% 50px 0; }
.article-katalog:nth-child(3n) { margin-right: 5%; }
.article-katalog:nth-child(2n) { margin-right: 0; }

/*  Videos  */
body.page-template-video-php #container { width: 100%; } 
body.page-template-video-php .box { width: 100%; margin: 0 0 20px 0; overflow: hidden; } 


.page h1.entry-header { font-size: 1.3em !important; }
/*  Partner  */
.partner-logo { display: block; width: 100%;  }
.partner-logo img { margin: 0 auto; margin-bottom: 25px; }
.partner-desc { display: block; width: 100%; }
.partner-desc p { margin-left: 0; }

#footer .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer .footer-nav {
    margin-bottom: 20px;
}

#footer .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: .625rem;
}

#footer .footer-nav li {
    float: none;
    margin-right: 0;
    padding-right: 0;
    border: 0;
}


}
@media only screen and (max-width: 519px) {
/*  Presse  */
.presse-image { display: none; }
.presse .content-left { float: none; width: 100%; }
/*  footer  */

}
@media only screen and (max-width: 479px) {
.slide-desc h4 { font-size: 1em; margin: 8px 12px}
.grid-sizer { width: 50%; }
/*  Produkte  */
#nav-produkte, #container, body.page-id-55 #container-page { width: 100%; }
.box { width: 100%; margin-left: 0; margin-bottom: 20px;}
.full-width { margin-left: 0; margin-bottom: 20px; }
/*  Team  */
.team { float: none; width: auto; }
/*  Kontakt  */
input.wpcf7-text, .wpcf7 textarea { width: 95%; }
/*  kalender  */
body.page-template-kalender-php .content-right {  width: 100%; }
body.page-template-kalender-php .content-left { width: 100%; margin-top: 30px; } 
/*  Galerie  */
body.page-template-galerie-php #container { width: 100%; } 
body.page-template-galerie-php .box { width: 100%; margin: 0 0 20px 0; } 
/*  Bilder / Galerien / Alignement / Videos */
.entry-content .alignleft, .entry-content img.alignleft {
    display: inline;
    float: left;
    margin-right: 20px;
}
.entry-content .alignright, .entry-content img.alignright { float: none; display: block; margin: 0 auto; margin-bottom: 20px;}
/*  Übersichtsseiten Service / Unternehmen / Produkte */
body.page-template-service-php .box, body.post-type-archive-produkte .box { margin: 0 0 20px; float: none; width: 100%; overflow: hidden; }

/*  back2top  */
#back-top { bottom: 5px; right: 5px;}
#back-top a { height: 30px;	width: 30px;}
#back-top span.genericon{  width: 30px; line-height: 30px; font-size: 1.7em; }

}

@media only screen and (max-width: 350px) {
/*  Kataloge  */
.article-katalog { float: none; width: 100%; margin: 0 0 50px 0; }
.article-katalog:nth-child(3n) { margin-right: 0; }
.article-katalog:nth-child(2n) { margin-right: 0; }

}