/**
 * Conversion-focused Badsanierung landing page.
 * All rules are scoped to the dedicated page flow.
 */

/*
 * The footer is a block template part and therefore a sibling of the page
 * wrapper, not a descendant. Until it was named here, every `var(--lp-*)` in
 * the footer resolved to nothing: measured 22px system-ui at weight 300 where
 * 14px Manrope at 400 was declared, and no focus ring at all.
 */
.assan-lp-page,
.assan-lp-thanks {
    --lp-ink: var(--wp--custom--badsanierung--ink, #102a43);
    --lp-ink-soft: var(--wp--custom--badsanierung--ink-soft, #334e68);
    --lp-blue: var(--wp--custom--badsanierung--blue, #1a56a3);
    --lp-blue-dark: var(--wp--custom--badsanierung--blue-dark, #123d73);
    --lp-sky: var(--wp--custom--badsanierung--sky, #e8f1fb);
    --lp-gold: var(--wp--custom--badsanierung--gold, #fbb03b);
    --lp-gold-soft: var(--wp--custom--badsanierung--gold-soft, #fff2d9);
    --lp-paper: var(--wp--custom--badsanierung--paper, #f6f8f5);
    --lp-white: var(--wp--custom--badsanierung--white, #fff);
    --lp-line: var(--wp--custom--badsanierung--line, #dbe4ec);
    /* Outline of an unfilled control. 4.29:1 on white, above the 3:1 of SC 1.4.11. */
    --lp-control-line: var(--wp--custom--badsanierung--control-line, #6b7c8c);
    --lp-success: var(--wp--custom--badsanierung--success, #197344);
    --lp-danger: var(--wp--custom--badsanierung--danger, #b42318);
    --lp-shadow-sm: 0 12px 32px rgb(16 42 67 / 10%);
    --lp-shadow-lg: 0 30px 80px rgb(7 30 54 / 22%);
    --lp-shell: min(var(--wp--style--global--content-size, 1150px), calc(100vw - 48px));

    /*
     * Type scale. Measured before: 24 distinct font sizes, 13 of them crowded
     * into the 12.16-15.68px band with steps as small as 0.3px, so the
     * hierarchy read as noise rather than structure. Seven steps with real
     * distance between them is what makes a page look designed instead of
     * assembled. The floor also moves from 12.16px to 14px, which matters for
     * an audience aged 40-70.
     */
    --lp-text-xs: 0.875rem;
    --lp-text-sm: 1rem;
    --lp-text-base: 1.0625rem;
    --lp-text-lg: clamp(1.15rem, 1.4vw, 1.3rem);
    --lp-text-xl: clamp(1.3rem, 1.7vw, 1.55rem);
    --lp-text-2xl: clamp(1.9rem, 3.2vw, 2.9rem);
    --lp-text-3xl: clamp(2.3rem, 4.2vw, 3.6rem);

    /*
     * Three weights instead of ten. Manrope is a variable font, so 400/700/800
     * are real instances rather than synthetic approximations - unlike the
     * previous 650/750/760/780/850, which collapsed to a single bold on the
     * static system fonts most Windows and Android visitors use.
     */
    --lp-weight-regular: 400;
    --lp-weight-strong: 700;
    --lp-weight-bold: 800;

    /* Three radii instead of eleven. */
    --lp-radius-sm: 12px;
    --lp-radius: 24px;
    --lp-radius-pill: 999px;

    color: var(--lp-ink);
    font-family: var(--wp--preset--font-family--manrope, "Manrope", system-ui, sans-serif);

    /*
     * Global styles set `body { font-weight: 300 }`, which applied to 54 body
     * elements here. Light weights thin out badly on the non-variable system
     * fonts most Windows and Android visitors get, and this page targets 40-70
     * year olds. Scoped to the landing flow so the rest of the site is
     * untouched.
     */
    font-weight: var(--lp-weight-regular);
}

.assan-lp-page *,
.assan-lp-page *::before,
.assan-lp-page *::after,
.assan-lp-thanks *,
.assan-lp-thanks *::before,
.assan-lp-thanks *::after {
    box-sizing: border-box;
}

body.assan-lp-flow .assan-lp-main,
body.assan-lp-flow-thanks .assan-lp-main {
    margin: 0;
    padding: 0;
}

.assan-lp-page,
.assan-lp-thanks {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: clip;
}

.assan-lp-shell {
    width: var(--lp-shell);
    margin-inline: auto;
}

.assan-lp-page h1,
.assan-lp-page h2,
.assan-lp-page h3,
.assan-lp-thanks h1,
.assan-lp-thanks h2 {
    margin-top: 0;
    color: inherit;
    font-weight: var(--lp-weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-wrap: balance;
}

.assan-lp-page h1 {
    max-width: 13ch;
    margin-bottom: 26px;
    font-size: var(--lp-text-3xl);
}

.assan-lp-page h2 {
    margin-bottom: 20px;
    font-size: var(--lp-text-2xl);
}

.assan-lp-page h3 {
    margin-bottom: 12px;
    font-size: var(--lp-text-xl);
    letter-spacing: -0.02em;
}

.assan-lp-page p,
.assan-lp-page li,
.assan-lp-thanks p,
.assan-lp-thanks li {
    font-size: var(--lp-text-base);
    line-height: 1.68;
}

.assan-lp-page a,
.assan-lp-page button,
.assan-lp-thanks a {
    -webkit-tap-highlight-color: transparent;
}

/*
 * Two-tone focus ring.
 *
 * A single gold ring measured 1.85:1 on white, 1.73:1 on --lp-paper and
 * 1.62:1 on --lp-sky - below the 3:1 required by WCAG 2.2 SC 1.4.11 / 2.4.11.
 * Since the form sits on a white card and the process band is dark blue, no
 * single colour clears 3:1 everywhere: --lp-ink reaches 14.5:1 on white but
 * only 1.34:1 on --lp-blue-dark, while gold is the inverse at 1.86:1 and
 * 5.82:1. Drawing both means at least one ring always contrasts.
 */
.assan-lp-page a:focus-visible,
.assan-lp-page button:focus-visible,
.assan-lp-page input:focus-visible,
.assan-lp-page select:focus-visible,
.assan-lp-page textarea:focus-visible,
.assan-lp-page summary:focus-visible,
.assan-lp-thanks a:focus-visible {
    outline: 3px solid var(--lp-ink);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--lp-gold);
}

.assan-lp-eyebrow {
    margin: 0 0 16px;
    color: var(--lp-blue);
    font-size: var(--lp-text-xs) !important;
    font-weight: var(--lp-weight-bold);
    letter-spacing: 0.15em;
    line-height: 1.25 !important;
    text-transform: uppercase;
}

/*
 * Measured: 129.6px top and bottom on every section left 259px of empty ground
 * between two of them at 1440px. Generous whitespace is not the same as an
 * unfinished page - this reads as the latter. Tightened to roughly 96px, which
 * still separates the alternating backgrounds clearly.
 */
.assan-lp-section {
    padding-block: clamp(60px, 6.7vw, 96px);
}

.assan-lp-heading {
    margin-bottom: clamp(40px, 5vw, 72px);
}

.assan-lp-heading > p:last-child,
.assan-lp-heading--split > p {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--lp-ink-soft);
}

.assan-lp-heading--center {
    max-width: 790px;
    margin-inline: auto;
    text-align: center;
}

.assan-lp-heading--center > p:last-child {
    margin-inline: auto;
}

.assan-lp-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 72px;
    align-items: end;
}

/* Hero */
.assan-lp-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(54px, 6.5vw, 96px);
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 10%, rgb(251 176 59 / 16%), transparent 28%),
        linear-gradient(135deg, #0b2338 0%, #102f4e 52%, #173f66 100%);
    color: var(--lp-white);
}

.assan-lp-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
    background-size: 56px 56px;
    content: '';
    mask-image: linear-gradient(to right, #000, transparent 72%);
}

.assan-lp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
}

.assan-lp-hero .assan-lp-eyebrow {
    color: #a8d0ff;
}

.assan-lp-hero__lead {
    max-width: 650px;
    margin: 0 0 34px;
    color: #e4edf6;
    font-size: var(--lp-text-lg) !important;
    line-height: 1.65 !important;
}

.assan-lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.assan-lp-icon {
    flex: 0 0 auto;
    margin-right: 8px;
    vertical-align: -3px;
}

.assan-lp-button {
    display: inline-flex;
    min-height: 56px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: var(--lp-radius-pill);
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: var(--lp-text-base);
    font-weight: var(--lp-weight-strong);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.assan-lp-button:hover {
    transform: translateY(-2px);
}

.assan-lp-button--primary {
    background: var(--lp-gold);
    box-shadow: 0 14px 34px rgb(251 176 59 / 22%);
    color: #14293c;
}

.assan-lp-button--primary:hover {
    background: #ffc55d;
    box-shadow: 0 18px 42px rgb(251 176 59 / 30%);
    color: #14293c;
}

.assan-lp-button--ghost {
    border-color: rgb(255 255 255 / 32%);
    background: rgb(255 255 255 / 7%);
    color: var(--lp-white);
}

.assan-lp-button--ghost:hover {
    border-color: rgb(255 255 255 / 62%);
    background: rgb(255 255 255 / 12%);
    color: var(--lp-white);
}

.assan-lp-button--light {
    background: var(--lp-white);
    color: var(--lp-blue-dark);
}

.assan-lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 32px 0 0;
    padding: 0;
    color: #dce9f6;
    list-style: none;
}

/*
 * The floating consent control is fixed at the viewport corner and overlapped
 * page content twice: the name field at 375px (field x36-324/y643-695, control
 * x302-344/y678-720) and the hero trust list on desktop. It only needs to be
 * reachable, not permanently present - so it appears once the visitor has moved
 * past the hero and steps aside again at the form. Consent can still be changed
 * from the footer link on every page.
 */
body.assan-lp-flow .wpp-cookie-consent-settings-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease;
}

body.assan-lp-flow.assan-lp-show-mobile-actions:not(.assan-lp-at-form) .wpp-cookie-consent-settings-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    body.assan-lp-flow .wpp-cookie-consent-settings-btn {
        transition: none;
    }
}

.assan-lp-trust-note {
    max-width: 46ch;
    margin: 14px 0 0;
    color: #b9cde0;
    font-size: var(--lp-text-xs) !important;
    line-height: 1.5 !important;
}

.assan-lp-trust a {
    color: inherit;
    text-decoration-color: rgb(255 255 255 / 45%);
    text-underline-offset: 3px;
}

.assan-lp-trust a:hover,
.assan-lp-trust a:focus-visible {
    color: var(--lp-gold);
}

.assan-lp-trust li {
    position: relative;
    padding-left: 24px;
    font-size: var(--lp-text-sm);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-trust li::before {
    position: absolute;
    left: 0;
    color: var(--lp-gold);
    content: '✓';
    font-weight: var(--lp-weight-bold);
}

.assan-lp-hero__media {
    position: relative;
    margin: 0;
}

.assan-lp-hero__media::before {
    position: absolute;
    inset: 22px -18px -18px 22px;
    z-index: -1;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: var(--lp-radius);
    content: '';
}

.assan-lp-hero__image {
    display: block;
    width: 100%;
    height: clamp(510px, 55vw, 650px);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    object-fit: cover;
    object-position: 50% 54%;
}

.assan-lp-hero__media figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    padding: 17px 19px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: var(--lp-radius-sm);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    backdrop-filter: blur(14px);
    background: rgb(8 32 53 / 78%);
    color: var(--lp-white);
}

.assan-lp-hero__media figcaption strong,
.assan-lp-hero__media figcaption span {
    font-size: var(--lp-text-xs);
    line-height: 1.35;
}

.assan-lp-hero__media figcaption strong {
    color: var(--lp-gold);
    text-transform: uppercase;
}

/* Proof bar */
.assan-lp-proofbar {
    background: var(--lp-white);
    box-shadow: 0 16px 50px rgb(16 42 67 / 8%);
}

.assan-lp-proofbar__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assan-lp-proofbar__grid > div {
    display: flex;
    min-height: 116px;
    padding: 24px 34px;
    border-right: 1px solid var(--lp-line);
    align-items: center;
    gap: 18px;
}

.assan-lp-proofbar__grid > div:last-child {
    border-right: 0;
}

.assan-lp-proofbar strong {
    color: var(--lp-blue);
    font-size: var(--lp-text-xl);
    line-height: 1;
}

.assan-lp-proofbar span {
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
    font-weight: var(--lp-weight-strong);
    line-height: 1.4;
}

/* Intent cards */
.assan-lp-intent {
    background: var(--lp-paper);
}

/*
 * Three concrete projects on the first row, the two catch-all options centred
 * beneath them - the grouping is what the options actually are, not a tidy
 * wrap. Five across gave each card 219px, which left "Bodengleiche Dusche"
 * 2px of slack in its 179px content box; Manrope loads with `font-display:
 * swap`, so the fallback face broke that title onto a second line and the row
 * jumped when the webfont arrived. At 374px the longest title has 155px to
 * spare and every description fits on one line, so nothing has to be aligned
 * artificially.
 */
.assan-lp-intent__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/*
 * Flex rather than a six-column grid, because the count is about to become
 * editable. The grid version pinned the fourth and fifth card to fixed columns
 * with `nth-child`, which produced the intended 3+2 for exactly five options
 * and a broken row for any other number. Here the basis fills a row of three,
 * `max-width` stops a short last row from stretching, and `justify-content`
 * centres it - correct for three, four, five or seven options alike.
 */
.assan-lp-intent-card {
    display: grid;
    flex: 1 1 300px;
    max-width: calc((100% - 28px) / 3);
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 18px 20px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-sm);
    align-items: start;
    column-gap: 12px;
    row-gap: 4px;
    background: var(--lp-white);
    color: var(--lp-ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.assan-lp-intent-card:hover,
.assan-lp-intent-card.is-selected {
    border-color: var(--lp-blue);
    box-shadow: var(--lp-shadow-sm);
    transform: translateY(-4px);
}

/*
 * No ordinal any more. `01`-`05` is already spoken for on this page three
 * times over - the model bar, the trade steps and the process list are all
 * genuine sequences - and these five options exclude one another rather than
 * following one another. The ring shows what the click does: `landing.js`
 * ticks the matching `input[name="lp-project"]` radio in the form below.
 */
.assan-lp-intent-card__number {
    grid-row: 1;
    grid-column: 1;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid var(--lp-control-line);
    border-radius: 50%;
    box-sizing: border-box;
    background: var(--lp-white);
}

.assan-lp-intent-card:hover .assan-lp-intent-card__number,
.assan-lp-intent-card.is-selected .assan-lp-intent-card__number {
    border-color: var(--lp-blue);
    background: var(--lp-blue);
    box-shadow: inset 0 0 0 3px var(--lp-white);
}

.assan-lp-intent-card strong {
    grid-row: 1;
    grid-column: 2;
    font-size: var(--lp-text-base);
    line-height: 1.3;
}

.assan-lp-intent-card small {
    grid-row: 2;
    grid-column: 2;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
    line-height: 1.5;
}

body.assan-lp-consent-open .assan-lp-mobile-actions {
    display: none;
}

html.show--consent .assan-lp-mobile-actions,
html.show--preferences .assan-lp-mobile-actions {
    display: none;
}

/* Case study */
.assan-lp-case {
    background: var(--lp-white);
}

.assan-lp-project-two figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--lp-radius);
    background: #d9e1e7;
}

.assan-lp-case__image {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.assan-lp-project-two figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    padding: 14px 16px;
    border-radius: var(--lp-radius-sm);
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    background: rgb(8 31 51 / 78%);
    color: var(--lp-white);
    font-size: var(--lp-text-xs);
}

/*
 * The photograph used to sit in an `auto` track and got whatever was left -
 * measured 246px wide for the best finished shot of the project. It now takes a
 * defined share of the row, so the picture carries the card instead of
 * decorating it.
 */
.assan-lp-case__summary {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    margin-top: 28px;
    padding: 32px;
    border-radius: var(--lp-radius);
    align-items: center;
    background: var(--lp-paper);
}

.assan-lp-case__summary p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--lp-ink-soft);
}

.assan-lp-case__label {
    margin: 0 0 8px !important;
    color: var(--lp-blue) !important;
    font-size: var(--lp-text-xs) !important;
    font-weight: var(--lp-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.assan-lp-text-link {
    display: inline-flex;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--lp-gold);
    align-items: center;
    gap: 12px;
    color: var(--lp-blue-dark);
    font-weight: var(--lp-weight-bold);
    text-decoration: none;
}

.assan-lp-text-link:hover {
    border-bottom-color: var(--lp-blue);
    color: var(--lp-blue);
}

/* Scope */
.assan-lp-scope {
    background: var(--lp-paper);
}

.assan-lp-scope__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.assan-lp-scope article {
    min-height: 255px;
    padding: 30px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-white);
}

.assan-lp-scope article > span {
    display: inline-block;
    margin-bottom: 38px;
    color: var(--lp-blue);
    font-size: var(--lp-text-xs);
    font-weight: var(--lp-weight-bold);
    letter-spacing: 0.12em;
}

.assan-lp-scope article p {
    margin-bottom: 0;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

/* Process */
.assan-lp-process {
    background: var(--lp-blue-dark);
    color: var(--lp-white);
}

.assan-lp-process__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: start;
}

.assan-lp-process .assan-lp-eyebrow {
    color: #b6d7ff;
}

.assan-lp-process__intro {
    position: sticky;
    top: calc(var(--contact-bar-height) + 40px);
}

.assan-lp-process__intro p:not(.assan-lp-eyebrow) {
    margin-bottom: 32px;
    color: #dbe8f5;
}

.assan-lp-process__steps {
    margin: 0;
    padding: 0;
    counter-reset: assan-lp-process;
    list-style: none;
}

/*
 * Steps are `<article>` elements, not `<li>`. A core Group can be rendered as
 * article, header, section or aside - never as a list item - and `core/list`
 * cannot hold a heading. The ordered-list semantics are the price of making the
 * section editable; the headings still carry the structure.
 *
 * Both selectors are kept so a page that has not been migrated yet keeps its
 * layout.
 */
.assan-lp-process__steps li,
.assan-lp-process__steps > article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    counter-increment: assan-lp-process;
}

.assan-lp-process__steps li:first-child,
.assan-lp-process__steps > article:first-child {
    padding-top: 0;
}

.assan-lp-process__steps li:last-child,
.assan-lp-process__steps > article:last-child {
    border-bottom: 0;
}

.assan-lp-process__steps > article::before,
.assan-lp-process__steps > li > span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--lp-gold);
    font-size: var(--lp-text-xs);
    font-weight: var(--lp-weight-bold);
}

.assan-lp-process__steps > article::before {
    content: counter(assan-lp-process, decimal-leading-zero);
}

/* Core adds a flow margin to the first child of every group. */
.assan-lp-process__steps > article > :first-child,
.assan-lp-cost__drivers > :first-child {
    margin-top: 0;
}

.assan-lp-process__steps h3 {
    color: var(--lp-white);
}

.assan-lp-process__steps p {
    margin: 0;
    color: #dbe8f5;
}

/* Costs */
.assan-lp-cost {
    background: var(--lp-gold-soft);
}

.assan-lp-cost__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: start;
}

