@media screen and (max-width: 900px) {
  body {
    font-size: 16px;
  }
  span.button-inline a,
  span.button a {
    font-size: 16px;
  }
  span.button a,
  span.more a {
    height: 44px;
    position: relative;
    bottom: 0;
    /*font-size: 35px;*/
  }
  span.btnKontakt::after,
  span.button-inline a::after,
  span.button a::after {
    font-size: 32px;
  }
  #header1 .inside,
  #header2 .inside {
    display: block;
  }
  #header2 .inside {
    width: calc(100% - 50px);
  }
  #header1 .col4 {
    display: none;
  }
  #header1 .col3b {
    position: relative;
  }
  .mobile_menu_trigger {
    /*right: 10px;*/
  }
  body.pKontakt #Ansprechpartner .bigger,
  body.pKontakt .c_adrs h2,
  .biggest,
  h2.h1,
  h1,
  .h1 {
    font-size: 36px;
  }
  h1 .Adelia,
  h1 #typewriter {
    line-height: 90px;
  }
  .bigger {
    font-size: 28px;
  }
  .big {
    font-size: 22px;
  }
  .rs-columns {
    display: block;
  }
  .rs-column.-large-col-3-1 {
    width: 100%;
  }
  .mod_article.fw1200 {
    padding-left: 10px;
    width: auto;
  }
  .mod_article.w1200 {
    margin-left: 10px;
    /*margin-right: 50px;*/
    width: auto;
  }
  .fw1900 > div.ce_text.w1200 .cwTxt,
  .fw1900 > div.content-text.w1200 .cwTxt {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  /* .fw1900 > div.ce_text.w1200 .cwImg {
    padding-left: 3vw;
    padding-right: 3vw;
  } */
  .azubivideos .rs-columns {
    display: flex;
  }
  .azubivideos .rs-columns > div {
    margin-bottom: 60px;
  }
  .rs-column.-medium-col-2-1 {
    width: calc(50% - (60px * 3 / 4));
    margin-right: 60px;
  }
  .rs-column.-medium-col-2-1:nth-child(2),
  .rs-column.-medium-col-2-1:nth-child(4) {
    margin-right: 0;
  }
  /* .mod_article.fw1900 {
    margin-left: 10px;
    width: auto;
  } */
  .mod_article.w1200 {
    margin-left: 10px;
    /*margin-right: 50px;*/
    width: auto;
  }
  .w1200 > div.ce_rsce_typewriter {
    /*
  width: 1200px;
  margin-left: 0;
  margin-right: 0;
  */
    max-width: calc(100% - 50px);
  }
  .w950 {
    width: auto;
    margin-left: 10px;
    margin-right: 50px;
  }
  .cwTxtImg {
    display: block;
  }
  .rs-column.-large-col-2-1 {
    width: 100%;
    margin-right: 0;
  }
  .rs-column.-large-col-2-1:first-child {
    margin-bottom: 30px;
  }
  .sliderLike_cwTxtImg .rs-column.-large-col-2-1 {
    width: 100%;
  }
  .sliderLike_cwTxtImg .rs-columns {
    display: flex;
  }
  .cwslidedown {
    width: calc(100% - 50px);
  }

  body.pKarriere .ce_rsce_boxes .box:last-child {
    display: none;
  }
  body.pKarriere .mod_article .rs-columns {
    display: block !important;
  }

  #footer1 .inside,
  #footer2 .inside {
    display: block;
  }
  #footer1 .col2,
  #footer2 .col2 {
    max-width: 100%;
    display: block;
    margin: 0 50px 0 10px;
  }
  #footer2 .copyright {
    margin-left: 10px;
  }
  #footer2 .col2b,
  #footer1 .col2b,
  #footer2 .col2c,
  #footer1 .col2c,
  #footer2 .col2d,
  #footer1 .col2d {
    padding-left: 0;
    display: block;
  }
  #footer2 .col2b,
  #footer2 .col2c,
  #footer2 .col2d,
  #footer1 .col2c {
    margin-top: 30px;
  }
  body.ausbildung #main .rs-columns {
    display: block;
  }
  /* body.ausbildung #main .rs-column:last-child {
    display: none;
  } */
}

