/* Typography */
.section.section-default > .frame-background-primary p.intro-text,
.section.section-default > .frame-background-primary p,
.section.section-default > .frame-background-primary h1,
.section.section-default > .frame-background-primary h2,
.section.section-default > .frame-background-primary h3,
.section.section-default > .frame-background-primary h4,
.section.section-default > .frame-background-primary h5 {
    color: var(--black-dark-super);
}

.section.section-default > .frame-background-secondary p,
.section.section-default > .frame-background-dark p
{
    color: var(--white-color);
}

.section.section-default > .frame-background-primary li {
    color: var(--black-color);
}

.section.section-default > .frame-background-secondary li,
.section.section-default > .frame-background-dark li
{
    color: var(--white-color);
}

main {
    margin-top: -10px;
}

main a {
    color: var(--white-color) !important;
    opacity: 0.7;
}

main a:hover {
    opacity: 1;
}

.section.section-default .frame-type-text {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
}

.section.section-default .frame-type-text.frame-layout-wg-frame-box {
    max-width: 100%;
}

.section.section-default .frame-type-text.frame-layout-wg-frame-box .frame-inner {
    max-width: 860px;
    margin: 0 auto;
}

.section.section-default .frame-type-accordion.frame-layout-wg-frame-box .frame-header {
    max-width: 860px;
    margin: 0 auto;
}


/* Container */
.section.section-default > div:nth-child(1),
.section.section-default > div:nth-child(3)
{
    background-color: var(--primary-color);
}

.section.section-default > div:nth-child(2) {
    position: relative;
    height: 120%; 
    width: 100%;
    background-image: url(/fileadmin/images/WirGastfreunde/background-gastfreunde.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section.section-default > div:nth-child(4)
{
    background-color: var(--secondary-color);
}

.section.section-default > div:nth-child(n+5):nth-child(odd)
{
    background-color: var(--primary-color);
}

.section.section-default > div:nth-child(n+6):nth-child(even)
{
    background-color: var(--secondary-color);
}

.frame-background-primary {
    background-color: var(--primary-color) !important;
}

.frame-background-primary.frame-background-dark {
    background-image: none !important;
}

.frame-background-secondary {
    background-color: var(--secondary-color) !important;
}

.frame-background-secondary.frame-background-dark {
    background-image: none !important;
}

.frame-background-dark {
    position: relative;
    height: 120%;
    width: 100%;
    background-image: url(/fileadmin/images/WirGastfreunde/background-gastfreunde.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-color);
}

.frame-background-dark > div:nth-child(2):before {
    content: '';
    height: 120%;
    width: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    background-image: url(/fileadmin/images/WirGastfreunde/background-gastfreunde.jpg);
    pointer-events: none;
}

.section.section-default > div.frame-background-secondary,
.section.section-default > div.frame-background-dark {
    min-height: 250px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: auto;
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 calc(100% - 50px));
    z-index: 1;
    margin: -50px auto;
}

.section.section-default > div.frame-background-secondary:last-child,
.section.section-default > div.frame-background-dark:last-child {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    margin: -50px 0 0 0;
}

@media (max-width: 575.98px) {
    .section.section-default > div.frame-background-secondary,
    .section.section-default > div.frame-background-dark {
        clip-path: polygon(0 20px, 100% 0, 100% 98.9%, 0 calc(100% - 50px));
    }

    .section.section-default > div.frame-background-secondary:last-child,
    .section.section-default > div.frame-background-dark:last-child {
        clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%) !important;
    }
}


/* Header Content Container*/
.header-content-container {
    overflow: hidden;
}

.header-content-container .frame-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.header-content-container > div {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 1199.98px) {
    .header-content-container .image:before {
        background: transparent;
    }
}


/* Abstände Sections*/
.section.section-default > .frame > div {
    padding: 50px 0;
}

.section.section-default > .frame:first-child {
    padding-top: 25px;
}

.section.section-default > .frame:first-child > div {
    padding-top: 0;
}

/* Abstände der Elemente */
.section.section-default > .frame .contentcontainer-column > div:not(:last-child) {
    padding-bottom: 50px;
}


/* Iframes */
.section.section-default .iframe-ausbildunsplatzboerse {
    background-color: var(--white-color);
    border-radius: var(--border-radius-15);
}

/* eTracker */
.et-content-overlay {
    width: 100% !important;
    height: 100% !important;
}


/*  Frame Layout: frame-layout-wg-frame-box */
.frame-layout-wg-frame-box .frame-container > .frame-inner {
    margin: auto;
}

.section.section-default .frame-layout-wg-frame-box > div > div > .frame-container {
    border-radius: var(--border-radius-15);
    padding: 50px;
}

@media (max-width: 575.98px) {
    .section.section-default .frame-layout-wg-frame-box > div > div > .frame-container {
        padding: 10px;
    }
}

.section.section-default > div.frame-background-primary .frame-layout-wg-frame-box > div > div > .frame-container {
    background-color: var(--primary-color-frame-box);
}

.section.section-default > div.frame-background-secondary .frame-layout-wg-frame-box > div > div > .frame-container {
    background-color: var(--secondary-color-frame-box);
}

.section.section-default > div.frame-background-dark .frame-layout-wg-frame-box > div > div > .frame-container {
    background-color: var(--dark-color-frame-box);
}


/* Frame Layout: frame-layout-wg-text-center */
.frame-layout-wg-text-center {
    padding: 0;
}

.frame-layout-wg-text-center .contentcontainer[data-container-identifier="container_2_columns"] > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.frame-layout-wg-frame-image img {
    margin-bottom: -100px;
}


/* Alert-Hinweis auf Berufe-Seite */
.wg-berufe-notice {
    position: fixed;
    top: 110px;
    right: 16px;
    z-index: 100000;
    width: min(560px, calc(100vw - 32px));
    background: #ad894f;
    color: #ffffff;
    border-radius: 10px;
    padding: 16px 48px 16px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.wg-berufe-notice-text {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.45;
}

.wg-berufe-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.wg-berufe-notice-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}

.wg-berufe-notice-close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .wg-berufe-notice {
        top: 70px;
        bottom: auto;
        right: 12px;
        left: 12px;
        width: auto;
        border-radius: 8px;
        padding: 14px 44px 14px 14px;
    }

    .wg-berufe-notice-text {
        font-size: 14px;
    }
}

@media (max-width: 374px) {
    .wg-berufe-notice {
        top: 60px;
        right: 8px;
        left: 8px;
        padding: 12px 40px 12px 12px;
    }
}