/* =========================================================

   LEISTUNG — HEIZ- & NEBENKOSTENABRECHNUNG

========================================================= */

/* =========================================================

   BASIS

========================================================= */

body .billing-page {
background: var(--palette-paper);color: var(--palette-ink);font-family: "Inter", sans-serif;
}

body .billing-page *,

body .billing-page *::before,

body .billing-page *::after {

    box-sizing: border-box;

}

body .billing-container {

    width:min(1280px, calc(100% - 56px));

    margin-left: auto;

    margin-right: auto;

}

body .billing-eyebrow {

    margin: 0 0 10px;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: var(--color-primary-text);

}

/* =========================================================

   HEADLINES

========================================================= */

body .billing-section-head {

    margin-bottom: 24px;

}

body .billing-section-head h2 {

    max-width: 760px;

    margin: 0;

    font-size: clamp(30px, 2.8vw, 44px);

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.04em;

    color: var(--palette-ink);

}

body .billing-section-head h2 span {

    color: var(--color-primary-text);

}

body .billing-section-head > p {

    max-width: 700px;

    margin: 12px 0 0;

    font-size: 15px;

    line-height: 1.65;

    color: var(--palette-value-1242b02bf4);

}

/* =========================================================

   BUTTONS

========================================================= */

body .billing-page .extern-button {

    min-height: 48px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 750;

    line-height: 1;

    text-decoration: none;

    transition:

        transform 220ms cubic-bezier(.22, 1, .36, 1),

        box-shadow 220ms ease,

        background 220ms ease,

        color 220ms ease,

        border-color 220ms ease;

}

body .billing-page .extern-button span {

    transition:

        transform 220ms cubic-bezier(.22, 1, .36, 1);

}

body .billing-page .extern-button:hover span {

    transform: translateX(4px);

}

body .billing-page .extern-button--red {

    border: 1px solid var(--color-primary);

    background: var(--color-primary);

    color: var(--palette-paper);

}

body .billing-page .extern-button--red:hover {

    transform: translateY(-2px);

    background: var(--palette-ink);

    border-color: var(--palette-ink);

    color: var(--palette-paper);

    box-shadow:

        0 12px 26px var(--palette-value-d7d8a6c85b);

}

/* =========================================================

   INTRO / BERATUNG

========================================================= */

body .billing-intro {

    padding: 54px 0 58px;

    background: var(--palette-paper);

}

body .billing-intro__inner {
    display: grid;

    grid-template-columns:
        minmax(260px, 437px)
        minmax(0, 1fr);

    gap: 64px;

    align-items: center;
}

/* BILD LINKS */

body .billing-intro__visual {
    width: 100%;
    max-width: 437px;

    justify-self: start;

    overflow: hidden;

    border-radius: 24px;

    background: var(--palette-sand);
}

body .billing-intro__visual img {

    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:

        transform 500ms cubic-bezier(.22, 1, .36, 1);

}

body .billing-intro__visual:hover img {

    transform: scale(1.025);

}

/* TEXT RECHTS */

body .billing-intro__content {

    width: 100%;

    max-width: 700px;

}

body .billing-intro__content h2 {

    max-width: 650px;

    margin: 0 0 20px;

    font-size: clamp(30px, 2.8vw, 44px);

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.04em;

    color: var(--palette-ink);

}

body .billing-intro__content h2 span {

    color: var(--color-primary-text);

}

body .billing-intro__content p {

    max-width: 680px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: var(--palette-value-1242b02bf4);

}

body .billing-intro__content p + p {

    margin-top: 13px;

}

/* CHECKS */

body .billing-intro__benefits {

    margin: 22px 0 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 9px;

    list-style: none;

}

body .billing-intro__benefits > li {

    position: relative;

    margin: 0;

    padding-left: 27px;

    list-style: none;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.45;

    color: var(--palette-ink);

}

body .billing-intro__benefits > li::marker {

    content: "";

}

body .billing-intro__benefits > li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 1px;

    width: 18px;

    height: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--color-accent);

    color: var(--palette-paper);

    font-size: 10px;

    font-weight: 900;

}

/* MOBILE */

@media (max-width: 900px) {

    body .billing-intro {

        padding: 38px 0 44px;

    }

    body .billing-intro__inner {

        grid-template-columns: 1fr;

        gap: 28px;

    }

    body .billing-intro__visual {

        width: min(100%, 420px);

        max-width: 420px;

        justify-self: center;

        border-radius: 20px;

    }

    body .billing-intro__content {

        max-width: 680px;

    }

}

