/* ============================================================
   HERO.CSS - Hero-Sektion
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px; /* Navhöhe */
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 50%, var(--teal-950) 100%);
}

/* Dezente Hintergrund-Muster */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='1.5' fill='%232dd4bf' fill-opacity='0.10'/%3E%3C/svg%3E");
    background-size: auto, auto, 28px 28px;
    background-repeat: no-repeat, no-repeat, repeat;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--sp-16) var(--sp-6) var(--sp-20);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-12);
    position: relative;
    z-index: 1;
}

/* === Text-Seite === */
.hero__content {
    color: white;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--teal-200);
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: var(--r-full);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.4); }
}

.hero__title {
    font-size: var(--fs-6xl);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: var(--sp-6);
    letter-spacing: -0.02em;
}

.hero__title span {
    color: var(--teal-300);
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.hero__note {
    margin-top: var(--sp-5);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.hero__note svg {
    width: 16px;
    height: 16px;
    color: var(--teal-400);
    flex-shrink: 0;
}

/* === Video-Platzhalter === */
.hero__visual {
    position: relative;
}

.hero__video-wrap {
    position: relative;
    border-radius: var(--r-2xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--teal-950);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.hero__video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-950) 100%);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    position: absolute;
    inset: 0;
}

.hero__video-placeholder:hover {
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
}

.hero__play-btn {
    width: 72px;
    height: 72px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__video-placeholder:hover .hero__play-btn {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero__play-btn svg {
    width: 28px;
    height: 28px;
    color: var(--teal-700);
    margin-left: 4px; /* optische Zentrierung */
}

.hero__video-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Mock Browser-Leiste oben am Video */
.hero__video-bar {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-4);
    gap: var(--sp-2);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.hero__video-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--r-full);
}

.hero__video-dot:nth-child(1) { background: #ff5f57; }
.hero__video-dot:nth-child(2) { background: #febc2e; }
.hero__video-dot:nth-child(3) { background: #28c840; }

.hero__video-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Vorschau-Bild im Mac-Fenster */
.hero__preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

/* === Floating-Stats-Karte === */
.hero__stat-card {
    position: absolute;
    bottom: -16px;
    left: -24px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-xl);
    padding: var(--sp-4) var(--sp-5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    z-index: 10;
}

.hero__stat-icon {
    width: 40px;
    height: 40px;
    background: var(--teal-100);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    flex-shrink: 0;
}

.hero__stat-icon svg { width: 20px; height: 20px; }

.hero__stat-value {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.hero__stat-label {
    font-size: var(--fs-xs);
    color: rgba(0, 0, 0, 0.6);
    margin-top: 2px;
}

/* === Responsive === */
@media (max-width: 960px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__note {
        justify-content: center;
    }

    .hero__stat-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .hero__title {
        font-size: var(--fs-5xl);
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: var(--fs-4xl);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
}

