@media only screen and (max-width: 1520px) {
  .rechtsanwaelte .blue-column .container {
    min-height: 160px;
  }
}
@media only screen and (max-width: 1165px) {
  .rechtsanwaelte .blue-column .container {
    min-height: 80px;
  }
}
@media only screen and (max-width: 1100px) {
  .rechtsanwaelte .blue-column .container {
    min-height: 40px;
  }
}
@media only screen and (max-width: 1200px) {
  nav ul li {
    margin: 0 1.2rem;
  }
  header .logo-link {
    max-width: 30rem;
  }
  .footer-wrapper>div>div {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  footer .logo-img {
    margin: 0 auto;
    float: none;
  }
  footer .rightalign {
    text-align: center;
  }
  section.anwaelte a.pic:hover figcaption {
    font-size: 3.5rem;
  }
  section.anwaelte figcaption {
    padding: 0.8rem 3rem;
  }
  footer .flexbox>div:first-child {
    width: 100%;
  }
}

@media only screen and (max-width: 992px) {
  .only_mobile {
    display: block !important;
  }
  .only_desktop {
    display: none !important;
  }
  html {
    font-size: 10px
  }
  .site-wrapper {
    width: 100%;
  }
  nav ul li {
    margin: 0 0.5rem;
  }
  .nav_mobile .logo-link {
    margin: 0 auto;
  }
  h1, h2 {
    font-size: 3rem;
  }
  section.anwaelte p {
    max-width: 100%;
  }
  header.sticky .content-wrapper a.logo-link {
    margin: 0px 0rem;
  }
  section.anwaelte a.pic:hover figcaption {
    margin-top: -70%;
    font-size: 2rem;
  }
  section.anwaelte a.pic:hover figcaption {
    bottom: 2rem;
  }
  .startseite.hero-img>div {
    background-attachment: unset;
  }
  .side-buttons img {
    width: 42px;
  }
  header.sticky .logo-img, header.sticky .content-wrapper a.logo-link {
    height: auto;
  }
  header.sticky {
    height: auto;
    background: none;
  }
  header {
    height: auto;
    max-height: 12rem;
  }
}

@media only screen and (max-width: 819px) {
  footer .flexbox>div:not(:first-child) {
    min-width: 50%;
    width: 384px;
    max-width: 100%;
    flex-grow: 1;
  }
}

@media only screen and (min-width: 769px) {
  .only_mobile_img {
    display: none !important;
  }
}
@media only screen and (max-width: 768px) {
  footer .flex p {
    display: block;
  }
  footer .footer-wrapper, footer .rightalign {
    text-align: center;
  }
  footer .flex p span.float_left {
    float: none;
  }
  footer .flex p span.float_left img {
    display: inline-block;
  }
  section.dienstleistungen .blue-box {
    min-height: 15rem;
    margin: 2rem 0;
    height: auto;
  }
  section.dienstleistungen .row>div {
    padding: 0;
  }
  section.dienstleistungen .blue-box figure img {
    height: 6rem;
  }
  section.anwaelte figure {
    margin: 2rem 0;
    display: inline-block;
  }
  section.anwaelte .col-sm-4 {
    text-align: center;
  }
  section.anwaelte figcaption {
    width: auto;
  }
  section.anwaelte a.pic:hover figcaption {
    width: auto;
    display: inherit;
    transform: translateX(-50%);
  }
  section img.img-top {
    transform: none;
    margin-bottom: 0;
  }
  header .logo-link {
    max-width: 20rem;
  }
  section.dienstleistungen .row {
    padding: 0;
    margin: -2rem 0;
  }
  section.anwaelte .blue-column, section.anwaelte .anwaelte_2nd {
    background-color: #0d50a6;
    background-image: none;
  }
  section.anwaelte .anwaelte_2nd .row {
    display: block;
    margin-top: 0;
    padding-bottom: 7rem;
  }
  .accordion-text .pic-text {
    padding-top: 7rem;
  }
  section.tradition {
    margin-top: 0;
  }
  .startseite.hero-img .hero-text .blue-bg {
    font-size: 4rem;
  }
  .startseite.hero-img .hero-text span:not(.blue-bg) {
    font-size: 2.5rem;
  }
  section.rechtsanwaelte.header .bg-image, section.philosophie.header .bg-image {
    /* width: calc(40% - 15px); */
  }
  section.rechtsanwaelte.header .flexbox {
    justify-content: flex-start;
  }
  section.rechtsanwaelte.header {
    display: flex;
    flex-direction: column;
  }
  section.rechtsanwaelte.header .center.container {
    order: 1;
  }
  section.rechtsanwaelte.header .blue-column {
    order: 3;
  }
  section.rechtsanwaelte.header .image-helper, section.philosophie.header .image-helper {
    position: relative;
    display: flex;
    justify-content: center;
    order: 2;
  }
  section.rechtsanwaelte.header .bg-image, section.philosophie.header .bg-image {
    width: 100%;
    min-height: 65vw;
    display: block;
    margin: auto;
    background-position: center;
  }
  section.rechtsanwaelte.header .image-helper, section.philosophie.header .image-helper {
    padding: 0 0 5rem 0;
  }

  .rechtsanwaelte .blue-column .container {
    min-height: 0px;
  }
  .startseite.hero-img>div {
    /* background-image: url(../img/kanzlei/scr_210633_Kanzlei-am-Gericht_Gruppe_7791_800px.jpg); */
    /* background-size: 100% auto; */
    display: flex;
    flex-direction: column;
    background-image: none;
    height: auto;
    min-height: calc(100vh - 10rem);
  }

  .startseite.hero-img .hero-text {
    height: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
    flex-grow: 1;
    margin: auto;
    justify-content: center;
  }

  .startseite.hero-img .hero-text .blue-bg {
    background-color: #ffffff;
    color: #0d50a6;
  }

}

@media only screen and (max-width: 650px) {
  .content-wrapper .impressum a, .content-wrapper .datenschutz a {
    line-break: anywhere;
    color: tomato;
  }
}

@media only screen and (max-width: 480px) {
  .startseite.hero-img .hero-text .blue-bg {
    font-size: 3rem;
  }
  .startseite.hero-img .hero-text span:not(.blue-bg) {
    font-size: 2.3rem;
  }
  h1, h2 {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 992px) {
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  .sticky+main {
    padding-top: 6rem;
  }
}