@media screen and (max-width: 767px) {
  body.pBlog .mod_newsarchive .layout_latest {
    width: 100%;
  }
  body.pBlog .mod_newsreader {
    max-width: 100%;
    /* margin-right: 50px; */
  }
}
@media screen and (max-width: 644px) {
  #article-246 .cta-button-center span.button a {
    padding: 10px 20px 5px 25px;
    top: unset;
  }
}
@media screen and (max-width: 599px) {
  span.button-inline a {
    height: auto;
    padding: 11px 40px 8px 25px;
  }
  span.button-inline a::after {
    /*
	top: calc(50% - 24px);
	*/
  }
  .roadmap.roadmap--orientation-auto {
    width: calc(100% - 50px);
    margin: 50px 0 50px 0;
    word-wrap: break-word;
  }
  .roadmap.roadmap--orientation-auto .roadmap__navigation > * a {
    line-height: normal;
  }
  #cwTeam {
    display: flex;
    flex-direction: column;
  }
  body.pKontakt .rs-column.-large-col-4-1 {
    width: 100%;
  }
  #o_frmKontakt div.formbody textarea {
    width: 94%;
  }
  .pHome .messe-slider,
  .pHome .messe-slider-spacer {
    display: none;
  }
  #uZertifikate p,
  .pUnternehmen .four-images,
  .pProdukte .four-images {
    /* margin-left: 10px; */
    display: block;
  }
  #o_frmKontakt .cwOvlBottomClose span {
    font-size: 14px;
  }
  #o_frmKontakt div.formbody button.button {
    font-size: 14px;
    line-height: 30px;
  }
  #o_frmKontakt h3 {
    font-size: 22px;
  }
  #o_frmKontakt {
    font-size: 14px;
  }
  #o_frmKontakt .fRight,
  #o_frmKontakt .fLeft {
    width: 100%;
    display: block;
  }
  #o_frmKontakt div.formbody textarea {
    width: 94%;
  }
  body.pKontakt .adr_right a {
    word-wrap: anywhere;
  }

  body.pKontakt .adrInner {
    display: block;
  }
  body.pKontakt .c_adrs {
    margin: 0;
  }
  body.pKontakt .c_adrs,
  body.pBlog .mod_newsarchive,
  #Jobs {
    max-width: calc(100% - 50px);
  }
  body.pBlog .mod_newscategories ul.level_1,
  #cwJobs {
    display: flex;
    flex-direction: column;
  }
  body.pKarriere .ce_rsce_boxes {
    display: block;
  }
  .cwslidedown.cols {
    flex-direction: column;
  }
  .cwslidedown.cols .col {
    width: 100%;
  }
  body.pKarriere .cwslidedown.cols .col .ce_text,
  body.pGreenLine .cwslidedown.cols .col .ce_text,
  body.pMaterialien .cwslidedown.cols .col .ce_text,
  .cwslidedown.cols .col.txt .ce_text,
  body.pKarriere .cwslidedown.cols .col .content-text,
  body.pGreenLine .cwslidedown.cols .col .content-text,
  body.pMaterialien .cwslidedown.cols .col .content-text,
  .cwslidedown.cols .col.txt .content-text {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .cwslidedown.cols .col.img {
    line-height: 0;
  }
  body.pGreenLine .cwslidedown .gl-footer,
  body.pMaterialien .cwslidedown .mat-footer {
    display: none;
  }
  body.pMaterialien .cwslidedown .col > .ce_image,
  .cwslidedown.cols .col.img {
    display: none;
  }
  /*
.cwslidedown.cols .col.img:first-child{
	order: 0;
}
.cwslidedown.cols .col.txt:first-child{
	order: 1;
}
.cwslidedown.cols .col.img:last-child{
	order: 2;
}
.cwslidedown.cols .col.txt:last-child{
	order: 3;
}
*/
  .cwslidedown.cols .col.nv {
    margin-bottom: 20px;
  }
  .cwslidedown.cols .col.nv {
    order: unset;
  }
  .cwslidedown .hideCol {
    max-height: none;
    /*
	max-height: 0;
	*/
  }
  body.pBlog .mod_newsreader,
  body.pKarriere .cwslidedown.cols .col .box,
  .cwslidedown .hideCol .ce_text,
  .cwslidedown .hideCol .content-text {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .cwslidedown .hideCol .cwTxt {
    padding-left: 0;
    padding-right: 0;
  }
  body.pKarriere .cwslidedown .rs-column.-large-col-2-1,
  body.pDekoration .rs-column.-large-col-2-1,
  .rs-columns.no-margin .rs-column.-large-col-2-1 {
    width: 100%;
  }
  .vcenter .cwTxt {
    width: 100%;
  }
  #footer1 .logo img,
  #footer2 .logo img {
    max-height: 50px;
  }
}

/*@media screen and (max-width: 599px) and (max-height: 675px){*/
@media screen and (max-width: 599px) and (max-height: 900px) {
  /*#fixedButton2,
	#fixedButton4,
	#fixedButton7,
	#fixedButton3*/
  #fixedButton1,
  #fixedButton7 {
    display: none;
  }
  /*
	#fixedButton1 {
		bottom: calc(15% + 182px);
	}
	#fixedButton5{
		bottom: calc(15% + 90px);
	}
	#fixedButton6{
		bottom: calc(15% + 38px);
	}
	*/
  #fixedButton4 {
    bottom: 50px;
  }
  #fixedButton3 {
    bottom: 100px;
  }
  #fixedButton2 {
    bottom: 150px;
  }
  #fixedButton6 {
    bottom: 200px;
  }
  #fixedButton5 {
    bottom: 250px;
  }
}

