/* Shop NextDealZone – Handy zuerst, hell (Standard) oder dunkel nach Wahl. Aus dem freigegebenen Design-Entwurf (25.11.2026). */
:root {
  --grund: #f4f5f7;
  --flaeche: #ffffff;
  --flaeche-2: #eef0f3;
  --linie: #dde1e6;
  --text: #1b1f24;
  --leise: #59626d;
  --akzent: #0b63bd;
  --akzent-weich: #e6f0fb;
  --kaufen: #17772f;
  --kaufen-hover: #12632a;
  --kaufen-text: #ffffff;
  --ok: #17772f;
  --hinweis-grund: #fff4d6;
  --hinweis-text: #5c4300;
  --rund: 12px;
  --schatten: 0 1px 2px rgb(0 0 0 / .06), 0 2px 8px rgb(0 0 0 / .04);
  color-scheme: light;
}
/* Hell ist Standard (Julian 25.11.2026); dunkel nur, wenn der Besucher es oben im Kopf wählt. */
:root[data-theme="dark"] {
  --grund: #121418; --flaeche: #1b1f24; --flaeche-2: #242a31; --linie: #323a43;
  --text: #e8eaed; --leise: #a6aeb8; --akzent: #74b4ff; --akzent-weich: #1a2b40;
  --kaufen: #1f8a3c; --kaufen-hover: #26a047; --kaufen-text: #ffffff; --ok: #5cc879;
  --hinweis-grund: #3a2f0f; --hinweis-text: #f5dc94;
  --schatten: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
}
/* Silbentrennung nur in Fließtext und schmalen Kacheln, nicht in Titeln, Preisen und Knöpfen */
.koerper p, .held p, .kachel, .leer, .hilfe-box p, .schritte-finden span { hyphens: auto; }
img { max-width: 100%; display: block; }
a { color: var(--akzent); }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0; }
.leise { color: var(--leise); }
.klein { font-size: .875rem; }
.huelle { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Testbetrieb-Leiste (bis zur Freigabe) */

/* Kopf */
.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 10; }
.kopf-zeile { display: flex; align-items: center; gap: 8px; min-height: 56px; }
/* Marke: NDZ-Logo (wie bei eBay/Temu) + Schriftzug, größer seit 25.11.2026 (Julian). */
.marke { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.1; color: var(--text); text-decoration: none; margin-right: auto; padding: 6px 0; white-space: nowrap; }
.marke-logo { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.marke-text span, .verwaltung .marke > span { color: var(--akzent); }
.knopf-ico { display: inline-flex; align-items: center; justify-content: center; position: relative; min-width: 44px; height: 44px; border-radius: 10px; color: var(--text); text-decoration: none; }
.knopf-ico:hover { background: var(--flaeche-2); }
/* Umschalter hell/dunkel: Symbol und Wort, 44 px hoch. */
.darstellung { margin: 0; }
.darstellung button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche-2); color: var(--text); font: inherit; font-size: .875rem; cursor: pointer; }
.darstellung button:hover { border-color: var(--akzent); color: var(--akzent); }
.darstellung .nur-dunkel { display: none; }
/* Schmale Handys: nur das Symbol (Name steht im aria-label), damit Logo und Schriftzug Platz haben. */
@media (max-width: 419px) { .darstellung button { padding: 0; width: 44px; justify-content: center; } .darstellung .knopf-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
:root[data-theme="dark"] .darstellung .nur-dunkel { display: inline-flex; }
:root[data-theme="dark"] .darstellung .nur-hell { display: none; }
.zahl { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--kaufen); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.suche { padding-bottom: 10px; }
.suche form { display: flex; gap: 0; }
.suche input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; font: inherit; color: var(--text); background: var(--flaeche-2); border: 1px solid var(--linie); border-right: 0; border-radius: 10px 0 0 10px; }
.suche input::placeholder { color: var(--leise); }
.suche button { width: 52px; height: 46px; border: 0; border-radius: 0 10px 10px 0; background: var(--akzent); color: #fff; display: grid; place-items: center; cursor: pointer; }
:root[data-theme="dark"] .suche button { color: #0b1a2b; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.nav::-webkit-scrollbar { display: none; }
/* Maus statt Finger (PC): Wischen geht nicht, also umbrechen – alle Kategorien sichtbar. */
@media (hover: hover) and (pointer: fine) { .nav, .filter { flex-wrap: wrap; overflow-x: visible; } }
.nav a { flex: none; padding: 10px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: .9375rem; }
.nav a:hover, .nav a[aria-current] { background: var(--akzent-weich); color: var(--akzent); }

@media (min-width: 900px) {
  .kopf-zeile { min-height: 68px; gap: 16px; }
  .kopf-zeile .suche { flex: 0 1 480px; padding: 0; order: 0; }
  .marke { margin-right: 0; font-size: 1.75rem; gap: 10px; }
  .marke-logo { width: 48px; height: 48px; }
  .kopf-zeile .rechts { margin-left: auto; }
  .darstellung { margin-left: auto; }
  .darstellung + .rechts { margin-left: 0; }
}

main { padding: 16px 0 32px; }
.abschnitt { margin-top: 28px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

/* Start */
.held { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px 16px; }
.held h1 { font-size: clamp(1.4rem, 5.6vw, 2rem); }
.held p { margin-top: 8px; color: var(--leise); }
.vorteile { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.vorteile li { display: flex; gap: 10px; align-items: center; font-size: .9375rem; }
.vorteile svg { color: var(--ok); }
.schritte-finden { list-style: none; counter-reset: schritt; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.schritte-finden li { counter-increment: schritt; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; font-size: .9375rem; }
.schritte-finden li::before { content: counter(schritt); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--akzent-weich); color: var(--akzent); font-weight: 800; display: grid; place-items: center; }
.schritte-finden span { color: var(--leise); font-size: .875rem; }
.hilfe-box { margin-top: 16px; padding: 14px; border-radius: 10px; background: var(--akzent-weich); display: grid; gap: 6px; font-size: .9375rem; }
.hilfe-box .knopf { justify-self: start; min-height: 44px; font-size: .9375rem; margin-top: 4px; }
.tipp { margin-top: 16px; padding: 12px 14px; background: var(--akzent-weich); border-radius: 10px; font-size: .9375rem; }
@media (min-width: 700px) {
  .held { padding: 32px; }
  .vorteile, .schritte-finden { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kachel { display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); color: var(--text); text-decoration: none; }
.kachel:hover { border-color: var(--akzent); }
.kachel strong { font-size: .9375rem; }
.kachel span { font-size: .8125rem; color: var(--leise); }
@media (min-width: 700px) { .kacheln { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Produktkarten */
.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.karte { display: flex; flex-direction: column; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; color: var(--text); text-decoration: none; box-shadow: var(--schatten); }
.karte:hover { border-color: var(--akzent); }
.karte .bild { aspect-ratio: 1; background: #fff; }
.karte .bild img { width: 100%; height: 100%; object-fit: contain; }
.karte .inhalt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.karte .titel { font-weight: 600; font-size: .875rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte .nr { font-size: .75rem; color: var(--leise); }
.karte .preis { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 1.0625rem; }
.marke-schild { display: inline-block; align-self: flex-start; font-size: .6875rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--akzent-weich); color: var(--akzent); }
.marke-schild.original { background: var(--kaufen); color: var(--kaufen-text); }

/* Gesamtübersicht und Einstiege */
.knopf-breit { width: 100%; margin-top: 14px; }
.kachel .kachel-zahl { margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--akzent); }
.chips-umbruch { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-umbruch .chip { gap: 6px; }
.auswahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.auswahl label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.auswahl select { width: 100%; max-width: 100%; }
.auswahl .haken { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; align-self: end; font-size: .9375rem; color: var(--text); }
.auswahl .haken input { width: 22px; height: 22px; margin: 0; }
@media (min-width: 900px) { .auswahl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mehr { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; text-align: center; }
.karte { scroll-margin-top: 16px; }
.lager { font-size: .75rem; color: var(--ok); }

/* Brotkrumen, Filter */
.krumen { font-size: .8125rem; color: var(--leise); margin-bottom: 8px; }
.zurueck-zeile { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-width: 0; }
.zurueck-zeile .krumen { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zurueck { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); font-weight: 600; text-decoration: none; }
.zurueck:hover { border-color: var(--akzent); color: var(--akzent); }
.krumen a { color: var(--leise); }
.filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -16px; padding: 0 16px; }
.filter::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); font: inherit; font-size: .875rem; cursor: pointer; }
.chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="true"] { background: var(--text); color: var(--flaeche); border-color: var(--text); }
.leiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
select { font: inherit; color: var(--text); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; min-height: 44px; padding: 0 10px; max-width: 60%; }

/* Produktseite */
.produkt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .produkt { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; } }
.galerie { background: #fff; border-radius: var(--rund); border: 1px solid var(--linie); overflow: hidden; }
.galerie-band { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerie-band::-webkit-scrollbar { display: none; }
.galerie-buehne { position: relative; }
.galerie-bild { flex: 0 0 100%; display: block; scroll-snap-align: center; cursor: zoom-in; }
.galerie-bild img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.galerie-pfeil { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d5dae0; background: rgba(255,255,255,.92); color: #1b1f24; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.galerie-pfeil.zurueck { left: 8px; }
.galerie-pfeil.vor { right: 8px; }
.galerie-pfeil[disabled] { opacity: 0; pointer-events: none; }
.galerie-zahl { position: absolute; right: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(27,31,36,.72); color: #fff; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.daumen { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px; background: #fff; border-top: 1px solid #e4e7eb; }
.daumen::-webkit-scrollbar { display: none; }
.daumen a { flex: none; display: block; width: 56px; height: 56px; border-radius: 8px; border: 2px solid #e4e7eb; overflow: hidden; }
.daumen a[aria-current="true"] { border-color: #0b63bd; }
.daumen img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vollbild { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; }
.vollbild::backdrop { background: #000; }
.vollbild-band { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vollbild-band::-webkit-scrollbar { display: none; }
.vollbild-band img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.vollbild-zu { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1b1f24; cursor: pointer; }
.vollbild .galerie-zahl { bottom: max(14px, env(safe-area-inset-bottom)); right: 50%; transform: translateX(50%); }
.kaufbox { display: flex; flex-direction: column; gap: 12px; }
.kaufbox h1 { font-size: 1.3rem; }
.teilenummer { font-size: .9375rem; }
.teilenummer strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; padding: 2px 8px; border-radius: 6px; background: var(--flaeche-2); border: 1px solid var(--linie); }
.passt > a, .vorteile a { display: inline-block; padding: 11px 0; margin: -11px 0 -11px 4px; }
.kaufbox .hilfe-box { margin-top: 0; }
.preiszeile { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.preis-gross { font-size: 1.75rem; font-weight: 800; }
.steuer { font-size: .8125rem; color: var(--leise); }
.box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 14px; }
.zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.zeilen li { display: flex; gap: 10px; align-items: flex-start; }
.zeilen svg { color: var(--ok); margin-top: 1px; }
.menge { display: inline-flex; align-items: center; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); }
.menge button { width: 44px; height: 44px; border: 0; background: none; color: var(--text); font-size: 1.25rem; cursor: pointer; }
.menge output { min-width: 32px; text-align: center; font-weight: 600; }
.menge input { width: 56px; height: 44px; border: 0; border-left: 1px solid var(--linie); border-right: 1px solid var(--linie); background: none; color: var(--text); font: inherit; font-weight: 600; font-size: 1.0625rem; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.menge input::-webkit-outer-spin-button, .menge input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.menge button:disabled { color: var(--leise); cursor: default; }
.menge-wahl { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.menge-wahl label { font-weight: 600; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; }
.knopf-kaufen { background: var(--kaufen); color: var(--kaufen-text); }
.knopf-kaufen:hover { background: var(--kaufen-hover); }
.knopf[disabled] { background: var(--flaeche-2); color: var(--leise); border: 1px solid var(--linie); cursor: not-allowed; }
.lager.nein { color: var(--leise); }
.anzahl { margin-top: 4px; }
.tipps { margin: 12px 0 0; padding-left: 20px; color: var(--leise); display: grid; gap: 4px; }
.leer { margin-top: 16px; padding: 16px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); }
.knopf-zweit { background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); }
.knopf-paypal { background: #ffc439; color: #111; }
.breit { width: 100%; }
.kaufzeile { display: flex; gap: 10px; }
.kaufzeile .knopf { flex: 1; }
.passt form { display: flex; gap: 8px; margin-top: 8px; }
.passt input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; font: inherit; color: var(--text); background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 10px; }
.passt .ergebnis { margin-top: 8px; font-size: .9375rem; font-weight: 600; }
.passt .anfrage { margin: 10px 0 0; }
.passt .ergebnis.ja { color: var(--ok); }
.passt .ergebnis.nein { color: #c2410c; }
.passt .ergebnis a { display: inline-block; margin-top: 4px; min-height: 40px; line-height: 40px; }
:root[data-theme="dark"] .passt .ergebnis.nein { color: #fb923c; }
details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); }
details + details { margin-top: 8px; }
summary { list-style: none; cursor: pointer; min-height: 52px; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--leise); }
details[open] summary::after { content: "–"; }
details .koerper { padding: 0 16px 16px; display: grid; gap: 10px; font-size: .9375rem; }
dl.daten { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 12px; margin: 0; }
dl.daten dt { color: var(--leise); }
dl.daten dd { margin: 0; }
.modelle { max-height: 220px; overflow: auto; border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px; columns: 2; column-gap: 16px; font-size: .875rem; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.modelle div { break-inside: avoid; padding: 2px 0; }
.modelle b { display: block; font-family: system-ui, sans-serif; column-span: all; padding-top: 6px; }
.platzhalter { color: var(--hinweis-text); background: var(--hinweis-grund); border-radius: 4px; padding: 0 4px; }

/* feste Kaufleiste nur am Handy */
.kaufleiste { position: sticky; bottom: 0; z-index: 9; background: var(--flaeche); border-top: 1px solid var(--linie); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.kaufleiste .knopf { flex: 1; }
.kaufleiste .preis-klein { font-weight: 800; font-size: 1.125rem; white-space: nowrap; }
.kaufleiste.versteckt { display: none; }
@media (min-width: 900px) { .kaufleiste { display: none; } }

/* Warenkorb, Kasse */
.seite-zwei { display: grid; gap: 16px; }
@media (min-width: 900px) { .seite-zwei { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } }
.posten { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); }
.posten + .posten { margin-top: 10px; }
.posten img { width: 80px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.posten .titel { font-size: .9375rem; }
.posten .unten { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.textknopf { background: none; border: 0; color: var(--akzent); font: inherit; font-size: .875rem; text-decoration: underline; min-height: 44px; padding: 0 4px; cursor: pointer; }
.summe { display: grid; gap: 8px; }
.summe .z { display: flex; justify-content: space-between; gap: 12px; }
.summe .gesamt { font-weight: 800; font-size: 1.2rem; border-top: 1px solid var(--linie); padding-top: 10px; margin-top: 4px; }

.schritte { display: flex; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: .8125rem; }
.schritte li { flex: 1; text-align: center; padding: 8px 4px; border-radius: 8px; background: var(--flaeche-2); color: var(--leise); }
.schritte li[aria-current] { background: var(--akzent-weich); color: var(--akzent); font-weight: 700; }
fieldset { border: 1px solid var(--linie); border-radius: var(--rund); background: var(--flaeche); margin: 0 0 12px; padding: 14px; }
legend { font-weight: 700; padding: 0 6px; }
.feld { display: grid; gap: 4px; margin-bottom: 12px; }
.feld label { font-size: .875rem; font-weight: 600; }
.feld input { height: 48px; padding: 0 12px; font: inherit; color: var(--text); background: var(--flaeche); border: 1px solid #8b949e; border-radius: 10px; width: 100%; }
.feld .hilfe { font-size: .8125rem; color: var(--leise); }
.zwei-felder { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px; }
.wahl { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 10px 12px; border: 2px solid var(--akzent); border-radius: 10px; }
.wahl input { width: 22px; height: 22px; accent-color: var(--akzent); }
.rechtlich { font-size: .8125rem; color: var(--leise); }

/* Fuß */
.fuss { background: var(--flaeche); border-top: 1px solid var(--linie); padding: 24px 0 32px; font-size: .9375rem; }
.fuss .spalten { display: grid; gap: 20px; }
@media (min-width: 700px) { .fuss .spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fuss ul { list-style: none; margin: 8px 0 0; padding: 0; }
.fuss li a { display: block; padding: 10px 0; color: var(--text); }
.widerruf-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin-top: 8px; border: 1px solid var(--text); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.fuss .steuerhinweis { margin-top: 20px; font-size: .8125rem; color: var(--leise); }

/* Verwaltung (/verwaltung, nicht öffentlich verlinkt) */
.verwaltung main { padding: 16px 0 40px; }
.verwaltung .kopf-zeile { justify-content: space-between; gap: 12px; }
.verwaltung .marke small { font-size: .8125rem; font-weight: 400; }
.knopf-klein { min-height: 44px; padding: 0 14px; font-size: .9375rem; }
.v-schmal { max-width: 420px; margin: 24px auto; display: grid; gap: 12px; }
.v-voll { width: 100%; }
.v-titel { margin: 8px 0 12px; }
.v-suche { margin-bottom: 12px; }
.v-fehler { background: var(--hinweis-grund); color: var(--hinweis-text); padding: 10px 12px; border-radius: 10px; margin: 8px 0; }
.v-ok { color: var(--ok); font-weight: 600; margin: 8px 0; }
.v-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-liste a { display: flex; gap: 12px; align-items: center; min-height: 72px; padding: 8px 12px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); color: var(--text); text-decoration: none; }
.v-liste a:hover { border-color: var(--akzent); }
.v-bild { flex: none; width: 56px; height: 56px; background: #fff; border-radius: 8px; overflow: hidden; }
.v-bild img { width: 100%; height: 100%; object-fit: contain; }
.v-text { display: grid; gap: 2px; min-width: 0; }
.v-form { display: grid; gap: 4px; margin: 12px 0; }
.v-form .wahl { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; }
.feld textarea, .feld select { padding: 10px 12px; font: inherit; color: var(--text); background: var(--flaeche); border: 1px solid #8b949e; border-radius: 10px; width: 100%; }
.feld select { height: 48px; padding: 0 12px; }
.feld input[type="file"] { height: auto; padding: 10px 12px; }
.v-bilder { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.v-bilder img { width: 80px; height: 80px; object-fit: contain; background: #fff; border: 1px solid var(--linie); border-radius: 8px; }

/* Warenkorb, Kasse, Bestellung, Rechtsseiten (Stufe S2) */
.abstand { margin-top: 12px; }
.klein-titel { font-size: 1.05rem; margin: 0 0 8px; }
.kaufleiste form { flex: 1; display: flex; }
.kaufleiste form .knopf { flex: 1; }
.in-korb { display: flex; flex-direction: column; flex: 1; }
.zahlarten { display: grid; gap: 10px; }
.wahl { border-color: var(--linie); cursor: pointer; }
.wahl:has(input:checked) { border-color: var(--akzent); }
.fehlertext { font-size: .875rem; font-weight: 600; color: var(--hinweis-text); background: var(--hinweis-grund); border-radius: 6px; padding: 4px 8px; }
.feld input[aria-invalid="true"] { border: 2px solid var(--hinweis-text); }
.menge-form { display: flex; gap: 8px; align-items: center; }
.menge-form select { height: 44px; min-width: 72px; padding: 0 10px; font: inherit; color: var(--text); background: var(--flaeche); border: 1px solid #8b949e; border-radius: 10px; }
.summe .knopf { margin-top: 6px; }
.daten.bank dd { overflow-wrap: anywhere; }
.rechtstext { max-width: 44rem; }
.rechtstext h2 { font-size: 1.2rem; margin: 24px 0 6px; }
.rechtstext h3 { font-size: 1rem; margin: 18px 0 4px; }
.rechtstext p, .rechtstext li { overflow-wrap: anywhere; }
.rechtstext p + p { margin-top: 8px; }
.v-bestellung { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
.daten.bank { grid-template-columns: auto minmax(0, 1fr); margin: 8px 0; }
.daten.bank dt { white-space: nowrap; }
.box > p + p, .box > p + dl, .box > dl + p { margin-top: 8px; }

/* Kundenkonto */
.kopf-zeile .rechts ~ .rechts { margin-left: 0; }
.konto-schmal { max-width: 480px; }
.konto-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.konto-liste a { display: block; padding: 12px 14px; min-height: 44px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; color: var(--text); text-decoration: none; }
.haken-zeile { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 4px 0 12px; font-weight: 600; }
.haken-zeile input { width: 22px; height: 22px; margin: 0; }
.haken-zeile:has(input:not(:checked)) + .lieferadresse { display: none; }
.konto-loeschen > p, .konto-loeschen > form { padding: 0 16px 16px; }

/* Kasse: abweichende Lieferadresse – Felder nur bei Haken (ohne :has() bleiben sie sichtbar) */
.haken { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.haken input { width: 22px; height: 22px; margin: 0; accent-color: var(--kaufen); }
.liefer-wahl:has(.haken input:not(:checked)) .liefer-felder { display: none; }

/* Packungsgrößen auf der Produktseite (Julian 26.11.2026) */
.pakete { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pakete legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.paket { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); cursor: pointer; }
.paket input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--akzent); }
.paket:has(input:checked) { border-color: var(--akzent); box-shadow: inset 0 0 0 1px var(--akzent); background: var(--akzent-weich); }
.paket.aus { opacity: .6; cursor: default; }
.paket-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.paket-preis { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.paket-spar { color: var(--ok); font-weight: 600; }

/* Mehrere Merkmale (z. B. Widerstand und Stückzahl): Werte als Kacheln */
.pakete.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pakete.chips legend { width: 100%; }
.pakete.chips .paket { min-height: 44px; padding: 8px 12px; gap: 8px; }
.varianten-info { min-height: 1.4em; margin: 0 0 12px; color: var(--leise); }

/* Bestandshinweis (nur echter, frischer Bestand aus dem Repricer) und Teile für dieselben Geräte */
.knapp { color: #c2410c; font-weight: 600; }
:root[data-theme="dark"] .knapp { color: #fb923c; }
.geraete-treffer { margin: 0 0 12px; }
.passt-auch h2 { margin: 0 0 4px; font-size: 1.125rem; }
.passt-auch > p { margin: 0 0 12px; }

/* Bewertungen: nur sichtbar, wenn es freigegebene gibt; Formular immer */
.sterne { position: relative; display: inline-block; color: #9ca3af; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.sterne-voll { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #d97706; }
.sterne.gross { font-size: 1.25rem; }
:root[data-theme="dark"] .sterne { color: #4b5563; }
:root[data-theme="dark"] .sterne-voll { color: #fbbf24; }
.bew-kurz { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text); text-decoration: none; font-size: .9375rem; }
.bew-kurz > span:last-child { text-decoration: underline; }
.bewertungen h2 { margin: 0 0 4px; font-size: 1.125rem; }
.bew-schnitt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.bew-liste { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.bew-liste li { padding: 12px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); overflow-wrap: anywhere; }
.bew-liste p { margin: 4px 0 0; }
.bew-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 !important; }
.bew-kauf { color: var(--ok); font-weight: 600; }
.bew-form summary { min-height: 48px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.bew-sterne { border: 0; margin: 0 0 12px; padding: 0; }
.bew-sterne legend { font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.bew-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.bew-wahl .chip { min-height: 44px; gap: 6px; }
.bew-wahl input { width: 20px; height: 20px; margin: 0; }
.bew-wahl .chip:has(input:checked) { border-color: var(--akzent); border-width: 2px; }
.bew-einwilligung { align-items: flex-start; font-weight: 400; }
.bew-einwilligung input { flex: none; margin-top: 2px; }
.bew-pruefung { margin-top: 12px; }
.nur-bot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.v-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.v-bew-text { white-space: pre-line; overflow-wrap: anywhere; }
.v-liste a.v-link { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--akzent); text-decoration: underline; }
