<style >
body {
    font-family: Arial, sans-serif;
    padding-top: 0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #ffbc56;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    
    background: #ffbc56;
    padding: 0px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    header img {
        height: 30px;
        margin-right: 20px;
    }

    header h1 {
        font-size: 1.8em;
        margin: 0;
        color: #4a7c59;
    }

nav {
  
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    background-color: #861028;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
body {
    padding-top: 0px;
    margin: 0;
    font-family: Arial, sans-serif;
}

nav .menu {
    display: flex;
    justify-content: center; /* ➤ zentriert horizontal */
    align-items: center;
    gap: 20px; /* Abstand zwischen Links */
    flex-wrap: wrap;
}

    nav .menu a {
        text-decoration: none;
        color: antiquewhite;
        font-weight: bold;
    }

    nav .menu img {
        height: 40px;
        margin-right: 20px;
    }


@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        display: none;
        width: 100%;
    }

        .menu.active {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    main {
        flex-direction: column;
    }

    aside {
        order: -1;
        margin-left: 0;
        margin-top: 20px;
    }
}

main {
    display: flex;
    flex: 1;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

section {
    flex: 3;
    padding: 0 20px;
}

aside {
    flex: 1;
    background: #f1f1f1;
    padding: 20px;
    margin-left: 20px;
    border-radius: 8px;
}

h2 {
    color: #4a7c59;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
}

    .service-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .service-item p {
        padding: 10px;
        font-weight: bold;
    }


footer {
    background: #861028;
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 0.9em;
}

</style >


/* Verbesserte Formulare */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input,
form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

form button {
    background-color: #861028;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #3d684b;
}

/* Hover-Effekt für Navigation */
nav a:hover {
    text-decoration: underline;
}

/* Bessere Darstellung für mobile Galerie */
@media (max-width: 600px) {
    .gallery img {
        height: auto;
    }
}

/* Barrierefreiheit: Fokus-Stil */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}


/* Footer-Menü gestylt */
.footer-menu {
    margin-top: 10px;
    font-size: 0.9em;
}

.footer-menu a {
    color: #4a7c59;
    text-decoration: none;
    margin: 0 10px;
}

.footer-menu a:hover {
    text-decoration: underline;
}


/* Fade-In-Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: fadeInUp 0.8s ease both;
}
.services-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .service-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto 10px;
    }

    .service-item p {
        font-weight: bold;
        margin: 0;
    }

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.swiper {
    width: 100%;
    height: 350px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

</style >
/* Verzögere Animation je nach Position */
.services-grid .service-item:nth-child(1) {
    animation-delay: 0s;
}
.services-grid .service-item:nth-child(2) { animation-delay: 0.1s; }
.services-grid .service-item:nth-child(3) { animation-delay: 0.2s; }
.services-grid .service-item:nth-child(4) { animation-delay: 0.3s; }
.services-grid .service-item:nth-child(5) { animation-delay: 0.4s; }
.services-grid .service-item:nth-child(6) { animation-delay: 0.5s; }


.top-bar {
    background-color: #ffbc56;
    color: white;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
}
.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}
.top-bar a:hover {
    text-decoration: underline;
}
