@font-face{ 
  font-family: 'Roboto', sans-serif;
  src: url("https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap") format('truetype')
}

@media (min-width:0px) and (max-width:992px){

  /*Navigation*/

.bg-light{
  opacity: 0.9;
}

.nav-logo{
  width: 150px;
}

.navbar-toggler{
  margin: 0;
}

.navbar-light .navbar-toggler{
  border: none;
}

.navbar-brand{
  margin: 0;
}

.navbar-light, .navbar-nav, .nav-link{
  color: #154D7F;
}

.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

:root{
    --primary: #FFCE00;
    --secondary: #171717;
    --light: #F3F3F3;
    --font-stack: 'Roboto', 'Helvectia', sans-serif;
}

body{
    margin: 0;
    padding: 0;
}

.page{
    width: 100vw;
    height: 100vw;
    
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
}

.content{
    width: 100%;
    max-width: 768px;
}


.logo{
  width: 220px;
  display: block;
  padding: 5px 20px;
  background-color: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 15px;
}



    
  .logohintergrund {
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    
  }
  
  #logo{
   width: 100%;
  }
  
  .box{
    width: 300px;
    height: 300px;
    padding-top:30vh;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
  }
  
  .zitat{
    width: 100%;
    padding-top: 2rem;
    display: block;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color:#FFFFFF;
    line-height: 3rem;
  }
  
  .zitat-leistungen{
    position: absolute;
    top: 40vh;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color:#FFFFFF;
    line-height: 3rem;
  }
  
  .zitat-blau{
    position: absolute;
    top: 40vh;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color:#154D7F;
    line-height: 3rem;
  }
  
  .zitat_header{
    width: auto;
    padding: 1rem 0.5rem 1rem 0.5rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 1.7rem;
    color:#154D7F;
    display: inline-block;
  }
  
  .zitatbox{
    width: auto;
    height: auto;
    background-color: rgba(255, 255, 255, 0.75);
    position: absolute;
    bottom:10vh;
    left: 10vw;
    z-index: 999;
    display: flex;
    justify-content: center;
  }
  
  .boxtext{
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    color: #FFFFFF;
    display: inline-block;
    padding: 3rem;
  }
  
  .boxtext_kanzlei{
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #FFFFFF;
    display: inline-block;
    padding: 0rem;
  }
  
  /*navigation*/
  
  .navigation{
    background-color: rgba(255, 255, 255, 0.85);
    width: 100vw;
    position: fixed;
    top:0;
    z-index: 9999;
    display: block;
  }
  

  
  li {
    list-style: none;
    
  }
  
  li a{
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    color: #154D7F;
  }
  
  
