body {
    background-color: #cfc5c33d;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  max-width: 900000000px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

div#logo {
    top: 0;
    position: absolute;
    z-index: 99999;
    padding: 10px 0px 0px 20px;
}


div#logo img {
  width: 60%;
  height: 50%;
}




.menu-3{
    background: #f5f5f5;
    padding: 1%;
    height: 100px;
    z-index: 99999;
    position: relative;
    box-shadow: -1px 7px 15px black;
}


  .menu-3 ul{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    padding-top: 1%;
  }
  .menu-3 li{
    display: inline-block;
    margin: 0 15px;
  }
  .menu-3 a{
    font-size: 12pt;
    text-transform: uppercase;
    text-decoration: none;
    color: #003399;
    display: block;
    position: relative;
    padding: 4px 0;
    font-weight: bold;
  }
  .menu-3 a::before{
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    transition: 0.5s transform ease;
    transform: scale3d(0,1,1);
    transform-origin: 0 50%;
  }
  .menu-3 a:hover::before{
    transform: scale3d(1,1,1);
  }
  
  .menu-3 a::before{
    transform-origin: 50% 50%;
    background: #900000;
  }
  
/*--------------------------------------------------------------------------------------------------home*/

.container {
    position: relative;
    text-align: center;
    color: white;
  }

  .container img {
    width: 100%;
    filter: brightness(0.3);
    margin-top: -10%;
  }
  
  .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: #f5f5f5;
    width: 100%;
    line-height: 1.6;
  }

.slidertext {
    display: flex;
    flex-flow: row;
    gap: 3%;
    font-size: 13pt;
    margin: 5%;
    line-height: 1.3;
    color: #3f3f46;
}

.sliderhead h1 {
 color: #003399;
}

.w3-content  img {
width: 600px;
}

.vid {
    display: flex;
    justify-content: center;
}


.vid video {
    height: 100%;
    width: 90%;
    filter: brightness(0.9);
}

hr {
    border: solid 2px #003399;
    margin-bottom: 2%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 2%;
}

.werte {
    display: flex;
    flex-flow: row;
    gap: 3%;
    margin: 5%;
}

.werte img {
    width: 50%;
}

.werte p {
    font-size: 13pt;
    line-height: 1.3;
    color: #3f3f46;
}


.container2 {
    position: relative;
    text-align: center;
    color: white;
  }

  .container2 img {
    width: 100%;
    filter: brightness(0.3);
  }
  
  .centered2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: #f5f5f5;
    width: 60%;
    line-height: 1.6;
  }

  .centered2 p {
    font-size: 13pt;
    font-weight: normal;
    text-align: center;
    margin-top: 2%;
  }

.rez {
    display: flex;
    justify-content: center;
    font-size: 25pt;
    padding: 2%;
    margin-top: 3%;
    font-weight: bold;
    color: #003399;
  }
  blockquote {
    border-left: 4px solid #003399;
    display: flex;
    gap: 8%;
    padding: 0% 3%;
    justify-content: center;
}

    .testimonials {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px;
        margin-bottom: 3%;
    }
    .testimonial {
        background: #f9f9f9;
        border: 2px solid #900000;
        border-radius: 5px;
        padding: 20px;
        margin: 10px;
        width: 80%;
        max-width: 400px;
        text-align: center;
        color: #3f3f46;
    }
    @media (min-width: 600px) {
        .testimonials {
            flex-direction: row;
            justify-content: space-around;
        }
    }




/*--------------------------------------------------------------------------------------------------preise*/
    
table, td, th {  
  border: 1px solid #3f3f46;
  text-align: left;
  
}

table {
  border-collapse: collapse;
  width: 80%;
  margin: 5%;
  background-color: #74899e45;
  color: #3f3f46;
}

th, td {
  padding: 15px;
}

.table {
  display: flex;
  justify-content: center;
}


/*--------------------------------------------------------------------------------------------------Kontakt*/

.kon {
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #900000;
  color: #9e9e9e;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.kon *,
.kon *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.kon figcaption {
  padding: 5% 10% 14%;
}

.konico img {
  width: 43px;
  padding-top: 5%;
}


.kon figcaption img {
  width: 14%;
}


.kon h3 {
  color: #3c3c3c;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0;
}

.kon p {
  font-size: 15px;
  font-weight: 300;
  margin: 0 0 20px;
}


.konflex {
  display: flex;
    justify-content: center;
    padding: 5%;
    flex-flow: row;
}


iframe {
  width: 95%;
  margin-bottom: 3%;
  border: solid 2px #003399!important;
}

.maps {
  display: flex;
  justify-content: center;
}

/*--------------------------------------------------------------------------------------------------dat&imp*/



.recht {
  margin: 3%;
  background-color: #74899e45;
  color: #3f3f46;
  padding: 2%;
}


/*--------------------------------------------------------------------------------------------------footer*/

    .footer {
        display: flex;
        align-items: center;
        background-color: #900000;
        color: whitesmoke;
        padding: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1%;
      }
      
      
      .footer div {
        flex: 1;
        text-align: center;
        padding: 10px;
        font-size: 12pt;
        line-height: 2;
      }
      
      
      .footer img {
        width: 20%;
      }
      
      
      .footer a {
        text-decoration: none;
        color: whitesmoke;
      }
      
      
      @media (max-width: 600px) {
        .footer {
          flex-direction: row;
          gap: 10px;
        }
      }




/*--------------------------------------------------------------------------------------------------responsive home*/

      @media only screen and (max-width: 980px) {
        div#logo img {
          width: 50px;
          height: 50%;
      }

      div#logo {
        padding: 5px 0px 0px 5px;
    }

    .menu-3 li {
      margin: 0 9px;
  }

  .menu-3 {
    height: 56px;

      }

      .menu-3 ul {
        padding-top: 2%;
      }

      .centered {
        font-size: 1.4rem;
      }

      .sliderhead h1 {
        font-size: 14pt;
    }
    .slidertext {
      flex-flow: column;
      gap: 10px;
      font-size: 10pt;
    }

    .w3-content img {
      width: 100%;
  }

  .werte {
    flex-flow: column;
    gap: 10px;
  }

  .werte img {
    width: 100%;
}

.werte p {
  font-size: 10pt;
}

.container2 img {
  height: 250px;
}


.centered2 {
  top: 48%;
  left: 50%;
  font-size: 9pt;
  width: 100%;
}

.centered2 p {
  font-size: 8pt;
  margin-top: 0%;
  padding: 2%;
}

.rez {
  font-size: 15pt;
}

blockquote {
  font-size: 10pt;
}
    }



 /*--------------------------------------------------------------------------------------------------responsive preise*/

 @media only screen and (max-width: 980px) {   
    table {
      border-collapse: collapse;
      width: 100%;
    }
  }

 /*--------------------------------------------------------------------------------------------------responsive kontakt*/

 @media only screen and (max-width: 980px) {

  .konflex {
    flex-flow: column;
    align-items: center;
}

 }



  /*--------------------------------------------------------------------------------------------------responsive dat&imp*/

  @media only screen and (max-width: 980px) {
 .recht {
 margin-bottom: 48%;
 }
}