@media only screen and (max-width: 1320px) {
  #footer {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 1280px) {
  --gap:20px;
  .standort_uebersicht .item.sp5 {
    width: calc(50% - var(--gap));
  }
  #formular.fl_ct div {
    width: 100%;
  }
  #navi_ct .hauptnavigation ul li .sub_ct ul {
    flex-direction: column;
  }
  #navi_ct .hauptnavigation ul li .sub_ct ul li {
    margin-bottom: 10px;
  }
  #navi_ct .hauptnavigation ul li .sub_ct ul li ul li {
    margin-bottom: 0;
  }
  #navi_ct .hauptnavigation ul li.notrel .sub_ct {
    min-width: 360px;
  }
  #kopfgrafik #logo_ct {
    width: 11vw;
  }
  .box_ct {
    --gap:20px;
  }
  .box_ct .item {
    margin-bottom: var(--gap);
  }
  .box_ct .item.sp5, .box_ct .item.sp4, .box_ct .item.sp3 {
    width: calc(50% - var(--gap));
  }
  #footer .meta {
    margin-top: 30px;
  }
}
@media only screen and (max-width: 840px) {
  #kopfgrafik {
    width: 100%;
    padding-top: 50px;
  }
  #kopfgrafik img {
    width: 80%;
  }
  #kopfgrafik #logo_ct {
    width: 20vw;
    top: 13px;
  }
  .standort_detail {
    flex-wrap: wrap;
    margin-right: 0;
  }
  .standort_detail .bild, .standort_detail .text_ct {
    width: 100%;
  }
  .standort_detail .text_ct {
    margin-left: 20px;
    width: calc(100% - 20px);
  }
  .standort_detail .text_ct .text {
    flex-wrap: wrap;
  }
  .standort_detail .text_ct .text div {
    width: calc(100% - 17px) !important;
    margin-bottom: 20px;
  }
  .box_ct .item .fl_ct .bild, .box_ct .item .fl_ct .text {
    width: 100%;
  }
  #navi_ct {
    display: none;
  }
  #burger {
    display: block;
  }
  #nebennavigation {
    display: none;
  }
  #nebennavigation_mobil {
    display: block;
  }
  #formular {
    width: 100%;
  }
  #formular.fl_ct div {
    width: 100%;
  }
  #formular.fl_ct div.sb {
    width: 100%;
  }
  #footer #footernavigation {
    flex-wrap: wrap;
  }
  #footer #footernavigation .item.sp3, #footer #footernavigation .item.sp4, #footer #footernavigation .item.sp5, #footer #footernavigation .item.plus {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .alleangebote .item {
    /*	padding-left:50px;*/
  }
  #footer #socialmedia {
    top: 0;
  }
}
@media only screen and (max-width: 520px) {
  #kopfgrafik #logo_ct {
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  #content {
    padding: 30px 10px 30px 10px;
  }
  #kopfgrafik img {
    width: 100%;
  }
  #formular input[type="submit"].kl {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  .angebot_uebersicht .item .rubrik_icon {
    position: initial;
    transform: initial;
    justify-content: flex-start;
  }
  .angebot_uebersicht .item .rubrik_icon img {
    height: 40px !important;
  }
  .rubrik_icon.content {
    position: initial;
    transform: initial;
    max-width: initial;
    display: flex;
    justify-content: space-between;
    justify-content: flex-start;
  }
  .rubrik_icon.content img {
    height: 40px;
  }
  .box_ct, .standort_uebersicht {
    --gap:20px;
  }
  .box_ct .item, .standort_uebersicht .item {
    margin-bottom: var(--gap);
  }
  .box_ct .item.sp5, .box_ct .item.sp4, .box_ct .item.sp3, .box_ct .item.sp2, .box_ct .item.sp1, .standort_uebersicht .item.sp5, .standort_uebersicht .item.sp4, .standort_uebersicht .item.sp3, .standort_uebersicht .item.sp2, .standort_uebersicht .item.sp1 {
    width: 100%;
  }
  .spruchbox {
    font-size: 16px;
  }
  #footer .meta {
    margin-top: 35px;
  }
  #footer .meta li {
    line-height: 2em;
  }
  #totop {
    left: 0px;
    transform: initial;
    transform: rotate(-90deg);
    display: inline-block;
    width: 40px;
  }
}
