/* ==========================================================================
   FACT STRIP — Bridge Hero ↔ Kontext
   Dossier Edition — v04.26
   ========================================================================== */

.fact-strip {
    background: var(--ink, #000);
    color: var(--paper, #f7f5f1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

/* Subtile Orange-Linien oben + unten als Akzent */
.fact-strip::before,
.fact-strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 90, 31, 0.4) 20%,
        rgba(255, 90, 31, 0.4) 80%,
        transparent 100%);
    pointer-events: none;
}

.fact-strip::before { top: 0; }
.fact-strip::after { bottom: 0; }

.fact-strip-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 40px);
    flex-wrap: wrap;
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 var(--gutter, 24px);
    font-family: var(--font-mono, "JetBrains Mono", monospace);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}

.fact-strip-dash {
    color: var(--accent, #ff5a1f);
    font-weight: 600;
    opacity: 0.7;
}

.fact-item {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.fact-key {
    color: var(--accent, #ff5a1f);
    font-weight: 700;
}

.fact-value {
    color: var(--paper, #f7f5f1);
    font-weight: 500;
}

.fact-sep {
    color: rgba(247, 245, 241, 0.3);
    font-size: 14px;
    user-select: none;
}

/* Wenn direkt nach dem Strip eine dark-Sektion kommt → kein Doppel-Border */
.fact-strip + .section.section-dark {
    border-top: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .fact-strip-track {
        gap: 16px;
        font-size: 10px;
    }
    .fact-strip-dash {
        display: none;
    }
}

@media (max-width: 640px) {
    .fact-strip {
        padding: 16px 0;
    }
    .fact-strip-track {
        gap: 12px;
        letter-spacing: 0.18em;
        font-size: 9px;
    }
    .fact-item {
        gap: 6px;
    }
    .fact-sep {
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL — soft fade-in beim Erreichen des Viewports
   -------------------------------------------------------------------------- */
.fact-strip .fact-item,
.fact-strip .fact-strip-dash {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.fact-strip.is-visible .fact-item,
.fact-strip.is-visible .fact-strip-dash {
    opacity: 1;
    transform: translateY(0);
}

.fact-strip.is-visible .fact-item:nth-child(2) { transition-delay: 80ms; }
.fact-strip.is-visible .fact-item:nth-child(4) { transition-delay: 160ms; }
.fact-strip.is-visible .fact-item:nth-child(6) { transition-delay: 240ms; }
.fact-strip.is-visible .fact-item:nth-child(8) { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
    .fact-strip .fact-item,
    .fact-strip .fact-strip-dash {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   HERO KEN-BURNS — sanfter Scale-Effekt, cinematisch
   ========================================================================== */
.hero-media {
    /* Animation sehr subtil: 1.0 → 1.05 über 22 Sekunden, dann reverse */
    animation: kenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.06) translate(-1%, -1%);
    }
}

/* Kein Ken-Burns bei Reduced Motion — accessibility first */
@media (prefers-reduced-motion: reduce) {
    .hero-media {
        animation: none;
    }
}
