/* ======================
   RESET & BASE
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0e27;
    color: #f5f5f5;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

/* ======================
   CUSTOM CURSOR TRAIL
   ====================== */
.cursor {
    display: none; /* Deaktiviert - normaler Cursor wird verwendet */
}

.cursor-glow {
    display: none; /* Deaktiviert */
}

/* Cursor Trail Effect */
.cursor-trail {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FF6B35 0%, #00f2fe 100%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

/* ======================
   STATIC BACKGROUND
   ====================== */
.particle-container {
    display: none; /* Deaktiviert - statischer Hintergrund */
}

/* ======================
   NAVIGATION
   ====================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-ai {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.logo-text {
    color: #f5f5f5;
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 30px 60px;
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5)); }
    50% { filter: drop-shadow(0 0 16px rgba(240, 147, 251, 0.8)); }
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: #d0d0d0;
    line-height: 1.8;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 242, 254, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.03);
}

/* ======================
   SEARCH SECTION
   ====================== */
.search-section {
    padding: 60px 30px 40px;
    position: relative;
    z-index: 10;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-input {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #f5f5f5;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.search-input::placeholder {
    color: #888;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #f5f5f5;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border-color: #00f2fe;
    color: #ffffff;
}

/* ======================
   GLOSSAR SECTION
   ====================== */
.glossar-section {
    padding: 80px 30px;
    position: relative;
    z-index: 10;
}

.business-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.05) 0%, 
        rgba(255, 179, 71, 0.05) 100%);
}

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

.section-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 60px;
    text-align: center;
    color: #ffffff;
}

.highlight-glossar {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-business {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-image-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
}

.business-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.business-image:hover {
    transform: scale(1.03);
}

/* ======================
   GLOSSAR GRID
   ====================== */
.glossar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ======================
   3D FLIP CARDS
   ====================== */
.glossar-card {
    perspective: 1000px;
    height: 280px;
    cursor: pointer;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Cards drehen nur bei Klick, nicht bei Hover */
.glossar-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-front {
    background: linear-gradient(135deg, 
        rgba(0, 242, 254, 0.1) 0%, 
        rgba(79, 172, 254, 0.1) 100%);
    border: 2px solid rgba(0, 242, 254, 0.3);
    backdrop-filter: blur(10px);
}

.card-back {
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.15) 0%, 
        rgba(240, 147, 251, 0.15) 100%);
    border: 2px solid rgba(240, 147, 251, 0.3);
    backdrop-filter: blur(10px);
    transform: rotateY(180deg);
}

.business-section .card-front {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(255, 179, 71, 0.1) 100%);
    border-color: rgba(255, 107, 107, 0.3);
}

.business-section .card-back {
    background: linear-gradient(135deg, 
        rgba(255, 179, 71, 0.15) 0%, 
        rgba(255, 142, 83, 0.15) 100%);
    border-color: rgba(255, 179, 71, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-front h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.card-back p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

/* Sparkle Effect on Hover */
.glossar-card::before {
    content: '✨';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.glossar-card:hover::before {
    opacity: 1;
    top: -10px;
    right: -10px;
}

/* ======================
   CTA SECTION
   ====================== */
.cta-section {
    position: relative;
    padding: 120px 30px;
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #f093fb 0%, 
        #f5576c 25%, 
        #4facfe 50%, 
        #00f2fe 75%, 
        #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

.cta-section .section-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
}

.highlight-cta {
    background: linear-gradient(135deg, #f093fb 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.3);
}

.cta-button:hover:not(.cta-disabled) {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.5);
}

.cta-button.cta-disabled {
    background: linear-gradient(135deg, #6b6b6b 0%, #a0a0a0 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ======================
   FOOTER
   ====================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    margin-bottom: 30px;
}

.footer-link {
    display: inline-block;
    margin: 0 20px;
    font-size: 1.1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #00f2fe;
    transform: translateY(-2px);
}

.footer-legal {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 15px;
}

.footer-link-small {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link-small:hover {
    color: #00f2fe;
}

/* ======================
   SCROLL TO TOP
   ====================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-5px);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor,
    .cursor-glow {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 40px;
    }
    
    .glossar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .glossar-card {
        height: 250px;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* ======================
   UTILITY CLASSES
   ====================== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}