@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --navy-deep: #0a1428;
    --navy-dark: #1a2332;
    --navy-medium: #2a3441;
    --cyan-electric: #00d4cc;
    --cyan-bright: #4ddbf7;
    --gold-accent: #ffd166;
    --white-pure: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 212, 204, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--cyan-electric) 0%, var(--cyan-bright) 100%);
    --gradient-hero: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-medium) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-deep);
    color: var(--white-pure);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ELEMENTS ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--cyan-electric);
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.6;
}

.particle:nth-child(2n) {
    background: var(--cyan-bright);
    animation-duration: 25s;
}

.particle:nth-child(3n) {
    background: var(--gold-accent);
    animation-duration: 30s;
    width: 1px;
    height: 1px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.wave-bg {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 200%;
    height: 400px;
    background: linear-gradient(45deg, rgba(0, 212, 204, 0.1), rgba(77, 219, 247, 0.05));
    clip-path: polygon(0 50%, 100% 30%, 100% 100%, 0% 100%);
    animation: wave-flow 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes wave-flow {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* ===== LAYOUT CONTAINERS ===== */
.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

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

/* ===== HEADER STYLES ===== */
.wave-header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    z-index: 2;
}

.wave-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/wave.svg'); /* Pfad zur .svg-Datei anpassen! */
    background-repeat: repeat;
    background-size: 100px auto; /* Breite 100px, Höhe wird automatisch basierend auf dem viewBox-Aspektverhältnis des SVGs berechnet */
    opacity: 0.05; /* Anpassen für gewünschte Subtilität (z.B. 0.03, 0.05, 0.1) */
    /* animation: pattern-move 30s linear infinite; Auskommentieren oder entfernen */
}

@keyframes pattern-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 212, 204, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 212, 204, 0.6)); }
}

.headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--white-pure) 0%, var(--cyan-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    animation: slide-up 1s ease-out;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subheadline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    animation: slide-up 1s ease-out 0.2s both;
}

/* ===== MOBILE-FIRST NAVIGATION STYLES ===== */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
    border-bottom: 1px solid rgba(0, 212, 204, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Hamburger Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 2001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white-pure);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu (initial hidden) */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
    padding: 80px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, rgba(0, 212, 204, 0.1) 0%, rgba(77, 219, 247, 0.05) 100%);
    color: var(--white-pure);
    transform: translateX(8px);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleY(1);
}

.nav-link i {
    width: 20px;
    font-size: 1.1rem;
    color: var(--cyan-bright);
}

.nav-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--navy-deep);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 204, 0.3);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        right: auto;
        transition: none;
        overflow: visible;
    }
    
    .nav-header {
        padding: 1rem 2rem;
    }
    
    .nav-list {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0;
    }
    
    .nav-item {
        margin-bottom: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        transform: translateY(-2px);
    }
    
    .nav-cta {
        border: none;
        padding: 0;
        margin-left: 1rem;
    }
    
    .nav-cta-btn {
        width: auto;
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-overlay {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav-header {
        padding: 1rem 3rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1.25rem;
    }
    
    .nav-cta-btn {
        padding: 0.75rem 2rem;
    }
}

/* Body Padding für Fixed Navigation */
body {
    padding-top: 70px; /* Platz für Fixed Navigation */
}

/* Responsive Body Padding */
@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }
}

/* ===== QUESTIONS SECTION ===== */
.questions-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
    z-index: 2;
}

.intro-text {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fade-in 1s ease-out 0.5s both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.question-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 204, 0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: var(--white-pure);
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation: scale-in 0.6s ease-out both;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.question-btn:nth-child(1) { animation-delay: 0.1s; }
.question-btn:nth-child(2) { animation-delay: 0.2s; }
.question-btn:nth-child(3) { animation-delay: 0.3s; }
.question-btn:nth-child(4) { animation-delay: 0.4s; }

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.question-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.question-btn:hover::before {
    left: 100%;
}

.question-btn:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 204, 0.4);
    border-color: var(--cyan-electric);
    background: linear-gradient(135deg, rgba(0, 212, 204, 0.15) 0%, rgba(77, 219, 247, 0.08) 100%);
}

.question-btn:hover .question-icon {
    color: var(--white-pure);
    transform: scale(1.05);
}

.question-btn:active {
    transform: translateY(-4px) scale(1.01);
}

.question-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--cyan-electric);
    transition: all 0.3s ease;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white-pure);
    margin-top: auto;
}

.question-category {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: none;
    text-align: center;
    padding: 4rem 0;
    animation: fade-in 0.5s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 212, 204, 0.3);
    border-top: 3px solid var(--cyan-electric);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: pulse-glow 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
    border-top: 1px solid rgba(0, 212, 204, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    z-index: 3;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan-bright);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--white-pure);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--cyan-electric);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--cyan-bright);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== UTILITY CLASSES ===== */
strong {
    font-weight: 700;
    color: var(--cyan-bright);
}

/* ===== ACCESSIBILITY ===== */
.question-btn:focus {
    outline: 2px solid var(--cyan-electric);
    outline-offset: 4px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.question-btn,
.logo,
.headline {
    will-change: transform;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-bright);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .question-btn {
        padding: 2.5rem 2rem;
        min-height: 180px;
    }

    .question-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .container-lg {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .question-btn {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }
}