/* ==========================================================================
   Zweitschicht: Gestaltung nach den Bannern (dunkle Werkhalle, warmes Licht,
   kraeftige Versalien, Warnorange als Akzent). Hell- und Dunkelmodus ueber
   Variablen, Umschalter setzt data-theme am <html>.
   ========================================================================== */

:root {
  --bg: #f4f1eb;
  --flaeche: #ffffff;
  --flaeche-2: #ebe6de;
  --flaeche-3: #e0d9cf;
  --text: #1b1813;
  --text-2: #655d53;
  --text-3: #948a7d;
  --rand: #dcd5cb;
  --rand-stark: #bfb6a9;
  --akzent: #f06a17;
  --akzent-hover: #d75a0e;
  --akzent-weich: #fdebdd;
  --akzent-text: #ffffff;
  --gelb: #f2c200;
  --gelb-weich: #fff6cc;
  --gruen: #2f9e5a;
  --gruen-weich: #e1f4e8;
  --rot: #d1382c;
  --rot-weich: #fbe4e1;
  --dunkel: #16140f;
  --dunkel-2: #211e18;
  --dunkel-text: #ece6dc;
  --dunkel-text-2: #a89e90;
  --schatten: 0 1px 2px rgba(27, 24, 19, .06), 0 8px 24px -12px rgba(27, 24, 19, .18);
  --schatten-stark: 0 2px 6px rgba(27, 24, 19, .08), 0 24px 48px -20px rgba(27, 24, 19, .35);
  --radius: 14px;
  --radius-klein: 8px;
  --schrift: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-kopf: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  color-scheme: light;
}

/* Hell ist Standard. Dunkel nur ueber den Schalter, nicht nach Systemeinstellung. */
:root[data-theme="dark"] {
  --bg: #131109;
  --flaeche: #1d1a14;
  --flaeche-2: #26221b;
  --flaeche-3: #302b22;
  --text: #f1ece3;
  --text-2: #aaa092;
  --text-3: #7d746a;
  --rand: #322d25;
  --rand-stark: #4a433a;
  --akzent: #ff7a2b;
  --akzent-hover: #ff9150;
  --akzent-weich: #3a2416;
  --akzent-text: #16140f;
  --gelb: #ffd21f;
  --gelb-weich: #3a3210;
  --gruen: #4fc47e;
  --gruen-weich: #1b3324;
  --rot: #ff6a5c;
  --rot-weich: #3d1e1a;
  --dunkel: #0d0c09;
  --dunkel-2: #16140f;
  --dunkel-text: #ece6dc;
  --dunkel-text-2: #a89e90;
  --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --schatten-stark: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 48px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ------------------------------------------------------------ Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--akzent); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--schrift-kopf);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