@media (max-width: 620px) {

    body .billing-intro {

        padding: 32px 0 38px;

    }

    body .billing-intro__visual {

        width: 100%;

        max-width: 360px;

        border-radius: 18px;

    }

    body .billing-intro__content h2 {

        font-size: clamp(28px, 8vw, 36px);

    }

    body .billing-intro__content p {

        font-size: 14px;

        line-height: 1.65;

    }

}

/* =========================================================

   PROZESS

========================================================= */

body .billing-process {

    padding: 36px 0 48px;

    background:

        linear-gradient(

            180deg,

            rgba(var(--color-primary-rgb), 0.022),

            rgba(var(--color-primary-rgb), 0.05)

        );

}

body .billing-process__grid {

    display: grid;

    grid-template-columns:

        repeat(5, minmax(0, 1fr));

    gap: 16px;

    perspective: 1400px;

}

body .billing-process-card {

    position: relative;

    min-height: 310px;

    padding: 22px 20px;

    display: flex;

    flex-direction: column;

    border-radius: 22px;

    background: var(--palette-paper);

    box-shadow:

        0 10px 30px var(--palette-value-878f17d687);

    transition:

        transform 280ms cubic-bezier(.22, 1, .36, 1),

        box-shadow 280ms ease;

}

body .billing-process-card:hover {

    transform: translateY(-5px);

    box-shadow:

        0 15px 34px var(--palette-value-cb67ec69b1);

}

body .billing-process-card__number {

    position: absolute;

    top: 17px;

    left: 17px;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(var(--color-primary-rgb), 0.09);

    color: var(--color-primary-text);

    font-size: 11px;

    font-weight: 850;

}

/* =========================================================

   PROZESS ICONS

========================================================= */

body .billing-process-card__icon {

    width: 100%;

    height: 108px;

    margin: 38px 0 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 900px;

}

body .billing-process-card__icon img {

    width: auto;

    height: auto;

    max-width: 88px;

    max-height: 88px;

    display: block;

    object-fit: contain;

    transform:

        perspective(900px)

        rotateX(-88deg)

        rotateY(-18deg)

        translateY(18px)

        scale(.86);

    transform-origin: center bottom;

    opacity: 0;

    backface-visibility: hidden;

}

body .billing-process-card.is-visible

.billing-process-card__icon img {

    animation:

        billingIconFlipIn

        880ms

        cubic-bezier(.16, 1, .3, 1)

        forwards;

}

body .billing-process-card:nth-child(2).is-visible

.billing-process-card__icon img {

    animation-delay: 100ms;

}

body .billing-process-card:nth-child(3).is-visible

.billing-process-card__icon img {

    animation-delay: 200ms;

}

body .billing-process-card:nth-child(4).is-visible

.billing-process-card__icon img {

    animation-delay: 300ms;

}

body .billing-process-card:nth-child(5).is-visible

.billing-process-card__icon img {

    animation-delay: 400ms;

}

@keyframes billingIconFlipIn {

    0% {

        opacity: 0;

        transform:

            perspective(900px)

            rotateX(-88deg)

            rotateY(-18deg)

            translateY(18px)

            scale(.86);

    }

    55% {

        opacity: 1;

        transform:

            perspective(900px)

            rotateX(12deg)

            rotateY(4deg)

            translateY(-3px)

            scale(1.03);

    }

    76% {

        transform:

            perspective(900px)

            rotateX(-4deg)

            rotateY(-2deg)

            translateY(1px)

            scale(.99);

    }

    100% {

        opacity: 1;

        transform:

            perspective(900px)

            rotateX(0)

            rotateY(0)

            translateY(0)

            scale(1);

    }

}

body .billing-process-card h3 {

    margin: 0 0 9px;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.2;

    color: var(--palette-ink);

}

body .billing-process-card p {

    margin: 0;

    font-size: 13px;

    line-height: 1.55;

    color: var(--palette-value-0bbdcfe4f3);

}

/* =========================================================

   DATENAUSTAUSCH

========================================================= */

body .billing-data {

    padding: 42px 0 48px;

}

body .billing-data__inner {

    display: grid;

    grid-template-columns:

        minmax(0, .92fr)

        minmax(0, 1.08fr);

    gap: 54px;

    align-items: center;

}

