.ah-home-location,
.ah-home-location *,
.ah-home-location *::before,
.ah-home-location *::after {
    box-sizing: border-box;
}

html.ah-home-location-page,
html.ah-home-location-page body {
    overflow-x: hidden !important;
}

@supports (overflow: clip) {
    html.ah-home-location-page,
    html.ah-home-location-page body {
        overflow-x: clip !important;
    }
}

.ah-home-location-widget,
.ah-home-location-widget > .elementor-widget-container {
    position: relative;
    z-index: 6;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}

.ah-home-location-host {
    position: relative !important;
    z-index: 6 !important;

    width: 100% !important;
    max-width: none !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;

    overflow: visible !important;
}

.ah-home-location {
    --ah-location-width: 100vw;
    --ah-location-offset: 0px;
    --ah-location-top-overlap: 0px;

    position: relative;
    z-index: 6;

    width: var(--ah-location-width);
    max-width: none;

    margin:
        calc(
            var(--ah-location-top-overlap)
            *
            -1
        )
        0
        0
        var(--ah-location-offset);

    padding: 96px 0 104px;
    overflow: visible;
    isolation: isolate;

    background: var(--avh-base-warm-white);
    color: var(--avh-base-gray);

    font-family: Verdana, Geneva, sans-serif !important;
}

.ah-home-location::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            ellipse 58% 44% at 18% 14%,
            rgba(var(--avh-rgb-base-warm-white), 0.58) 0%,
            rgba(var(--avh-rgb-base-warm-white), 0) 74%
        ),
        radial-gradient(
            ellipse 54% 44% at 92% 86%,
            rgba(var(--avh-rgb-base-gray), 0.36) 0%,
            rgba(var(--avh-rgb-base-gray), 0) 76%
        );

    pointer-events: none;
}

.ah-home-location__inner {
    position: relative;
    z-index: 2;
    width: min(1420px, calc(100% - 72px));
    margin: 0 auto;
}

.ah-home-location__header {
    width: min(840px, 100%);
    margin: 0 auto 50px;
    text-align: center;
}

.ah-home-location__eyebrow {
    display: block;
    margin: 0 0 13px;
    color: var(--avh-base-gray);

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.17em !important;
    text-transform: uppercase;
}

.ah-home-location__title {
    margin: 0 0 16px;
    color: var(--avh-base-gray);

    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.026em !important;

    text-align: center;
    text-shadow: none !important;
}

.ah-home-location__intro {
    width: min(720px, 100%);
    margin: 0 auto;
    color: rgba(var(--avh-rgb-base-gray), 0.70);

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;

    text-align: center;
}

.ah-home-location__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(370px, 0.68fr);
    gap: 32px;
    align-items: stretch;
}

.ah-home-location__map-column {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.ah-home-location__map-column > .ah-home-location__map-card {
    flex: 1 1 auto;
}

.ah-home-location__map-card {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.11);
    border-radius: 18px;

    background: var(--avh-base-warm-white);

    box-shadow:
        0 18px 46px
        rgba(var(--avh-rgb-base-gray), 0.11);
}

.ah-home-location__map-frame {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: block;
    width: 100%;
    height: 100%;

    border: 0;
    background: var(--avh-base-warm-white);
}

.ah-home-location__map-placeholder {
    position: absolute;
    inset: 0;
    z-index: 6;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(var(--avh-rgb-base-warm-white), 0.99) 0%,
            rgba(var(--avh-rgb-base-warm-white), 0.99) 100%
        );

    transition:
        opacity 260ms ease,
        visibility 260ms ease;
}

.ah-home-location__map-card.is-loaded
.ah-home-location__map-placeholder {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ah-home-location__placeholder-inner {
    width: min(470px, 100%);
    text-align: center;
}

.ah-home-location__pin {
    position: relative;
    display: block;

    width: 54px;
    height: 54px;

    margin: 0 auto 22px;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.48);
    border-radius: 50% 50% 50% 13px;

    background:
        linear-gradient(
            145deg,
            var(--avh-base-gray) 0%,
            var(--avh-base-gray) 100%
        );

    box-shadow:
        0 12px 26px
        rgba(var(--avh-rgb-base-gray), 0.17);

    transform: rotate(-45deg);
}

.ah-home-location__pin::after {
    content: "";

    position: absolute;
    top: 17px;
    left: 17px;

    width: 18px;
    height: 18px;

    border: 3px solid rgba(var(--avh-rgb-base-warm-white), 0.94);
    border-radius: 50%;
}

.ah-home-location__placeholder-title {
    margin: 0 0 10px;
    color: var(--avh-base-gray);

    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.ah-home-location__placeholder-text {
    margin: 0 auto 22px;
    color: rgba(var(--avh-rgb-base-gray), 0.68);

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
}

.ah-home-location__load-button {
    position: relative;
    z-index: 7;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 23px;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.48);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--avh-base-gray) 0%,
            var(--avh-base-gray) 100%
        );

    box-shadow:
        0 9px 22px
        rgba(var(--avh-rgb-base-gray), 0.15);

    color: var(--avh-base-warm-white);
    cursor: pointer;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transition: transform 240ms ease;
}

