/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: auto;
}

@font-face {
  font-family: Montserrat;
  src: url('font/Montserrat-VariableFont_wght.ttf') format('truetype');
            font-weight: 100 900;
            font-style: normal;
}

h1 {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 8px;
    font-size: 35px;
}

h2 {
    font-family: 'Montserrat';
    letter-spacing: 2px;
    font-size: 18px;
}

h3 {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 50px;
}
@media (max-width: 1200px) {
    h3 {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 40px;
}
}
@media (max-width: 510px) {
    h3 {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 30px;
}
}

h4 {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 30px;
}

h5 {
    font-family: 'Montserrat';
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 25px;
    padding-top: 3px;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
background: rgba(255, 255, 255, 0.8); /* Weiß mit 80% Deckkraft */
    -webkit-backdrop-filter: blur(10px); /* WebKit-Präfix */
    backdrop-filter: blur(10px); /* Standard-Syntax */
    border-bottom: 1px solid #ECEFE7;
    /* Fallback */
    background: rgba(255, 255, 255, 0.8); /* Weniger durchsichtig als Fallback */
}

.header_content {
    width: 1200px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 510px) {
    .header_content {
            width: 100vw;
    }
    }
@media (max-width: 1200px) {
    .header_content {
            width: 100vw;
    }
    }

.logo {
    width: 900px;
    margin: 20px 10px 5px; /* Platzierung des Logos links */
    font-size: 25px;
}
@media (max-width: 510px) {
    .logo {
            width: 90vw;
    }
    }

.logo a, active, visited {
    color: #000;
    text-decoration: none;
}


