/* Allgemeine Stile */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Banner */
.banner {
    position: fixed; /* Banner bleibt immer oben sichtbar */
    top: 0;
    left: 0;
    width: 100%; /* Banner nimmt die gesamte Breite ein */
    padding: 20px;
    background: rgba(63, 79, 93, 0.8); /* Halbtransparenter Hintergrund */
    color: #f3f2f0; /* Helle Schriftfarbe */
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Platz zwischen Logo und Navigation */
    z-index: 10; /* Banner bleibt über der Slideshow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    transition: transform 0.25s ease;
    will-change: transform;
}

.banner.banner--hidden {
    transform: translateY(-100%);
}

.logo {
    height: 70px; /* Logo-Größe */
    margin-right: 20px; /* Abstand zum Rest des Inhalts */
}

/* Navigation */
.nav-links {
    list-style: none;
    display: none;
    justify-content: flex-end;
    margin: 10px; /* Abstand um die Navigation */
    padding: 0;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 260px;
    background: rgba(63, 79, 93, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(63,79,93,0.18);
    padding: 22px 0;
    z-index: 20;
    gap: 20px;
    align-items: flex-start;
    padding-left: 28px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #f3f2f0; /* Helle Schriftfarbe */
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6c8b85; /* Akzentfarbe beim Hover */
}

/* Hamburger Toggle (Uiverse.io by adamgiebl) */
#checkbox2 {
    display: none;
}

.toggle2 {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition-duration: 0.5s;
    z-index: 30;
    margin-right: 24px;
}

.bars {
    width: 100%;
    height: 6px;
    background-color: #f3f2f0;
    border-radius: 6px;
}

#bar5 {
    transition-duration: 0.8s;
}

#bar4,
#bar6 {
    width: 80%;
}

#checkbox2:checked + .toggle2 .bars {
    position: absolute;
    transition-duration: 0.5s;
}

#checkbox2:checked + .toggle2 #bar5 {
    transform: scaleX(0);
    transition-duration: 0.5s;
}

#checkbox2:checked + .toggle2 #bar4 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: 0.5s;
}

#checkbox2:checked + .toggle2 #bar6 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: 0.5s;
}

#checkbox2:checked + .toggle2 {
    transition-duration: 0.5s;
    transform: rotate(180deg);
}

.logo {
    height: 70px; /* Passen Sie die Höhe des Logos an */
    margin-right: 20px; /* Abstand zum Rest des Inhalts */
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-1 {
    background-image: url('hintergrund1.jpg');
    opacity: 1;
    z-index: 1;
}

.slideshow-2 {
    background-image: url('hintergrund2.jpg');
    opacity: 0;
    z-index: 2;
}

/* Hintergrund für die #home-Sektion */
#home {
    align-content: center;
    position: relative; /* Stellt sicher, dass die Slideshow nur innerhalb von #home wirkt */
    height: 100vh; /* Die Höhe der #home-Sektion wird auf die Bildschirmhöhe begrenzt */
    overflow: hidden; /* Verhindert, dass Inhalte aus der Sektion herausragen */
    background: none; /* Entfernt jeglichen Hintergrund von #home */
    padding-top: 110px; /* Platz fuer die fixe Bannerhoehe */
}

#home .slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Sektionen */
section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f3f2f0; /* Heller Hintergrund */
    color: #f3f2f0;
}
/* Willkommenstext */
#welcome-text {
    position: absolute; /* Text bleibt über der Slideshow */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Text horizontal und vertikal */
    text-align: center;
    align-content: center;
    color: #f3f2f0; /* Helle Schriftfarbe */
    z-index: 2; /* Text bleibt über der Slideshow */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Schatten für den Text */
}

h1 {
    font-size: 3em; /* Größere Schriftgröße für die Überschrift */
    margin: 0;
}

p {
    font-size: 1.5em; /* Größere Schriftgröße für den Untertitel */
    margin-top: 10px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3f4f5d; /* Dunklere Farbe */
}

/* Buttons */
button {
    background-color: #6c8b85;
    color: #f3f2f0;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3f4f5d;
}

/* Über uns Sektion */
#about {
    color: #3f4f5d; /* Dunklere Schriftfarbe für besseren Kontrast */
    text-align: left; /* Text linksbündig */
    line-height: 1.6; /* Angenehmer Zeilenabstand */
    padding: 20px; /* Innenabstand für die Sektion */
}

#about ul,
.vorstand-list ul {
    font-size: 1.15rem;
    font-weight: normal;
}

#about ul li,
.vorstand-list ul li {
    font-weight: normal;
}