.assan-lp-cost__lead {
    max-width: 620px;
    margin-bottom: 30px;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-lg) !important;
}

.assan-lp-cost__drivers {
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid rgb(16 42 67 / 12%);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    background: var(--lp-white);
}

.assan-lp-cost__drivers ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 28px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.assan-lp-cost__drivers li {
    position: relative;
    padding-left: 24px;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

.assan-lp-cost__drivers li::before {
    position: absolute;
    left: 0;
    color: var(--lp-blue);
    content: '•';
    font-size: var(--lp-text-lg);
    line-height: 1.2;
}

.assan-lp-cost__drivers > p:last-child {
    margin-bottom: 0;
    padding-top: 24px;
    border-top: 1px solid var(--lp-line);
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

/* Region */
.assan-lp-umland {
    background: var(--lp-sky);
}

.assan-lp-umland__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: start;
}

.assan-lp-umland__lead {
    max-width: 620px;
    margin-bottom: 30px;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-lg) !important;
}

.assan-lp-umland__places {
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid rgb(16 42 67 / 12%);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm);
    background: var(--lp-white);
}

.assan-lp-umland__places > :first-child {
    margin-top: 0;
}

.assan-lp-umland__places ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.assan-lp-umland__places li {
    position: relative;
    padding-left: 24px;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

.assan-lp-umland__places li::before {
    position: absolute;
    left: 0;
    color: var(--lp-blue);
    content: '•';
    font-size: var(--lp-text-lg);
    line-height: 1.2;
}

.assan-lp-umland__places > p:last-child {
    margin-bottom: 0;
    padding-top: 24px;
    border-top: 1px solid var(--lp-line);
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

/* Project two */
.assan-lp-project-two {
    background: var(--lp-white);
}

.assan-lp-project-two__layout {
    display: grid;
    grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(60px, 9vw, 132px);
    align-items: center;
}

/* Was delivered at 469x625 and stretched to 469x660; cover keeps the crop clean. */
.assan-lp-project-two__image {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 660px;
    object-fit: cover;
    object-position: 52% 56%;
}

.assan-lp-project-two figcaption {
    font-weight: var(--lp-weight-strong);
}

.assan-lp-project-two p:not(.assan-lp-eyebrow) {
    color: var(--lp-ink-soft);
}

.assan-lp-checklist,
.assan-lp-form-benefits {
    display: grid;
    gap: 12px;
    margin: 28px 0 34px;
    padding: 0;
    list-style: none;
}

.assan-lp-checklist li,
.assan-lp-form-benefits li {
    position: relative;
    padding-left: 30px;
}

.assan-lp-checklist li::before,
.assan-lp-form-benefits li::before {
    position: absolute;
    left: 0;
    color: var(--lp-blue);
    content: '✓';
    font-weight: var(--lp-weight-bold);
}

/* FAQ */
.assan-lp-faq {
    background: var(--lp-paper);
}

.assan-lp-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: start;
}

.assan-lp-faq__intro {
    position: sticky;
    top: calc(var(--contact-bar-height) + 40px);
}

.assan-lp-faq__intro > p:last-child {
    color: var(--lp-ink-soft);
}

.assan-lp-faq details {
    border-bottom: 1px solid #cfd9e1;
}

.assan-lp-faq summary {
    position: relative;
    padding: 26px 56px 26px 0;
    color: var(--lp-ink);
    cursor: pointer;
    font-size: var(--lp-text-lg);
    font-weight: var(--lp-weight-bold);
    list-style: none;
}

.assan-lp-faq summary::-webkit-details-marker {
    display: none;
}

.assan-lp-faq summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    width: 34px;
    height: 34px;
    border: 1px solid #b9c7d3;
    border-radius: 50%;
    place-items: center;
    content: '+';
    font-size: var(--lp-text-lg);
    transform: translateY(-50%);
}

