/*
 * ============================================================
 * KnowListic Landing · Branding Redesign
 * ============================================================
 */

:root {
    --kl-brand-blue: 13, 110, 253;
    --kl-brand-cyan: 13, 202, 240;
    --kl-brand-green: 25, 135, 84;
    --kl-brand-yellow: 255, 193, 7;
    --kl-landing-progress: 0;
    --kl-landing-active-rgb: var(--kl-brand-blue);
    --kl-radius-xl: 2rem;
    --kl-radius-xxl: 2.75rem;
    --kl-shadow-sm: 0 .85rem 2rem rgba(0, 0, 0, .065);
    --kl-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .115);
}

body.wachapp-landing-active {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    max-height: none !important;
}

body.wachapp-landing-active #page,
body.wachapp-landing-active .site,
body.wachapp-landing-active .site-content,
body.wachapp-landing-active .site-main,
body.wachapp-landing-active .content-area,
body.wachapp-landing-active #primary,
body.wachapp-landing-active #content,
body.wachapp-landing-active main {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

#wt-landing {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    background:
        radial-gradient(circle at 8% 4%, rgba(var(--kl-brand-blue), .14), transparent 32rem),
        radial-gradient(circle at 90% 24%, rgba(var(--kl-brand-cyan), .12), transparent 32rem),
        radial-gradient(circle at 72% 88%, rgba(var(--kl-brand-green), .10), transparent 36rem),
        linear-gradient(180deg, var(--bs-body-bg), var(--bs-tertiary-bg) 42%, var(--bs-body-bg));
}

#wt-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .72;
    background:
        radial-gradient(circle at calc(14% + (var(--kl-landing-progress) * 44%)) 18%, rgba(var(--kl-landing-active-rgb), .13), transparent 30rem),
        radial-gradient(circle at 84% 74%, rgba(var(--kl-brand-green), .09), transparent 31rem),
        radial-gradient(circle at 48% 52%, rgba(var(--kl-brand-cyan), .055), transparent 36rem);
    transform: none;
}

.kl-section {
    position: relative;
    overflow: hidden;
}

.kl-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 8%, rgba(var(--kl-landing-active-rgb), .10), transparent 28rem),
        radial-gradient(circle at 10% 96%, rgba(var(--kl-brand-cyan), .055), transparent 25rem);
}

.kl-section>.container {
    position: relative;
    z-index: 1;
}

.kl-section-soft {
    background:
        linear-gradient(180deg, rgba(var(--bs-tertiary-bg-rgb), .78), rgba(var(--bs-body-bg-rgb), .84)),
        radial-gradient(circle at 8% 18%, rgba(var(--kl-brand-blue), .08), transparent 30rem);
}

.kl-glass,
.kl-panel,
.kl-highlight-callout,
.kl-rating-summary,
.kl-dashboard-mock,
.kl-process-line {
    border: 1px solid var(--bs-border-color-translucent);
    background: rgba(var(--bs-body-bg-rgb), .78);
    box-shadow: var(--kl-shadow-sm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.kl-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border-radius: 999rem;
    font-size: .875rem;
    font-weight: 700;
    border: 1px solid var(--bs-border-color-translucent);
    background: rgba(var(--bs-body-bg-rgb), .78);
    box-shadow: 0 .6rem 1.5rem rgba(0, 0, 0, .055);
}

.kl-icon-box {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.kl-icon-box-light {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

.kl-muted-light {
    color: rgba(255, 255, 255, .72);
}

.kl-gradient-text {
    background: linear-gradient(110deg, #fff 0%, #6ea8fe 32%, #57f0cf 78%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* Scroll-Stabilität
   - verhindert, dass das Hintergrundvideo Touch-/Drag-Gesten abfängt
   - reduziert teure Root-Selektoren und Fixed-Background-Arbeit
   - verhindert zweite Scrollachsen durch Theme-Wrapper oder breite Dekoelemente */
#wt-landing {
    max-width: 100%;
    min-width: 0;
    touch-action: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}

#wt-landing *,
#wt-landing *::before,
#wt-landing *::after {
    box-sizing: border-box;
}

#wt-landing .container,
#wt-landing .row,
#wt-landing [class*="col-"] {
    min-width: 0;
}

.kl-hero-bg,
.kl-hero-bg *,
.kl-hero-video,
.kl-hero-video *,
.kl-hero-overlay,
.kl-hero-orb {
    pointer-events: none !important;
}

.kl-hero,
.kl-section,
.kl-proof-strip {
    touch-action: pan-y;
}

/* Hero */
.kl-hero {
    min-height: min(100svh, 860px);
}

.kl-hero .container {
    min-height: min(100svh, 860px);
}

.kl-hero-video.wt-video {
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.kl-hero-video video {
    filter: saturate(1.12) contrast(1.04);
}

.kl-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 8, 18, .90) 0%, rgba(3, 8, 18, .62) 42%, rgba(3, 8, 18, .94) 100%),
        linear-gradient(90deg, rgba(3, 8, 18, .88) 0%, rgba(3, 8, 18, .66) 38%, rgba(3, 8, 18, .24) 70%, rgba(3, 8, 18, .48) 100%);
}

