.contact_person_overview {
    /* padding-top: 25rem;
    padding-bottom: 30rem; */
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.contact_person_overview .list {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: calc(var(--col) * 11);
}


.contact_person {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.contact_person .info {
    display: flex;
    flex-direction: column;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    height: 100%;
    justify-content: flex-start;
}

.person_information {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: fit-content;
}

.person_information a {
    text-decoration: none;
}

.contact_person .name {
    font-size: var(--regular-font);
    margin-bottom: 0.5rem;
}

.contact_person .job {
    margin: 0;
}

.contact_person_overview .headline_wrap {
    width: 40%;
    width: calc(var(--col) * 7);

    margin-top: auto;
}

.page-home .contact_person_overview .headline,
.page-home .contact_person_overview .headline[data-length="long"] {
    font-size: var(--headline);
}
.contact_person_overview .headline {
    width: 100%;
    font-size: var(--highlighted-font);
    font-weight: 700;
    line-height: 1.2;

    margin-top: auto;
}

.contact_person_overview .headline::before {
    content: "";
    display: block;
    /* width: 35rem; */
    height: 20rem;
    background-image: url("../../../custom/images/person_overview_pfeil.svg");
    background-repeat: no-repeat;
    background-size: contain;

    margin-left: -10rem;
}

.contact_person_overview .headline em{
    font-style: normal;
    color: var(--secondary);
}

.contact_person_overview .headline + .text {
    margin-top: 1em;
}

.contact_person_overview {
    display: flex;
    flex-direction: row;

    width: 100%;
}

.contact_person_overview .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: space-around;

    gap: 5rem calc(var(--col) * 2);
}

.contact_person_overview img {
  border-radius: 13px;
}


.contact_person_overview .buttons {
    margin-top: 5rem;
    flex-wrap: wrap;
}

.contact_person_overview .button {
    width: fit-content;
    padding: 1.5rem 2rem;
    color: var(--white);
    text-decoration: none;
    display: block;
    background-color: var(--button);
    border-radius: 50rem;
    text-transform: uppercase;
    font-weight: 700;
    gap: 2rem;
    display: flex;
    align-items: center;
}


.contact_person_overview .button::after {
  content: "";
  display: inline-block;
  width: 30px !important;
  height: 30px !important;
  margin-left: 4px;
  vertical-align: middle;
  background-image: url("../../../custom/images/pfeil.svg");
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1); /* weiß */
}


.contact_person_overview .buttons {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}


/* .contact_person .button [target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  vertical-align: middle;
  background-image: url("../images/pfeil.svg");
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
} */

.contact_person_overview .headline::before {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact_person_overview .headline.arrow-visible::before {
  opacity: 1;
}



/* MOBILES STYLING */

@media screen and (max-width: 1280px) {
    .contact_person_overview .wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }


    .contact_person_overview .list {
    width: 100%;
}

    .contact_person_overview .headline_wrap {
        width: 100%;
    }



    .contact_person_overview .headline::before {
        margin: 0;
        display: none;
    }


    .contact_person_overview .wrapper {
        gap: 5%
    }

}


@media screen and (max-width: 745px) {
    .contact_person_overview .list {
        display: flex; 
        flex-direction: column;
        /* gap: 10rem; */
    }

    .contact_person_overview .wrapper {
        gap: 5%
    }
}