/* ============================================================
   BASIS
   ============================================================ */

.ah-home-about,
.ah-home-about *,
.ah-home-about *::before,
.ah-home-about *::after {
    box-sizing: border-box;
}

html.ah-home-about-page,
html.ah-home-about-page body {
    overflow-x: hidden !important;
}

@supports (overflow: clip) {

    html.ah-home-about-page,
    html.ah-home-about-page body {
        overflow-x: clip !important;
    }

}

.ah-home-about-widget,
.ah-home-about-widget > .elementor-widget-container {
    position: relative !important;
    z-index: 4 !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    overflow: visible !important;
}

.ah-home-about-host {
    position: relative !important;
    z-index: 4 !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;

    /*
     * Elementor hatte unterhalb des Shortcodes noch einen
     * eigenen links→rechts verlaufenden Container-Hintergrund.
     * Diesen Host deshalb vollständig neutralisieren.
     */
    background: var(--avh-base-gray) !important;
    background-image: none !important;

    overflow: visible !important;
}


/* ============================================================
   SECTION
   ============================================================ */

.ah-home-about {
    --ah-about-width: 100vw;
    --ah-about-offset: 0px;
    --ah-about-top-overlap: 0px;

    position: relative;
    z-index: 3;

    display: block;

    width: var(--ah-about-width);
    max-width: none;

    margin:
        calc(
            var(--ah-about-top-overlap)
            *
            -1
        )
        0
        0
        var(--ah-about-offset);

    padding:
        116px
        0
        118px;

    overflow: hidden;
    isolation: isolate;

    border: 0 !important;

    background:
        var(--avh-base-gray);

    /*
     * Kein zusätzlicher oberer Balken oder Innenschatten.
     * Die Abschnittstrennung wird ausschließlich vom
     * eigentlichen 3-px-Divider erzeugt.
     */

    box-shadow: none;

    color: var(--avh-base-warm-white);

    font-family:
        Verdana,
        Geneva,
        sans-serif !important;
}


/*
 * PREMIUM-DIVIDER ZUM LOCATION-BEREICH
 *
 * Bewusst dieselbe technische Struktur wie der funktionierende
 * Divider im Location-Shortcode:
 * - Section z-index: 3
 * - Elementor-Wrapper z-index: 4
 * - Divider z-index: 5
 *
 * Keine extremen z-index-Werte mehr, damit Elementor keinen
 * problematischen separaten Stacking-Context erzeugt.
 */

.ah-home-about__divider::before {
    content: "";

    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    z-index: -1;

    display: block;

    width: 100%;
    height: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(var(--avh-rgb-base-gray), 0) 0%,
            rgba(var(--avh-rgb-base-gray), 0.020) 38%,
            rgba(var(--avh-rgb-base-gray), 0.065) 70%,
            rgba(var(--avh-rgb-base-gray), 0.125) 100%
        );

    pointer-events: none;
}

.ah-home-about__divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;

    display: block;

    width: 100%;
    min-width: 100%;
    height: 3px;

    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            90deg,
            var(--avh-base-gray) 0%,
            var(--avh-base-gray) 24%,
            var(--avh-base-gray) 76%,
            var(--avh-base-gray) 100%
        );

    box-shadow:
        0 -12px 22px
        rgba(var(--avh-rgb-base-gray), 0.085),

        0 1px 0
        rgba(var(--avh-rgb-base-warm-white), 0.42),

        0 10px 18px
        rgba(var(--avh-rgb-base-gray), 0.08);

    pointer-events: none;
}

@media (max-width: 767px) {

    .ah-home-about__divider::before {
        height: 25px;

        background:
            linear-gradient(
                180deg,
                rgba(var(--avh-rgb-base-gray), 0) 0%,
                rgba(var(--avh-rgb-base-gray), 0.020) 36%,
                rgba(var(--avh-rgb-base-gray), 0.055) 70%,
                rgba(var(--avh-rgb-base-gray), 0.105) 100%
            );
    }

    .ah-home-about__divider {
        box-shadow:
            0 -9px 16px
            rgba(var(--avh-rgb-base-gray), 0.075),

            0 1px 0
            rgba(var(--avh-rgb-base-warm-white), 0.40),

            0 8px 14px
            rgba(var(--avh-rgb-base-gray), 0.072);
    }

}


/*
 * Ruhige Hintergrundtiefe.
 */

.ah-home-about::before {
    content: none !important;
}