nav {
    width: 200px;
    margin: 20px 10px 5px; /* Platzierung der Navigation rechts */
    font-size: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
@media (max-width: 510px) {
    nav {
            width: 100px;
    }
    }

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; 
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

nav ul li a:hover {
    text-decoration: none;
    color: #8C9C69;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

@media (max-width: 510px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 60px; /* Höhe des Nav-Bereichs anpassen */
        left: 0;
        padding: 0;
        margin: 0;
    }

    .burger {
        display: block;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
}




/* Container Header */

.container1 {
    position: relative;
    width: 100vw;
    height: 50vh;
    background: #000;
    background-image: url(img/img_o3.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 510px) {
    .container1 {
        background-size: 180%;
    }
    }

/* Content Breite */
.content1 { 
    width: 400px;
    margin: 0 auto;
    display: flex;
    position: relative;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;     /* Vertikal zentrieren */
}
@media (max-width: 510px) {
    .content1 {
            width: 60vw;
    }
    }
@media (max-width: 1200px) {
    .content1 {
            width: 400px;
    }
    }

.green-bg {
    position: absolute;
    background: #E0FF4F;
    color: #000;
    margin-bottom: 5px;
    padding: 2px 10px 2px;
    text-transform: uppercase;
    top: 12vh;
}
.green-text {
    background-color: #E0FF4F;
    padding: 5px 25px; 5px;
    line-height: 33px;
    color: #000;
    border-radius: 10px;
}


/* Container Leistungen */
.container2 {
    height: 100%;
    padding-top: 20px;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}
.content2-width {
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
}
@media (max-width: 510px) {
    .content2-width {
            min-width: 100vw;
    }
    }
@media (max-width: 1200px) {
    .content2-width {
            min-width: 100vw;
    }
    }

.content2 {
    padding-top: 50px;
    padding-left: 10px;
    padding-bottom: 20px;
    width: 800px;
}
@media (max-width: 510px) {
    .content2 {
            width: 100vw;
    }
    }
@media (max-width: 1200px) {
    .content2 {
            width: 100vw;
    }
    }

.content2_vorteil-width {
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    text-align: center;
    flex-wrap: wrap; /* Wichtig für die Möglichkeit des Umbruchs */
}
@media (max-width: 510px) {
    .content2_vorteil-width {
            max-width: 100vw;
            min-width: 100vw;
            flex-direction: column; /* Wechsel zur Spaltenrichtung */
    }
    }
@media (max-width: 1200px) {
    .content2_vorteil-width {
            max-width: 100vw;
            min-width: 100vw;
    }
    }

.content2_vorteil1 {
    width: 300px;
    height: 260px;
    background: #F5F5F5;  
    color: #000;
    border-radius: 10px;
    margin: 3% 3% 0;
    padding: 20px;
    align-content: ;     /* Vertikal zentrieren */
    box-shadow: 5px 5px 30px rgba(82, 82, 82, 0.1);
    transition: box-shadow 0.5s ease; 
}
@media (max-width: 510px) {
    .content2_vorteil1 {
            width: 90vw;
            height: auto;
    }
    }

.content2_vorteil1:hover { 
    box-shadow: 5px 5px 50px rgba(82, 82, 82, 0.2)
}

/* Container Akkordeon */
.container3 {
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 150px;

}

.content3-width {
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
}
@media (max-width: 510px) {
    .content3-width {
            max-width: 100vw;
            min-width: 100vw;
    }
    }
@media (max-width: 1200px) {
    .content3-width {
            max-width: 100vw;
            min-width: 100vw;
    }
    }

.content3_headline {
    padding-left: 10px;
    width: 350px;
}

.content3_akkordeon {
    padding-left: 10px;
    width: 500px; 
}
.content3_akkordeon a {
    color: beige;
}
/* Akkordeon */
        .accordion {
            background-color: #fff;
            color: #000;
            cursor: pointer;
            padding: 8px;
            width: 100%;
            border: none;
            text-align: left;
            outline: none;
            font-size: 15px;
            transition: background-color 0.4s;
        }

        .active {
            background-color: #fff;
            color: #B7E000;
        }
        .accordion:hover {
            background-color: #fff;
            color: #B7E000;
        }

        .panel {
            padding: 0 50px;
            background-color: white;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out, padding 0.4s ease-out;
        }

        .panel-content {
            padding: 18px 0;
        }

/* Container Leistungen */
.container4 {
    padding-top: 150px;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

.content4-width {
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;    
}
@media (max-width: 510px) {
    .content4-width {
            max-width: 100vw;
            min-width: 100vw;  
    }
    }
@media (max-width: 1200px) {
    .content4-width {
            max-width: 100vw;
            min-width: 100vw;
    }
    }

.content4_about {
    width: 100%;
    height: 450px;
    background: #000;
    background-image: url(img/about.JPG);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    
}

.content4 {
    padding-left: 10px;
    max-width: 700px;
}
@media (max-width: 510px) {
    .content4 {
        max-width: 85vw;  
    }
    }

/* Container Mail */
.container5 {
    display: flex;
    justify-content: center;
    padding: 180px 0 180px;
}

.content5-width {
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
}
@media (max-width: 510px) {
    .content5-width {
            max-width: 100vw;
            min-width: 100vw; 
    }
    }
@media (max-width: 1200px) {
    .content5-width {
            max-width: 100vw;
            min-width: 100vw;  
    }
    }

.content5-hl {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 40px;    
}
@media (max-width: 510px) {
    .content5-hl {
        font-size: 30px;   
    }
    }
@media (max-width: 1200px) {
    .content5-hl {
        font-size: 30px;   
    }
    }

.content5-mail {
    display: flex;
    padding-top: 10px;
    justify-content: center;
    text-align: center;
    font-size: 60px;
    color: #8C9C69;
}
.green-mail {
    background-color: #E0FF4F;
    padding: 3px 25px; 3px;
    color: #000;
    border-radius: 10px;
    transition: background-color 0.6s ease, box-shadow 0.6s ease;
}
.green-mail:hover {
    background-color: #D2FF0A;
    padding: 3px 25px; 3px;
    color: #000;
    border-radius: 10px;
    box-shadow: 5px 5px 90px rgba(82, 82, 82, 0.4);
}

#green-mail-link {
    text-decoration: none;
}

@media (max-width: 510px) {
    .content5-mail {
        font-size: 40px;
    }
    }
@media (max-width: 1200px) {
    .content5-mail {
        font-size: 7vw;
    }
    }

/* Container Footer */
.footer {
    bottom: 0;
    background: #000;
    color: #fff;
    min-height: 250px; 
}
.footer a, visited {
    color: #fff;
    text-decoration: none;
}

.footer_content {
    padding-top: 50px;
    padding-left: 20px;
    padding-bottom: 20px;
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
    color: #fff;  
}
@media (max-width: 510px) {
    .footer_content {
            max-width: 100vw;
            min-width: 100vw;
    }
    }
@media (max-width: 1200px) {
    .footer_content {
            max-width: 100vw;
            min-width: 100vw;
    }
    }
.footer_text {
    width: 600px;
}
@media (max-width: 510px) {
    .footer_text {
        width: 90vw;
    }
    }


.text {
    background-position: center;
    background-repeat: no-repeat;
}

.text a {
    color: #000;
}

.text-width {
    max-width: 1200px;
    min-width: 800px;
    padding-top: 50px;
    padding-left: 20px;
    margin: 0 auto;    
    min-height: 80vh;
}
@media (max-width: 510px) {
    .text-width {
            max-width: 100vw;
            min-width: 100vw;  
    }
    }
@media (max-width: 1200px) {
    .text-width {
            max-width: 100vw;
            min-width: 100vw;
    }
    }

/* Animationen */
.fade-in-right {
  animation: fadeInRight 1.5s ease forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  animation: fadeInLeft 1.5s ease forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(+100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1.5s ease forwards;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-down {
  animation: fadeInDown 1.5s ease forwards;
}
.fade-in-down2 {
  animation: fadeInDown 2s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



