﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --nav-height: 64px; /* ungefähre Höhe deiner Navbar */
    --footer-height: 40px; /* wie du sie schon benutzt */
}

html, body {
    height: 100%;
}

body {
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #02040a;
    color: #f5f5f5;
    overflow-x: hidden;
}

    /* 🌌 Vollflächiges Hintergrundbild hinter allem */
    body::before {
        content: "";
        position: fixed; /* bleibt beim Scrollen stehen */
        inset: 0;
        background-image: url("/Assets/Images/HeroBg.png");
        background-size: cover;
        background-position: center;
        filter: saturate(1.1);
        z-index: -2; /* liegt hinter allem anderen */
    }

    /* 🔦 Dunkles Overlay für bessere Lesbarkeit */
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 70%);
        z-index: -1;
    }

.main-root {
    padding-bottom: 0; /* entfernt das Standard-padding-bottom von pb-3 */
}

/* Footer minimal „straffer“, damit nichts extra nach unten drückt */
.site-footer {
    margin-top: 0;
    height: 40px; /* feste Höhe */
    display: flex;
    align-items: center; /* Text vertikal mittig */
    padding: 0 1.5rem; /* bisschen horizontaler Abstand */
    font-size: 0.9rem;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 10; /* liegt über dem Content */
}
/*.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;*/ /* liegt über dem Hero-Bild */
/*}*/

/* Glas-Effekt für die Navbar */
.glass-nav {
    background: rgba(2, 6, 23, 0.02); /* dunkles, leicht transparentes Blau */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.35);
}

    /* Texte in der Navbar */
    .glass-nav .navbar-brand,
    .glass-nav .nav-link {
        color: #e5e7eb !important;
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
        font-weight: 500;
    }

        .glass-nav .nav-link:hover,
        .glass-nav .navbar-brand:hover {
            color: #fbbf24 !important;
        }

.hero {
    position: relative;
    min-height: calc(100vh - var(--footer-height)); /* fast Vollbild, darf größer sein */
    padding-top: var(--nav-height); /* Platz unter der fixen Navbar */
    padding-bottom: 2rem; /* etwas Luft zum Footer */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    box-sizing: border-box;
}

/*.hero {
    position: relative;*/
    /*height: calc(100vh - 40px);*/ /* 100vh minus Footer-Höhe */
    /*display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;*/ /* wichtig: kein eigenes Schwarz */
    /*box-sizing: border-box;
}*/

/*.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;*/ /* wichtig: kein eigenes Schwarz mehr */
    /*box-sizing: border-box;
}*/
/*.hero {
    position: relative;
    height: calc(100vh - 40px);*/ /* 100vh minus Footer-Höhe */
    /*display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
}*/
/*.hero {
    position: relative;
    height: calc(100vh - 40px);*/ /* 100vh minus Footer-Höhe */
    /*display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;*/
    /* Bild unter Navbar schieben */
    /*margin-top: -70px;*/ /* ca. Höhe deiner Navbar */
    /*padding-top: 70px;*/ /* gleicht das visuell aus */

    /*box-sizing: border-box;
}*/
/*.hero {
    position: relative;
    height: 100vh;*/ /* ⬅ feste Höhe statt min-height */
    /*display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;*/
    /* Bild unter Navbar schieben */
    /*margin-top: -70px;*/ /* Höhe deiner Navbar */
    /*padding-top: 70px;*/ /* gleicht das visuell aus */
    /* kein zusätzliches vertikales padding, verhindert Scrollbalken */
    /*box-sizing: border-box;
}*/
/*.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding: 4vh 0 6vh;*/
    /* ⬇ Hero nach oben unter die Navbar ziehen */
    /*margin-top: -70px;*/ /* ca. Höhe der Navbar */
    /*padding-top: calc(4vh + 70px);*/ /* Innenabstand oben ausgleichen */
/*}*/