#about ul li strong,
.vorstand-list ul li strong {
    font-weight: normal;
}

/* Formular-Stil */
#signup-form {
    background-color: #f3f2f0; /* Heller Hintergrund */
    padding: 20px;
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    max-width: 600px; /* Maximale Breite des Formulars */
    margin: 0 auto; /* Zentrierung des Formulars */
    font-family: Arial, sans-serif;
}

#signup-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #3f4f5d; /* Dunklere Schriftfarbe */
}

#signup-form input,
#signup-form textarea {
    width: 100%; /* Volle Breite */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #6c8b85; /* Akzentfarbe für den Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 1rem;
    color: #3f4f5d; /* Dunklere Schriftfarbe */
    background-color: #f3f2f0; /* Heller Hintergrund */
    box-sizing: border-box; /* Padding wird in die Breite einbezogen */
}

#signup-form input:focus,
#signup-form textarea:focus {
    outline: none;
    border-color: #3f4f5d; /* Dunklere Farbe beim Fokus */
    box-shadow: 0 0 5px rgba(63, 79, 93, 0.5); /* Leichter Fokus-Schatten */
}

#signup-form button {
    background-color: #6c8b85; /* Akzentfarbe */
    color: #f3f2f0; /* Helle Schriftfarbe */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px; /* Abgerundete Ecken */
    transition: background-color 0.3s ease;
    width: 100%; /* Button nimmt die volle Breite ein */
}

#signup-form button:hover {
    background-color: #3f4f5d; /* Dunklere Farbe beim Hover */
}

#success-message {
    margin-top: 20px;
    font-size: 1rem;
    color: green;
    text-align: center;
}

/* Footer-Leiste */
footer {
    width: 100%;
    background: #3f4f5d;
    color: #f3f2f0;
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Team Sektion */
#team {
    box-shadow: 0 2px 8px rgba(63, 79, 93, 0.15);
    border-radius: 10px;
    background: #f3f2f0;
    margin: 30px 0;
    padding: 0;
    cursor: pointer;
    transition: box-shadow 0.3s;
}
#team:hover {
    box-shadow: 0 4px 16px rgba(63, 79, 93, 0.25);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Vue-Version in test.html: gleiche Darstellung wie die statischen
   .board_member-Einträge auf der Startseite. */
#team > .team-content > .board_members,
#team > .team-content > .positions {
    margin: 0 2rem 2rem;
}

#team > .team-content > .board_members:first-child {
    margin-top: 1.2rem;
}

.board_members_image,
.position_image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    grid-template-rows: auto auto;
    column-gap: 2rem;
    align-items: center;
}

.board_members_image .name,
.position_image .name {
    grid-column: 1;
    grid-row: 1;
}

.board_members_image .response,
.position_image .response {
    grid-column: 1;
    grid-row: 2;
}

.board_members_image .board_member-img,
.position_image .postion-img {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.board_members_no_image,
.position_no_image {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    color: #3f4f5d;
}

.board_members_no_image .response,
.position_no_image .response {
    order: -1;
}

.board_members_no_image .response::after,
.position_no_image .response::after {
    content: ":";
}

.board_members_image .name,
.board_members_no_image .name,
.position_image .name,
.position_no_image .name {
    margin: 0;
    color: #3f4f5d;
}

.board_members_image .response,
.board_members_no_image .response,
.position_image .response,
.position_no_image .response {
    margin: 0.35rem 0 0;
    color: #3f4f5d;
    font-size: 1.15rem;
}

.board_members_image .name,
.position_image .name {
    font-size: 1.4rem;
}

.board_members_image .response,
.position_image .response {
    font-size: 2rem;
}

.board_members_image .board_member-img,
.position_image .postion-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #6c8b85;
    background: #fff;
    box-sizing: border-box;
}

/* Die Vue-Teamliste in test.html folgt der Startseiten-Anordnung: Text links,
   Foto am rechten Rand. */
#team > .team-content > .board_members .board_members_image {
    grid-template-columns: minmax(0, 1fr) 120px;
    column-gap: 2rem;
    text-align: left;
}

#team > .team-content > .positions {
    margin-bottom: 1rem;
    opacity: 0.82;
}

#team > .team-content > .functions-heading {
    margin: 2.25rem 2rem 1.1rem;
    padding-top: 1.4rem;
    border-top: 1px solid #d9dfdd;
    color: #3f4f5d;
    font-size: 1.2rem;
}

#team > .team-content > .positions .position_image {
    grid-template-columns: minmax(0, 1fr) 60px;
    column-gap: 1rem;
}

