/* gipsbörse* Webseite – angelehnt an die bisherige Seite: weiße Fläche, grüne Produktleiste,
   Produktnamen in Grau + Grün wie im Logo, rote Bestellknöpfe. */
:root {
  --gruen: #7ab800;
  --gruen-dunkel: #5a8a00;
  --schatten: 0 2px 6px rgb(0 0 0 / 6%), 0 8px 24px rgb(0 0 0 / 10%);
  --schatten-hoch: 0 6px 14px rgb(0 0 0 / 10%), 0 16px 36px rgb(0 0 0 / 14%);
  --grau: #8a8f96;
  --text: #2b2f33;
  --leise: #6b7178;
  --linie: #e3e6ea;
  --rot: #dc3545;
  --hg: #e8f0f6;
}
* { box-sizing: border-box; }
body { margin: 0; background: #9fd0f5 url(/shop-dateien/hintergrund.jpg) center bottom / cover fixed; color: var(--text); font: 17px/1.55 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }
a { color: var(--gruen-dunkel); }
img { max-width: 100%; }
.breite { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

nav.oben { background: transparent; }
nav.oben .breite { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-block: 10px; align-items: center; }
nav.oben a { color: #fff; text-decoration: none; font-size: 20px; text-shadow: 0 1px 3px rgb(0 40 90 / 45%); }
nav.oben a:hover { text-decoration: underline; }
/* grüner Warenkorb-Knopf mit Wagen-Symbol */
.korb-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 17px; background: var(--gruen); padding: 11px 20px; border-radius: 8px; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 8px rgb(90 138 0 / 35%); transition: background .15s, transform .15s; }
.korb-link:hover { background: var(--gruen-dunkel); transform: translateY(-1px); }
#korb-anzahl:not(:empty) { background: #fff; color: var(--gruen-dunkel); border-radius: 10px; padding: 0 7px; font-size: 14px; font-weight: 700; }

.rahmen { padding-bottom: 28px; }
.kopf { background: #fff; border-radius: 14px 14px 0 0; display: flex; align-items: center; gap: 14px 26px; padding: 18px 24px; }
.logo { flex: none; }
.logo img { height: 72px; width: auto; display: block; }
/* Suchfeld in der Mitte */
.suche { flex: 1; max-width: 460px; position: relative; margin-left: 8px; }
.suche input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px 11px 40px; border: 1px solid #cfd4d9; border-radius: 8px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.suche input:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgb(122 184 0 / 20%); }
.suche-lupe { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--grau); display: flex; pointer-events: none; }
/* kleine Hotline mit Telefon-Symbol */
.hotline { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 17px; line-height: 1.25; }
.hotline small { display: block; font-weight: 400; font-size: 14px; color: var(--leise); }
.hotline-symbol { color: var(--gruen); display: flex; }
.hotline:hover { color: var(--gruen-dunkel); }
@media (max-width: 900px) {
  .kopf { flex-wrap: wrap; padding: 14px 16px; }
  .logo img { height: 54px; }
  .hotline { display: none; }
  .korb-link { margin-left: auto; padding: 9px 14px; font-size: 15px; }
  .suche { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
}
.such-kopf { background: #fff; border-radius: 14px; padding: 18px 24px; box-shadow: var(--schatten); margin-bottom: 18px; }
.such-kopf h1 { margin: 0 0 4px; font-size: 34px; }
.such-kopf p { margin: 0; }

nav.kategorien { border-radius: 0 0 14px 14px; box-shadow: var(--schatten); background: var(--gruen); display: flex; flex-wrap: wrap; gap: 0 32px; padding: 11px 26px; }
nav.kategorien a { color: #fff; font-size: 21px; font-weight: 600; text-decoration: none; letter-spacing: .2px; }
nav.kategorien a.aktiv, nav.kategorien a:hover { text-decoration: underline; text-underline-offset: 6px; }

main { padding: 16px 0 0; min-height: 300px; }
/* weiße Flächen mit runden Ecken auf dem Himmel-und-Wiese-Hintergrund */
.produkt, .warenkorb, .inhalt { background: #fff; border-radius: 14px; padding: 24px 26px; box-shadow: var(--schatten); }

/* Endlos-Laufband (Banner laufen langsam von rechts nach links, Halt beim Darüberfahren) */
.laufband { margin-top: 18px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--schatten); }
.laufband-spur { display: flex; width: max-content; animation: laufen var(--dauer, 90s) linear infinite; will-change: transform; }
.laufband:hover .laufband-spur, .laufband:focus-within .laufband-spur { animation-play-state: paused; }
.laufband-bild { display: block; flex: none; padding-right: 310px; } /* weiße Lücke ≈ 1/3 Bildbreite */
.laufband-bild img { display: block; height: 170px; width: auto; }
@keyframes laufen { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .laufband-bild img { height: 96px; } .laufband-bild { padding-right: 176px; } }
/* wer Bewegung abgeschaltet hat: stehendes Band zum Wischen */
@media (prefers-reduced-motion: reduce) { .laufband { overflow-x: auto; } .laufband-spur { animation: none; } }
.grau { color: var(--grau); }
.gruen { color: var(--gruen); }

/* Produktkacheln: 3 nebeneinander; Bild oben, Text darunter */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .kacheln { grid-template-columns: minmax(0, 1fr); } }
.kachel { position: relative; display: flex; flex-direction: column; border: 2px solid transparent; border-radius: 14px; box-shadow: var(--schatten); padding: 14px 16px; text-decoration: none; color: var(--text); background: #fff; transform-origin: center top; transition: box-shadow .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2, .7, .3, 1); }
.kachel:hover, .kachel:focus-visible { border-color: var(--gruen); box-shadow: var(--schatten-hoch); }
.kachel-titel { font-size: 23px; font-weight: 700; line-height: 1.15; letter-spacing: -0.3px; }
.kachel-mitte { display: flex; flex-direction: column-reverse; gap: 6px; flex: 1; }
.kachel-mitte p { margin: 4px 0; color: var(--leise); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Produktbild: beim Darüberfahren sanft um 8 % größer, beim Verlassen weich zurück */
.kachel-bild { width: 100%; height: 170px; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.kachel-bild img { max-width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.kachel:hover .kachel-bild img, .kachel:focus-visible .kachel-bild img { transform: scale(1.08); }
.kachel-preis { text-align: left; font-size: 13px; color: var(--leise); margin-top: 4px; }
.kachel-preis strong { color: var(--gruen-dunkel); font-size: 19px; }

/* Lupe: mit der Maus über einer Kachel wird sie 1,5-mal so groß und liegt über den anderen.
   Erst nach einem kurzen Moment (sonst springt beim Drüberfahren alles auf). Randkacheln wachsen nach innen. */
@media (hover: hover) and (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .kachel:hover { transform: scale(1.5); z-index: 50; transition-delay: .25s, .25s, .25s; box-shadow: 0 12px 40px rgb(0 0 0 / 28%); }
  .kachel:hover .kachel-mitte p { -webkit-line-clamp: unset; }
  .kacheln > .kachel:nth-child(3n + 1) { transform-origin: left top; }
  .kacheln > .kachel:nth-child(3n) { transform-origin: right top; }
}
@media (prefers-reduced-motion: reduce) { .kachel, .kachel-bild img { transition: none; } }

/* Produktseite */
.produkt h1, .warenkorb h1, .inhalt h1 { font-size: 46px; margin: 0 0 12px; line-height: 1.1; letter-spacing: -1px; }
.produkt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
@media (max-width: 760px) { .produkt-raster { grid-template-columns: minmax(0, 1fr); } }
.produkt-text h3, .inhalt h3 { color: var(--gruen-dunkel); font-size: 19px; margin: 14px 0 2px; }
.produkt-text p, .inhalt p { margin: 0 0 8px; }
.produkt-bild { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.produkt-bild img { max-height: 280px; object-fit: contain; }
.bestellen { margin-top: 18px; border-top: 1px solid var(--linie); }
.bestellzeile { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 170px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie); }
@media (max-width: 640px) { .bestellzeile { grid-template-columns: minmax(0, 1fr); } }
.packung strong { color: var(--gruen-dunkel); margin-left: 6px; }
select.variante { width: 100%; padding: 8px; font: inherit; border: 1px solid #c9ced4; border-radius: 4px; background: #fff; }
.menge { display: flex; }
.menge button { width: 44px; border: 0; font-size: 22px; color: #fff; cursor: pointer; }
.menge .minus { background: #9aa1a8; border-radius: 4px 0 0 4px; }
.menge .plus { background: #28a745; border-radius: 0 4px 4px 0; }
.menge input { width: 70px; text-align: center; font: inherit; border: 1px solid #c9ced4; border-inline: 0; }
.bestell-knopf { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 16px 0 4px; flex-wrap: wrap; }
/* Bestell-/Hauptknopf (Name aus der alten Seite, inzwischen grün wie der Warenkorb) */
.knopf-rot { background: var(--gruen); color: #fff; border: 0; border-radius: 8px; padding: 11px 34px; font: inherit; font-size: 19px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgb(90 138 0 / 35%); }
.knopf-rot:hover { background: var(--gruen-dunkel); }
.knopf-rot:disabled { opacity: .5; cursor: default; }
#korb-meldung { color: var(--gruen-dunkel); font-weight: 600; }
.hinweis { color: var(--leise); font-size: 14px; text-align: center; }

/* Warenkorb */
.korb-tabelle { width: 100%; border-collapse: collapse; }
.korb-tabelle th { text-align: left; font-weight: 600; padding: 8px 6px; border-bottom: 2px solid var(--linie); }
.korb-tabelle td { padding: 8px 6px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.korb-tabelle .zahl { text-align: right; white-space: nowrap; }
.korb-tabelle img { width: 44px; height: 38px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.korb-tabelle .menge input { width: 52px; }
.korb-tabelle .menge button { width: 34px; font-size: 18px; }
.korb-entfernen { border: 0; background: none; color: var(--rot); font-size: 20px; cursor: pointer; }
.korb-summen td { border: 0; padding: 4px 6px; }
.korb-summen .gesamt td { font-weight: 700; font-size: 19px; border-top: 2px solid var(--linie); }
.korb-hinweis { background: #f3f8ea; border-radius: 5px; padding: 8px 12px; margin: 12px 0; }
.korb-rollbar { overflow-x: auto; }

.inhalt { max-width: 820px; }

.fuss { margin-top: 20px; border-radius: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding: 14px 22px; background: #f4f6f8; color: var(--leise); font-size: 14px; }
@media (max-width: 480px) { .produkt h1, .warenkorb h1, .inhalt h1 { font-size: 34px; } }

/* Kasse */
.anmelde-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .anmelde-raster { grid-template-columns: minmax(0, 1fr); } }
.anmelde-box { background: #f6f8f4; border-radius: 10px; padding: 16px; }
.kasse h2 { font-size: 19px; margin: 0 0 10px; color: var(--gruen-dunkel); }
.kasse-form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.anmelde-box.kasse-form { margin-top: 0; }
.kasse-form.schmal { max-width: 460px; }
.kasse-form label { display: flex; flex-direction: column; gap: 3px; font-size: 15px; color: var(--leise); }
.kasse-form input, .kasse-form select, .kasse-form textarea { font: inherit; padding: 8px 10px; border: 1px solid #c9ced4; border-radius: 5px; color: var(--text); }
.kasse-form label.ankreuzen, .kasse-form label.radio { flex-direction: row; align-items: flex-start; gap: 8px; color: var(--text); }
.kasse-form label.radio { margin-bottom: 6px; }
.formular-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.formular-raster .breit { grid-column: 1 / -1; }
@media (max-width: 640px) { .formular-raster { grid-template-columns: minmax(0, 1fr); } }
.kasse-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 10px 0; }
@media (max-width: 640px) { .kasse-zwei { grid-template-columns: minmax(0, 1fr); } }
.knopf-grau { background: #eceeef; border: 1px solid #d5d9dc; border-radius: 5px; padding: 8px 18px; font: inherit; cursor: pointer; align-self: flex-start; }
.knopf-grau:hover { background: #e2e5e7; }
a.knopf-rot { display: inline-block; text-decoration: none; }
.text-link { background: none; border: 0; padding: 0; color: var(--gruen-dunkel); text-decoration: underline; font: inherit; cursor: pointer; }
.kasse-meldung { color: var(--rot); margin: 0; min-height: 1em; }
.kasse-meldung.gut { color: var(--gruen-dunkel); }
.leise { color: var(--leise); }
.klein { font-size: 14px; }
.danke { text-align: center; padding: 20px 0; }
.danke h2 { font-size: 28px; }
.neue-lieferadresse { margin: 6px 0 4px 24px; padding: 12px; background: #f6f8f4; border-radius: 8px; }
.staffel-hinweis { font-size: 14px; color: var(--gruen-dunkel); font-weight: 600; }
.angebot-seite .korb-tabelle input[type=number] { width: 70px; font: inherit; padding: 6px; text-align: right; border: 1px solid #c9ced4; border-radius: 5px; }
.angebot-seite .klein { font-size: 13px; }
.angebot-seite .kasse-form { margin-top: 10px; }

/* Probierpreis-Banner (QR-Code auf der Rechnung) */
.probier-banner { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto 12px; border-radius: 8px; }
/* Angebots- und Probierpreis-Seite auf dem Handy: je Artikel ein Block (Bild | Name / Preis | Menge) statt Querrollen */
@media (max-width: 640px) {
  .angebot-seite .korb-rollbar { overflow: visible; }
  .angebot-seite .korb-tabelle, .angebot-seite .korb-tabelle tbody { display: block; }
  .angebot-seite .korb-tabelle thead { display: none; }
  .angebot-seite .korb-tabelle tr { display: grid; grid-template-columns: 50px 1fr auto; grid-template-areas: 'bild text text' 'bild preis menge'; gap: 6px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linie); }
  .angebot-seite .korb-tabelle td { display: block; padding: 0; border: 0; }
  .angebot-seite .korb-tabelle td:nth-child(1) { grid-area: bild; }
  .angebot-seite .korb-tabelle td:nth-child(2) { grid-area: text; }
  .angebot-seite .korb-tabelle td:nth-child(3) { grid-area: preis; text-align: left; }
  .angebot-seite .korb-tabelle td:nth-child(4) { grid-area: menge; }
  .angebot-seite .korb-tabelle td:nth-child(4)::before { content: 'Menge '; font-size: 13px; color: #666; }
}

/* Inhaltsseiten in Spalten (z. B. Unternehmen): grüne Kopfleiste je Spalte wie auf der bisherigen Seite */
.spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .spalten { grid-template-columns: minmax(0, 1fr); } }
.spalte { background: #fff; border-radius: 14px; box-shadow: var(--schatten); overflow: hidden; }
.spalte-kopf { margin: 0; background: var(--gruen); color: #fff; font-size: 22px; font-weight: 600; text-align: center; padding: 12px 16px; letter-spacing: .2px; }
.spalte-text { padding: 16px 20px 6px; font-size: 16px; line-height: 1.6; }
.spalte-text h3 { color: var(--gruen-dunkel); font-size: 18px; margin: 14px 0 4px; }
.spalte-text p { margin: 0 0 12px; }

/* Kontakt: links Kontaktdaten zum Antippen, rechts das Formular */
.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: minmax(0, 1fr); } }
.kontakt-daten, .kontakt-formular { background: #fff; border-radius: 14px; box-shadow: var(--schatten); padding: 22px 24px; }
.kontakt-daten h1 { font-size: 40px; margin: 0 0 6px; line-height: 1.1; }
.kontakt-zeile { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--linie); color: var(--text); text-decoration: none; line-height: 1.45; }
.kontakt-zeile svg { color: var(--gruen); flex: none; margin-top: 2px; }
.kontakt-zeile small { display: block; color: var(--leise); font-size: 13px; }
a.kontakt-zeile:hover { color: var(--gruen-dunkel); }
.kontakt-formular h2 { margin: 0 0 4px; font-size: 24px; color: var(--gruen-dunkel); }
.kontakt-formular .kasse-form { margin-top: 10px; }
.kontakt-formular.danke { text-align: center; padding: 40px 24px; }
.knopf-gruen { background: var(--gruen); color: #fff; border: 0; border-radius: 8px; padding: 12px 30px; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; align-self: flex-start; box-shadow: 0 2px 8px rgb(90 138 0 / 35%); }
.knopf-gruen:hover { background: var(--gruen-dunkel); }
.unsichtbar { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* SEPA-Lastschriftmandat online */
.sepa { max-width: 860px; }
.sepa-kunde { background: #f3f8ea; border-radius: 10px; padding: 12px 16px; margin: 6px 0 14px; line-height: 1.5; }
.sepa-kunde small { display: block; color: var(--leise); font-size: 13px; }
.sepa-mandat { border: 1px solid var(--linie); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--leise); }
.sepa-mandat strong { color: var(--text); }
.sepa-mandat p { margin: 6px 0 0; }
.sepa .danke .knopf-gruen { display: inline-block; text-decoration: none; }
.sepa-tipp { background: #f3f8ea; border: 1px solid #d7e9b8; border-radius: 12px; padding: 16px 20px; margin: 18px auto; max-width: 520px; text-align: left; }
.sepa-tipp p { margin: 4px 0 12px; color: var(--leise); }
.sepa-tipp .knopf-gruen { display: inline-block; text-decoration: none; }

/* Produktseite: Wegweiser, links Text, rechts Kaufbox (Bild, Bestellen, Vorteile, Rabattstaffel) – Bestellen ohne Scrollen */
.wegweiser { font-size: 14px; color: #fff; margin: 14px 4px 10px; text-shadow: 0 1px 3px rgb(0 40 90 / 45%); }
.wegweiser a { color: #fff; }
.wegweiser span { font-weight: 600; }
.produkt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "titel kauf" "text kauf"; gap: 6px 28px; align-items: start; }
.produkt h1 { grid-area: titel; margin-bottom: 0; }
.produkt-text { grid-area: text; }
.kaufbox { grid-area: kauf; position: sticky; top: 14px; background: #f8faf5; border: 1px solid #e3ecd5; border-radius: 14px; padding: 16px 18px; }
.kaufbild { display: block; width: 100%; max-height: 230px; object-fit: contain; margin: 0 auto 6px; mix-blend-mode: multiply; } /* weißer Bildhintergrund verschmilzt mit der Kaufbox – keine harte weiße Kante */
.kaufbox .bestellen { margin-top: 4px; border-top: 0; }
.kaufbox .bestellzeile { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "packung packung" "wahl menge"; gap: 8px 10px; padding: 10px 0; }
.kaufbox .bestellzeile .packung { grid-area: packung; }
.kaufbox .bestellzeile .wahl { grid-area: wahl; }
.kaufbox .bestellzeile .menge { grid-area: menge; }
.kaufbox .bestell-knopf { padding-top: 12px; }
.kaufbox .bestell-knopf .knopf-rot { width: 100%; }
.vorteile { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; }
.vorteile li { padding: 2px 0 2px 24px; position: relative; }
.vorteile li::before { content: "✓"; position: absolute; left: 4px; color: var(--gruen-dunkel); font-weight: 700; }
.rabattstaffel { margin-top: 12px; font-size: 13px; }
.rabattstaffel > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rabattstaffel span { background: #fff; border: 1px solid #d7e9b8; border-radius: 6px; padding: 3px 8px; }
.rabattstaffel b { color: var(--gruen-dunkel); }
.kaufbox .hinweis { text-align: left; margin: 10px 0 0; font-size: 12px; }
/* technische Werte als Kästchen */
.werte { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 4px 0 8px; }
.wert { background: #f4f6f8; border-radius: 10px; padding: 8px 12px; }
.wert small { display: block; color: var(--leise); font-size: 12px; line-height: 1.3; }
.wert strong { font-size: 16px; color: var(--text); }
ul.haken { list-style: none; padding: 0; margin: 4px 0 10px; }
ul.haken li { padding: 3px 0 3px 26px; position: relative; }
ul.haken li::before { content: "✓"; position: absolute; left: 4px; color: var(--gruen-dunkel); font-weight: 700; }
.dokumente { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 15px; }
@media (max-width: 860px) {
  .produkt { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "titel" "kauf" "text"; }
  .kaufbox { position: static; }
}

/* Warenkorb: links Artikel, rechts Summenbox mit Rabatt-Balken und "Zur Kasse" */
.korb-kopf { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; }
.weiter-einkaufen { font-weight: 600; font-size: 16px; text-decoration: none; }
.weiter-einkaufen:hover { text-decoration: underline; }
.korb-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.korb-zeile { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 90px 30px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.korb-zeile:first-child { border-top: 1px solid var(--linie); }
.korb-bild { display: block; width: 64px; height: 56px; border-radius: 8px; background: #f8faf5; }
.korb-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.korb-artikel a { font-weight: 600; color: var(--text); text-decoration: none; }
.korb-artikel a:hover { color: var(--gruen-dunkel); text-decoration: underline; }
.korb-artikel small { display: block; color: var(--leise); font-size: 13px; }
.korb-zeile .menge input { width: 48px; }
.korb-zeile .menge button { width: 32px; font-size: 18px; }
.korb-preis { text-align: right; font-weight: 600; white-space: nowrap; }
.korb-box { position: sticky; top: 14px; background: #f8faf5; border: 1px solid #e3ecd5; border-radius: 14px; padding: 16px 18px; }
.korb-summe { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.korb-summe.rabatt { color: var(--gruen-dunkel); font-weight: 600; }
.korb-summe.gesamt { font-weight: 700; font-size: 20px; border-top: 2px solid #d7e9b8; margin-top: 6px; padding-top: 8px; }
.korb-kasse { display: block; width: 100%; text-align: center; margin-top: 14px; box-sizing: border-box; }
.rabatt-balken { background: #fff; border: 1px solid #d7e9b8; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; font-size: 14px; }
.rabatt-balken small { color: var(--leise); }
.balken { height: 8px; background: #e8efdd; border-radius: 4px; margin-top: 7px; overflow: hidden; }
.balken span { display: block; height: 100%; background: var(--gruen); border-radius: 4px; transition: width .3s; }
.korb-box .hinweis { text-align: left; font-size: 12px; margin: 10px 0 0; }
/* leerer Warenkorb */
.korb-leer { text-align: center; padding: 20px 0 10px; }
.korb-leer-symbol { font-size: 54px; opacity: .55; }
.korb-leer p { color: var(--leise); }
.korb-leer p strong { color: var(--text); font-size: 19px; }
.korb-leer-gruppen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.korb-gruppe { background: var(--gruen); color: #fff; font-weight: 600; text-decoration: none; padding: 10px 20px; border-radius: 8px; box-shadow: 0 2px 8px rgb(90 138 0 / 30%); }
.korb-gruppe:hover { background: var(--gruen-dunkel); }
@media (max-width: 860px) {
  .korb-raster { grid-template-columns: minmax(0, 1fr); }
  .korb-box { position: static; }
}
@media (max-width: 560px) {
  .korb-zeile { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "bild artikel weg" "bild menge preis"; }
  .korb-bild { grid-area: bild; width: 52px; height: 48px; }
  .korb-artikel { grid-area: artikel; }
  .korb-zeile .menge { grid-area: menge; }
  .korb-preis { grid-area: preis; }
  .korb-entfernen { justify-self: end; }
  .korb-entfernen { grid-area: weg; }
}

/* Kasse: Fortschritt, Stammkunden zuerst, Bestellseite wie der Warenkorb */
.kasse-schritte { list-style: none; display: flex; gap: 6px; padding: 0; margin: 4px 0 18px; counter-reset: schritt; flex-wrap: wrap; }
.kasse-schritte[hidden] { display: none; }
.kasse-schritte li { counter-increment: schritt; flex: 1 1 140px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #f4f6f8; color: var(--leise); font-weight: 600; font-size: 15px; }
.kasse-schritte li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #d9dee3; color: #fff; font-size: 13px; }
.kasse-schritte li.aktiv { background: #eef6e0; color: var(--gruen-dunkel); }
.kasse-schritte li.aktiv::before { background: var(--gruen); }
.kasse-schritte li.erledigt { color: var(--gruen-dunkel); }
.kasse-schritte li.erledigt::before { content: "✓"; background: var(--gruen-dunkel); }
.kasse-einleitung { margin: 0 0 14px; }
.anmelde-raster:has(.haupt) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .anmelde-raster:has(.haupt) { grid-template-columns: minmax(0, 1fr); } }
.anmelde-box.haupt { background: #eef6e0; border: 1px solid #d7e9b8; }
.anmelde-box .knopf-rot { align-self: flex-start; font-size: 17px; padding: 9px 28px; }
.anmelde-box .klein { margin: -4px 0 0; }
.kasse-form label.merken { font-size: 14px; }
.merken small { color: var(--leise); }
.neu-hinweis { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; padding: 12px 16px; border: 1px dashed #c9ced4; border-radius: 10px; }
.kasse-form.schmal-breit { max-width: 720px; }
.kasse-form label small { color: var(--leise); font-size: 13px; }
.kasse-hilfe { margin-top: 18px; padding: 10px 14px; background: #f4f6f8; border-radius: 10px; font-size: 14px; }
.korb-box .kasse-hilfe { margin-top: 12px; background: #fff; border: 1px solid #e3ecd5; }
.kasse-angemeldet { margin: 0 0 12px; }
#bestell-form { display: grid; margin-top: 0; }
.kasse-links { display: flex; flex-direction: column; gap: 10px; }
.kasse-links .kasse-zwei { margin-top: 0; }
.korb-box h2 { margin-bottom: 6px; }
.kasse-artikel { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #e3ecd5; font-size: 14px; }
.kasse-artikel img { width: 44px; height: 38px; object-fit: contain; mix-blend-mode: multiply; }
.kasse-artikel small { display: block; color: var(--leise); font-size: 12px; }
.korb-box .klein { margin: 6px 0 8px; font-size: 13px; }
.korb-box label.agb { margin-top: 12px; font-size: 14px; }
.korb-box .kasse-meldung { margin-top: 6px; }
/* Bestellbox an der Kasse kompakter – Bestellknopf ohne Scrollen */
.korb-box.kompakt { padding: 12px 16px; }
.box-kopf { display: flex; justify-content: space-between; align-items: baseline; }
.box-kopf a { font-size: 13px; }
.korb-box.kompakt h2 { font-size: 17px; margin: 0 0 2px; }
.korb-box.kompakt .kasse-artikel { padding: 4px 0; grid-template-columns: 34px minmax(0, 1fr) auto; }
.korb-box.kompakt .kasse-artikel img { width: 34px; height: 30px; }
.korb-box.kompakt .korb-summe { padding: 1px 0; font-size: 14px; }
.korb-box.kompakt .korb-summe small { color: var(--leise); font-weight: 400; }
.korb-box.kompakt .korb-summe.gesamt { font-size: 18px; margin-top: 4px; padding-top: 5px; }
.korb-box.kompakt label.agb { margin-top: 8px; font-size: 13px; }
.korb-box.kompakt .korb-kasse { margin-top: 8px; padding: 10px 20px; font-size: 18px; }
.korb-box.kompakt .kasse-meldung { min-height: 0; }
.korb-box.kompakt .vorteile { margin-top: 8px; font-size: 13px; }
.korb-box.kompakt .kasse-hilfe { margin-top: 8px; padding: 7px 10px; font-size: 13px; }
.kasse .kasse-schritte { margin-bottom: 12px; }
.kasse .kasse-schritte li { padding: 6px 12px; }
.sepa-vorschau { background: #eef6e0; border-radius: 8px; padding: 8px 12px; font-size: 14px; margin-top: -4px; }

/* Startseite: schmale Leiste unter dem Laufband (25 Jahre, Überschrift, Vorteile) */
.start-leiste { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 14px; padding: 8px 22px; background: #fff; border-radius: 14px; box-shadow: var(--schatten); }
.start-leiste img { width: 62px; height: auto; flex: none; }
.start-leiste h1 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0; flex: 1 1 300px; }
.start-leiste h1 span { color: var(--gruen-dunkel); }
.start-leiste ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 15px; font-weight: 600; color: var(--leise); }
.start-leiste li::before { content: "✓ "; color: var(--gruen-dunkel); font-weight: 700; }
/* Willkommen zurück (angemeldete Stammkunden) */
#willkommen { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding: 12px 22px; background: #eef6e0; border: 3px solid #1e7fd6; border-radius: 14px; box-shadow: 0 2px 12px rgb(30 127 214 / 30%); }
#willkommen[hidden] { display: none; }
#willkommen p { margin: 0; }
#willkommen small { display: block; color: var(--leise); font-size: 14px; }
#willkommen .knopf-rot { font-size: 16px; padding: 9px 22px; white-space: nowrap; }
@media (max-width: 640px) { .start-leiste { padding: 8px 14px; } .start-leiste h1 { font-size: 16px; } .start-leiste ul { font-size: 13px; } }
/* Suche: passende Info-Seiten (Sicherheitsdatenblätter, AGB …) */
.such-infos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.such-infos a { display: flex; flex-direction: column; padding: 10px 16px; background: #eef6e0; border: 1px solid #d7e9b8; border-radius: 10px; text-decoration: none; color: var(--gruen-dunkel); }
.such-infos a:hover { border-color: var(--gruen); }
.such-infos span { color: var(--leise); font-size: 14px; }

/* Kategorieseite: Kopfzeile mit Wegweiser, Überschrift und Vorteilen */
.kat-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; padding: 12px 24px; background: #fff; border-radius: 14px; box-shadow: var(--schatten); }
.kat-weg { font-size: 13px; color: var(--leise); }
.kat-weg a { color: var(--leise); }
.kat-kopf h1 { margin: 2px 0 0; font-size: 30px; line-height: 1.15; color: var(--gruen-dunkel); letter-spacing: -0.5px; }
.kat-kopf p { margin: 2px 0 0; color: var(--leise); font-size: 15px; }
.kat-kopf ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 15px; font-weight: 600; color: var(--leise); }
.kat-kopf li::before { content: "✓ "; color: var(--gruen-dunkel); font-weight: 700; }
.kat-kopf + .kacheln { margin-top: 18px; }
@media (max-width: 640px) { .kat-kopf { padding: 10px 14px; } .kat-kopf h1 { font-size: 24px; } .kat-kopf ul { font-size: 13px; } }

/* Produktseite: Staffelpreis läuft mit der Menge mit */
.staffel-hinweis b { color: var(--gruen-dunkel); }
.zeilen-summe { font-size: 14px; color: var(--gruen-dunkel); font-weight: 600; min-height: 0; }
.zeilen-summe:empty { display: none; }

/* Sparpreis-Newsletter (/sparpreis.html, Ziel der Laufband-Banner) */
.newsletter-kasten { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; background: #fff; border-radius: 14px; padding: 26px 32px; box-shadow: var(--schatten); }
.nl-text { flex: 1 1 420px; max-width: 640px; }
.nl-sale { font-size: 64px; font-weight: 900; color: #cc0000; line-height: 1; letter-spacing: 1px; }
.newsletter-kasten h1, .newsletter-kasten h2 { font-size: 24px; margin: 10px 0 6px; color: var(--text); letter-spacing: 0; }
.newsletter-kasten p { margin: 0 0 14px; color: var(--leise); }
.nl-form { display: flex; gap: 0; background: #eef1f4; border: 1px solid #cdd2d7; border-radius: 10px; padding: 5px; }
.nl-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 8px 12px; }
.nl-form input[type=email]:focus { outline: none; }
.nl-form button { background: #009614; color: #fff; border: 0; border-radius: 7px; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.nl-form button:hover { background: #007a10; }
.nl-honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter-kasten .kasse-meldung { margin: 8px 0 0; }
.nl-klein { font-size: 13px; margin: 10px 0 0 !important; }
.newsletter-kasten img { width: 200px; height: auto; flex: none; }
.nl-hinweis form { margin-top: 14px; }
@media (max-width: 640px) { .newsletter-kasten { padding: 18px; } .newsletter-kasten img { display: none; } .nl-sale { font-size: 48px; } .nl-form { flex-direction: column; gap: 6px; } }

/* Laufband: zwischen den Bannern abwechselnd Prozentzeichen und "SALE" (führen zum Newsletter) */
.laufband-bild { padding-right: 0; }
.laufband-zwischen { display: flex; align-items: center; flex: none; height: 170px; padding: 0 110px; }
.laufband-zwischen img { display: block; height: 140px; width: auto; }
@media (max-width: 640px) { .laufband-zwischen { height: 96px; padding: 0 56px; } .laufband-zwischen img { height: 78px; } }

/* Seite nicht gefunden */
.fehler-kopf h1 { color: var(--text); font-size: 26px; }
.fehler-suche { display: flex; gap: 8px; margin: 12px 0 4px; max-width: 560px; }
.fehler-suche input { flex: 1; min-width: 0; font: inherit; padding: 9px 12px; border: 1px solid #c9ced4; border-radius: 8px; }
.fehler-suche .knopf-rot { font-size: 16px; padding: 9px 22px; }
.fehler-kopf .korb-leer-gruppen { justify-content: flex-start; margin-top: 10px; }

/* Handy: Kopf in zwei Zeilen (Logo + Telefon + Warenkorb, darunter Suche), obere Links in einer wischbaren Zeile */
@media (max-width: 560px) {
  nav.oben .breite { flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-block: 8px; scrollbar-width: none; }
  nav.oben .breite::-webkit-scrollbar { display: none; }
  nav.oben a { font-size: 15px; white-space: nowrap; }
  .kopf { gap: 10px; padding: 12px 14px; }
  .logo img { height: 40px; }
  .hotline { display: flex; margin-left: auto; }
  .hotline-text { display: none; }
  .hotline-symbol { width: 40px; height: 40px; border: 1px solid #d7e9b8; border-radius: 8px; align-items: center; justify-content: center; }
  .korb-link { margin-left: 0; padding: 9px 12px; }
  .korb-text { display: none; }
  nav.kategorien { gap: 2px 18px; padding: 9px 16px; }
  nav.kategorien a { font-size: 17px; }
  .start-leiste { gap: 6px 12px; }
  .start-leiste img { width: 44px; }
  .start-leiste h1 { flex: 1 1 200px; font-size: 15px; }
}

/* Kontakt: Telefonzeiten, Zusatzfelder, häufige Fragen */
.kontakt-zeiten { display: block; color: var(--gruen-dunkel) !important; font-weight: 600; }
.kontakt-extra { background: #f8faf5; border: 1px solid #e3ecd5; border-radius: 10px; padding: 10px 12px; }
.kontakt-extra[hidden] { display: none; }
.nachricht-pflicht[hidden] { display: none; }
.kontakt-fragen { margin-top: 18px; background: #fff; border-radius: 14px; padding: 20px 26px; box-shadow: var(--schatten); }
.kontakt-fragen h2 { margin: 0 0 8px; color: var(--gruen-dunkel); font-size: 22px; }
.kontakt-fragen details { border-bottom: 1px solid var(--linie); padding: 10px 0; }
.kontakt-fragen summary { cursor: pointer; font-weight: 600; list-style: none; padding-left: 24px; position: relative; }
.kontakt-fragen summary::-webkit-details-marker { display: none; }
.kontakt-fragen summary::before { content: "+"; position: absolute; left: 2px; color: var(--gruen-dunkel); font-weight: 700; }
.kontakt-fragen details[open] summary::before { content: "–"; }
.kontakt-fragen details p { margin: 6px 0 0 24px; color: var(--leise); }

/* Über uns: Kopfleiste mit 25 Jahre, Abschluss-Kasten */
.ueber-kopf { justify-content: flex-start; }
.ueber-kopf img { width: 84px; height: auto; flex: none; }
.ueber-kopf h1 span { color: var(--text); font-weight: 600; }
.ueber-kopf + .spalten { margin-top: 18px; }
.ueber-abschluss { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; background: #fff; border-radius: 14px; padding: 20px 26px; box-shadow: var(--schatten); border: 2px solid #d7e9b8; }
.ueber-abschluss h2 { margin: 0 0 4px; color: var(--gruen-dunkel); font-size: 22px; }
.ueber-abschluss p { margin: 0; color: var(--leise); }
.ueber-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.ueber-knoepfe a { text-decoration: none; font-size: 16px; padding: 10px 18px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
.ueber-knoepfe small { font-size: 12px; font-weight: 400; opacity: .9; }
.knopf-weiss { background: #fff; color: var(--gruen-dunkel); border: 2px solid var(--gruen); border-radius: 8px; font-weight: 600; }
.knopf-weiss:hover { background: #f3f8ea; }

/* Sicherheitsdatenblätter: Kopfleiste mit ZIP, je Blatt Produktbild, PDF und "zum Produkt" */
.sdb-zip { text-decoration: none; font-size: 16px; padding: 10px 20px; white-space: nowrap; }
.sdb-spalten { margin-top: 18px; }
.sdb-liste { list-style: none; margin: 0; padding: 6px 18px 10px; }
.sdb-zeile { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.sdb-zeile:last-child { border-bottom: 0; }
.sdb-bild { display: block; width: 44px; height: 38px; }
.sdb-bild img { width: 100%; height: 100%; object-fit: contain; }
.sdb-pdf { font-weight: 600; text-decoration: none; }
.sdb-pdf:hover { text-decoration: underline; }
.sdb-produkt { font-size: 13px; color: var(--leise); white-space: nowrap; }
.sdb-hinweis { margin-top: 14px; background: #fff; border-radius: 14px; padding: 12px 20px; box-shadow: var(--schatten); }

/* Verarbeitung & Technik: Kacheln, Wertetabelle, Anleitungen, Druckfassung */
.verarb-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.verarb-kachel { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--schatten); text-decoration: none; color: var(--text); border: 2px solid transparent; transition: border-color .15s; }
.verarb-kachel:hover { border-color: var(--gruen); }
.verarb-symbol { font-size: 30px; }
.verarb-kachel strong { color: var(--gruen-dunkel); font-size: 18px; }
.verarb-kachel span:last-child { color: var(--leise); font-size: 14px; }
.verarb-werte { margin-top: 18px; }
.verarb-werte-kopf { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.verarb-werte-kopf h2 { margin: 0; color: var(--gruen-dunkel); font-size: 22px; }
.werte-tabelle { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.werte-tabelle th, .werte-tabelle td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.werte-tabelle thead th { font-size: 13px; color: var(--leise); font-weight: 600; border-bottom: 2px solid var(--linie); }
.werte-tabelle tbody th a { color: var(--gruen-dunkel); text-decoration: none; font-weight: 700; }
.werte-tabelle tbody tr:nth-child(even) { background: #f8faf5; }
.anl-kopf .anl-drucken { padding: 9px 18px; font: inherit; cursor: pointer; }
.anleitung { margin-top: 18px; }
.anl-regeln { background: #eef6e0; border: 1px solid #d7e9b8; border-radius: 12px; padding: 14px 20px; margin-bottom: 14px; }
.anl-regeln h2 { margin: 0 0 6px; color: var(--gruen-dunkel); font-size: 20px; }
.anl-regeln ol { margin: 0; padding-left: 22px; font-weight: 600; }
.anl-regeln ol li { padding: 2px 0; }
.anl-tabelle { margin-top: 4px; background: #fff; border-radius: 8px; }
.anl-tabelle td { white-space: normal; }
.anl-abschnitt { border-top: 1px solid var(--linie); padding-top: 6px; margin-top: 10px; break-inside: avoid; }
.anl-abschnitt h2 { color: var(--gruen-dunkel); font-size: 20px; margin: 6px 0 4px; }
@media (max-width: 900px) { .verarb-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .verarb-kacheln { grid-template-columns: minmax(0, 1fr); } }
@media print {
  body { background: #fff !important; }
  nav.oben, .kopf, nav.kategorien, .fuss, .laufband, .anl-drucken, .kat-weg, #willkommen { display: none !important; }
  .kat-kopf, .inhalt, .anleitung { box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
  .anl-abschnitt, .anl-regeln { break-inside: avoid; }
  .anleitung { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
}
.verarb-werte { max-width: none; }
.anleitung { max-width: 900px; }

/* SEPA: Fortschritt, Formular links, Vorteile rechts */
.sepa-schritte { margin: 14px 0 0; }
.sepa-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 18px; align-items: start; margin-top: 14px; }
.sepa-raster .inhalt { max-width: none; }
.sepa-vorteile h2 { margin: 0 0 6px; color: var(--gruen-dunkel); font-size: 19px; }
.sepa-vorteile .vorteile { margin-top: 0; }
.sepa-neu { font-size: 14px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #e3ecd5; }
.sepa .kasse-form label small { color: var(--leise); font-size: 13px; }
@media (max-width: 860px) { .sepa-raster { grid-template-columns: minmax(0, 1fr); } }
