/* Vorlage »Bonit« — erstes Design des NEXUS-Shops, nach bonit.shop (Regel 106).
   Keine fremden Dateien: die Schrift liegt in schrift/ (Montserrat, SIL OFL),
   die Symbole stehen als SVG im HTML. Jede Vorlage traegt dieselben
   Variablen unter :root, je Zeile eine, die Beschriftung als Kommentar
   dahinter: der Design-Editor in FRM_Onlineshop liest sie von hier, NEXUS
   haengt die eigenen Werte des Shops als zweites :root an und laedt das
   Ergebnis als stil.css hoch (MDL_Shop.ShopStil). Die Farben liest auch die
   Bestellmail (shop.php, mailen). */

@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(schrift/montserrat-400.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url(schrift/montserrat-500.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(schrift/montserrat-700.woff2) format("woff2"); }

:root {
  --akzent: #99cc33;     /* Akzent — Knöpfe, Preise, Hervorhebung */
  --dunkel: #000000;     /* Menüleiste, Knöpfe beim Überfahren */
  --text: #313131;       /* Text */
  --titel: #444444;      /* Überschriften */
  --blass: #808080;      /* Blasser Text */
  --linie: #f1f1f1;      /* Trennlinien */
  --grund: #f7f7f7;      /* Seitenhintergrund */
  --flaeche: #ffffff;    /* Kopf, Kästen und Fuß */
  --banner: #fed951;     /* Banner an den Artikelbildern */
  --widerruf: #660000;   /* Widerruf und Meldungen */
  --schrift: Montserrat, "Segoe UI", Arial, sans-serif;   /* Schrift */
  --groesse: 14px;       /* Grundschrift */
  --titelgroesse: 30px;  /* Seitenüberschrift */
  --ecken: 4px;          /* Eckenrundung */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 var(--groesse)/1.6 var(--schrift); letter-spacing: .5px; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--akzent); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h5 { color: var(--titel); font-weight: 700; }
svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -2px; margin-right: 8px; flex: none; }
ul { list-style: none; margin: 0; padding: 0; }
input, select, button, textarea { font: inherit; letter-spacing: inherit; }

.breite { max-width: 1400px; margin: 0 auto; padding: 0 15px; }


/* ---- Kopf ---------------------------------------------------------------- */

