

/* =========================================================
   HERO
========================================================= */

.hero {

    display: grid;
    grid-template-columns:
        minmax(300px, 1fr)
        minmax(300px, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 8rem);
    min-height: 70vh;
    width: 100%;
}

/* Linke Seite */

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
}
.hero-left img {
    display: block;
}

/* Rechte Seite */

.hero-right {

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(0.4rem, 1vw, 1rem);
    width: 100%;
}

/* Bücherabbildungen rechts */

.book {

    position: relative;
    width: clamp(40px, 5vw, 80px);
    height: clamp(180px, 30vw, 420px);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
    transform-origin: bottom center;
}

.book--orange {
    background: var(--color-accent-1);
    transform: rotate(-16deg);
}
.book--orange:hover {
    transform: rotate(-16deg) translateY(-4px);
}

.book--blue {
    background: var(--color-accent-2);
    transform: rotate(-10deg);
}

.book--blue:hover {
    transform: rotate(-10deg) translateY(-4px);
}

.book--green {
    background: var(--color-accent-3);
    transform: rotate(-4deg);
}
.book--green:hover {
    transform: rotate(-4deg) translateY(-4px);
}

.book--red {
    background: var(--color-accent-4);
    transform: rotate(4deg);
}
.book--red:hover {
    transform: rotate(4deg) translateY(-4px);
}


/* Labels */

.book-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: white;
    font-size: clamp(0.7rem, 1vw, 1rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Hero Text */

.hero-text {

    grid-column: 1 / -1;
    max-width: 700px;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.5;

    margin-top: 4rem;
    margin-bottom: 2rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-right {
        justify-content: center;
    }

    .hero-text {
        margin-inline: auto;
    }

    .site-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .top-actions {
        width: 100%;
        justify-content: center;
    }

    input[type="search"] {
        width: 100%;
    }
}