#team > .team-content > .positions .position_image .postion-img {
    width: 60px;
    height: 60px;
    border-width: 2px;
}

#team > .team-content > .positions .position_image .name,
#team > .team-content > .positions .position_no_image .name {
    font-size: 1.05rem;
}

#team > .team-content > .positions .position_image .response,
#team > .team-content > .positions .position_no_image .response {
    font-size: 1rem;
}

#text {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
    color: #3f4f5d;
    margin: 0;
}

#pfeil {
    text-align: right;
    font-size: 1.5rem;
    color: #6c8b85;
    margin: 0;
    transition: transform 0.3s;
}

team .active + #pfeil,
#team-header:active #pfeil {
    transform: rotate(180deg);
}

#board_members {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    padding: 0 2rem;
    background: #f3f2f0;
    border-radius: 0 0 10px 10px;
}

#board_members.active {
    max-height: 2000px; /* Erhöhe diesen Wert, damit alles sichtbar ist */
    opacity: 1;
    padding: 1.2rem 2rem;
}

/* Vorstand Personen Layout */
.board_member {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.board_member.reverse {
    flex-direction: row-reverse;
}
.board_member-img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #6c8b85;
    background: #fff;
}
.board_member_image {
    flex: 1;
}
.board_member p{
    font-size: 2rem;
}

/* Pfeil-Rotation */
#pfeil {
    transition: transform 0.3s;
}
#pfeil.rotated {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links a {
        color: #f3f2f0; /* Helle Schriftfarbe */
        padding: 10px 0;
    }

    /* Bilder und Texte werden gestapelt, damit auf schmalen Handys nichts
       abgeschnitten wird und die gesamte Breite für lange Namen bleibt. */
    #team > .team-content > .board_members,
    #team > .team-content > .positions {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    #team > .team-content > .board_members .board_members_image,
    #team > .team-content > .positions .position_image {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
    }

    #team > .team-content > .board_members .board_members_image .name,
    #team > .team-content > .board_members .board_members_image .response,
    #team > .team-content > .positions .position_image .name,
    #team > .team-content > .positions .position_image .response {
        text-align: center;
    }

    #team > .team-content > .board_members .board_members_no_image,
    #team > .team-content > .positions .position_no_image {
        display: block;
    }

    #team > .team-content > .board_members .board_members_no_image .response,
    #team > .team-content > .positions .position_no_image .response {
        margin: 0 0 0.25rem;
    }

    #team > .team-content > .board_members .board_members_no_image .response::after,
    #team > .team-content > .positions .position_no_image .response::after {
        content: none;
    }
}

@media (max-width: 900px) {
    .toggle2 {
        position: absolute;
        top: 18px;
        right: 24px;
    }
    .nav-links li {
        margin: 0;
    }
    .nav-links a {
        color: #f3f2f0;
        padding: 16px 32px;
        font-size: 1.2rem;
        border-radius: 6px;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover {
        background: #6c8b85;
        color: #fff;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#signup address {
    color: #3f4f5d;
    text-align: left;
}
#signup h3 {
    color: #3f4f5d;
    text-align: left;
}

/* Info/Neues anspruchsvoll gestalten */
#info {
    text-align: left;
    color: #3f4f5d;
    padding-left: 20px;
    padding-right: 20px;
}
#info h3 {
    margin: 20px;  
    font-size: 1.5rem;
}

.tauchaktivitaeten {
    text-align: left; /* Text linksbündig */

    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
    margin: 20px;
}
.tauchaktivitaeten-liste li{
    padding: 15px;
    font-size: 1.15rem;
    font-weight: normal;
}

#galerie {
    text-align: left;
    color: #3f4f5d;
    padding-left: 20px;
    padding-right: 20px;
}

#galerie .info-cards {
    justify-content: space-around;
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.info-card {
    background: #f3f2f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(63, 79, 93, 0.10);
    padding: 24px 28px;
    width: 25rem;
    min-width: 260px;
    flex: 1 1 260px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: box-shadow 0.3s;
}

.info-card:hover {
    box-shadow: 0 6px 24px rgba(63, 79, 93, 0.18);
}

.info-card-icon {
    font-size: 2.2rem;
    color: #6c8b85;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #3f4f5d;
}
#galerie-mehr-btn {
    margin-top: 20px;
    font-size: 1rem;
    color: #6c8b85;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s;
}

.info-card-text {
    font-size: 1.05rem;
    color: #3f4f5d;
}

#contact h3,
#contact address {
    color: #3f4f5d;      /* Dunkelblau */
    text-align: left;
}

#contact address {
    font-style: normal;
    line-height: 1.7;
}