.assan-lp-faq details[open] summary::after {
    content: '−';
}

.assan-lp-faq details p {
    max-width: 760px;
    margin: -4px 0 26px;
    color: var(--lp-ink-soft);
}

/* Form */
.assan-lp-form-section {
    scroll-margin-top: calc(var(--contact-bar-height) + 30px);
    background:
        radial-gradient(circle at 10% 100%, rgb(251 176 59 / 12%), transparent 26%),
        var(--lp-blue-dark);
    color: var(--lp-white);
}

.assan-lp-form-section__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(52px, 8vw, 116px);
    align-items: start;
}

.assan-lp-form-section .assan-lp-eyebrow {
    color: #b6d7ff;
}

.assan-lp-form-section__intro > p:not(.assan-lp-eyebrow) {
    color: #dce8f4;
}

.assan-lp-model-note {
    max-width: 46ch;
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--lp-gold);
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
    background: rgb(255 255 255 / 8%);
    color: #dce8f4;
    font-size: var(--lp-text-sm) !important;
    line-height: 1.55 !important;
}

.assan-lp-reviews {
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: var(--lp-radius-sm);
    background: rgb(255 255 255 / 6%);
}

.assan-lp-reviews__rating {
    margin: 0 0 6px;
    color: var(--lp-white);
    font-size: var(--lp-text-sm) !important;
}

