
@font-face {
    font-family: 'mont';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Kaushan Script';
    src: url('../fonts/KaushanScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 ::-webkit-scrollbar {
    width: 8px;
}
.navigation {
    text-shadow: 0px 0px 10px #000000;
    background-color: transparent;
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
  }
  
  body.scrolling .navigation {
    background-color: #333333cc;
  }

/* Track */

 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: #5e8a29 ;
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: #5e8a29 ;
}


/*****NAVBAR CONTENT**/

.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 200;
}

.brand {
    position: absolute;
    padding-left: 20px;
    float: left;
    line-height: 70px;
    text-transform: uppercase;
}

.brand a,
.brand a:visited {
    color: #fff;
    text-decoration: none;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

nav {
    float: right;
    font-family: mont;
    font-size: 16px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    position: relative;
}

nav ul li a,
nav ul li a:visited {
    display: block;
    padding: 0 20px;
    line-height: 70px;
    color: #ffffff;
    text-decoration: none;
}

.activeh:hover {
    text-decoration: none;
    border-bottom: 3px solid #5e8a29 ;
}

nav ul li a:hover,
nav ul li a:visited:hover {

    text-decoration: none;
    border-radius: 0px;
    border-bottom: 3px solid #5e8a29 ;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
    padding-left: 4px;
    content: ' ▾';
}

nav ul li ul li {
    min-width: 190px;
}

nav ul li ul li a {
    padding: 15px;
    line-height: 20px;
}

.nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}


/*****END --- NAVBAR CONTENT**/


/* Mobile navigation */

.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: #26262600;
    height: 70px;
    width: 70px;
}

@media only screen and (max-width: 798px) {
    .nav-mobile {
        display: block;
    }
    nav {
        width: 100%;
        padding: 70px 0 15px;
    }
    nav ul {
        display: none;
    }
    nav ul li {
        float: none;
    }
    nav ul li .activeh {
        background-color: #333333;
        padding: 15px;
        line-height: 20px;
    }
    nav ul li ul li a {
        padding-left: 30px;
    }
    .nav-dropdown {
        position: static;
    }
}

@media screen and (min-width: 799px) {
    .nav-list {
        display: block !important;
    }
}

#nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #fff;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle.active span {
    background-color: #ffffff;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}


/*****END --- MOBILE NAVBAR CONTENT**/





/**END --- MOVING LETTERS/NUMBERS**/

.start {
    display: flex;
    justify-content: left;
    
}
.start2{
    background-image: url(../media/img/shutterstock_1276376968.jpg);
    background-position: 0% 20%;
    background-size: cover;
    width: 100%;

    padding-bottom: 20vh;
    color: white;

}


.ebm_hello{
    margin-top: 15vh;
    text-align: center;
    font-weight: bold;
    font-size: 50px;
    text-shadow: 0px 10px 10px #202020;
    
}
.weiterbutton{
    font-family: mont;
    margin-top: 10vh;
    
    background-color: #5e8a29;
    text-decoration: none;
    color: white;
    padding: 10px 20px 10px 20px;
    text-transform: uppercase;
    border-radius: 50px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
@media (max-width: 768px) { /* Anpassen der maximalen Breite für mobile Ansichten */
  .weiterbutton {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
  .ebm_hello{
    text-shadow: 10px 10px 10px #202020;
     text-align: center;
    margin-left: 0;
    font-size: 30px;
  }
  .infodiv{
    width: 100%;
  }
.start2{
    background-repeat: no-repeat;
    background-size: 100;
    background-position: 100% 20%;
    margin-left: 0;
}
}
/***SECTION 1 END***/


/***SECTION 2 Start***/

  cf{
    font-family: Kaushan Script;
  }

  .textin{
    text-align: center;
    font-family: mont;
  }

.section_info{
    
    padding-bottom: 5vh;
}
.infodiv{
    padding: 5vh;
    width: 60%; margin: 0 auto;
}
@media (max-width: 768px) { /* Anpassen der maximalen Breite für mobile Ansichten */

    .infodiv{
      width: 100%;
    }
    .modal-content{
        width: 100%;
    }
  }
  .catchtext{
    
    padding-top: 5vh;
    font-family: mont;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    padding-bottom: 5vh;
  }
  .catchtext1{
    
    padding-top: 1vh;
    font-family: mont;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 0vh;
  }
  /***** Zertifikate *****/
  .zertifikate{
    background-color: #ffffffa4;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    padding-bottom: 5vh;
  }
/***** *****/
.terminsec{
    height: auto;
    padding: 10vh;
    
}
#footer {
    bottom: 0;
    padding: 0;
    margin: 0;
  }

/*****  *****/


.secleistungen{
    background-image: url(../media/img/shutterstock_1149190757.jpg);
    background-size: cover;
    height: auto;
    padding-top: 15vh;
    padding-bottom: 15vh;
}

/****ANIMATION****/




  .container_imprint{
    background-color: #5e8a2900;
    height: 600px;
    max-width: 800px;
    margin-top: 20vh;
  }


.container_imprint p{
    text-align: center;
    font-weight: 600;
}

.card1 {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.74);
    color: rgb(0, 0, 0);
    padding: 1rem;
    min-height: 18rem;
    border-radius: 15px;
  }
  .titlep{
    font-size: 20px;
  }

.cards {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
  }
  @media (min-width: 600px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }

  .clickhere{
    font-weight: 600;
    text-decoration: none;
    color: white;
    background-color: #5e8a29;
    padding: 10px 15px 10px 15px;
    border-radius: 50px;
    text-transform: uppercase;
  }
/***************/

.leistung_btn_termin{
    font-size: 20px;
    color: white;
    text-align: center;
    background-color: #5e8a29;
    padding: 10px 20px 10px 20px;
    border-radius: 50px;
    text-decoration: none;
}
.leistung_btn{
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: mont;
    color: white;
    text-align: center;
    background-color: #5e8a29;
    padding: 10px 20px 10px 20px;
    border-radius: 50px;
    text-decoration: none;
}





/***** COntact Form***/

.container_contact{
    background-image: url(../media/img/shutterstock_172914323.jpg);
background-repeat: no-repeat; background-size: cover;
    height: 150vh;
    padding-top: 15vh;
  }


  .formsec{
    padding: 5vh;
    margin: 0 auto;
    background-color: #ffffff;
    height: 1100px;
    width: auto;
    max-width: 800px;
  }


  .checkboxes{
    margin: 0 auto;
    background-color: #ffffff00;
    height: auto;
    width: 250px;
  }



  .swiper-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: -200px;
  }

  .swiper-slide {
    overflow: hidden;
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease;
  }