@media screen and (max-width: 1699px) {
 h1, .h1 { font-size: 60px; line-height: 70px; }
 h2, .h2 { font-size: 60px; line-height: 70px; }
}

@media screen and (max-width: 1550px) {
 h1, .h1 { font-size: 50px; line-height: 60px; }
 h2, .h2 { font-size: 50px; line-height: 60px; }
 h3, .h3 { font-size: 26px; line-height: 34px; }
 h4, .h4 { font-size: 32px; line-height: 42px; }
 #submenu_leistungen ul li a span.text, #submenu_karriere ul li a .text { font-size: 36px; line-height: 46px; }
 #submenu_leistungen ul li a span.text > span::after { margin-top: 4px; }
 .smaller #header_links .logo { width: 360px; }
 #menu_master_inner ul.first li { margin: 0 10px; }
 header #menu_master_inner ul li A { font-size: 20px; }

}

@media screen and (max-width: 1279px) {
 .block1 .zweiteiler:nth-of-type(2n+1), .block1 .zweiteiler:nth-of-type(2n) { display: block !important; width: 100% !important; }
 .block1 br { display: none !important; }
 .block1 .bus br { display: block !important; }
 .fullwidth .zweiteiler { padding: 20px 40px; }
 header #header_inner { padding: 0; border-bottom: 2px solid var(--weiss); align-items: flex-start; }
 header #menu_master_outer { display: none; }
 header .menu_master_outer_aktiv { display: block !important; background-color: transparent; }
 header #header_rechts { width: 66.6%; }
 header #header_rechts #menu_kontakt { display: flex; }
 header #header_links { width: 33.3%; padding-left: 40px; box-sizing: border-box; }
 header #header_links .logo { width: 410px; height: 80px; }
 header #click_menu, .smaller #click_menu.aktiv { background-color: var(--blau); width: 50%; display: flex;    align-items: center; height: 80px; }
 header #header_rechts #menu_kontakt ul li { padding: 10px; }
 header #header_rechts #menu_kontakt ul li a { font-size: 16px; }
 #wrapper { margin-top: 80px; }
 #submenu_startseite ul li { height: calc(100vh - 80px); }
 h1, .h1 { font-size: 44px; line-height: 52px; }
 h2, .h2 { font-size: 44px; line-height: 52px; }
 h3, .h3, .fullwidth3 ul li { font-size: 22px; line-height: 32px; }
 .fullwidth3 ul li { padding: 120px 0 0 0; }
 .fullwidth3 .content_inner2 { padding: 1px 40px; }
 .intro .content_inner2 { width: auto; min-width: 50% }
 #content_1201 .teiler1 img { object-fit: contain; width: 80% !important; margin: auto; }
 #content_1303 .content_inner2 .zweiteiler .zweiteiler { display: table-row !important; text-align: center; 0 }
 #content_1303 .content_inner2 .zweiteiler .zweiteiler h3 { margin-top: 40px; }
 #content_1303 .content_inner2 .zweiteiler .zweiteiler img, #content_30002 .content_inner2 .zweiteiler .zweiteiler img { max-width: 70%; }
}

@media screen and (max-width: 1023px) {
 h4, .h4 { font-size: 28px; line-height: 38px; }
 header #header_links,  .smaller #header_links { width: 50%; }
 header #header_links .logo, .smaller #header_links .logo { width: 320px; height: 80px; }
 header #header_rechts, .smaller #header_rechts { width: 50%; }
 header #header_rechts #menu_kontakt ul li a, .smaller #header_rechts #menu_kontakt ul li a { font-size: 0; }
 header #click_menu span, .smaller #click_menu span, #click_menu.aktiv span { font-size: 0; }
 .teiler1 .bus { width: 60% !important; }
 #submenu_leistungen ul li a span.text, #submenu_karriere ul li a .text { font-size: 24px; line-height: 36px; padding: 30px; display: inline-block; }
 #submenu_leistungen ul li a span.text > span { max-width: 100%; margin-left: -45px; }
 #submenu_leistungen ul li a span.text > span::after { margin-top: -2px; }
 .dreiteiler { width: 32%; }
 footer .zweiteiler ul li { font-size: 14px; }
 .fuenfteiler, .fullwidth3 ul li { width: 32%; }
 #content_30002 .content_inner2 .zweiteiler { display: block !important; width: 100%; }
 header #menu_master_outer { position: absolute; background-color: #fff; margin-top: 130px; }
 #menu_master_inner ul.first { text-align: center; }
 .content_inner2 .click { font-size: 24px; }
}