.assan-lp-reviews__rating strong {
    color: var(--lp-gold);
    font-weight: var(--lp-weight-bold);
}

.assan-lp-reviews__rating a {
    color: inherit;
    text-decoration-color: rgb(255 255 255 / 45%);
    text-underline-offset: 3px;
}

.assan-lp-reviews__note {
    margin: 0;
    color: #b9cde0;
    font-size: var(--lp-text-xs) !important;
    line-height: 1.5 !important;
}

.assan-lp-contact-options {
    display: grid;
    gap: 12px;
    margin: 34px 0;
}

.assan-lp-contact-options a {
    display: flex;
    margin: 0;
    padding: 16px 20px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: var(--lp-radius-sm);
    align-items: center;
    gap: 12px;
    background: rgb(255 255 255 / 8%);
    color: var(--lp-white);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.assan-lp-contact-options a:hover,
.assan-lp-contact-options a:focus-visible {
    border-color: rgb(255 255 255 / 45%);
    background: rgb(255 255 255 / 14%);
}

/* Pushes the number to the right edge without letting the label wrap oddly. */
.assan-lp-contact-options__label {
    margin-right: auto;
}

.assan-lp-contact-options span {
    color: #b8cae0;
    font-size: var(--lp-text-xs);
}

.assan-lp-contact-options strong {
    font-size: var(--lp-text-sm);
}

.assan-lp-form-benefits {
    color: #dce8f4;
}

.assan-lp-form-benefits li {
    font-size: var(--lp-text-sm);
}

.assan-lp-form-benefits li::before {
    color: var(--lp-gold);
}

.assan-lp-form-shell {
    min-width: 0;
    padding: clamp(28px, 4vw, 54px);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    background: var(--lp-white);
    color: var(--lp-ink);
}

.assan-lp-form-shell .wpcf7-form {
    margin: 0;
}

/* Only ever painted when scripting is off, so it may be loud. */
.assan-lp-form-noscript {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 2px solid var(--lp-danger);
    border-radius: var(--lp-radius-sm);
    background: #fff5f4;
    color: var(--lp-ink);
    font-size: var(--lp-text-sm);
    line-height: 1.55;
}

.assan-lp-form-noscript a {
    color: var(--lp-blue);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-form-shell .assan-lp-form__intro {
    margin-bottom: 30px;
}

.assan-lp-form-shell .assan-lp-form__intro h3 {
    margin-bottom: 8px;
    font-size: var(--lp-text-xl);
}

.assan-lp-form-shell .assan-lp-form__intro p {
    margin: 0;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-sm);
}

.assan-lp-form-shell fieldset {
    min-width: 0;
    margin: 0 0 26px;
    padding: 0;
    border: 0;
}

.assan-lp-form-shell legend,
.assan-lp-form-shell .assan-lp-field > label {
    display: block;
    margin-bottom: 9px;
    color: var(--lp-ink);
    font-size: var(--lp-text-sm);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-form-shell .assan-lp-required {
    color: var(--lp-danger);
}

.assan-lp-form-shell .assan-lp-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/*
 * Contact Form 7 wraps every control in `.wpcf7-form-control-wrap`, which is a
 * block. That broke the display:contents chain below, so the project-type
 * cards escaped the 2-column grid and rendered in a single column at ragged
 * widths (measured 198/199/216/165px). Both levels have to be transparent for
 * the grid to reach the labels.
 */
.assan-lp-form-shell .assan-lp-choice-grid > .wpcf7-form-control-wrap,
.assan-lp-form-shell .wpcf7-radio {
    display: contents;
}

.assan-lp-form-shell .wpcf7-list-item {
    min-width: 0;
}

.assan-lp-form-shell .wpcf7-list-item {
    margin: 0;
}

.assan-lp-form-shell .wpcf7-list-item > label {
    display: flex;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #6b7c8c;
    border-radius: var(--lp-radius-sm);
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: var(--lp-text-sm);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-form-shell .wpcf7-list-item > label:has(input:checked) {
    border-color: var(--lp-blue);
    background: var(--lp-sky);
}

.assan-lp-form-shell input[type='radio'] {
    width: 18px;
    height: 18px;
    accent-color: var(--lp-blue);
}

.assan-lp-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.assan-lp-field {
    margin-bottom: 20px;
}

.assan-lp-field--full {
    grid-column: 1 / -1;
}

.assan-lp-form-shell .wpcf7-form-control-wrap {
    display: block;
}

/*
 * `min-width: 0` is what keeps the form usable on narrow screens. A text input
 * reports a min-content width of 366px and a textarea 374px (CF7 ships
 * size=20/cols=40), which forced the 1fr grid track wider than the 273px shell
 * at 320 CSS px. With `overflow: clip` on the page there was no horizontal
 * scroll to recover the lost 35px, so the right edge of the card was
 * unreachable - a WCAG 2.2 SC 1.4.10 reflow failure that also hit high zoom.
 *
 * The border was #b8c5d0, measuring 1.76:1 against the white card. These inputs
 * have no fill of their own, so the border is the only thing marking the
 * control and must clear 3:1 (SC 1.4.11). #6b7c8c measures 3.06:1.
 */
.assan-lp-form-shell .assan-lp-input,
.assan-lp-form-shell .assan-lp-select,
.assan-lp-form-shell .assan-lp-textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid #6b7c8c;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-white);
    color: var(--lp-ink);
    font: inherit;
    font-size: var(--lp-text-base);
    line-height: 1.35;
}

.assan-lp-form-shell .assan-lp-textarea {
    min-height: 108px;
    resize: vertical;
}

.assan-lp-form-shell .wpcf7-not-valid {
    border-color: var(--lp-danger);
    border-width: 2px;
}

.assan-lp-form-shell .wpcf7-not-valid-tip {
    margin-top: 7px;
    color: var(--lp-danger);
    font-size: var(--lp-text-xs);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-form-shell .assan-lp-privacy {
    margin: 2px 0 22px;
    padding: 14px 16px;
    border-radius: var(--lp-radius-sm);
    background: #f2f5f7;
    color: #52677a;
    font-size: var(--lp-text-xs);
    line-height: 1.55;
}

.assan-lp-form-shell .assan-lp-privacy a {
    color: var(--lp-blue);
}

.assan-lp-form-shell .assan-lp-submit {
    width: 100%;
    min-height: 58px;
    padding: 15px 24px;
    border: 0;
    border-radius: var(--lp-radius-pill);

    /*
     * Matches .assan-lp-button--primary. Every other primary action on the
     * page is gold; the submit button being blue made the most important
     * control on the page read as secondary.
     */
    background: var(--lp-gold);
    box-shadow: 0 14px 34px rgb(251 176 59 / 22%);
    color: #14293c;
    cursor: pointer;
    font-size: var(--lp-text-base);
    font-weight: var(--lp-weight-bold);
    transition: background-color 180ms ease, transform 180ms ease;
}

.assan-lp-form-shell .assan-lp-submit:hover {
    background: #ffc55d;
    transform: translateY(-1px);
}

.assan-lp-form-shell .wpcf7-spinner {
    display: block;
    margin: 14px auto 0;
}

.assan-lp-form-shell .wpcf7-response-output {
    margin: 22px 0 0 !important;
    padding: 16px 18px !important;
    border: 0 !important;
    border-radius: var(--lp-radius-sm);
    background: #fff0ee;
    color: var(--lp-ink);
    font-size: var(--lp-text-sm);
    line-height: 1.5;
    text-align: left;
}

.assan-lp-form-shell form.sent .wpcf7-response-output {
    background: #e5f6ec;
}

.assan-lp-form-missing {
    padding: 20px;
    border-radius: var(--lp-radius-sm);
    background: #fff0ee;
    color: var(--lp-danger);
}

.assan-lp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mobile actions */
.assan-lp-mobile-actions {
    display: none;
}

/* Thank-you page */
.assan-lp-thanks {
    display: grid;
    min-height: 72vh;
    padding: clamp(70px, 10vw, 140px) 24px;
    place-items: center;
    background:
        radial-gradient(circle at 50% 0%, rgb(251 176 59 / 15%), transparent 28%),
        linear-gradient(135deg, #0b2338, #173f66);
}

.assan-lp-thanks__card {
    width: min(760px, 100%);
    padding: clamp(34px, 6vw, 72px);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    background: var(--lp-white);
    text-align: center;
}

.assan-lp-thanks__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    place-items: center;
    background: #e5f6ec;
    color: var(--lp-success);
    font-size: var(--lp-text-xl);
    font-weight: var(--lp-weight-bold);
}

.assan-lp-thanks h1 {
    margin-bottom: 18px;
    font-size: var(--lp-text-2xl);
}

.assan-lp-thanks__card > p:not(.assan-lp-eyebrow) {
    max-width: 610px;
    margin-inline: auto;
    color: var(--lp-ink-soft);
}

.assan-lp-thanks__next {
    margin: 38px 0;
    padding: 28px;
    border-radius: var(--lp-radius);
    background: var(--lp-paper);
    text-align: left;
}

.assan-lp-thanks__next h2 {
    margin-bottom: 18px;
    font-size: var(--lp-text-lg);
}

.assan-lp-thanks__next ol {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.assan-lp-thanks__next li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.assan-lp-thanks__next li span {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex: 0 0 auto;
    place-items: center;
    background: var(--lp-sky);
    color: var(--lp-blue);
    font-size: var(--lp-text-xs);
    font-weight: var(--lp-weight-bold);
}

.assan-lp-thanks__next p {
    margin: 0;
    font-size: var(--lp-text-sm);
}

.assan-lp-actions--center {
    justify-content: center;
}

.assan-lp-thanks .assan-lp-button--ghost {
    border-color: var(--lp-line);
    background: var(--lp-white);
    color: var(--lp-blue-dark);
}

@media (max-width: 1024px) {
    .assan-lp-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
        gap: 48px;
    }

    .assan-lp-hero__image {
        height: 560px;
    }

    .assan-lp-intent-card {
        max-width: calc((100% - 14px) / 2);
    }

    .assan-lp-scope__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .assan-lp-case__image {
        height: 420px;
    }

    /* Was delivered at 469x625 and stretched to 469x660; cover keeps the crop clean. */
.assan-lp-project-two__image {
    object-fit: cover;
        height: 560px;
    }
}

@media (max-width: 781px) {
    body.assan-lp-flow,
    body.assan-lp-flow-thanks {
        --contact-bar-height: 48px;
    }

    body.assan-lp-flow header.wp-block-template-part > .wp-block-group > .wp-block-group.has-primary-background-color > .wp-block-group > .wp-block-group:last-child,
    body.assan-lp-flow-thanks header.wp-block-template-part > .wp-block-group > .wp-block-group.has-primary-background-color > .wp-block-group > .wp-block-group:last-child {
        display: none;
    }

    .assan-lp-page,
    .assan-lp-thanks {
        --lp-shell: min(100% - 32px, 680px);
    }

    .assan-lp-section {
        padding-block: 78px;
    }

    .assan-lp-heading--split,
    .assan-lp-hero__grid,
    .assan-lp-process__layout,
    .assan-lp-cost__layout,
    .assan-lp-umland__layout,
    .assan-lp-project-two__layout,
    .assan-lp-faq__layout,
    .assan-lp-form-section__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .assan-lp-heading--split,
    .assan-lp-process__layout,
    .assan-lp-cost__layout,
    .assan-lp-umland__layout,
    .assan-lp-project-two__layout,
    .assan-lp-faq__layout,
    .assan-lp-form-section__layout {
        gap: 44px;
    }

    .assan-lp-heading--split {
        align-items: start;
    }

    .assan-lp-hero {
        position: relative;
        overflow: hidden;
        padding-block: 48px 60px;
    }

    .assan-lp-hero__grid {
        display: block;
        gap: 44px;
    }

    .assan-lp-hero__content {
        position: relative;
        z-index: 3;
        text-align: left;
    }

    .assan-lp-page h1 {
        max-width: 13ch;
        font-size: var(--lp-text-2xl);
    }

    .assan-lp-hero__media {
        position: absolute;
        inset: 0;
        z-index: 1;
        margin: 0;
        opacity: 0.23;
    }

    .assan-lp-hero__media::after {
        position: absolute;
        inset: 0;
        display: block;
        background: linear-gradient(180deg, rgb(10 35 57 / 48%), rgb(10 35 57 / 92%));
        content: "";
    }

    .assan-lp-hero__image {
        width: 100%;
        height: 100%;
        border-radius: 0;
        object-fit: cover;
    }

    .assan-lp-hero__media::before {
        display: none;
    }

    .assan-lp-hero__media figcaption {
        display: none;
    }

    .assan-lp-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .assan-lp-button {
        width: 100%;
    }

    .assan-lp-trust {
        display: grid;
        gap: 8px;
    }

    .assan-lp-proofbar__grid {
        grid-template-columns: minmax(0, 1fr);
        padding-block: 8px;
    }

    .assan-lp-proofbar__grid > div {
        min-height: 82px;
        padding: 18px 10px;
        border-right: 0;
        border-bottom: 1px solid var(--lp-line);
    }

    .assan-lp-proofbar__grid > div:last-child {
        border-bottom: 0;
    }

    .assan-lp-intent__grid,
    .assan-lp-scope__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .assan-lp-intent-card {
        max-width: 100%;
        padding: 16px 18px;
    }

    .assan-lp-case__image {
        height: 340px;
    }

    .assan-lp-case__summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 28px;
    }

    .assan-lp-process__intro,
    .assan-lp-faq__intro {
        position: static;
    }

    .assan-lp-cost__drivers ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .assan-lp-project-two__layout figure {
        order: 2;
    }

    /* Was delivered at 469x625 and stretched to 469x660; cover keeps the crop clean. */
.assan-lp-project-two__image {
    object-fit: cover;
        height: min(125vw, 620px);
    }

    .assan-lp-form-section__intro {
        text-align: left;
    }

    /*
     * Mobile hero order: headline, then the action, then the supporting copy.
     *
     * Measured at 375x812 before this change: the site header occupies 148px,
     * the headline ran to 411px and the 213px lead paragraph pushed the primary
     * button down to y=684 - below the fold on a phone, and behind the consent
     * sheet while that is open. No consent dialog small enough to clear it
     * exists; the hero itself had to give way. Someone arriving from an ad
     * decides in seconds, so the action belongs directly under the promise and
     * the explanation can follow.
     */
    .assan-lp-hero {
        padding-block: 24px 40px;
    }

    .assan-lp-hero__content {
        display: flex;
        flex-direction: column;
    }

    .assan-lp-hero__content .assan-lp-eyebrow {
        order: 1;
        margin-bottom: 12px;
    }

    .assan-lp-hero__content h1 {
        order: 2;
        margin-bottom: 16px;
    }

    .assan-lp-hero__content .assan-lp-actions {
        order: 3;
        margin-bottom: 24px;
    }

    .assan-lp-hero__content .assan-lp-hero__lead {
        order: 4;
        margin-bottom: 24px;
    }

    .assan-lp-hero__content .assan-lp-trust {
        order: 5;
        margin-top: 0;
    }

    .assan-lp-hero__content .assan-lp-trust-note {
        order: 6;
    }

    .assan-lp-form-shell {
        padding: 26px 20px;
        border-radius: var(--lp-radius);
    }

    .assan-lp-form-shell .assan-lp-choice-grid,
    .assan-lp-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .assan-lp-form-shell .assan-lp-field--full {
        grid-column: auto;
    }

    .assan-lp-mobile-actions {
        position: fixed;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 9999;
        display: none;
        grid-template-columns: 0.8fr 1.2fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgb(255 255 255 / 28%);
        border-radius: var(--lp-radius-sm);
        backdrop-filter: blur(18px);
        background: rgb(10 35 57 / 94%);
        box-shadow: 0 18px 40px rgb(4 20 34 / 28%);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    body.assan-lp-show-mobile-actions .assan-lp-mobile-actions {
        display: grid;
    }

    /* Keep the consent control reachable without covering lead actions. */
    body.assan-lp-flow .wpp-cookie-consent-settings-btn {
        right: 16px;
        left: auto;
    }

    body.assan-lp-flow.assan-lp-at-form .wpp-cookie-consent-settings-btn {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.assan-lp-flow.assan-lp-show-mobile-actions .wpp-cookie-consent-settings-btn {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .assan-lp-mobile-actions a {
        display: flex;
        min-height: 50px;
        border-radius: var(--lp-radius-sm);
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: rgb(255 255 255 / 10%);
        color: var(--lp-white);
        font-size: var(--lp-text-sm);
        font-weight: var(--lp-weight-bold);
        text-decoration: none;
    }

    .assan-lp-mobile-actions a:last-child {
        background: var(--lp-gold);
        color: var(--lp-ink);
    }

    body.assan-lp-form-active .assan-lp-mobile-actions,
    body.assan-lp-at-form .assan-lp-mobile-actions {
        opacity: 0;
        pointer-events: none;
        transform: translateY(18px);
    }

    body.assan-lp-flow {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .assan-lp-thanks {
        min-height: 68vh;
        padding-inline: 16px;
    }

    .assan-lp-thanks__card {
        padding: 34px 22px;
        border-radius: var(--lp-radius);
    }
}

@media (max-width: 480px) {
    .assan-lp-case__image,
    .assan-lp-contact-options a {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .assan-lp-contact-options__label {
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .assan-lp-page *,
    .assan-lp-thanks * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------------------------------------------------------------------------
 * Vorher/Nachher-Vergleich
 *
 * Base state assumes no JavaScript: the two photographs stack, each with its
 * own caption. That is already a valid comparison, so nothing is lost. The
 * `is-interactive` class - added only once the script runs - collapses them
 * into a single frame and reveals one through the other.
 * ------------------------------------------------------------------------- */

.assan-lp-compare {
    --compare-pos: 50%;

    /*
     * Both photographs are 1200x1600. Across the full 1150px content width that
     * renders 1533px tall - nearly two screens for a single image. Capping the
     * width keeps the pair recognisable as one comparison without turning it
     * into a scroll section of its own. On phones it fills the width, which is
     * where a portrait crop belongs anyway.
     */
    max-width: min(100%, 620px);
    margin-inline: auto;
    margin-bottom: clamp(48px, 5vw, 72px);
}

.assan-lp-compare__stage {
    display: grid;
    gap: 16px;
}

.assan-lp-compare__panel {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--lp-radius);
    background: var(--lp-sky);
}

.assan-lp-compare__panel img {
    display: block;
    width: 100%;
    height: auto;
}

.assan-lp-compare__panel figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    padding: 10px 14px;
    border-radius: var(--lp-radius-sm);
    background: rgb(8 31 51 / 88%);
    color: var(--lp-white);
    font-size: var(--lp-text-xs);
    gap: 10px;
    align-items: baseline;
}

.assan-lp-compare__panel figcaption strong {
    color: var(--lp-gold);
    font-weight: var(--lp-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.assan-lp-compare__control {
    display: block;
    margin-top: 18px;
}

/* Without the script the slider would do nothing, so it is not shown. */
.assan-lp-compare:not(.is-interactive) .assan-lp-compare__control,
.assan-lp-compare:not(.is-interactive) .assan-lp-compare__handle {
    display: none;
}

.assan-lp-compare.is-interactive .assan-lp-compare__stage {
    position: relative;
    display: block;
    border-radius: var(--lp-radius);
    overflow: hidden;
    cursor: ew-resize;

    /*
     * `pan-y` keeps vertical page scrolling over this tall portrait image while
     * letting the horizontal drag through to the pointer handlers.
     */
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

/*
 * Dragging the comparison used to pick up the photograph instead of moving the
 * divider: images are draggable by default, so the HTML drag-and-drop API
 * claimed the gesture before any pointermove arrived, and only clicking worked.
 * Taking the images out of hit testing hands every pointer event to the stage
 * itself, which is what runs the wipe.
 */
.assan-lp-compare.is-interactive .assan-lp-compare__stage img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel {
    border-radius: 0;
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel--before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--compare-pos));
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel--before img {
    height: 100%;
    object-fit: cover;
}

/*
 * In wipe mode the two captions sat on the same baseline and collided in the
 * middle - measured: the "Nachher" caption ended at x=745 while "Vorher" began
 * at x=707, so both texts overlapped by 38px and neither was readable. The
 * descriptive half is redundant there anyway, because the section heading
 * already says which project this is. Only the label survives, as a compact
 * pill pinned to the outer corner of its own half.
 */
.assan-lp-compare.is-interactive .assan-lp-compare__panel figcaption {
    right: auto;
    left: auto;
    display: inline-flex;
    width: auto;
    max-width: 45%;
    padding: 7px 13px;
    border-radius: var(--lp-radius-pill);
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel figcaption span {
    display: none;
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel--after figcaption {
    left: 14px;
}

.assan-lp-compare.is-interactive .assan-lp-compare__panel--before figcaption {
    right: 14px;
}

.assan-lp-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--compare-pos);
    width: 3px;
    background: var(--lp-white);
    box-shadow: 0 0 0 1px rgb(8 31 51 / 25%);
    transform: translateX(-50%);
    pointer-events: none;
}

.assan-lp-compare__handle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102a43' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M9 6 4 12l5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 22px no-repeat;
    box-shadow: 0 6px 18px rgb(7 30 54 / 35%);
    transform: translate(-50%, -50%);
    content: '';
}

.assan-lp-compare__control-label {
    display: block;
    margin-bottom: 8px;
    color: var(--lp-ink-soft);
    font-size: var(--lp-text-xs);
    font-weight: var(--lp-weight-strong);
}

.assan-lp-compare__control input[type="range"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    cursor: ew-resize;
}

.assan-lp-compare__control input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-line);
}

.assan-lp-compare__control input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-line);
}

.assan-lp-compare__control input[type="range"]::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
    margin-top: -10px;
    border: 3px solid var(--lp-white);
    border-radius: var(--lp-radius-pill);
    appearance: none;
    background: var(--lp-ink);
    box-shadow: 0 3px 10px rgb(7 30 54 / 30%);
}

.assan-lp-compare__control input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border: 3px solid var(--lp-white);
    border-radius: var(--lp-radius-pill);
    background: var(--lp-ink);
    box-shadow: 0 3px 10px rgb(7 30 54 / 30%);
}

/* Bauphase */
.assan-lp-phase__title {
    margin-bottom: 6px;
}

.assan-lp-phase__lead {
    max-width: 52ch;
    margin: 0 0 28px;
    color: var(--lp-ink-soft);
}

.assan-lp-phase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: clamp(48px, 5vw, 72px);
}

.assan-lp-phase figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-sky);
}

