/* =========================================================
   T2med-Wechsel Landing — V2
   Nutzt Farbkonzept aus styles-v2.css
   Accent #007A9E · Light Blue #D7F4FA · Primary #004562
   ========================================================= */

/* ---------------------------------------------------------
   1. Hero
   --------------------------------------------------------- */
.lp-hero {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
    z-index: 2;
    color: var(--nw-on-dark);
    background: var(--grad-dark);
    padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3.5rem));
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
    min-height: clamp(520px, 88vh, 820px);
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--grad-dark);
}

.lp-hero__blur {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 90% 70% at 12% 18%,
            rgba(30, 136, 229, 0.22) 0%,
            transparent 58%
        ),
        radial-gradient(
            ellipse 55% 45% at 88% 12%,
            rgba(30, 136, 229, 0.1) 0%,
            transparent 52%
        ),
        radial-gradient(
            ellipse 80% 55% at 50% 108%,
            rgba(13, 71, 161, 0.55) 0%,
            transparent 62%
        );
}

.lp-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.85;
}

.lp-hero .container {
    position: relative;
    z-index: 2;
}

.lp-hero__content {
    max-width: min(100%, 68rem);
    padding-right: clamp(1.25rem, 14vw, 9rem);
}

.lp-hero__eyebrow {
    color: var(--color-accent);
}

.lp-hero__title {
    font-family: var(--font-heading);
    font-weight: var(--headline-weight-thin);
    font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0.6rem 0 0;
    color: #fff;
}

.lp-hero__title .headline-bold {
    font-weight: var(--headline-weight-bold);
}

.lp-hero__sub {
    margin: 1.5rem 0 0;
    max-width: 62ch;
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--nw-on-dark-soft);
}

.lp-hero__actions {
    margin-top: 2.1rem;
}

.lp-hero__trust {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 2rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--nw-on-dark-soft);
}

.lp-hero__trust svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.lp-hero .t2med__visual {
    top: auto;
    bottom: -14%;
    height: 86%;
    z-index: 1;
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .lp-hero .t2med__visual {
        animation: lp-hero-visual-in 2.8s cubic-bezier(0.16, 0.84, 0.24, 1) 0.35s both;
    }
}

@keyframes lp-hero-visual-in {
    from {
        transform: translateX(calc(100% + 5rem));
    }

    to {
        transform: translateX(0);
    }
}

.lp-hero .t2med__visual img {
    height: 100%;
    width: auto;
    max-width: none;
    object-position: 44% center;
}

/* ---------------------------------------------------------
   2. Praxisalltag — Tab-Navigation + Detail-Panel
   --------------------------------------------------------- */
.pain-focus {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: stretch;
}

.pain-focus__nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
    align-self: stretch;
}

.pain-focus__tab {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--nw-line);
    border-radius: var(--radius);
    background: var(--nw-white);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.pain-focus__tab:hover:not(.is-active) {
    border-color: var(--nw-mint-soft);
    background: var(--nw-surface);
}

.pain-focus__tab.is-active {
    border-color: var(--nw-primary);
    background: var(--nw-surface);
    box-shadow: var(--shadow-soft);
}

.pain-focus__tab:focus-visible {
    outline: 2px solid var(--nw-mint);
    outline-offset: 2px;
}

.pain-focus__num {
    flex: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    color: var(--nw-accent);
}

.pain-focus__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--nw-ink);
}

.pain-focus__tab.is-active .pain-focus__label {
    color: var(--nw-primary);
}

.pain-focus__stage {
    position: relative;
    min-height: clamp(240px, 28vw, 320px);
}

.pain-focus__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--grad-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.4s var(--ease-soft),
        transform 0.4s var(--ease-soft),
        visibility 0.4s;
}

.pain-focus__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(120% 90% at 100% 0%, rgba(58, 166, 204, 0.28), transparent 55%);
    opacity: 0.65;
    pointer-events: none;
}