.kl-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    opacity: .42;
    mask-image: linear-gradient(180deg, #000, transparent 76%);
}

.kl-hero-orb {
    position: absolute;
    border-radius: 999rem;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
}

/* Die weiche Kante steckt bereits im Radialverlauf; kein Filter im Motion-Subtree. */
.kl-hero-orb::before {
    position: absolute;
    inset: 0;
    content: "";
    border-radius: inherit;
}

.kl-hero-orb-one {
    width: 32rem;
    height: 32rem;
    right: -12rem;
    top: 7rem;
    animation: klHeroFloat 11s ease-in-out infinite;
}

.kl-hero-orb-one::before {
    background: radial-gradient(circle, rgba(13, 110, 253, .36), rgba(13, 202, 240, .12) 44%, transparent 70%);
}

.kl-hero-orb-two {
    width: 24rem;
    height: 24rem;
    left: -8rem;
    bottom: 6rem;
    animation: klHeroFloat 14s ease-in-out infinite reverse;
}

.kl-hero-orb-two::before {
    background: radial-gradient(circle, rgba(25, 135, 84, .24), transparent 72%);
}

.kl-hero-title {
    text-shadow: 0 .35rem 1.7rem rgba(0, 0, 0, .38);
    letter-spacing: -.045em;
}

.kl-hero-lead {
    max-width: 56rem;
    color: rgba(255, 255, 255, .90);
    text-shadow: 0 .25rem 1.1rem rgba(0, 0, 0, .32);
}

.kl-hero-panel {
    position: relative;
    overflow: hidden;
    background: rgba(9, 18, 35, .56);
    border-color: rgba(255, 255, 255, .16);
}

.kl-hero-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        radial-gradient(circle at 92% 10%, rgba(111, 168, 254, .28), transparent 18rem),
        radial-gradient(circle at 8% 100%, rgba(87, 240, 207, .14), transparent 22rem);
}

.kl-hero-panel>* {
    position: relative;
    z-index: 1;
}

.kl-hero-rate {
    background: linear-gradient(135deg, rgba(13, 110, 253, .95), rgba(13, 202, 240, .72) 58%, rgba(25, 135, 84, .76));
    box-shadow: 0 1rem 3rem rgba(13, 110, 253, .26);
}

.kl-mini-stat {
    min-width: 0;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .12);
}

.kl-mini-label {
    color: rgba(255, 255, 255, .70);
    letter-spacing: .035em;
    overflow-wrap: anywhere;
}

/* Proof */
.kl-proof-strip {
    margin-top: -5rem;
    position: relative;
    z-index: 3;
}

.kl-chart-card {
    box-shadow: none !important;
}

/* Cards */
.kl-lift-card,
.kl-testimonial-card,
.kl-audience-card {
    position: relative;
    overflow: hidden;
}

.kl-lift-card::after,
.kl-audience-card::after {
    content: "";
    position: absolute;
    inset: auto -38% -58% 22%;
    height: 8rem;
    background: radial-gradient(circle, rgba(var(--kl-landing-active-rgb), .14), transparent 72%);
    pointer-events: none;
}

