/* Startseiten-Einstieg (template-parts/gq-home-hero.php) */

.gq-home-hero {
    position: relative;
    min-height: min(78vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
    border-bottom: 3px solid var(--gqrc-accent-electric, #61FF70);
    isolation: isolate;
}

.gq-home-hero__media,
.gq-home-hero__media picture,
.gq-home-hero__media img,
.gq-home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gq-home-hero__media img,
.gq-home-hero__video {
    object-fit: cover;
    object-position: 55% 50%;
}

/* langsame Kamerafahrt ins Studio */
.gq-home-hero__media img {
    transform-origin: 58% 45%;
    animation: gq-home-hero-fahrt 28s ease-in-out infinite alternate;
}

@keyframes gq-home-hero-fahrt {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to   { transform: scale(1.16) translate3d(-2%, 1%, 0); }
}

/* Scan-Lines */
.gq-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
}

.gq-home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 45%);
}

.gq-home-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 56px;
}

.gq-home-hero__kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 10px;
    background: var(--gqrc-accent-electric, #61FF70);
    color: #000;
    font-family: var(--gqrc-font-heading, 'Arvo', serif);
    font-size: 0.8rem;
    text-transform: lowercase;
}

.gq-home-hero__title {
    margin: 0 0 16px;
    font-family: var(--gqrc-font-heading, 'Arvo', serif);
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: #fff;
    text-shadow: 4px 4px 0 rgba(105, 98, 254, 0.85);
}

.gq-home-hero__lead {
    max-width: 46ch;
    margin: 0 0 28px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.gq-home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.gq-home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 20px;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.55);
    color: #fff !important;
    font-family: var(--gqrc-font-heading, 'Arvo', serif);
    font-size: 1rem;
    text-decoration: none !important;
    text-transform: lowercase;
    transition: transform var(--gqrc-transition-fast, 0.1s steps(3)), box-shadow var(--gqrc-transition-fast, 0.1s steps(3));
}

.gq-home-hero__btn--primary {
    border-color: var(--gqrc-accent-electric, #61FF70);
    background: var(--gqrc-accent-electric, #61FF70);
    color: #000 !important;
}

.gq-home-hero__btn:hover,
.gq-home-hero__btn:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--gqrc-accent-cyan, #00FFFF);
}

.gq-home-hero__btn-sub {
    display: block;
    font-family: var(--gqrc-font-body, 'Work Sans', sans-serif);
    font-size: 0.78rem;
    opacity: 0.75;
}

/* Builder-Überschriften der Startseite stehen jetzt im Einstieg */
.home .entry-content > .container:has(> [data-element-id="el_zr3ootdb0"]),
.home .entry-content > .container:has(> [data-element-id="el_spe0nduql"]),
.home .entry-content > .container:has(> [data-element-id="el_712516bdf"]) {
    display: none;
}

@media (max-width: 760px) {
    .gq-home-hero { min-height: 82svh; }
    .gq-home-hero__content { padding: 96px 16px 32px; }
    .gq-home-hero__title { font-size: clamp(2rem, 9.5vw, 2.6rem); }
    .gq-home-hero__overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.2) 100%);
    }
    .gq-home-hero__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .gq-home-hero__media img { animation: none; transform: scale(1.05); }
    .gq-home-hero__video { display: none; }
}