.pain-focus__panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.pain-focus__stage-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: var(--nw-accent);
    margin-bottom: 1rem;
}

.pain-focus__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
    color: #fff;
}

.pain-focus__text {
    margin: 0;
    max-width: 48ch;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--nw-on-dark-soft);
}

/* ---------------------------------------------------------
   3. Lösungsblock
   --------------------------------------------------------- */
.lp-solution {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.lp-solution__intro .btn {
    margin-top: 1.8rem;
}

.lp-solution__list {
    margin: 0;
}

.lp-solution__list li strong {
    color: var(--nw-ink);
}

/* ---------------------------------------------------------
   4. Prozess (5 Schritte — .step / .step__num aus Handout)
   --------------------------------------------------------- */
.lp-steps {
    grid-template-columns: repeat(5, 1fr);
}

/* ---------------------------------------------------------
   5. Trust / Stats
   --------------------------------------------------------- */
.lp-proof__stats {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* ---------------------------------------------------------
   6. Vorqualifizierungsmodul
   --------------------------------------------------------- */
.lp-qualify {
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: var(--radius-xl);
}

.section--dark .lp-qualify {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.lp-qualify__head {
    text-align: center;
    margin-bottom: clamp(1.8rem, 3vw, 2.5rem);
}

.lp-qualify__head .section__intro {
    margin-inline: auto;
}

.lp-qualify__form .btn--block {
    margin-top: 0.5rem;
}

.lp-qualify__note {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--nw-on-dark-muted);
}

.section--dark .lp-qualify .funnel-step__label {
    color: var(--nw-on-dark);
}

.section--dark .lp-qualify .funnel-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--nw-on-dark-soft);
}

.section--dark .lp-qualify .funnel-chip[aria-pressed="true"],
.section--dark .lp-qualify .funnel-chip:hover {
    background: rgba(215, 244, 250, 0.12);
    border-color: var(--nw-mint);
    color: #fff;
}

.section--dark .lp-qualify .funnel-input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.section--dark .lp-qualify .funnel-input::placeholder {
    color: var(--nw-on-dark-muted);
}

.section--dark .lp-qualify .funnel-input:focus {
    border-color: var(--nw-mint);
    box-shadow: 0 0 0 4px var(--nw-mint-muted);
}

/* Mint — Interaktion (Handout) */
.funnel-chip[aria-pressed="true"],
.funnel-chip:hover {
    border-color: var(--nw-mint);
    color: var(--nw-primary);
}

.funnel-chip[aria-pressed="true"] {
    background: rgba(215, 244, 250, 0.1);
}

/* ---------------------------------------------------------
   Abschluss-CTA
   --------------------------------------------------------- */
.final-cta .cta-note {
    margin-top: 0.75rem;
    padding-top: 1.75rem;
}

/* ---------------------------------------------------------
   7. Responsiv
   --------------------------------------------------------- */
@media (max-width: 980px) {
    .lp-solution {
        grid-template-columns: 1fr;
    }

    .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-focus {
        grid-template-columns: 1fr;
    }

    .pain-focus__nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .pain-focus__tab {
        flex: none;
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .lp-hero {
        min-height: auto;
    }

    .lp-hero__content {
        max-width: none;
        padding-right: 0;
    }

    .lp-hero .t2med__visual {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        animation: none;
        transform: none;
        height: auto;
        width: 100%;
        max-width: min(100%, 20rem);
        aspect-ratio: auto;
        margin: 2.5rem auto 0;
        overflow: visible;
        pointer-events: auto;
    }

    .lp-hero .t2med__visual img {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
        will-change: auto;
    }
}

@media (max-width: 720px) {
    .lp-hero {
        padding-bottom: clamp(2.5rem, 8vw, 4rem);
    }

    .pain-focus__nav {
        grid-template-columns: 1fr;
    }

    .pain-focus__stage {
        min-height: 220px;
    }
}

@media (max-width: 560px) {
    .lp-steps {
        grid-template-columns: 1fr;
    }
}
