
/* ==========================================
   TEAMSEITE - EYES ON YOU
   KOMPAKTE VERSION
========================================== */

/* ==========================================
   GESAMTBEREICH
========================================== */

.teamseiteback {
    width: 950px;
    max-width: 100%;
    margin: 10px auto;
    padding: 18px;
    box-sizing: border-box;

    background: #202943;
    color: #D4E0EA;
}

/* ==========================================
   HAUPTÜBERSCHRIFT
========================================== */

.teamseite_header {
    position: relative;
    width: 100%;
    box-sizing: border-box;

    padding: 14px 20px;
    margin-bottom: 15px;

    background: linear-gradient(
        115deg,
        #10282B 0%,
        #192D3C 55%,
        #252342 100%
    );

    border: 1px solid rgba(0, 184, 71, 0.3);
    text-align: center;
}

.teamseite_header span {
    display: block;

    color: #7775F2;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.teamseite_header h1 {
    width: auto;
    margin: 5px 0;
    padding: 0;

    border: none;

    color: #00B847;
    font-family: 'Raleway', sans-serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
}

.teamseite_header p {
    margin: 0;

    color: #D4E0EA;
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* ==========================================
   EINZELNE TEAMKARTEN
========================================== */

.team_member {
    position: relative;

    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;
    box-sizing: border-box;

    padding: 17px 20px;
    margin-bottom: 13px;

    background: linear-gradient(
        135deg,
        #10282B 0%,
        #192D3C 55%,
        #252342 100%
    );

    border: 1px solid rgba(0, 184, 71, 0.25);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.team_member:last-child {
    margin-bottom: 0;
}

.team_member:hover {
    border-color: rgba(0, 184, 71, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

/* ZWEITE KARTE GESPIEGELT */

.team_member_reverse {
    flex-direction: row-reverse;
}

/* ==========================================
   TYPISCHE GRÜNE RAHMENECKEN
========================================== */

.teamseite_header::before,
.teamseite_header::after,
.team_member::before,
.team_member::after {
    content: "";
    position: absolute;

    width: 28px;
    height: 13px;
    box-sizing: border-box;

    pointer-events: none;
    z-index: 3;
}

/* OBEN LINKS */

.teamseite_header::before,
.team_member::before {
    top: -1px;
    left: -1px;

    border-top: 3px solid #00B847;
    border-left: 3px solid #00B847;
}

/* UNTEN RECHTS */

.teamseite_header::after,
.team_member::after {
    bottom: -1px;
    right: -1px;

    border-bottom: 3px solid #00B847;
    border-right: 3px solid #00B847;
}

/* ==========================================
   BILDBEREICH
========================================== */

.team_member_visual {
    width: 160px;
    flex: 0 0 160px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* TEAMGIF */

.team_member_image {
    width: 160px;
    height: 160px;

    overflow: hidden;
    box-sizing: border-box;

    background: #0C202B;
    border: 1px solid rgba(0, 184, 71, 0.5);
    border-radius: 0;
}

.team_member_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 0;

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.team_member:hover .team_member_image img {
    filter: brightness(1.08);
}

/* ==========================================
   CHARAKTERAUSWAHL
========================================== */

.team_member_select {
    width: 100%;
}

.team_member_select select {
    width: 100%;
    box-sizing: border-box;

    padding: 7px 8px;

    background: #0C202B;
    border: 1px solid rgba(119, 117, 242, 0.5);
    border-radius: 0;

    color: #D4E0EA;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;

    cursor: pointer;

    transition: border-color 0.3s ease;
}

.team_member_select select:hover,
.team_member_select select:focus {
    outline: none;
    border-color: #00B847;
}

.team_member_select select option {
    background: #10282B;
    color: #D4E0EA;
}

/* ==========================================
   INFORMATIONSBEREICH
========================================== */

.team_member_content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
}

/* ==========================================
   NAME UND ROLLE
========================================== */

.team_member_heading {
    margin-bottom: 10px;
    padding-bottom: 7px;

    border-bottom: 1px solid rgba(119, 117, 242, 0.45);
}

.team_member_role {
    display: block;
    margin-bottom: 3px;

    color: #AAA8FF;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.team_member_heading h2 {
    margin: 0;
    padding: 0;

    color: #00B847;
    font-family: 'Raleway', sans-serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ==========================================
   ABSCHNITTSÜBERSCHRIFTEN
========================================== */

.team_section_title {
    margin: 4px 0 7px;
    padding: 5px 8px;

    background: linear-gradient(
        90deg,
        rgba(0, 184, 71, 0.13),
        rgba(119, 117, 242, 0.1)
    );

    border-left: 2px solid #00B847;

    color: #D4E0EA;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* ==========================================
   AUFGABENBEREICHE
========================================== */

.team_tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-bottom: 10px;
}

.team_tasks span {
    display: inline-block;
    box-sizing: border-box;

    padding: 5px 7px;

    background: rgba(7, 25, 34, 0.65);
    border: 1px solid rgba(119, 117, 242, 0.25);

    color: #D4E0EA;
    font-size: 10px;
    line-height: 1.3;

    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.team_tasks span:hover {
    background: rgba(0, 184, 71, 0.08);
    border-color: rgba(0, 184, 71, 0.6);
    color: #00B847;
}

/* ==========================================
   KONTAKTDATEN
========================================== */

.team_contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.team_contacts > div {
    display: flex;
    align-items: center;
    gap: 6px;

    min-width: 0;
    box-sizing: border-box;

    padding: 6px 8px;

    background: rgba(7, 25, 34, 0.55);
    border-bottom: 1px solid rgba(119, 117, 242, 0.3);
}

.team_contacts strong {
    flex: 0 0 48px;

    color: #AAA8FF;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.team_contacts span {
    min-width: 0;

    color: #D4E0EA;
    font-size: 10px;
    line-height: 1.4;

    overflow-wrap: anywhere;
}

/* ==========================================
   LINKS INNERHALB DER TEAMSEITE
========================================== */

.teamseiteback a {
    color: #AAA8FF;
    text-decoration: none;

    transition: color 0.3s ease;
}

.teamseiteback a:hover {
    color: #00B847;
}

/* ==========================================
   SCROLLBARS
========================================== */

.teamseiteback ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.teamseiteback ::-webkit-scrollbar-track {
    background: #10282B;
}

.teamseiteback ::-webkit-scrollbar-thumb {
    background: #00B847;
}

/* ==========================================
   RESPONSIVE DARSTELLUNG
========================================== */

@media (max-width: 750px) {

    .teamseiteback {
        padding: 12px;
    }

    .team_member,
    .team_member_reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;

        padding: 15px;
    }

    .team_member_visual {
        width: 160px;
        flex: 0 0 auto;
        margin: 0 auto;
    }

    .team_member_image {
        width: 160px;
        height: 160px;
    }

    .team_member_heading {
        text-align: center;
    }

    .team_member_heading h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .teamseite_header h1 {
        font-size: 20px;
    }

    .team_member {
        padding: 12px;
    }

    .team_contacts {
        grid-template-columns: 1fr;
    }

    .team_tasks span {
        font-size: 9px;
    }
}
