* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    min-height: 100vh;
}

#Header {
      position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
      height: 80px;
    flex-shrink: 0;
         display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

#ContainerLogo {
    margin-right: 60px;

}

#ContainerLogo img {
      height: 70px; /* Höhe des Logos */
    width: auto;  /* Seitenverhältnis behalten */
    display: block; /* verhindert kleine Abstände unter dem Bild */
}

/* Standard: Hamburger versteckt */
#hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #006400;
}

/* Mobile Styles */
@media (max-width: 768px) {
  #NavList {
    display: none;          /* Menü zunächst verstecken */
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    background-color: white;
    position: absolute;
    top: 80px;              /* direkt unter Header */
    right: 0;
    width: 200px;
    padding: 20px;
    border-left: 1px solid #ccc;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
  }

  #hamburger {
    display: block;        /* Hamburger sichtbar auf Mobile */
  }

  /* Menü aktiv */
  #NavList.active {
    display: flex;
  }

  #Header {
    padding: 0 20px;
    position: relative;
  }
}




#NavList {
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.322);
    text-underline-offset: 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    list-style-type: none;
    display: flex;
    font-size: 20px;

}
.NavListClass {
    margin-left: 50px;
}

#NavList a {
      text-decoration: none;
    color: rgb(30, 102, 36);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em; /* etwas Abstand zwischen Buchstaben */
    transition: color 0.3s ease;
    position: relative;
}

#NavList a:hover {
    color: #28a745; /* sanftes Grün beim Hover */
}

#NavList a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #28a745;
    transition: width 0.3s ease;
}

#NavList a:hover::after {
    width: 100%;
}

#StartseiteSection {
      min-height: 80vh;
    display: flex;
    flex-direction: column;
}

#StartBildContainer {
    position: relative;
    flex: 1;
    background-image: url("/Assets/Dorf.jpg");
    background-size: cover;
    background-position: top;


        display: flex;
    align-items: center;
    justify-content: center;
    background-blend-mode: darken;
}

#StartBildContainer svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Höhe der Kurve */
}



/* Animation */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

section:not(#StartseiteSection) {
    padding: 120px 30px;
}


        h2 {
            text-align: center;
            color: #006400;
            margin-bottom: 50px;
        }

        /* Über uns größer */
        .about-container {
    display: flex;
    align-items: center;       /* vertikal zentrieren */
    justify-content: space-between;
    max-width: 1200px;         /* optional, um die Breite zu begrenzen */
    margin: 0 auto;
    gap: 40px;                 /* Abstand zwischen Text & Bild */
    flex-wrap: wrap;            /* wichtig für kleine Bildschirme */
}




.about-text {
    flex: 1;                    /* Text nimmt verfügbaren Platz ein */
}

.about-text h2 {
    text-align: center;           /* Überschrift links */
    color: #006400;
    margin-bottom: 20px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about-text p {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.8;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about-image {
    flex: 1;                    /* Bild nimmt Platz ein */
    text-align: right;           /* Bild rechts ausrichten */
}

.about-image img {
    width: 100%;                 /* Bild skaliert innerhalb des Containers */
    max-width: 500px;            /* maximale Breite */
    border-radius: 10px;         /* optional: abgerundete Ecken */
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;  /* Text über Bild */
        text-align: center;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }
}

        /* Services / Gallery */
        .services, .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .card {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            object-position: 10% 40%; /* 10% von links, 0% von oben */
        }

        .card-content {
            padding: 20px;
        }

        .card:hover {
            transform: translateY(-10px);
        }

        /* Footer */
        footer {
            background-color: #111;
            color: white;
            text-align: center;
            padding: 50px 30px;
        }

        section {
            scroll-margin-top: 80px;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', sans-serif;;
        }

        #StartseiteSection,
#services,
#products {
    background-color: #f5f5f5;
}

#about,
#values,
#contact {
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    margin-bottom: 10px;
    color: #006400;
}

.product-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-btn {
    display: inline-block;
    padding: 10px 22px;
    background-color: #28a745;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background-color: #1f7f34;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #28a745;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-badge.premium {
    background-color: #006400;
}


.more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.product-card.active .more-text {
    max-height: 200px; /* ggf. an Text anpassen */
}

.toggle-btn {
    margin-top: 15px;
    padding: 10px 22px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
}

.toggle-btn:hover {
    background-color: #1f7f34;
}




.values-wrapper {
  position: relative;
    max-width: 1200px;
    margin: 0 auto;
}


.values-wrapper h2 {
    text-align: center;
    margin-bottom: 70px;
    color: #006400;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
}

.value-card {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 18px;
    position: relative;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.value-card h3 {
    margin-bottom: 20px;
    color: #006400;
    font-size: 1.3rem;
}


.value-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}


/* Akzentlinie immer sichtbar */
.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: #28a745; /* Grüner Streifen */
    border-radius: 18px 0 0 18px;
}




/* Grid */

#contact {
    position: relative;
    background-color: white; /* bleibt weiß */
    padding-bottom: 200px; /* Platz für das Bild unten */
    overflow: hidden; /* damit das Bild nicht überlappt */
}

/* Subtiles Hintergrundbild nur unten */
#contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; /* nimmt die untere Hälfte der Section ein */
    background: url('/Assets/Test2.jpg') no-repeat center bottom;
    background-size: cover;
    filter: grayscale(100%); /* Bild wird grau */
    opacity: 0.2; /* subtil */
    z-index: 0;
    pointer-events: none; /* Bild beeinflusst keine Klicks */

        /* weicher Übergang nach oben */
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

#contact > * {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

/* Kontaktkarte */
.contact-card {
    background: white;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: #006400;
    margin-bottom: 35px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Formular */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #006400;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form button {
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 30px;
    background-color: #28a745;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #1f7f34;
}

/* Map */
.map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


.contact-card,
.contact-form,
.map-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 50px 30px 20px; /* unten etwas weniger Platz */
    font-size: 0.9rem;
    line-height: 1.6;
}

footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px; /* Abstand zwischen den Buttons */
}

.footer-links a {
    color: #28a745;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.footer-links a:hover {
    background-color: #28a745;
    color: white;
}


.slant-right {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 95%);
}

/* Geneigt von links nach unten */
.slant-left {
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

section h2 {
    position: relative;
    text-align: center;
    color: #006400;          /* Dunkelgrün passend zu eurer Farbpalette */
    font-size: 2.2rem;       /* Größer und präsent */
    margin-bottom: 70px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', sans-serif;
    text-transform: uppercase; /* Optional, wirkt etwas edler */
    letter-spacing: 1px;      /* Luft zwischen Buchstaben für Eleganz */
}

/* Dezente Linie unter der Überschrift */
section h2::after {
    content: '';
    display: block;
    width: 80px;            /* Länge der Linie */
    height: 4px;            /* Dicke der Linie */
    background-color: #28a745; /* Grüner Akzent */
    margin: 15px auto 0;    /* Zentriert unter der Überschrift */
    border-radius: 2px;     /* Abgerundete Kanten für Eleganz */
}

/* Optional: leichtes Schatten/Glow für Tiefe */
section h2 span {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: white;      /* Weiß oder Hintergrundfarbe */
    padding: 0 10px;        /* Abstand um Text herum */
}



