﻿/* landing.css – nutzt tab2shelf-theme.css Variablen
   Bereinigt: nur Styles, die in Index.cshtml genutzt werden
*/

/* =============== Base =============== */
.landing-body {
    background: var(--bg-body);
    color: var(--text-default);
    font-size: 16px;
    line-height: 1.6;
}

/* =============== Topbar =============== */
.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.landing-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.landing-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
}

    .landing-brand img {
        height: 30px;
        max-width: 308px;
    }

    .landing-brand .badge {
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 999px;
        background: var(--color-darkblue);
        color: var(--text-light);
        font-weight: 700;
    }

.landing-nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

    .landing-nav a {
        text-decoration: none;
        font-weight: 600;
    }

/* =============== Hero =============== */
.landing-hero {
    padding: 56px 0 26px;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 900px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }
}

.landing-kicker {
    font-weight: 800;
    color: var(--color-darkblue);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.landing-h1 {
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.05;
    margin: 10px 0 14px;
    letter-spacing: -0.6px;
}

.landing-h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.landing-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.landing-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 18px;
}

/* Proof-Chips (Standard) */
.landing-proof {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13px;
}

    .landing-proof span {
        background: #fff;
        border: 1px solid rgba(0,0,0,.08);
        padding: 6px 10px;
        border-radius: 999px;
    }

/* Proof-Chips (über gesamte Breite zentriert) */
.landing-proof-wide {
    width: 100%;
    justify-content: center;
    margin: 14px 0 0;
}

/* =============== Cards (Landing) =============== */
.landing-card {
    border-radius: 14px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
}

    .landing-card .head {
        padding: 14px 16px;
        background: var(--color-darkblue);
        color: var(--text-light) !important;
        font-weight: 800;
        font-size: 15px;
        letter-spacing: .3px;
    }

    .landing-card .body {
        padding: 18px 18px 20px;
        font-size: 16px;
        line-height: 1.65;
    }

        .landing-card .body b {
            font-size: 17px;
            color: var(--color-darkblue);
        }

/* =============== Banner Card (Hero Powerslogan) =============== */
.landing-hero-banner {
    margin-top: 18px;
}

.landing-banner-card {
    background: var(--color-darkblue);
    color: var(--text-light);
    border: none;
}

    .landing-banner-card .head {
        background: rgba(0,0,0,.0); /* Head wird in deiner View ggf. nicht genutzt */
    }

/* =============== Slider (Hero) =============== */
.landing-slider {
    margin-top: 18px;
    text-align: center;
}

.landing-slider-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

    .landing-slider-tabs .btn {
        border-radius: 999px;
        padding: 10px 14px;
    }

.landing-slider-viewport {
    position: relative;
    display: grid;
    place-items: center;
}

.landing-slide {
    display: none;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

    .landing-slide.is-active {
        display: block;
    }

/* =============== Images / Shots =============== */
.landing-shot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    background: #fff;
}

/* =============== Sections / Layout helpers =============== */
.landing-section {
    padding: 16px 0 44px;
}

.landing-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .landing-grid3 {
        grid-template-columns: 1fr;
    }
}

/* “helper classes” die du in der View nutzt */
.landing-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Im PDF-Block: 2 Spalten, aber vertikal mittig */
.landing-grid.landing-2col {
    align-items: center;
}

@media (max-width: 900px) {
    .landing-2col {
        grid-template-columns: 1fr !important;
    }
}

.landing-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .landing-3col {
        grid-template-columns: 1fr !important;
    }
}

/* =============== PDF Section =============== */
.pdf-preview {
    text-align: center;
}

/* Rechte Seite im PDF-Block: horizontal/vertikal “ruhig” zentrieren */
.pdf-explanation {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikal */
    align-items: flex-start; /* horizontal: linksbündig für Lesbarkeit */
    height: 100%;
}

    .pdf-explanation h3 {
        margin: 0 0 12px;
        color: var(--color-darkblue);
        font-weight: 900;
        letter-spacing: -0.2px;
    }

.pdf-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 14px;
    color: var(--text-muted);
}

    .pdf-benefits li b {
        color: var(--color-darkblue);
    }

.pdf-cta {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: underline;
}

