/* BASE STYLES & VARIABLES */
:root {
    --bg-color: #0B0E14;
    --surface-color: #1A1F2B;
    --surface-glass: rgba(26, 31, 43, 0.6);
    --text-primary: #FFFFFF;
    --text-secondary: #A0ABC0;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #F3E5AB;
    --glow-color: rgba(212, 175, 55, 0.3);
    
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 48px;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }
.mt-xl { margin-top: 48px; }

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-gold);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #C59B27, #E8D070);
    color: #000;
    box-shadow: 0 4px 20px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    padding: 10px 24px;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

.btn-block {
    display: block;
    width: 100%;
}

/* PULSE ANIMATION FOR MAIN CTA */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* HERO SECTION */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-wrapper {
    background: var(--surface-glass);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.urgency-text {
    color: #FF6B6B;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FLOATING ANIMATION */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}

/* GLASSMORPHISM & EFFECTS */
.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    transform: translateZ(0); /* Hardware acceleration */
    will-change: filter;
    pointer-events: none; /* Verhindert das Blockieren von Klicks */
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #D4AF37;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: #1A1F2B;
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.15);
}

.glass-card {
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* FEATURES SECTION */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
    gap: 32px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 100px 0;
    background: rgba(26, 31, 43, 0.3);
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.testimonial-card .stars {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 32px;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ SECTION */
.faq {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    margin: 0;
}

/* FINAL CTA */
.final-cta {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-inline: auto;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 24px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* STICKY MOBILE CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* SCROLL ANIMATIONS CLASSES */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .trust-icons {
        flex-direction: column;
        gap: 12px;
    }

    .blob-1 {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sticky-cta {
        display: block; /* Show sticky CTA on mobile */
    }

    /* Add padding bottom to body to not hide content behind sticky CTA */
    body {
        padding-bottom: 80px;
    }
    
    .navbar .btn-outline {
        display: none; /* Hide top CTA on small screens since we have sticky */
    }
}

/* COOKIE BANNER DSGVO */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 24px;
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1 1 300px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
        padding-bottom: 90px; /* Space for sticky CTA */
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}
