/* Händlerbereich in der Homepage – Kopf-Link, Menüeintrag, Shop-Rahmen, Shopleiste, Händlerkasten.
   Werte nach dem Homepage-Theme (Barlow, Schwarz/Weiß, Akzent #ab182e, Container 1332 px). */

/* ---------- Kopfzeile: wie Merkliste/Suche ---------- */
.mbhs-header-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; margin: 0 1rem 0 0; color: #fff; font-size: 1.7rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; }
.mbhs-header-link:hover, .mbhs-header-link:focus-visible { color: #fff; }
.mbhs-header-link:hover .mbhs-header-label, .mbhs-header-link:focus-visible .mbhs-header-label { text-decoration: underline; }
.mbhs-header-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.mbhs-header-link svg { flex: 0 0 auto; }
.mbhs-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ab182e; color: #fff; font-size: 1.3rem; font-weight: 600; line-height: 1; }
.mbhs-badge[hidden] { display: none; }
/* Ausklappmenü am Personen-Symbol (sofort beim Überfahren, bei Fokus und per Tipp). */
.mbhs-user { position: relative; display: inline-flex; align-items: center; margin: 0 1rem 0 0; }
.mbhs-user > .mbhs-header-link { margin: 0; }
.mbhs-drop { position: absolute; top: 100%; right: -1.2rem; z-index: 1000; display: none; min-width: 26rem; max-width: calc(100vw - 32px); margin: 0; padding: .8rem 0; background: #fff; color: #000; box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .18); text-align: left; }
.mbhs-drop::before { content: ""; position: absolute; right: 2.2rem; bottom: 100%; border: .8rem solid transparent; border-bottom-color: #fff; }
.mbhs-user::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1.4rem; display: none; }
.mbhs-user:hover::after, .mbhs-user.is-open::after { display: block; }
.mbhs-user:hover .mbhs-drop, .mbhs-user:focus-within .mbhs-drop, .mbhs-user.is-open .mbhs-drop { display: block; }
.mbhs-drop { margin-top: 1.2rem; }
.mbhs-drop ul { margin: 0; padding: 0; list-style: none; }
.mbhs-drop li { margin: 0; padding: 0; }
.mbhs-drop li::before { display: none; }
.mbhs-drop li.is-sep { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid #e3ded8; }
.mbhs-drop a { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 2rem; color: #000; font-size: 1.6rem; font-weight: 400; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.mbhs-drop a.is-main { font-weight: 600; }
.mbhs-drop a:hover, .mbhs-drop a:focus-visible { background: #efebe8; color: #000; text-decoration: none; outline: none; }
.mbhs-drop__who { margin: 0 0 .6rem; padding: .4rem 2rem 1rem; border-bottom: 1px solid #e3ded8; color: #6b6b6b; font-size: 1.3rem; line-height: 1.4; }
.mbhs-drop__who b { color: #000; font-size: 1.5rem; font-weight: 600; }
.mbhs-drop__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ab182e; color: #fff; font-size: 1.3rem; font-weight: 600; }
@media (max-width: 767px) { .mbhs-drop { right: -6rem; } .mbhs-drop::before { right: 6.6rem; } }
@media (max-width: 767px) {
	.mbhs-header-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	/* Angemeldet: „Fachhändler finden“ entfällt im Kopf, damit Beratung, Händlerbereich, Warenkorb und Menü-Button Platz haben. */
	header.header:has(.mbhs-header-link) .find-dealer-link, body.logged-in header.header .find-dealer-link { display: none; }
}
.mainmenu .bottom .mbhs-menu-link { margin-top: 1rem; }

/* ---------- Hinweis nach dem Abmelden ---------- */
.mbhs-toast { position: fixed; left: 50%; top: 120px; transform: translateX(-50%); z-index: 100; background: #000; color: #fff; padding: 12px 22px; font-size: 1.6rem; box-shadow: 0 4px 18px rgba(0,0,0,.25); transition: opacity .5s; }
.mbhs-toast.is-out { opacity: 0; }

/* ---------- Shop-Rahmen ---------- */
.mb-shop { font-family: "Barlow", Arial, sans-serif; font-size: 19px; line-height: 1.5; color: #000; }
.mb-shop { --mb-gutter: 40px; }
@media (max-width: 1024px) { .mb-shop { font-size: 17px; } }
@media (max-width: 767px) { .mb-shop { font-size: 16px; --mb-gutter: 16px; } }
.mb-shop .breadcrumb { line-height: 1.5; }
.mb-shop .mb-section { padding-top: 10px; }

/* ---------- Shopleiste ---------- */
.mb-shop .mb-shopbar { margin: -2rem 0 30px; border-bottom: 1px solid #000; background: #fff; position: relative; z-index: 20; }
.mb-shop .mb-shopbar__in { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.mb-shop .mb-shopbar__home, .mb-shop .mb-shopbar__item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: #000; font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.mb-shop .mb-shopbar__home { font-weight: 600; }
.mb-shop .mb-shopbar__item:hover span, .mb-shop .mb-shopbar__home:hover span { text-decoration: underline; }
.mb-shop .mb-shopbar__item.is-on span:not(.mb-cart-count) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mb-shop .mb-shopbar__item[aria-expanded="true"] .mb-ico--chevron { transform: rotate(180deg); }
.mb-shop .mb-shopbar__spacer { flex: 1 1 auto; }
.mb-shop .mb-shopbar .mb-cart-count { background: #000; color: #fff; }
.mb-shop .mb-shopbar .mb-beratung-toggle.is-on { background: #000; color: #fff; border-radius: 18px; padding: 0 12px; }
.mb-shop .mb-shopbar__logout { color: #595959; font-weight: 400; }
.mb-shop .mb-shopbar .mb-menu, .mb-shop .mb-shopbar .mb-search { position: absolute; left: 0; right: 0; top: 100%; max-height: 70vh; z-index: 30; }
@media (max-width: 1024px) {
	.mb-shop .mb-shopbar__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mb-shop .mb-shopbar__in { gap: 4px 18px; }
}
@media (max-width: 767px) {
	.mb-shop .mb-shopbar { margin-top: -1rem; }
	.mb-shop .mb-shopbar__home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mb-shop .mb-shopbar__spacer { display: none; }
}

/* ---------- Kein Zugang ---------- */
.mb-shop .mb-noaccess { max-width: 860px; }
.mb-shop .mb-noaccess__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Kasten „Für Fachhändler“ auf Modellseiten ---------- */
.mb-hbox { margin: 50px 0; }
.mb-hbox .mb-hbox__in { border: 2px solid #000; background: #efebe8; padding: 28px 32px; }
.mb-hbox .mb-hbox__kicker { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ab182e; }
.mb-hbox .mb-hbox__title { margin: 0 0 18px; font-size: 27px; font-weight: 500; line-height: 1.3; }
.mb-hbox .mb-hbox__list { list-style: none; margin: 0; padding: 0; }
.mb-hbox .mb-hbox__item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.15); }
.mb-hbox .mb-hbox__name { flex: 1 1 260px; font-weight: 500; }
.mb-hbox .mb-hbox__price { font-size: 17px; }
.mb-hbox .mb-hbox__price del { color: #595959; font-weight: 300; }
@media (max-width: 767px) { .mb-hbox .mb-hbox__in { padding: 20px 16px; } .mb-hbox .mb-btn { width: 100%; } }
.mb-shop .breadcrumb a { text-decoration: none; }
.mb-shop .breadcrumb a:hover { color: #ab182e; }

/* Bestellbereich auf der Modellseite (nur Händler) – ersetzt die frühere Artikelseite im Händlerbereich. */
.mb-hbest { margin: 50px 0; padding: 40px 0 10px; background: #efebe8; scroll-margin-top: 90px; }
.mb-hbest .mb-hbest__kicker { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ab182e; }
.mb-hbest .mb-hbest__title { margin: 0 0 18px; font-size: 27px; font-weight: 500; line-height: 1.3; }
.mb-hbest .mb-hbest__name { margin: 0 0 12px; font-size: 22px; font-weight: 500; }
.mb-hbest .mb-hbest__switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.mb-hbest .mb-hbest__tab { display: inline-block; padding: 9px 16px; border: 1px solid #000; background: #fff; color: #000; text-decoration: none; }
.mb-hbest .mb-hbest__tab[aria-current="true"] { background: #000; color: #fff; }
.mb-hbest .mb-hbest__tab:focus-visible { outline: 2px solid #ab182e; outline-offset: 2px; }
.mb-hbest .mb-pdp { margin-top: 10px; }
@media (max-width: 767px) { .mb-hbest { padding: 28px 0 4px; } .mb-hbest .mb-hbest__title { font-size: 23px; } }

/* Bestellangaben in der Auswahlbox der Merkliste (eine Auswahl für Gäste und Händler). */
.mbhs-pick--order .mbhs-order { margin-top: 6px; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.25); }
.mbhs-order .mb-hbest__kicker { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ab182e; }
.mbhs-order .mb-hbest__name { margin: 0 0 10px; font-size: 19px; font-weight: 500; }
.mbhs-order .mb-hbest__switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.mbhs-order .mb-hbest__tab { display: inline-block; padding: 8px 14px; border: 1px solid #000; background: #fff; color: #000; text-decoration: none; font-size: 15px; }
.mbhs-order .mb-hbest__tab[aria-current="true"] { background: #000; color: #fff; }
.mbhs-order .mbhs-order__hint { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid #ab182e; background: #fff; font-size: 15px; line-height: 1.45; }
.mbhs-order .mbhs-order__hint a { font-weight: 600; color: inherit; }
.mbhs-order .mb-config { margin: 0; }
.mbhs-order .mb-selection { margin-top: 0; }
.mb-shop[hidden] { display: none !important; }
.mb-hbest .mb-pdp { display: block; max-width: 640px; }

.mb-shop .mb-start__search { margin-bottom: 40px; }
.mb-shop .mb-start__search .mb-search__label { display: block; margin: 0 0 10px; color: inherit; font-size: 17px; font-weight: 500; }

/* Beratungsmodus im Kopf der Website (nur Händler). */
.mbhs-beratung { padding: 0 1rem; border-radius: 22px; }
.mbhs-beratung.is-on { background: #fff; color: #000; }
.mbhs-beratung.is-on:hover, .mbhs-beratung.is-on:focus-visible { color: #000; }
/* Artikelseite ohne Händlerpreise. */
.mbhs-gast { margin-top: 24px; }
.mbhs-gast .mb-info p { margin: 0 0 12px; }
.mbhs-gast .mbhs-gast__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.mb-shop .mb-start__logout { margin: 24px 0 0; font-size: 16px; }
.mb-shop .mb-start__logout a { color: inherit; }

/* Homepage-Kategorieseiten: Artikel ohne eigene Modellseite (Kacheln im Stil der Homepage, Preise nur für Händler). */
.mb-hcat { margin: 60px 0 80px; padding: 64px 0 72px; background: #efebe8; }
.mb-hcat__head { max-width: 900px; margin-bottom: 36px; }
.mb-hcat__kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ab182e; }
.mb-hcat__title { margin: 0 0 12px; font-size: 34px; font-weight: 500; line-height: 1.2; }
.mb-hcat__lead { margin: 0 0 24px; font-size: 17px; font-weight: 300; line-height: 1.55; }
.mb-hcat__jump { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-hcat__jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(0,0,0,.35); border-radius: 999px; background: #fff; color: #000; font-size: 14px; line-height: 1.2; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.mb-hcat__jump a span { color: #6b6b6b; font-size: 12px; }
.mb-hcat__jump a:hover, .mb-hcat__jump a:focus-visible { background: #000; border-color: #000; color: #fff; }
.mb-hcat__jump a:hover span, .mb-hcat__jump a:focus-visible span { color: #ccc; }
.mb-hcat__grp { border-top: 1px solid #000; scroll-margin-top: 110px; }
.mb-hcat__grp:last-of-type { border-bottom: 1px solid #000; }
.mb-hcat__sum { display: flex; align-items: baseline; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; }
.mb-hcat__sum::-webkit-details-marker, .mb-hcat__sum::marker { display: none; content: ''; }
.mb-hcat__name { font-size: 24px; font-weight: 400; line-height: 1.25; }
.mb-hcat__count { font-size: 14px; color: #6b6b6b; }
.mb-hcat__chev { width: 12px; height: 12px; margin-left: auto; align-self: center; border-right: 1.5px solid #000; border-bottom: 1.5px solid #000; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.mb-hcat__grp[open] .mb-hcat__chev { transform: rotate(-135deg); }
.mb-hcat__sum:focus-visible { outline: 2px solid #ab182e; outline-offset: 4px; }
.mb-hcat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.mb-hcat__grid li { display: flex; margin: 0; padding: 0; }
.mb-hcat__grid li::before { display: none; }
.mb-hcat__card { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 132px; padding: 22px 24px 20px; background: #fff; color: #000; text-decoration: none; transition: background .2s, color .2s; }
.mb-hcat__card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin: -22px -24px 18px; padding: 16px; background: #f4f1ee; overflow: hidden; }
.mb-hcat__card-img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.mb-hcat__card:hover .mb-hcat__card-img img { transform: scale(1.03); }
.mb-hcat__card-title { font-size: 18px; font-weight: 500; line-height: 1.3; }
.mb-hcat__card-sub { margin-top: 6px; font-size: 15px; font-weight: 300; line-height: 1.45; }
.mb-hcat__card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.mb-hcat__card-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #6b6b6b; }
.mb-hcat__card-price { font-size: 15px; color: #000; }
.mb-hcat__card-price del { color: #6b6b6b; }
.mb-hcat__arrow { flex: 0 0 auto; transition: transform .2s; }
.mb-hcat__card:hover, .mb-hcat__card:focus-visible { background: #000; color: #fff; }
.mb-hcat__card:hover .mb-hcat__card-meta, .mb-hcat__card:focus-visible .mb-hcat__card-meta, .mb-hcat__card:hover .mb-hcat__card-price, .mb-hcat__card:focus-visible .mb-hcat__card-price { color: #ddd; }
.mb-hcat__card:hover .mb-hcat__arrow { transform: translateX(4px); }
.mb-hcat__card:focus-visible { outline: 2px solid #ab182e; outline-offset: 2px; }
@media (max-width: 1023px) { .mb-hcat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mb-hcat__card.has-img { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; } .mb-hcat__card.has-img > :not(.mb-hcat__card-img) { grid-column: 2; } .mb-hcat__card-img { grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; padding: 6px; align-self: start; } .mb-hcat { padding: 40px 0 48px; } .mb-hcat__title { font-size: 27px; } .mb-hcat__name { font-size: 20px; } .mb-hcat__grid { grid-template-columns: 1fr; gap: 10px; } .mb-hcat__card { min-height: 0; } }
@media (max-width: 767px) { .mb-hcat__jump { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: thin; } .mb-hcat__jump a { flex: 0 0 auto; } }
/* Warenkorb im Kopf der Website (Händler mit Bestellrecht). */
.mbhs-cart { margin-left: .6rem; }
/* Seiten ohne Sprachwahl (Händlerbereich-Einstieg, Artikelseiten: nicht übersetzt): Kopf-Links wie gewohnt rechts bündeln. */
.header > .logo + .find-dealer-link { margin-left: auto; }
/* Kategorieübersicht: Preis „ab“ für Händler (Listenpreis im Beratungsmodus, sonst Ihr Preis netto) */
.product-listing__list .product .mbhs-lprice { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; line-height: 22px; color: #333; }
.product-listing__list .product .mbhs-lprice b { font-weight: 600; color: #000; }
.product-listing__list .product .mbhs-lprice small { font-size: 13px; color: #555; }
.mbhs-lprice-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 24px; }
.mbhs-lprice-head .category-headline { margin-right: 0; }
.mbhs-lprice-hint { margin: 0 0 1.6rem; font-size: 14px; line-height: 1.4; color: #555; }