.ah-home-location__load-button:hover {
    transform: translate3d(0, -2px, 0);
}

.ah-home-location__map-status {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    width: 100%;
    margin: 16px 0 0;
    padding: 16px 18px;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.11);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--avh-base-gray) 0%,
            var(--avh-base-gray) 100%
        );

    box-shadow:
        0 12px 28px
        rgba(var(--avh-rgb-base-gray), 0.12);

    color: var(--avh-base-warm-white);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}


.ah-home-location__status-label {
    display: block;
    margin: 0 0 4px;

    color: rgba(var(--avh-rgb-base-warm-white), 0.62);

    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase;
}

.ah-home-location__status-destination {
    display: block;
    color: var(--avh-base-warm-white);

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.ah-home-location__external-link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 17px;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.72);
    border-radius: 999px;

    background: rgba(var(--avh-rgb-base-gray), 0.18);
    color: var(--avh-base-warm-white);
    text-decoration: none;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transition:
        transform 220ms ease,
        background-color 220ms ease;
}

.ah-home-location__external-link:hover {
    transform: translate3d(0, -1px, 0);
    background: rgba(var(--avh-rgb-base-gray), 0.28);
}

.ah-home-location__panel {
    min-width: 0;
    overflow: hidden;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.11);
    border-radius: 18px;

    background: rgba(var(--avh-rgb-base-warm-white), 0.88);

    box-shadow:
        0 18px 46px
        rgba(var(--avh-rgb-base-gray), 0.08);
}

.ah-home-location__panel-head {
    padding: 27px 27px 23px;

    border-bottom:
        1px solid
        rgba(var(--avh-rgb-base-gray), 0.12);
}

