/* 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: #8bbd3c;
  --gruen-dunkel: #669933;
  --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; }
nav.oben .korb-link { margin-left: auto; color: #fff; font-weight: 600; background: var(--rot); padding: 2px 12px; border-radius: 16px; text-shadow: none; }
#korb-anzahl:not(:empty) { background: #fff; color: var(--rot); border-radius: 10px; padding: 0 7px; font-size: 14px; margin-left: 4px; }

.rahmen { padding-bottom: 28px; }
.kopf { background: #fff; border-radius: 10px 10px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 22px 18px; flex-wrap: wrap; }
.hotline span { display: block; color: var(--grau); font-size: 30px; font-weight: 600; line-height: 1.1; }
.hotline a { display: block; color: var(--gruen); font-size: 32px; font-weight: 700; text-decoration: none; }
.logo img { height: 96px; width: auto; display: block; }
@media (max-width: 640px) {
  .hotline span { font-size: 18px; }
  .hotline a { font-size: 20px; }
  .logo img { height: 56px; }
}

nav.kategorien { border-radius: 0 0 10px 10px; box-shadow: 0 4px 14px rgb(0 0 0 / 12%); background: var(--gruen); display: flex; flex-wrap: wrap; gap: 0 30px; padding: 8px 22px; }
nav.kategorien a { color: #fff; font-size: 24px; font-weight: 600; text-decoration: none; }
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: 10px; padding: 20px 22px; box-shadow: 0 4px 14px rgb(0 0 0 / 12%); }

/* Banner-Karussell */
.karussell { position: relative; margin-top: 16px; border-radius: 10px; overflow: hidden; overflow: clip; box-shadow: 0 4px 14px rgb(0 0 0 / 12%); background: #fff; }
.karussell-band { display: flex; transition: transform .6s ease; }
.karussell-bild { flex: 0 0 100%; display: block; }
.karussell-bild img { display: block; width: 100%; height: auto; }
.karussell-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 85%); box-shadow: 0 1px 6px rgb(0 0 0 / 25%); font-size: 30px; line-height: 36px; color: #555; cursor: pointer; }
.karussell-pfeil.zurueck { left: 10px; }
.karussell-pfeil.weiter { right: 10px; }
@media (prefers-reduced-motion: reduce) { .karussell-band { transition: none; } }
.grau { color: var(--grau); }
.gruen { color: var(--gruen); }

/* Produktkacheln */
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .kacheln { grid-template-columns: minmax(0, 1fr); } }
.kachel { display: flex; flex-direction: column; border: 2px solid transparent; border-radius: 10px; box-shadow: 0 4px 14px rgb(0 0 0 / 12%); padding: 14px 16px; text-decoration: none; color: var(--text); background: #fff; transition: box-shadow .15s, border-color .15s; }
.kachel:hover { border-color: var(--gruen); box-shadow: 0 4px 16px rgb(0 0 0 / 10%); }
.kachel-titel { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
.kachel-mitte { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex: 1; }
.kachel-mitte p { margin: 8px 0; color: var(--leise); }
.kachel-mitte img { width: 130px; height: 110px; object-fit: contain; flex: none; }
.kachel-preis { text-align: left; font-size: 15px; color: var(--leise); }
.kachel-preis strong { color: var(--gruen-dunkel); font-size: 22px; }

/* 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: var(--rot); 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; }
.knopf-rot { background: var(--rot); color: #fff; border: 0; border-radius: 5px; padding: 10px 34px; font: inherit; font-size: 19px; cursor: pointer; }
.knopf-rot:hover { filter: brightness(1.08); }
.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: 16px; border-radius: 10px; 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) { .kachel-mitte img { width: 90px; height: 80px; } .kachel-titel { font-size: 28px; } .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; }
}
