/* General Styles 
* #2aa121; Dunkelgrün
* #80e377; Hellgrün
* #5A2A6D; dunkellila
* #FF6F61 (Korallrot) / für Aufmerksamkeit
*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styles */
header {
    background-color: #80e377; 
    padding: 10px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    flex: 1;
    padding-left: 20px;
}

.logo img {
    max-height: 140px; 
    cursor: pointer;
}

/* Center the menu */
.menu {
    flex: 2;
    display: flex;
    justify-content: center;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu ul li {
    margin-left: 20px;
}

.menu ul li button {
    background-color: transparent;
    border: none;
    color: #5A2A6D;
    font-size: 16px;
    cursor: pointer;
}

.menu ul li button:hover {
    color: #fff; 
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color:  #80e377; 
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
    }

    .menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        font-size: 24px;
        background: none;
        border: none;
        color: #5A2A6D;
    }

    #menu-status.active + .menu {
        display: flex;
    }
}

/* Main Content Styles */
main {
    padding: 20px;
    padding-bottom: 80px; /* Ensure there's space between content and footer */
}

.divmain {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px #80e377; /* Hellgrün shadow */
}

/* Footer Styles */
footer {
    background-color: #80e377; /* darkpurple */
    color: #5A2A6D;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

footer nav ul li {
    margin: 0 10px;
}

footer nav ul li button {
    background-color: transparent;
    border: none;
    color: #5A2A6D;
    cursor: pointer;
}

footer nav ul li button:hover {
    color: #FFF; 
}

/* Cookie Banner */
.cookie-banner {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    z-index: 1000;
}

.cookie-banner button {
    background-color: #5A2A6D; /* korall rot */
    border: none;
    color: #FFF;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background-color: #2aa121; /* Dunkelgrün */
}
.contact-container {
    padding: 20px;
    background-color: #fff;
}

.contact-info, .opening-hours {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-info li, .opening-hours li {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info a {
    color: #2aa121; /* darkpurple */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    display: block;
    width: 260px;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
}

.submit-button {
    margin-top: 20px;
    padding: 10px;
    background-color: #5A2A6D; 
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #2aa121; /* Dunkelgrün */
}
/* Services Section */
.services {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-item {
    flex: 1 1 30%;
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.service-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.service-item h3 {
    color: #2aa121;
}

.service-item p {
    color: #333;
}

/* Contact Us Section */
.contact-us {
    text-align: center;
    padding: 40px 20px;
    background-color: #2aa121;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.contact-button {
    background-color: #2173a2; 
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #80e377;
}

/* Philosophy Section */
.philosophy {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Mobile Optimization */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
    }
}
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #5A2A6D;
    font-size: 24px;
    cursor: pointer;
    z-index: 1100; /* Ensure button is above other elements */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 140px;
        right: 0;
        background-color:  #80e377;
        width: 100%;
        z-index: 1000; /* Ensure menu is above other elements */
    }

    .menu ul {
        flex-direction: column;
        align-items: center;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: flex;
    }
}
.dienstleistungen {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Liste spezifisch für diesen Abschnitt */
.dienstleistungen ul {
    list-style-type: none;
    padding: 0;
}

.dienstleistungen ul li::before {
    content: '✔';
    color: #2aa121;
    font-weight: bold;
    margin-right: 10px;
}

/* Layout der Service-Sektionen */
.service-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.service-section:nth-child(even) {
    flex-direction: row-reverse;
}

.service-section img {
    max-width: 45%;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.service-section:hover img {
    opacity: 0.9;
}

.service-content {
    flex: 1;
    padding-left: 40px;
    padding-right: 40px;
}

.service-content ul li {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* CTA - Call-to-Action Stile */
.cta {
    display: inline-block;
    background-color: #2173a2;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #2aa121;
}
/* Mobile specific styles */
@media only screen and (max-width: 768px) {
    /* Dienstleistungen Section */
    .dienstleistungen {
        padding: 20px 10px;
    }
    /* Service Section Styling */
    .service-section {
        flex-direction: column;
        margin: 20px 0;
        padding: 15px;
    }

    .service-section:nth-child(even) {
        flex-direction: column;
    }

    .service-section img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .service-content {
        padding: 0;
    }

    .service-content ul li {
        font-size: 1rem;
        margin: 8px 0;
    }

    /* CTA Button */
    .cta {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 87%;
        text-align: center;
        margin: 10px 0;
    }

    .cta:hover {
        background-color: #2aa121;
    }
}