.kl-process-steps {
    min-width: 0;
}

.kl-process-steps>[class*="col"] {
    min-width: 0;
}

.kl-step-pill {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    min-height: 3.35rem;
    border-radius: 999rem;
    padding: .75rem .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-weight: 700;
    white-space: normal;
    text-align: center;
    color: var(--bs-body-color);
    background:
        linear-gradient(135deg, rgba(var(--bs-body-bg-rgb), .82), rgba(var(--bs-body-bg-rgb), .62)),
        linear-gradient(135deg, rgba(var(--kl-brand-blue), .18), rgba(var(--kl-brand-cyan), .14), rgba(var(--kl-brand-green), .10));
    border: 1px solid rgba(var(--kl-brand-blue), .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 .55rem 1.35rem rgba(13, 110, 253, .08);
}

.kl-step-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .7;
    background: radial-gradient(circle at 25% 18%, rgba(var(--kl-brand-cyan), .18), transparent 60%);
}

.kl-step-pill i {
    color: rgb(var(--kl-brand-blue));
    font-size: 1rem;
    line-height: 1;
}

.kl-step-pill span {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
}

.kl-wow-panel,
.kl-final-cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .98), rgba(13, 202, 240, .80) 45%, rgba(25, 135, 84, .84)),
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, .28), transparent 18rem);
    box-shadow: 0 1.4rem 4rem rgba(13, 110, 253, .26);
}

.kl-wow-panel::before,
.kl-final-cta::before {
    content: "";
    position: absolute;
    inset: -12% 35% auto -18%;
    height: 20rem;
    border-radius: 999rem;
    background: rgba(255, 255, 255, .18);
    transform: rotate(-12deg);
}

.kl-wow-panel>*,
.kl-final-cta>* {
    position: relative;
    z-index: 1;
}

.kl-wow-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.kl-wow-orbit span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    font-weight: 700;
}

.kl-audience-number {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--bs-body-color-rgb), .055);
}

/* Dashboard Mock */
.kl-dashboard-mock {
    position: relative;
    overflow: hidden;
}

.kl-dashboard-mock::before {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    right: -6rem;
    top: -6rem;
    border-radius: 999rem;
    background: radial-gradient(circle, rgba(var(--kl-brand-blue), .15), transparent 72%);
}

.kl-dashboard-mock>* {
    position: relative;
    z-index: 1;
}

.kl-browser-bar span {
    width: .75rem;
    height: .75rem;
    border-radius: 999rem;
    background: var(--bs-secondary-color);
    opacity: .45;
}

.kl-mock-tile,
.kl-mock-note,
.kl-mock-chart {
    border: 1px solid var(--bs-border-color-translucent);
    background: rgba(var(--bs-body-bg-rgb), .78);
}

.kl-mock-tile-primary {
    color: #fff;
    background: linear-gradient(135deg, rgba(13, 110, 253, .95), rgba(13, 202, 240, .74));
}

.kl-mock-chart {
    position: relative;
    height: 17rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(var(--bs-body-color-rgb), .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bs-body-color-rgb), .055) 1px, transparent 1px),
        rgba(var(--bs-body-bg-rgb), .64);
    background-size: 100% 25%, 14.2% 100%, auto;
}

.kl-chart-bars {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    top: 1.25rem;
    display: flex;
    align-items: flex-end;
    gap: .75rem;
}

.kl-chart-bars span {
    flex: 1 1 auto;
    min-width: .5rem;
    border-radius: 999rem 999rem .35rem .35rem;
    background: linear-gradient(180deg, rgba(13, 202, 240, .9), rgba(13, 110, 253, .8));
    box-shadow: 0 .8rem 1.8rem rgba(13, 110, 253, .16);
}

.kl-chart-line {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    border-radius: 999rem;
    z-index: 2;
}

.kl-chart-line-one {
    top: 34%;
    background: rgba(25, 135, 84, .75);
}

.kl-chart-line-two {
    top: 52%;
    background: rgba(255, 193, 7, .75);
}

