body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #35424a;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0px auto; /* Abstand unten z.B. auf 8px verringern */
}

nav {
    margin-top: 0;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* zentriert die Buttons */
    gap: 30px; /* Abstand zwischen den Buttons */
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #fff; /* Schrift weiß */
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
    background: #222; /* Optional: dunkler Hintergrund für bessere Lesbarkeit */
}

nav ul li a:hover {
    background: #444; /* Optional: dunkleres Grau beim Hover */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

footer {
    background: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

h1, h2, h3 {
    color: #35424a;
}

.service {
    background: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main h2, main p {
    text-align: center;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Hier die gewünschte Breite einstellen */
    height: 300px;     /* Höhe ggf. anpassen */
    margin: 0 auto 20px auto;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.content-container {
    max-width: 700px; /* Passe die Breite nach Wunsch an */
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

main, main section, main p, main h2 {
    text-align: center;
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    header {
        padding: 5px 0;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .slideshow-container {
        height: 150px;
    }
}