/* ========================================
   GUTEN-RUTSCH.COM - Main Stylesheet
   ======================================== */

/* Skip-Link für Barrierefreiheit */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--midnight);
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

:root {
    --gold: #D4AF37;
    --gold-light: #F5E6B8;
    --midnight: #0A0E1A;
    --navy: #141B2D;
    --navy-light: #1E2A45;
    --white: #FFFFFF;
    --text-muted: #9CA3AF;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5E6B8 50%, #D4AF37 100%);
    --gradient-sky: linear-gradient(180deg, #0A0E1A 0%, #1E2A45 50%, #2D3A5C 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--midnight);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* FIREWORKS CANVAS */
#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

/* STARS */
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star { position: absolute; background: #fff; border-radius: 50%; animation: twinkle 3s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* HEADER */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.98) 0%, rgba(10, 14, 26, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.header-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 700;
    background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-decoration: none; display: flex; align-items: center; gap: 0.75rem;
}
.logo-year {
    font-size: 1rem; padding: 0.35rem 0.75rem; background: var(--gold);
    color: #0A0E1A !important; border-radius: 6px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700; -webkit-text-fill-color: #0A0E1A !important;
}
nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    color: var(--white); text-decoration: none; padding: 0.6rem 1rem;
    font-size: 0.9rem; font-weight: 500; border-radius: 8px; transition: all 0.3s ease;
}
.nav-link:hover { color: var(--gold); background: rgba(212, 175, 55, 0.1); }
.nav-link.active { color: var(--gold); }
.nav-cta { background: var(--gradient-gold); color: var(--midnight) !important; font-weight: 600; margin-left: 0.5rem; }
.nav-cta:hover { 
    background: var(--gradient-gold) !important; 
    color: var(--midnight) !important; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-dropdown > .nav-link::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s ease;
}
.nav-dropdown:hover > .nav-link::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}
.dropdown-menu .dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Mega Menu mit 2 Spalten */
.mega-menu {
    min-width: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.mega-menu-header {
    grid-column: span 2;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    padding: 0.5rem 1rem 0.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 0.25rem;
}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--gold); }

/* HERO */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 8rem 2rem 4rem; background: var(--gradient-sky);
}
.hero-content { text-align: center; max-width: 900px; position: relative; z-index: 10; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem;
    background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px; font-size: 0.875rem; color: var(--gold-light); margin-bottom: 2rem;
}
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { display: block; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }

/* COUNTDOWN */
.countdown-container { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.countdown-item {
    text-align: center; padding: 1.5rem; background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 16px; min-width: 100px;
}
.countdown-number {
    font-family: Georgia, 'Times New Roman', serif; font-size: 3rem; font-weight: 700;
    background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
}
.countdown-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 0.5rem; }

/* BUTTONS */
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem;
    font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 12px; transition: all 0.3s ease;
}
.btn-primary { background: var(--gradient-gold); color: var(--midnight); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); color: var(--gold); }

/* SECTIONS */
section { padding: 6rem 2rem; position: relative; z-index: 1; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 1rem; }
.section-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* GALLERY */
.gallery-section { background: linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item {
    position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
    background: var(--navy-light); border: 1px solid rgba(212, 175, 55, 0.1); transition: all 0.4s ease;
}
.gallery-item:hover { transform: translateY(-10px); border-color: var(--gold); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 26, 0.9) 100%);
    display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; }

/* FEATURES */
.features-section { background: var(--navy); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card {
    padding: 2.5rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px; transition: all 0.4s ease; text-decoration: none; color: inherit; display: block;
}
.feature-card:hover { background: rgba(212, 175, 55, 0.05); border-color: var(--gold); transform: translateY(-5px); }
.feature-icon { width: 60px; height: 60px; background: rgba(212, 175, 55, 0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }
.feature-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); font-weight: 500; margin-top: 1rem; font-size: 0.9rem; }

/* QUOTES */
.quotes-section { background: linear-gradient(180deg, var(--navy) 0%, var(--midnight) 100%); }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.quote-card {
    padding: 2.5rem; background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 24px; text-align: center; position: relative;
}
.quote-card::before { content: '"'; font-family: Georgia, 'Times New Roman', serif; font-size: 6rem; color: rgba(212, 175, 55, 0.15); position: absolute; top: 0; left: 1.5rem; line-height: 1; }
.quote-text { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-style: italic; line-height: 1.6; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.quote-copy-btn { padding: 0.75rem 1.5rem; background: rgba(212, 175, 55, 0.1); border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; cursor: pointer; font-size: 0.875rem; transition: all 0.3s ease; font-family: inherit; }
.quote-copy-btn:hover { background: var(--gold); color: var(--midnight); }

/* TRADITIONS */
.traditions-section { background: var(--midnight); }
.traditions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.tradition-card { display: flex; gap: 1.5rem; padding: 2rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; }
.tradition-card:hover { border-color: rgba(212, 175, 55, 0.3); }
.tradition-flag { font-size: 2.5rem; }
.tradition-content h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.125rem; margin-bottom: 0.5rem; }
.tradition-content p { color: var(--text-muted); font-size: 0.9rem; }

/* INFO */
.info-section { background: linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.info-card { padding: 2.5rem; background: rgba(212, 175, 55, 0.03); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 24px; }
.info-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; margin-bottom: 1.5rem; }
.info-card h3 span { color: var(--gold); }
.info-card p { color: var(--text-muted); margin-bottom: 1rem; }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid rgba(212, 175, 55, 0.1); padding: 4rem 2rem 2rem; position: relative; z-index: 1; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s ease; text-decoration: none; }
.footer-social a:hover { background: var(--gold); color: var(--midnight); }
.footer-column h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.75rem; }
.footer-column a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-column a:hover { color: var(--gold); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copyright { color: var(--text-muted); font-size: 0.875rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        flex-direction: column; 
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    nav.active { display: flex; }
    .mobile-toggle { display: flex; }
    
    /* Mobile Dropdown */
    .nav-dropdown { width: 100%; }
    .nav-dropdown > .nav-link { 
        width: 100%; 
        justify-content: space-between;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        cursor: pointer;
    }
    /* Disable hover effect on mobile dropdown trigger */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(212, 175, 55, 0.08);
        border: none;
        border-left: 3px solid var(--gold);
        border-radius: 0;
        padding: 0.5rem 0;
        margin: 0 0 0.5rem 0;
        min-width: 100%;
        box-shadow: none;
        display: none;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block !important;
    }
    .mega-menu {
        grid-template-columns: 1fr;
        min-width: 100%;
    }
    .dropdown-menu a {
        padding: 0.85rem 1.5rem;
        color: var(--white) !important;
        font-weight: 500;
        background: transparent !important;
        transform: none !important;
    }
    /* Remove hover effect on mobile - just subtle color change */
    .dropdown-menu a:hover,
    .dropdown-menu a:active,
    .dropdown-menu a:focus {
        background: transparent !important;
        color: var(--gold) !important;
        transform: none !important;
    }
    .dropdown-menu .dropdown-icon {
        font-size: 1.2rem;
    }
    nav > a.nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-cta {
        margin: 1rem 0 0 0 !important;
        text-align: center;
        justify-content: center;
    }
    
    .countdown-item { min-width: 80px; padding: 1rem; }
    .countdown-number { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .traditions-grid, .quotes-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }