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

header {
    background-color: #00645b; /* Dunkles Blau */
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta-button {
    display: inline-block;
    background-color: #00a896; /* Akzentfarbe Cyan-Blau */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

section {
    padding: 40px 20px;
    text-align: center;
}

#leistungen .leistung-box {
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    width: 250px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}
/* Stilregeln für die FAQ-Sektion */
#faq {
    background-color: #e9e9e9; /* Heller Grauton */
}

.faq-item {
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left; /* Text linksbündig ausrichten */
}

.faq-item h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #004481; /* Ihre Hauptfarbe */
}
.faq-antwort {
    display: none; /* Versteckt die Antworten */
    padding-top: 10px;
}

.faq-frage {
    cursor: pointer; /* Zeigt den Mauszeiger als Hand an, um Klickbarkeit zu signalisieren */
    font-weight: bold;
    color: #004481;
}
.faq-antwort {
    display: none; /* Versteckt die Antworten */
    padding-top: 10px;
}

.faq-frage {
    cursor: pointer; /* Zeigt den Mauszeiger als Hand an, um Klickbarkeit zu signalisieren */
    font-weight: bold;
    color: #004481;
}
.faq-container {
    display: none;
}

.faq-hauptschalter {
    cursor: pointer;
    font-size: 2em;
    color: #004481;
    text-align: center;
}

.faq-frage {
    cursor: pointer;
    font-weight: bold;
    color: #004481;
}

.faq-antwort {
    display: none;
    padding-top: 10px;
}
/* Stilregeln für die Navigation */
nav {
    background-color: #333; /* Ein dunkler Hintergrund für das Menü */
    text-align: center;
    padding: 10px 0;
}

nav a {
    color: white; /* Weiße Schriftfarbe für die Links */
    text-decoration: none; /* Entfernt die Unterstreichung der Links */
    padding: 14px 20px; /* Fügt Abstand um jeden Link hinzu */
    display: inline-block; /* Sorgt dafür, dass Links nebeneinander stehen */
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease; /* Weicher Übergang beim Hover */
}

nav a:hover {
    background-color: #00a896; /* Akzentfarbe beim Überfahren mit der Maus */
}
/* Link-Anpassungen für die Fußzeile */
footer a {
    color: #ffffff;             /* Textfarbe: weiß */
    text-decoration: none;      /* Unterstrich entfernen */
    font-size: 14px;            /* Schriftgröße anpassen */
    font-weight: normal;        /* Schriftstärke normal */
    margin: 0 10px;             /* Abstand zwischen den Links */
    transition: color 0.3s ease; /* Weicher Übergang beim Hover */
}

/* Hover-Effekt: Wenn der Mauszeiger über den Link fährt */
footer a:hover {
    color: #ffd700;             /* Beispiel: Textfarbe ändert sich zu Gold */
    text-decoration: underline; /* Beispiel: Unterstrich wieder hinzufügen */
}/* Globale Formatierung für den Rechtstext-Bereich */
#rechtliches {
    max-width: 960px;        /* Maximale Breite für bessere Lesbarkeit auf großen Bildschirmen */
    margin: 0 auto;          /* Zentriert den gesamten Block */
    padding: 20px;           /* Schafft einen Innenabstand um den Text herum */
    text-align: left;        /* Richtet den gesamten Text linksbündig aus */
}
/* Slideshow-Container */
.slideshow-container {
    max-width: 600px;
    position: relative;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Bild innerhalb der Slideshow */
.mySlides {
    display: none;
}

.mySlides .slide-image {
    width: 100%;
    height: 800px;
    object-fit: cover;
    vertical-align: middle;
}

/* Pfeile für die Navigation */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

/* Positioniere den linken Pfeil an der linken Seite */
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* Positioniere den rechten Pfeil an der rechten Seite */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Beim Überfahren ändern sich Farbe */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Nummerierung der Bilder */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Fading-Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
.bild-container {
    /* Aktiviert das Flexbox-Layout für den Container */
    display: flex;

    /* Zentriert das Kind-Element (das Bild) horizontal */
    justify-content: center;

    /* Zentriert das Kind-Element (das Bild) vertikal, falls der Container eine Höhe hat */
    align-items: center;

    /* Optional: gibt dem Container eine Höhe, um die vertikale Zentrierung sichtbar zu machen */
    height: 100vh;
}

.haftungsausschluss-akkordeon {
    max-width: 800px;
    margin: auto;
}

.akkordeon-titel {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: background-color 0.4s ease;
    border-radius: 5px;
}

.akkordeon-titel:hover {
    background-color: #ccc;
}

.akkordeon-inhalt {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#faq-section,
.haftungsausschluss-akkordeon {
    margin-top: 0;
    margin-bottom: 0;
}

/* Entfernt den Abstand zwischen den Sektionen */
#faq-section {
    margin-bottom: 0;
}

/* Entfernt den Abstand um den FAQ-Titel */
#faq-section h2 {
    margin-bottom: 0;
}

/* Passt den oberen Rand des Akkordeons an, um die Lücke zu schließen */
.haftungsausschluss-akkordeon {
    margin-top: 0;
}