/* ==========================================================================
   HERO SECTION (hero.css)
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content-pure {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.hero-title {
    color: #333333;
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.subtitle-wrapper {
    margin: 20px 0 40px 0;
    min-height: clamp(1.6rem, 2vw, 2.1rem);
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    will-change: height;
}

.hero-subtitle {
    color: #555555;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 400;
    margin: 0;
    max-width: clamp(300px, 60vw, 650px);
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.hero-subtitle::after {
    content: '';
}

.hero-subtitle.show-cursor::after {
    content: '|';
    color: #555555;
    margin-left: 2px;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle.fade-in {
    opacity: 0.9;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
    transition: all 1.2s ease-out;
}

.hero-actions.fade-in {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333333;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    /* 🔥 Dynamisch: Wächst sanft von 0.9rem auf 1.1rem */
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: #333333;
    color: #ffffff;
    border: 1px solid #333333;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.btn-text {
    color: #555;
    text-decoration: none;
    /* 🔥 Dynamisch: Wächst sanft von 0.9rem auf 1.1rem */
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.btn-text span {
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-text:hover {
    opacity: 0.7;
}

.btn-text:hover span {
    transform: translateX(5px);
}