@media all and (max-width: 479px) {
  body{
    padding-bottom: 80px;
  }
  main h1{
    font-size: 28px;
    line-height: 28px;
    margin-bottom: 10px;
  }
  main h2{
    font-size: 24px;
    line-height: 24px;
    margin-top: 0;
  }
  main h3{
    font-size: 20px;
    line-height: 20px;
  }
  main p{
    font-size: 16px;
    line-height: 22px;
    margin-top: 0;
  }
  div#sliding-popup{
    height: auto !important;
  }
  .p-wrapper{
    padding: 20px 5%;
    max-width: 100%;
  }
  .p-produkthighlights{
    padding: 40px 0;
  }
  .highlights_wrapper,
  .highlights_wrapper.grid-2{
    grid-template-columns: 100%;
  }
  .highlights_wrapper .produkt_bild{
    max-width: 160px;
  }
  .highlights_wrapper .produkt_eigenschaften{
    margin-top: 40px;
  }
  .news-container{
    grid-template-columns: 100%;
  }
  #block-kbh-footerlinks .menu-level-0{
    border: none;
  }
  .p-header .text{
    width: 100%;
    padding: 20px;
    margin: 0;
  }
  .p-header .p-wrapper{
    display: block;
  }
  .p-header .p-wrapper h1{
    margin-top: 30px;
  }
  .p-header .p-wrapper h2{
    text-align:right
  }
  .p-header picture{
    position: relative;
    display: inline-block;
    width: 100%;
    left: 0;
    height: 35vh;
    top: 0;
    margin-top: 60px;
  }
  .p-header h1{
    text-align: left;
  }
  #block-kbh-main-menu{
    padding: 180px 20px 80px;
    background: var(--white);
    height: auto;
    z-index: 99;
    display: none;
    top: 0;
    border-bottom: 1px solid var(--dgrey);
    position: fixed;
    overflow-y: scroll;
    max-height: 100%;
  }
  #block-kbh-main-menu li{
    width: 100%;
    display: block;
    line-height: 60px;
    margin-left: 0;
    border-bottom: 1px solid var(--lgrey);
    transition: all 0.5s ease-in-out;
  }
  #block-kbh-main-menu li > ul{
    padding-top: 0;
    background-color: none;
  }
  #block-kbh-main-menu li i{
    display: inline-block;
    float: right;
    font-size: 22px;
    line-height: 60px;
    transition: all 0.5s ease-in-out;
  }
  #block-kbh-main-menu li.open i{
    transform: rotate(45deg);
  }
  #block-kbh-main-menu li.open a,
  #block-kbh-main-menu li.open span{
    color: var(--white);
  }
  #block-kbh-main-menu li > ul{
    position: relative;
  }
	#block-kbh-main-menu li.green.open{
		background-color: var(--green);
	}
	#block-kbh-main-menu li.orange.open{
		background-color: var(--orange);
	}
	#block-kbh-main-menu li.purple.open{
		background-color: var(--purple);
	}
	#block-kbh-main-menu li.blue.open{
		background-color: var(--blue);
	}
  #mobile-steuerung{
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dgrey);
    height: 80px;
    z-index: 99;
  }
  #mobile-steuerung img{
    height: 60px;
    width: auto;
    display: inline-block;
    box-sizing: border-box;
  }
  #mobile-steuerung ul{
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    height: 100%;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding: 10px 0;
    box-sizing: border-box;
  }
  #mobile-steuerung ul li {
    border-right: 1px solid var(--lgrey);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #mobile-steuerung ul li:last-child{
    border-right: none
  }
  #mobile-steuerung ul li i{
    color: var(--white);
    font-size: 40px;
  }
  #footer_daten{
    display: none;
    position: fixed;
    bottom: 80px;
    grid-template-columns: 100%;
    grid-template-rows: repeat(5,auto);
    height: auto;
    text-align: center;
    padding: 40px 5%;
    font-size: 16px;
    border-bottom: 1px solid var(--lgrey);
  }
  #footer_daten section{
     margin-bottom: 12px;
  }
  #footer_daten h2{
    font-size: 20px;
    font-weight: bold;
  }
  #footer_daten img{
    display: none;
  }
  #block-kbh-footerlinks > ul{
    grid-template-columns: repeat(2,auto);
  }
  .p-text ul{
    padding: 20px 5%;
  }
  .p-text ul li{
    margin: 10px 0;
    font-size: 16px;
    width: 100%;
    padding-left: 20px;
  }
  .p-text ul li::before{
    margin-left: -32px;
  }
  .tarif-wrapper{
    background: none;
    background-color: var(--lgrey);
    flex-direction: column;
    margin-top: 80px;
    padding: 10px;
  }
  .tarif-wrapper .img{
    margin-top: -60px;
    justify-content: center;
    max-width: 100%;
  }
  .tarif-wrapper .preis-wrapper,
  .tarif-wrapper .preis-anfrage{
    padding: 10px;
    scale: 0.8;
    top: -140px;
    right: -12px;
  }
   .tarif-wrapper h3{
    font-size: 22px;
    line-height: 28px;
   }
   .tarif-wrapper .inhalt{
    margin-top: 20px;
   }
   .p-text{
    padding: 40px 0;
   }
   .p-formulare .files_wrapper{
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 10px;
   }
   .p-formulare h2{
    margin: 20px 0 0;
   }
   .p-faq .frage_container .frage{
      position: relative;
      padding-right: 30px;
      box-sizing: border-box;
   }
   .p-faq .frage_container{
    padding: 10px;
   }
   .p-faq .frage_container .frage::after{
      position: absolute;
      top: 0;
      right: 0;
      float:none;
      margin: 0;
   }
   li{
      font-size: 16px;
      line-height: 22px;
   }
   .mitarbeiter_foto{
      float: right;
   }
   .mitarbeiter{
      display: block;
      width: 100%;
      padding: 20px;
      box-sizing: border-box;
      flex: none;
   }
   .mitarbeiter i{
      font-size: 60px;
      padding: 0;
   }
   .mitarbeiter_content{
      display: block;
      padding: 10px 0 0;
   }
   .p-ansprechpartner h3,
   .p-team h3{
    margin: 20px 0 10px;  
  }
  .p-team .mitarbeiter_content h3,
  .p-ansprechpartner h3{
    margin: 0;
  }
  #block-kbh-toplinks{
    position: fixed;
    text-align: center;
    height: auto;
    padding: 0;
    margin: 0 5%;
    background-color: var(--dgrey);
    width: 90%;
    z-index: 100;
    display: none;
  }
  #block-kbh-toplinks ul{
    height: auto;
  }
  #block-kbh-toplinks li{
    margin: 0 10px;
    display: block;
    height: auto;
    line-height: initial;
    border-bottom: 1px solid var(--lgrey);
  }
  #block-kbh-toplinks li:last-child{
    border-bottom: none;
  } 
  #block-kbh-toplinks a{
    border: none;
    padding: 8px 0;
    color: var(--lgrey);
    font-size: 14px;
    display: block;
  }
  #block-kbh-brandingderwebsite{
    left: calc(50vw - 90px);
    padding: 10px;
    width: 180px;
  }
  .p-contact .btn{
    display: block;
    margin-bottom: 4px;
  }
  #details i{
    font-size: 36px;
    margin-bottom: 6px;  
  }
  .p-sub-header h1{
    font-size: 42px;
    line-height: 40px;
  }
  .p-faq {
    border-bottom: 2px solid var(--white);
  }
  .p-text ul{
    margin: 12px 0;
  }
  .p-text ul li ul{
    padding: 0 5%;
  }

}
