/* =========================================================
   EIGENE VARIABLEN
   ========================================================= */

:root {
    --aoss-header-bg: #11131D;
    --aoss-header-bg-dark: #0A0B12;

    --aoss-header-purple: #4A3A75;
    --aoss-header-purple-mid: #60458E;
    --aoss-header-purple-light: #9567E6;

    --aoss-header-text: #bdbdc8;
    --aoss-header-text-soft: #BDBDC8;
}


/* =========================================================
   GESAMTE HEADERTABELLE
   ========================================================= */

#headertab {
    position: relative;

    width: 950px;
    height: auto;

    margin: 0 auto;

    padding: 14px 0 25px;

    box-sizing: border-box;

    background: transparent;

    overflow: visible;
}


/* =========================================================
   SLIDER
   ========================================================= */

.csslider {
    position: relative;

    display: block;

    width: 950px;

    margin: 0 auto;
    padding: 0;

    box-sizing: border-box;

    text-align: left;

    perspective: 900px;
}


.csslider > input {
    display: none;
}


/* =========================================================
   SLIDERBEWEGUNG
   ========================================================= */

.csslider > input:nth-of-type(1):checked ~ ul li:first-of-type {
    margin-left: 0;
}


.csslider > input:nth-of-type(2):checked ~ ul li:first-of-type {
    margin-left: -100%;
}


/* =========================================================
   SLIDER AUSSENRAHMEN
   ========================================================= */

.csslider > ul {
    position: relative;

    width: 950px;
    height: 220px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    overflow: hidden;

    white-space: nowrap;

    font-size: 0;
    line-height: 0;

    background:
        linear-gradient(
            rgba(17, 19, 29, .91),
            rgba(17, 19, 29, .96)
        ),
        url(https://s13.gifyu.com/images/blf7f.png);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid #3D305D;

    z-index: 1;
}


/* =========================================================
   EINZELNE SLIDES
   ========================================================= */

.csslider > ul > li {
    position: relative;

    display: inline-flex;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    vertical-align: top;

    box-sizing: border-box;

    white-space: normal;

    font-family: Arial, sans-serif;

    font-size: 10px;
    line-height: 17px;

    color: var(--aoss-header-text-soft);

    background:
        linear-gradient(
            rgba(17, 19, 29, .89),
            rgba(17, 19, 29, .96)
        ),
        url(https://s13.gifyu.com/images/blf7f.png);

    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;

    transition:
        margin-left .55s cubic-bezier(.4, 1.3, .65, 1);
}


/* dezenter Lichtschein */

.csslider > ul > li::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(149, 103, 230, .06),
            transparent 58%
        );

    pointer-events: none;
}


/* =========================================================
   DREI BEREICHE
   ========================================================= */

.sbox1,
.sbox2,
.sbox3 {
    position: relative;

    height: 100%;

    margin: 0;

    box-sizing: border-box;

    z-index: 2;

    overflow: hidden;

    border: 0 !important;
}


/* links */

.sbox1 {
    width: 34%;

    padding:
        20px
        42px
        17px
        25px;
}


/* mitte */

.sbox2 {
    width: 32%;

    padding:
        20px
        34px
        17px
        34px;
}


/* rechts */

.sbox3 {
    width: 34%;

    padding:
        20px
        25px
        17px
        42px;
}


/* =========================================================
   DIAGONALE LINKS
   ========================================================= */

.sbox1::after {
    content: "";

    position: absolute;

    top: -15px;
    right: -1px;

    width: 1px;
    height: 255px;

    background:
        linear-gradient(
            to bottom,
            rgba(149, 103, 230, .35),
            rgba(149, 103, 230, .95),
            rgba(74, 58, 117, .55)
        );

    transform: rotate(8deg);
    transform-origin: top center;

    z-index: 30;

    pointer-events: none;

    box-shadow:
        0 0 5px rgba(149, 103, 230, .20);
}


/* =========================================================
   DIAGONALE RECHTS
   ========================================================= */

/* =========================================================
   RECHTE DIAGONALE
   ========================================================= */

.sbox2::after {
    content: "";

    position: absolute;

    top: -15px;
    right: -1px;

    width: 1px;
    height: 255px;

    background:
        linear-gradient(
            to bottom,
            rgba(149, 103, 230, .35),
            rgba(149, 103, 230, .95),
            rgba(74, 58, 117, .55)
        );

    transform: rotate(-8deg);
    transform-origin: top center;

    z-index: 30;

    pointer-events: none;

    box-shadow:
        0 0 5px rgba(149, 103, 230, .20);
}


/* NUR die mittlere Box darf ihre Diagonale zeigen */
.sbox2 {
    overflow: visible;
}

