/* ==========================================================================
   GHOST BACKGROUND — One2United Dossier Edition v04.28
   --------------------------------------------------------------------------
   Dezentes Hintergrund-Foto für Dark-Sektionen. Typografie bleibt dominant.
   ========================================================================== */

.section.has-ghost-bg {
    position: relative;
    isolation: isolate;
}

.section-ghost-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-ghost-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Hart auf B/W, deutlich abgedunkelt */
    filter: grayscale(1) contrast(1.15) brightness(0.35);
    opacity: 0.18;
}

/* Gradient-Overlay: oben + unten dunkler, sodass Text immer lesbar bleibt */
.section-ghost-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.35) 25%,
            rgba(0, 0, 0, 0.35) 75%,
            rgba(0, 0, 0, 0.85) 100%
        ),
        /* Seitliche Vignette */
        radial-gradient(
            ellipse at center,
            transparent 40%,
            rgba(0, 0, 0, 0.55) 100%
        );
    pointer-events: none;
}

/* Inhalt immer über dem Ghost-Hintergrund */
.section.has-ghost-bg > .section-inner,
.section.has-ghost-bg > .section-grid,
.section.has-ghost-bg > .final-content {
    position: relative;
    z-index: 1;
}

/* Reduced-Motion: Bild wird noch dezenter */
@media (prefers-reduced-motion: reduce) {
    .section-ghost-bg img { opacity: 0.12; }
}

/* Print: ghost ausblenden */
@media print {
    .section-ghost-bg { display: none; }
}