body .billing-data__content h2 {

    max-width: 540px;

    margin: 0 0 17px;

    font-size: clamp(30px, 2.8vw, 43px);

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.04em;

    color: var(--palette-ink);

}

body .billing-data__content p {

    max-width: 570px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: var(--palette-value-1242b02bf4);

}

body .billing-data__content p + p {

    margin-top: 13px;

}

body .billing-data__visual {

    padding: 22px;

    border-radius: 24px;

    background: rgba(var(--color-primary-rgb), 0.035);

}

body .billing-data__visual img {

    width: 100%;

    height: auto;

    display: block;

    object-fit: contain;

}

/* =========================================================

   DETAIL

========================================================= */

body .billing-detail {

    padding: 38px 0 46px;

    background: var(--palette-paper);

}

body .billing-detail .billing-section-head {

    margin-bottom: 26px;

}

body .billing-detail-row {

    position: relative;

    min-height: 176px;

    padding: 22px 28px;

    display: grid;

    grid-template-columns:

        50px

        160px

        minmax(0, 1fr);

    gap: 24px;

    align-items: center;

    border-radius: 24px;

}

body .billing-detail-row:nth-of-type(even) {

    background: rgba(var(--color-primary-rgb), 0.035);

}

body .billing-detail-row + .billing-detail-row {

    margin-top: 10px;

}

body .billing-detail-row__number {

    align-self: start;

    padding-top: 5px;

    font-size: 19px;

    font-weight: 900;

    line-height: 1;

    color: var(--color-primary-text);

}

/* =========================================================

   DETAIL BILDER

   ORIGINALFORMAT

========================================================= */

body .billing-detail-row__image {

    width: 160px;

    padding: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: var(--palette-value-ba015e7752);

    overflow: visible;

}

body .billing-detail-row__image img {

    width: auto;

    height: auto;

    max-width: 136px;

    max-height: 136px;

    display: block;

    object-fit: contain;

    object-position: center;

    transform: none;

    image-rendering: auto;

}

/* =========================================================

   DETAIL TEXT

========================================================= */

body .billing-detail-row__content {

    max-width: 780px;

}

body .billing-detail-row__content h3 {

    margin: 0 0 10px;

    font-size: clamp(18px, 1.45vw, 23px);

    font-weight: 850;

    line-height: 1.16;

    letter-spacing: -.02em;

    color: var(--palette-ink);

}

body .billing-detail-row__content p {

    margin: 0;

    font-size: 14px;

    line-height: 1.65;

    color: var(--palette-value-d03a497cf9);

}

body .billing-detail-row__content p + p {

    margin-top: 8px;

}

/* =========================================================

   DETAIL LISTEN

========================================================= */

body .billing-detail-row__content ul {

    margin: 11px 0;

    padding: 0;

    list-style: none;

}

body .billing-detail-row__content ul > li {

    position: relative;

    display: block;

    margin: 0 0 7px;

    padding: 0 0 0 25px;

    list-style: none;

    font-size: 14px;

    line-height: 1.55;

    color: var(--palette-value-1242b02bf4);

}

body .billing-detail-row__content ul > li::marker {

    content: "";

}

body .billing-detail-row__content ul > li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 1px;

    width: 17px;

    height: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--color-accent);

    color: var(--palette-paper);

    font-size: 9px;

    font-weight: 900;

}

/* =========================================================

   FAQ

========================================================= */

body .billing-faq {

    padding: 32px 0 44px;

    background: var(--palette-value-1f7a687cbc);

}

body .billing-faq .billing-section-head {

    margin-bottom: 18px;

}

body .billing-faq details {

    width: 100%;

    border-top:

        1px solid var(--palette-value-358eb49133);

}

body .billing-faq details:last-child {

    border-bottom:

        1px solid var(--palette-value-358eb49133);

}

body .billing-faq details > summary {

    position: relative;

    min-height: 66px;

    padding:

        0

        55px

        0

        0;

    display: flex;

    align-items: center;

    cursor: pointer;

    list-style: none;

    font-size: 15px;

    font-weight: 750;

    line-height: 1.4;

    color: var(--palette-ink);

    transition:

        color 180ms ease;

}

body .billing-faq details > summary::-webkit-details-marker {

    display: none;

}

body .billing-faq details:not([open]) > summary,

body .billing-faq details:not([open]) > summary:hover,

body .billing-faq details:not([open]) > summary:focus,