/* =========================================================
   ÜBERSCHRIFTEN
   ALLE LINKS
   ========================================================= */

.sboxtitle {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: 38px;

    margin: 0 0 15px 0;
    padding: 0;

    box-sizing: border-box;

    font-family: 'Exo 2', sans-serif;

    font-size: 16px;
    line-height: 22px;

    font-weight: 500;

    color: var(--aoss-header-text);

    text-transform: uppercase;

    letter-spacing: 2px;

    text-align: left;
}


/* =========================================================
   ICONS
   ========================================================= */

.sboxtitle i {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    margin-right: 10px;

    box-sizing: border-box;

    border: 1px solid var(--aoss-header-purple-mid);

    border-radius: 50%;

    background: rgba(10, 11, 18, .72);

    color: var(--aoss-header-purple-light);

    font-size: 12px;

    box-shadow:
        inset 0 0 10px rgba(149, 103, 230, .08);
}


/* =========================================================
   ERSTER BUCHSTABE
   ========================================================= */

.sboxtitle::first-letter {
    color: var(--aoss-header-purple-light);

    font-size: 27px;

    font-weight: 600;
}


/* =========================================================
   LINIE UNTER ÜBERSCHRIFT
   ========================================================= */

.sboxtitle::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 155px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--aoss-header-purple-light) 0%,
            var(--aoss-header-purple) 72%,
            transparent 100%
        );
}


/* kleiner Diamant */

.sboxtitle::before {
    content: "";

    position: absolute;

    left: 158px;
    bottom: -7px;

    width: 5px;
    height: 5px;

    box-sizing: border-box;

    border: 1px solid var(--aoss-header-purple-mid);

    background: var(--aoss-header-bg-dark);

    transform: rotate(45deg);
}


/* =========================================================
   TEXTBEREICHE
   ========================================================= */

.sboxtext {
    position: relative;

    width: 100%;
    height: 145px;

    margin: 0;

    padding: 0 5px 0 0;

    box-sizing: border-box;

    overflow: auto;

    font-family: Arial, sans-serif;

    font-size: 10px;
    line-height: 17px;

    color: var(--aoss-header-text-soft);

    text-align: justify;
    text-align-last: left;
}


.sbox1 .sboxtext,
.sbox2 .sboxtext,
.sbox3 .sboxtext {
    text-align: justify;
    text-align-last: left;
}


/* =========================================================
   LINKS
   ========================================================= */

.sboxtext a {
    font-family: 'Exo 2', sans-serif;

    color: var(--aoss-header-purple-light);

    text-decoration: none;

    font-weight: 600;

    transition:
        color .2s ease,
        letter-spacing .2s ease;
}


.sboxtext a:hover {
    color: #B99AF1;

    letter-spacing: .3px;
}


/* =========================================================
   TEAMHEADER
   WICHTIG:
   ALTE BOX KOMPLETT ENTFERNEN
   ========================================================= */

.teamheader-container {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;
}


/* =========================================================
   TEAM BIT
   ========================================================= */

.teamheader-bit {
    display: flex !important;

    flex-direction: row !important;

    align-items: flex-start !important;
    justify-content: center !important;

    gap: 28px !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    padding: 4px 0 0 !important;

    box-sizing: border-box !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;
}


/* =========================================================
   EIN TEAMMITGLIED
   ========================================================= */

.teamheader-bit_teamie {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;
    justify-content: flex-start !important;

    flex: 0 0 82px !important;

    width: 82px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    background: transparent !important;

    border: 0 !important;

    text-align: center !important;
}


/* =========================================================
   AVATAR-CONTAINER
   ========================================================= */

.teamheader-bit_avatar {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 66px !important;
    height: 66px !important;

    margin: 0 auto 7px !important;
    padding: 3px !important;

    box-sizing: border-box !important;

    background: rgba(10, 11, 18, .55) !important;

    border: 1px solid var(--aoss-header-purple-mid) !important;

    border-radius: 50% !important;

    box-shadow:
        inset 0 0 10px rgba(149, 103, 230, .08) !important;
}


/* =========================================================
   AVATAR
   {$grey_graphic} BLEIBT ERHALTEN
   ========================================================= */

