@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette - Premium Dark */
    --primary-gold: #D4AF37;
    --primary-gold-rgb: 212, 175, 55;
    --secondary-gold: #C5A028;
    --champagne: #F7E7CE;
    --bg-dark: #050A18;
    --bg-darker: #02060F;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-accent: rgba(212, 175, 55, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Styles */
body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(5, 10, 24, 1) 0%, transparent 100%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Decorative Background Elements */
body::before, body::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
    animation: float 20s infinite alternate;
}

body::before { top: -100px; left: -100px; }
body::after { bottom: -100px; right: -100px; animation-delay: -10s; }

/* Keep the original fixed image background on every premium page. */
body {
    background-color: #000000 !important;
    background-image: none !important;
    background-attachment: initial !important;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    background-image: url('/bild/dunklerh.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: -1 !important;
    filter: none !important;
    animation: none !important;
    transform: none !important;
    pointer-events: none !important;
}

body::after {
    content: none !important;
    display: none !important;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Premium Card (Glassmorphism) */
.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.premium-card:hover::before {
    opacity: 1;
}

/* Typography Clean-up */
.premium-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.premium-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
}

/* Buttons */
.premium-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--bg-dark);
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.premium-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--bg-dark);
}

.premium-btn-outline {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 11px 31px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.premium-btn-outline:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* --- KRASSE ANIMATIONEN --- */

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.98); 
        filter: blur(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
    100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: blur(5px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Staggered Reveal Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Premium Button Shine */
.premium-btn {
    position: relative;
    overflow: hidden;
    animation: glowPulse 4s infinite;
}

.premium-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.premium-btn:hover::after {
    animation: shine 0.8s forwards;
}

/* Hover Scale for Cards */
.premium-card {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.premium-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
}

/* Text Reveal Animation */
.text-reveal {
    background: linear-gradient(to right, var(--primary-gold) 0%, var(--champagne) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textGradient 4s linear infinite;
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Utility */
.text-gold { color: var(--primary-gold) !important; }
.text-champagne { color: var(--champagne); opacity: 0.8; }
.bg-glass { background: var(--glass-bg); backdrop-filter: blur(10px); }

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.border-gold {
    border-color: var(--primary-gold) !important;
}

.content-spacer {
    padding-top: 100px;
}

/* Scroll Nav Upgrades */
.scroll-nav-container {
    z-index: 1000;
}

.scroll-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: scale(1.1);
}
