/* --------------------------------------------------
   HOME SECTION – MOUSE TRAIL HERO
-------------------------------------------------- */

.home-section {
    position: relative;
    min-height: 100vh;
    padding: 140px 40px 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15; /* über BG (#bg), unter About (20) wenn nötig */
}

/* innerer Content-Block */
.home-inner {
    position: relative;
    max-width: 1100px;
    text-align: center;
    z-index: 2; /* über den Trail-Bildern */
    pointer-events: none;
}

.home-kicker {
    font-family: "CinzelDecorative";
    font-size: 16px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #3a3a3a;
    margin-bottom: 24px;
    opacity: 0.9;
}

.home-headline {
    font-family: "CinzelDecorative";
    font-weight: 900;
    font-size: clamp(46px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #101010;
    margin-bottom: 24px;
}

.home-headline-sub {
    display: block;
    margin-top: 14px;
    font-weight: 400;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #444;
}

.home-subline {
    font-family: "CinzelDecorative";
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --------------------------------------------------
   TRAIL-BILDER
-------------------------------------------------- */

.home-trail-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* unter Text, über BG */
}

/* einzelne Bilder, werden per JS positioniert */
.home-trail-image {
    position: fixed;
    left: 0;
    top: 0;
    width: 130px;
    height: 130px;
    object-fit: cover;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.85);
    filter: blur(6px);
    border-radius: 14px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.22);
    transition: opacity 0.25s ease-out;
    mix-blend-mode: multiply;
}

/* leichte Variation je nach Index (über nth-child) */
.home-trail-image:nth-child(3n) {
    border-radius: 999px;
}

.home-trail-image:nth-child(4n) {
    width: 110px;
    height: 110px;
}

.home-trail-image:nth-child(5n) {
    width: 150px;
    height: 150px;
}

/* dünne „Scanline“ über der Sektion, damit es mehr nach System aussieht */
.home-section::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.35),
        transparent
    );
    opacity: 0.9;
    pointer-events: none;
}

/* leichte vertikale Linien im Hintergrund */
.home-section::after {
    content: "";
    position: absolute;
    top: 80px;
    bottom: 80px;
    left: 50%;
    width: 1px;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        transparent 40%
    );
    opacity: 0.35;
    pointer-events: none;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {
    .home-section {
        padding: 130px 24px 120px;
    }

    .home-headline {
        font-size: clamp(38px, 9vw, 60px);
        letter-spacing: 0.06em;
    }

    .home-headline-sub {
        letter-spacing: 0.18em;
    }

    .home-subline {
        font-size: 16px;
    }

    .home-trail-image {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 640px) {
    .home-section {
        padding: 120px 18px 80px;
    }

    .home-kicker {
        font-size: 13px;
        letter-spacing: 0.18em;
    }

    .home-headline {
        font-size: clamp(32px, 10vw, 46px);
    }

    .home-headline-sub {
        font-size: 14px;
        letter-spacing: 0.16em;
    }

    .home-subline {
        font-size: 15px;
    }

    .home-trail-image {
        width: 90px;
        height: 90px;
        box-shadow:
            0 12px 26px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
}