.ah-home-about::after {
    content: none !important;
}


/* ============================================================
   INNERER BEREICH
   ============================================================ */

.ah-home-about__inner {
    position: relative;
    z-index: 2;

    width:
        min(
            1360px,
            calc(100% - 72px)
        );

    margin: 0 auto;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.ah-home-about__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    gap:
        clamp(
            58px,
            7vw,
            112px
        );

    align-items: center;
}


/* ============================================================
   VISUELLER BEREICH
   ============================================================ */

.ah-home-about__visual {
    position: relative;

    min-height: 490px;

    overflow: hidden;

    border: 0 !important;
    outline: 0 !important;

    border-radius: 20px;

    /*
     * Ruhige, einfarbige Logo-Fläche.
     * Kein Verlauf hinter dem Logo.
     */
    background:
        var(--avh-base-warm-white);

    /*
     * Ausschließlich dunkle Innenschatten.
     * Keine weiße Außenkante und kein äußerer Schatten.
     */

    box-shadow:
        inset 0 24px 36px
        rgba(var(--avh-rgb-base-gray), 0.14),

        inset 0 -24px 36px
        rgba(var(--avh-rgb-base-gray), 0.13),

        inset 20px 0 32px
        rgba(var(--avh-rgb-base-gray), 0.085),

        inset -20px 0 32px
        rgba(var(--avh-rgb-base-gray), 0.085) !important;
}

.ah-home-about__visual::before {
    content: none;
}

.ah-home-about__visual::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    /*
     * Kein Verlauf / Glow hinter dem Logo.
     * Der mehrseitige Innenschatten bleibt als dezente
     * räumliche Abgrenzung der Fläche erhalten.
     */
    background: transparent;

    /*
     * Mehrseitiger Innenschatten für einen eingelassenen,
     * nicht schwebenden Eindruck.
     */

    box-shadow:
        inset 0 22px 34px
        rgba(var(--avh-rgb-base-gray), 0.14),

        inset 0 -20px 32px
        rgba(var(--avh-rgb-base-gray), 0.12),

        inset 18px 0 30px
        rgba(var(--avh-rgb-base-gray), 0.08),

        inset -18px 0 30px
        rgba(var(--avh-rgb-base-gray), 0.08);

    pointer-events: none;
}

.ah-home-about__visual-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 490px;

    padding:
        54px
        44px
        38px;

    text-align: center;
}

.ah-home-about__logo {
    display: block;

    width:
        min(
            420px,
            78%
        );

    max-width: 100%;
    height: auto;

    margin:
        0
        auto;

    filter: none !important;
    image-rendering: auto;
}



/* ============================================================
   TEXTBEREICH
   ============================================================ */

.ah-home-about__content {
    min-width: 0;
}

.ah-home-about__eyebrow {
    display: block;

    margin:
        0
        0
        15px;

    color: var(--avh-base-gray);

    font-family:
        Verdana,
        Geneva,
        sans-serif !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.18em !important;

    text-transform: uppercase;
}

.ah-home-about__title {
    max-width: 720px;

    margin:
        0
        0
        24px;

    color: var(--avh-base-warm-white);

    font-family:
        Verdana,
        Geneva,
        sans-serif !important;

    font-size:
        clamp(
            36px,
            4vw,
            55px
        ) !important;

    font-weight: 700 !important;
    line-height: 1.13 !important;
    letter-spacing: -0.034em !important;

    text-align: left;
    text-transform: none !important;

    text-shadow: none !important;
}

.ah-home-about__text {
    max-width: 690px;

    margin:
        0
        0
        34px;

    color:
        rgba(var(--avh-rgb-base-warm-white), 0.72);

    font-family:
        Verdana,
        Geneva,
        sans-serif !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
    letter-spacing: 0 !important;

    text-align: left;
}


/* ============================================================
   BUTTON
   ============================================================ */

.ah-home-about__button {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        0
        24px;

    overflow: hidden;

    border:
        1px solid
        rgba(var(--avh-rgb-base-warm-white), 0.78);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--avh-base-warm-white) 0%,
            var(--avh-base-warm-white) 100%
        );

    box-shadow:
        0 12px 28px
        rgba(var(--avh-rgb-base-gray), 0.24);

    color: var(--avh-base-gray);
    text-decoration: none;

    font-family:
        Verdana,
        Geneva,
        sans-serif !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transform:
        translate3d(0, 0, 0);

    transition:
        transform 240ms ease,
        box-shadow 240ms ease;
}

