.wr-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wr-page__header {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.wr-page__title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wr-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 24px;
    padding: 0;
    margin: 0;
}

.wr-filter-bar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid transparent;
    color: rgba(var(--vs-bone-rgb), 0.84);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    font-size: 0.9rem;
    line-height: 1;
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

.wr-filter-bar__link:hover,
.wr-filter-bar__link:focus-visible {
    color: rgba(var(--vs-bone-strong-rgb), 0.92);
    border-bottom-color: rgba(var(--vs-bone-rgb), 0.72);
    outline: none;
}

.wr-filter-bar__link[aria-current="page"],
.wr-filter-bar__link.is-active,
.wr-filter-bar__link--active {
    color: rgb(var(--vs-bone-strong-rgb));
    border-bottom-color: rgba(var(--vs-bone-strong-rgb), 0.78);
}

.wr-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.wr-card {
    min-width: 0;
}

.wr-card__link,
.wr-card__static {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wr-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255,255,255,0.10);
    background: #050505;
    overflow: hidden;
}

.wr-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #050505;
}

@media (max-width: 1600px) {
    .wr-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1360px) {
    .wr-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1120px) {
    .wr-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }

    .wr-filter-bar {
        gap: 12px 20px;
    }

    .wr-filter-bar__link {
        font-size: 0.86rem;
        padding-bottom: 7px;
    }
}

@media (max-width: 860px) {
    .wr-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .wr-filter-bar {
        gap: 10px 16px;
    }

    .wr-filter-bar__link {
        font-size: 0.82rem;
        padding-bottom: 6px;
    }
}

@media (max-width: 640px) {
    .wr-page {
        gap: 18px;
    }

    .wr-page__header {
        padding-bottom: 12px;
    }

    .wr-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .wr-card__image-wrap {
        aspect-ratio: 4 / 5;
    }

    .wr-filter-bar {
        gap: 10px 14px;
    }

    .wr-filter-bar__link {
        font-size: 0.78rem;
        padding-bottom: 6px;
        letter-spacing: 0.025em;
    }
}

/* =========================================================
   GRAIN — WERKREGISTER-OBERFLÄCHE
   Detail-/Panel-Grain bewusst neutralisiert.
   Die schwächere Oberflächenwirkung kommt jetzt nur noch
   aus der globalen Seitenfläche, nicht aus den Inhaltskästen.
   ========================================================= */

.wr-page__header {
    background: transparent;
}


/* =========================================================
   GRAIN-HIERARCHIE — WERKREGISTER-ÜBERSICHT
   Freie Grundfläche bleibt aktiv.
   Navigationsnahe Zone wird nur leicht beruhigt.
   ========================================================= */

.wr-page__header {
    position: relative;
    z-index: 1;
}

.wr-page__header::before {
    content: "";
    position: absolute;
    inset: -8px -16px -10px -10px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.12) 0%,
        rgba(10, 10, 10, 0.07) 72%,
        rgba(10, 10, 10, 0) 100%
    );
}

@media (max-width: 640px) {
    .wr-page__header::before {
        inset: -6px -8px -8px -6px;
        background: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.16) 0%,
            rgba(10, 10, 10, 0.09) 72%,
            rgba(10, 10, 10, 0) 100%
        );
    }
}
