/* Startseite: ausschließlich seitenspezifische Layout- und Komponentenregeln. */
.bot-hero-collage {
    position: relative;
    flex: 1;
    min-height: 560px;
    max-width: 620px;
}

.bot-hero-shot {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 10px;
    background: rgba(5, 8, 12, 0.75);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42);
}

.bot-hero-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: rgba(5, 8, 12, 0.92);
}

.bot-hero-shot-front {
    z-index: 3;
    left: 24%;
    top: 5%;
    width: 47%;
    height: 90%;
    transform: rotate(0.6deg);
}

.bot-hero-shot-compare {
    z-index: 2;
    left: 0;
    top: 15%;
    width: 42%;
    height: 72%;
    transform: rotate(-2.4deg);
    opacity: 0.9;
}

.bot-hero-shot-stats {
    z-index: 1;
    right: 0;
    top: 18%;
    width: 38%;
    height: 66%;
    transform: rotate(2.2deg);
    opacity: 0.86;
}

.home-free-note {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding: 12px 18px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 6px;
    background: rgba(5, 8, 12, 0.78);
    color: var(--text-light);
    text-align: center;
    line-height: 1.45;
}

.home-free-note strong {
    color: var(--accent-gold);
}

.home-free-note span {
    color: var(--text-muted);
}

.home-feature-grid {
    align-items: stretch;
    position: relative;
    z-index: 4;
}

section.home-feature-grid {
    margin-top: 32px;
    margin-bottom: 72px;
}

.grid-container.home-secondary-grid {
    margin-top: 24px;
}

.home-secondary-grid .index-card-media {
    margin-top: auto;
    padding-top: 20px;
}

.home-secondary-grid .index-card-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.home-secondary-grid .card:hover .index-card-img {
    filter: saturate(1) brightness(1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.home-feature-card {
    height: auto;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.home-feature-card p {
    margin: 0;
}

.home-feature-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.home-logbook {
    margin-top: 0;
    margin-bottom: 24px;
}

.home-logbook-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 0;
    padding: 26px 28px;
    border-color: rgba(197, 160, 89, 0.28);
    background:
        linear-gradient(90deg, rgba(197, 160, 89, 0.08), transparent 58%),
        var(--card-bg);
}

.home-logbook-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--accent-gold);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 4px;
    background: rgba(197, 160, 89, 0.08);
}

.home-logbook-icon svg {
    width: 25px;
    height: 25px;
}

.home-logbook-labels,
.home-logbook-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.home-logbook-copy h2 {
    margin: 8px 0 7px;
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    line-height: 1.25;
}

.home-logbook-copy > p {
    max-width: 760px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.home-logbook-meta {
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.58);
    font-family: "Consolas", monospace;
    font-size: 0.76rem;
}

.home-logbook-link {
    margin: 0;
    align-self: center;
    white-space: nowrap;
}

.home-logbook-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .bot-hero-collage {
        width: min(100%, 520px);
        min-height: 430px;
        flex: none;
    }

    .bot-hero-shot-front {
        left: 27%;
        width: 46%;
    }

    .bot-hero-shot-compare {
        left: 2%;
        width: 42%;
    }

    .bot-hero-shot-stats {
        right: 2%;
        width: 38%;
    }
}

@media (max-width: 768px) {
    .bot-hero-collage {
        min-height: 340px;
    }

    .bot-hero-shot {
        border-radius: 7px;
    }

    .bot-hero-shot-front {
        left: 25%;
        top: 4%;
        width: 50%;
        height: 90%;
    }

    .bot-hero-shot-compare {
        left: 0;
        top: 20%;
        width: 44%;
        height: 66%;
    }

    .bot-hero-shot-stats {
        right: 0;
        top: 22%;
        width: 40%;
        height: 60%;
    }
}

@media (max-width: 760px) {
    .home-logbook-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 18px;
        padding: 22px 20px;
    }

    .home-logbook-icon {
        width: 42px;
        height: 42px;
        align-self: start;
    }

    .home-logbook-link {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.bot-command-count-grid {
    grid-template-columns: repeat(3, 1fr);
}
