/**
 * Pattern: Hero Default
 *
 * Kompakter zweispaltiger Hero für Unterseiten.
 */


/* --------------------------------------------------------------
   Basis
-------------------------------------------------------------- */

.ls-hero-default {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    color: #fff;
}

.ls-hero-default .wp-block-cover__image-background {
    object-position: center center;
}


/*
 * Dunkler Verlauf:
 * links stärker abgedunkelt für Überschrift,
 * rechts bleibt das türkise Motiv sichtbar.
 */
.ls-hero-default > .wp-block-cover__background {
    background:
            linear-gradient(
                    90deg,
                    rgba(2, 8, 13, .94) 0%,
                    rgba(2, 8, 13, .84) 38%,
                    rgba(2, 8, 13, .58) 68%,
                    rgba(2, 8, 13, .38) 100%
            ) !important;
    opacity: 1 !important;
}


/*
 * Zusätzlicher dezenter Türkis-Glow.
 */
.ls-hero-default::after {
    position: absolute;
    right: -10%;
    bottom: -45%;
    width: 65%;
    height: 110%;
    content: "";
    pointer-events: none;
    background:
            radial-gradient(
                    circle,
                    rgba(45, 224, 221, .16) 0%,
                    rgba(45, 224, 221, .07) 38%,
                    transparent 70%
            );
}

.ls-hero-default .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* --------------------------------------------------------------
   Innerer Bereich
-------------------------------------------------------------- */

.ls-hero-default-inner {
    width: calc(100% - 3rem);
    max-width: 1280px !important;
    margin-right: auto;
    margin-left: auto;
    /*padding-top: clamp(2rem, 3vw, 3rem);*/
    padding-top: clamp(1.6rem, 2vw, 2rem);
    /*padding-top: 0;*/
    padding-bottom: clamp(2rem, 3vw, 3rem);
}

.ls-hero-default-columns {
    width: 100%;
    max-width: 100% !important;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    margin: 0;
}


/* --------------------------------------------------------------
   Linke Spalte
-------------------------------------------------------------- */

.ls-hero-default-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ls-hero-default .ls-eyebrow {
}

.ls-hero-default-title {
    max-width: 680px;
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.08;
    letter-spacing: inherit;
    text-wrap: balance;
}

.ls-hero-default-buttons {
    gap: .75rem;
    margin-top: 0;
}

.ls-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 28px;
}

.ls-hero-benefits p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.4;
}

.ls-hero-benefits p::before {
    content: "✓";
    color: var(--wp--preset--color--custom-longside-cyan);
    font-weight: 600;
}

/* --------------------------------------------------------------
   Intro-Panel rechts
-------------------------------------------------------------- */

.ls-hero-default-panel {
    width: 100%;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background:
            linear-gradient(
                    135deg,
                    rgba(10, 24, 31, .58),
                    rgba(6, 17, 24, .32)
            );
    box-shadow:
            0 16px 40px rgba(0, 0, 0, .18),
            inset 0 1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ls-hero-default-intro {
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    line-height: 1.55;
}

.ls-hero-default-buttons {
    gap: .75rem;
    margin-top: 1.25rem;
}



/* --------------------------------------------------------------
   responsive
-------------------------------------------------------------- */

@media (max-width: 1150px) {
    .ls-hero-default-inner {
        padding-top: 6.5rem;
    }
}





@media (max-width: 900px) {

    .ls-hero-default {
        min-height: auto;
    }

    .ls-hero-default-columns {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }

    .ls-hero-default-main,
    .ls-hero-default-side {
        flex-basis: 100% !important;
    }

    .ls-hero-default-title {
        max-width: 820px;
    }

    .ls-hero-default-panel {
        max-width: 720px;
    }

}


/* --------------------------------------------------------------
   Smartphone
-------------------------------------------------------------- */

@media (max-width: 600px) {

    .ls-hero-default-inner {
        padding-bottom: 3.5rem;
    }

    .ls-hero-default-title {
        /*margin-bottom: 1.5rem;
        font-size: clamp(2.25rem, 11vw, 3.25rem);*/

        font-size: 30px;
        line-height: 1.15;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: auto;
    }

    .ls-hero-default-panel {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .ls-hero-default-intro {
        font-size: 1rem;
        line-height: 1.65;
    }

}