/* BmaxxCatalogs: Katalogseite im Shop. Wird nur auf den Katalogseiten geladen. */

/* Volle Breite: die Kategorie-Seitenleiste ist auf diesen Seiten ausgeblendet */
.is--ctl-bmaxxcatalogs .content-main--inner > .content--wrapper,
.is--ctl-bmaxxcatalogs .content--wrapper {
    margin-left: 0;
    width: auto;
}

.bmc {
    --bmc-accent: #2F7FB0;
    --bmc-ink: #2b2f33;
    --bmc-soft: #68707a;
    --bmc-line: #dfe3e7;
    --bmc-tint: #f3f5f7;
    --bmc-band: #e9eef2;
    color: var(--bmc-ink);
    padding: 8px 0 48px;
    line-height: 1.45;
}

.bmc *,
.bmc *::before,
.bmc *::after {
    box-sizing: border-box;
}

.bmc [hidden] {
    display: none !important;
}

.bmc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Kopf ---------- */

/* Rahmen um Überschrift, Einleitung und Suche: hebt den Einstieg vom Seitenhintergrund ab */
.bmc-hero {
    margin: 0 0 24px;
    padding: 26px 30px 28px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(30, 45, 60, .07);
}

/* Layout B: getöntes Band, Inhalt mittig */
.bmc-band,
.bmc--b .bmc-hero {
    margin: 0 0 24px;
    padding: 40px 24px 36px;
    background: var(--bmc-band);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.bmc-band .bmc-head {
    text-align: center;
}

.bmc-band .bmc-head__title {
    font-size: 34px;
}

.bmc-band .bmc-head__intro {
    margin: 0 auto;
    font-size: 17px;
    color: #4a5560;
}

.bmc-band .bmc-tools {
    max-width: 820px;
    margin: 24px auto 0;
}

.bmc-band .bmc-search__input,
.bmc-band .bmc-select {
    height: 54px;
    border-color: #8a96a3;
}

.bmc-band .bmc-search__input {
    font-size: 17px;
    line-height: 52px;
}

.bmc-head {
    margin: 0;
}

.bmc-hero .bmc-tools {
    margin: 20px 0 0;
}

.bmc-head__title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--bmc-ink);
}

.bmc-head__intro {
    margin: 0;
    max-width: 62ch;
    font-size: 16px;
    color: var(--bmc-soft);
}

.bmc-head--brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bmc-head__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 84px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 6px;
}

.bmc-head__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bmc-head__text {
    flex: 1 1 auto;
    min-width: 0;
}

.bmc-head__back {
    flex: 0 0 auto;
}

/* ---------- Zurück ---------- */

/* Dezenter Weg zurück zur Übersicht: neutral statt in der Akzentfarbe, damit er nicht mit
   "Blättern" konkurriert. Steht im Kopf der Markenseite rechts und noch einmal am Seitenende. */
.bmc .bmc-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 16px 0 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    color: #4a5560;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.bmc .bmc-back svg {
    flex: 0 0 auto;
    display: block;
    transition: transform .15s ease;
}

.bmc .bmc-back:hover,
.bmc .bmc-back:focus-visible {
    text-decoration: none;
    color: var(--bmc-accent);
    color: color-mix(in srgb, var(--bmc-accent) 78%, #000);
    border-color: var(--bmc-accent);
}

.bmc .bmc-back:hover svg {
    transform: translateX(-2px);
}

.bmc-foot {
    margin: 0;
    text-align: center;
}

/* ---------- Suche und Ansicht ---------- */

.bmc-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    margin: 0 0 24px;
}

.bmc-search {
    flex: 1 1 320px;
    display: block;
    margin: 0;
}

.bmc .bmc-search__input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    font-size: 16px;
    line-height: 46px;
    color: var(--bmc-ink);
    background: #fff;
    border: 1px solid #b9c1c9;
    border-radius: 6px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.bmc .bmc-search__input:focus {
    outline: none;
    border-color: var(--bmc-accent);
    box-shadow: 0 0 0 3px rgba(47, 127, 176, .22);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmc-accent) 25%, transparent);
}

/* Markenwahl in Layout B */
.bmc-pick {
    flex: 1 1 200px;
    display: block;
    margin: 0;
}