.assan-lp-phase img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.assan-lp-phase figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgb(8 31 51 / 88%);
    color: var(--lp-white);
    font-size: var(--lp-text-xs);
    gap: 8px;
}

.assan-lp-phase figcaption span {
    color: var(--lp-gold);
    font-weight: var(--lp-weight-bold);
}

.assan-lp-case__payoff {
    margin: 0;
    overflow: hidden;
    border-radius: var(--lp-radius);
}

.assan-lp-case__payoff img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 781px) {
    .assan-lp-phase {
        grid-template-columns: minmax(0, 1fr);
    }
}

/*
 * Telephone and e-mail are each optional, but one of them is required. The form
 * said "Pflichtfelder sind mit * gekennzeichnet" and marked neither, then
 * rejected the submission - the rule was only revealed by failing. This line
 * states it before the visitor types, and `aria-describedby` on both inputs
 * (injected in assan-leads.php) says the same thing to a screen reader.
 */
.assan-lp-contact-lead {
    margin-bottom: -6px;
}

.assan-lp-contact-lead p {
    margin: 0;
    font-size: var(--lp-text-sm);
}

.assan-lp-contact-lead__label {
    font-weight: var(--lp-weight-strong);
}

.assan-lp-contact-lead__hint {
    color: var(--lp-ink-soft);
}

