/* ═══════════════════════════════════════════════════════════════════════
   landing.css – Landingpage scantax.at
   Nur fuer Views/Home/Landing.cshtml. Verwendet ausschliesslich die
   bestehenden Brand-Tokens aus site.css (:root) sowie DM Sans / Georgia,
   damit Logo, Farbwelt und Typografie unveraendert bleiben.

   Aufbau angelehnt an die Struktur von "TheEvent" (Hero mit Countdown,
   Tab-Fahrplan, Karten mit Hover-Overlay, CTA-Band) und "Regna"
   (Section-Titel mit Akzentlinie, Icon-Boxen, animierte Zaehler,
   Ghost-Buttons, Back-to-Top).
   ═══════════════════════════════════════════════════════════════════════ */

.lp2 {
    --lp2-dark: var(--brand-green, #123047);
    --lp2-teal: #1F6F73;
    --lp2-mint: #4ecdc4;
    --lp2-accent: var(--brand-accent, #3FA66B);
    --lp2-paper: var(--brand-bg, #F7F5EF);
    --lp2-ink: var(--brand-text, #1E252B);
    --lp2-muted: var(--brand-muted, #5E7283);
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: var(--lp2-ink);
    overflow-x: hidden;
}

.lp2 .lp2-display {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.15;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.lp2-btn,
.lp2-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.9rem;
    border-radius: 100px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.lp2-btn {
    background: var(--lp2-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(63,166,107,.28);
}

    .lp2-btn:hover, .lp2-btn:focus-visible {
        background: #2f8354;
        color: #fff;
        transform: translateY(-2px);
    }

.lp2-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.55);
}

    .lp2-btn-ghost:hover, .lp2-btn-ghost:focus-visible {
        background: #fff;
        color: var(--lp2-dark);
        border-color: #fff;
        transform: translateY(-2px);
    }

.lp2-btn-ghost--dark {
    color: var(--lp2-dark);
    border-color: rgba(18,48,71,.35);
}

    .lp2-btn-ghost--dark:hover, .lp2-btn-ghost--dark:focus-visible {
        background: var(--lp2-dark);
        color: #fff;
        border-color: var(--lp2-dark);
    }

/* ── Sections ────────────────────────────────────────────────────── */
.lp2-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.lp2-section--paper {
    background: var(--lp2-paper);
}

.lp2-section--white {
    background: #fff;
}

.lp2-head {
    max-width: 680px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.lp2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lp2-teal);
    margin-bottom: .9rem;
}

.lp2-head h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--lp2-dark);
    margin-bottom: .9rem;
    position: relative;
    padding-bottom: 1rem;
}

    /* Regna: Akzentlinie unter dem Section-Titel */
    .lp2-head h2::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 62px;
        height: 3px;
        border-radius: 2px;
        background: var(--lp2-accent);
    }

.lp2-head p {
    font-size: 1rem;
    color: var(--lp2-muted);
    margin: 0;
}

.lp2-head--left {
    margin-left: 0;
    text-align: left;
}

    .lp2-head--left h2::after {
        left: 0;
        transform: none;
    }

/* ── Hero (TheEvent) ─────────────────────────────────────────────── */
.lp2-hero {
    position: relative;
    background: linear-gradient(135deg, #0d2235 0%, var(--lp2-dark) 45%, var(--lp2-teal) 100%);
    color: #fff;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
    overflow: hidden;
}

    .lp2-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../images/illustrations/pattern-belege.svg");
        background-size: 120px 120px;
        opacity: .9;
        pointer-events: none;
    }

    .lp2-hero > .container {
        position: relative;
        z-index: 1;
    }

.lp2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #a8e6e1;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.4rem;
}

.lp2-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.1rem;
}

    .lp2-hero h1 em {
        font-style: normal;
        color: var(--lp2-mint);
    }

.lp2-hero-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255,255,255,.75);
    max-width: 34rem;
    margin-bottom: 1.9rem;
}

.lp2-hero-note {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-top: 1.4rem;
    margin-bottom: 0;
}

.lp2-hero-art {
    width: 100%;
    max-width: 440px;
    height: auto;
    margin-inline: auto;
    display: block;
    filter: drop-shadow(0 22px 48px rgba(0,0,0,.35));
}