@media screen and (max-width: 500px) {
  .teaser .aTxt {
    margin-left: 10px;
    width: 320px;
  }
  .btnback a {
    /* background-color: #333;
    color: #fff !important;
    height: 48px;
    display: inline-block;
    text-decoration: none;
    text-align: center; */
    padding: 0 10px 0 40px;
    font-size: 14px;
    /* font-size: 18px;
    line-height: 48px; */
  }
  .pKarriere .rs-columns .ce_text .bigger,
  .pKarriere .rs-columns .ce_text .biggest,
  .pKarriere .rs-columns .ce_text .h2,
  .pKarriere .rs-columns .content-text .bigger,
  .pKarriere .rs-columns .content-text .biggest,
  .pKarriere .rs-columns .content-text .h2 {
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  .adr.adrV .adr_right a {
    word-break: break-all;
  }
  .four-images {
    display: grid;
    grid-template-columns: 50% 50%;
  }
  .four-images .ce_image {
    margin-bottom: 50px;
  }
  .four-columns {
    display: grid;
    grid-template-columns: 50% 50%;
  }
  .rs-column.-small-col-1-1 {
    width: calc(100% - (60px * 3 / 4));
    margin-right: 0;
  }
}
/* Spezial Letter Spacing fuer Headlines auf Startseite */
.blogHL h2,
.messeV2.teaserV2 h2.h1 {
  letter-spacing: 0.4rem;
}
/* Mobile Optimierung Jira Ticket
REBHAHN-170 */
.mobileswitch .cwTxtImg {
  display: grid;
}
.bgdunkelbeige.headlines h2,
.bgblau.headlines h2 {
  margin-top: 50px;
}
.mobile_menu .mod_navigation .onlydesktopmenu {
  display: none;
}
@media screen and (max-width: 900px) {
  .rs-column.-medium-col-2-1:nth-child(2),
  .rs-column.-medium-col-2-1:nth-child(4) {
    margin-right: auto;
  }
  .slick-slide img,
  .bilder-slider .slick-center figure figcaption,
  .bilder-slider figcaption {
    margin: 0 auto;
    color: #333;
  }
  .mobileswitch .cwTxtImg {
    display: flex;
    flex-direction: column;
  }
  .mobileswitch .cwTxtImg .cwTxt {
    order: 9;
  }
  .mobileswitch .cwTxtImg .cwImg {
    order: 1;
  }
}
@media screen and (max-width: 767px) {
  .bgdunkelbeige.headlines h2,
  .bgblau.headlines h2 {
    margin-top: 0px;
  }
  /* Sticky-Störer mobil ausblenden */
  #backtotop,
  #fixedButton1,
  #fixedButton2,
  #fixedButton3,
  #fixedButton4,
  #fixedButton5,
  #fixedButton6,
  #fixedButton7 {
    display: none;
  }
  /* um danach alles auf volle Breite zu ziehen */
  #header2 .inside,
  .cwslidedown,
  .teaserV2 .rs-column.-large-col-4-1,
  .teaserV2 .rs-column.-large-col-4-1 img,
  body.pHome .blog .mod_newslist .layout_latest,
  .roadmap.roadmap--orientation-auto {
    /*width: calc(100% - 50px);*/
    width: 100%;
  }
  .rs-column.-small-col-1-1 {
    /*width: calc(100% -(60px* 3 / 4));*/
    width: 100%;
  }
  .mod_article.w1200,
  .mod_article.w1900,
  .rs-columns.w1200,
  .w950 {
    /* margin-right: 50px; */
    margin-right: 10px;
  }
  .rs-column.-medium-col-2-1:nth-child(2),
  .rs-column.-medium-col-2-1:nth-child(4) {
    margin-right: auto;
  }
  .w1900.bgdunkelbeige .ce_text,
  .w1900.bgdunkelbeige .content-text {
    margin-left: auto;
    margin-right: auto;
  }
  .teaserV2,
  .blog .mod_newslist {
    padding-left: 40px;
    padding-right: 40px;
  }
  .w950,
  .w1200 > div.ce_text,
  .w1200 > div.content-text,
  .w1200 > div.rs-columns,
  .w1440 > div.ce_image,
  .w1200 > div.ce_text,
  .w1200 > div.content-text,
  .w1440 > div.rs-columns,
  .w1900 > div.ce_image,
  .w1900 > div.ce_text,
  .w1900 > div.content-text,
  .w1900 > div.rs-columns,
  .fw1200 > div.ce_text,
  .fw1200 > div.content-text,
  .fw1440 > div.rs-columns,
  .fw1440 > div.ce_image,
  .fw1440 > div.ce_text,
  .fw1440 > div.content-text,
  .fw1900 > div.ce_text,
  .fw1900 > div.content-text,
  .fw1900 > div.rs-columns,
  .teaserV2 .rs-column.-large-col-4-1,
  body.pHome .blog .mod_newslist .layout_latest,
  #map,
  .pProdukte .ce_player,
  .pDekoration .ce_player,
  body.pKontakt .c_adrs,
  body.pBlog .mod_newsarchive {
    max-width: 100%;
  }
  /* weitere mobile Anpassungen */
  .messeV2.teaserV2 span.more a {
    height: auto;
    min-height: auto;
  }
  .slick-slide img,
  .bilder-slider .slick-center figure figcaption,
  .bilder-slider figcaption {
    margin: 0 auto;
    color: #333;
  }
  body.pHome .blog .blogHL,
  .bghellgruen .kleeblatt,
  .bgdunkelbeige .ce_text,
  .bgdunkelbeige .content-text {
    padding-left: 25px;
    padding-right: 25px;
  }
  .rs-columns .rs-column:last-child .sdTxt {
    padding-right: 0;
  }
  .pUnternehmen .four-images {
    margin: 0;
  }
  .ce_text.Ansprechpartner img,
  .content-text.Ansprechpartner img {
    width: 100%;
    height: auto;
  }
  body.pHome .blog .blogTXT .button {
    margin-left: 0;
  }
  span.button a,
  span.more a {
    min-height: 44px;
    height: auto;
  }
  #header1 {
    z-index: 9999;
  }
  #header2 .col2 img {
    max-width: 200px;
    margin-left: 10px;
  }
  body.sticky #header2 .col2 img {
    height: 40px !important;
    margin-top: 5px;
    margin-bottom: 5px;
    width: auto;
  }
  .mobile_menu_trigger {
    position: fixed;
    transition: all 0.2s ease-in-out;
    right: 20px;
    top: 98px;
  }
  #header.sticky .mobile_menu_trigger {
    top: 18px;
  }
  .mobile_menu nav ul li {
  }
  .mobileswitch .cwTxtImg .cwImg {
    margin-left: -25px;
    margin-right: -25px;
  }
  .bgdunkelbeige.mobileswitch .cwTxt {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 0;
    padding-right: 0;
  }
  /* Headlines Schmuckschrift werden mobil links angeschnitten */
  h1 .Adelia,
  h2 .Adelia,
  h3 .Adelia,
  h4 .Adelia,
  h5 .Adelia,
  h6 .Adelia {
    margin-left: 1px;
    display: inline-block;
    line-height: 1.8;
  }
  .withyears70 #typewriter {
    font-size: 32px;
  }
  #footer1 .logo.hermannkoch img,
  #footer1 .logo img,
  #footer2 .logo.hermannkoch img,
  #footer2 .logo img {
    max-height: 35px;
  }
  span.btnKontakt {
    line-height: 2;
  }
  span.btnKontakt::after,
  span.button a::after {
    right: 12px;
    top: 50%;
    transform: translate(0, -50%);
  }
  span.button a {
    padding: 11px 40px 11px 25px;
  }
  p.h3,
  h3,
  .h3 {
    font-size: 22px;
    line-height: inherit;
    /* font-family: "Poppins-SemiBold"; */
  }
  span.pfeil {
    width: 28px;
    height: 32px;
    background-size: contain !important;
    background-position: 0 4px !important;
  }
  #Chemie .hasButton .cwTxt {
    padding-bottom: 15px;
  }
  #Branchensegmente.mt120 {
    margin-top: 60px !important;
  }
  .ce_text.zertifikat img,
  .contenttext.zertifikat img {
    max-width: 200px;
    height: auto;
  }
  .ce_text.zertifikat .image_container,
  .content-text.zertifikat .image_container {
    float: none;
    text-align: center;
  }
  .ce_text.zertifikat .image_container img,
  .content-text.zertifikat .image_container img {
    max-width: 200px;
    height: auto !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  body.pKarriere .mod_article.stellen .ce_rsce_boxes {
    grid-template-columns: 90% 10%;
  }
  #footer1,
  #footer2 {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  #footer2 .col2 a {
    width: 100%;
    display: inline-block;
  }
  #footer1 .col2a,
  #footer2 .col2a,
  #footer2 .col2b,
  #footer2 .col2c {
    display: none;
  }
  #footer2 .copyright {
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
  }
  #footer2 .col2d a {
    display: block;
    margin-bottom: 0;
  }
  #footer2 .col2d div a {
    margin-bottom: 0;
    /* padding-bottom: 15px; */
  }
}
