/* ==========================================================================
   Landing Page (Home /) - Antonio Blago | Neuro-SEO System
   Conversion-fokussierte LP. Nutzt Design-Tokens aus unified-dark.css.
   Nur EINE Akzentfarbe (var(--accent) orange), Glass-Morphism, rem-Einheiten.
   ========================================================================== */

.lp {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body, 'Aptos', sans-serif);
    overflow-x: hidden;
}

.lp-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.lp section {
    position: relative;
}

/* --- Hero ---------------------------------------------------------------- */
.lp-hero {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(60rem 30rem at 50% -10%, rgba(249, 115, 22, 0.12), transparent 70%),
        var(--bg-primary);
    border-bottom: 0.0625rem solid var(--border-primary);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.lp-hero-text {
    text-align: left;
}

.lp-hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Die <picture>-Wrapper um Hero-Bild und Trust-Logos duerfen die Flex-Layouts
   nicht veraendern: display:contents blendet den Wrapper aus dem Boxmodell aus,
   sodass das <img> weiterhin direktes Flex-Item bleibt. */
.lp-hero-media picture,
.lp-logo picture {
    display: contents;
}

.lp-hero-media img {
    width: 100%;
    max-width: 26rem;
    height: auto;
    border-radius: 1.5rem;
    border: 0.0625rem solid var(--border-primary);
    box-shadow:
        0 1.5rem 3.5rem rgba(0, 0, 0, 0.45),
        0 0 0 0.0625rem rgba(249, 115, 22, 0.12);
    background:
        radial-gradient(20rem 20rem at 70% 10%, rgba(249, 115, 22, 0.14), transparent 70%),
        var(--bg-card);
    object-fit: cover;
}

.lp-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: var(--accent-bg);
    border: 0.0625rem solid var(--accent-border);
    padding: 0.4rem 0.9rem;
    border-radius: 999rem;
    margin-bottom: 1.5rem;
}

.lp-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem;
    color: var(--text-primary);
}

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

.lp-hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 38rem;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.lp-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
    border-radius: 0.75rem;
    border: 0.0625rem solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    min-height: 2.75rem;
}

/* Weisser Text auf --accent ergab nur 2,80:1 und fiel damit durch WCAG AA
   (4,5:1). Statt die Markenfarbe abzudunkeln - was #f97316 als Flaeche
   veraendert haette - traegt der Button jetzt dunklen Text: 6,77:1.
   Beim Hover wird --accent-light genutzt, sonst faellt der Kontrast zum
   dunklen Text auf --accent-dark wieder unter den Grenzwert. */
.lp-btn-primary {
    background: var(--accent);
    color: #0c1115;
    box-shadow: 0 0.5rem 1.5rem rgba(249, 115, 22, 0.25);
}

.lp-btn-primary:hover {
    background: var(--accent-light);
    color: #0c1115;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 2rem rgba(249, 115, 22, 0.35);
}

.lp-btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.lp-btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-0.125rem);
}

/* --- USP cards ----------------------------------------------------------- */
.lp-usps {
    padding: 5.5rem 0;
}

/* Einheitlicher, grosszuegiger Sektions-Rhythmus */
.lp-tools, .lp-process, .lp-testimonials, .lp-cases {
    padding: 5.5rem 0;
}

@media (max-width: 40rem) {
    .lp-usps, .lp-tools, .lp-process, .lp-testimonials, .lp-cases {
        padding: 3.5rem 0;
    }
    .lp-section-head {
        margin-bottom: 2.5rem;
    }
}

.lp-usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Pain points: 2x2 statt 3 Spalten, damit vier Karten gleichmaessig stehen */
.lp-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.lp-usp {
    background: rgba(30, 41, 59, 0.6);
    border: 0.0625rem solid var(--border-primary);
    border-radius: 1.5rem;
    padding: 1.75rem;
}

/* Gold-Standard-Tiefe (CI_DESIGN_SPEC): Glass-Blur + doppelter Schatten */
.lp-usp, .lp-tool, .lp-step, .lp-case {
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28),
                0 0.5rem 1rem rgba(0, 0, 0, 0.16);
}

.lp-usp, .lp-case {
    transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), border-color 0.25s ease;
}

.lp-usp:hover, .lp-case:hover {
    transform: translateY(-0.1875rem);
    border-color: var(--accent-border);
}

.lp-btn:focus-visible, .lp-tool:focus-visible {
    outline: 0.125rem solid var(--accent-light, #fb923c);
    outline-offset: 0.1875rem;
}

.lp-usp-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: var(--accent-bg);
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Die USP-Karten direkt unter dem Hero tragen h2 (sie sind die erste Ebene
   unter der h1), die Pain-Point-Karten weiter unten h3 - dort steht bereits
   ein h2 als Sectionstitel darueber. Beide sollen identisch aussehen. */
.lp-usp h2,
.lp-usp h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1875rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.lp-usp p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Section headings ---------------------------------------------------- */
.lp-section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3.5rem;
}