@media screen and (max-width: 799px) {
 h2, .h2 { font-size: 28px; line-height: 38px; }
 header #header_links, .smaller #header_links { padding-left: 0px; }
 header #header_links .logo, .smaller #header_links .logo { width: 275px; height: 80px; margin: 0 auto; }
 .block1 .teiler0 { flex-wrap: wrap; }
 .block1 .teiler1, .block1 .teiler2 { width: 100% !important; padding: 30px; }
 .fullwidth .zweiteiler { display: block; padding: 30px; width: 100%; }
 .fullwidth .content_inner2 { display: block; }
 #content_1002, #content_1003 { margin-top: 0; }
 #submenu_karriere ul li { width: 100%; }
 #submenu_karriere ul li:nth-child(2) a {flex-direction: column; }
 #submenu_karriere ul li { height: auto; }
 #submenu_karriere ul li a .text { height: auto; }
 .zweiteiler, .dreiteiler { width: 100%; padding: 0; }
 .fullwidth3 ul li { width: 49%; }
 #submenu_leistungen ul { display: block; }
 #submenu_leistungen ul li { width: 100%; height: auto; }
 #submenu_leistungen ul li a span.text {  height: auto; padding: 30px 60px; }
 #submenu_leistungen ul li:nth-child(2) a { flex-direction: column; }
 .fullwidth .zweiteiler:nth-child(2) { padding-top: 0; padding-bottom: 30px; }
 footer { display: block; }
 footer .zweiteiler { display: block; width: 100%; }
 #navigation { display: none; }
 #content_1303 .content_inner2, #content_1303 .content_inner2 .zweiteiler { display: block !important; }
 #content_1303 .content_inner2 .zweiteiler .zweiteiler img { max-width: 70%; }
 .fuenfteiler, .fullwidth3 .content_inner2 { padding: 30px; }
}


@media screen and (max-width: 639px) {
 header #header_inner { flex-wrap: wrap; }
 header #header_links, .smaller #header_links { width: 100%; }
 header #header_rechts, .smaller #header_rechts { width: 100%; }
 header #header_rechts #menu_kontakt, .smaller #header_rechts #menu_kontakt, .smaller #click_menu, header #click_menu, header #click_menu.aktiv, .smaller #click_menu.aktiv { height: 50px !important; }
 header #menu_master_outer { position: relative; margin-top: 0; }
 #menu_master_inner ul.first { text-align: left; }
 #menu_master_inner ul.first li { display: block; border-bottom: 1px solid var(--blau);  }
 #menu_master_inner .second_div { display: block; position: relative; padding-top: 0; }
 #menu_master_inner ul.second li { margin: 0; }
 #menu_master_inner ul.first > li:hover > .second_div, #menu_master_inner ul.first > li > .second_div:hover { display: block; padding: 0; margin-left: 0; width: 100%; }
 .intro .content_inner2 { height: auto; width: 100%; }
  h1, .h1 { font-size: 24px; line-height: 30px; }
  h4, .h4 { font-size: 24px; line-height: 34px; }
 #submenu_startseite ul { display: block; }
 #submenu_startseite ul li { width: 100%; height: 50vh; }
 #submenu_startseite ul li:nth-child(2) div { flex-direction: column; }
 .fuenfteiler, .fullwidth3 ul li { width: 100%; }
}