body .billing-faq details:not([open]) > summary:focus-visible {

    color: var(--palette-ink) !important;

}

body .billing-faq details[open] > summary,

body .billing-faq details[open] > summary:hover,

body .billing-faq details[open] > summary:focus,

body .billing-faq details[open] > summary:focus-visible {

    color: var(--color-primary-text) !important;

}

/* =========================================================

   FAQ PLUS / X

========================================================= */

body .billing-faq details > summary::after {

    position: absolute;

    right: 3px;

    top: 50%;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    border-radius: 50%;

    font-size: 20px;

    transition:

        color 180ms ease,

        background 180ms ease;

}

body .billing-faq details:not([open]) > summary::after {

    content: "+";

    background: rgba(var(--color-accent-rgb), 0.11);

    color: var(--color-accent);

}

body .billing-faq details[open] > summary::after {

    content: "×";

    background: rgba(var(--color-primary-rgb), 0.08);

    color: var(--color-primary-text);

}

/* =========================================================

   FAQ CONTENT

========================================================= */

body .billing-faq details p {

    max-width: 850px;

    margin: 0;

    padding:

        0

        0

        22px;

    font-size: 14px;

    line-height: 1.7;

    color: var(--palette-value-d03a497cf9);

}

/* =========================================================

   FINAL CTA

========================================================= */

body .billing-final-cta {

    position: relative;

    width: min(1280px, calc(100vw - 80px));

    min-height: 210px;

    margin:

        16px

        auto

        68px;

    display: grid;

    grid-template-columns:

        minmax(0, 1.35fr)

        minmax(340px, .65fr);

    overflow: hidden;

    border-radius: 26px;

    background: var(--palette-sand);

}

body .billing-final-cta__content {

    position: relative;

    z-index: 3;

    padding: 26px 40px;

    display: grid;

    grid-template-columns:

        minmax(0, 1fr)

        auto;

    grid-template-areas:

        "title title"

        "list button";

    gap:

        14px

        32px;

    align-items: center;

}

body .billing-final-cta__content h2 {

    grid-area: title;

    max-width: 620px;

    margin: 0;

    font-size: clamp(26px, 2.25vw, 36px);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.04em;

    color: var(--palette-ink);

}

body .billing-final-cta__content h2 span {

    color: var(--color-primary-text);

}

/* =========================================================

   CTA LISTE

========================================================= */

body .billing-final-cta__content ul {

    grid-area: list;

    margin: 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 7px;

    list-style: none;

}

body .billing-final-cta__content li {

    position: relative;

    margin: 0;

    padding: 0 0 0 25px;

    list-style: none;

    font-size: 13px;

    font-weight: 650;

    color: var(--palette-ink);

}

body .billing-final-cta__content li::marker {

    content: "";

}

body .billing-final-cta__content li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 0;

    width: 17px;

    height: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--color-accent);

    color: var(--palette-paper);

    font-size: 9px;

    font-weight: 900;

}

body .billing-final-cta__content .extern-button {

    grid-area: button;

}

/* =========================================================

   CTA BILD

========================================================= */

body .billing-final-cta__image {

    position: relative;

    min-height: 210px;

    overflow: hidden;

}

body .billing-final-cta__image::before {

    content: "";

    position: absolute;

    z-index: 2;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            var(--palette-sand) 0%,

            var(--palette-value-105b93da3c) 15%,

            transparent 46%

        );

}

body .billing-final-cta__image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

}

/* =========================================================

   TABLET

========================================================= */

@media (max-width: 1100px) {

    body .billing-container {

        width:min(1280px, calc(100% - 56px));

    }

    body .billing-process__grid {

        grid-template-columns:

            repeat(3, minmax(0, 1fr));

    }

    body .billing-detail-row {

        grid-template-columns:

            45px

            130px

            minmax(0, 1fr);

    }

    body .billing-detail-row__image {

        width: 130px;

        display: flex;

        align-items: center;

        justify-content: center;

        text-align: center;

    }

    body .billing-detail-row__image img {

        width: auto;

        height: auto;

        max-width: 108px;

        max-height: 108px;

        object-fit: contain;

    }

    body .billing-final-cta {

        width: calc(100vw - 50px);

        grid-template-columns:

            minmax(0, 1fr)

            320px;

    }

}

/* =========================================================

   MOBILE

========================================================= */

