:root {
    --indigo: #4f46e5;
    --slate-900: #0f172a;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }

/* FLUID ANIMATED BACKGROUND */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -10;
}

.blob-1 { top: -10%; left: -10%; animation: move 20s infinite alternate; }
.blob-2 { bottom: 10%; right: -5%; background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); animation: move 25s infinite alternate-reverse; }
.blob-3 { top: 40%; left: 50%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(165, 180, 252, 0.12) 0%, transparent 70%); animation: move 18s infinite linear; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 150px) scale(1.2); }
}

.grid-shimmer {
    background-size: 60px 60px;
    background-image: linear-gradient(to right, rgba(79, 70, 229, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
}

/* CURSOR GLOW */
#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -5;
    transform: translate(-50%, -50%);
}

/* PRO CARDS BORDER BEAM */
.border-beam {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 3.5rem;
    background: linear-gradient(135deg, transparent, var(--indigo), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background-size: 300% auto;
    animation: beam 4s linear infinite;
}

@keyframes beam { to { background-position: 300% center; } }

/* CARDS & INTERACTIONS */
.card-glass { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px); }
.hover-lift { transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-lift:hover { transform: translateY(-12px); box-shadow: 0 40px 60px -15px rgba(0,0,0,0.08); }

.btn-glow:hover { box-shadow: 0 0 25px rgba(79, 70, 229, 0.3); transform: scale(1.05); }

/* REVEAL ON SCROLL ANIMATION */
@keyframes reveal {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-reveal { animation: reveal 1s ease-out forwards; }


.accordion-item.active {
    background: white;
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.1);
    transform: scale(1.02);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--indigo);
}

.accordion-item:hover {
    border-color: var(--indigo);
}

/* ... Dein restliches CSS bleibt gleich ... */

/* STEP BUBBLES */
.step-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #4f46e5;
    transition: all 0.3s;
}
.step-dot.active {
    background: #4f46e5;
    color: white;
}

/* CUSTOM CHECKBOX & RADIO (Screenshot Look) */
.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem 0;
    color: #1e1e1e;
}
.checkbox-item input, .radio-item input { display: none; }

.custom-check, .custom-radio {
    width: 24px;
    height: 24px;
    border: 1px solid #4f46e5;
    margin-right: 15px;
    display: inline-block;
    transition: all 0.2s;
}
.custom-check { border-radius: 4px; }
.custom-radio { border-radius: 50%; }

input:checked + .custom-check, input:checked + .custom-radio {
    background: #4f46e5;
    box-shadow: inset 0 0 0 4px white;
}

/* FUNNEL INPUTS */
.funnel-input {
    width: 100%;
    border: 1px solid #4f46e5;
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.funnel-input:focus {
    box-shadow: 0 0 15px rgba(51, 56, 138, 0.1);
    outline: none;
}

/* FUNNEL BUTTONS (Screenshot Look) */
.funnel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    min-width: 220px;
}
.funnel-btn.primary { background: #4f46e5; color: white; }
.funnel-btn.secondary { background: #4f46e5; color: white; opacity: 0.9; }
.funnel-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(51, 56, 138, 0.2); }

/* MAGNETIC AURA BUTTON STYLES */
.magnetic-wrap {
    display: inline-block;
    padding: 20px; /* Puffer für die magnetische Bewegung */
    margin: -20px;
}

.aura-btn {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.aura-btn:hover {
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.4);
    transform: scale(1.05);
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* Verhindert das Flackern bei der magnetischen Bewegung */
.magnetic-item {
    pointer-events: auto;
    will-change: transform;
}

/* Animation für das Aufklappen */
.accordion-content {
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px; /* Großer Wert für flüssige Animation */
    transition: max-height 1s ease-in-out;
}

/* Pfeil-Rotation bei Aktivierung */
.accordion-item.active .accordion-header i.fa-chevron-down {
    transform: rotate(180deg);
    color: #4f46e5; /* Indigo Farbe beim Aufklappen */
}

/* Optisches Feedback beim aktiven Item */
.accordion-item.active {
    background: white !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.2);
}




/* Logo "Pop" im Footer */
footer .bg-white {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

/* Sprachwähler Styling */
#langToggle option {
    background: white;
    color: black;
    font-weight: bold;
}
/* Verhindert Abschneiden von Überschriften auf Mobilgeräten */
h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.1 !important;
}


/* WhatsApp Schwebanimation */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.fixed.bottom-8.right-8 {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes reveal {
    0% {
      opacity: 0;
      transform: translateY(30px) skewY(2deg);
      filter: blur(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0) skewY(0deg);
      filter: blur(0);
    }
  }
  
  .animate-reveal {
    animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  
/* --- HEADER BASIS --- */
#mainHeader {
    z-index: 1000; /* Basis für den Header */
    position: fixed;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

/* Header im gescrollten Zustand */
#mainHeader.scrolled {
    background: #0f172a !important; /* Slate-900 (Dunkelblau) */
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Textfarben im Header erzwingen */
#mainHeader.scrolled span {
    color: white !important;
}

/* --- DER MENU BUTTON (WICHTIG FÜR KLICKBARKEIT) --- */
#menu-btn {
    z-index: 2000 !important; /* Höchster Wert: Über dem Menü-Vorhang! */
    position: relative;
}

/* Farbe der Hamburger-Striche */
#menu-btn span {
    background-color: #0f172a; /* Standard: Dunkel */
}

#mainHeader.scrolled #menu-btn span {
    background-color: white !important; /* Scrolled: Weiß */
}

/* --- MOBILE MENU OVERLAY --- */
#mobile-menu {
    background-color: #020617 !important; /* Absolut blickdicht */
    z-index: 1500; /* Zwischen Header und Button */
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* WICHTIG: Verhindert, dass das unsichtbare Menü Klicks blockiert */
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
    
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wenn Menü aktiv ist */
#mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Klicks im Menü wieder erlauben */
    transform: translateY(0) !important;
}

/* Menü-Links */
#mobile-menu a {
    color: white !important;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0;
}