/* ── Countdown (TheEvent) ────────────────────────────────────────── */
.lp2-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.9rem;
}

.lp2-cd-cell {
    min-width: 74px;
    padding: .7rem .5rem .55rem;
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
}

.lp2-cd-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--lp2-mint);
    font-variant-numeric: tabular-nums;
}

.lp2-cd-lbl {
    display: block;
    margin-top: .35rem;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.lp2-cd-caption {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    margin-bottom: .6rem;
}

/* ── Trust-Strip ─────────────────────────────────────────────────── */
.lp2-strip {
    background: var(--lp2-dark);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.4rem 0;
}

.lp2-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.72);
    text-align: center;
}

    .lp2-strip-item i {
        color: var(--lp2-mint);
        font-size: 1.05rem;
    }

/* ── Icon-Box (Regna) ────────────────────────────────────────────── */
.lp2-box {
    height: 100%;
    background: #fff;
    border: 1px solid var(--brand-border, #ccd7dc);
    border-radius: 14px;
    padding: 1.9rem 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .lp2-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(18,48,71,.13);
        border-color: rgba(63,166,107,.5);
    }

.lp2-box-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(31,111,115,.1);
    color: var(--lp2-teal);
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    transition: background .25s ease, color .25s ease;
}

.lp2-box:hover .lp2-box-icon {
    background: var(--lp2-accent);
    color: #fff;
}

.lp2-box h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--lp2-dark);
    margin-bottom: .55rem;
}

.lp2-box p {
    font-size: .89rem;
    line-height: 1.6;
    color: var(--lp2-muted);
    margin: 0;
}

/* ── Zaehler (Regna) ─────────────────────────────────────────────── */
.lp2-counters {
    background: linear-gradient(135deg, var(--lp2-dark), var(--lp2-teal));
    color: #fff;
    padding: clamp(2.5rem, 5vw, 3.6rem) 0;
}

.lp2-counter {
    text-align: center;
}

.lp2-counter-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1;
    color: var(--lp2-mint);
    font-variant-numeric: tabular-nums;
}

.lp2-counter-lbl {
    margin-top: .6rem;
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255,255,255,.62);
}

/* ── Fahrplan-Tabs (TheEvent Schedule) ───────────────────────────── */
.lp2-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.2rem;
    padding: 0;
    list-style: none;
    border: 0;
}

.lp2-tabs .nav-link {
    border: 1px solid var(--brand-border, #ccd7dc);
    border-radius: 100px;
    padding: .55rem 1.4rem;
    font-size: .87rem;
    font-weight: 700;
    color: var(--lp2-dark);
    background: #fff;
    transition: all .2s ease;
}

    .lp2-tabs .nav-link:hover {
        border-color: var(--lp2-accent);
        color: var(--lp2-accent);
    }

    .lp2-tabs .nav-link.active {
        background: var(--lp2-dark);
        border-color: var(--lp2-dark);
        color: #fff;
    }

.lp2-plan {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--brand-border, #ccd7dc);
    border-radius: 14px;
    overflow: hidden;
}

.lp2-plan-row {
    display: flex;
    gap: 1.2rem;
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid rgba(18,48,71,.08);
    transition: background .2s ease;
}

    .lp2-plan-row:last-child {
        border-bottom: 0;
    }

    .lp2-plan-row:hover {
        background: rgba(31,111,115,.04);
    }

.lp2-plan-when {
    flex: 0 0 108px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--lp2-teal);
    padding-top: .15rem;
}

.lp2-plan-body h4 {
    font-size: .98rem;
    font-weight: 700;
    color: var(--lp2-dark);
    margin-bottom: .3rem;
}

.lp2-plan-body p {
    font-size: .87rem;
    line-height: 1.6;
    color: var(--lp2-muted);
    margin: 0;
}

@media (max-width: 575.98px) {
    .lp2-plan-row {
        flex-direction: column;
        gap: .35rem;
    }

    .lp2-plan-when {
        flex: none;
    }
}

/* ── Modulkarten mit Hover-Overlay (TheEvent Speakers) ───────────── */
.lp2-card {
    position: relative;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--lp2-dark);
    box-shadow: 0 6px 20px rgba(18,48,71,.12);
}

    .lp2-card img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 6 / 5;
        object-fit: cover;
        transition: transform .45s ease;
    }

    .lp2-card:hover img,
    .lp2-card:focus-within img {
        transform: scale(1.06);
    }