/*
 * Build-phase ordinals come from a counter, not from markup. They used to be
 * literal `01`/`02`/`03` in PHP, which was fine while the three phases were
 * hard-coded - the moment they became individually editable blocks, a stored
 * number would go stale as soon as someone reordered them, and a container
 * block cannot number children that render separately. The span is
 * `aria-hidden`: "null eins" before the label is noise, the label carries the
 * meaning.
 */
.assan-lp-phase {
    counter-reset: assan-lp-phase;
}

.assan-lp-phase figure {
    counter-increment: assan-lp-phase;
}

.assan-lp-phase figcaption span[aria-hidden]::before {
    content: counter(assan-lp-phase, decimal-leading-zero);
}

/*
 * Scope cards come from core blocks now, so the ordinal is no longer a `<span>`
 * in the markup - the same counter approach as the build phases. It also fixes
 * what the span always did wrong: a screen reader read "null eins" before every
 * card title.
 */
.assan-lp-scope__grid {
    counter-reset: assan-lp-scope;
}

.assan-lp-scope__grid > article {
    counter-increment: assan-lp-scope;
}

.assan-lp-scope__grid > article::before {
    content: counter(assan-lp-scope, decimal-leading-zero);
}

/* Core wraps every child in a layout flow that adds a top margin; the grid
 * spaces the cards itself. */
.assan-lp-scope__grid > article > :first-child,
.assan-lp-faq__items > .wp-block-details > :first-child {
    margin-top: 0;
}

/* Core's flow layout adds `margin-block-start` to every child but the first.
 * On the containers this stylesheet lays out as grid or flex that offsets the
 * first item against its siblings - visible as card 01 sitting higher than 02
 * and 03. Every one of these containers spaces its children with `gap`, so the
 * margin is redundant. The doubled class beats core's own selector. */
.assan-lp-actions.is-layout-flow > * + *,
.assan-lp-cost.is-layout-flow > * + *,
.assan-lp-cost__layout.is-layout-flow > * + *,
.assan-lp-faq.is-layout-flow > * + *,
.assan-lp-faq__layout.is-layout-flow > * + *,
.assan-lp-process.is-layout-flow > * + *,
.assan-lp-process__layout.is-layout-flow > * + *,
.assan-lp-scope.is-layout-flow > * + *,
.assan-lp-scope__grid.is-layout-flow > * + *,
.assan-lp-umland.is-layout-flow > * + *,
.assan-lp-umland__layout.is-layout-flow > * + * {
    margin-block-start: 0;
}
