/* ==========================================
   SS27 – Kollektionsseite
   ========================================== */

/* --- Titelbild-Link füllt den Container --- */
.titel-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.titel-link img {
    width: 100%;
    height: auto;
    display: block;
}

.titel-link:hover {
    opacity: 0.92;
}

/* --- Textspalte darf mitwachsen (Stylebook sitzt darin) --- */
.cover .txtContainer {
    height: auto;
    min-height: 80vh;
}

/* --- Stylebook-Cover mit Page-Curl --- */
.stylebook-cover {
    position: relative;
    display: block;
    max-width: 300px;
    width: 100%;
    margin-top: 2.5rem;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.stylebook-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.stylebook-cover:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

/* Eselsohr oben rechts */
.stylebook-cover::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background: linear-gradient(
        225deg,
        oklch(98.4% 0.003 247.858) 0%,
        oklch(98.4% 0.003 247.858) 48%,
        #ffffff 50%,
        #e8e8e8 75%,
        #d4d4d4 100%
    );
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.25);
    border-bottom-left-radius: 6px;
    transition: width 0.35s ease, height 0.35s ease;
}

.stylebook-cover:hover::after {
    width: 75px;
    height: 75px;
}

.stylebook-hint {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

/* --- Video (einmalig, FIX: war doppelt mit Konflikt) --- */
.video-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    height: 80vh;          /* Desktop: Größe über Höhe steuern */
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .cover .txtContainer {
        min-height: 0;       /* FIX: 80vh erzeugte mobil Riesenleerflächen */
        height: auto;
        padding: 1.5rem 2rem;
        align-items: center;
        text-align: center;
    }

    .stylebook-cover {
        margin: 2rem auto 0;
    }

    .video-side {
        width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stylebook-cover {
        max-width: 280px;
    }

    /* Mobile: kein Hover → Ecke dauerhaft angeknickt als Hinweis */
    .stylebook-cover::after {
        width: 40px;
        height: 40px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-wrapper {
        height: auto;
        width: 90%;
        max-width: 360px;
    }
}