.lp2-card-cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.6rem 1.2rem 1.1rem;
    background: linear-gradient(to top, rgba(13,34,53,.95) 35%, rgba(13,34,53,0));
    color: #fff;
}

    .lp2-card-cap h3 {
        font-size: .98rem;
        font-weight: 700;
        margin-bottom: .2rem;
    }

    .lp2-card-cap p {
        font-size: .82rem;
        line-height: 1.5;
        color: rgba(255,255,255,.72);
        margin: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height .35s ease, opacity .35s ease, margin .35s ease;
    }

.lp2-card:hover .lp2-card-cap p,
.lp2-card:focus-within .lp2-card-cap p {
    max-height: 7rem;
    opacity: 1;
    margin-top: .35rem;
}

/* ── Preisbox ────────────────────────────────────────────────────── */
.lp2-price {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--brand-border, #ccd7dc);
    border-top: 4px solid var(--lp2-accent);
    border-radius: 16px;
    padding: 2.4rem 2rem;
    text-align: center;
    box-shadow: 0 12px 36px rgba(18,48,71,.1);
}

.lp2-price-tag {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--lp2-dark);
}

    .lp2-price-tag span {
        font-family: 'DM Sans', sans-serif;
        font-size: .95rem;
        font-weight: 600;
        color: var(--lp2-muted);
    }

.lp2-price-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0;
    text-align: left;
}

    .lp2-price-list li {
        display: flex;
        gap: .6rem;
        font-size: .89rem;
        color: var(--lp2-ink);
        padding: .42rem 0;
        border-bottom: 1px solid rgba(18,48,71,.06);
    }

        .lp2-price-list li:last-child {
            border-bottom: 0;
        }

        .lp2-price-list li i {
            color: var(--lp2-accent);
            flex-shrink: 0;
            margin-top: .15rem;
        }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.lp2-faq {
    max-width: 780px;
    margin: 0 auto;
}

    .lp2-faq .accordion-item {
        border: 1px solid var(--brand-border, #ccd7dc);
        border-radius: 12px !important;
        margin-bottom: .7rem;
        overflow: hidden;
        background: #fff;
    }

    .lp2-faq .accordion-button {
        font-weight: 700;
        font-size: .95rem;
        color: var(--lp2-dark);
        background: #fff;
        box-shadow: none;
    }

        .lp2-faq .accordion-button:not(.collapsed) {
            background: rgba(31,111,115,.06);
            color: var(--lp2-dark);
        }

        .lp2-faq .accordion-button:focus {
            box-shadow: 0 0 0 .2rem rgba(63,166,107,.25);
        }

    .lp2-faq .accordion-body {
        font-size: .89rem;
        line-height: 1.65;
        color: var(--lp2-muted);
    }

/* ── CTA-Band ────────────────────────────────────────────────────── */
.lp2-cta {
    position: relative;
    background: linear-gradient(135deg, var(--lp2-dark), var(--lp2-teal));
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
    overflow: hidden;
}

    .lp2-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../images/illustrations/pattern-belege.svg");
        background-size: 120px 120px;
        pointer-events: none;
    }

    .lp2-cta > .container {
        position: relative;
        z-index: 1;
    }

    .lp2-cta h2 {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: clamp(1.5rem, 3.4vw, 2.2rem);
        margin-bottom: .8rem;
    }

    .lp2-cta p {
        color: rgba(255,255,255,.72);
        max-width: 34rem;
        margin: 0 auto 1.8rem;
    }

/* ── Back to Top (Regna) ─────────────────────────────────────────── */
.lp2-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--lp2-accent);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(18,48,71,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

    .lp2-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

/* ── Scroll-Reveal ───────────────────────────────────────────────── */
.lp2-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

    .lp2-reveal.is-in {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    .lp2-reveal,
    .lp2-card img,
    .lp2-card-cap p,
    .lp2-box,
    .lp2-btn,
    .lp2-btn-ghost {
        transition: none !important;
    }

    .lp2-reveal {
        opacity: 1;
        transform: none;
    }
}