.kl-insight-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(var(--bs-body-bg-rgb), .72);
    border: 1px solid var(--bs-border-color-translucent);
}

.kl-insight-row>i {
    font-size: 1.35rem;
    flex: 0 0 auto;
}

/* Testimonials */
#testimonials .wt-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, rgb(var(--kl-brand-blue)), rgb(var(--kl-brand-cyan)), rgb(var(--kl-brand-green)));
    border-radius: 0 2px 2px 0;
    opacity: .75;
    transform: scaleX(0);
    transform-origin: left center;
    backface-visibility: hidden;
}

#testimonials .wt-fader {
    transition: opacity .4s ease, transform .4s ease;
    opacity: 1;
}

#testimonials .wt-hidden {
    opacity: 0;
    transform: translateY(.6rem);
}

#testimonials .wachapp-testimonials-rating-stars,
#testimonials .wt-stars {
    letter-spacing: .04em;
}

#testimonials .wt-quote {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.65;
    min-height: 8.25em;
}

#testimonials .wt-review-link {
    white-space: nowrap;
}

.kl-faq-sticky {
    top: 2rem;
}

.kl-faq-accordion .accordion-item {
    border: 1px solid var(--bs-border-color-translucent);
}

.kl-faq-accordion .accordion-button {
    background: rgba(var(--bs-body-bg-rgb), .76);
    box-shadow: none;
}

.kl-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
}

/* Reveal */
.kl-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0) scale(.985);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.kl-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (hover: hover) {

    .kl-lift-card,
    .kl-panel,
    .kl-dashboard-mock,
    .kl-rating-summary {
        transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }

    .kl-lift-card:hover,
    .kl-panel:hover,
    .kl-dashboard-mock:hover,
    .kl-rating-summary:hover {
        transform: translateY(-3px);
        box-shadow: var(--kl-shadow);
    }
}

@keyframes klHeroFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -1rem, 0) scale(1.035);
    }
}

@media (min-width: 992px) {
    .position-lg-sticky {
        position: sticky;
    }
}

@media (max-width: 991.98px) {
    .kl-hero .container {
        min-height: auto;
        padding-top: 7rem !important;
        padding-bottom: 5rem !important;
    }

    .kl-proof-strip {
        margin-top: -2.5rem;
    }
}

@media (max-width: 767.98px) {
    #wt-landing::before {
        position: absolute;
        opacity: .62;
        transform: none;
    }

    .kl-hero-title {
        font-size: clamp(3rem, 14vw, 4.35rem);
    }

    .kl-hero-panel {
        border-radius: 2rem !important;
    }

    .kl-mini-stat {
        min-height: 9.2rem;
    }

    .kl-mock-chart {
        height: 14rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    #wt-landing::before,
    .kl-hero-orb,
    .kl-reveal,
    .kl-lift-card,
    .kl-panel,
    #testimonials .wt-fader {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .kl-reveal {
        opacity: 1;
    }
}


/* ============================================================
   Landing Struktur-Fix · Hero, Prozess-Pills, Mobile Balance
   ============================================================ */
#wt-landing {
    max-width: 100%;
}

.kl-hero>.container.min-vh-100 {
    min-height: 100svh !important;
}

.kl-hero .kl-eyebrow,
.kl-hero .kl-chip {
    color: rgba(255, 255, 255, .92);
    background: rgba(8, 15, 30, .46);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .10);
    text-shadow: 0 .15rem .6rem rgba(0, 0, 0, .24);
}

.kl-hero .kl-chip {
    background: rgba(8, 15, 30, .38);
}

.kl-hero .kl-eyebrow i,
.kl-hero .kl-chip i {
    text-shadow: none;
}

.kl-hero-title {
    font-size: clamp(4.1rem, 7.2vw, 6.3rem);
    max-width: 11.5ch;
}

.kl-hero-title .kl-gradient-text {
    max-width: 100%;
}

.kl-hero-lead {
    max-width: 48rem;
}

.kl-process-line {
    max-width: 100%;
}

