@media screen and (max-width: 1699px) {
 :root { --mw: 1250px; }
}

@media screen and (max-width: 1599px) {
 :root { --mw: 1150px; }
 #section_9 { background-position: top right 20px; background-size: 75px auto; }
 #section_11 { background-position: top left 20px; background-size: 75px auto; }
 #content_907 { margin-bottom: -80px; }
 .parallax { min-height: 0; }
 .parallax p img { display: block; height: 450px; }
}

@media screen and (max-width: 1279px) {
 :root { --mw: 900px; }
 #section_9 { background-position: top right 10px; background-size: 50px auto; }
 #section_11 { background-position: top left 10px; background-size: 50px auto; }
 #content_901 .flexslider { max-width: 90%; }
 #content_907 { margin-bottom: -60px; }
 h2, .h2 { font-size: 36px; line-height: 46px; }
 h3, .h3 { font-size: 22px; line-height: 38px; }
 body { font-size: 20px; }
 .parallax p img { height: 400px; }
}

@media screen and (max-width: 1100px) {
 #content_1000 a { font-size: 55px; line-height: 60px; background-size: auto 90px; }
 #content_1000 .content_inner2 .zweiteiler:nth-of-type(1) { padding-bottom: 110px; }
 #content_1000 .content_inner2 .zweiteiler:nth-of-type(2) { padding-top: 110px; }
 #content_1100::before { margin-top: -80px; height: 80px; }
 @keyframes zoomInOut {
        0% 	{ line-height: 60px; background-size: auto 90px; font-size: 55px; }
        30% { line-height: 60px; background-size: auto 100px; font-size: 55px;   }
        50% { line-height: 60px; background-size: auto 120px; font-size: 55px;   }
        70% { line-height: 60px; background-size: auto 100px; font-size: 55px;   }
        100% 	{ line-height: 60px; background-size: auto 90px; font-size: 55px; }
 }
}



@media screen and (max-width: 1023px) {
 #wrapper { text-align: left; }
 *, *:before, *:after { animation: none !important; }
 * .dreiteiler { border: none; padding: 0; margin: 0; width: 100%; border: none !important; }
 .ecke_links:before, .ecke_links2:before, .ecke_rechts:before { display: none; }
 :root { --mw: 100%; }
 .content_inner2 { padding: 40px 70px; }
 #menu_unten_links, #menu_unten_rechts { display: block; width: 100%;  text-align: center; padding: 5px 0; }
 #content_1000 .content_inner { padding: 0 70px; box-sizing: border-box; }
 #section_9, #section_11 { background-size: 40px auto; }
 #content_902 h2 { margin-bottom: 20px; }
 #content_902 .flex { align-items: baseline; display: flex; }
 #content_902 .dreiteiler { width: 100%; margin-bottom: 10px; }
 #content_902 .dreiteiler:nth-of-type(1), #content_902 .dreiteiler:nth-of-type(2), #content_902 .dreiteiler:nth-of-type(3) { border: none; padding: 0;  }
 .parallax p img { height: 350px; }
}


@media screen and (max-width: 899px) {
 * .zweiteiler, .flexwidth .content_inner2 .zweiteiler, #content_901 .zweiteiler { width: 100%; padding: 0; max-width: 100%; }
 * .zweiteiler img, .flexwidth .content_inner2 .zweiteiler img{ display: block; margin: 10px auto !important; max-width: 300px; max-height: 260px; width: auto; height: auto; }
 .fullheight, .fullheight .content_inner, .fullheight .content_inner2 { min-height: 550px; }
 #content_900 .zweiteiler:nth-of-type(1), #content_900 .zweiteiler:nth-of-type(2) { width: 100%; }
 #content_900 .zweiteiler:nth-of-type(2) { text-align: center; }
 #content_900 .zweiteiler:nth-of-type(2) img { display: inline-block !important; max-height: 100px; width: auto; height: auto; margin: 10px; }
 #content_901 .zweiteiler:nth-of-type(1), #content_901 .zweiteiler:nth-of-type(2) { width: 100%; }
 #content_901 .flexslider { max-width: 100%; margin-top: 20px; }
 #content_907 { margin-bottom: -40px; }
 #content_1000 a { font-size: 48px; line-height: 48px; }
 #content_1000 #up { padding-left: 80px; }
 #content_1000 #down { padding-right: 80px; }
 #content_1000 .content_inner2 { background-size: 450px auto; }
 #content_1000 .content_inner2 { flex-direction: column-reverse; }
}



