/* =========================================
   FLUX ABOUT
   ========================================= */

.about-page {
    width: 100%;

    background:
        radial-gradient(
            circle at -10% 0%,
            rgba(45, 167, 255, .95) 0%,
            rgba(193, 212, 250, .75) 25%,
            transparent 55%
        ),
        radial-gradient(
            circle at 110% 0%,
            rgba(246, 18, 182, .80) 0%,
            rgba(255, 229, 246, .75) 25%,
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #e5f2ff 0%,
            #f8eaf5 45%,
            #f4eef3 70%,
            #ffffff 100%
        );
}


/* =========================================
   ÜBER UNS / DER VEREIN
   ========================================= */

.about-intro {
    position: relative;
    padding: 6rem 0 4rem;
}

.about-intro__grid {
    width: min(100% - 10vw, 1290px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 5rem;
    align-items: start;
}

.about-intro__heading {
    margin: 0 0 2rem;
    line-height: .9;
}

.about-intro__content {
    max-width: 68ch;
}


/* =========================================
   VEREIN / ACCORDION
   ========================================= */

.about-intro__association {
    width: 100%;
}

.about-accordion {
    width: 100%;
}

.about-accordion__item {
    border-top: 1px solid rgba(0, 0, 0, .22);
}

.about-accordion__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, .22);
}

.about-accordion__title {
    position: relative;

    width: 100%;
    padding: 1.25rem 2.5rem 1.25rem 0;

    display: flex;
    align-items: center;

    border: 0;
    background: transparent;

    color: #000;

    font: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;

    text-align: left;

    cursor: pointer;

    transition:
        color .2s ease,
        padding .2s ease;
}

.about-accordion__title::after {
    content: "+";

    position: absolute;
    right: 0;
    top: 50%;

    transform: translateY(-50%);

    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;

    transition:
        transform .2s ease,
        color .2s ease;
}

.about-accordion__title:hover {
    color: #f612b6;
}

.about-accordion__item.is-open .about-accordion__title {
    color: #f612b6;
}

.about-accordion__item.is-open .about-accordion__title::after {
    content: "−";
    color: #f612b6;
}


/* =========================================
   ACCORDION INHALT
   ========================================= */

.about-accordion__content {
    display: none;

    padding: 0 2.5rem 1.5rem 0;

    max-width: 65ch;
}

.about-accordion__item.is-open .about-accordion__content {
    display: block;
}


/* =========================================
   PDF-LINKS
   ========================================= */

.about-pdf-link {
    margin: 1rem 0;
}

.about-pdf-link a {
    color: #f612b6;
    font-weight: 400;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.about-pdf-link a:hover {
    color: #000;
}


/* =========================================
   MITGLIEDER
   ========================================= */

.about-members {
    background: #fff;
    padding: 4rem 0 8rem;
}

.about-members__inner {
    width: min(100% - 10vw, 1290px);
    margin: 0 auto;
}

.about-members__heading {
    margin: 0 0 2rem;
    line-height: .9;
}

.about-members__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


/* =========================================
   MITGLIEDER-KARTEN
   ========================================= */

.about-member {
    display: flex;
    flex-direction: column;

    width: fit-content;
    max-width: 100%;

    overflow: hidden;

    border: none;
    border-radius: 14px;

    color: #000;
    text-decoration: none;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.about-member:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .10);
}


/* =========================================
   MITGLIEDER-FOTOS
   ========================================= */

.about-member .person-project__image {
    width: 290px;
    aspect-ratio: 3 / 4;

    overflow: hidden;
    position: relative;
}

.about-member .person-project__image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(45, 167, 255, .55) 0%,
            rgba(246, 18, 182, .55) 100%
        );

    opacity: 1;

    transition:
        opacity .35s ease;

    pointer-events: none;
}

.about-member:hover .person-project__image::after {
    opacity: 0;
}

.about-member .person-project__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.about-member:hover .person-project__image img {
    transform: scale(1.04);
}


/* =========================================
   MITGLIEDER-TITEL
   ========================================= */

.about-member .person-project__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding: 1.5rem 1.75rem 1.75rem;
}

.about-member .person-project__title {
    font-family: inherit;

    margin: 0;

    line-height: 1.2;
    font-size: 1.4rem;
    font-weight: 700;

    white-space: nowrap;
}

.about-member .person-project__subtitle {
    margin: .65rem 0 0;

    line-height: 1.2;
    font-size: 1.15rem;
    font-weight: 700;
}

.about-member:hover .person-project__title,
.about-member:hover .person-project__subtitle {
    color: #f612b6;
}


/* =========================================
   MITGLIEDER – KARTENHINTERGRÜNDE
   ========================================= */

.about-member:nth-child(6n + 1) {
    background:
        linear-gradient(
            120deg,
            #f3b5df 0%,
            #c9d9ff 100%
        );
}

.about-member:nth-child(6n + 2) {
    background:
        linear-gradient(
            120deg,
            #f3b5df 0%,
            #c9d9ff 100%
        );
}

.about-member:nth-child(6n + 3) {
    background:
        linear-gradient(
            120deg,
            #c5d7ff 0%,
            #f3b7df 100%
        );
}

.about-member:nth-child(6n + 4) {
    background:
        linear-gradient(
            120deg,
            #ee8fce 0%,
            #b9ccff 100%
        );
}

.about-member:nth-child(6n + 5) {
    background:
        linear-gradient(
            120deg,
            #bfd2ff 0%,
            #eea9d6 100%
        );
}

.about-member:nth-child(6n + 6) {
    background:
        linear-gradient(
            120deg,
            #e99bd0 0%,
            #c5d8ff 100%
        );
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .about-intro {
        padding: 4rem 0 5rem;
    }

    .about-intro__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-members {
        padding: 4rem 0 5rem;
    }

    .about-members__grid {
        grid-template-columns: 1fr;
    }

    .about-accordion__title {
        padding-top: 1rem;
        padding-bottom: 1rem;

        font-size: 1rem;
    }

    .about-accordion__content {
        padding-bottom: 1.25rem;
    }
}