/* =============== Footer =============== */
.landing-footer {
    padding: 20px 0 34px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
    margin-top: 18px;
}

/* =============== Screenshot Lightbox =============== */
.shot-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.shot-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}

.shot-dialog {
    position: relative;
    max-width: min(1200px, 92vw);
    max-height: 90vh;
    margin: 5vh auto;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #0b1220;
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.shot-figure {
    margin: 0;
    text-align: center;
}

#shotModalImg {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 10px;
    background: #fff;
}

#shotModalCaption {
    margin-top: 10px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}

.shot-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.shot-nav {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

    .shot-nav:hover,
    .shot-close:hover {
        background: rgba(255,255,255,.18);
    }

@media (max-width: 700px) {
    .shot-dialog {
        grid-template-columns: 40px 1fr 40px;
        margin: 4vh auto;
    }

    #shotModalCaption {
        font-size: 13px;
    }
}

/* ===== Hero Slider (fix) ===== */
.landing-slider {
    margin-top: 18px;
    text-align: center;
}

.landing-slider-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
}

    .landing-slider-tabs button {
        border: 1px solid rgba(0,0,0,.12);
        background: #fff;
        padding: 6px 14px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-muted);
        cursor: pointer;
    }

        .landing-slider-tabs button.active {
            background: var(--color-darkblue);
            color: var(--text-light);
            border-color: var(--color-darkblue);
        }

.landing-slider-viewport {
    position: relative;
}

.landing-slide {
    display: none;
    margin: 0;
}

    .landing-slide.active {
        display: block;
    }

    .landing-slide figcaption {
        margin-top: 8px;
        font-size: 14px;
        color: var(--text-muted);
    }

/* ===== PDF SECTION – hard fix (HTML bleibt unverändert) ===== */

/* Grid erzwingen + 2 Spalten auf Desktop */
.landing-pdf-card .landing-pdf-grid {
    display: grid !important;
    grid-template-columns: 300px 1fr; /* <<< Größe der Preview-Spalte */
    gap: 40px !important; 
    align-items: center !important; /* vertikal zentriert */
}

/* Mobile: untereinander */
@media (max-width: 900px) {
    .landing-pdf-card .landing-pdf-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* Link/Preview sauber begrenzen */
.landing-pdf-card .pdf-thumb {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    max-width: 300px; /* <<< Preview max Breite */
    width: 100%;
    justify-self: start; /* links in der Spalte */
}

    /* Bild: niemals größer als die Thumb-Box */
    .landing-pdf-card .pdf-thumb img {
        display: block;
        width: 100%;
        max-width: 300px; /* <<< Preview-Bild max Breite */
        height: auto;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 10px 28px rgba(0,0,0,.10);
        background: #fff;
        margin: 0 auto;
    }

/* Hint darunter */
.landing-pdf-card .pdf-thumb-hint {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Mehr Luft zwischen Bild und Text */
.landing-pdf-card .landing-pdf-grid {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto; /* zentriert die ganze Gruppe */
    /* Spalten + Abstand */
    grid-template-columns: 260px 520px;
    gap: 40px !important; /* war ~22px -> jetzt deutlich ruhiger */
    align-items: center !important; /* vertikal zentriert */
}

/* Rechte Seite vertikal zentriert (innerhalb ihrer Spalte) */
.landing-pdf-card .pdf-explanation {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: center; /* vertikal */
    align-items: flex-start; /* Text links bündig (wirkt seriöser) */
    text-align: left !important;
    transform: translateY(-10px);
    max-width: 520px;
}


/* Optional: Auf sehr großen Screens noch etwas mehr Luft */
@media (min-width: 1200px) {
    .landing-pdf-card .landing-pdf-grid {
        gap: 48px !important;
    }
}

@media (max-width: 980px) {
    .landing-pdf-card .landing-pdf-grid {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .landing-pdf-card .pdf-thumb {
        max-width: 260px;
        margin: 0 auto;
        justify-self: center;
    }

    .landing-pdf-card .pdf-explanation {
        max-width: 680px;
        margin: 0 auto;
    }
}

/* Lead + Liste kompakt */
.landing-pdf-card .pdf-lead {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

.landing-pdf-card .pdf-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 12px;
}

.landing-pdf-card .btn {
    margin-top: 10px;
}