.ah-home-location__panel-title {
    margin: 0 0 8px;
    color: var(--avh-base-gray);

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.ah-home-location__panel-address {
    margin: 0;
    color: rgba(var(--avh-rgb-base-gray), 0.62);

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.ah-home-location__places {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-home-location__place {
    margin: 0;
    padding: 0;
}

.ah-home-location__place-button {
    position: relative;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    column-gap: 13px;
    align-items: center;

    width: 100%;
    margin: 0;
    padding: 18px 22px;

    border: 0;
    border-bottom:
        1px solid
        rgba(var(--avh-rgb-base-gray), 0.10);

    background: rgba(var(--avh-rgb-base-warm-white), 0);
    color: var(--avh-base-gray);

    cursor: pointer;
    text-align: left;

    transition: background-color 220ms ease;
}

.ah-home-location__place:last-child
.ah-home-location__place-button {
    border-bottom: 0;
}

.ah-home-location__place-button::before {
    content: "";

    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 0;

    width: 3px;

    background: var(--avh-base-gray);
    opacity: 0;

    transform: scaleY(0.45);

    transition:
        opacity 220ms ease,
        transform 280ms ease;
}

.ah-home-location__place-button:hover,
.ah-home-location__place-button.is-active {
    background: rgba(var(--avh-rgb-base-warm-white), 0.72);
}

.ah-home-location__place-button.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.ah-home-location__place-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(var(--avh-rgb-base-gray), 0.34);
    border-radius: 50%;

    background: rgba(var(--avh-rgb-base-gray), 0.08);
    color: var(--avh-base-gray);

    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.07em !important;
}

.ah-home-location__place-button.is-active
.ah-home-location__place-index {
    background: var(--avh-base-gray);
    color: var(--avh-base-warm-white);
}

.ah-home-location__place-name {
    display: block;
    margin: 0 0 4px;
    color: var(--avh-base-gray);

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
}

.ah-home-location__place-meta {
    display: block;
    color: rgba(var(--avh-rgb-base-gray), 0.58);

    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.ah-home-location__place-arrow {
    position: relative;
    width: 16px;
    height: 16px;
}

.ah-home-location__place-arrow::before {
    content: "";

    position: absolute;
    top: 7px;
    right: 1px;

    width: 11px;
    height: 1px;

    background: var(--avh-base-gray);
}

.ah-home-location__place-arrow::after {
    content: "";

    position: absolute;
    top: 4px;
    right: 1px;

    width: 7px;
    height: 7px;

    border-top: 1px solid var(--avh-base-gray);
    border-right: 1px solid var(--avh-base-gray);

    transform: rotate(45deg);
}

.ah-home-location__note {
    margin: 23px 0 0;
    color: rgba(var(--avh-rgb-base-gray), 0.50);

    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    text-align: center;
}

.ah-home-location.is-elementor-preview {
    --ah-location-width: 100% !important;
    --ah-location-offset: 0px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin:
        calc(
            var(--ah-location-top-overlap)
            *
            -1
        )
        0
        0
        0 !important;
}

@media (max-width: 1024px) {

    .ah-home-location {
        padding: 80px 0 88px;
    }

    .ah-home-location__inner {
        width: min(100%, calc(100% - 46px));
    }

    .ah-home-location__title {
        font-size: 32px !important;
    }

    .ah-home-location__layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
        gap: 24px;
    }

    .ah-home-location__map-card {
        min-height: 560px;
    }

    .ah-home-location__place-button {
        padding: 16px 17px;
    }
}

@media (max-width: 767px) {

    .ah-home-location {
        padding: 62px 0 68px;
    }

    .ah-home-location__inner {
        width: calc(100% - 26px);
    }

    .ah-home-location__header {
        margin-bottom: 30px;
    }

    .ah-home-location__eyebrow {
        margin-bottom: 11px;
        font-size: 9px !important;
    }

    .ah-home-location__title {
        margin-bottom: 13px;
        font-size: 27px !important;
        line-height: 1.22 !important;
    }

    .ah-home-location__intro {
        font-size: 13px !important;
        line-height: 1.66 !important;
    }

    .ah-home-location__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ah-home-location__map-card {
        min-height: 440px;
        border-radius: 14px;
    }

    .ah-home-location__map-placeholder {
        padding: 24px;
    }

    .ah-home-location__map-status {
        display: block;

        width: 100%;
        margin-top: 12px;
        padding: 14px;
    }

    .ah-home-location__external-link {
        width: 100%;
        margin-top: 12px;
    }

    .ah-home-location__panel {
        border-radius: 14px;
    }

    .ah-home-location__panel-head {
        padding: 22px 19px 18px;
    }

    .ah-home-location__panel-title {
        font-size: 18px !important;
    }

    .ah-home-location__place-button {
        grid-template-columns: 32px minmax(0, 1fr) 16px;
        column-gap: 11px;
        padding: 16px 15px;
    }

    .ah-home-location__place-index {
        width: 32px;
        height: 32px;
    }

    .ah-home-location__place-name {
        font-size: 12px !important;
    }
}

@media (max-width: 390px) {

    .ah-home-location__inner {
        width: calc(100% - 20px);
    }

    .ah-home-location__title {
        font-size: 25px !important;
    }

    .ah-home-location__map-card {
        min-height: 410px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ah-home-location__map-placeholder,
    .ah-home-location__load-button,
    .ah-home-location__place-button,
    .ah-home-location__place-button::before,
    .ah-home-location__external-link {
        transition: none !important;
    }
}


/* ============================================================
   PREMIUM-DIVIDER ZUM BENEFITS-BEREICH
   ============================================================ */


.ah-home-location__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-location__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;
}



/* ============================================================
   PREMIUM-DIVIDER ZUM ABOUT-BEREICH
   ============================================================ */

/*
 * Der untere Divider gehört bewusst zum LOCATION-Shortcode.
 * Dadurch sitzt er technisch an der Unterkante des vorherigen
 * Abschnitts und kann nicht mehr vom About-Background verdeckt
 * werden.
 */

.ah-home-location__divider-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;

    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 -1px 0
        rgba(var(--avh-rgb-base-warm-white), 0.30),

        0 10px 18px
        rgba(var(--avh-rgb-base-gray), 0.10);

    pointer-events: none;
}


/*
 * Kurzer weicher Schatten in den nachfolgenden dunklen
 * About-Bereich. Der Location-Wrapper liegt deshalb bewusst
 * über dem nächsten Elementor-Shortcode.
 */

.ah-home-location__divider-bottom::after {
    content: "";

    position: absolute;
    top: 100%;
    right: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(var(--avh-rgb-base-gray), 0.10) 0%,
            rgba(var(--avh-rgb-base-gray), 0.040) 42%,
            rgba(var(--avh-rgb-base-gray), 0) 100%
        );

    pointer-events: none;
}


@media (max-width: 767px) {

    .ah-home-location__divider-bottom::after {
        height: 12px;
    }

}


/*
 * Der obere Schatten wird für den Übergang neu definiert,
 * damit der Bereich unterhalb des Dividers leicht eingesunken wirkt.
 */

.ah-home-location::before {
    content: "";

    position: absolute;
    top: 3px;
    right: 0;
    left: 0;
    z-index: 1;

    width: auto;
    height: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(var(--avh-rgb-base-gray), 0.10) 0%,
            rgba(var(--avh-rgb-base-gray), 0.045) 34%,
            rgba(var(--avh-rgb-base-gray), 0.014) 68%,
            rgba(var(--avh-rgb-base-gray), 0) 100%
        );

    pointer-events: none;
}


/*
 * Die ruhige Flächentiefe bleibt erhalten.
 */

.ah-home-location::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            ellipse 58% 44% at 18% 14%,
            rgba(var(--avh-rgb-base-warm-white), 0.58) 0%,
            rgba(var(--avh-rgb-base-warm-white), 0) 74%
        ),

        radial-gradient(
            ellipse 54% 44% at 92% 86%,
            rgba(var(--avh-rgb-base-gray), 0.36) 0%,
            rgba(var(--avh-rgb-base-gray), 0) 76%
        );

    pointer-events: none;
}


@media (max-width: 767px) {

    .ah-home-location__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-location__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);
    }

    .ah-home-location::before {
        top: 3px;
        height: 16px;
    }

}