@media (max-width: 900px) {

    body .billing-page {

}

    body .billing-container {

        width:min(1280px, calc(100% - 30px));

    }

    /* =====================================================

       INTRO

    ====================================================== */

    body .billing-intro {

        padding:

            28px

            0

            20px;

    }

    body .billing-intro__inner {

        grid-template-columns: 1fr;

        gap: 16px;

    }

    /* =====================================================

       PROZESS

    ====================================================== */

    body .billing-process {

        padding:

            30px

            0

            38px;

    }

    body .billing-process__grid {

        grid-template-columns:

            repeat(2, minmax(0, 1fr));

    }

    /* =====================================================

       DATENAUSTAUSCH

    ====================================================== */

    body .billing-data {

        padding:

            30px

            0

            38px;

    }

    body .billing-data__inner {

        grid-template-columns: 1fr;

        gap: 26px;

    }

    /* =====================================================

       DETAIL

    ====================================================== */

    body .billing-detail {

        padding:

            30px

            0

            38px;

    }

    body .billing-detail-row {

        grid-template-columns:

            42px

            minmax(0, 1fr);

        gap:

            12px

            15px;

        padding:

            20px

            16px;

    }

    body .billing-detail-row__number {

        grid-column: 1;

        grid-row: 1;

        align-self: start;

    }

    body .billing-detail-row__image {

        grid-column: 2;

        grid-row: 1;

        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        text-align: center;

    }

    body .billing-detail-row__image img {

        width: auto;

        height: auto;

        max-width: 105px;

        max-height: 105px;

        display: block;

        object-fit: contain;

        object-position: center;

    }

    body .billing-detail-row__content {

        grid-column: 2;

        grid-row: 2;

    }

    /* =====================================================

       FAQ

    ====================================================== */

    body .billing-faq {

        padding:

            26px

            0

            36px;

    }

    /* =====================================================

       CTA

    ====================================================== */

    body .billing-final-cta {

        width: calc(100vw - 20px);

        margin-bottom: 48px;

        grid-template-columns: 1fr;

    }

    body .billing-final-cta__content {

        padding:

            26px

            22px;

        grid-template-columns: 1fr;

        grid-template-areas:

            "title"

            "list"

            "button";

    }

    body .billing-final-cta__content h2 {

        font-size:

            clamp(27px, 7vw, 36px);

    }

    body .billing-final-cta__image {

        min-height: 210px;

    }

}

/* =========================================================

   SMALL MOBILE

========================================================= */

@media (max-width: 620px) {

    body .billing-section-head h2 {

        font-size:

            clamp(28px, 8vw, 36px);

    }

    /* =====================================================

       PROZESS

    ====================================================== */

    body .billing-process__grid {

        grid-template-columns: 1fr;

    }

    body .billing-process-card {

        min-height: 270px;

    }

    /* =====================================================

       DETAIL

    ====================================================== */

    body .billing-detail-row {

        display: block;

    }

    body .billing-detail-row__number {

        display: block;

        margin-bottom: 12px;

    }

    body .billing-detail-row__image {

        width: 100%;

        margin-bottom: 16px;

        display: flex;

        align-items: center;

        justify-content: center;

        text-align: center;

    }

    body .billing-detail-row__image img {

        width: auto;

        height: auto;

        max-width: 95px;

        max-height: 95px;

        display: block;

        object-fit: contain;

        object-position: center;

    }

    /* =====================================================

       FAQ

    ====================================================== */

    body .billing-faq details > summary {

        padding-right: 48px;

        font-size: 14px;

    }

    /* =====================================================

       CTA

    ====================================================== */

    body .billing-final-cta__content h2 {

        font-size:

            clamp(25px, 7.5vw, 32px);

    }

}

/* =========================================================

   REDUCED MOTION

========================================================= */

@media (prefers-reduced-motion: reduce) {

    body .billing-process-card__icon img {

        opacity: 1;

        transform: none;

        animation: none;

    }

    body .billing-page *,

    body .billing-page *::before,

    body .billing-page *::after {

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-delay: 0ms !important;

    }

}

/* =========================================================

   DATENAUSTAUSCH LIGHTBOX

========================================================= */

/* =========================================================

   LIGHTBOX TRIGGER

========================================================= */

body .billing-lightbox-trigger {

    width: 100%;

    margin: 0;

    padding: 0;

    display: block;

    border: 0 !important;

    outline: 0 !important;

    border-radius: 0;

    background: transparent !important;

    box-shadow: none !important;

    cursor: zoom-in;

    appearance: none;

    -webkit-appearance: none;

}