/*.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;*/ /* wieder in der Mitte des Viewports */
    /*justify-content: center;
    overflow: hidden;
    background: #000;
    padding: 4vh 0 6vh;
}*/

    /*.hero::before {
        content: "";
        position: absolute;
        inset: 0;*/
        /* In deinem Projekt: url("/Assets/Images/HeroBg.png"); */
        /*background-image: url("/Assets/Images/HeroBg.png");
        background-size: cover;
        background-position: center;
        filter: saturate(1.1);
        z-index: 0;
    }*/

    /*.hero::after {*/
        /* leichtes Overlay, Erde & Mond bleiben sichtbar */
        /*content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 70%);
        z-index: 1;
    }*/

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ⬅ schiebt Kacheln nach außen */
    gap: 2rem;
    width: 100%;
    max-width: 1800px; /* ⬅ Kacheln stehen in etwa mittig
                                         zwischen Erde und Rand */
    padding: 0 6vw;
}

/* Kacheln links/rechts */

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 260px; /* fixe Breite, damit sie außen stehen */
}

.tile {
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: rgba(10, 15, 40, 0.55);
    border: 1px solid rgba(180, 210, 255, 0.3);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55), 0 0 24px rgba(123, 198, 255, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .tile:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 198, 255, 0.7);
    }

.tile-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.tile-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Neuer „Glass-Card“-Wrapper für Überschrift + Countdown */
.hero-title-inner {
    padding: 1.6rem 2.1rem;
    border-radius: 1.4rem;
    background: radial-gradient(circle at top, rgba(0,0,0,0.85), rgba(0,0,0,0.65));
    border: 1px solid rgba(200, 220, 255, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(123, 198, 255, 0.5);
    backdrop-filter: blur(18px);
}

.hero-title h1 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.hero-title span {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #cbd5f5;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* Zentrum: Überschrift & Countdown */

.hero-center {
    text-align: center;
    flex: 0 0 auto;
}

/*.hero-center {
    text-align: center;
    flex: 0 0 auto;
    transform: translateY(-3vh);*/ /* ⬅ Überschrift etwas nach oben
                                        ins obere Drittel der Erde */
/*}*/

.hero-heading {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.hero-subline {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #cbd5f5;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* Countdown – als kleine Glas-Pill zwischen Erde & Mond */

.hero-countdown {
    margin-top: 2.6rem; /* ⬅ sorgt dafür, dass er unterhalb der
                                        Überschrift in Richtung Mond rutscht */
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(5, 10, 30, 0.7);
    border: 1px solid rgba(180, 210, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 12px rgba(123, 198, 255, 0.6), 0 10px 18px rgba(0, 0, 0, 0.7);
    font-size: 0.8rem;
    white-space: nowrap;
}

.hero-countdown-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    opacity: 0.9;
}

.countdown-small {
    display: flex;
    gap: 0.6rem;
}

.cd-unit {
    text-align: center;
    min-width: 46px;
}

.cd-number {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.cd-text {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Responsive */

@media (min-width: 901px) {
    .hero-center {
        transform: translateY(-3vh);
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        min-height: auto; /* nicht an 100vh binden */
        align-items: flex-start; /* Inhalt nach oben statt zentriert */
        padding-top: calc(var(--nav-height) + 16px); /* Abstand unter der Navbar */
        /*padding-top: 80px;*/ /* Abstand unter der Navbar */
        padding-bottom: 80px; /* etwas Luft zum Footer */
    }

    .hero-heading {
        font-size: 1.8rem; /* statt clamp(...) */
        letter-spacing: 0.12em; /* weniger auseinandergezogen */
    }

    .hero-center {
        order: -1;
        transform: translateY(0); /* auf Mobile NICHT hochschieben */
    }

    .hero-subline {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        max-width: 95vw;
        gap: 1.5rem;
    }

    .hero-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        flex: 0 0 auto;
    }

    .tile {
        min-width: 160px;
    }

    .hero-center {
        order: -1;
        transform: translateY(0); /* nichts mehr nach oben schieben */
    }
}

/*@media (max-width: 900px) {
    .hero {*/
        /* KEIN extra padding-top mehr hier */
    /*}

    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 95vw;
    }

    .hero-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        flex: 0 0 auto;
    }

    .tile {
        min-width: 160px;
    }

    .hero-center {
        order: -1;
        transform: translateY(0);
    }
}*/
