/* Hero Section Styles */
.hero {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 140px);
    height: calc(100dvh - 140px);
    /* Fallback für Browser ohne dvh Support */
    height: calc(var(--vh, 1vh) * 100 - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 140, 66, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(144, 84, 247, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: none;
}

.hero .oval-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.hero .oval-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.3;
    filter: blur(30px);
    will-change: transform;
}

.hero .oval-shape:nth-child(1) {
    width: 40vmin;
    height: 25vmin;
    top: 25%;
    left: 60%;
    transform-origin: center;
    animation: 
        moveX1 18s ease-in-out infinite alternate, 
        moveY1 15s ease-in-out infinite alternate-reverse, 
        rotateAndScale 25s linear infinite;
}

.hero .oval-shape:nth-child(2) {
    width: 35vmin;
    height: 20vmin;
    top: 60%;
    left: 30%;
    animation: 
        moveX2 20s ease-in-out infinite alternate-reverse, 
        moveY2 14s cubic-bezier(0.68, -0.6, 0.32, 1.6) infinite alternate, 
        rotateAndScale 18s linear infinite reverse;
}

.hero .oval-shape:nth-child(3) {
    width: 25vmin;
    height: 35vmin;
    top: 40%;
    left: 45%;
    animation: 
        moveX3 16s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate, 
        moveY3 22s ease-in-out infinite alternate-reverse, 
        rotateAndScale 22s linear infinite;
}

/* X-Achsen Bewegungen */
@keyframes moveX1 {
    0% { transform: translateX(-15px); }
    33% { transform: translateX(5px); }
    66% { transform: translateX(-5px); }
    100% { transform: translateX(15px); }
}

@keyframes moveX2 {
    0% { transform: translateX(20px); }
    40% { transform: translateX(-10px); }
    70% { transform: translateX(5px); }
    100% { transform: translateX(-15px); }
}

@keyframes moveX3 {
    0% { transform: translateX(-10px); }
    45% { transform: translateX(15px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(10px); }
}

/* Y-Achsen Bewegungen */
@keyframes moveY1 {
    0% { transform: translateY(10px); }
    35% { transform: translateY(-15px); }
    70% { transform: translateY(5px); }
    100% { transform: translateY(-10px); }
}

@keyframes moveY2 {
    0% { transform: translateY(-15px); }
    42% { transform: translateY(10px); }
    68% { transform: translateY(-7px); }
    100% { transform: translateY(15px); }
}

@keyframes moveY3 {
    0% { transform: translateY(15px); }
    38% { transform: translateY(-8px); }
    65% { transform: translateY(12px); }
    100% { transform: translateY(-15px); }
}

/* Rotation und Skalierung */
@keyframes rotateAndScale {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-heading {
    font-size: 3.4rem;
    margin-bottom: 20px;
    color: var(--hero-heading-color);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: none;
}

.hero-heading span {
    display: block;
    font-size: 4.2rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.hero .tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 40px;
    color: var(--text-light);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(148, 139, 207, 0.4);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 139, 207, 0.6);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        min-height: auto;
        height: auto;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-heading span {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .hero .tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero .oval-shape:nth-child(1) {
        width: 50vmin;
        height: 30vmin;
    }

    .hero .oval-shape:nth-child(2) {
        width: 40vmin;
        height: 25vmin;
    }

    .hero .oval-shape:nth-child(3) {
        width: 30vmin;
        height: 40vmin;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-heading span {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}