/* Uebersichten /marken und /hersteller: Suchfeld, Sprungband, Gruppen A bis Z. 26.09.2026 */
.mk-uebersicht { max-width: 62em; margin: 0 auto; padding: 0 1em; }
.mk-uebersicht-header h1 { margin: 0.4em 0 0.3em 0; }
.mk-uebersicht-intro { margin: 0 0 0.8em 0; opacity: 0.85; }
.mk-suche { display: flex; align-items: center; gap: 0.8em; margin: 0 0 1em 0; }
.mk-suche input { flex: 1 1 auto; max-width: 28em; font-size: 1.05em; padding: 0.55em 0.8em; border: 1px solid var(--tb-border, #ccc); border-radius: 0.5em; }
.mk-suche-treffer { font-size: 0.9em; opacity: 0.8; white-space: nowrap; }
.mk-abc { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 0.3em; padding: 0.6em 0; margin: 0 0 1em 0; background: var(--tb-bg, #fff); border-bottom: 1px solid var(--tb-border, #ddd); }
.mk-abc a, .mk-abc span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2em; height: 2.2em; padding: 0 0.4em; border-radius: 0.4em; border: 1px solid var(--tb-border, #ddd); font-weight: 600; text-decoration: none; }
.mk-abc a:hover, .mk-abc a:focus { background: var(--tb-primary, #b71c1c); color: #fff; border-color: var(--tb-primary, #b71c1c); }
.mk-abc span { opacity: 0.35; }
.mk-gruppe { scroll-margin-top: 4em; margin-bottom: 1em; }
.mk-gruppe-titel { font-size: 1.5em; margin: 0 0 0.5em 0; padding-bottom: 0.2em; border-bottom: 2px solid var(--tb-primary, #b71c1c); }
.mk-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14em, 1fr)); gap: 0.3em 1.2em; }
.mk-eintrag { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5em; padding: 0.15em 0; border-bottom: 1px dotted var(--tb-border, #e5e5e5); }
.mk-eintrag a { text-decoration: none; }
.mk-eintrag a:hover { text-decoration: underline; }
.mk-anzahl { font-size: 0.8em; opacity: 0.6; }
.mk-leer-suche, .mk-leer { padding: 1em; }
@media (max-width: 40em) { .mk-liste { grid-template-columns: 1fr 1fr; } .mk-suche { flex-wrap: wrap; } }
/* hidden-Attribut muss gegen display:flex/grid gewinnen (Suchfilter) */
.mk-eintrag[hidden], .mk-gruppe[hidden], .mk-abc[hidden], .mk-leer-suche[hidden] { display: none !important; }
/* gegen zentrierte Listen-Vorgaben der .box */
.mk-gruppe .mk-liste { display: grid !important; width: 100%; text-align: left; }
.mk-gruppe .mk-eintrag { width: auto; margin: 0; }
/* Sprungband ab 19.10.2026: Verhalten und Aussehen aus website/zp_abc.inc.php (eine Reihe, mitlaufend, aktueller Buchstabe mittig) */

/* Herstellerseite als Markenuebersicht ohne Artikel (05.11.2026, website/marken/hersteller.tpl) */
.zp-hersteller { max-width: 72em; margin: 0 auto; padding: 0 1em 2em; }
.zp-hersteller #kategorie_top_breadcrumb { margin: 0.6em 0; }
.zp-hs-kopf, .zp-hs-marken-box, .zp-hs-kontakt { background: var(--tb-surface); box-shadow: 0 2px 10px color-mix(in srgb, var(--zp-dunkel) 10%, transparent); border: 1px solid var(--tb-border-light); border-left: 4px solid var(--tb-primary); border-radius: var(--tb-radius); padding: 1.1em 1.3em; margin: 0 0 1em 0; }
.zp-hs-kopf h1 { margin: 0 0 0.5em 0; font-family: var(--tb-font-display, inherit); color: var(--tb-text-dark); }
.zp-hs-text p { margin: 0 0 0.7em 0; line-height: 1.6; max-width: 52em; }
.zp-hs-fakten { list-style: none; margin: 0.6em 0 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.zp-hs-fakten li { list-style: none; margin: 0; padding: 0.35em 0.8em; background: var(--tb-bg-highlight); border-radius: var(--radius-full, 9999px); font-size: 0.9em; color: var(--tb-text); }
.zp-hs-fakten li::before, .zp-hs-fakten li::marker { content: none; }
.zp-hs-fakten strong { color: var(--tb-primary-dark); }
.zp-hs-marken-box h2, .zp-hs-kontakt h2 { margin: 0 0 0.8em 0; font-size: 1.25em; color: var(--tb-text-dark); }
ul.zp-hs-marken { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 0.8em; width: 100%; text-align: left; }
.zp-hs-marken > li { list-style: none; margin: 0; padding: 0; width: auto; }
.zp-hs-marken > li::before, .zp-hs-marken > li::marker { content: none; }
.zp-hs-marken a { display: flex; flex-direction: column; align-items: center; gap: 0.4em; height: 100%; box-sizing: border-box; padding: 0.9em 0.7em 0.8em; border: 1px solid var(--tb-border-light); border-radius: var(--radius-md, 0.5em); background: var(--zp-seite); text-decoration: none; text-align: center; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.zp-hs-marken a:hover, .zp-hs-marken a:focus-visible { border-color: var(--tb-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.zp-hs-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 4.5em; }
.zp-hs-logo picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.zp-hs-logo img { mix-blend-mode: multiply; max-width: 85%; max-height: 4.2em; width: auto; height: auto; object-fit: contain; }
.zp-hs-logo-text { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: var(--radius-sm, 0.25em); background: var(--tb-bg-highlight); color: var(--tb-primary-dark); font-weight: 700; font-size: 1.05em; line-height: 1.15; padding: 0 0.4em; box-sizing: border-box; }
.zp-hs-anzahl { margin-top: auto; }
.zp-hs-name { font-weight: 600; color: var(--zp-dunkel); line-height: 1.2; }
.zp-hs-anzahl { font-size: 0.82em; color: var(--tb-text-light); }
.zp-hs-kontakt p { margin: 0; line-height: 1.55; font-size: 0.92em; }
@media (prefers-reduced-motion: reduce) { .zp-hs-marken a { transition: none; } .zp-hs-marken a:hover, .zp-hs-marken a:focus-visible { transform: none; } }
@media (max-width: 600px) {
	.zp-hersteller { padding: 0 0.6em 1.5em; }
	.zp-hs-kopf, .zp-hs-marken-box, .zp-hs-kontakt { padding: 0.9em; }
	ul.zp-hs-marken { grid-template-columns: 1fr 1fr; gap: 0.6em; }
}
/* Hintergrund gedaempft (05.11.2026, Adrian: Weiss zu grell); weisse Logo-Flaechen verschmelzen per multiply, im dunklen Modus nicht */
[data-theme="dark"] .zp-hs-logo img { mix-blend-mode: normal; }
/* Dezenter Uebergang zum Seitenhintergrund (05.11.2026, Adrian): Kaesten heller als die Seite mit leichtem Schatten, Kacheln eine Spur cremiger */
[data-theme="dark"] .zp-hs-kopf, [data-theme="dark"] .zp-hs-marken-box, [data-theme="dark"] .zp-hs-kontakt { background: var(--tb-surface-elevated); box-shadow: none; }
[data-theme="dark"] .zp-hs-marken a { background: var(--tb-surface); }

/* Markenuebersicht mit Logos (09.11.2026, Adrian, Variante 2): "Beliebte Marken" oben, kleines Logo vor dem Namen in A-Z */
.mk-top { margin: 0 0 1.2em; padding: 1.2em; }
.mk-top-titel { font-size: 1.3em; margin: 0 0 .8em; padding-bottom: .3em; border-bottom: 1px solid var(--zp-kasten-rand, var(--tb-border)); }
.mk-top-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8em; }
.mk-top-raster a { display: flex; flex-direction: column; align-items: center; gap: .4em; height: 100%; box-sizing: border-box; padding: .7em .5em; border: 1px solid var(--zp-kasten-rand, var(--tb-border)); border-radius: .5em; background: var(--zp-kasten, var(--tb-surface-elevated)); color: var(--tb-text-dark); font-size: .88em; text-align: center; text-decoration: none; }
.mk-top-raster a:hover { border-color: var(--tb-primary); }
.mk-top-raster picture { display: flex; align-items: center; justify-content: center; height: 60px; width: 100%; }
.mk-top-raster img { max-height: 60px; max-width: 100%; object-fit: contain; }
.mk-eintrag a { display: inline-flex; align-items: center; }
.mk-mini { flex: 0 0 auto; width: 40px; height: 28px; object-fit: contain; margin-right: .55em; }
.mk-eintrag { align-items: center; }
@media (max-width: 62em) { .mk-top-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 40em) { .mk-top-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; } .mk-top { padding: .9em; } .mk-mini { width: 32px; height: 24px; } }
.mk-top-raster > li { list-style: none; margin: 0; padding: 0; }
.mk-top-raster > li::before, .mk-top-raster > li::marker { content: none; display: none; }