.kopf { background: var(--flaeche); padding: 20px 0; }
.kopfzeile { display: flex; align-items: center; gap: 30px; }
.logo { flex: 0 0 22%; }
.logo img { max-height: 62px; display: block; }
.logo span, .fusslogo span { font-size: 24px; font-weight: 700; color: var(--titel); }
.suche { flex: 1; display: flex; }
.suche input { flex: 1; width: 0; min-width: 0; height: 40px; padding: 0 15px; font-size: 13px; border: 1px solid #eee; border-right: 0; border-radius: var(--ecken) 0 0 var(--ecken); outline: none; }
.suche input:focus { border-color: var(--akzent); }
.suche button, .knopf { height: 40px; padding: 0 14px; border: 0; border-radius: 0 var(--ecken) var(--ecken) 0; background: var(--akzent); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .3s; }
.suche button:hover, .knopf:hover { background: var(--dunkel); }
.telefon { white-space: nowrap; font-size: 14px; }
.telefon svg { width: 20px; height: 20px; vertical-align: -4px; }


/* ---- Menueleiste ------------------------------------------------------------ */

.menueschalter { display: none; }
.leiste { background: var(--dunkel); margin-bottom: 30px; }
.leistenzeile { display: flex; align-items: center; min-height: 56px; }
.leiste a, .kategorien { white-space: nowrap; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.leiste a:hover, .leiste a.aktiv { color: var(--akzent); }
.leiste a + a::before { content: ""; display: inline-block; height: 14px; margin: 0 26px; border-left: 1px solid #555; vertical-align: -1px; }
.leiste .anzahl { text-transform: none; }
.kategorien { align-self: stretch; display: flex; align-items: center; flex: 0 0 22%; margin-right: 30px; padding: 0 20px; background: var(--akzent); cursor: pointer; }


/* ---- Rumpf: Seitenleiste und Inhalt -------------------------------------------- */

.rumpf { display: grid; grid-template-columns: 22% 1fr; gap: 15px 30px; align-items: start; }
.rumpf.ohneleiste { grid-template-columns: 1fr; }

.seitenleiste { background: var(--flaeche); border-radius: var(--ecken); padding: 8px 14px; }
.seitenleiste > ul > li + li, .seitenleiste ul ul li { border-top: 1px solid var(--linie); }
.seitenleiste li a { display: block; padding: 12px 0; font-size: 14px; color: #000; letter-spacing: 1px; }
.seitenleiste li a:hover { color: var(--akzent); }
.seitenleiste a.aktiv { color: var(--akzent); font-weight: 700; }
.seitenleiste li:not(.seitenlink) + .seitenlink { padding-top: 14px; }

/* Untergruppen (shop.php, kopf): eine Gruppe mit Untergruppen ist ein
   <details>. Der Name im <summary> ist ein Link und fuehrt zur Gruppe, nur
   der Pfeil rechts daneben klappt auf und zu. */
.seitenleiste summary { display: flex; align-items: center; cursor: pointer; list-style: none; }
.seitenleiste summary::-webkit-details-marker { display: none; }
.seitenleiste summary a { flex: 1; }
.seitenleiste summary::after { content: ""; width: 7px; height: 7px; margin: 0 6px 0 22px; border: solid var(--blass); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .2s; }
.seitenleiste details[open] > summary::after { transform: rotate(45deg); }
.seitenleiste ul ul { padding-left: 14px; }
.seitenleiste ul ul a { font-size: 13px; }

.inhalt { min-width: 0; min-height: 500px; }


/* ---- Artikelliste ---------------------------------------------------------------- */

.liste h1 { margin: 10px 0 22px; font-size: var(--titelgroesse); font-weight: 500; letter-spacing: 1.5px; }
.gruppentext { margin: -8px 0 22px; }
.krumen { display: flex; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; }
.krumen li + li::before { content: "›"; margin: 0 14px; font-weight: 700; color: var(--text); }
.untergruppen { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.untergruppen a { display: block; padding: 8px 16px; border: 1px solid #e5e5e5; border-radius: var(--ecken); background: var(--flaeche); font-size: 13px; }

.werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-bottom: 18px; padding: 0 20px; font-size: 12px; font-weight: 700; }
.werkzeug label { display: flex; align-items: center; gap: 10px; }
.werkzeug select { height: 32px; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: var(--ecken); background: var(--flaeche); font-size: 12px; font-weight: 400; }
.werkzeug .anzahl { margin-left: auto; font-weight: 400; }
.leer { padding: 30px 20px; background: var(--flaeche); border-radius: var(--ecken); }

.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 34px 24px; padding: 20px 16px 30px; background: var(--flaeche); border-radius: var(--ecken); }
.raster:empty { display: none; }

/* Bild eines Infoelements (info.php, Kasse), etwa die EU-Mitteilung zur
   Gewaehrleistung: in voller Farbe und unveraendert, nur verkleinert. */
.infobild { display: block; width: 100%; max-width: 480px; height: auto; margin: 10px 0 16px; }

/* Aufmacher (index.php): ein Artikel mit Reihung ab 2000 ueber der Liste,
   quer ueber die ganze Breite. Das Bild fuellt sein Feld; ist es nicht quer,
   fallen oben und unten Raender weg. */
.aufmacher { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-bottom: 26px; background: var(--flaeche); border-radius: var(--ecken); overflow: hidden; color: var(--text); }
.aufmacher:hover { color: var(--text); }
.aufmacher .bild { position: relative; display: block; aspect-ratio: 2 / 1; background: var(--grund); }
.aufmacher .bild img, .aufmacher .bild video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.aufmacher .text { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; }
.aufmacher .titel { font-size: calc(var(--titelgroesse) * .75); font-weight: 700; line-height: 1.2; color: var(--titel); transition: color .3s; }
.aufmacher:hover .titel { color: var(--akzent); }
.aufmacher .kurz { font-size: 13px; line-height: 1.7; }
.aufmacher .preis b { color: var(--akzent); font-size: 18px; }
.aufmacher .preis s, .aufmacher .preis small { color: var(--blass); font-size: 12px; }
@media (max-width: 767px) { .aufmacher { grid-template-columns: minmax(0, 1fr); } }
.karte { display: flex; flex-direction: column; color: var(--text); }
.karte:hover { color: var(--text); }
.karte .bild { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin-bottom: 14px; }
.karte .bild img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--ecken); }
.ohnebild { background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'%3E%3Crect x='3' y='3' width='94' height='74' fill='none' stroke='%23999' stroke-width='3'/%3E%3Ccircle cx='30' cy='26' r='8' fill='none' stroke='%23999' stroke-width='3'/%3E%3Cpath d='M8 70 38 42l16 14 14-12 24 26' fill='none' stroke='%23999' stroke-width='3'/%3E%3C/svg%3E") center / 60% no-repeat; }
.banner { position: absolute; top: 10px; left: 0; padding: 4px 10px 3px; border-radius: 2px; background: var(--banner); color: #303030; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.karte .titel { font-size: 13px; font-weight: 700; line-height: 1.3; color: #161616; transition: color .3s; }
.karte:hover .titel { color: var(--akzent); }
.karte .kurz { margin-top: 10px; font-size: 12px; line-height: 1.7; color: #555; }
.karte .preis { margin-top: auto; padding-top: 14px; text-align: right; }
.karte .preis s { display: block; color: #929292; font-size: 12px; }
.karte .preis b { display: block; color: var(--akzent); font-weight: 400; font-size: 14px; }
.karte .preis small { display: block; color: #929292; font-size: 11px; }


/* ---- Artikelseite ------------------------------------------------------------------ */

.artikel .krumen { margin: 10px 0 22px; }
.artikelkopf { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 20px; background: var(--flaeche); border-radius: var(--ecken); }
.galerie { min-width: 0; }
.hauptbild { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.hauptbild img, .hauptbild video { width: 100%; height: 100%; object-fit: contain; border-radius: var(--ecken); }
.kleinbilder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.kleinbilder a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border: 1px solid #eee; border-radius: var(--ecken); }
.kleinbilder a:hover { border-color: var(--akzent); }
.kleinbilder img { width: 100%; height: 100%; object-fit: contain; }
.kleinbilder .video { position: relative; }
.kleinbilder .video::after { content: "\25B6"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; text-shadow: 0 0 8px rgba(0, 0, 0, .6); pointer-events: none; }
.angaben { min-width: 0; }
.angaben h1 { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid #ddd; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: #161616; }
.daten { font-size: 13px; line-height: 1.35; letter-spacing: 1px; }
.daten td, .staffel td, .staffel th, .merkmale td { padding: 2px 24px 2px 0; text-align: left; vertical-align: top; }
.daten td:first-child { min-width: 125px; white-space: nowrap; }
.merkmale td:first-child { min-width: 150px; font-weight: 700; }
.preisblock { margin: 18px 0; padding: 18px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.preisblock s { display: block; color: #929292; }
.preisblock b { display: block; font-size: 20px; letter-spacing: 1px; color: #161616; }
.preisblock small { display: block; margin-top: 8px; color: #555; font-size: 12px; }
.staffel { margin-bottom: 18px; font-size: 13px; border-collapse: collapse; }
.staffel th { font-weight: 700; border-bottom: 1px solid #ddd; }
.varianten { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.varianten a { display: block; padding: 8px 16px; border: 1px solid #e5e5e5; border-radius: var(--ecken); font-size: 13px; }
.varianten a.aktiv { border-color: var(--akzent); color: var(--akzent); font-weight: 700; }
.angaben h2 { margin: 0 0 10px; font-size: 18px; font-weight: 500; letter-spacing: 1.5px; }
.kurztext { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid #ddd; font-size: 13px; line-height: 1.6; }
.kaufen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.mengenzeile { display: flex; align-items: center; gap: 16px; font-weight: 700; }
.zaehler { display: flex; }
.zaehler button { width: 32px; height: 32px; border: 1px solid #e5e5e5; background: var(--grund); font-size: 18px; font-weight: 700; cursor: pointer; }
.zaehler input { width: 50px; height: 32px; padding: 0 6px; border: 1px solid #e5e5e5; border-width: 1px 0; text-align: center; -moz-appearance: textfield; }
.zaehler input::-webkit-inner-spin-button, .zaehler input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kaufen .knopf { flex: 0 0 100%; max-width: 190px; height: 36px; border-radius: var(--ecken); padding: 0 16px; font-size: 13px; text-transform: none; }
.kaufen .hinweis { flex: 0 0 100%; margin: -8px 0 0; }
.abschnitt { margin: 30px 0 12px; padding-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.langtext { line-height: 1.75; font-size: 13px; }
.merkmale { border-collapse: collapse; font-size: 13px; }
.merkmale tr + tr td { border-top: 1px solid var(--linie); }

/* Reiter ohne Script: je Reiter ein Radioknopf, der gewaehlte zeigt seine
   Seite. Bis zu drei: Beschreibung, Technische Daten, PDF — artikel.php legt
   nur an, was Inhalt hat. */
.reiter { display: flex; flex-wrap: wrap; margin-top: 30px; padding: 4px 20px 20px; background: var(--flaeche); border-radius: var(--ecken); }
.reiter > input { position: absolute; opacity: 0; pointer-events: none; }
.reiter > label { margin-right: 30px; padding: 16px 12px 10px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; letter-spacing: 1px; cursor: pointer; }
.reiter > .seite { display: none; flex: 0 0 100%; padding-top: 20px; border-top: 1px solid #eee; }
#reiter1:checked + label, #reiter2:checked + label, #reiter3:checked + label { color: var(--akzent); border-bottom-color: var(--akzent); }
#reiter1:checked ~ .seite1, #reiter2:checked ~ .seite2, #reiter3:checked ~ .seite3 { display: block; }
.pdfliste li { margin-bottom: 12px; font-size: 14px; }
.pdfliste svg { width: 22px; height: 22px; vertical-align: -6px; color: var(--widerruf); }


/* ---- Warenkorb und Kasse (kasse.php) ------------------------------------------------ */

.kasse h1 { margin: 10px 0 22px; font-size: var(--titelgroesse); font-weight: 500; letter-spacing: 1.5px; }
.meldung { padding: 12px 16px; border-left: 4px solid var(--widerruf); background: var(--flaeche); border-radius: var(--ecken); }
.korb { width: 100%; border-collapse: collapse; background: var(--flaeche); border-radius: var(--ecken); }
.korb th { padding: 14px 12px; border-bottom: 1px solid #ddd; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.korb td { padding: 12px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.korb small { color: var(--blass); font-size: 13px; }
.korb img { float: left; width: 64px; height: 64px; margin-right: 14px; object-fit: contain; }
.korb td:first-child { overflow-wrap: anywhere; hyphens: auto; }
.zahl { text-align: right; white-space: nowrap; }
.korb th:nth-child(n+2) { text-align: right; }
.mengenform { display: flex; justify-content: flex-end; gap: 6px; }
.mengenform input { width: 64px; height: 36px; padding: 0 6px; border: 1px solid #e5e5e5; border-radius: var(--ecken); text-align: center; }
.mengenform button, .leeren button { border: 0; background: none; color: var(--blass); cursor: pointer; }
.mengenform button:hover, .leeren button:hover { color: var(--widerruf); }
.leeren { margin: 10px 0 26px; text-align: right; font-size: 14px; }
.kassenteile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-bottom: 30px; }
.kassenteil { padding: 4px 22px 22px; background: var(--flaeche); border-radius: var(--ecken); }
.kassenteil h2 { margin: 20px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--akzent); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.kassenteil label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.kassenteil input[type=text], .kassenteil input[type=email], .kassenteil input[type=tel], .kassenteil input[type=password], .kassenteil select, .kassenteil textarea { display: block; width: 100%; margin-top: 5px; padding: 0 12px; height: 40px; border: 1px solid #e5e5e5; border-radius: var(--ecken); background: var(--flaeche); font-weight: 400; }
.kassenteil textarea { height: auto; padding: 10px 12px; }
.kassenteil input[readonly] { color: var(--blass); background: var(--grund); }
.kassenteil .haken { font-weight: 400; }
.kassenteil .haken input { margin: 0 8px 0 0; vertical-align: -2px; }
.kassenteil .haken a { text-decoration: underline; }
.zweier { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.uidform { display: flex; align-items: flex-end; gap: 10px; }
.uidform label { flex: 1; margin: 0; }
.uidform button { height: 40px; padding: 0 18px; border: 0; border-radius: var(--ecken); background: var(--dunkel); color: #fff; cursor: pointer; }
.hinweis { font-size: 12px; color: #666; }
.summen table { width: 100%; border-collapse: collapse; }
.summen td { padding: 7px 0; }
.summen .trenn td { border-top: 1px solid #ddd; }
.summen .gesamt td { padding-top: 12px; border-top: 2px solid var(--dunkel); font-size: 16px; font-weight: 700; }
.gesamtzeile { margin: 22px 0 12px; font-size: 15px; }
.bestellknopf { width: 100%; height: 48px; border-radius: var(--ecken); font-size: 14px; }
.falle { position: absolute; left: -9999px; }
.danke { padding: 4px 26px 22px; background: var(--flaeche); border-left: 4px solid var(--akzent); border-radius: var(--ecken); }

/* Demoshop ohne Modulpaket 4 (Shop.Demo): ein Streifen ueber dem Kopf, der beim Rollen mitsteht. */
.demo { padding: 6px 15px; background: #c0392b; color: #fff; text-align: center; font-size: 13px; font-weight: 700; }
.danke h2 { font-size: 18px; }
.danke button:not(.knopf) { margin-left: 8px; padding: 5px 14px; border: 1px solid #ddd; border-radius: var(--ecken); background: var(--grund); cursor: pointer; }
.bestelltext { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ddd; font-size: 14px; line-height: 1.6; }
@media print { .oben, .seitenleiste, .fuss, .danke button { display: none; } }


/* ---- Rechtliches (info.php) ------------------------------------------------------ */

.info { display: grid; grid-template-columns: 22% 1fr; gap: 15px 30px; align-items: start; }
.infomenue { position: sticky; top: 15px; background: var(--flaeche); border-radius: var(--ecken); padding: 8px 14px; }
.infomenue a { display: block; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.infomenue li:last-child a { border-bottom: 0; }
.infotext { background: var(--flaeche); border-radius: var(--ecken); padding: 10px 30px 22px; }
.infotext section { scroll-margin-top: 15px; }
.infotext h2 { margin: 26px 0 16px; padding-bottom: 12px; border-bottom: 1px solid #ddd; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.infotext p { margin: 0 0 16px; line-height: 1.75; }
.infotext h3 { margin: 26px 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.widerrufform { padding: 18px 22px 22px; border: 1px solid #ddd; max-width: 600px; }
.widerrufform .knopf { background: var(--widerruf); }


/* ---- Fuss -------------------------------------------------------------------- */

.fuss { margin-top: 40px; padding: 34px 0 24px; background: var(--flaeche); }
.fusszeile { display: flex; flex-wrap: wrap; gap: 30px 0; }
.fusslogo { flex: 0 0 30%; padding-right: 30px; }
.fusslogo img { max-height: 90px; }
.fussspalte { flex: 1 1 0; min-width: 200px; padding: 0 0 0 22px; border-left: 1px solid var(--linie); }
.fussspalte h5 { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: #333; }
.fussspalte li { font-size: 13px; line-height: 30px; color: var(--blass); }
.fussspalte .anschrift li { display: flex; line-height: 1.8; margin-bottom: 12px; }
.fussspalte .anschrift svg { margin: 4px 14px 0 0; width: 18px; height: 18px; }
.widerrufen { display: inline-block; margin-top: 6px; padding: 8px 16px 7px; border-radius: 3px; background: var(--widerruf); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.widerrufen:hover { color: #fff; background: var(--dunkel); }


/* ---- Breit (Desktop) ----------------------------------------------------------
   Kopf und Menueleiste bleiben oben stehen. Ein Sprung zu einem Anker
   (info.php#widerruf, kasse.php#kasse) landet unter ihnen, nicht dahinter:
   158 px = Kopf 102 (2 × 20 Rand + 62 Logo) + Leiste 56.
   Die Seitenleiste bleibt darunter stehen und rollt fuer sich, wenn sie
   hoeher ist als das Fenster: 188 px = 173 oben + 15 Abstand unten. */

@media (min-width: 768px) {
  html { scroll-padding-top: 158px; }
  .oben { position: sticky; top: 0; z-index: 10; }
  .infomenue { top: 173px; }
  .seitenleiste { position: sticky; top: 173px; max-height: calc(100vh - 188px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
}


/* ---- Schmal (Handy) ----------------------------------------------------------- */

@media (max-width: 767px) {
  .leiste .lang { display: none; }   /* »& Kasse« und »Konto«: sonst ist die Leiste breiter als 360 px */
  .kopf { padding: 14px 0; }
  .kopfzeile { flex-wrap: wrap; gap: 12px; }
  .logo { flex: 1 1 0; min-width: 0; }
  .logo img { max-height: 40px; }
  .logo span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; }
  .telefon { font-size: 13px; }
  .suche { order: 3; flex: 1 1 100%; }
  .leiste { margin-bottom: 15px; }
  .leiste a { font-size: 12px; letter-spacing: .3px; }
  .leiste a + a::before { margin: 0 10px; }
  .kategorien { flex: none; margin-right: 14px; padding: 0 14px; font-size: 0; }
  .kategorien svg { width: 20px; height: 20px; margin: 0; }
  .rumpf { grid-template-columns: 1fr; }
  .seitenleiste { display: none; }
  .menueschalter:checked ~ .rumpf .seitenleiste { display: block; }
  .liste h1, .kasse h1 { font-size: 22px; }
  .raster { grid-template-columns: minmax(0, 1fr); }
  .werkzeug { padding: 0; }
  .fusslogo { flex: 1 1 100%; }
  .fussspalte { flex: 1 1 100%; border-left: 0; padding: 0; }
  .artikelkopf { grid-template-columns: 1fr; padding: 14px; }
  .reiter { padding: 4px 14px 14px; }
  .reiter > label { margin-right: 10px; }
  .kassenteile { grid-template-columns: 1fr; }
  .korb tr > :nth-child(2) { display: none; }
  .korb img { display: none; }
  .info { grid-template-columns: 1fr; }
  .infomenue { position: static; }
  .infotext { padding: 4px 16px 12px; }
}