.kl-wow-orbit span {
    min-width: 0;
    text-align: center;
    padding-inline: .75rem;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .kl-hero-title {
        font-size: clamp(3.65rem, 7.6vw, 5.35rem);
    }
}

@media (max-width: 991.98px) {
    .kl-hero>.container.min-vh-100 {
        min-height: auto !important;
    }

    .kl-hero .container {
        padding-top: 5.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    .kl-hero-title {
        max-width: 12.5ch;
        font-size: clamp(3.05rem, 8.4vw, 4.55rem);
        letter-spacing: -.038em;
    }

    .kl-hero-lead {
        max-width: 42rem;
    }

}

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

    .kl-hero .container {
        padding-top: 4.75rem !important;
        padding-bottom: 3.75rem !important;
    }

    .kl-hero-title {
        font-size: clamp(2.45rem, 11vw, 3.35rem);
        line-height: 1.06;
        letter-spacing: -.032em;
        max-width: 12ch;
        margin-bottom: 1.1rem !important;
    }

    .kl-hero-lead {
        font-size: 1.05rem;
        line-height: 1.65;
        margin-bottom: 1.25rem !important;
    }

    .kl-hero .kl-chip {
        padding-top: .55rem !important;
        padding-bottom: .55rem !important;
        font-size: .875rem;
    }

    .kl-process-line {
        padding: 1.15rem !important;
        border-radius: 1.6rem !important;
    }

    .kl-process-steps {
        gap: .6rem;
    }

    .kl-step-pill {
        min-height: 3rem;
        padding: .65rem .7rem;
        font-size: .95rem;
    }

    .kl-step-pill i {
        font-size: .95rem;
    }

    .kl-wow-orbit {
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
    }

    .kl-wow-orbit span {
        min-height: 3.5rem;
        font-size: .95rem;
    }
}

@media (max-width: 429.98px) {
    .kl-hero-title {
        font-size: clamp(2.25rem, 10.4vw, 2.95rem);
    }

    .kl-hero .d-flex.flex-wrap.gap-2.mb-4[aria-label="KnowListic Vorteile"] {
        gap: .5rem !important;
    }

    .kl-hero .kl-chip {
        flex: 1 1 100%;
        justify-content: center;
    }

    .kl-step-pill span {
        overflow: visible;
        text-overflow: clip;
    }
}


/* ============================================================
   Landing Smooth-Scroll Fix · Mobile/Touch
   ============================================================ */
@media (max-width: 991.98px) {
    #wt-landing::before {
        display: none;
    }

    .kl-section::before {
        opacity: .72;
    }

    .kl-glass,
    .kl-panel,
    .kl-highlight-callout,
    .kl-rating-summary,
    .kl-dashboard-mock,
    .kl-process-line {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .kl-hero-video video {
        filter: saturate(1.05) contrast(1.02);
    }
}

@media (max-width: 767.98px) {
    .kl-hero-orb {
        animation: none;
        opacity: .68;
    }

    .kl-section {
        overflow-x: hidden;
    }

    .kl-lift-card::after,
    .kl-audience-card::after {
        opacity: .72;
    }
}


/* ============================================================
   Landing Stabilitäts-Fix · genau eine Scrollachse
   ============================================================ */
body.wachapp-landing-active {
    position: static !important;
    overscroll-behavior-y: auto;
}

body.wachapp-landing-active #wt-landing,
body.wachapp-landing-active #wt-landing .container,
body.wachapp-landing-active #wt-landing .row,
body.wachapp-landing-active #wt-landing [class*="col-"] {
    max-width: 100%;
}

body.wachapp-landing-active #wt-landing::before {
    bottom: 0;
}

body.wachapp-landing-active .kl-faq-sticky {
    position: static !important;
    top: auto !important;
}

body.wachapp-landing-active .kl-section,
body.wachapp-landing-active .kl-proof-strip {
    overflow-x: hidden;
    overflow-y: visible;
}

body.wachapp-landing-active .kl-process-line {
    overflow: hidden;
}

body.wachapp-landing-active .kl-process-steps {
    width: 100%;
}

