
/* Saubere Landingpage-Optik nur für index.php */
.landing-page {
    background:
        radial-gradient(circle at 12% 4%, rgba(245, 184, 73, 0.12), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(245, 184, 73, 0.08), transparent 24%),
        #05070c;
}

/* Hero: kein abgeschnittenes Riesenbild mehr, sondern klare Zwei-Spalten-Bühne. */
.fi-hero {
    width: min(1480px, calc(100% - 48px));
    margin: 28px auto 34px;
    min-height: clamp(520px, 48vw, 720px);
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(24px, 3vw, 46px);
    align-items: center;
    padding: clamp(22px, 3vw, 46px);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        linear-gradient(135deg, rgba(5, 8, 14, 0.96), rgba(12, 17, 27, 0.88)),
        radial-gradient(circle at 74% 35%, rgba(255, 183, 66, 0.22), transparent 28%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
    overflow: hidden;
    position: relative;
}

.fi-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent 22%, rgba(255,255,255,0.025));
}

.fi-hero-copy,
.fi-hero-visual {
    position: relative;
    z-index: 1;
}

.fi-pill {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 9px 14px;
    border-radius: 999px;
    color: #f8d892;
    background: rgba(255, 184, 68, 0.10);
    border: 1px solid rgba(255, 212, 125, 0.26);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fi-hero h1 {
    margin: 20px 0 16px;
    color: #fff;
    font-size: clamp(2.15rem, 4.4vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 820px;
}

.fi-hero p {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 0 22px;
}

.fi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.fi-main-btn {
    box-shadow: 0 12px 32px rgba(245, 178, 59, 0.24);
}

.fi-text-link {
    color: #f8d892;
    text-decoration: none;
    font-weight: 800;
    padding: 10px 4px;
}

.fi-text-link:hover,
.fi-text-link:focus {
    text-decoration: underline;
}

.fi-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.fi-hero-stats div {
    padding: 17px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
}

.fi-hero-stats strong {
    display: block;
    color: #f8d892;
    font-size: clamp(1.25rem, 1.6vw, 1.65rem);
    line-height: 1.15;
}

.fi-hero-stats span {
    display: block;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    margin-top: 4px;
}

.fi-hero-visual {
    align-self: stretch;
    min-height: 420px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.fi-hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.fi-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fi-feature-card span {
    display: inline-flex;
    color: #f8d892;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.fi-highlight-card,
.fi-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 3vw, 42px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 184, 68, 0.14), rgba(255,255,255,0.055));
    box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

.fi-highlight-card h2,
.fi-final-card h2 {
    margin-top: 0;
}

.screenshot-preview-section {
    scroll-margin-top: 32px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.screenshot-teaser {
    overflow: hidden;
}

.screenshot-link {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.06);
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.screenshot-link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.screenshot-link:hover img,
.screenshot-link:focus img {
    transform: scale(1.035);
    filter: brightness(1.08);
}

.zoom-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox:target {
    display: flex;
}

.lightbox-close-area {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: min(96vw, 1500px);
    max-height: 92vh;
    border-radius: 20px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-content img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    background: #05070c;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

.lightbox-caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    color: #fff;
}

.lightbox-caption span {
    opacity: 0.85;
}


.fi-news-section .section-title p {
    max-width: 720px;
}

.fi-news-current {
    position: relative;
    overflow: hidden;
    border-color: rgba(248, 216, 146, 0.22);
    background:
        linear-gradient(135deg, rgba(248, 216, 146, 0.08), rgba(255,255,255,0.045)),
        rgba(15, 23, 42, 0.88);
}

.fi-news-current-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #172033;
    background: linear-gradient(135deg, #fff0b8, #e0b651);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fi-news-archive {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 40px rgba(0,0,0,0.24);
}

.fi-news-archive-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.fi-news-archive-head h3 {
    margin: 4px 0 0;
    color: #fff;
}

.fi-news-archive-head span {
    flex: 0 0 auto;
    color: rgba(255,255,255,0.72);
    font-weight: 800;
}

.fi-news-archive-list {
    display: grid;
    gap: 10px;
}

.fi-news-archive-entry {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.fi-news-archive-entry[open] {
    border-color: rgba(248, 216, 146, 0.30);
    background: rgba(248, 216, 146, 0.055);
}

.fi-news-archive-entry summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    color: #fff;
    font-weight: 900;
    list-style: none;
}

.fi-news-archive-entry summary::-webkit-details-marker {
    display: none;
}

.fi-news-archive-entry summary::after {
    content: '+';
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8d892;
    font-size: 1.1rem;
    line-height: 1;
}

.fi-news-archive-entry[open] summary::after {
    content: '−';
}

.fi-news-summary-title {
    min-width: 0;
}

.fi-news-summary-date {
    margin-left: auto;
    color: rgba(255,255,255,0.62);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.fi-news-archive-body {
    padding: 0 16px 16px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
}

.fi-news-archive-body p {
    margin: 0;
}

.fi-seo-topic-entry{display:flex;flex-direction:column;gap:8px;text-decoration:none;min-height:126px}.fi-seo-topic-entry strong{color:#f8d892;font-size:1.08rem}.fi-seo-topic-entry span{color:rgba(255,255,255,.76);line-height:1.45}

@media (max-width: 1160px) {
    .fi-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .fi-hero-visual {
        min-height: 360px;
        order: -1;
    }

    .fi-feature-grid,
    .screenshot-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fi-hero {
        width: min(100% - 24px, 680px);
        margin-top: 16px;
        padding: 16px;
        border-radius: 24px;
    }

    .fi-hero-visual {
        min-height: 260px;
        border-radius: 20px;
    }

    .fi-hero h1 {
        font-size: clamp(2rem, 12vw, 3.25rem);
    }

    .fi-hero-actions,
    .fi-highlight-card,
    .fi-final-card {
        align-items: stretch;
        flex-direction: column;
    }

    .fi-hero-actions .btn,
    .fi-text-link,
    .fi-highlight-card .btn,
    .fi-final-card .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .fi-hero-stats,
    .fi-feature-grid,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-link img {
        height: 230px;
    }

    .fi-news-archive-head,
    .fi-news-archive-entry summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .fi-news-summary-date {
        margin-left: 0;
        white-space: normal;
    }

    .fi-news-archive-entry summary::after {
        position: absolute;
        right: 14px;
        top: 12px;
    }

    .fi-news-archive-entry summary {
        position: relative;
        padding-right: 54px;
    }

    .lightbox {
        padding: 12px;
    }
}
