/* ============================================================
   CROSSOVER X — impressum.css (Legal Pages gemeinsames Layout)
   ============================================================ */

/* MAIN WRAPPER */
.lg-main {
    min-height: 80vh;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px);
    padding-bottom: clamp(120px, 14vw, 200px);
    padding-top: clamp(60px, 8vw, 80px);
    box-sizing: border-box;
}

.lg-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 36px);
}

/* ============================================================
   KOPFZEILE — Titel links, Download-Button rechts
   ============================================================ */
.lg-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: clamp(16px, 2.5vw, 28px);
}

.lg-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lg-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.lg-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ============================================================
   DOWNLOAD BUTTON
   ============================================================ */
.lg-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    background: #78c038;
    padding: clamp(10px, 1.4vh, 14px) clamp(18px, 2.5vw, 28px);
    border-radius: 2px;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}
.lg-dl-btn:hover  { background: #8ed040; transform: scale(1.03); }
.lg-dl-btn:active { transform: scale(0.97); }

/* Download-Button am unteren Ende */
.lg-dl-row {
    display: flex;
    justify-content: flex-start;
}

/* ============================================================
   PDF VORSCHAU
   iframe eingebettet, responsive Höhe
   ============================================================ */
.lg-pdf-wrap {
    width: 100%;
    position: relative;
    background: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.4);
}

.lg-pdf-frame {
    display: block;
    width: 100%;
    height: clamp(500px, 75vh, 900px);
    border: none;
    background: #fff;
}



.lg-pdf-fallback {
    padding: 40px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}
.lg-pdf-fallback a {
    color: #78c038;
    text-decoration: underline;
}

/* ============================================================
   WIDERRUF: zwei PDFs mit Trenner und Labels
   ============================================================ */
.lg-section-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.lg-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: clamp(8px, 1.5vw, 16px) 0;
}


/* ============================================================
   POWER BUTTON INTRO ANIMATION
   ============================================================ */
#lg-power-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}
#lg-power-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Zwei Bild-Layer für Cross-Fade */
.lg-power-frame {
    position: absolute;
    width: clamp(180px, 30vw, 340px);
    height: clamp(180px, 30vw, 340px);
    object-fit: contain;
    image-rendering: pixelated;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lg-power-frame.show {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .lg-main {
        padding-top: clamp(40px, 10vw, 60px);
    }
    .lg-title {
        font-size: clamp(32px, 10vw, 48px);
    }
}





/* ============================================================
   GIF BOXEN — bouncing auf Desktop/Tablet, statisch auf Mobile
   ============================================================ */

/* Basis Box */
.imp-gif-box {
    background: rgba(10,10,10,0.88);
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 3px;
    padding: 10px 10px 28px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    user-select: none;
    cursor: pointer;
}

.imp-gif-img {
    image-rendering: pixelated;
    display: block;
    pointer-events: none;
}

.imp-gif-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(8px, 0.85vw, 10px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    pointer-events: none;
}
.imp-gif-sublabel {
    font-family: 'Inter', sans-serif;
    font-size: clamp(7px, 0.7vw, 9px);
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    text-align: center;
    pointer-events: none;
}

/* DESKTOP: fixed, werden per JS bewegt */
@media (min-width: 769px) {
    .imp-gif-box {
        position: fixed;
        z-index: 20;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .imp-gif-box.visible { opacity: 1; }
    .imp-gif-box.gone {
        opacity: 0;
        transform: scale(0.5);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .imp-gif-img {
        width: clamp(80px, 9vw, 130px);
        height: clamp(80px, 9vw, 130px);
        object-fit: contain;
    }
}

/* MOBILE: statisch nebeneinander, im Flow */
@media (max-width: 768px) {
    .imp-gif-mobile-row {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 48px;
        margin-bottom: 56px;
    }
    .imp-gif-box {
        width: 30%;
        flex: none;
        min-width: 0;
    }
    .imp-gif-img {
        width: 100%;
        max-width: 80px;
        height: auto;
        object-fit: contain;
    }
}
@media (min-width: 769px) {
    .imp-gif-mobile-row { display: none !important; }
}