/* ═══════════════════════════════════════════════════════════
   SCROLL INDICATOR — Wiederverwendbare UI-Komponente
   Für Hero-Sections mit 100vh oder jeder Section die Scroll-Hinweis braucht.
   ═══════════════════════════════════════════════════════════ */

.scroll-indicator {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Versteckt wenn gescrollt wird (via JS data-scrolled auf html) */
html[data-scrolled="true"] .scroll-indicator {
    opacity: 0;
    pointer-events: none;
}

/* ═══ VISUELLE ELEMENTE ═══ */

.scroll-indicator__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.scroll-indicator__wheel {
    width: 4px;
    height: 6px;
    background: var(--teal);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

.scroll-indicator__text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ═══ VARIANTEN ═══ */

/* Kleinere Variante für kompakte Sections */
.scroll-indicator--sm {
    bottom: 2.5rem;
    gap: 0.4rem;
}

.scroll-indicator--sm .scroll-indicator__mouse {
    width: 18px;
    height: 28px;
    border-radius: 10px;
}

.scroll-indicator--sm .scroll-indicator__wheel {
    width: 3px;
    height: 5px;
    top: 5px;
}

.scroll-indicator--sm .scroll-indicator__text {
    font-size: 0.6rem;
}

/* ═══ RESPONSIVE ═══ */

@media (max-width: 960px) {
    .scroll-indicator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator__wheel { animation: none; }
}
