/* Styling für das Hero-Logo */
.hero-logo {
    max-width: 240px;
    height: auto;
    /* Negativer Margin zieht den Text unter dem Logo aktiv nach oben */
    margin-bottom: -30px; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    animation: float 4s ease-in-out infinite;
}

/* Der RGB-Text Effekt */
.animate-rgb {
    opacity: 0;
    transform: translateY(20px);
    
    background: linear-gradient(
        to right, 
        #ff5f6d, #ffc371, #ddff71, #71ffaf, #71bcff, #b271ff, #ff5f6d
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    animation: 
        fadeInUp 1s ease forwards, 
        flow_rainbow 15s linear infinite;
    
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    /* Sehr enger Zeilenabstand zwischen den Texten */
    margin: 0 0 2px 0; 
    text-align: center;
}

/* --- VERZÖGERUNGEN & GRÖSSEN --- */

.animate-rgb:nth-of-type(1) {
    animation-delay: 0s, 0s;
    /* Entfernt jeglichen Puffer nach oben */
    margin-top: -10px; 
}

.animate-rgb:nth-of-type(2) {
    animation-delay: 0.5s, 0.5s;
    font-size: 2.5rem;
}

.animate-rgb:nth-of-type(3) {
    animation-delay: 1s, 1s;
    font-size: 1.8rem;
}

/* --- KEYFRAMES --- */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flow_rainbow {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-subtitle {
    font-size: 2rem; /* Vergrößert von 1.5rem auf 2rem */
    color: #00fbff;  /* Dein Türkis bleibt erhalten */
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.highlight-white {
    color: #fff;     /* Dein Weiß bleibt erhalten */
    font-weight: 600;
}

/* Der blinkende Cursor */
.typing-cursor {
    border-right: 3px solid #888; /* Dein Grau bleibt erhalten */
    margin-left: 5px;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #888 }
}