/* Content | Hero */
.cl-bildungsportal .c-wrapper {
    padding-top: 0;
}

.cl-bildungsportal .c-hero {
    position: relative;
    width: 100%;
    height: 555px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cl-bildungsportal .hero-background-image {
    position: absolute;
    top: 0;
    left: 42%;
    width: 65%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cl-bildungsportal .c-hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cl-bildungsportal .c-hero-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 2;
}

.cl-bildungsportal .c-hero-frame-left {
    width: 53%;
    height: 100%;
    background: var(--johanniter-blau);
    clip-path: polygon(0 0, 100% 0, 81% 100%, 0% 100%);
    z-index: 3;
}

.cl-bildungsportal .c-hero-frame-right {
    max-width: 463px;
    width: 47%;
    height: 100%;
    padding: 3rem 2rem;
    z-index: 3;
    position: relative;
}

.cl-bildungsportal .c-hero-content {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 65rem;
    width: 100%;
    z-index: 4;
}

.cl-bildungsportal .c-hero-content-left {
    width: 55%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 67% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.25rem;
    color: var(--johanniter-weiss);
    z-index: 5;
}

.cl-bildungsportal .c-hero-content-right {
    width: 45%;
    height: 100%;
    padding: 0 2rem;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--johanniter-weiss);
    z-index: 5;
    position: relative;
}

.cl-bildungsportal .c-hero-btn {
    padding: 0.6rem 1.2rem;
    background: var(--johanniter-rot);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    color: var(--johanniter-weiss);
    cursor: pointer;
    width: fit-content;
}

.cl-bildungsportal .c-hero-content-right .titel-1 {
    color: var(--johanniter-weiss);
    padding-bottom: 26px;
    text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.75);
}

.cl-bildungsportal .c-hero-content-left .titel-2 {
    color: var(--johanniter-weiss);
}

.cl-bildungsportal .c-hero-text {
    color: var(--johanniter-weiss);
    font-size: 20.25px;
    font-weight: 500;
    line-height: 26.33px;
    padding-bottom: 32px;
    text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.75);
}

.cl-bildungsportal .c-hero-content-menu {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    width: 100%;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
    -webkit-box-flex: initial;
    -ms-flex-positive: initial;
    flex-grow: initial;
}

.cl-bildungsportal .c-hero-content-item:hover .titel-2 {
    text-decoration: underline;
}

.cl-bildungsportal .c-hero-content-item:hover .c-triptych-wing__button {
    background-color: var(--johanniter-rot);
    color: var(--johanniter-weiss);
}

.cl-bildungsportal .c-hero-content-item {
    height: calc(100% / 3);
    padding-bottom: 50px;
    padding-top: 50px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    position: relative;
    color: var(--johanniter-weiss);
}

:has(.cl-bildungsportal .c-hero-content-item:nth-child(3)) .cl-bildungsportal .c-hero-content-item:nth-child(1) {
    padding-right: calc(190px / 3 * 1 + 0px);
}

:has(.cl-bildungsportal .c-hero-content-item:nth-child(3)) .cl-bildungsportal .c-hero-content-item:nth-child(2) {
    padding-right: calc(190px / 3 * 2 + 0px);
}

:has(.cl-bildungsportal .c-hero-content-item:nth-child(3)) .cl-bildungsportal .c-hero-content-item:nth-child(3) {
    padding-right: calc(190px / 3 * 3 + 0px);
}