/* --- Header 1 ------------------------------------------------------------------------------------ */
/* .is-style-header1 {
    max-height: 58.2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.is-style-header1 h1 {
    margin: 0;
    max-width: 45rem;
    text-align: left;
    font-size: clamp(3.75rem, 10vw, 10rem);
    line-height: 90%;
    color: white;
    position: absolute;
    bottom: 5.63rem;
    left: 6.2rem;
} */

/* ------------------------------------------------------------------------------------------------------------ */

/* --- Header 3 ------------------------------------------------------------------------------------ */
/* .is-style-header3 {
    height: 51rem;
    color: var(--color--secondary-1);
}

.is-style-header3 .wp-block-group {
    background-color: white;
    border-radius: 1rem;
    padding: 4rem;
}

.is-style-header3 .wp-block-group h1 {
    margin: 0;
    font-size: var(--font-size--xxx-large);
}

.is-style-header3 .wp-block-group p {
    font-size: var(--font-size--large);
    line-height: 150%;
} */

/* ------------------------------------------------------------------------------------------------------------ */

/*-------------------------------------------Header-1----------------------------------------------*/
section.wp-block-group.header-1,
section.wp-block-group.header-2,
section.wp-block-group.header-3 {
    padding: 2rem;
}

.header-1 .wp-block-cover {
    border-radius: var(--border-radius--medium);
    padding: 0;
    align-items: flex-end;
    height: clamp(30vh, 100vmax + 1rem, 85vh);
    width: 100%;
}

.header-1 .wp-block-heading {
    /* padding: clamp(5.75rem, 3vw + 1rem, 6.75rem); */
    margin: 0 !important; /*muss noch gelöst werden! */
}

.header-1 h1.wp-block-heading {
    font-size: clamp(3.75rem, 11.3766vw + 0.9059rem, 10rem);
    line-height: 0.9em;
    width: 60%;
    color: var(--color--secondary-2);
}

.header-1 .wp-block-group:has(> h1) {
    padding: clamp(1rem, 3vw + 1rem, 5rem);
}

.header-1 h1.wp-block-heading,
.header-3 h1.wp-block-heading {
    margin-bottom: 0;
}

/*-------------CTA----------------*/

.cta {
    background-color: var(--color--primary-1);
    border-radius: 50%;
    width: 15.5rem;
    height: 15.5rem;
    display: flex;
    transform: rotate(-15deg);
    padding: 1rem;
    padding-bottom: 2rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

section .cta a {
    color: var(--color--secondary-2);
}

.cta.wp-block-group p {
    color: var(--color--secondary-2);
    text-align: center;
    font-family: var(--font-family--primary);
    font-size: clamp(0.75rem, 1vw + 0.75rem, 2rem);
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.04em;
}

/*-------------------------------------------Header-2----------------------------------------------*/

.header-2 .textbox {
    border-radius: var(--border-radius--medium);
    box-shadow: 0px 4px 32px 0px rgba(60, 112, 221, 0.2);
    padding: clamp(1.5rem, 2vw + 1rem, 4rem);
    align-content: center;
}

.header-2 h2 {
    margin-bottom: 2rem;
}

.header-2 figure {
    margin: 0;
}

.header-2 figure {
    height: 100%;
}

.header-2 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/*-------------------------------------------Header-3----------------------------------------------*/

.header-3 .wp-block-cover {
    padding: clamp(1rem, 2vw + 1rem, 2.5rem);
    height: clamp(30vh, 100vmax + 1rem, 85vh);
    align-items: flex-end;
    border-radius: var(--border-radius--medium);
}

.header-3 .wp-block-cover__inner-container:has(.textbox) {
    display: flex;
}

.header-3 .textbox {
    background-color: white;
    padding: clamp(1.5rem, 2vw + 1rem, 4rem);
    border-radius: var(--border-radius--medium);
    color: var(--color--secondary-1) !important; /* muss noch gelöst werden! */
    margin-left: 0 !important; /* muss noch gelöst werden! */
    flex-basis: 66%;
    flex-grow: 0;
}

.header-3 h1 {
    padding-bottom: 2rem;
}

/*-------------------------------------------Header-4----------------------------------------------*/

/* .header-4 {
    padding-left: 10.81rem;
    padding-top: 9rem;
    padding-right: 10.88rem;
    padding-bottom: 8.81rem;
} */

.header-4 p {
    width: 100%;
}

/* ------ Media Queries -------------------------------------------------------------------------------- */

@media screen and (max-width: 1279px) {
    .header-1 .wp-block-cover__inner-container {
        height: 100%;
    }

    .header-1 .wp-block-group:has(> h1) {
        padding: clamp(1rem, 3vw + 1rem, 5rem);
        position: relative;
        height: 100%;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: space-between;
    }

    .header-1 h1 {
        width: 100%;
    }

    .header-1 .cta {
        position: absolute;
        top: 02rem;
        right: 2rem;
        margin-right: 0 !important;
        padding: 1rem;
        padding-bottom: 2.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .header-1 h1.wp-block-heading {
        width: 75%;
    }

    .header-1 .wp-block-group:has(> h1) {
        flex-direction: column;
    }

    .header-1 .cta {
        bottom: 02rem;
        top: unset;
    }

    .header-2 .wp-block-group {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .header-2 img {
        aspect-ratio: 7 / 5;
    }

    .header-4 .wp-block-group {
        flex-direction: column;
    }

    .cta {
        width: 12rem;
        height: 12rem;
    }
}

@media screen and (max-width: 781px) {
    .cta {
        width: 10rem;
        height: 10rem;
    }

    .header-1 h1.wp-block-heading {
        width: 100%;
    }

    .header-4 .wp-block-columns .wp-block-column {
        width: 80%;
        flex-grow: unset;
        flex-basis: unset !important;
    }
}

@media screen and (max-width: 600px) {
    section.wp-block-group.header-1,
    section.wp-block-group.header-2,
    section.wp-block-group.header-3 {
        padding: 1rem;
    }

    .header-2 img {
        aspect-ratio: 1 / 1;
    }

    .header-3 .wp-block-cover {
        padding: 0.5rem;
    }

    .header-3 .textbox {
        padding: 1rem;
        background-color: #ffffffe8;
        flex-grow: 1;
    }

    .header-4 .wp-block-columns .wp-block-column {
        width: 100%;
    }
}
