
@media screen and (max-width: 1024px) {
  header p {
    padding: 0 10vw;
  }

  section#baufortschritt h1 {
    font-size: 72px;
  }
  section#baufortschritt p {
    font-size: 34px;
    margin-top: 10px;
  }

  section#wir .content .card {
    font-size: 18px;
  }
  section#wir .content p {
    margin-bottom: 0px;
  }
}
@media screen and (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .menu-container #menu {
    display: flex;
  }

  .menu-container #menu ~ #hamburger {
    display: flex;
  }
  .menu-container #menu:checked ~ nav {
    opacity: 1;
    pointer-events: all;
  }

  .menu-container #menu ~ nav {
    opacity: 0;
    pointer-events: none;
  }

  footer {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #boxfooter{
    display:flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
  }

  #boxfooter p{
    text-align: center;
    line-height: 1.5;
  }

  section#weilerstrasse, section#wir {
    padding-top: 50px;
  }
  section#weilerstrasse .left-content {
    margin-top: 30px;
  }

  nav {
    padding: 169px 65px 205px 65px;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    background: rgba(38,36,34,0.9) !important;
    border-bottom: none;
    transition: all .3s ease;
  }
  nav a {
    font-family: 'PT Mono', monospace;
    padding: 0;
    color: var(--white) !important;
    font-size: 64px;
  }

  nav a:first-of-type, nav a:last-of-type {
    padding: 0;
  }

  h1 {
    font-size: 110px;
  }

  h2 {
    font-size: 26px;
    margin-top: 34px;
    margin-bottom: 42px;
  }

  header p {
    font-size: 18px;
    line-height: 22px;
  }

  section#weilerstrasse .left-content {
    margin-bottom: 30px;
  }

  section#weilerstrasse .content.image img {
    width: 100%;
  }



}


@media screen and (max-width: 414px) {
  .mobile-reverse {
    flex-direction: column-reverse;
  }
  h1 {
    font-size: 80px;
  }

  h2 {
    font-size: 22px;
    margin-top: 34px;
    margin-bottom: 42px;
  }

  header p {
    font-size: 18px;
    line-height: 22px;
  }

  section#w19 .content.holz, section#w19 .content.suedansicht {
    margin: 35px 0px;
  }
  section#w19 .content.holz:after, section#w19 .content.suedansicht:after {
    font-size: 18px;
  }
  section#w19 .content.image img {
    margin: 30px 0;
  }

  section#baufortschritt h1 {
    font-size: 34px;
  }
  section#baufortschritt p {
    font-size: 16px;
  }

  nav a {
    font-size: 34px;
  }

  footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    /* height: 140px;
    min-height: 140px; */
  }

  footer a:first-child {
    margin: 0;
  }

  .slide .arrow .arrow-left {
    left: 0px !important;
    top: 0 !important;
    height: 100% !important;
    background: none !important;
  }
  .slide .arrow .arrow-right {
    right: 0px !important;
    top: 0 !important;
    height: 100% !important;
    background: none !important;
  }

}