.content li{
  list-style: disc;
}
  
  .menubar li .slash{
    width: 2px;
    height: 30px;
    background-color: #AE2956;
    display: none;
  }

  .slash{
    width: 2px;
    height: 30px;
    background-color: #AE2956;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
  }

  
  /*footer*/
  
  footer{
    position: fixed;
    margin-top: 10rem;
    bottom: 0px;
    z-index: 998;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 65px;
  }

  .footer-menubar{
    height: 65px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
  }
  
  .footer-leistungen{
    position: relative;
    margin-top: 2rem;
    bottom: 0px;
    z-index: 998;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 65px;
  }
  
  .footer-kanzlei{
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 65px;
  }
  
  .footer-familienrecht{
    position: fixed;
    margin-top: 2rem;
    z-index: 998;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 65px;
  }
  
  
  /*Bilder*/
  
  .header_leistungen{
    background-image: url('../images/header/header_leistungen.jpg');
    max-width: 100vw;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: relative;
  }
  
  .header_kanzlei{
    background-image: url('../images/header/header_kanzlei.jpg');
    max-width: 100vw;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: relative;
  }
  
  .header_praxis-tipps{
    background-image: url('../images/header/header_kanzlei.jpg');
    max-width: 100vw;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: relative;
  }
  
  .header_kontakt{
    background-image: url('../images/header/header_kontakt.jpg');
    max-width: 100vw;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: relative;
  }

  
  .family-pic{
    width: 100vw;
    position: fixed;
  }
  
  
  /*Überschriften*/
  h1{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    color: #154D7F;
    display: inline-block;
  }
  
  h2{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    color: #ffffff;
  }
  
  h3{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    color: #696969;
    display: inline;
    
  }
  
  h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    color: #154D7F;
    padding: 1rem;
    text-decoration: none;
    text-align: center;
  }
  
  h5{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    color: #154D7F;
    display: inline-block;
  }
  
  a{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3rem;
    line-height: 2.3rem;
    color: #FFFFFF;
  }

  .senden{
    width: 100%;
  }

  #infotext{
    margin: 2rem 0 2rem;
  }
  
  .kanzlei{
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
  }
  
  .motherbox{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .headline{
    height: 12.5%;
    margin-top: 2rem;
    text-align: center;
    padding: 0 1rem 0 1rem;
  }
  
  .subline{
    height: 12.5%;
    text-align: center;
  }
  
  .des-box{
    background-color: #154D7F;
    width: 80%;
    height: 75%;
    margin-top: 2rem;
    border-radius: 30px;
  }
  
  .description{
    color: #FFFFFF;
    padding: 2.5rem;
  }
  
  .anwalt-bild{
    height: 450px;
    margin-top: 50px; 
  }

  
  .motherbox_2{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 6rem;
  }
  
  /*Grid*/
  
  .flex-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
  }
  
  .flex-item{
    width: 100%;
    position: relative;
    margin:1rem;
  }
  
  .textbox{
    width: 100%; 
    height: 20%;
    position: absolute;
    top:40%;
    background-color: rgba(21, 77, 127, 0.75);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .textbox:hover{
    transition: all 0.2s ease-in;
    transform:;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .textbox a:hover{
    margin-top: auto;
    margin-bottom: auto;
    text-decoration: none;
    color: #FFFFFF;
    transform: scale(1.1);
    transition: 0.4s;
  }
  
  .textbox a{
    margin-top: auto;
    margin-bottom: auto;
    text-decoration: none;
    color: #FFFFFF;
  }
  
  .rechte{
    width: 100%;
    height: auto;
    display: block;
  }
  
  .headlinebox{
    position: absolute;
    width: auto;
    bottom: 25vh;
    left: 10vw;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1rem;
    
  }
  
  .contentbox{
    background-color: rgba(21, 77, 127, 0.85);
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 0rem;
    margin-top: 4rem;
    padding: 4rem 5vw 8rem 10vw;
    display: inline-block;
  }
  
  .content{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3rem;
    color: #ffffff;
    margin-top: 2rem;
  }
  

  
  
  /*Button*/
  
  
  button{
    border: none;
    border-color: #154D7F;
    border-radius: 8px;
    background-color: #ffffff;
    color: #154D7F;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    padding: 1rem;
    margin-top: 2rem;
    cursor: pointer;
    margin-right: 1rem;
  }
  



  
  .back{
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    margin-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
  }
  
  .back:hover{
    color: #AE2956;
  }
  
  .pfeil{
    position: absolute;
    bottom: 15vh;
    right: 6vw;
    width: 50px;
    z-index: 10;
  }
  
  /*Praxis-box*/
  
  .mainflex{
      display: flex;
      justify-content: center;
      flex-direction: row;
    }
    
    .flex-container_1{
      width: 400px;
      height: 400px;
      margin-top: 10rem;
      display: none;
    }
    
    .flex-container_2{
     width: 1000px;
     height: auto;
     margin-top: 10rem;
     display: flex;
     flex-direction: column;
    
    }
    
    .flex-item-praxis_1{
      width: 100%;
      height: 30%;
      background-color: #ffffff;
    }
    
    .flex-item-praxis_2{
      width: 100%;
      height: 100%;
      background-color: #154D7F;
    }
    
    
    .praxis-img{
      display: inline-block;
      width: 100%;
    }
    
    .praxis-headline{
      margin-left: 10vw;
    }
    
    .praxis-content{
      padding-bottom: 15rem;
    }
  
  .kontakt-content{
    width: 100vw;
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .formular-text{
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
  }
  
  
  
  .flex-container-message{
    
  
  }

  .flex-container-adresse{
    padding-bottom: 3rem;
  
  }

  li.formular-text{
      padding:0;
      margin: 0;
  }

  .formular-text{
      padding:0;
      margin: 0;
  }
  
  
  input, textarea{
    width: 100%;
  }
  

  .imprint{
    padding:10vw;
    margin-top: 5rem;
  }


p{
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.5rem;
  line-height: 2.3rem;
}

.wilkom{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    line-height: 2.3rem;
    color: #154D7F;

  }

.wilkom:hover{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    line-height: 2.3rem;
    color: #AE2956;

  }

.page_up{
    height: 100vh;
    width: 100vw;
    display: block;
    position: relative;
}

.desktop{
  display: none;
}

.bgimg-1 .bgimg-2 .bgimg-3 .bgimg-4 {
  display: none;
}
.caption{
  display: none;
}


.grid-text{
  cursor: default;
  color: #fff;
}

.mob{
  display: block;
}

.desk{
  display: none;
}
.kanzlei-grid{
  display: grid;
  max-width: 100vw;
  margin: 2rem;
  padding: 0;
  grid-template-columns: repeat(1fr);
  grid-gap: 2rem;
  grid-auto-columns: 100%;
}

.kanzlei-grid img{
  grid-column: 1;
  max-height: auto;
  max-width: 90vw;
  align-self: flex-end;
}
.kanzlei-grid div{
  grid-column: 1fr;
  margin-bottom: 2rem;
}

.kanzlei-grid div p{
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

}


@media(min-width: 900px) and (max-width: 1500px){
.kanzlei-grid{
  display: grid;
  max-width: 100vw;
  margin: 2rem;
  padding: 0;
  grid-template-columns: repeat(1fr);
  grid-gap: 2rem;
  grid-auto-columns: 100%;
}

.kanzlei-grid img{
  grid-column: 1;
  max-height: auto;
  max-width: 40vw;
  align-self: flex-end;
}
.kanzlei-grid div{
  grid-column: 1fr;
}

.kanzlei-grid div p{
  margin-top: 1rem;
}



}