/* Schau mal hoch - Starry Header CSS */

.smh-starry-header-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.starry-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(to bottom, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);
    width: 100%;
}

/* Navigation Bar */
.smh-header-nav {
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 20px 0;
}

.smh-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Logo */
.smh-logo {
    flex-shrink: 0;
}

.smh-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.smh-logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.smh-site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Menu */
.smh-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 120px; /* Platz für Mond */
}

.smh-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
    align-items: center;
}

.smh-nav-menu li {
    margin: 0;
    padding: 0;
}

.smh-nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.smh-nav-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transform: translateY(-1px);
}

.smh-nav-menu .current_page_item a,
.smh-nav-menu .current-menu-item a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.smh-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.smh-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Tagline */
.smh-tagline {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 50;
}

.smh-tagline h1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* Sternenhimmel Container */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Verschiedene Sterngrößen und Animationen */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: smh-twinkle linear infinite;
}

/* Kleine Sterne */
.star.small {
    width: 1px;
    height: 1px;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

/* Mittlere Sterne */
.star.medium {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

/* Große Sterne */
.star.large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 1);
}

/* Funkeln Animation */
@keyframes smh-twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Realistische Sternschnuppen - stationäre Lichtstreifen */
.shooting-star {
    position: absolute;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.1) 90%,
        transparent 100%
    );
    opacity: 0;
    animation: meteorFlash 1.2s ease-out forwards;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Glüheffekt am hellsten Punkt */
.shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(200, 220, 255, 0.3);
}

/* Blaue Meteore (kältere Temperatur) */
.shooting-star.blue {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(180, 200, 255, 0.1) 10%,
        rgba(200, 220, 255, 0.9) 50%,
        rgba(180, 200, 255, 0.1) 90%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(200, 220, 255, 0.6);
}

.shooting-star.blue::before {
    background: radial-gradient(circle, rgba(200, 220, 255, 1) 0%, transparent 70%);
    box-shadow: 
        0 0 10px rgba(200, 220, 255, 0.9),
        0 0 20px rgba(150, 180, 255, 0.5),
        0 0 30px rgba(100, 150, 255, 0.3);
}

/* Grünliche Meteore (Magnesium) */
.shooting-star.green {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(180, 255, 200, 0.1) 10%,
        rgba(200, 255, 220, 0.85) 50%,
        rgba(180, 255, 200, 0.1) 90%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(200, 255, 220, 0.6);
}

.shooting-star.green::before {
    background: radial-gradient(circle, rgba(200, 255, 220, 1) 0%, transparent 70%);
    box-shadow: 
        0 0 10px rgba(200, 255, 220, 0.9),
        0 0 20px rgba(150, 255, 180, 0.5),
        0 0 30px rgba(100, 255, 150, 0.3);
}

/* Goldene Meteore (selten, wärmer) */
.shooting-star.golden {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 230, 180, 0.1) 10%,
        rgba(255, 240, 200, 0.9) 50%,
        rgba(255, 230, 180, 0.1) 90%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 240, 200, 0.7);
}

.shooting-star.golden::before {
    background: radial-gradient(circle, rgba(255, 240, 200, 1) 0%, transparent 70%);
    box-shadow: 
        0 0 12px rgba(255, 240, 200, 0.9),
        0 0 25px rgba(255, 220, 150, 0.6),
        0 0 35px rgba(255, 200, 100, 0.4);
}

/* Animation: Aufblitzen und Verblassen - KEINE Wiederholung (forwards) */
@keyframes meteorFlash {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
    }
}

/* Mondphase Indikator */
.moon-container {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 70px;
    z-index: 50;
    text-align: center;
}

.moon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #e0e0e0);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), inset -8px -8px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Schatten für Mondphasen */
.moon-shadow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0a0e27;
    transform-origin: center;
}

/* Mondphase Text */
.moon-info {
    margin-top: 8px;
    font-size: 0.7rem;
    color: #a8c0ff;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.moon-percentage {
    font-weight: 500;
    color: #fff;
}

/* Responsive */
@media (max-width: 968px) {
    .smh-nav-container {
        padding: 0 20px;
    }
    
    .smh-nav-menu {
        gap: 20px;
    }
    
    .smh-nav-menu a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .starry-header {
        height: 150px !important;
    }
    
    .smh-header-nav {
        padding: 15px 0;
    }
    
    .smh-nav-container {
        padding: 0 15px;
    }
    
    .smh-logo-image {
        height: 40px;
    }
    
    .smh-site-name {
        font-size: 1.4rem;
    }
    
    /* Mobile Menu */
    .smh-mobile-toggle {
        display: flex;
    }
    
    .smh-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }
    
    .smh-menu.active {
        right: 0;
    }
    
    .smh-nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .smh-nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .smh-nav-menu a {
        display: block;
        width: 100%;
        padding: 15px 0;
        border-radius: 0;
    }
    
    .moon-container {
        width: 50px;
        top: 15px;
        right: 70px;
    }
    
    .moon {
        width: 50px;
        height: 50px;
    }
    
    .moon-info {
        font-size: 0.6rem;
        margin-top: 5px;
    }
    
    .smh-tagline {
        bottom: 15px;
    }
    
    .smh-tagline h1 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .starry-header {
        height: 120px !important;
    }
    
    .smh-tagline h1 {
        font-size: 0.9rem;
    }
}