.ah-home-about__button::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            100deg,
            rgba(var(--avh-rgb-base-gray), 0) 0%,
            rgba(var(--avh-rgb-base-gray), 0.12) 48%,
            rgba(var(--avh-rgb-base-gray), 0) 100%
        );

    transform:
        translate3d(-180%, 0, 0)
        skewX(-20deg);

    transition:
        transform
        600ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    pointer-events: none;
}

.ah-home-about__button-text {
    position: relative;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {

    .ah-home-about__button:hover {
        background:
            linear-gradient(
                135deg,
                rgba(var(--avh-rgb-base-warm-white), 0.94) 0%,
                var(--avh-base-warm-white) 100%
            );

        color:
            var(--avh-base-gray);

        transform:
            translate3d(0, -2px, 0);

        box-shadow:
            0 16px 34px
            rgba(var(--avh-rgb-base-gray), 0.30);
    }

    .ah-home-about__button:hover::before {
        transform:
            translate3d(280%, 0, 0)
            skewX(-20deg);
    }

}



.ah-home-about__button:focus-visible {
    outline:
        3px solid
        rgba(var(--avh-rgb-base-warm-white), 0.82);

    outline-offset:
        4px;
}


/* ============================================================
   ELEMENTOR-VORSCHAU
   ============================================================ */

.ah-home-about.is-elementor-preview {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

    .ah-home-about {
        padding:
            92px
            0
            94px;
    }

    .ah-home-about__inner {
        width:
            min(
                100%,
                calc(100% - 46px)
            );
    }

    .ah-home-about__layout {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(0, 1.05fr);

        gap: 42px;
    }

    .ah-home-about__visual,
    .ah-home-about__visual-inner {
        min-height: 420px;
    }

    .ah-home-about__visual-inner {
        padding:
            42px
            30px
            30px;
    }

    .ah-home-about__logo {
        width:
            min(
                330px,
                78%
            );

        margin: 0 auto;
    }


    .ah-home-about__title {
        font-size: 36px !important;
        line-height: 1.17 !important;
    }

    .ah-home-about__text {
        font-size: 14px !important;
        line-height: 1.74 !important;
    }

}


/* ============================================================
   SMARTPHONE
   ============================================================ */

@media (max-width: 767px) {

    .ah-home-about {
        box-shadow: none;
        padding:
            96px
            0
            72px;
    }

    .ah-home-about__inner {
        width:
            calc(100% - 26px);
    }

    .ah-home-about__layout {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 37px;
    }

    .ah-home-about__visual {
        min-height: 330px;

        border-radius: 15px;
    }

    .ah-home-about__visual::after {
        box-shadow:
            inset 0 16px 25px
            rgba(var(--avh-rgb-base-gray), 0.12),

            inset 0 -15px 24px
            rgba(var(--avh-rgb-base-gray), 0.10),

            inset 12px 0 20px
            rgba(var(--avh-rgb-base-gray), 0.07),

            inset -12px 0 20px
            rgba(var(--avh-rgb-base-gray), 0.07);
    }

    .ah-home-about__visual-inner {
        min-height: 330px;

        padding:
            34px
            22px
            24px;
    }

    .ah-home-about__logo {
        width:
            min(
                250px,
                74%
            );

        margin: 0 auto;
    }


    .ah-home-about__eyebrow {
        margin-bottom: 12px;

        font-size: 9px !important;
    }

    .ah-home-about__title {
        margin-bottom: 18px;

        font-size: 29px !important;
        line-height: 1.20 !important;
        letter-spacing: -0.024em !important;
    }

    .ah-home-about__text {
        margin-bottom: 27px;

        font-size: 13px !important;
        line-height: 1.70 !important;
    }

    .ah-home-about__button {
        min-height: 46px;

        padding:
            0
            21px;

        font-size: 11px !important;
    }

}


/* ============================================================
   KLEINE SMARTPHONES
   ============================================================ */

@media (max-width: 390px) {

    .ah-home-about {
        padding-top: 86px;
    }

    .ah-home-about__inner {
        width:
            calc(100% - 20px);
    }

    .ah-home-about__title {
        font-size: 27px !important;
    }

    .ah-home-about__visual,
    .ah-home-about__visual-inner {
        min-height: 310px;
    }

}


/* ============================================================
   REDUZIERTE BEWEGUNG
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ah-home-about__button,
    .ah-home-about__button::before {
        transition: none !important;
    }

}