@media screen and (max-width: 639px) {
 #content_1000 { background-image: url('../img/start_hg_hochkant.jpg'); }
 #content_1000 .content_inner { padding: 0 20px; }
 #content_1000 .content_inner2 { background-size: 400px auto; }
 #menu_icons { top: calc(70% - 60px); }
 #content_907 { margin-bottom: -21px; }
 .parallax p img { height: 300px; }

 body { font-size: 18px; line-height: 26px; }
 h1, h2, h3, h4 { hyphens: auto; }
 .content_inner2 { padding: 30px; }
 h2, .h2 { font-size: 28px; line-height: 38px; }

 #content_900 #kontaktformular .zweiteiler { width: 100% !important; }
 #content_901 .flexslider { padding: 40px; font-size: 16px; }
 #content_903 .content_inner2 { flex-direction: column-reverse; }
 #content_906 .content_inner2 { flex-direction: column-reverse; }
 #content_1000 .content_inner2 { background-image: url('../img/logo_mam_responsiv.png');background-size: 90% auto; }
 #content_1101 .content_inner2 { flex-direction: column-reverse; }
 #menu_icons li A { min-width: 45px; height: 45px; line-height: 45px; font-size: 18px; background-position: left 9px center; }
 #menu_icons li A:hover span, #menu_icons li A:focus-within span { padding-right: 10px; }
 #link_6-600 { background-size: auto 35px; }
 #link_6-601 { background-size: auto 30px; }
 #menu_unten_rechts ul li { font-size: 0; line-height: 0; }
 #menu_unten_rechts ul li a { display: block; font-size: 16px; line-height: 22px; }
 #content_1103 { display: none; }

 #section_9 { background-image: url('../../img/pfeile_hoch2.png'); }
 #section_11 { background-image: url('../../img/pfeile_runter2.png'); }
  #section_9X, #section_11X { background-size: 0; }

.start .content_inner2 { padding-top: 60px; }
.ende .content_inner2 { padding-bottom: 60px !important; }
}



@media screen and (max-width: 400px) {
 .parallax p img { height: 220px; }
}



@media (max-height: 950px) and (min-width: 1024px) {
 #content_1000 .content_inner2 { background-size: 700px auto; }
 #content_1000 a { font-size: 60px; line-height: 60px;  background-size: auto 100px; }
 @keyframes zoomInOut {
        0% 	{ line-height: 60px; background-size: auto 100px; font-size: 60px; }
        30% { line-height: 80px; background-size: auto 120px; font-size: 80px;   }
        50% { line-height: 80px; background-size: auto 140px; font-size: 80px;   }
        70% { line-height: 80px; background-size: auto 120px; font-size: 80px;   }
        100% 	{ line-height: 60px; background-size: auto 100px; font-size: 60px; }}
}


@media (max-height: 770px) and (min-width: 1024px) {
 #content_1000 .content_inner2 { background-size: 600px auto; }
 #content_1000 a { font-size: 60px; line-height: 60px;  background-size: auto 100px; }
 #content_1000 #up { padding-left: 90px; }
 #content_1000 #down { padding-right: 90px; }
 @keyframes zoomInOut {
        0% 	{ line-height: 60px; background-size: auto 100px; font-size: 60px; }
        30% { line-height: 80px; background-size: auto 120px; font-size: 80px;   }
        50% { line-height: 80px; background-size: auto 140px; font-size: 80px;   }
        70% { line-height: 80px; background-size: auto 120px; font-size: 80px;   }
        100% 	{ line-height: 60px; background-size: auto 100px; font-size: 60px; }}
}


@media (max-height: 699px) and (min-width: 1024px) {
 #content_1000 .content_inner2 { background-size: 500px auto; }
 #content_1000 a { font-size: 40px; line-height: 40px;  background-size: auto 60px; }
 #content_1000 #up { padding-left: 70px; }
 #content_1000 #down { padding-right: 70px; }

 @keyframes zoomInOut {
        0% 	{ line-height: 40px; background-size: auto 60px; font-size: 40px; }
        30% { line-height: 50px; background-size: auto 70px; font-size: 50px;   }
        50% { line-height: 50px; background-size: auto 80px; font-size: 50px;   }
        70% { line-height: 50px; background-size: auto 70px; font-size: 50px;   }
        100% 	{ line-height: 40px; background-size: auto 60px; font-size: 40px; }}
}