/* =========================
   Experience Accordion
========================= */
.accordion {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.accordion li {
    margin-bottom: 8px;
}


/* Überschrift
------------------------------------------------------------ */

.accordion--headline .accordion-button {
    position: relative;
    padding: 17px 15px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1.6em;
    font-weight: 300;
    line-height: 1.3;
    cursor: pointer;
    transition: 0.3s ease;
}


/* Plus / Minus
------------------------------------------------------------ */
.accordion--headline .accordion-button::before,
.accordion--headline .accordion-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -30px;
    display: block;
    width: 15px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: 0.3s ease;
}

.accordion--headline .accordion-button::after {
    transform: translate(-50%, -50%) rotate(90deg);
}


/* geöffnet */
.accordion li.open > .accordion--headline .accordion-button::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.accordion li.open > .accordion--headline .accordion-button::after {
    display: none;
}


/* Inhalt
------------------------------------------------------------ */
.accordion--content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    padding: 0 15px;

    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        padding 0.45s ease;
}

.accordion li.open > .accordion--content {
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.accordion--content .content-body {
    max-width: 760px;
    margin: 0 auto;
	color: #cfcfcf;
}

.accordion--content .content-body p {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.35;
    color: #cfcfcf;
    letter-spacing: 0.08em;
}
    
/* Hervorhebungen */
.accordion--content .content-body b,
.accordion--content .content-body strong {
    color: #00fac9;
    font-weight: 300;
}


/* Tastatur-Fokus
------------------------------------------------------------ */
.accordion-button:focus-visible {
    outline: 2px solid #00fac9;
    outline-offset: 5px;
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1200px) {
    .accordion--content .content-body p {
        font-size: 17px;
        line-height: 1.45;
        letter-spacing: 0.04em;
    }

}


/* Mobile
------------------------------------------------------------ */
@media (max-width: 767px) {
    .accordion li {
        margin-bottom: 16px;
    }   	
	
	/* Antworttext */
    .accordion--content .content-body p {
        font-size: 16px;
        line-height: 1.55;
        letter-spacing: 0.02em;

        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    /*
     * Geöffneten Inhalt auf Mobile nicht abschneiden.
     * Wichtig, falls vom JS eine zu kleine max-height gesetzt wird.
     */
    .accordion li.open > .accordion--content {
        max-height: 2000px !important;
        overflow: visible;
        opacity: 1;
        padding-top: 10px;
        padding-bottom: 18px;
    }


    .accordion--headline .accordion-button {
        display: block;
        width: 100%;
        padding: 17px 25px 48px;
        font-size: 1.3em;
        line-height: 1.55;
        text-align: center;
    }

    /* Plus / Minus unter der Überschrift mittig */
    .accordion--headline .accordion-button::before,
    .accordion--headline .accordion-button::after {
        top: auto;
        right: auto;
        bottom: 20px;
        left: 50%;
        width: 20px;
        height: 2px;

        transform: translateX(-50%);
    }

    .accordion--headline .accordion-button::after {
        transform: translateX(-50%) rotate(90deg);
    }

    .accordion li.open > .accordion--headline .accordion-button::before {
        transform: translateX(-50%);
    }

    .accordion li.open > .accordion--headline .accordion-button::after {
        display: none;
    }

}