/* Hero Section - Static background image with overlay */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--text-dark);
    padding: 0; /* override layout.css section padding */
}

/* Background image */
.hero__background {
    position: absolute;
    inset: 0;
    background-image: url('../../images/drohne_amsprueher.webp');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

/* Dark gradient overlay – horizontal split: text left, drone right */
.hero__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.60) 35%,
        rgba(0, 0, 0, 0.20) 65%,
        rgba(0, 0, 0, 0.00) 100%
    );
}

/* Content container – text left-aligned on desktop */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 0 0 max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    padding: 6rem 0 4rem; /* seitlich 0: der margin-left setzt bereits den Container-Gutter → linke Textkante = Header-Logo */
    text-align: left;
    color: #ffffff;
}

/* Problem-first headline */
.hero__headline {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Subline */
.hero__subline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* SEO-Claim (H2): Keyword-reich, visuell zwischen Subline und CTA */
.hero__claim {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 2rem;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* CTA button group */
.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hero__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 1rem 2.25rem;
    min-height: 44px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-medium);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 15px rgba(33, 112, 166, 0.4);
    letter-spacing: 0.3px;
}

.hero__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(33, 112, 166, 0.6);
    text-decoration: none;
}

.hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-medium);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hero__cta-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Trust badges row */
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
}

.hero__badge-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
    }

    .hero__background {
        background-position: center 30%;
    }

    .hero__background::after {
        background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.40) 40%,
            rgba(0, 0, 0, 0.55) 100%);
    }

    .hero__content {
        max-width: 100%;
        margin: 0 auto;
        padding: 5rem 1.25rem 3rem;
        text-align: center;
    }

    .hero__cta-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__headline {
        font-size: 2rem;
    }

    .hero__subline {
        font-size: 1.1rem;
    }

    .hero__claim {
        font-size: 1.25rem;
    }
}

/* Responsive: Phone */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .hero__content {
        padding: 4rem 1rem 2.5rem;
    }

    .hero__headline {
        font-size: 1.65rem;
    }

    .hero__subline {
        font-size: 1rem;
    }

    .hero__claim {
        font-size: 1.1rem;
    }

    .hero__badges {
        gap: 1rem;
    }

    .hero__badge {
        font-size: 0.8rem;
    }
}