.lp-section-head h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.625rem, 3.5vw, 2.25rem);
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.lp-section-head p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Trust logos --------------------------------------------------------- */
/* Trust-Logo-Marquee: Markup + Styles leben im Partial
   templates/partials/logo_marquee.html (geteilt mit /de). */

/* --- Tools grid ---------------------------------------------------------- */
.lp-tools {
    padding: 4rem 0;
}

.lp-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-tool {
    display: flex;
    flex-direction: column;
    background: rgba(30, 41, 59, 0.6);
    border: 0.0625rem solid var(--border-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lp-tool:hover {
    transform: translateY(-0.1875rem);
    border-color: var(--accent-border);
    background: rgba(30, 41, 59, 0.85);
}

.lp-tool-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.lp-tool-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--accent-bg);
    color: var(--accent);
}

.lp-tool h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.0625rem;
    margin: 0;
    color: var(--text-primary);
}

.lp-tool p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.lp-tool-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent);
}

/* --- Process steps ------------------------------------------------------- */
.lp-process {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 0.0625rem solid var(--border-primary);
    border-bottom: 0.0625rem solid var(--border-primary);
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-step {
    background: rgba(30, 41, 59, 0.6);
    border: 0.0625rem solid var(--border-primary);
    border-radius: 1.5rem;
    padding: 1.75rem;
    position: relative;
}

.lp-step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    margin-bottom: 1rem;
}

.lp-step h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1875rem;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}

.lp-step-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-light);
    margin: 0 0 0.6rem;
}

.lp-step p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Testimonials -------------------------------------------------------- */
.lp-testimonials {
    padding: 4rem 0;
}

.lp-testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.lp-testi {
    background: rgba(30, 41, 59, 0.6);
    border: 0.0625rem solid var(--border-primary);
    border-radius: 1.5rem;
    padding: 1.75rem;
    border-left: 0.25rem solid var(--accent);
}

.lp-testi-quote {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
}

.lp-testi-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.lp-testi-avatar {
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background: #e9edf3;
    border: 0.1875rem solid var(--accent);
    box-shadow: 0 0 0 0.0625rem rgba(249, 115, 22, 0.25);
}

.lp-testi-avatar-mono {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    background: var(--accent);
}

.lp-testi-meta {
    display: flex;
    flex-direction: column;
}

.lp-testi-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.lp-testi-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- Case studies -------------------------------------------------------- */
.lp-cases {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 0.0625rem solid var(--border-primary);
}

.lp-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-case {
    background: rgba(30, 41, 59, 0.6);
    border: 0.0625rem solid var(--border-primary);
    border-radius: 1rem;
    padding: 1.75rem;
}

.lp-case-metric {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.lp-case h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.0625rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.lp-case p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Final CTA ----------------------------------------------------------- */
.lp-final {
    padding: 5rem 0;
    text-align: center;
}

.lp-final-card {
    max-width: 56rem;
    margin: 0 auto;
    background:
        radial-gradient(40rem 20rem at 50% 0%, rgba(249, 115, 22, 0.15), transparent 70%),
        rgba(30, 41, 59, 0.7);
    border: 0.0625rem solid var(--accent-border);
    border-radius: 2rem;
    padding: 3.5rem 2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.lp-final-card h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.lp-final-card p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto 2rem;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 48rem) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    .lp-section-head,
    .lp-final {
        text-align: left;
    }
    .lp-hero-text {
        text-align: left;
        order: 2;
    }
    .lp-hero-media {
        order: 1;
    }
    .lp-hero-media img {
        max-width: 18rem;
    }
    .lp-cta-row {
        justify-content: center;
    }
    .lp-usp-grid,
    .lp-tools-grid,
    .lp-steps,
    .lp-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-testi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 40rem) {
    .lp-hero {
        padding: 3.5rem 0 3rem;
    }
    .lp-usp-grid,
    .lp-pain-grid,
    .lp-tools-grid,
    .lp-steps,
    .lp-case-grid {
        grid-template-columns: 1fr;
    }
    .lp-cta-row {
        flex-direction: column;
    }
    .lp-btn {
        width: 100%;
    }
    .lp-final-card {
        padding: 2.5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-tool,
    .lp-usp,
    .lp-case {
        transition: none;
    }
    .lp-btn:hover,
    .lp-tool:hover,
    .lp-usp:hover,
    .lp-case:hover {
        transform: none;
    }
}