body .billing-lightbox-trigger:hover,

body .billing-lightbox-trigger:focus,

body .billing-lightbox-trigger:focus-visible,

body .billing-lightbox-trigger:active {

    border: 0 !important;

    outline: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

}

body .billing-lightbox-trigger img {

    width: 100%;

    height: auto;

    display: block;

    border: 0;

    outline: 0;

    border-radius: 0;

    box-shadow: none;

    object-fit: contain;

    transition:

        transform 260ms cubic-bezier(.22, 1, .36, 1);

}

body .billing-lightbox-trigger:hover img {

    transform: scale(1.015);

}

/* =========================================================

   LIGHTBOX OVERLAY

========================================================= */

body .billing-lightbox {

    position: fixed;

    inset: 0;

    z-index: 999999;

    padding: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--palette-value-d85fd9250a);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:

        opacity 220ms ease,

        visibility 220ms ease;

}

body .billing-lightbox.is-open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}

/* =========================================================

   LIGHTBOX BILD

========================================================= */

body .billing-lightbox__image {

    width: auto;

    height: auto;

    max-width: min(1300px, calc(100vw - 120px));

    max-height: calc(100vh - 120px);

    display: block;

    object-fit: contain;

    border: 0;

    border-radius: 18px;

    background: var(--palette-paper);

    box-shadow:

        0 30px 100px var(--palette-value-ff87aec231);

    transform: scale(.94);

    transition:

        transform 300ms cubic-bezier(.22, 1, .36, 1);

}

body .billing-lightbox.is-open

.billing-lightbox__image {

    transform: scale(1);

}

/* =========================================================

   LIGHTBOX SCHLIESSEN

========================================================= */

body .billing-lightbox__close {

    position: absolute;

    top: 28px;

    right: 30px;

    z-index: 5;

    width: 46px;

    height: 46px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0 !important;

    outline: 0 !important;

    border-radius: 50%;

    background: var(--palette-paper) !important;

    color: var(--palette-ink);

    box-shadow: none !important;

    font-family: "Inter", sans-serif;

    font-size: 27px;

    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;

    transition:

        background 180ms ease,

        color 180ms ease,

        transform 220ms ease;

}

body .billing-lightbox__close:hover {

    background: var(--color-primary) !important;

    color: var(--palette-paper);

    transform: rotate(90deg);

}

body.billing-lightbox-open {

    overflow: hidden;

}

/* =========================================================

   LIGHTBOX MOBILE

========================================================= */

@media (max-width: 700px) {

    body .billing-lightbox {

        padding: 22px;

    }

    body .billing-lightbox__image {

        max-width: calc(100vw - 44px);

        max-height: calc(100vh - 70px);

        border-radius: 14px;

    }

    body .billing-lightbox__close {

        top: 14px;

        right: 14px;

        width: 42px;

        height: 42px;

    }

}

body .billing-container {
    width:min(1280px, calc(100% - 56px))!important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .billing-eyebrow {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    white-space: normal !important;
    color: var(--color-primary-text) !important;
}

@media (max-width: 900px) {
    body .billing-container { width:min(1280px, calc(100% - 30px))!important; }

    body .billing-eyebrow {
        margin-bottom: 10px !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        letter-spacing: .10em !important;
    }

}


/* =========================================================
   HERO: EIN DEFINIERTER AUFBAU, KEINE ALTEN HERO-OVERRIDES
   Desktop: Bildgroesse bleibt unabhaengig von der Texthoehe.
   Mobil bis 900px: hero-mobile.png (1:1), DANACH Text.
   EINSTELLUNG: --hero-content-top verschiebt den ganzen Textblock.
========================================================= */

body:has(.billing-page[data-hero-layout="media-first"]) #start,
body:has(.billing-page[data-hero-layout="media-first"]) #body-wrapper,
body:has(.billing-page[data-hero-layout="media-first"]) #body-wrapper > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body .billing-page[data-hero-layout="media-first"] {
    position: relative;
    left: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    overflow: clip;
}

body .billing-page .billing-hero {
    --hero-content-top: clamp(210px, 12vw, 230px);
    --hero-content-bottom: 48px;
    --hero-copy-width: 760px;
    --hero-image-height: clamp(560px, 36.458333vw, 700px);
    position: relative;
    left: auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    background: var(--palette-paper);
    overflow: visible;
}