body.wachapp-landing-active .kl-step-pill {
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 767.98px) {
    body.wachapp-landing-active .kl-hero>.container {
        min-height: auto !important;
    }

    body.wachapp-landing-active .kl-process-line .row {
        --bs-gutter-y: 1rem;
    }
}

html.wachapp-landing-html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
}


/* ============================================================
   Landing Final-Fix · stabile Container ohne Safe-Area-Offset
   ============================================================
   Ziel:
   - Hero bleibt Full-Bleed, Content bleibt sauber geführt.
   - Keine Safe-Area-Padding-Addition, weil sie auf iPhone teils
     asymmetrische Breiten erzeugt hat.
   - Nur die Browserseite scrollt; keine verschachtelten Scrollachsen.
   - Kein 100vw für Inhaltscontainer, damit iOS keine rechte Leerfläche
     durch Viewport-/Scrollbar-Berechnung erzeugt.
   ============================================================ */
:root {
    --kl-content-max-width: 1320px;
}

html.wachapp-landing-html {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: clip !important;
    overflow-y: auto !important;
    scrollbar-gutter: auto !important;
}

@supports not (overflow: clip) {
    html.wachapp-landing-html {
        overflow-x: hidden !important;
    }
}

body.wachapp-landing-active {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 100%;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: static !important;
    background: var(--bs-body-bg);
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
}

@supports not (overflow: clip) {
    body.wachapp-landing-active {
        overflow-x: hidden !important;
    }
}

body.wachapp-landing-active #page,
body.wachapp-landing-active .site,
body.wachapp-landing-active .site-content,
body.wachapp-landing-active .site-main,
body.wachapp-landing-active .content-area,
body.wachapp-landing-active #primary,
body.wachapp-landing-active #content {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: visible !important;
    transform: none !important;
    contain: none !important;
}

body.wachapp-landing-active #wt-landing {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

@supports not (overflow: clip) {
    body.wachapp-landing-active #wt-landing {
        overflow-x: hidden !important;
    }
}

body.wachapp-landing-active #wt-landing>section>.container,
body.wachapp-landing-active #wt-landing>.kl-section>.container,
body.wachapp-landing-active #wt-landing .kl-proof-strip>.container,
body.wachapp-landing-active .kl-hero>.container {
    width: 100%;
    max-width: var(--kl-content-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    box-sizing: border-box;
}

body.wachapp-landing-active #wt-landing .container,
body.wachapp-landing-active #wt-landing .container-fluid,
body.wachapp-landing-active #wt-landing .row,
body.wachapp-landing-active #wt-landing [class*="col-"] {
    min-width: 0;
}

body.wachapp-landing-active #wt-landing .container,
body.wachapp-landing-active #wt-landing .container-fluid {
    max-width: var(--kl-content-max-width);
}

body.wachapp-landing-active #wt-landing .row {
    max-width: none;
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
}

body.wachapp-landing-active .kl-section,
body.wachapp-landing-active .kl-proof-strip,
body.wachapp-landing-active .kl-hero {
    max-width: 100%;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

@supports not (overflow: clip) {

    body.wachapp-landing-active .kl-section,
    body.wachapp-landing-active .kl-proof-strip,
    body.wachapp-landing-active .kl-hero {
        overflow-x: hidden !important;
    }
}

body.wachapp-landing-active .kl-hero-bg,
body.wachapp-landing-active .kl-hero-bg *,
body.wachapp-landing-active .kl-hero-video,
body.wachapp-landing-active .kl-hero-video *,
body.wachapp-landing-active .kl-hero-overlay,
body.wachapp-landing-active .kl-hero-orb,
body.wachapp-landing-active .wt-video-overlay,
body.wachapp-landing-active .wt-video-spinner {
    pointer-events: none !important;
}

body.wachapp-landing-active .kl-hero {
    touch-action: pan-y;
}

body.wachapp-landing-active .kl-hero>.container {
    padding-top: 6rem !important;
    padding-bottom: 5rem !important;
}

body.wachapp-landing-active .kl-proof-strip {
    margin-top: clamp(-4rem, -5vw, -2rem);
}

body.wachapp-landing-active #faq,
body.wachapp-landing-active #testimonials,
body.wachapp-landing-active #pricing {
    padding-bottom: 3rem !important;
}

