/* ---------------------------------------
   TEAM-BEREICH
------------------------------------------ */
.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    position: sticky;
    background: white;
    z-index: 1;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member {
    background-color: #ffffff;
    border: 5px solid #005f7342;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    max-width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
    overflow: visible;
}


.img-team {
    max-width: 200px;
    border-radius: 12px;
    flex-shrink: 0;
}

.img-logo-left {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 350px;
    pointer-events: none;
    z-index: 1;

}

.img-logo-right {
    position: absolute;
    top: -10px;
    left: 180px;
    width: 350px;
    pointer-events: none;
    z-index: 1;
}

.team-name {
    font-size: 22px;
    margin-bottom: 10px;
    color: #004450;
}

.team-content {
    overflow-y: auto;
    flex-grow: 1;
    width: 100%;
    padding-right: 10px;
    max-height: 100%;
}

.team-content::-webkit-scrollbar {
    width: 6px;
}

.team-content::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 3px;
}

.team-text {
    font-size: 16px;
    color: #444;
    text-align: left;
}

.member-font {
    color: #004450;
    font-size: 18px;
    font-weight: 300;
    margin: 0;
}

.team-toggle-btn {
    display: none;
}

.team-subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #004b46;
    /* gleiche Farbwelt wie Überschriften */
}

.team-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.team-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}