body .billing-page .billing-hero,
body .billing-page .billing-hero *,
body .billing-page .billing-hero *::before,
body .billing-page .billing-hero *::after { box-sizing: border-box; }

body .billing-page .billing-hero__visual {
    grid-area: 1 / 1;
    align-self: start;
    position: relative;
    z-index: 0;
    width: 100%;
    height: var(--hero-image-height);
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--palette-paper);
}

body .billing-page .billing-hero__visual picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body .billing-page .billing-hero__visual picture > img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    transform: none;
    object-fit: cover;
    object-position: center center;
}

body .billing-page .billing-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg,
            var(--palette-paper) 0%,
            var(--palette-value-a6e2d8c9ce) 18%,
            var(--palette-value-3d28bf8a4c) 31%,
            var(--palette-value-5c3b44562f) 43%,
            var(--palette-value-dc237c37c9) 57%,
            var(--palette-value-9428a558ec) 72%);
    pointer-events: none;
}

body .billing-page .billing-hero__inner {
    grid-area: 1 / 1;
    align-self: start;
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 56px));
    max-width: 1280px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: var(--hero-content-top) 0 var(--hero-content-bottom);
    display: block;
    overflow: visible;
    transform: none;
}

body .billing-page .billing-hero__content {
    position: relative;
    inset: auto;
    width: min(var(--hero-copy-width), 65%);
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: block;
    transform: none;
    background: transparent;
    overflow: visible;
}

body .billing-page .billing-hero__content .billing-eyebrow {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: normal;
    color: var(--color-primary-text);
    transform: none;
    overflow: visible;
}

body .billing-page .billing-hero__title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: clamp(34px, 3.2vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.04em;
    color: var(--palette-ink);
    text-shadow: none;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: manual;
    transform: none;
}

body .billing-page .billing-hero__title > span { display: inline; }

body .billing-page .billing-hero__subtitle {
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: clamp(18px, 1.45vw, 23px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--palette-ink);
}

body .billing-page .billing-hero__text {
    width: 100%;
    max-width: 620px;
    margin: 18px 0 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--palette-value-ea1105cd5d);
}

body .billing-page .billing-hero__benefits {
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

body .billing-page .billing-hero__benefits > li {
    position: relative;
    margin: 0;
    padding: 0 0 0 28px;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--palette-ink);
}

body .billing-page .billing-hero__benefits > li::marker { content: ""; }
body .billing-page .billing-hero__benefits > li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--palette-paper);
    font-size: 10px;
    font-weight: 900;
}

body .billing-page .billing-hero__actions {
    position: static;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    transform: none;
}

body .billing-page .billing-hero__actions > a {
    max-width: 100%;
    min-height: 48px;
    padding: 12px 22px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
}

/* Ein echter SVG im Twig statt globalem Pfeil-Pseudoelement. */
body .billing-page .billing-hero__actions .hero-cta-icon {
    position: static;
    display: block;
    width: 12px;
    height: 14px;
    max-width: none;
    flex: 0 0 12px;
    margin: 0;
    padding: 0;
    background: none;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform .2s ease;
}
body .billing-page .billing-hero__actions > a:hover .hero-cta-icon { transform: translateX(3px); }

@media (max-width: 900px) {
    body .billing-page .billing-hero { display: block; }
    body .billing-page .billing-hero__visual {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    body .billing-page .billing-hero__visual picture { width: 100%; height: auto; display: block; }
    body .billing-page .billing-hero__visual picture > img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
    }
    body .billing-page .billing-hero__visual::after { content: none; }
    body .billing-page .billing-hero__inner {
        width: calc(100% - 30px);
        max-width: none;
        padding: 32px 0 44px;
        margin: 0 auto;
    }
    body .billing-page .billing-hero__content { width: 100%; max-width: none; }
    body .billing-page .billing-hero__title { font-size: clamp(30px, 6.4vw, 42px); line-height: 1.06; }
    body .billing-page .billing-hero__content .billing-eyebrow { font-size: 10px; margin-bottom: 14px; }
    body .billing-page .billing-hero__subtitle { font-size: 19px; margin-top: 14px; }
    body .billing-page .billing-hero__text { max-width: none; font-size: 14px; line-height: 1.65; }
    body .billing-page .billing-hero__actions { margin-top: 24px; }
}
@media (max-width: 480px) {
    body .billing-page .billing-hero__actions > a { width: 100%; }
}