s { color: var(--text-3); }
.innen { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .innen { padding: 0 28px; } }
.leise { color: var(--text-3); font-weight: 400; }
.kleingedruckt { font-size: 13px; color: var(--text-2); }
.kleingedruckt code { background: var(--flaeche-2); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.nur-schmal { display: none !important; }
@media (max-width: 899px) {
  .nur-schmal { display: inline-flex !important; }
  .nur-breit { display: none !important; }
}
i.ok {
  display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px;
  border-radius: 50%; background: var(--akzent); position: relative; flex: none;
}
i.ok::after {
  content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ueberzeile {
  display: inline-block; font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: 13px; color: var(--akzent); margin-bottom: 6px;
}

/* ------------------------------------------------------------ Knoepfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--akzent); color: var(--akzent-text);
  font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: .01em;
  border: 1.5px solid var(--akzent); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.knopf:hover { background: var(--akzent-hover); border-color: var(--akzent-hover); color: var(--akzent-text); }
.knopf:active { transform: translateY(1px); }
.knopf.hell { background: var(--flaeche); color: var(--text); border-color: var(--rand-stark); }
.knopf.hell:hover { border-color: var(--text); background: var(--flaeche); color: var(--text); }
.knopf.gross { padding: 15px 28px; font-size: 16px; }
.knopf.voll { width: 100%; }
.knopf .pfeil { font-size: 18px; line-height: 0; }
.linkknopf { color: var(--text-2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.linkknopf:hover { color: var(--akzent); }
.korb-knopf .text-drin, .herz-knopf .text-drin { display: none; }
.korb-knopf.im-korb .text-dazu, .herz-knopf.aktiv .text-dazu { display: none; }
.korb-knopf.im-korb .text-drin, .herz-knopf.aktiv .text-drin { display: inline; }
.korb-knopf.im-korb { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.korb-knopf.im-korb:hover { background: var(--gruen); border-color: var(--gruen); filter: brightness(1.08); }
.herz-knopf.aktiv { color: var(--rot); border-color: var(--rot); }
.herz-knopf svg { fill: transparent; }
.herz-knopf.aktiv svg { fill: currentColor; }

/* ------------------------------------------------------------ Topbar */
.topbar { background: var(--dunkel); color: var(--dunkel-text); font-size: 13px; }
.topbar-innen { display: flex; gap: 28px; justify-content: center; padding-top: 8px; padding-bottom: 8px; white-space: nowrap; overflow: hidden; }
.topbar span { display: inline-flex; align-items: center; }
@media (max-width: 899px) {
  .topbar-innen { gap: 18px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .topbar-innen::-webkit-scrollbar { display: none; }
}

/* ------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 80; background: var(--flaeche); border-bottom: 1px solid var(--rand); box-shadow: 0 1px 0 var(--rand); }
.kopf-innen {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.marke {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--schrift-kopf); font-weight: 800; text-transform: uppercase;
  font-size: 26px; letter-spacing: .02em; line-height: 1; white-space: nowrap;
}
.marke:hover { color: inherit; }
/* Logo: zwei Striche wie Hosenbeine, Entwurf 1 aus assets/01 Logo */
.marke-zeichen { width: 27px; height: 29px; fill: var(--akzent); flex: none; }
.suche { display: flex; max-width: 620px; width: 100%; margin: 0 auto; }
.suche input {
  flex: 1; min-width: 0; padding: 11px 18px; border: 1.5px solid var(--rand-stark); border-right: 0;
  border-radius: 999px 0 0 999px; background: var(--bg); outline: none; font-size: 15px;
}
.suche input:focus { border-color: var(--akzent); }
.suche button {
  align-self: stretch; margin: 0; padding: 0 18px; overflow: hidden; background: var(--dunkel); color: #fff; border-radius: 0 999px 999px 0;
  display: inline-flex; align-items: center; border: 1.5px solid var(--dunkel);
}
.suche button:hover { background: var(--akzent); border-color: var(--akzent); }
.kopf-aktionen { display: flex; gap: 6px; align-items: center; }
.kopf-knopf {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text);
}
.kopf-knopf:hover { background: var(--flaeche-2); color: var(--text); }
.kopf-knopf.korb { background: var(--flaeche-2); }
.zaehler {
  position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--dunkel); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.zaehler.orange { background: var(--akzent); color: var(--akzent-text); }
/* display muss zurueckgenommen werden, sonst gewinnt es gegen [hidden]. */
.zaehler[hidden] { display: none; }
/* Kompakter Schalter: Sonne und Mond sitzen im Knopf, der Knopf wandert. */
.theme-schalter { position: relative; flex: none; width: 46px; height: 26px; margin: 0 6px; border-radius: 999px; background: var(--flaeche-3); border: 1px solid var(--rand-stark); transition: background .25s, border-color .25s; }
.theme-schalter:hover { border-color: var(--text-2); }
.schalter-knopf { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); display: grid; place-items: center; transition: transform .25s; }
.schalter-knopf svg { position: absolute; width: 13px; height: 13px; fill: none; stroke-width: 2.4; stroke-linecap: round; transition: opacity .2s; }
.schalter-knopf .sonne { stroke: var(--akzent); }
.schalter-knopf .mond { stroke: #16140f; opacity: 0; }
[data-theme="dark"] .theme-schalter { background: #3a342b; border-color: #4a433a; }
[data-theme="dark"] .schalter-knopf { transform: translateX(20px); background: #f1ece3; }
[data-theme="dark"] .schalter-knopf .sonne { opacity: 0; }
[data-theme="dark"] .schalter-knopf .mond { opacity: 1; }
.korb-wert { font-weight: 700; white-space: nowrap; }
.tb-ikon { width: 16px; height: 16px; margin-right: 7px; fill: none; stroke: var(--akzent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-punkt > a.nav-sale { color: var(--rot); }
@media (max-width: 899px) {
  .kopf-innen { grid-template-columns: 1fr auto; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .suche { grid-column: 1 / -1; max-width: none; }
  .kopf-wort { display: none; }
  .korb-wert.ohne-betrag { display: none; }
  .kopf-knopf { padding: 8px 10px; }
  .kopf-aktionen { flex-wrap: nowrap; gap: 2px; }
  .marke { font-size: 22px; }
  .marke-zeichen { height: 24px; width: 22px; }
}

/* ------------------------------------------------------------ Navigation */
.hauptnav { border-top: 1px solid var(--rand); background: var(--flaeche); }
.hauptnav-innen { display: flex; gap: 4px; align-items: stretch; }
.nav-punkt { position: relative; }
.nav-punkt > a {
  display: inline-flex; align-items: center; padding: 11px 14px;
  font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .04em;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav-punkt > a:hover { border-bottom-color: var(--akzent); color: var(--text); }
.nav-rechts { margin-left: auto; }
.nav-klappe {
  position: absolute; left: 0; top: 100%; min-width: 240px; padding: 8px;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-klein);
  box-shadow: var(--schatten-stark); display: none; z-index: 90;
}
.nav-klappe a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.nav-klappe a span { color: var(--text-3); font-size: 12px; }
.nav-klappe a:hover { background: var(--flaeche-2); color: var(--text); }
.nav-punkt:hover .nav-klappe, .nav-punkt:focus-within .nav-klappe { display: block; }
@media (max-width: 899px) {
  .hauptnav-innen { overflow-x: auto; scrollbar-width: none; }
  .hauptnav-innen::-webkit-scrollbar { display: none; }
  .nav-punkt > a { padding: 9px 10px; font-size: 15px; }
  .nav-klappe { display: none !important; }
  .nav-rechts { margin-left: 0; }
}

/* ------------------------------------------------------------ Brotkrumen */
.brotkrumen { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 4px; font-size: 13px; color: var(--text-2); }
.brotkrumen span { color: var(--text-3); }
.brotkrumen strong { color: var(--text); font-weight: 600; }

main { padding-bottom: 60px; min-height: 50vh; }

/* ------------------------------------------------------------ Banner-Slider */
.slider { position: relative; margin-top: 18px; }
.slider-spur { position: relative; aspect-ratio: 3 / 1; border-radius: 18px; overflow: hidden; background: #0e0d0a; box-shadow: var(--schatten-stark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.aktiv { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-knopf.knopf { position: absolute; bottom: 12%; padding: 17px 32px; font-size: 18px; border: 3px solid #fff; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .8); }
.slide-knopf.knopf:hover { border-color: #fff; }
.slide-knopf.seite-links { right: 7%; }
.slide-knopf.seite-rechts { left: 7%; }
/* Die Pfeile sitzen halb ausserhalb des Bildes, damit sie keinen Bannertext verdecken. */
.slider-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 54px; height: 54px; border-radius: 50%;
  background: var(--flaeche); color: var(--text); display: grid; place-items: center;
  border: 1px solid var(--rand); box-shadow: var(--schatten-stark); transition: background .2s, color .2s;
}
.slider-pfeil svg { display: block; }
.slider-pfeil.links { left: -27px; }
.slider-pfeil.rechts { right: -27px; }
.slider-pfeil:hover { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.slider-punkte { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-punkte button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .25s, background .25s; }
.slider-punkte button.aktiv { width: 26px; background: var(--akzent); }
@media (max-width: 1400px) { .slider { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 700px) {
  .slider { margin: 12px 0 0; }
  .slider-spur { border-radius: 12px; }
  .slide-knopf.knopf { padding: 10px 18px; font-size: 14px; border-width: 2px; bottom: 10px; left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .slider-pfeil { display: none; }
  .slider-punkte { bottom: auto; top: 8px; }
}

/* ------------------------------------------------------------ KI-Kennzeichnung
   Zeichen der EU fuer KI-erzeugte Bilder. Liegt als Overlay auf dem Bild,
   damit es verschwindet, sobald ein echtes Foto das KI-Bild ersetzt. */
.ki { position: relative; }
.ki::before {
  content: ""; position: absolute; z-index: 2; right: 10px; top: 10px; width: 34px; height: 34px;
  background: url("ki/ai.svg") center / contain no-repeat; pointer-events: none;
}
.slide.ki::before { width: 44px; height: 44px; right: 16px; top: 14px; }

/* ------------------------------------------------------------ Vorteile */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 10px; }
.usp {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
}
.usp svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--akzent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usp strong { display: block; font-family: var(--schrift-kopf); text-transform: uppercase; font-size: 16px; letter-spacing: .03em; }
.usp span { font-size: 13px; color: var(--text-2); }
@media (max-width: 899px) { .usps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usps { grid-template-columns: 1fr; gap: 8px; } .usp { padding: 10px 12px; } }

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { margin-top: 44px; }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf h2 a:hover { color: var(--akzent); }
.abschnitt-kopf .knopf { flex: none; }

/* Karussell fuer Produktreihen */
.karussell { position: relative; }
.karussell-spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none;
}
.karussell-spur::-webkit-scrollbar { display: none; }
.karussell-spur > * { scroll-snap-align: start; }
.karussell-pfeil {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: var(--flaeche); color: var(--text); display: grid; place-items: center;
  border: 1px solid var(--rand); box-shadow: var(--schatten-stark);
}
.karussell-pfeil:hover { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.karussell-pfeil.links { left: -22px; }
.karussell-pfeil.rechts { right: -22px; }
.karussell-pfeil[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .karussell-spur { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 720px) {
  .karussell-spur { grid-auto-columns: 44%; gap: 10px; }
  .karussell-pfeil { display: none; }
}
.inhaltskachel {
  position: relative; display: block; min-height: 320px; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--dunkel);
  border: 1px solid var(--rand);
}
.inhaltskachel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .45s; }
.inhaltskachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 8, 5, .88)); }
.inhaltskachel:hover { color: #fff; }
.inhaltskachel:hover img { transform: scale(1.04); }
.ik-text { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.ik-text strong { font-family: var(--schrift-kopf); text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.ik-text .pfeil { color: var(--akzent); font-weight: 700; font-size: 14px; }

.abschnitt-kopf p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.mehr-link { font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--text-2); }

/* Kategoriekacheln: Artikel im Bild, Name und Anzahl unten links. */
.kategorie-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kategorie-karte {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff;
  box-shadow: var(--schatten); border: 1px solid var(--rand);
  transition: transform .18s, box-shadow .18s;
}
.kategorie-karte img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.kategorie-karte.breit { grid-column: span 2; }
.kategorie-karte.breit img { aspect-ratio: 8 / 3; object-position: center 42%; }
.kategorie-karte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 8, 5, .7));
  transition: background .2s;
}
.kategorie-karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-stark); color: #fff; }
.kategorie-karte:hover img { transform: scale(1.04); }
.kategorie-karte:hover::after { background: linear-gradient(180deg, rgba(240, 106, 23, .12) 40%, rgba(10, 8, 5, .8)); }
.kk-text { position: absolute; left: 16px; bottom: 13px; right: 16px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.kk-name { font-family: var(--schrift-kopf); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.kk-zahl {
  font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: 15px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.kk-zahl .pfeil { color: var(--akzent); }
@media (max-width: 899px) { .kategorie-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .kategorie-raster { grid-template-columns: 1fr; gap: 10px; }
  .kategorie-karte.breit { grid-column: span 1; }
  .kategorie-karte.breit img { aspect-ratio: 4 / 3; }
}

/* Kopfbild auf der Kategorieseite */
.kopfbild { margin: 14px 0 6px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); border: 1px solid var(--rand); }
.kopfbild img { width: 100%; aspect-ratio: 5 / 1; object-fit: cover; object-position: center 40%; }
@media (max-width: 700px) { .kopfbild img { aspect-ratio: 3 / 1; } }

/* ------------------------------------------------------------ Produktkarte */
.produktraster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .produktraster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .produktraster { grid-template-columns: 1fr 1fr; gap: 10px; } }
.produkt {
  position: relative; display: flex; flex-direction: column;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.produkt:hover { transform: translateY(-3px); box-shadow: var(--schatten-stark); border-color: var(--rand-stark); }
.produkt-bild { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--flaeche-2); overflow: hidden; }
.produkt-bild img { width: 100%; height: 100%; object-fit: contain; object-position: center top; transition: opacity .3s, transform .4s; }
.produkt-bild img.zweit { position: absolute; inset: 0; opacity: 0; }
.produkt:hover .produkt-bild img.zweit { opacity: 1; }
.produkt:hover .produkt-bild img:not(.zweit) { transform: scale(1.04); }
.platzhalter { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--flaeche-2) 0 12px, var(--flaeche-3) 12px 24px); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 6px;
  font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em;
  background: var(--dunkel); color: #fff;
}
.badge.rot { background: var(--rot); }
.badge.gelb { background: var(--gelb); color: #1b1813; }
.badge.gruen { background: var(--gruen); }
.groesse-chip {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 6px;
  background: rgba(22, 20, 15, .82); color: #fff; font-family: var(--schrift-kopf); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  backdrop-filter: blur(3px);
}
.herz {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; z-index: 2;
  background: var(--flaeche); color: var(--text-2); display: grid; place-items: center; box-shadow: var(--schatten);
  transition: transform .15s, color .15s;
}
.herz svg { fill: transparent; }
.herz:hover { transform: scale(1.1); color: var(--rot); }
.herz.aktiv { color: var(--rot); }
.herz.aktiv svg { fill: currentColor; }
.produkt-text { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.hersteller { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--text-3); }
.hersteller.gross { font-size: 14px; color: var(--akzent); }
.produkt-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.zustand-zeile { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.zustand-zeile.gross { font-size: 14px; margin-bottom: 18px; }
.punkte { display: inline-flex; gap: 3px; }
.punkte i { width: 8px; height: 8px; border-radius: 50%; background: var(--rand-stark); }
.punkte.klein i { width: 6px; height: 6px; }
.punkte.riesig i { width: 14px; height: 14px; }
.punkte.z1 i:nth-child(-n+1) { background: var(--rot); }
.punkte.z2 i:nth-child(-n+2) { background: var(--akzent); }
.punkte.z3 i:nth-child(-n+3) { background: var(--gelb); }
.punkte.z4 i:nth-child(-n+4) { background: var(--gruen); }
.punkte.z5 i:nth-child(-n+5) { background: var(--gruen); }
.produkt-fuss { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.preis { display: flex; flex-direction: column; line-height: 1.1; }
.preis s { font-size: 12px; }
.preis strong { font-family: var(--schrift-kopf); font-size: 24px; font-weight: 800; letter-spacing: .01em; }
.preis strong.rabatt { color: var(--rot); }
.produkt .korb-knopf { padding: 9px 14px; font-size: 13px; }
@media (max-width: 720px) {
  .produkt-text { padding: 10px 10px 12px; }
  .produkt-fuss { flex-direction: column; align-items: stretch; }
  .produkt .korb-knopf { width: 100%; }
  .preis strong { font-size: 20px; }
}

/* ------------------------------------------------------------ Marken, Versprechen, Text */
.marken-leiste {
  margin-top: 44px; padding: 20px 24px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.marken-leiste > span { font-family: var(--schrift-kopf); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; color: var(--text-3); }
.marken-leiste div { display: flex; gap: 10px; flex-wrap: wrap; }
.marken-leiste div a {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--rand-stark);
  font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .04em;
}
.marken-leiste div a:hover { border-color: var(--akzent); color: var(--akzent); }
/* Markenleiste als Highlight mit grossen Kacheln */
.marken-highlight { margin-top: 44px; }
.marken-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.marken-kacheln a {
  display: grid; place-items: center; min-height: 110px; padding: 18px; border-radius: var(--radius);
  background: var(--flaeche); border: 1px solid var(--rand); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.marken-kacheln a span { font-family: var(--schrift-kopf); font-weight: 800; text-transform: uppercase; font-size: 26px; letter-spacing: .03em; text-align: center; line-height: 1; }
.marken-kacheln a:hover { border-color: var(--akzent); transform: translateY(-3px); box-shadow: var(--schatten-stark); color: var(--akzent); }
.hinweis-entwurf { padding: 12px 16px; border-radius: var(--radius-klein); background: var(--gelb-weich); border: 1px solid var(--gelb); font-size: 14px; }
.versprechen {
  margin-top: 44px; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 18px; overflow: hidden;
  background: var(--dunkel-2); color: var(--dunkel-text);
}
.versprechen-text { padding: 40px; }
.versprechen-text h2 { color: #fff; }
.versprechen-text ol { margin: 0; padding-left: 0; list-style: none; counter-reset: schritt; display: grid; gap: 14px; }
.versprechen-text li { position: relative; padding-left: 52px; counter-increment: schritt; color: var(--dunkel-text-2); }
.versprechen-text li strong { color: #fff; }
.versprechen-text li a { color: var(--akzent); text-decoration: underline; text-underline-offset: 3px; }
.versprechen-text li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--akzent); color: #16140f; font-family: var(--schrift-kopf); font-weight: 800; font-size: 20px; display: grid; place-items: center;
}
.versprechen-bild { background-size: cover; background-position: center; min-height: 260px; }
@media (max-width: 899px) { .versprechen { grid-template-columns: 1fr; } .versprechen-text { padding: 24px 20px; } .versprechen-bild { min-height: 180px; order: -1; } }
.seitentext { margin-top: 44px; max-width: 860px; color: var(--text-2); }
.seitentext h2 { font-size: 22px; color: var(--text); }
.seitentext a { color: var(--akzent); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ Listenseite */
.listen-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin: 10px 0 18px; }
.listen-kopf h1 { margin: 0; }
.treffer { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }
.unterkategorien { display: flex; gap: 8px; flex-wrap: wrap; }
.unterkategorien a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rand-stark); font-weight: 600; font-size: 14px; background: var(--flaeche); }
.unterkategorien a span { color: var(--text-3); font-size: 12px; }
.unterkategorien a:hover, .unterkategorien a.aktiv { border-color: var(--text); color: var(--text); }
.listen-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.filterspalte {
  position: sticky; top: 118px; max-height: calc(100vh - 130px); overflow-y: auto; overflow-x: hidden;
  padding-right: 10px; scrollbar-width: thin; scrollbar-color: var(--rand-stark) transparent;
}
.filterspalte::-webkit-scrollbar { width: 6px; }
.filterspalte::-webkit-scrollbar-track { background: transparent; }
.filterspalte::-webkit-scrollbar-thumb { background: var(--rand-stark); border-radius: 3px; }
.filterspalte-kopf { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; }
.filterspalte-kopf strong { font-family: var(--schrift-kopf); text-transform: uppercase; font-size: 20px; letter-spacing: .04em; }
.filtergruppe { border-top: 1px solid var(--rand); padding: 4px 0 10px; }
.filtergruppe summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
  font-weight: 700; font-size: 15px;
}
.filtergruppe summary::-webkit-details-marker { display: none; }
.filtergruppe summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--text-3); font-weight: 400; }
.filtergruppe[open] summary::after { content: "–"; }
.filtergruppe summary small { color: var(--text-3); font-weight: 400; font-size: 12px; margin-left: auto; margin-right: 10px; }
.gruppen-hinweis { display: block; color: var(--text-3); font-size: 12px; margin: 10px 0 4px; }
.groessen-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.gchip {
  position: relative; display: grid; place-items: center; height: 36px; border-radius: 8px; border: 1.5px solid var(--rand-stark);
  font-weight: 600; font-size: 14px; cursor: pointer; background: var(--flaeche); user-select: none;
}
.gchip input { position: absolute; opacity: 0; pointer-events: none; }
.gchip:hover { border-color: var(--text); }
.gchip.aktiv { background: var(--dunkel); border-color: var(--dunkel); color: #fff; }
[data-theme="dark"] .gchip.aktiv { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }
/* Groessen ohne Bestand bleiben waehlbar und lesbar, nur gedaempft.
   Der Shop waechst, deshalb wird nichts versteckt. */
.gchip.ohne { color: var(--text-3); border-color: var(--rand); background: var(--flaeche-2); }
.gchip.ohne:hover { color: var(--text); border-color: var(--rand-stark); }
.gchip.ohne.aktiv { color: #fff; }
[data-theme="dark"] .gchip.ohne.aktiv { color: var(--akzent-text); }
.filter-hilfe { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--akzent); font-weight: 600; }
.filterzeile { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.filterzeile input { width: 18px; height: 18px; accent-color: var(--akzent); margin: 0; flex: none; }
.filterzeile span { flex: 1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filterzeile small { color: var(--text-3); }
.filterzeile em { font-style: normal; color: var(--text-3); font-size: 12px; }
.filterzeile.ohne { color: var(--text-3); }
.scrollbar { max-height: 260px; overflow: auto; scrollbar-width: thin; }
.farb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fchip { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; font-size: 13px; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.fchip:hover { background: var(--flaeche-2); }
.fchip.aktiv { border-color: var(--text); background: var(--flaeche); }
.fchip.ohne { color: var(--text-3); }
.fchip.ohne i { opacity: .5; }
.filter-fuss { position: sticky; bottom: 0; padding: 12px 0 4px; background: var(--flaeche); }
.filter-zu { font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.filter-zu:hover { background: var(--flaeche-2); }
.werkzeugzeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.aktive-filter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; flex: 1; }
.marker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--dunkel); color: #fff; font-size: 13px; font-weight: 600; }
.marker span { opacity: .7; font-size: 15px; line-height: 1; }
.marker:hover { background: var(--rot); color: #fff; }
.alle-loeschen { font-size: 13px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.sortierung { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.sortierung select { padding: 9px 34px 9px 14px; border-radius: 999px; border: 1.5px solid var(--rand-stark); background: var(--flaeche); font-size: 14px; font-weight: 600; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.seiten { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.seiten a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--rand-stark); font-weight: 600; }
.seiten a.aktiv { background: var(--dunkel); border-color: var(--dunkel); color: #fff; }
.leer { text-align: center; padding: 60px 20px; background: var(--flaeche); border: 1px dashed var(--rand-stark); border-radius: var(--radius); }
.leer p { color: var(--text-2); max-width: 520px; margin: 0 auto 20px; }
.leer-knoepfe { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 899px) {
  .listen-layout { grid-template-columns: 1fr; gap: 0; }
  .filterspalte {
    position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); max-height: none; z-index: 150;
    background: var(--flaeche); padding: 14px 18px 18px; transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--schatten-stark);
  }
  .filterspalte.offen { transform: none; }
  body.filter-offen { overflow: hidden; }
  body.filter-offen::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 140; }
  .sortierung { margin-left: auto; }
  .aktive-filter { order: 3; flex-basis: 100%; }
}

/* ------------------------------------------------------------ Artikelseite */
.artikel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 40px; align-items: start; margin-top: 12px; }
.galerie { position: sticky; top: 130px; }
.grossbild { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--flaeche-2); aspect-ratio: 3 / 4; border: 1px solid var(--rand); }
.grossbild img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .35s; }
.grossbild.gezoomt img { transform: scale(1.8); cursor: zoom-out; }
.daumen { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.daumen button { flex: none; width: 84px; border-radius: 10px; overflow: hidden; border: 2px solid var(--rand); background: var(--flaeche); text-align: center; font-size: 11px; color: var(--text-2); }
.daumen button img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: var(--flaeche-2); }
.daumen button span { display: block; padding: 3px 0; }
.daumen button.aktiv { border-color: var(--akzent); color: var(--text); }
.foto-hinweis { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.kaufbox { position: sticky; top: 130px; }
.kaufbox h1 { font-size: clamp(28px, 3vw, 38px); margin: 2px 0 8px; }
.kaufbox h1 .modell { color: var(--text-2); font-weight: 700; }
.groessenblock { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--rand-stark); border-radius: var(--radius); background: var(--flaeche); }
.groessenwahl { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.feldname { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
.groesse-gross { font-family: var(--schrift-kopf); font-weight: 800; font-size: 30px; line-height: 1; }
.laenge-tag { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--flaeche-2); color: var(--text-2); }
.masse-kurz { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.masse-kurz li { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 8px; background: var(--flaeche-2); font-size: 12px; color: var(--text-2); }
.masse-kurz strong { font-size: 15px; color: var(--text); }
.preisblock { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.preis-gross { display: flex; align-items: baseline; gap: 12px; }
.preis-gross s { font-size: 16px; }
.preis-gross strong { font-family: var(--schrift-kopf); font-size: 44px; font-weight: 800; line-height: 1; }
.preis-gross strong.rabatt { color: var(--rot); }
.versand-info { font-size: 13px; color: var(--text-2); }
.versand-info .frei { color: var(--gruen); font-weight: 700; }
.verfuegbar { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 14px; font-weight: 600; color: var(--gruen); }
.verfuegbar .punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-weich); }
.kaufknoepfe { display: grid; gap: 10px; }
.vertrauen { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rand); display: grid; gap: 8px; font-size: 13px; color: var(--text-2); }
.vertrauen li { display: flex; align-items: flex-start; }
.vertrauen li i.ok { margin-top: 3px; }
.kleingedruckt a { color: var(--akzent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .artikel { grid-template-columns: 1fr; gap: 20px; }
  .galerie, .kaufbox { position: static; }
  .preis-gross strong { font-size: 36px; }
  main { padding-bottom: 110px; }
}

.artikel-tabs, .tabellen-tabs { margin-top: 44px; }
.tab-leiste { display: flex; gap: 4px; border-bottom: 1px solid var(--rand); overflow-x: auto; scrollbar-width: none; }
.tab-leiste button {
  padding: 12px 18px; font-family: var(--schrift-kopf); font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .04em;
  color: var(--text-2); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab-leiste button:hover { color: var(--text); }
.tab-leiste button.aktiv { color: var(--text); border-bottom-color: var(--akzent); }
.tab-inhalt { display: none; padding: 24px 0 8px; }
.tab-inhalt.aktiv { display: block; }
.fliess { max-width: 760px; font-size: 16px; line-height: 1.6; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 899px) { .zwei-spalten { grid-template-columns: 1fr; gap: 20px; } }
.datentabelle { border-collapse: collapse; width: 100%; max-width: 620px; font-size: 14px; }
.datentabelle td, .datentabelle th { padding: 9px 12px; border-bottom: 1px solid var(--rand); text-align: left; vertical-align: top; }
.datentabelle td:first-child { color: var(--text-2); width: 40%; }
.datentabelle th { font-family: var(--schrift-kopf); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; background: var(--flaeche-2); }
.datentabelle.kompakt { max-width: none; }
.datentabelle.kompakt td { color: var(--text); width: auto; white-space: nowrap; }
.datentabelle.kompakt td:first-child { font-weight: 700; }
.datentabelle tr.markiert td { background: var(--akzent-weich); font-weight: 700; }
.tabelle-scroll { overflow-x: auto; border: 1px solid var(--rand); border-radius: var(--radius-klein); }
.messen { margin: 0; display: grid; gap: 10px; }
.messen dt { font-weight: 700; }
.messen dd { margin: 0 0 4px; color: var(--text-2); font-size: 14px; }
.messen.gross { gap: 14px; }
.zustand-erklaerung { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); max-width: 620px; margin-bottom: 18px; }
.zustand-erklaerung p { margin: 4px 0 0; color: var(--text-2); }
.maengel { padding: 12px 16px; border-left: 4px solid var(--gelb); background: var(--gelb-weich); border-radius: 0 8px 8px 0; max-width: 620px; }
.normenliste { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; max-width: 620px; }
.normenliste li { display: flex; gap: 12px; padding: 10px 14px; border-radius: 8px; background: var(--flaeche); border: 1px solid var(--rand); }
.normenliste strong { font-family: var(--schrift-kopf); font-size: 17px; white-space: nowrap; }
.normenliste span { color: var(--text-2); }
.warnung { padding: 12px 16px; border-radius: 8px; background: var(--akzent-weich); color: var(--text); font-size: 13px; max-width: 620px; }
.mobil-kaufleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--flaeche); border-top: 1px solid var(--rand); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .3);
}
.mobil-kaufleiste > div { display: flex; flex-direction: column; line-height: 1.1; }
.mobil-kaufleiste strong { font-family: var(--schrift-kopf); font-size: 24px; }
.mobil-kaufleiste span { font-size: 12px; color: var(--text-2); }

/* ------------------------------------------------------------ Warenkorb */
.hinweisbox { padding: 12px 16px; border-radius: var(--radius-klein); background: var(--gelb-weich); border-left: 4px solid var(--gelb); margin-bottom: 16px; font-size: 14px; }
.frei-balken { padding: 16px 20px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); margin-bottom: 20px; }
.frei-text { font-size: 14px; margin-bottom: 10px; }
.frei-text strong { color: var(--akzent); }
.frei-balken.erreicht .frei-text strong { color: var(--gruen); }
.frei-spur { height: 8px; border-radius: 999px; background: var(--flaeche-3); overflow: hidden; }
.frei-fuellung { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--akzent), var(--gelb)); transition: width .6s ease; }
.frei-balken.erreicht .frei-fuellung { background: var(--gruen); }
.korb { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.korb-liste { display: grid; gap: 12px; }
.korbzeile { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; padding: 14px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); }
.korb-bild { display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--flaeche-2); }
.korb-bild img { width: 100%; height: 100%; object-fit: contain; }
.korb-text { display: flex; flex-direction: column; gap: 4px; }
.korb-details { font-size: 13px; color: var(--text-2); }
.korb-aktionen { display: flex; gap: 14px; margin-top: auto; padding-top: 8px; }
.korb-preis { text-align: right; display: flex; flex-direction: column; }
.korb-preis strong { font-family: var(--schrift-kopf); font-size: 24px; }
.einzelstueck { font-size: 12px; color: var(--text-3); }
.korb-summe { position: sticky; top: 130px; padding: 20px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); }
.korb-summe h2 { font-size: 22px; }
.korb-summe table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.korb-summe td { padding: 8px 0; border-bottom: 1px solid var(--rand); vertical-align: top; }
.korb-summe td:last-child { text-align: right; white-space: nowrap; }
.korb-summe small { color: var(--text-3); font-size: 12px; }
.korb-summe .summe td { font-family: var(--schrift-kopf); font-size: 24px; font-weight: 800; border-bottom: 0; padding-top: 12px; }
.korb-summe .abholung td { font-size: 13px; color: var(--text-2); border-bottom: 0; padding-top: 0; }
.korb-summe .frei { color: var(--gruen); font-weight: 700; }
.ersparnis { font-size: 13px; color: var(--gruen); font-weight: 600; }
.weiter-einkaufen { margin-top: 30px; font-weight: 600; }
@media (max-width: 899px) {
  .korb { grid-template-columns: 1fr; }
  .korb-summe { position: static; }
  .korbzeile { grid-template-columns: 90px 1fr; }
  .korb-preis { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
}

/* ------------------------------------------------------------ Textseiten */
.textseite { max-width: 900px; margin-top: 10px; }
.einleitung { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 760px; }
.merksatz { margin-top: 18px; padding: 16px 20px; border-radius: var(--radius); background: var(--akzent-weich); border-left: 4px solid var(--akzent); }
.gruende { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 36px; }
.grund { padding: 22px 22px 16px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); }
.grund h2 { font-size: 22px; margin-top: 8px; }
.grund p { color: var(--text-2); margin: 0; }
.grund-zahl { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--akzent); color: var(--akzent-text); font-family: var(--schrift-kopf); font-weight: 800; font-size: 20px; }
.cta-leiste { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 720px) { .gruende { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Fuss */
.fuss { background: var(--dunkel); color: var(--dunkel-text-2); margin-top: 40px; font-size: 14px; }
.fuss-raster { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.fuss .marke { color: #fff; }
.fuss-marke p { margin-top: 14px; max-width: 380px; }
.fuss strong { display: block; color: #fff; font-family: var(--schrift-kopf); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; margin-bottom: 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fuss a:hover { color: var(--akzent); }
.fuss-zeile { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.fuss .leise { color: rgba(255, 255, 255, .25); }
.fuss-versand { display: block; padding: 14px 16px; margin: -14px -16px; border-radius: var(--radius-klein); transition: background .15s; }
.fuss-versand:hover { background: var(--dunkel-2); color: inherit; }
.fuss-versand:hover strong { color: var(--akzent); }
.rechtliches { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 899px) { .fuss-raster { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; } }
@media (max-width: 560px) { .fuss-raster { grid-template-columns: 1fr; } .fuss-zeile { flex-direction: column; } }

/* ------------------------------------------------------------ Toast, Modal */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(0); z-index: 400;
  padding: 12px 18px; border-radius: 12px; background: var(--dunkel); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: var(--schatten-stark); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px);
  animation: toast-auf .25s ease;
}
.toast[hidden] { display: none; }
.toast a { color: var(--akzent); font-weight: 700; white-space: nowrap; }
@keyframes toast-auf { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@media (max-width: 899px) { .toast { bottom: 84px; } }
.modal { position: fixed; inset: 0; z-index: 500; background: rgba(10, 8, 5, .6); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modal-inhalt { position: relative; width: 100%; max-width: 760px; max-height: 90vh; overflow: auto; padding: 28px; border-radius: 18px; background: var(--flaeche); box-shadow: var(--schatten-stark); }
.modal-inhalt h2 { font-size: 26px; }
.modal-inhalt > a { display: inline-block; margin-top: 12px; color: var(--akzent); font-weight: 600; }
.modal-zu { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.modal-zu:hover { background: var(--flaeche-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ Intern (Verwaltung) */
body.intern main { max-width: 1320px; }
.pfad { font-size: 13px; color: var(--text-2); margin: 12px 0; }
.meldung { padding: 10px 14px; border-radius: 8px; background: var(--gruen-weich); color: var(--gruen); margin-bottom: 14px; font-weight: 600; }
.hinweis { font-size: 13px; color: var(--text-2); }
.warn { color: var(--rot); }
.gruen { color: var(--gruen); }
.grau { color: var(--text-3); }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 20px; }
.kz { padding: 14px; border-radius: var(--radius-klein); background: var(--flaeche); border: 1px solid var(--rand); display: flex; flex-direction: column; }
.kz strong { font-family: var(--schrift-kopf); font-size: 28px; font-weight: 800; line-height: 1; }
.kz span { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.status { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.status a { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--rand-stark); font-size: 13px; font-weight: 600; }
.status a.aktiv { background: var(--dunkel); color: #fff; border-color: var(--dunkel); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-klein); overflow: hidden; }
.tabelle th, .tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--rand); text-align: left; vertical-align: top; }
.tabelle th { background: var(--flaeche-2); font-family: var(--schrift-kopf); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.tabelle tr:hover td { background: var(--flaeche-2); }
.mini { width: 40px; aspect-ratio: 2 / 3; object-fit: contain; background: var(--flaeche-2); border-radius: 4px; }
[class*="status-"] { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--flaeche-2); }
.status-erfasst { background: var(--gelb-weich); }
.status-geprueft { background: var(--akzent-weich); }
.status-gelistet { background: var(--gruen-weich); color: var(--gruen); }
.status-verkauft { background: var(--dunkel); color: #fff; }
.status-entsorgt, .status-gebuendelt, .status-bundle_ready { color: var(--text-3); }
.spalten { display: grid; gap: 20px; margin: 16px 0; }
.spalten.zwei { grid-template-columns: 1fr 1fr; }
.spalten.drei { grid-template-columns: repeat(3, 1fr); }
.spalten.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .spalten.zwei, .spalten.drei, .spalten.vier { grid-template-columns: 1fr; } }
.karten-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.karten-liste li { padding: 10px 12px; border-radius: 8px; background: var(--flaeche); border: 1px solid var(--rand); font-size: 14px; }
.formular label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.formular input:not([type="checkbox"]), .formular select, .formular textarea {
  padding: 9px 12px; border: 1.5px solid var(--rand-stark); border-radius: 8px; background: var(--flaeche); font-size: 14px; font-weight: 400; color: var(--text); width: 100%;
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--akzent); }
.formular textarea { min-height: 120px; resize: vertical; }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.knoepfe .knopf { padding: 9px 16px; font-size: 13px; }
.verkauf { padding: 14px; border-radius: var(--radius-klein); background: var(--flaeche-2); margin-top: 14px; }
.detail { font-size: 13px; color: var(--text-2); }
.zustand { display: inline-flex; gap: 3px; }
