/* Einzelne Buchtrope */

.lm-trope-page {
    background: var(--lm-bg);
    overflow: hidden;
}

.lm-trope-page .lm-wrap {
    width: min(var(--lm-max), calc(100% - 48px));
    margin-inline: auto;
}

/* Hero */

.lm-trope-hero {
    position: relative;
    min-height: 620px;
    padding: 190px 0 120px;
    overflow: hidden;
    background-color: #07070a;
}

.lm-trope-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(--lm-trope-hero-image);
    background-size: cover;
    background-position: center top 18%;

    opacity: .92;
    filter: saturate(.9) brightness(1.05);
}

.lm-trope-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.48) 42%, rgba(0,0,0,.76) 100%),
        linear-gradient(0deg, var(--lm-bg) 0%, transparent 34%);

    pointer-events: none;
}

.lm-trope-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 28px;
}

.lm-trope-hero-content {
    max-width: 760px;
}

.lm-trope-hero h1 {
    max-width: 720px;
    margin: 0 0 14px;

    color: #fff;

    font-family: var(--lm-head);
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.lm-trope-script {
    color: var(--lm-accent);

    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1;

    text-shadow: 0 0 28px rgba(154,92,255,.45);
}

/* Beschreibung im Header */

.lm-trope-description-card {
    border: 1px solid rgba(154,92,255,.26);
    border-radius: 10px;

    padding: 34px 38px;

    background:
        radial-gradient(circle at 100% 0%, rgba(154,92,255,.16), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));

    color: #d2cad8;

    font-size: 16px;
    line-height: 1.75;

    box-shadow:
        0 18px 60px rgba(0,0,0,.42),
        0 0 42px rgba(154,92,255,.10),
        inset 0 0 32px rgba(154,92,255,.035);

    backdrop-filter: blur(10px);

    width: 100%;
    max-width: none;
    height: auto;
}

.lm-trope-description-card p {
    margin: 0 0 18px;
}

.lm-trope-description-card p:last-child {
    margin-bottom: 0;
}

/* Bücher */

.lm-trope-books {
    position: relative;
    z-index: 5;

    padding: 70px 0 70px;
}

.lm-trope-section-head {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 42px;
}

.lm-trope-section-head h2 {
    margin: 0;

    color: #fff;

    font-family: var(--lm-head);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .08em;
    white-space: nowrap;
    text-transform: uppercase;
}

.lm-trope-section-head::after {
    content: "";

    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(154,92,255,.55),
            rgba(154,92,255,.08)
        );
}

.lm-trope-book-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 56px;
}

.lm-trope-book-grid .lmb-book-card,
.lm-trope-fallback-card {
    width: 100%;
    min-width: 0;
}

.lm-trope-book-grid .lmb-book-card figure,
.lm-trope-fallback-card figure {
    aspect-ratio: 2 / 3;
    margin: 0 0 18px;
    overflow: visible;
    background: transparent;
}

.lm-trope-book-grid .lmb-book-card img,
.lm-trope-fallback-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    box-shadow:
        0 14px 36px rgba(0,0,0,.42),
        0 0 26px rgba(154,92,255,.12);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.lm-trope-book-grid .lmb-book-card:hover img,
.lm-trope-fallback-card:hover img {
    transform: scale(1.02);

    box-shadow:
        0 18px 42px rgba(0,0,0,.52),
        0 0 34px rgba(154,92,255,.22);
}

.lm-trope-book-grid .lmb-book-content,
.lm-trope-fallback-card h3 {
    padding: 0 2px;
}

.lm-trope-book-grid .lmb-book-content h3,
.lm-trope-fallback-card h3 {
    margin: 0 0 8px;

    color: #fff;

    font-family: var(--lm-head);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.12;
}

.lm-trope-book-grid .lmb-book-content p {
    margin: 8px 0 0;

    color: var(--lm-muted);

    font-size: 13px;
}

.lm-trope-empty {
    grid-column: 1 / -1;

    color: var(--lm-muted);

    text-align: center;
}

/* Final CTA */

.lm-trope-final-cta {
    padding: 0 0 110px;
}

.lm-trope-final-cta .lm-button {
    width: 100%;
    justify-content: center;
}

/* Responsive */

@media (max-width: 1300px) {

    .lm-trope-book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 980px) {

    .lm-trope-hero-inner {
        display: block;
    }

    .lm-trope-description-card {
        max-width: 520px;

        margin-top: 42px;
        margin-left: auto;
    }

}

@media (max-width: 760px) {

    .lm-trope-page .lm-wrap {
        width: min(var(--lm-max), calc(100% - 32px));
    }

    .lm-trope-hero {
        min-height: auto;
        padding: 150px 0 70px;
    }

    .lm-trope-description-card {
        max-width: none;

        margin-top: 34px;
        padding: 28px 24px;

        font-size: 15px;
        line-height: 1.65;
    }

    .lm-trope-books {
        padding-top: 50px;
    }

    .lm-trope-section-head {
        flex-wrap: wrap;
    }

    .lm-trope-section-head::after {
        display: none;
    }

    .lm-trope-section-head h2 {
        font-size: 22px;
        white-space: normal;
    }

    .lm-trope-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 480px) {

    .lm-trope-book-grid {
        grid-template-columns: 1fr;
    }

}


.lm-trope-counter {
    border: 1px solid rgba(154,92,255,.28);
    border-radius: 8px;
    padding: 22px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 32px rgba(154,92,255,.10);
}

.lm-trope-counter strong {
    display: block;
    color: var(--lm-accent-2);
    font-family: var(--lm-head);
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
}

.lm-trope-counter span {
    display: block;
    margin-top: 8px;
    color: var(--lm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.lm-trope-description-card {
	margin-top: 40px;
	margin-bottom: -80px;
    width: 100%;
    max-width: none;
	height: auto;
}


.lm-trope-hero-top {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}