.teamheader-bit_avatar img {
    display: block !important;

    width: 58px !important;
    height: 58px !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;

    box-sizing: border-box !important;

    border: 0 !important;

    border-radius: 50% !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* =========================================================
   TEAM INFOS
   ========================================================= */

.teamheader-bit_infos {
    display: block !important;

    width: 82px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    background: transparent !important;

    border: 0 !important;

    font-family: Arial, sans-serif !important;

    font-size: 10px !important;
    line-height: 12px !important;

    color: var(--aoss-header-text-soft) !important;

    text-align: center !important;
    text-align-last: center !important;
}


/* Name */

.teamheader-bit_infos a {
    display: inline !important;

    font-family: 'Exo 2', sans-serif !important;

    font-size: 10px !important;

    font-weight: 600 !important;

    text-align: center !important;

    text-decoration: none !important;
}


/* played by */

.teamheader-bit_infos b {
    font-weight: 400 !important;

    color: var(--aoss-header-text) !important;
}


/* =========================================================
   TEAM-TEXTBEREICH

   Überschrift bleibt links.
   NUR die Teammitglieder sind mittig.
   ========================================================= */

.sbox2 .sboxtext {
    overflow: visible;
}


.sbox2 .teamheader-container,
.sbox2 .teamheader-bit,
.sbox2 .teamheader-bit_teamie,
.sbox2 .teamheader-bit_avatar,
.sbox2 .teamheader-bit_infos {
    text-align: center !important;
    text-align-last: center !important;
}


/* =========================================================
   SCROLLBARS
   ========================================================= */

#headertab ::-webkit-scrollbar {
    width: 4px;
}


#headertab ::-webkit-scrollbar-track {
    background: transparent;
}


#headertab ::-webkit-scrollbar-thumb {
    background: var(--aoss-header-purple);
}


/* =========================================================
   SLIDER-PUNKTE
   ========================================================= */

.csslider > .navigationss {
    position: absolute;

    left: 50%;
    bottom: -18px;

    z-index: 50;

    margin: 0;

    transform: translateX(-50%);

    font-size: 0;
    line-height: 0;

    text-align: center;

    user-select: none;
}


.csslider > .navigationss > div {
    margin: 0;
}


.csslider > .navigationss label {
    position: relative;

    display: inline-block;

    width: 9px;
    height: 9px;

    margin: 0 4px;
    padding: 0;

    box-sizing: border-box;

    border: 1px solid var(--aoss-header-purple-mid);

    border-radius: 50%;

    background: var(--aoss-header-bg-dark);

    cursor: pointer;

    transition:
        border-color .2s ease,
        transform .2s ease;
}


.csslider > .navigationss label:hover {
    border-color: var(--aoss-header-purple-light);

    transform: scale(1.15);
}


.csslider > .navigationss label::after {
    content: "";

    position: absolute;

    inset: 2px;

    border-radius: 50%;

    background: var(--aoss-header-purple-light);

    opacity: 0;

    transition: opacity .2s ease;
}


.csslider > input:nth-of-type(1):checked
~ .navigationss label:nth-of-type(1)::after {
    opacity: 1;
}


.csslider > input:nth-of-type(2):checked
~ .navigationss label:nth-of-type(2)::after {
    opacity: 1;
}


/* =========================================================
   SLIDER-PFEILE
   ========================================================= */

.csslider > .arrows {
    position: absolute;

    left: -25px;
    top: 50%;

    width: calc(100% + 50px);
    height: 40px;

    transform: translateY(-50%);

    box-sizing: border-box;

    z-index: 60;

    pointer-events: none;
}


.csslider > .arrows label {
    display: none;

    position: absolute;

    top: 10px;

    width: 17px;
    height: 17px;

    padding: 0;

    box-sizing: border-box;

    border: solid var(--aoss-header-purple-light);
    border-width: 0 2px 2px 0;

    background: transparent;

    box-shadow: none;

    cursor: pointer;

    opacity: .8;

    pointer-events: auto;

    transition:
        border-color .2s ease,
        opacity .2s ease;
}


.csslider > .arrows label:hover {
    border-color: #C2A7F1;

    box-shadow: none;

    opacity: 1;
}


/* Slide 1 → rechts */

.csslider > input:nth-of-type(1):checked
~ .arrows label:nth-of-type(2) {
    display: block;

    right: 0;

    transform: rotate(-45deg);
}


/* Slide 2 → links */

.csslider > input:nth-of-type(2):checked
~ .arrows label:nth-of-type(1) {
    display: block;

    left: 0;

    transform: rotate(135deg);
}


/* =========================================================
   INNERER SCHATTEN
   ========================================================= */

.csslider > ul::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 40;

    pointer-events: none;

    box-shadow:
        inset 0 0 25px rgba(0, 0, 0, .24);
}


/* =========================================================
   ALTE SLIDERREGELN ABSICHERN
   ========================================================= */

.csslider.inside .navigationss {
    bottom: -18px;

    margin-bottom: 0;
}


.csslider > .arrows label::before {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    #headertab {
        width: 95%;
    }

    .csslider {
        width: 100%;
    }

    .csslider > ul {
        width: 100%;
    }
}