body.wachapp-landing-active .kl-process-line .row {
    max-width: none;
}

body.wachapp-landing-active .kl-step-pill {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
}

body.wachapp-landing-active .kl-step-pill span {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
}

@media (max-width: 991.98px) {
    body.wachapp-landing-active .kl-hero>.container {
        padding-top: 5.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    body.wachapp-landing-active .kl-proof-strip {
        margin-top: clamp(-2.5rem, -4vw, -1.25rem);
    }
}

@media (max-width: 767.98px) {

    body.wachapp-landing-active #wt-landing>section>.container,
    body.wachapp-landing-active #wt-landing>.kl-section>.container,
    body.wachapp-landing-active #wt-landing .kl-proof-strip>.container,
    body.wachapp-landing-active .kl-hero>.container {
        padding-right: .95rem;
        padding-left: .95rem;
    }

    body.wachapp-landing-active .kl-hero>.container {
        min-height: auto !important;
        padding-top: 4.75rem !important;
        padding-bottom: 3.75rem !important;
    }

    body.wachapp-landing-active .kl-process-line .row {
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 429.98px) {

    body.wachapp-landing-active #wt-landing>section>.container,
    body.wachapp-landing-active #wt-landing>.kl-section>.container,
    body.wachapp-landing-active #wt-landing .kl-proof-strip>.container,
    body.wachapp-landing-active .kl-hero>.container {
        padding-right: .85rem;
        padding-left: .85rem;
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    body.wachapp-landing-active .kl-hero>.container {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    body.wachapp-landing-active .kl-hero-title {
        max-width: 14ch;
        font-size: clamp(2.35rem, 7vw, 4.25rem);
    }
}


/* ============================================================
   iPhone Layout-Fix · Hero Row / horizontale Leerfläche
   ============================================================
   Ursache:
   - Bootstrap .row besitzt negative horizontale Margins.
   - Im Hero war zusätzlich w-100 gesetzt.
   - Auf echten iPhones kann daraus eine Breite über dem Viewport
     entstehen. Ergebnis: Content klebt links, rechts entsteht Leerraum.
   Lösung:
   - Hero-Row ohne w-100 im Template.
   - Zusätzlich werden die Row-Margins im Hero neutralisiert.
   - Nur der Hero wird so behandelt; normale Bootstrap-Grids darunter
     bleiben unverändert.
   ============================================================ */
body.wachapp-landing-active .kl-hero .kl-hero-content-row {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.wachapp-landing-active .kl-hero .kl-hero-content-row>[class*="col-"] {
    min-width: 0 !important;
}

body.wachapp-landing-active .kl-hero>.container {
    max-width: min(var(--kl-content-max-width), 100%) !important;
    overflow-x: clip !important;
}

@supports not (overflow: clip) {
    body.wachapp-landing-active .kl-hero>.container {
        overflow-x: hidden !important;
    }
}

@media (max-width: 767.98px) {
    body.wachapp-landing-active .kl-hero .kl-hero-content-row {
        --bs-gutter-x: 0rem;
        --bs-gutter-y: 2rem;
    }

    body.wachapp-landing-active .kl-hero .kl-hero-panel,
    body.wachapp-landing-active .kl-hero .kl-hero-rate,
    body.wachapp-landing-active .kl-hero .kl-mini-stat,
    body.wachapp-landing-active .kl-hero .kl-chip,
    body.wachapp-landing-active .kl-hero .btn {
        max-width: 100%;
    }
}

/* Zusätzliche Absicherung gegen iOS-Subpixel-Overflow durch dekorative Ebenen. */
body.wachapp-landing-active .kl-hero-bg,
body.wachapp-landing-active .kl-hero-bg::after,
body.wachapp-landing-active .kl-hero-overlay {
    max-width: 100%;
    overflow: hidden;
}

/* ============================================================
   Landing Prozess-Fix · komponentenbasiertes Grid
   ============================================================
   Ziel:
   - Der Ablaufbereich entscheidet anhand seiner eigenen Breite,
     nicht anhand der Viewport-Breite.
   - Bei schmaler Komponente: Überschrift oben, Pills darunter als 2x2.
   - Bei breiter Komponente: Überschrift links, Pills rechts als 4er-Reihe.
   - Kein Abschneiden von "Auswerten" oder "Wiederholen".
   ============================================================ */
.kl-process-line {
    container-type: inline-size;
    container-name: kl-process-line;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border: 1px solid var(--bs-border-color-translucent);
    background:
        linear-gradient(135deg, rgba(var(--bs-body-bg-rgb), .86), rgba(var(--bs-body-bg-rgb), .68)),
        radial-gradient(circle at 12% 15%, rgba(var(--kl-brand-blue), .12), transparent 22rem),
        radial-gradient(circle at 92% 70%, rgba(var(--kl-brand-cyan), .10), transparent 24rem);
    box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, .06);
}

.kl-process-line>.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.25rem;
    align-items: flex-start !important;
}

.kl-process-line>.row>[class*="col-"] {
    min-width: 0 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.kl-process-line .small.text-uppercase {
    letter-spacing: .055em;
}

.kl-process-line .h4,
.kl-process-title {
    max-width: 100%;
    text-wrap: balance;
}

.kl-process-steps {
    width: 100%;
    min-width: 0;
    --bs-gutter-x: .7rem;
    --bs-gutter-y: .7rem;
}

.kl-process-steps>.col,
.kl-process-steps>[class*="col"] {
    min-width: 0 !important;
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

.kl-step-pill {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .72rem .8rem;
    border-radius: 999rem;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    color: var(--bs-body-color);
    background:
        linear-gradient(135deg, rgba(var(--bs-body-bg-rgb), .82), rgba(var(--bs-body-bg-rgb), .62)),
        linear-gradient(135deg, rgba(var(--kl-brand-blue), .18), rgba(var(--kl-brand-cyan), .14), rgba(var(--kl-brand-green), .10));
    border: 1px solid rgba(var(--kl-brand-blue), .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 .55rem 1.35rem rgba(13, 110, 253, .08);
}

.kl-step-pill i {
    flex: 0 0 auto;
    color: rgb(var(--kl-brand-blue));
    font-size: 1rem;
    line-height: 1;
}

.kl-step-pill span {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container kl-process-line (min-width: 920px) {
    .kl-process-line>.row {
        align-items: center !important;
    }

    .kl-process-line>.row>.col-lg-4,
    .kl-process-line>.row>.col-xl-4 {
        flex: 0 0 30% !important;
        width: 30% !important;
        max-width: 30% !important;
    }

    .kl-process-line>.row>.col-lg-8,
    .kl-process-line>.row>.col-xl-8 {
        flex: 0 0 70% !important;
        width: 70% !important;
        max-width: 70% !important;
    }

    .kl-process-steps>.col,
    .kl-process-steps>[class*="col"] {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
    }

    .kl-step-pill {
        min-height: 3.2rem;
        padding-inline: .65rem;
        font-size: .94rem;
    }
}

@container kl-process-line (min-width: 1080px) {

    .kl-process-line>.row>.col-lg-4,
    .kl-process-line>.row>.col-xl-4 {
        flex-basis: 32% !important;
        width: 32% !important;
        max-width: 32% !important;
    }

    .kl-process-line>.row>.col-lg-8,
    .kl-process-line>.row>.col-xl-8 {
        flex-basis: 68% !important;
        width: 68% !important;
        max-width: 68% !important;
    }

    .kl-step-pill {
        padding-inline: .85rem;
        font-size: .98rem;
    }
}

@media (max-width: 575.98px) {
    .kl-process-line {
        padding: 1.15rem !important;
        border-radius: 1.6rem !important;
    }

    .kl-process-line>.row {
        --bs-gutter-y: 1rem;
    }

    .kl-process-steps>.col,
    .kl-process-steps>[class*="col"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .kl-step-pill {
        justify-content: flex-start;
        min-height: 3.05rem;
        padding-inline: .95rem;
    }

    .kl-step-pill span {
        overflow: visible;
        text-overflow: clip;
    }
}
