html:has(#contact-en-betaling), body:has(#contact-en-betaling) { overflow-x: clip; }

.cpb {
    --cpb-blue: #292e66;
    --cpb-hero-blue: #132558;
    --cpb-purple: #824586;
    --cpb-orange: #ffb21b;
    --cpb-light: #f4f4fa;
    background: var(--cpb-purple);
    color: var(--cpb-blue);
}

.cpb-shell { width: min(86%, 1240px); margin-inline: auto; }
.cpb-hero { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.cpb-hero-media { position: relative; aspect-ratio: 3 / 2; }
.cpb-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% top; }
.cpb-hero-copy { max-width: 580px; padding-block: 32px 40px; }
.cpb h1 { max-width: 14ch; margin: 0 0 26px; }
.cpb-hero p { margin: 0 0 14px; }
.cpb-hero .cpb-intro-lead { margin-bottom: 5px; }

.cpb-options {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    padding-top: 24px;
}
.cpb-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 36px 30px 30px;
    border-radius: 8px;
    background: var(--cpb-light);
    overflow-wrap: anywhere;
}
.cpb-card--direct { color: #fff; background: var(--cpb-blue); }
.cpb-card h2, .cpb-card p, .cpb-card li { color: inherit; }
.cpb-card h2 { max-width: 16ch; margin: 0 0 8px; }
.cpb-card-lead { margin: 0 0 16px; }
.cpb-card--direct .cpb-card-lead { color: var(--cpb-orange); }
.cpb-card-copy { margin: 0 0 24px; }
.cpb-card-details { display: flex; align-items: center; gap: 12px; margin-top: auto; width: 100%; }
.cpb-checks { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.cpb-checks li { display: flex; align-items: flex-start; gap: 8px; }
.cpb-check { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-top: 2px; border: 1px solid currentColor; border-radius: 50%; flex: 0 0 17px; font-size: 11px; }
.cpb-payment-logo { width: 68px; height: 48px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 4px; padding: 5px; }
.cpb-button { max-width: 100%; margin-top: 22px; text-align: center; }
.cpb a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.cpb-closing { padding-bottom: 66px; }
.cpb section.quote { background: transparent; }
.cpb section.quote .quote-content p { color: #fff; white-space: pre-line; }
.cpb-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 42px 32px; background: var(--cpb-light); border-radius: 8px; list-style: none; }
.cpb-benefits li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cpb-benefits img { width: min(100%, 166px); height: 115px; object-fit: contain; }
.cpb-benefits p { max-width: 14ch; margin: 0; overflow-wrap: anywhere; }

@media (min-width: 1024px) {
    .cpb { --cpb-overlap: 120px; }
    .cpb-hero {
        --cpb-copy-width: min(36vw, 440px);
        --cpb-photo-edge: calc((100% - min(86%, 1240px)) / 2 + var(--cpb-copy-width) + 48px);
        --cpb-wave-join: calc(var(--cpb-photo-edge) + 8px);
    }
    /* The photo starts beyond the text column, including on ultrawide screens. */
    .cpb-hero-media {
        position: absolute;
        z-index: 0;
        inset: 0 0 0 var(--cpb-photo-edge);
        aspect-ratio: auto;
        clip-path: polygon(0 0, 100% 0, 100% 100%, min(45%, 420px) 100%);
    }
    .cpb-hero::before {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
        background: var(--cpb-hero-blue);
        clip-path: polygon(0 0, calc(var(--cpb-photo-edge) + 360px) 0, calc(var(--cpb-photo-edge) - 24px) 190px, 0 190px);
    }
    .cpb-hero::after {
        content: "";
        position: absolute;
        z-index: 1;
        top: 90px;
        left: -100px;
        width: calc(var(--cpb-photo-edge) + 100px);
        height: 200px;
        background: #fff;
        border-radius: 50% 100% 0 0 / 100% 100% 0 0;
    }
    .cpb-hero-inner { position: relative; z-index: 2; padding-block: 210px calc(var(--cpb-overlap) + 40px); }
    .cpb-hero-copy { width: var(--cpb-copy-width); max-width: 100%; padding-block: 0; }
    .cpb-options { margin-top: calc(-1 * var(--cpb-overlap)); padding-top: 0; }
}
@media (width < 1024px) {
    .cpb-hero-media::before, .cpb-hero-media::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        pointer-events: none;
    }
    .cpb-hero-media::before {
        inset-block-start: 0;
        height: 25%;
        background: var(--cpb-hero-blue);
        border-end-end-radius: 100% 100%;
    }
    .cpb-hero-media::after {
        inset-block-end: 0;
        height: 24%;
        background: #fff;
        border-start-end-radius: 100% 100%;
    }
}
/* Keep the wave endpoints tied to the layout, not to the photo's crop. */
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
    @media (min-width: 1024px) {
        .cpb-hero-media { clip-path: none; }
        .cpb-hero::before {
            clip-path: shape(from 0 0,
                line to calc(var(--cpb-photo-edge) + 360px) 0,
                curve to var(--cpb-wave-join) 220px
                    with calc(var(--cpb-photo-edge) + 230px) 26px / calc(var(--cpb-photo-edge) + 95px) 181px,
                line to 0 220px, close);
        }
        .cpb-hero::after {
            --cpb-white-end: min(92%, calc(var(--cpb-photo-edge) + 760px));
            inset: 0;
            width: auto;
            height: auto;
            border-radius: 0;
            clip-path: shape(from 0 135px,
                curve to calc(var(--cpb-photo-edge) - 355px) 96px
                    with max(64px, calc(var(--cpb-photo-edge) - 535px)) 106px / calc(var(--cpb-photo-edge) - 420px) 96px,
                curve to var(--cpb-wave-join) 220px
                    with calc(var(--cpb-photo-edge) - 230px) 96px / calc(var(--cpb-photo-edge) - 112px) 143px,
                curve to var(--cpb-white-end) 100%
                    with calc(var(--cpb-photo-edge) + 128px) 297px / calc(var(--cpb-white-end) - 128px) 86%,
                line to 0 100%, close);
        }
    }
    @media (width < 1024px) {
        .cpb-hero-media::before, .cpb-hero-media::after {
            inset: 0;
            height: auto;
            border-radius: 0;
        }
        .cpb-hero-media::before {
            clip-path: shape(from 0 0, line to 77% 0,
                curve to 0 21% with 57% 1% / 29% 31%, close);
        }
        .cpb-hero-media::after {
            clip-path: shape(from 0 74%,
                curve to 49% 100% with 20% 62% / 31% 89%,
                line to 0 100%, close);
        }
    }
}
@media (max-width: 1199px) {
    .cpb-card { padding: 26px 20px; }
    .cpb-card-details { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .cpb-shell { width: calc(100% - 36px); }
    .cpb h1 { margin-bottom: 18px; }
    .cpb-options { grid-template-columns: 1fr; gap: 16px; }
    .cpb-card { padding: 24px; }
    .cpb-closing { padding-bottom: 44px; }
    .cpb-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 14px; gap: 24px 12px; }
    .cpb-benefits img { height: 78px; }
}