.bmc .bmc-select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 40px 0 14px;
    font: inherit;
    font-size: 16px;
    color: var(--bmc-ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232b2f33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid #b9c1c9;
    border-radius: 6px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.bmc .bmc-select:focus {
    outline: none;
    border-color: var(--bmc-accent);
    box-shadow: 0 0 0 3px rgba(47, 127, 176, .22);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmc-accent) 25%, transparent);
}

.bmc-switch {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 3px;
    background: var(--bmc-tint);
    border: 1px solid var(--bmc-line);
    border-radius: 6px;
}

.bmc .bmc-switch__btn {
    height: 40px;
    margin: 0;
    padding: 0 18px;
    font: inherit;
    font-size: 15px;
    color: var(--bmc-soft);
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.bmc .bmc-switch__btn.is-active {
    color: var(--bmc-ink);
    font-weight: 600;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 30, 40, .16);
}

/* ---------- Flächen ---------- */

/* Alles steht auf einer eigenen Fläche, nichts direkt auf dem Seitenhintergrund des Themes */
.bmc-panel {
    margin: 0 0 24px;
    padding: 20px 24px 24px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

.bmc-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 20px;
    margin: 0 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--bmc-line);
}

.bmc .bmc-panel__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--bmc-ink);
}

.bmc-panel__aside {
    font-size: 14px;
    color: var(--bmc-soft);
}

/* Kopf mit Schaltfläche rechts: mittig ausrichten statt an der Grundlinie */
.bmc-panel__head--center {
    align-items: center;
}

/* ---------- Aufteilung ---------- */

.bmc-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.bmc-main {
    flex: 1 1 auto;
    min-width: 0;
}

.bmc-main > .bmc-panel:last-child {
    margin-bottom: 0;
}

.bmc-side {
    flex: 0 0 264px;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 16px 10px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

.bmc-facet + .bmc-facet {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--bmc-line);
}

.bmc .bmc-facet__title {
    margin: 0 0 8px;
    padding: 0 13px;
    font-size: 15px;
    font-weight: 700;
    color: var(--bmc-ink);
}

.bmc .bmc-facet__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmc .bmc-facet__list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmc .bmc-facet__btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    font: inherit;
    font-size: 15px;
    line-height: 1.3;
    text-align: left;
    color: var(--bmc-ink);
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Lange Wörter wie Reinigungsempfehlung sauber trennen statt mitten im Wort umbrechen */
.bmc .bmc-facet__btn > span:first-child {
    min-width: 0;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.bmc .bmc-facet__btn:hover {
    background: var(--bmc-tint);
}

.bmc .bmc-facet__btn.is-active {
    font-weight: 600;
    background: var(--bmc-tint);
    border-left-color: var(--bmc-accent);
}

.bmc .bmc-facet__btn.is-empty {
    color: #a3abb3;
}

.bmc-facet__count {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 1px 8px;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    color: var(--bmc-soft);
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 10px;
}

/* "Alle Themen anzeigen" am Ende der Themenliste */
.bmc .bmc-facet__more {
    display: block;
    width: 100%;
    margin: 4px 0 0;
    padding: 8px 10px 8px 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--bmc-accent);
    color: color-mix(in srgb, var(--bmc-accent) 78%, #000);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.bmc .bmc-facet__more:hover {
    text-decoration: none;
}

.bmc-result {
    margin: 0;
    font-size: 15px;
    color: var(--bmc-soft);
}

/* Layout B ohne Filterleisten: Die Ergebniszeile bekommt ihre eigene Fläche */
.bmc-result--bar {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

/* bekommt nach "Alle Treffer anzeigen" den Fokus, damit Screenreader das Ergebnis vorlesen */
.bmc-result:focus {
    outline: none;
}

.bmc .bmc-reset {
    margin: 0;
    padding: 0;
    font: inherit;
    font-size: 15px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.bmc-empty {
    margin: 0;
    padding: 32px 24px;
    font-size: 16px;
    color: var(--bmc-soft);
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

/* ---------- Raster ---------- */

.bmc .bmc-grid {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmc .bmc-grid > li {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.bmc-grid--brands {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.bmc .bmc-grid--docs {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 32px 24px;
}

/* ---------- Marken-Kachel ---------- */

.bmc .bmc-brand {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 12px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--bmc-ink);
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 6px;
    transition: border-color .15s, box-shadow .15s;
}

.bmc .bmc-brand:hover,
.bmc .bmc-brand:focus-visible {
    border-color: var(--bmc-accent);
    box-shadow: 0 6px 18px rgba(30, 45, 60, .12);
    text-decoration: none;
    color: var(--bmc-ink);
}

.bmc-brand__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    padding: 18px 8px 12px;
}

.bmc-brand__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bmc-brand__word {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--bmc-accent);
    overflow-wrap: anywhere;
}

.bmc-brand__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.bmc-brand__count {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--bmc-soft);
}

/* ---------- Dokument-Kachel ----------
   Jede Zeile hat eine feste Höhe: Titelbild, Titel (zwei Zeilen), Angaben (eine Zeile),
   Themen (eine Zeile), Schaltflächen. So stehen alle Kacheln einer Reihe auf einer Linie. */

.bmc-doc {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    /* die Kachel kennt ihre eigene Breite: Breite Kacheln zeigen zwei Themen statt einem */
    container-type: inline-size;
}

/* Bühne für das Titelbild: immer gleich groß, das Bild sitzt mittig darin, egal welches Format */
.bmc .bmc-doc__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    padding: 14px;
    overflow: hidden;
    text-decoration: none;
    background: var(--bmc-tint);
    border-radius: 6px;
}

.bmc-doc__cover img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 1px 2px rgba(30, 45, 60, .18), 0 8px 18px rgba(30, 45, 60, .16);
    transition: transform .18s ease;
}

.bmc-doc__cover:hover img {
    transform: scale(1.025);
}

.bmc-doc__file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    height: 78%;
    font-size: 22px;
    font-weight: 700;
    color: var(--bmc-accent);
    background: #fff;
    border: 1px solid #d3d8dd;
    border-top-right-radius: 26px 26px;
    box-shadow: 0 8px 18px rgba(30, 45, 60, .10);
}

