/* Grundgerüst der Endkunden-Shops (coffee24, sparkaffee, …): Seiten, Karten, Formulare, Produktseite.
   Jedes Theme setzt nur die Variablen unten und ergänzt sein eigenes Aussehen. Keine Inline-Stile (CSP). */
@font-face { font-family: manrope; src: url(schriften/manrope.woff2) format("woff2"); font-display: swap; font-weight: 200 800; }
:root {
  --schrift: manrope, Arial, sans-serif;
  --text: #1c1c1c; --leise: #646970; --linie: #e6e4de;
  --flaeche: #f6f5f1; --karte: #ffffff;
  --akzent: #009246; --akzent-dunkel: #00733a; --akzent-text: #fff;
  --preis: #1c1c1c; --rabatt: #d7261e;
  --radius: 14px; --radius-gross: 20px;
  --breite: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--flaeche); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
.innen { width: min(var(--breite), 100% - 48px); margin-inline: auto; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vorschau-band { background: #ffe9a8; color: #5c4300; text-align: center; font-size: 13px; font-weight: 700; padding: 6px; }
.urlaub-band { background: #fff1c2; color: #4a3a00; text-align: center; font-size: 14px; padding: 9px 16px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--karte); color: var(--text); font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; }
.knopf:hover { border-color: var(--text); }
.knopf--kauf { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }
.knopf--kauf:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); }
.knopf--kauf[disabled] { opacity: .45; cursor: not-allowed; }
.knopf--dunkel { background: var(--text); border-color: var(--text); color: #fff; }
.knopf--gross { min-height: 56px; padding: 0 30px; font-size: 16px; width: 100%; }
.textknopf { background: none; border: 0; padding: 0; color: var(--leise); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* Kategorie-Leiste und Produktraster (Klassennamen wie im Mühlenhelden-Design, damit die Vorlagen geteilt sind) */
.home-gallery { width: min(var(--breite), 100% - 48px); margin: 0 auto; padding: 40px 0 72px; }
.home-gallery > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.home-gallery > header small { display: block; color: var(--akzent); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
.home-gallery > header h1, .home-gallery > header h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.mh-anzahl { color: var(--leise); font-size: 14px; font-weight: 650; }
.shop-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.shop-category-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--linie); border-radius: 999px; background: var(--karte); font-size: 14px; font-weight: 700; white-space: nowrap; }
.shop-category-nav a span { display: none; }
.shop-category-nav a:hover { border-color: var(--text); }
.shop-category-nav a.active { background: var(--text); border-color: var(--text); color: #fff; }
.mh-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-gallery-card { position: relative; display: flex; flex-direction: column; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 14px 14px 18px; min-width: 0; transition: box-shadow .2s, transform .2s; }
.home-gallery-card:hover { box-shadow: 0 16px 34px -22px rgba(0,0,0,.35); transform: translateY(-2px); }
.home-gallery-image { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #fff; overflow: hidden; }
.home-gallery-image img { width: 86%; height: 86%; object-fit: contain; }
.home-gallery-dots { display: flex; gap: 6px; min-height: 12px; margin: 12px 0 6px; }
.home-gallery-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #b9bcc2; }
.home-gallery-dots i.f-schwarz { background: #17191a; } .home-gallery-dots i.f-weiss { background: #f4f4f0; }
.home-gallery-dots i.f-silber { background: #d4d8dd; } .home-gallery-dots i.f-rot { background: #b22024; }
.home-gallery-dots i.f-grau { background: #9ba7b8; } .home-gallery-dots i.f-holz { background: #a07850; } .home-gallery-dots i.f-creme { background: #e8dcc4; }
.home-gallery-card h3 { font-size: 17px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.home-gallery-card p { margin: 4px 0 10px; color: var(--leise); font-size: 13px; line-height: 1.4; }
.kb-streich { margin-top: auto; color: var(--leise); font-size: 13px; }
.mh-preis { display: block; margin-top: auto; font-size: 21px; font-weight: 800; color: var(--preis); letter-spacing: -.01em; }
.kb-streich + .mh-preis { margin-top: 0; color: var(--rabatt-schrift, var(--rabatt)); }
.home-gallery-actions { display: flex; gap: 8px; margin-top: 12px; }
.home-gallery-actions a { flex: 1; display: inline-flex; justify-content: center; align-items: center; min-height: 40px; border-radius: var(--radius); font-size: 13.5px; font-weight: 750; background: var(--akzent); color: var(--akzent-text); }
.home-gallery-actions a + a { flex: 0 0 auto; padding: 0 12px; background: transparent; color: var(--text); border: 1px solid var(--linie); }
.k-zusatz, .k-spar, .k-korb { display: none; }
.marken-logo { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .72; }
a:hover > .marken-logo { opacity: 1; }
.marken-logo--kat { height: 40px; max-width: 190px; margin-left: auto; margin-right: 18px; align-self: center; }
.mh-marke-logo { display: inline-block; margin-bottom: 8px; }
.kb { position: absolute; top: 10px; left: 10px; z-index: 1; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 800; color: #fff; background: var(--text); }
.kb--rabatt { background: var(--rabatt); color: var(--auf-rabatt, #fff); } .kb--bware { background: #5b6575; } .kb--neu { background: var(--akzent); }
.payment-logo-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.payment-logo { width: 56px; height: 34px; border: 1px solid #d9dde2; border-radius: 7px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.payment-logo img { width: 100%; height: 100%; object-fit: contain; }

/* Textseiten, Warenkorb, Kasse, Konto */
.blatt { padding: 40px 0 72px; }
.blatt h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 0 0 24px; }
.blatt h2 { font-size: 19px; font-weight: 800; margin: 0 0 14px; }
.zurueck { display: inline-flex; color: var(--akzent); font-weight: 750; font-size: 14px; margin-bottom: 16px; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.kasten { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 26px; }
.kasten + .kasten, aside > .kasten + .kasten { margin-top: 16px; }
.schmal { max-width: 560px; }
.textseite { max-width: 780px; }
.textseite p, .textseite li { line-height: 1.7; }
.textseite h2 { margin-top: 30px; }
.hinweis { border-radius: var(--radius); padding: 13px 16px; margin-bottom: 18px; font-weight: 650; background: #e9f5ee; color: #135c33; }
.hinweis--warnung { background: #fdeceb; color: #9b2118; }
.hinweis--ruhig { background: #efede7; color: var(--text); font-weight: 500; }
.hinweis a { color: inherit; text-decoration: underline; }
.posten { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linie); }
.posten:first-of-type { border-top: 0; padding-top: 0; }
.posten--bild { grid-template-columns: 96px 1fr auto auto; }
.posten-bild { position: relative; display: grid; place-items: center; width: 96px; height: 96px; background: #fff; border: 1px solid var(--linie); border-radius: 12px; }
.posten-bild img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.posten--klein { grid-template-columns: 64px 1fr auto; }
.posten--klein > div:empty { display: none; }
.posten--klein .posten-bild { width: 64px; height: 64px; border-radius: 10px; }
.posten--klein .posten-bild img { padding: 4px; }
.posten-menge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; background: var(--akzent); color: var(--akzent-text); font-size: 12px; font-weight: 800; }
.posten .name a { color: inherit; text-decoration: none; } .posten .name a:hover { text-decoration: underline; }
.bestellkasten .haken { margin: 14px 0 16px; }
.posten .name { font-weight: 750; }
.posten .info { font-size: 13px; color: var(--leise); margin: 2px 0 6px; }
.posten .warnung, .warnung { color: #b2271b; font-weight: 650; font-size: 13px; }
.posten input { width: 76px; min-height: 44px; border: 1px solid #d5d9e0; border-radius: 10px; text-align: center; font: inherit; font-weight: 700; }
.posten .betrag { font-weight: 800; text-align: right; min-width: 90px; }
.summen { display: grid; grid-template-columns: 1fr auto; column-gap: 0; row-gap: 8px; font-size: 15px; margin-bottom: 16px; }
.summen > span:nth-child(even) { text-align: right; padding-left: 16px; }
.summen .gesamt { font-size: 22px; font-weight: 800; padding-top: 12px; margin-top: 6px; border-top: 2px solid var(--text); }
.summen .klein, .summen small.klein { font-size: 12.5px; color: var(--leise); font-weight: 500; }
.rechtlich { font-size: 13px; color: var(--leise); line-height: 1.55; margin: 12px 0 0; }
.rechtlich a { text-decoration: underline; }
.leer { text-align: center; padding: 52px 24px; }
.leer p { font-size: 18px; margin-bottom: 18px; }
.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; }
.feld input, .feld select, .feld textarea { min-height: 48px; border: 1px solid #d5d9e0; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; background: #fff; color: var(--text); }
.feld textarea { min-height: 90px; padding: 12px 14px; }
.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; line-height: 1.5; }
.haken input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--akzent); }
.haken a { color: var(--akzent); text-decoration: underline; }
.abweichend { margin-top: 18px; font-weight: 700; }
.lieferblock, .kontoblock { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linie); }
.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: var(--leise); 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: #e8e6e0; color: var(--text); font-size: 12px; }
.schritte li:not(:last-child)::after { content: "→"; margin-left: 4px; }
.schritte li[aria-current] { color: var(--text); }
.schritte li[aria-current]::before { background: var(--akzent); color: var(--akzent-text); }
.status { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 750; background: #efede7; }
.status--ok { background: #e3f4ea; color: #1d6b40; }

/* Produktseite */
.mh-produkt { width: min(var(--breite), 100% - 48px); margin: 0 auto; padding: 24px 0 72px; }
.mh-pfad { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--leise); margin-bottom: 20px; }
.mh-pfad a { color: var(--akzent); font-weight: 650; }
.mh-produkt-oben { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.mh-galerie-buehne { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-gross); background: #fff; border: 1px solid var(--linie); display: grid; place-items: center; overflow: hidden; }
.mh-bild { grid-area: 1 / 1; width: 84%; height: 84%; object-fit: contain; opacity: 0; visibility: hidden; }
.mh-neu { position: absolute; top: 16px; left: 16px; background: var(--akzent); color: #fff; border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 800; }
.mh-galerie-leiste { display: grid; grid-template-columns: repeat(auto-fill, 80px); gap: 10px; margin-top: 12px; }
.mh-daumen { width: 80px; height: 80px; border-radius: 10px; background: #fff; border: 2px solid var(--linie); display: grid; place-items: center; cursor: pointer; }
.mh-daumen img { width: 78%; height: 78%; object-fit: contain; }
.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(--akzent); }
.mh-kauf { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.mh-marke { color: var(--akzent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.mh-kauf h1 { margin-top: -4px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; overflow-wrap: anywhere; }
.mh-unter { color: var(--leise); }
.mh-varianten { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-varianten legend { font-size: 13px; font-weight: 750; margin-bottom: 8px; }
.mh-variante input { position: absolute; opacity: 0; }
.mh-variante span { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1.5px solid var(--linie); border-radius: var(--radius); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.mh-variante span b { font-size: 13px; color: var(--leise); font-weight: 650; }
.mh-variante input:checked + span { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }
.mh-preisblock { padding: 16px 0 4px; border-top: 1px solid var(--linie); }
.mh-preis-gross { font-size: 38px; font-weight: 800; color: var(--preis); line-height: 1; }
.mh-preis-gross span { font-size: 17px; font-weight: 650; color: var(--leise); }
.mh-streich { margin-top: 8px; font-size: 15px; color: var(--leise); }
.mh-ersparnis { color: var(--rabatt-schrift, var(--rabatt)); font-weight: 800; margin-left: 8px; }
.mh-preis-zusatz { margin-top: 6px; font-size: 13px; color: var(--leise); }
.mh-preis-zusatz a { text-decoration: underline; }
.mh-lieferung { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.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: 90px 1fr; gap: 10px; }
.mh-menge input { width: 100%; height: 56px; border: 1px solid #d5d9e0; border-radius: var(--radius); text-align: center; font: inherit; font-size: 17px; font-weight: 800; }
.mh-vorteile { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 6px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); font-size: 14px; }
.mh-vorteile li::before { content: "✓"; color: var(--akzent); font-weight: 800; margin-right: 10px; }
.mh-vorteile li.mh-gewaehr { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--linie); }
.mh-vorteile li.mh-gewaehr::before { content: none; }
.mh-gewaehr a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mh-gewaehr img { width: 34px; height: 48px; border: 1px solid var(--linie); border-radius: 3px; background: #fff; }
.gewaehr-label { display: block; width: 100%; max-width: 640px; height: auto; border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
.textseite .gewaehr-label { margin: 18px 0; }
.gewaehr-fenster { border: 0; border-radius: 12px; padding: 0; width: min(680px, 94vw); max-height: 92vh; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.gewaehr-fenster::backdrop { background: rgba(10, 20, 35, .6); }
.gewaehr-fenster img { display: block; width: 100%; height: auto; }
.gewaehr-fenster form { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 8px; background: #fff; border-bottom: 1px solid var(--linie); }
.gewaehr-fenster button { font: inherit; font-weight: 700; border: 1px solid var(--linie); background: #fff; border-radius: 8px; padding: 6px 14px; cursor: pointer; }
.mh-abschnitt { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--linie); }
.mh-abschnitt > h2 { margin-bottom: 20px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.mh-text { max-width: 860px; line-height: 1.75; }
.mh-text h2, .mh-text h3, .mh-text h4 { margin: 28px 0 10px; line-height: 1.25; }
.mh-text h2 { font-size: 22px; } .mh-text h3 { font-size: 19px; } .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 a { color: var(--akzent); text-decoration: underline; }
.mh-text table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; background: #fff; font-size: 15px; }
.mh-text th, .mh-text td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.mh-daten { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; max-width: 860px; margin: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.mh-daten dt, .mh-daten dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--linie); font-size: 15px; }
.mh-daten dt { font-weight: 750; }
.mh-adressen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mh-adressen > div { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; font-size: 14.5px; line-height: 1.6; }
.mh-adressen h3 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); }
.mh-adressen p { overflow-wrap: anywhere; }
.mh-aehnlich { margin-top: 56px; padding: 0 !important; width: 100%; }

@media (max-width: 1100px) { .mh-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .zweispaltig, .mh-produkt-oben { grid-template-columns: 1fr; }
  .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; }
  .posten { grid-template-columns: 1fr auto; } .posten .betrag { grid-column: 2; }
  .posten--bild { grid-template-columns: 72px 1fr auto; } .posten--bild .posten-bild { width: 72px; height: 72px; grid-row: span 2; } .posten--bild .betrag { grid-column: 3; }
  .posten--klein { grid-template-columns: 56px 1fr auto; } .posten--klein .posten-bild { width: 56px; height: 56px; grid-row: auto; }
  .kasten { padding: 20px 16px; }
}
@media (max-width: 720px) {
  .innen, .home-gallery, .mh-produkt { width: calc(100% - 28px); }
  .mh-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-gallery-card { padding: 10px 10px 14px; }
  .home-gallery-card h3 { font-size: 15px; }
  .mh-preis { font-size: 18px; }
  .home-gallery-actions a + a { display: none; }
}

.unterkategorien { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.unterkategorien a { padding: 7px 14px; border: 1px solid var(--linie, #ddd); border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--karte, #fff); }
.unterkategorien a:hover, .unterkategorien a.active { border-color: var(--akzent); color: var(--akzent); }

/* Barrierefreiheit: Links im Fließtext nicht nur an der Farbe erkennbar */
p a, label a, .rechtlich a, li a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }

/* 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; }
@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: .8rem 1rem; border: 1px solid color-mix(in srgb, #c9ccd3 26%, #fff); background-color: color-mix(in srgb, #c9ccd3 7%, #fff); border-radius: 10px}
.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; }

/* Kasse: Unternehmenskauf und Packstation klappen erst mit dem Haken auf */
.unternehmen { font-weight: 700; margin-bottom: 14px; }
.firmenblock, .packblock { display: none; }
.firmenblock { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.packblock { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linie); }
.kasten:has(#unternehmen:checked) .firmenblock, .kasten:has(#packstation:checked) .packblock { display: block; }
.firmenblock .rechtlich, .packblock .rechtlich { margin: 8px 0 12px; }
.firmenblock .felder { margin-top: 4px; } .packblock h2 { margin-bottom: 6px; }
