/* css/studio_video.css — Atelier-Video über die volle Breite (content_inc/studio_video.php, js/studio_video.js)
   Dunkel wie der Künstler-Hero. Video füllt die Fläche (cover), Verlauf von unten, Titel unten links.
   Lädt erst, wenn es in Sicht kommt, blendet dann weich ein. */
.artist-studio {
    --studio-bg:     #0c0d0e;
    --studio-fg:     #f2f2ef;
    --studio-accent: #c9a45c;

    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 72svh;
    margin-top: var(--section-space);
    overflow: hidden;
    background: var(--studio-bg);
    color: var(--studio-fg);
}

.artist-studio-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease, transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-studio-video.is-ready {
    opacity: 1;
    transform: none;
}

/* Verlauf: unten dunkel für den Titel, oben ein Hauch für den Übergang */
.artist-studio::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(12, 13, 14, 0.92) 0%, rgba(12, 13, 14, 0.35) 38%, rgba(12, 13, 14, 0) 62%),
        linear-gradient(180deg, rgba(12, 13, 14, 0.35) 0%, rgba(12, 13, 14, 0) 22%);
    pointer-events: none;
}

.artist-studio-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 var(--gutter) 40px;
}

.artist-studio-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--studio-accent);
}

.artist-studio-title {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(44px, 11vw, 132px);
    font-weight: 800;
    font-stretch: 75%;
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* Pause / Play: rund wie die Social-Icons — mobil oben rechts (unten steht der Titel), breit unten rechts */
.artist-studio-toggle {
    position: absolute;
    top: 20px;
    right: var(--gutter);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(242, 242, 239, 0.35);
    border-radius: 50%;
    background: rgba(12, 13, 14, 0.25);
    color: var(--studio-fg);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.artist-studio-toggle:hover {
    border-color: var(--studio-fg);
    background: var(--studio-fg);
    color: var(--studio-bg);
}

.artist-studio-toggle:focus-visible {
    outline: 2px solid var(--ultramarine);
    outline-offset: 3px;
}

.artist-studio-toggle svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.artist-studio-toggle .icon-play,
.artist-studio.is-paused .artist-studio-toggle .icon-pause {
    display: none;
}

.artist-studio.is-paused .artist-studio-toggle .icon-play {
    display: block;
}

/* Direkt an ein dunkles Band anschließen (Startseite nach "Für Unternehmen"): kein heller Spalt */
.artist-studio--flush {
    margin-top: 0;
}

/* Optionaler Link unter dem Titel */
.artist-studio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 600;
    color: var(--studio-fg);
    text-decoration: none;
}

.artist-studio-link svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-studio-link:hover svg {
    transform: translateX(4px);
}

.artist-studio-link:focus-visible {
    outline: 2px solid var(--ultramarine);
    outline-offset: 4px;
}

@media (min-width: 900px) {
    .artist-studio {
        min-height: min(92vh, 960px);
        margin-top: 140px;
    }

    .artist-studio--flush {
        margin-top: 0;
    }

    .artist-studio-content {
        padding-bottom: 72px;
    }

    .artist-studio-toggle {
        top: auto;
        bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .artist-studio-video {
        transform: none;
        transition: opacity 0.4s ease;
    }
}