.bmc .bmc-doc__title {
    display: -webkit-box;
    min-height: 2.6em;
    margin: 14px 0 4px;
    padding: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.bmc .bmc-doc__title a {
    color: var(--bmc-ink);
    text-decoration: none;
}

.bmc .bmc-doc__title a:hover {
    color: var(--bmc-accent);
}

.bmc .bmc-doc__meta {
    min-height: 1.45em;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--bmc-soft);
}

/* Trennpunkt hinter jeder Angabe außer der letzten. Das Leerzeichen danach steht im Text selbst. */
.bmc-doc__meta span:not(:last-child)::after {
    content: "\00a0\00b7";
}

/* Kurzbeschreibung auf der Markenseite: zwei Zeilen, der ganze Text steht im Hinweis beim Überfahren */
.bmc .bmc-doc__text {
    display: -webkit-box;
    min-height: 2.9em;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: var(--bmc-soft);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Themen: zunächst eines in einer Zeile (breite Kacheln: zwei), der Rest klappt über das Kontrollkästchen auf */
.bmc-doc__tagrow {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 26px;
    margin: 0 0 12px;
}

.bmc .bmc-doc__tags {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.bmc .bmc-tag {
    flex: 0 1 auto;
    display: block;
    min-width: 0;
    height: 26px;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
    font: inherit;
    font-size: 12.5px;
    line-height: 24px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    color: var(--bmc-accent);
    color: color-mix(in srgb, var(--bmc-accent) 78%, #000);
    background: var(--bmc-tint);
    border: 1px solid var(--bmc-line);
    border-radius: 13px;
    cursor: pointer;
}

.bmc .bmc-tag:hover,
.bmc .bmc-tag:focus-visible {
    text-decoration: none;
    border-color: var(--bmc-accent);
}

.bmc .bmc-doc__tags > .bmc-tag:nth-child(n+2) {
    display: none;
}

/* Das Kästchen selbst ist unsichtbar, bleibt aber mit der Tastatur erreichbar */
.bmc .bmc-doc__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.bmc .bmc-doc__more {
    flex: 0 0 auto;
    display: block;
    height: 26px;
    margin: 0;
    padding: 0 9px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 24px;
    color: var(--bmc-soft);
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 13px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.bmc .bmc-doc__more::after {
    content: attr(data-more-s);
}

/* in schmalen Kacheln entfällt der Typ, damit Marke und Seitenzahl in die Zeile passen */
@container (max-width: 199px) {
    .bmc .bmc-doc__type {
        display: none;
    }
}

@container (min-width: 236px) {
    .bmc .bmc-doc__tags > .bmc-tag:nth-child(2) {
        display: block;
    }

    .bmc .bmc-doc__more::after {
        content: attr(data-more);
    }

    /* bei genau zwei Themen ist hier nichts mehr aufzuklappen */
    .bmc .bmc-doc__more--s {
        display: none;
    }
}

.bmc .bmc-doc__more:hover {
    border-color: var(--bmc-accent);
    color: var(--bmc-ink);
}

.bmc .bmc-doc__toggle:focus-visible ~ .bmc-doc__more {
    outline: 2px solid var(--bmc-accent);
    outline-offset: 2px;
}

.bmc .bmc-doc__toggle:checked ~ .bmc-doc__tags {
    flex-wrap: wrap;
}

.bmc .bmc-doc__toggle:checked ~ .bmc-doc__tags > .bmc-tag:nth-child(n+2) {
    display: block;
}

.bmc .bmc-doc__toggle:checked ~ .bmc-doc__more::after {
    content: "weniger";
}

.bmc .bmc-doc__actions {
    display: flex;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
}

/* Schaltfläche: hell, über die volle Breite der Kachel */
.bmc .bmc-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    color: var(--bmc-accent);
    color: color-mix(in srgb, var(--bmc-accent) 78%, #000);
    background: #eef4f8;
    background: color-mix(in srgb, var(--bmc-accent) 9%, #fff);
    border: 1px solid #c5d9e6;
    border-color: color-mix(in srgb, var(--bmc-accent) 30%, #fff);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.bmc .bmc-btn:hover,
.bmc .bmc-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    background: var(--bmc-accent);
    border-color: var(--bmc-accent);
}

/* Download neben "Blättern": gleich hoch, quadratisch */
.bmc .bmc-btn--icon {
    flex: 0 0 42px;
    padding: 0;
}

.bmc-btn svg {
    display: block;
}

.bmc .bmc-textlink {
    font-size: 14px;
    color: var(--bmc-accent);
    color: color-mix(in srgb, var(--bmc-accent) 78%, #000);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bmc .bmc-textlink:hover {
    text-decoration: none;
}

.bmc a:focus-visible,
.bmc button:focus-visible {
    outline: 2px solid var(--bmc-accent);
    outline-offset: 2px;
}

/* ---------- Markenseite ---------- */

.bmc-group {
    scroll-margin-top: 24px;
}

/* ---------- Banner ---------- */

.bmc-banners {
    display: grid;
    gap: 16px;
    margin: 0 0 24px;
}

.bmc .bmc-banner {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

.bmc-banner picture {
    display: block;
}

.bmc-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Neu dabei (Layout A) ---------- */

/* nur eine Reihe: Was nicht mehr hineinpasst, bleibt ausgeblendet */
.bmc .bmc-grid--row {
    grid-template-rows: auto;
    grid-auto-rows: 0;
    row-gap: 0;
    overflow: hidden;
}

/* catalogs.js hat die überzähligen Kacheln ausgeblendet: Dann braucht es kein Abschneiden mehr */
.bmc .bmc-grid--row.is-clamped {
    overflow: visible;
}

/* ---------- Layout B: Filterleisten ---------- */

.bmc-filters {
    display: grid;
    /* minmax(0, …): Die Leisten dürfen nie breiter werden als die Seite, sie scrollen in sich */
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.bmc-filters .bmc-result {
    padding-top: 12px;
    border-top: 1px solid var(--bmc-line);
}

.bmc-chips {
    display: flex;
    align-items: flex-start;
    gap: 8px 12px;
    min-width: 0;
}

.bmc-chips__label {
    flex: 0 0 56px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 700;
}

.bmc-chips__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bmc .bmc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin: 0;
    padding: 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--bmc-ink);
    background: #fff;
    border: 1px solid #8a96a3;
    border-radius: 22px;
    cursor: pointer;
}

.bmc .bmc-chip:hover {
    border-color: var(--bmc-accent);
}

.bmc .bmc-chip.is-active {
    color: #fff;
    background: var(--bmc-accent);
    border-color: var(--bmc-accent);
}

.bmc .bmc-chip.is-empty {
    color: #8a939c;
    border-color: var(--bmc-line);
}

.bmc-chip__count {
    font-weight: 400;
    opacity: .8;
}

.bmc .bmc-chips__more {
    min-height: 40px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 600;
}

/* ---------- Layout B: Markenkarten ---------- */

.bmc .bmc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmc .bmc-cards > li {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.bmc-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--bmc-line);
    border-radius: 8px;
}

.bmc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
}

.bmc .bmc-card__title {
    margin: 0;
    min-width: 0;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
}

.bmc .bmc-card__title a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--bmc-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bmc .bmc-card__title a:hover {
    color: var(--bmc-accent);
}

.bmc-card__title img {
    display: block;
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
}

.bmc-card__count {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--bmc-soft);
}

.bmc .bmc-card__covers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmc .bmc-card__covers > li {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.bmc .bmc-mini {
    display: flex;
    flex-direction: column;
    color: var(--bmc-ink);
    text-decoration: none;
}

/* gleiche Bühne wie bei der Dokument-Kachel, nur kleiner */
.bmc-mini__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    margin-bottom: 8px;
    padding: 8px;
    overflow: hidden;
    background: var(--bmc-tint);
    border-radius: 6px;
}

.bmc-mini__cover img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 1px 2px rgba(30, 45, 60, .18), 0 4px 10px rgba(30, 45, 60, .14);
    transition: transform .18s ease;
}

.bmc-mini:hover .bmc-mini__cover img {
    transform: scale(1.03);
}

.bmc-mini__cover .bmc-doc__file {
    width: 76%;
    height: 80%;
    font-size: 15px;
    box-shadow: none;
}

.bmc-mini__title {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.bmc .bmc-mini:hover .bmc-mini__title {
    color: var(--bmc-accent);
}

.bmc-mini__meta {
    min-height: 1.45em;
    margin-top: 2px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--bmc-soft);
}

/* Schaltfläche am Fuß der Karte, über die volle Breite */
.bmc .bmc-card__more {
    flex: 0 0 auto;
    width: 100%;
    margin-top: auto;
}

.bmc-card__more > span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bmc-more {
    margin: 24px 0 0;
    text-align: center;
}

/* nur auf dem Handy nötig: dort stehen zunächst weniger Marken */
.bmc-more--mobile {
    display: none;
}

.bmc .bmc-outline {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 0 22px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--bmc-ink);
    background: #fff;
    border: 1px solid #8a96a3;
    border-radius: 6px;
    cursor: pointer;
}

.bmc .bmc-outline:hover {
    border-color: var(--bmc-accent);
    color: var(--bmc-accent);
}

/* ---------- schmale Bildschirme ---------- */

@media (max-width: 860px) {
    .bmc-layout {
        display: block;
    }

    /* wenig Platz neben der Überschrift: "Zurück" steht in einer eigenen Zeile ganz oben, wie in Apps gewohnt */
    .bmc-head--brand {
        flex-wrap: wrap;
        row-gap: 14px;
    }

    .bmc-head__back {
        order: -1;
        flex-basis: 100%;
    }

    /* Layout A: Filter als waagrechte Leisten zum Wischen, gemeinsam auf einer Fläche */
    .bmc-side {
        position: static;
        max-height: none;
        overflow: visible;
        margin: 0 0 20px;
        padding: 12px 14px 8px;
    }

    .bmc-facet + .bmc-facet {
        margin-top: 4px;
        padding-top: 0;
        border-top: 0;
    }

    .bmc .bmc-facet__title {
        display: none;
    }

    .bmc .bmc-facet__list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .bmc .bmc-facet__list li {
        flex: 0 0 auto;
    }

    .bmc .bmc-facet__btn,
    .bmc .bmc-facet__more {
        width: auto;
        margin: 0;
        white-space: nowrap;
        padding: 8px 12px;
        background: #fff;
        border: 1px solid var(--bmc-line);
        border-radius: 20px;
    }

    .bmc .bmc-facet__more {
        text-decoration: none;
    }

    .bmc .bmc-facet__btn.is-active {
        border-color: var(--bmc-accent);
    }

    .bmc-facet__count {
        border: 0;
        padding: 0;
        min-width: 0;
        background: transparent;
    }

    /* Layout B: Filter als waagrechte Leisten zum Wischen, die Beschriftung steht darüber */
    .bmc-chips {
        display: block;
    }

    .bmc-chips__label {
        display: block;
        padding: 0 0 6px;
    }

    .bmc-chips__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .bmc .bmc-chip,
    .bmc .bmc-chips__more {
        flex: 0 0 auto;
    }

    .bmc .bmc-chips__more {
        white-space: nowrap;
    }
}

/* Finger statt Maus: Schaltflächen mindestens 44 Pixel hoch, Themen 32 Pixel */
@media (pointer: coarse), (max-width: 560px) {
    .bmc .bmc-btn {
        height: 44px;
        font-size: 15px;
    }

    .bmc .bmc-btn--icon {
        flex-basis: 44px;
    }

    .bmc-doc__tagrow {
        min-height: 32px;
    }

    .bmc .bmc-tag,
    .bmc .bmc-doc__more {
        height: 32px;
        line-height: 30px;
        border-radius: 16px;
    }

    .bmc .bmc-facet__btn,
    .bmc .bmc-facet__more,
    .bmc .bmc-chip,
    .bmc .bmc-chips__more {
        min-height: 44px;
    }

    .bmc .bmc-switch__btn {
        height: 44px;
    }

    .bmc .bmc-reset {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .bmc .bmc-back {
        height: 44px;
    }

    .bmc .bmc-card__title a {
        min-height: 44px;
    }

    .bmc .bmc-head__intro .bmc-textlink {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (max-width: 560px) {
    .bmc-hero {
        padding: 18px 16px 20px;
    }

    .bmc-band,
    .bmc--b .bmc-hero {
        padding: 24px 16px 22px;
    }

    .bmc-band .bmc-head__title {
        font-size: 26px;
    }

    .bmc-band .bmc-head__intro {
        font-size: 16px;
    }

    .bmc-band .bmc-tools {
        margin-top: 18px;
    }

    .bmc-pick {
        flex-basis: 100%;
    }

    .bmc-panel {
        margin-bottom: 16px;
        padding: 14px 14px 16px;
    }

    .bmc-panel__head {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .bmc .bmc-panel__title {
        font-size: 18px;
    }

    .bmc .bmc-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .bmc-card {
        padding: 14px;
    }

    .bmc .bmc-card__covers {
        gap: 10px;
    }

    /* zunächst nur sechs Marken, der Rest kommt mit "Weitere Marken anzeigen" */
    .bmc .bmc-cards:not(.is-all) > li[data-bmc-late] {
        display: none;
    }

    .bmc-more--mobile {
        display: block;
    }

    /* Der Markenname oben führt schon zur Marke, die zweite Schaltfläche spart hier Platz */
    .bmc .bmc-card__more--plain {
        display: none;
    }

    /* "Neu dabei": zwei Reihen mit je zwei Titelbildern */
    .bmc .bmc-grid--row {
        grid-auto-rows: auto;
        row-gap: 24px;
        overflow: visible;
    }

    .bmc .bmc-grid--row > li:nth-child(n+5) {
        display: none;
    }

    .bmc-banners {
        gap: 12px;
        margin-bottom: 16px;
    }

    .bmc-head__title {
        font-size: 24px;
    }

    .bmc-head--brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }


    .bmc-grid--brands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bmc .bmc-grid--docs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .bmc .bmc-doc__cover {
        padding: 10px;
    }

    .bmc .bmc-doc__title {
        margin-top: 10px;
        font-size: 14px;
    }

    .bmc-brand__logo {
        height: 92px;
    }

    .bmc-switch {
        width: 100%;
    }

    .bmc .bmc-switch__btn {
        flex: 1 1 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bmc *,
    .bmc *::before,
    .bmc *::after {
        transition: none !important;
    }
}
