/* Ergänzungen zum Codex-Design: was dort als Inline-Stil stand (bei uns verbietet die CSP Inline-Stile) */
.b2c-shop { --product-image-background: #eeeae2; --category-bar-color: #eef4fc; }
.home-gallery-track { --homepage-columns: 4; }
/* Eigene Kategorien aus dem Sortiment: Farben der Reihe nach */
.shop-category-nav a:nth-child(11n+2) { --category-color: var(--mh-akzent,#315ee8); } .shop-category-nav a:nth-child(11n+3) { --category-color: #e15d44; } .shop-category-nav a:nth-child(11n+4) { --category-color: #101d35; } .shop-category-nav a:nth-child(11n+5) { --category-color: #7b62d9; } .shop-category-nav a:nth-child(11n+6) { --category-color: #d88a28; } .shop-category-nav a:nth-child(11n+7) { --category-color: #b84366; } .shop-category-nav a:nth-child(11n+8) { --category-color: #258b85; } .shop-category-nav a:nth-child(11n+9) { --category-color: #586579; } .shop-category-nav a:nth-child(11n+10) { --category-color: #ad7138; } .shop-category-nav a:nth-child(11n+11) { --category-color: #2980b9; } .shop-category-nav a:nth-child(11n+12) { --category-color: #647b45; }
.mh-menue-liste li:nth-child(11n+1) a { --category-color: var(--mh-akzent,#315ee8); } .mh-menue-liste li:nth-child(11n+2) a { --category-color: #e15d44; } .mh-menue-liste li:nth-child(11n+3) a { --category-color: #101d35; } .mh-menue-liste li:nth-child(11n+4) a { --category-color: #7b62d9; } .mh-menue-liste li:nth-child(11n+5) a { --category-color: #d88a28; } .mh-menue-liste li:nth-child(11n+6) a { --category-color: #ad7138; } .mh-menue-liste li:nth-child(11n+7) a { --category-color: #b84366; } .mh-menue-liste li:nth-child(11n+8) a { --category-color: #258b85; } .mh-menue-liste li:nth-child(11n+9) a { --category-color: #586579; } .mh-menue-liste li:nth-child(11n+10) a { --category-color: #2980b9; } .mh-menue-liste li:nth-child(11n+11) a { --category-color: #647b45; }
.shop-category-nav a.kat-option-o { --category-color: var(--mh-akzent,#315ee8); } .shop-category-nav a.kat-emil { --category-color: #e15d44; }
.shop-category-nav a.kat-df-grinders { --category-color: #101d35; } .shop-category-nav a.kat-eureka { --category-color: #7b62d9; }
.shop-category-nav a.kat-avx { --category-color: #d88a28; } .shop-category-nav a.kat-ssp { --category-color: #b84366; }
.shop-category-nav a.kat-lebrew { --category-color: #258b85; } .shop-category-nav a.kat-acaia { --category-color: #586579; }
.shop-category-nav a.kat-mahlscheiben { --category-color: #ad7138; } .shop-category-nav a.kat-single-doser { --category-color: #2980b9; }
.shop-category-nav a.kat-zubehoer { --category-color: #647b45; }
.shop-footer-carriers { display: flex; align-items: center; gap: 8px; }
.traeger { display: grid; place-items: center; flex: 0 0 76px; width: 76px; height: 32px; overflow: hidden; border-radius: 7px; }
.traeger--dhl { background: #ffcc00; } .traeger--dpd { background: #fff; }
.traeger--dhl img { display: block; width: 76px; height: 32px; object-fit: contain; }
.traeger--dpd img { display: block; width: 70px; height: 28px; object-fit: contain; }
.vorschau-band { background: #ffe9a8; color: #5c4300; text-align: center; font: 14px/1.4 var(--font-sans); padding: 6px; }
a.privacy-settings-link { display: inline-block; }
/* Produktkarten aus der WAWI: Farbpunkte je Ausführung, Preis gut lesbar */
.home-gallery-dots i.f-schwarz { background: #17191a !important; } .home-gallery-dots i.f-weiss { background: #f4f4f0 !important; }
.home-gallery-dots i.f-silber { background: #d4d8dd !important; } .home-gallery-dots i.f-rot { background: #b22024 !important; }
.home-gallery-dots i.f-grau { background: #9ba7b8 !important; } .home-gallery-dots i.f-holz { background: #a07850 !important; }
.home-gallery-dots i.f-creme { background: #e8dcc4 !important; }
.home-gallery-card > strong.mh-preis { font-size: 19px; font-weight: 800; color: #17191e; letter-spacing: -.01em; }

/* ===== Zweite Ebene (Warenkorb, Kasse, Konto, Textseiten) im Codex-Stil ===== */
.innen { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.blatt { padding: 48px 0 80px; }
.blatt h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 0 0 28px; color: #17191e; }
.blatt h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zurueck { display: inline-flex; gap: 6px; color: var(--mh-akzent,#315ee8); font-weight: 750; font-size: 14px; margin-bottom: 18px; }
.zurueck:hover { text-decoration: underline; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.kasten { background: #fff; border: 1px solid #e6e2d8; border-radius: 22px; padding: 28px; }
.kasten + .kasten, aside > .kasten + .kasten { margin-top: 18px; }
.schmal { max-width: 560px; }
.textseite { max-width: 780px; }
.textseite p, .textseite li { font-size: 16px; line-height: 1.7; color: #3a3f47; }
.textseite h2 { margin-top: 32px; }
.hinweis { border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-weight: 650; background: #e8efff; color: #1d3fb3; }
.hinweis--warnung { background: #fdeceb; color: #9b2118; }
.hinweis--ruhig { background: #f1efe8; color: #3a3f47; font-weight: 500; }
.hinweis a { color: inherit; text-decoration: underline; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid #d9dde6; border-radius: 999px; background: #fff; color: #17191e; font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; transition: transform .15s, background .15s; }
.knopf:hover { transform: translateY(-1px); }
.knopf--kauf { background: var(--mh-akzent,#315ee8); border-color: var(--mh-akzent,#315ee8); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--mh-akzent,#315ee8) 70%, transparent); }
.knopf--kauf:hover { background: var(--akzent-dunkel,#2448c9); }
.knopf--kauf[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.knopf--dunkel { background: #0b1d16; border-color: #0b1d16; color: #fff; }
.knopf--gross { min-height: 56px; padding: 0 30px; font-size: 16px; width: 100%; }
.textknopf { background: none; border: 0; padding: 0; color: #5f6670; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.posten { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 18px; align-items: center; padding: 18px 0; border-top: 1px solid #ece8de; }
.posten:first-of-type { border-top: 0; padding-top: 0; }
.posten .name { font-weight: 750; font-size: 16px; }
.posten .info { font-size: 13px; color: #6b717c; margin: 2px 0 6px; }
.posten .warnung, .warnung { color: #b2271b; font-weight: 650; font-size: 13px; }
.posten input { width: 78px; min-height: 44px; border: 1px solid #d5d9e0; border-radius: 12px; text-align: center; font: inherit; font-weight: 700; }
.posten .betrag { font-weight: 800; text-align: right; min-width: 92px; }
.summen { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 15px; margin-bottom: 18px; }
.summen > span:nth-child(even) { text-align: right; }
.summen .gesamt { font-size: 22px; font-weight: 800; letter-spacing: -.02em; padding-top: 12px; margin-top: 6px; border-top: 2px solid #17191e; }
.summen .klein, .summen small.klein { font-size: 12.5px; color: #5f6670; font-weight: 500; }
.rechtlich { font-size: 13px; color: #6b717c; line-height: 1.55; margin: 12px 0 0; }
.rechtlich a { color: inherit; text-decoration: underline; }
.leer { text-align: center; padding: 56px 24px; }
.leer p { font-size: 18px; margin: 0 0 20px; }
.leer .knopf { width: auto; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kasten .felder + .felder, .kasten .felder + .feld { margin-top: 14px; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #3a3f47; }
.feld input, .feld select, .feld textarea { min-height: 48px; border: 1px solid #d5d9e0; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; color: #17191e; background: #fff; }
.feld textarea { min-height: 90px; padding: 12px 14px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--mh-akzent,#315ee8); outline-offset: 1px; border-color: var(--mh-akzent,#315ee8); }
.feld--abstand { margin-top: 14px; }
.feld--fehler input, .feld--fehler select { border-color: #c63a2c; box-shadow: 0 0 0 1px #c63a2c; }
.feld .fehler, p.fehler { color: #b2271b; font-weight: 650; font-size: 13px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3a3f47; line-height: 1.5; }
.haken input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--mh-akzent,#315ee8); }
.haken a { color: var(--mh-akzent,#315ee8); }
.abweichend { margin-top: 20px; font-weight: 700; color: #17191e; }
.lieferblock, .kontoblock { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid #ece8de; }
.kasten:has(#abweichend:checked) .lieferblock, .kasten:has(#konto_anlegen:checked) .kontoblock { display: block; }
.schritte { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 14px; font-size: 13px; font-weight: 750; color: #5f6670; counter-reset: s; }
.schritte li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.schritte li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ebe8df; color: #17191e; font-size: 12px; }
.schritte li:not(:last-child)::after { content: "→"; margin-left: 4px; color: #b9bcc3; }
.schritte li[aria-current] { color: #17191e; }
.schritte li[aria-current]::before { background: var(--mh-akzent,#315ee8); color: #fff; }
.status { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 750; background: #f1efe8; }
.status--ok { background: #e3f4ea; color: #1d6b40; }
.konto-hinweis { margin-bottom: 20px; }
@media (max-width: 900px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .innen { width: calc(100% - 40px); }
  .kasten { padding: 22px 18px; }
  .posten { grid-template-columns: 1fr auto; }
  .posten .betrag { grid-column: 2; }
}

/* ===== Kategorie ===== */
.mh-kategorie header h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.mh-anzahl { color: #60646c; font-size: 14px; font-weight: 650; }
.mh-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.mh-raster .home-gallery-card { min-width: 0; }
@media (max-width: 1100px) { .mh-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .mh-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .mh-raster .home-gallery-image { height: 220px; } }
@media (max-width: 480px) { .mh-raster { grid-template-columns: 1fr; } .mh-raster .home-gallery-image { height: 300px; } }

/* ===== Produktseite ===== */
.mh-produkt { width: min(1280px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 80px; }
.mh-pfad { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #5f6670; margin-bottom: 24px; }
.mh-pfad a { color: var(--mh-akzent,#315ee8); font-weight: 650; }
.mh-produkt-oben { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mh-galerie-buehne { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.mh-bild { grid-area: 1 / 1; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 22px 24px #1c294022); opacity: 0; visibility: hidden; transition: opacity .25s; }
.mh-neu { position: absolute; top: 18px; left: 18px; background: #17191e; color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.mh-galerie-leiste { display: grid; grid-template-columns: repeat(auto-fill, 86px); gap: 10px; margin-top: 14px; }
.mh-daumen { width: 86px; height: 86px; border-radius: 14px; background: #fff; border: 2px solid transparent; display: grid; place-items: center; cursor: pointer; }
.mh-daumen img { width: 78%; height: 78%; object-fit: contain; }
.mh-daumen:hover { border-color: #c9d3f7; }
.mh-galerie:has(#bild-1:checked) .mh-bild-1, .mh-galerie:has(#bild-2:checked) .mh-bild-2, .mh-galerie:has(#bild-3:checked) .mh-bild-3,
.mh-galerie:has(#bild-4:checked) .mh-bild-4, .mh-galerie:has(#bild-5:checked) .mh-bild-5, .mh-galerie:has(#bild-6:checked) .mh-bild-6,
.mh-galerie:has(#bild-7:checked) .mh-bild-7, .mh-galerie:has(#bild-8:checked) .mh-bild-8 { opacity: 1; visibility: visible; }
.mh-galerie:has(#bild-1:checked) .mh-daumen-1, .mh-galerie:has(#bild-2:checked) .mh-daumen-2, .mh-galerie:has(#bild-3:checked) .mh-daumen-3,
.mh-galerie:has(#bild-4:checked) .mh-daumen-4, .mh-galerie:has(#bild-5:checked) .mh-daumen-5, .mh-galerie:has(#bild-6:checked) .mh-daumen-6,
.mh-galerie:has(#bild-7:checked) .mh-daumen-7, .mh-galerie:has(#bild-8:checked) .mh-daumen-8 { border-color: var(--mh-akzent,#315ee8); }
.mh-galerie input:focus-visible ~ .mh-galerie-leiste .mh-daumen { outline: none; }
.mh-kauf { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.mh-marke { color: var(--mh-akzent,#315ee8); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.mh-kauf h1 { margin: -6px 0 0; font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: #17191e; overflow-wrap: anywhere; }
.mh-unter { margin: 0; color: #60646c; font-size: 16px; line-height: 1.5; }
.mh-varianten { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mh-varianten legend { font-size: 13px; font-weight: 750; color: #3a3f47; margin-bottom: 8px; }
.mh-variante input { position: absolute; opacity: 0; }
.mh-variante span { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1.5px solid #d9dde6; border-radius: 14px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.mh-variante span b { font-size: 13px; color: #60646c; font-weight: 650; }
.mh-variante input:checked + span { border-color: var(--mh-akzent,#315ee8); box-shadow: 0 0 0 1px var(--mh-akzent,#315ee8); }
.mh-variante input:focus-visible + span { outline: 3px solid #b9c8fb; }
.mh-preisblock { padding: 18px 0 6px; border-top: 1px solid #e6e2d8; }
.mh-preis-gross { font-size: 40px; font-weight: 800; letter-spacing: -.035em; color: #17191e; line-height: 1; }
.mh-preis-gross span { font-size: 18px; font-weight: 650; color: #60646c; }
.mh-preis-zusatz { margin-top: 6px; font-size: 13px; color: #60646c; }
.mh-preis-zusatz a { text-decoration: underline; }
.mh-lieferung { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #3a3f47; }
.mh-punkt { width: 10px; height: 10px; border-radius: 50%; background: #2e9b5f; box-shadow: 0 0 0 4px #2e9b5f22; flex: none; }
.mh-lieferung--spaeter .mh-punkt { background: #d98a1f; box-shadow: 0 0 0 4px #d98a1f22; }
.mh-variante small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #9a5f0c; }
.mh-kaufzeile { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.mh-menge input { width: 100%; height: 56px; border: 1px solid #d5d9e0; border-radius: 999px; text-align: center; font: inherit; font-size: 17px; font-weight: 800; background: #fff; }
.mh-vorteile { list-style: none; margin: 4px 0 0; padding: 18px 20px; display: grid; gap: 8px; background: #fff; border-radius: 18px; font-size: 14px; color: #3a3f47; }
.mh-vorteile li::before { content: "✓"; color: var(--mh-akzent,#315ee8); font-weight: 800; margin-right: 10px; }
.mh-abschnitt { margin-top: 64px; padding-top: 40px; border-top: 1px solid #e6e2d8; }
.mh-abschnitt > h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; }
.mh-text { max-width: 860px; font-size: 16.5px; line-height: 1.75; color: #3a3f47; }
.mh-text h2, .mh-text h3, .mh-text h4 { color: #17191e; letter-spacing: -.02em; line-height: 1.25; margin: 32px 0 10px; }
.mh-text h2 { font-size: 24px; } .mh-text h3 { font-size: 20px; } .mh-text h4 { font-size: 17px; }
.mh-text p { margin: 0 0 14px; }
.mh-text ul, .mh-text ol { padding-left: 22px; margin: 0 0 16px; }
.mh-text li { margin: 4px 0; }
.mh-text a { color: var(--mh-akzent,#315ee8); text-decoration: underline; }
.mh-text table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
.mh-text th, .mh-text td { text-align: left; padding: 11px 16px; border-bottom: 1px solid #efece4; vertical-align: top; }
.mh-text th { color: #17191e; }
.mh-daten { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; max-width: 860px; margin: 0; background: #fff; border-radius: 18px; overflow: hidden; }
.mh-daten dt, .mh-daten dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid #efece4; font-size: 15px; }
.mh-daten dt { font-weight: 750; color: #17191e; }
.mh-adressen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.mh-adressen > div { background: #fff; border-radius: 18px; padding: 24px; font-size: 16px; line-height: 1.6; font-weight: 500; color: #23272e; }
.mh-adressen h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-akzent,#315ee8); }
.mh-adressen p { margin: 0; overflow-wrap: anywhere; }
.mh-aehnlich { margin-top: 64px; padding: 0 !important; }
@media (max-width: 900px) {
  .mh-produkt { width: calc(100% - 40px); }
  .mh-produkt-oben { grid-template-columns: 1fr; gap: 28px; }
  .mh-kauf { position: static; }
  .mh-adressen { grid-template-columns: 1fr; }
  .mh-daten { grid-template-columns: 1fr; } .mh-daten dt { border-bottom: 0; padding-bottom: 0; }
}
.summen { column-gap: 0; }
.summen > span:nth-child(even) { padding-left: 16px; }
.urlaub-band { background: #fff4d6; color: #5c4300; text-align: center; font: 14px/1.45 var(--font-sans); padding: 10px 16px; }
/* Hinweise auf Produktkarten (gemeinsame Vorlage) */
.home-gallery-image { position: relative; }
.kb { position: absolute; top: 14px; left: 14px; z-index: 1; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #17191e; }
.kb--rabatt { background: #e15d44; } .kb--bware { background: #586579; }
.kb-streich { display: block; color: #5f6670; font-size: 13px; }
.mh-streich { margin-top: 8px; font-size: 15px; color: #60646c; } .mh-ersparnis { color: #c0392b; font-weight: 800; margin-left: 8px; }

.mh-logo-bild { height: 36px; width: auto; max-width: 220px; }

/* Barrierefreiheit: farbige Schrift auf getöntem Grund abdunkeln (mind. 4,5 : 1), Links im Text unterstreichen */
.shop-service-track span { color: color-mix(in srgb, var(--service-color, #315ee8) 58%, #000); }
.shop-service-track span svg { color: var(--service-color, var(--mh-akzent, #315ee8)); }
.shop-category-nav a:not(.active):not(:hover) { color: color-mix(in srgb, var(--category-color) 58%, #000); }

/* Barrierefreiheit: Sprunglink, Laufband anhalten, Ziel des Sprunglinks ohne Rahmen */
.sprung { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: #111; font-weight: 700; border: 2px solid #111; border-radius: 8px; text-decoration: none; }
.sprung:focus { top: 8px; }
#inhalt:focus { outline: none; }
.lauf-stopp { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 10px; cursor: pointer; }
.lauf-stopp input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lauf-stopp:has(input:focus-visible) { outline: 3px solid #111; outline-offset: 2px; }
.lauf-stopp:has(input:checked) { background: #111; color: #fff; }
.shop-service-bar { position: relative; }
.shop-service-bar:has(.lauf-stopp input:checked) .shop-service-track, .shop-service-bar:hover .shop-service-track { animation-play-state: paused; }
p a, label a, .rechtlich a { text-decoration: underline; text-underline-offset: 2px; }

/* Variablen, die die gemeinsamen Bausteine (Kaffee, Abo) erwarten */
:root { --akzent: var(--mh-akzent, #315ee8); --akzent-dunkel: #2447b8; --akzent-text: #fff; --linie: #dfe4ea; --leise: #5f6670; --text: #162033; --karte: #fff; --radius: 12px; --radius-gross: 16px; --rabatt: #b3261e; }
@media (max-width: 860px) { .mh-produkt-oben { grid-template-columns: minmax(0, 1fr); } }
.mh-marke-logo { max-width: 100%; } .mh-marke-logo .marken-logo { max-width: 100%; }

/* Rechtstexte (von der IT-Recht Kanzlei geliefert oder von Hand eingetragen) */
.rechtstext { overflow-wrap: anywhere; }
.rechtstext h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; } .rechtstext h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.rechtstext h4, .rechtstext h5, .rechtstext h6 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.rechtstext p, .rechtstext li, .rechtstext dd { line-height: 1.6; }
.rechtstext ul, .rechtstext ol { padding-left: 1.4rem; margin: .6rem 0; }
.rechtstext a { text-decoration: underline; text-underline-offset: 2px; }
.rechtstext table { border-collapse: collapse; width: 100%; margin: 1rem 0; display: block; overflow-x: auto; }
.rechtstext th, .rechtstext td { border: 1px solid #c9ccd3; padding: .5rem .7rem; text-align: left; vertical-align: top; }
.rechtstext caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.rechtstext blockquote { margin: 1rem 0; padding: .2rem 1rem; border-left: 4px solid #c9ccd3; }
.rechtstext pre { white-space: pre-wrap; padding: .8rem; border: 1px solid #c9ccd3; border-radius: 8px; }
.rechtstext img { max-width: 100%; height: auto; }
.rechtstext dt { font-weight: 700; margin-top: .6rem; } .rechtstext dd { margin-left: 1.2rem; }
.rechtstext [id] { scroll-margin-top: 110px; }
p a.knopf, label a.knopf, a.knopf { text-decoration: none; }

/* Ausklappbares Kategorien-Menü im Kopf */
.shop-header { position: relative; }
.mh-menue > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: 15px; padding: 10px 14px; margin: 0 -14px; border-radius: 999px; user-select: none; -webkit-user-select: none; }
.mh-menue > summary::-webkit-details-marker { display: none; }
.mh-menue > summary:hover, .mh-menue[open] > summary { background: #eef2ff; color: var(--mh-akzent,#315ee8); }
.mh-menue > summary svg { transition: transform .15s; }
.mh-menue[open] > summary svg { transform: rotate(180deg); }
.mh-menue-feld { position: absolute; z-index: 60; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e3e0d8; border-bottom: 1px solid #e3e0d8; box-shadow: 0 24px 40px -18px rgba(23, 25, 30, .28); padding: 22px max(32px, calc((100vw - 1280px) / 2)) 28px; }
.mh-menue-innen { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 40px; align-items: stretch; }
.mh-menue-alle { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 150px; padding: 22px 24px; border-radius: 16px; background: #17191e; color: #fff; text-decoration: none; overflow: hidden; }
.mh-menue-alle b { font-size: 22px; letter-spacing: -.01em; }
.mh-menue-alle span { font-size: 14px; color: #c9ccd4; }
.mh-menue-alle i { position: absolute; top: 18px; right: 20px; font-style: normal; font-size: 22px; transition: transform .15s; }
.mh-menue-alle:hover, .mh-menue-alle:focus-visible { background: var(--mh-akzent,#315ee8); color: #fff; }
.mh-menue-alle:hover span, .mh-menue-alle:focus-visible span { color: #e3e9ff; }
.mh-menue-alle:hover i { transform: translateX(4px); }
.mh-menue-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 32px; align-content: start; }
.mh-menue-liste a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid #eceae4; font-size: 16px; font-weight: 700; color: #17191e; text-decoration: none; }
.mh-menue-liste a i { margin-left: auto; font-style: normal; color: #b3b7c2; transition: transform .15s, color .15s; }
.mh-punkt { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--category-color, #315ee8); }
.mh-menue-liste a:hover, .mh-menue-liste a:focus-visible { color: var(--category-color, #315ee8); border-bottom-color: var(--category-color, #315ee8); }
.mh-menue-liste a:hover i, .mh-menue-liste a:focus-visible i { color: var(--category-color, #315ee8); transform: translateX(4px); }
@media (max-width: 850px) { .mh-menue > summary { margin: 0; padding: 9px 11px; font-size: 14px; font-weight: 700; } .mh-menue-feld { padding: 16px 16px 20px; } .mh-menue-innen { grid-template-columns: 1fr; gap: 14px; } .mh-menue-alle { min-height: 0; padding: 16px 18px; } .mh-menue-alle b { font-size: 18px; } .mh-menue-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } .mh-menue-liste a { padding: 12px 2px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .mh-menue > summary svg, .mh-menue-alle i, .mh-menue-liste a i { transition: none; } }

/* Mahlscheiben-Skala in den Farben von Mühlenhelden; Finder mit weißem Rand oben wie unten */
.burr-scale{--sk-bg:linear-gradient(180deg,#12291f,#173428 55%,#12291f);--sk-akzent:#a7c7b5;--sk-leise:#cfdad2}
.grinder-finder{border-top:14px solid #fff}

/* Laufband: so viele Wiederholungen, dass es auch auf sehr breiten Bildschirmen lückenlos läuft (Tempo bleibt gleich) */
.shop-service-track.lauf-k4 { animation-duration: 68s; }
.shop-service-track.lauf-k8 { animation-duration: 136s; }
.shop-service-track.lauf-k12 { animation-duration: 204s; }

/* Bildkacheln der Startseite (Kategorien) zwischen oberer Galerie und erster Galerie-Reihe – kmwawi/shops/galerie.py */
.kk { padding: clamp(28px, 3.6vw, 56px) max(32px, calc((100vw - 1280px) / 2)); background: #fff; }
.kk > h2 { margin: 0 0 22px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.kk-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kk-raster.kk-n2, .kk-raster.kk-n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kk-raster.kk-n3, .kk-raster.kk-n5, .kk-raster.kk-n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kk-kachel { --kk: var(--mh-akzent, #315ee8); position: relative; display: flex; flex-direction: column; min-height: clamp(300px, 29vw, 430px); padding: 24px 24px 14px; gap: 6px; border-radius: 26px; overflow: hidden; color: #15171a; text-decoration: none;
  background: linear-gradient(165deg, color-mix(in srgb, var(--kk) 13%, #fff), color-mix(in srgb, var(--kk) 4%, #f4f5f7) 70%); border: 1px solid color-mix(in srgb, var(--kk) 16%, #e6e8ec); transition: transform .25s ease, box-shadow .25s ease; }
.kk-f2 { --kk: var(--rabatt, #e4572e); }
.kk-f3 { --kk: var(--tinte, #15171a); }
.kk-f4 { --kk: #7b62d9; }
.kk-kachel:hover, .kk-kachel:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--kk) 70%, #000); }
.kk-kachel:focus-visible { outline: 3px solid var(--kk); outline-offset: 3px; }
.kk-text { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.kk-text strong { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.kk-text small { font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--kk) 55%, #3a3f47); }
.kk-bilder { position: relative; margin: auto 0 0; height: clamp(215px, 22vw, 330px); }
.kk-bilder img { position: absolute; bottom: 0; height: 100%; width: auto; aspect-ratio: 1; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 16px rgba(20, 24, 30, .16)); transition: transform .35s ease; }
/* Gruppenbild: hinten die großen Geräte, vorne links und rechts die kleineren, teils voreinander */
.kk-b1 img { left: 50%; translate: -50% 0; }
.kk-eigen img { left: 50%; translate: -50% 0; aspect-ratio: auto; max-width: 96%; height: 104%; }
.kk-b2 img:nth-child(1) { left: 1%; z-index: 1; }
.kk-b2 img:nth-child(2) { right: 5%; height: 84%; z-index: 2; }
.kk-b3 img:nth-child(1) { left: -6%; height: 82%; z-index: 2; }
.kk-b3 img:nth-child(2) { left: 50%; translate: -50% 0; z-index: 1; }
.kk-b3 img:nth-child(3) { right: -6%; height: 84%; z-index: 3; }
.kk-b4 img:nth-child(1) { left: -11%; height: 80%; z-index: 3; }
.kk-b4 img:nth-child(2) { left: 7%; z-index: 1; }
.kk-b4 img:nth-child(3) { left: 31%; height: 97%; z-index: 2; }
.kk-b4 img:nth-child(4) { right: -10%; height: 82%; z-index: 4; }
/* Bild mit weißem Grund (nicht freigestellt): Weiß verschwindet im Kachelton, kein Schatten um den Kasten */
.kk-bilder img.kk-weiss { mix-blend-mode: multiply; filter: none; }
.kk-kachel:hover .kk-bilder img { transform: translateY(-6px); }
.kk-kachel:hover .kk-bilder img:nth-child(even) { transform: translateY(-11px); }
.kk-pfeil { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #15171a; color: #fff; font-size: 18px; z-index: 6; }
@media (max-width: 1000px) { .kk-raster, .kk-raster.kk-n3, .kk-raster.kk-n5, .kk-raster.kk-n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kk { padding-inline: 20px; } }
@media (max-width: 560px) { .kk-bilder { height: 150px; } .kk-kachel { min-height: 210px; padding: 18px 16px 0; border-radius: 20px; } .kk-raster { gap: 12px; } .kk-pfeil { width: 32px; height: 32px; right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .kk-kachel, .kk-bilder img { transition: none; } }
