/* Shop (kantmeister.de/shop) – eigener Bereich mit eigenem Menü. Seiten entstehen aus scripts/shop-seiten.mjs. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --orange: #fe4400; --orange-d: #d93a00;
  --dark: #1a1a1a; --dark2: #2e2e2e;
  --grey: #5a5a5a; --grey-l: #9a9a9a;
  --border: #e0dcd6; --bg: #f7f5f2; --white: #ffffff;
  --fd: 'Barlow Condensed', sans-serif; --fb: 'Barlow', sans-serif;
  --rand: clamp(16px, 4vw, 52px);
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--dark); font-family: var(--fb); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.innen { max-width: 1240px; margin: 0 auto; }

/* Kopf */
.sh-kopf { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.sh-kopf-zeile { display: flex; align-items: center; gap: 24px; padding: 0 var(--rand); height: 68px; }
.sh-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex-shrink: 0; }
.sh-logo img { height: 34px; width: auto; align-self: center; }
.sh-logo span { font: 800 20px var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.sh-menue { display: flex; gap: 4px; margin: 0 auto 0 12px; padding: 0; list-style: none; overflow-x: auto; }
.sh-menue a { display: block; padding: 22px 14px 19px; font: 600 16px var(--fd); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--dark); border-bottom: 3px solid transparent; white-space: nowrap; }
.sh-menue a:hover { color: var(--orange-d); }
.sh-menue a[aria-current="page"] { border-bottom-color: var(--orange); }
.sh-korb { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--dark); color: #fff; font: 600 15px var(--fd); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; flex-shrink: 0; }
.sh-korb:hover { background: var(--orange-d); }
.sh-korb b { min-width: 22px; padding: 0 6px; background: var(--orange); border-radius: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.sh-korb b[hidden] { display: none; }
.sh-zurueck { font-size: 13px; color: var(--grey); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.sh-zurueck:hover { color: var(--dark); }
.sh-entwurf { background: #fff3cd; color: #664d03; font-size: 13px; text-align: center; padding: 6px var(--rand); }

/* Bühne */
.sh-buehne { background: var(--dark); color: #fff; padding: 52px var(--rand) 44px; }
.sh-buehne .marke { font: 600 13px var(--fd); letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.sh-buehne h1 { font: 900 clamp(34px, 4.4vw, 58px)/1.02 var(--fd); text-transform: uppercase; margin: 10px 0 14px; text-wrap: balance; }
.sh-buehne h1 em { font-style: normal; color: var(--orange); }
.sh-buehne p { max-width: 660px; margin: 0; font-size: 17px; font-weight: 300; color: rgba(255,255,255,.78); }
.sh-pfad { padding: 14px var(--rand); font-size: 13px; color: var(--grey); }
.sh-pfad a { color: var(--grey); text-decoration: none; }
.sh-pfad a:hover { color: var(--dark); text-decoration: underline; }

/* Raster */
.sh-bereich { padding: 40px var(--rand) 56px; }
.sh-bereich h2 { font: 800 30px var(--fd); text-transform: uppercase; margin: 0 0 6px; }
.sh-bereich .unter { color: var(--grey); font-weight: 300; margin: 0 0 22px; max-width: 720px; }
.sh-bereich .mehr { display: inline-block; margin-top: 18px; font: 600 15px var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); text-decoration: none; }
.sh-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.sh-karte[hidden] { display: none; }
.sh-karte { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); text-decoration: none; transition: border-color .15s, transform .15s; }
.sh-karte:hover { border-color: var(--dark); transform: translateY(-2px); }
.sh-karte .bild { aspect-ratio: 1 / 1; background: #ece7df; overflow: hidden; }
.sh-karte .bild img { width: 100%; height: 100%; object-fit: cover; }
.sh-karte .text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sh-karte h3 { font: 700 19px/1.15 var(--fd); text-transform: uppercase; margin: 0; }
.sh-karte p { margin: 0; font-size: 14px; font-weight: 300; color: var(--grey); line-height: 1.45; }
.sh-karte .preis { margin-top: auto; padding-top: 8px; font: 700 20px var(--fd); font-variant-numeric: tabular-nums; }
.sh-karte .preis small { font: 400 13px var(--fb); color: var(--grey); }
.sh-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sh-kachel { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark2); color: #fff; text-decoration: none; }
.sh-kachel img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .3s, opacity .3s; }
.sh-kachel:hover img { transform: scale(1.04); opacity: .95; }
.sh-kachel div { position: absolute; inset: auto 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.sh-kachel h2 { font: 800 28px var(--fd); text-transform: uppercase; margin: 0; color: #fff; }
.sh-kachel p { margin: 2px 0 0; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.85); }
.sh-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sh-filter a, .sh-filter button, .sh-wahl button { appearance: none; border: 1px solid var(--border); background: #fff; padding: 9px 14px; font: 500 15px var(--fb); color: var(--dark); cursor: pointer; text-align: left; line-height: 1.25; }
.sh-filter a:hover, .sh-filter button:hover, .sh-wahl button:hover { border-color: var(--dark); }
.sh-filter a[aria-current], .sh-filter button[aria-pressed="true"], .sh-wahl button[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }

/* Artikel */
.sh-artikel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 8px var(--rand) 56px; }
.sh-galerie { position: sticky; top: 88px; }
.sh-galerie .gross { aspect-ratio: 1 / 1; background: #ece7df; border: 1px solid var(--border); overflow: hidden; }
.sh-galerie .gross img { width: 100%; height: 100%; object-fit: cover; }
.sh-galerie .klein { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.sh-galerie .klein button { appearance: none; padding: 0; border: 2px solid transparent; background: none; width: 72px; height: 72px; flex-shrink: 0; cursor: pointer; }
.sh-galerie .klein button[aria-pressed="true"] { border-color: var(--orange); }
.sh-galerie .klein img { width: 100%; height: 100%; object-fit: cover; }
.sh-galerie .notiz { margin: 8px 0 0; font-size: 13px; color: var(--grey); }
.sh-ar { margin-top: 14px; }
.sh-ar-knopf { display: inline-flex; align-items: center; gap: 10px; appearance: none; border: 2px solid var(--orange); background: #fff; color: inherit; font: inherit; font-weight: 600; padding: 11px 18px; cursor: pointer; }
.sh-ar-knopf:hover, .sh-ar-knopf:focus-visible { background: var(--orange); color: #fff; }
.sh-kauf { background: var(--white); border: 1px solid var(--border); padding: 28px; }
.sh-kauf h1 { font: 800 clamp(28px, 3vw, 38px)/1.05 var(--fd); text-transform: uppercase; margin: 0 0 6px; text-wrap: balance; }
.sh-kauf .kurz { margin: 0 0 18px; color: var(--grey); font-weight: 300; }
.sh-feld { margin-bottom: 18px; }
.sh-feld > .name, .sh-feld > label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.sh-feld input { width: 100%; border: 1px solid var(--border); background: #fff; padding: 12px 14px; font: 400 16px var(--fb); color: var(--dark); border-radius: 0; }
.sh-feld input:focus { outline: 2px solid var(--orange); outline-offset: -1px; }
.sh-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-wahl button small { display: block; font-weight: 300; color: var(--grey); font-size: 13px; }
.sh-wahl .farbe { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0,0,0,.25); }
.sh-menge { display: inline-flex; border: 1px solid var(--border); background: #fff; }
.sh-menge button { appearance: none; border: 0; background: none; width: 42px; height: 42px; font-size: 20px; cursor: pointer; color: var(--dark); }
.sh-menge output { width: 46px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-variant-numeric: tabular-nums; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.sh-preis { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 18px; }
.sh-preis .betrag { font: 800 40px/1.1 var(--fd); font-variant-numeric: tabular-nums; }
.sh-preis .zusatz { font-size: 13px; color: var(--grey); }
.sh-knopf { appearance: none; display: block; width: 100%; border: 0; background: var(--orange); color: #fff; font: 700 18px var(--fd); letter-spacing: .08em; text-transform: uppercase; text-align: center; text-decoration: none; padding: 16px 28px; cursor: pointer; margin-top: 16px; }
.sh-knopf:hover { background: var(--orange-d); }
.sh-knopf[disabled] { background: #b9b4ac; cursor: not-allowed; }
.sh-knopf.zweit { background: none; color: var(--dark); border: 1px solid var(--dark); }
.sh-knopf.zweit:hover { background: var(--dark); color: #fff; }
.sh-meldung { margin-top: 12px; font-size: 14px; min-height: 21px; color: var(--grey); }
.sh-meldung.gut { color: #1b6e2d; font-weight: 500; }
.sh-meldung.fehler { color: #b3261e; font-weight: 500; }
.sh-meldung a { color: inherit; font-weight: 600; }
.sh-klein { font-size: 13px; color: var(--grey); line-height: 1.55; margin: 12px 0 0; }
.sh-text { margin-top: 26px; }
.sh-text p { margin: 0 0 12px; font-weight: 300; color: #333; }
.sh-daten { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.sh-daten th, .sh-daten td { text-align: left; vertical-align: top; padding: 9px 0; border-top: 1px solid var(--border); }
.sh-daten th { width: 34%; font-weight: 600; padding-right: 16px; }
.sh-daten td { font-weight: 300; color: #333; }

.sh-rechner { background: var(--bg); border: 1px solid var(--border); padding: 14px 16px; margin-bottom: 18px; }
.sh-rechner label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.sh-rechner .zeile { display: flex; align-items: center; gap: 8px; }
.sh-rechner input { width: 110px; border: 1px solid var(--border); background: #fff; padding: 10px 12px; font: 400 16px var(--fb); color: var(--dark); border-radius: 0; }
.sh-rechner input:focus { outline: 2px solid var(--orange); outline-offset: -1px; }
.sh-rechner button { appearance: none; border: 1px solid var(--dark); background: none; padding: 10px 14px; font: 600 15px var(--fd); letter-spacing: .07em; text-transform: uppercase; color: var(--dark); cursor: pointer; margin-left: auto; }
.sh-rechner button:hover { background: var(--dark); color: #fff; }
.sh-rechner p { margin: 10px 0 0; font-size: 14px; color: #333; min-height: 0; }
.sh-rechner p:empty { display: none; }
.sh-rechner p.fehler { color: #b3261e; }
.sh-passend { padding-top: 0; }
.sh-passend .sh-raster { grid-template-columns: repeat(auto-fill, minmax(230px, 280px)); }
.sh-verweis { margin: 28px 0 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); font-size: 15px; }
.sh-verweis a { color: var(--orange-d); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sh-verweis a:hover { text-decoration: underline; }

/* Warenkorb */
.sh-korbseite { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 8px var(--rand) 64px; }
.sh-zeile { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--border); padding: 14px; margin-bottom: 10px; }
.sh-zeile .bild { width: 84px; height: 84px; background: #ece7df; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sh-zeile .bild img { width: 100%; height: 100%; object-fit: cover; }
.sh-zeile h3 { font: 700 19px/1.15 var(--fd); text-transform: uppercase; margin: 0 0 2px; }
.sh-zeile h3 a { text-decoration: none; }
.sh-zeile p { margin: 0; font-size: 14px; font-weight: 300; color: var(--grey); line-height: 1.45; }
.sh-zeile .rechts { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sh-zeile .summe { font: 700 20px var(--fd); font-variant-numeric: tabular-nums; }
.sh-zeile .weg { appearance: none; border: 0; background: none; padding: 0; font-size: 13px; color: var(--grey); text-decoration: underline; cursor: pointer; }
.sh-zeile .sh-menge button { width: 34px; height: 34px; font-size: 17px; }
.sh-zeile .sh-menge output { width: 38px; }
.sh-leer { background: var(--white); border: 1px solid var(--border); padding: 40px 24px; text-align: center; color: var(--grey); }
.sh-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.sh-summe .betrag { font: 800 34px var(--fd); font-variant-numeric: tabular-nums; }
.sh-topf { position: absolute; left: -9999px; }

/* Vorteile + Fuß */
.sh-vorteile { background: var(--white); border-top: 1px solid var(--border); padding: 48px var(--rand); }
.sh-vorteile .innen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sh-vorteile h3 { font: 800 20px var(--fd); text-transform: uppercase; margin: 0 0 6px; }
.sh-vorteile p { margin: 0; font-size: 15px; font-weight: 300; color: var(--grey); }
.sh-vorteile a { color: var(--orange-d); }
.sh-fuss { background: var(--dark); color: rgba(255,255,255,.6); padding: 28px var(--rand); font-size: 13px; }
.sh-fuss .innen { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.sh-fuss a { color: rgba(255,255,255,.8); text-decoration: none; margin-left: 20px; }
.sh-fuss a:first-child { margin-left: 0; }
.sh-fuss a:hover { color: #fff; }

@media (max-width: 900px) {
  .sh-kopf-zeile { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 10px 16px; }
  .sh-menue { order: 3; width: 100%; margin: 0 calc(var(--rand) * -1); padding: 0 calc(var(--rand) - 14px); }
  .sh-menue a { padding: 10px 14px 9px; }
  .sh-zurueck { display: none; }
  .sh-korb { margin-left: auto; }
  .sh-artikel, .sh-korbseite { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sh-galerie { position: static; }
  .sh-kauf { padding: 20px 16px; }
  .sh-zeile { grid-template-columns: 64px minmax(0, 1fr); }
  .sh-zeile .bild { width: 64px; height: 64px; }
  .sh-zeile .rechts { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .sh-karte, .sh-kachel img { transition: none; } html { scroll-behavior: auto; } }
/* Vier Menüpunkte: Der Verweis zur Hauptseite weicht, bevor das Menü abgeschnitten wird */
@media (max-width: 1360px) { .sh-zurueck { display: none; } }

.sh-filter a { text-decoration: none; }
.sh-ratgeber .spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px 48px; margin-top: 18px; }
.sh-ratgeber h3 { font: 700 20px var(--fd); margin: 0 0 4px; }
.sh-ratgeber p { margin: 0; font-weight: 300; color: #333; }
.sh-katalog { display: inline-block; margin-top: 24px; padding: 13px 22px; border: 1px solid #fff; color: #fff; font: 700 16px var(--fd); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.sh-katalog:hover { background: #fff; color: var(--dark); }

/* Gartenstele mit eigenem Text: Vorschau der Sichtfläche */
.sh-vorschau { margin-top: 12px; padding: 16px; background: linear-gradient(#7f9a6b, #5d7a4c); border: 1px solid var(--border); text-align: center; }
.sh-vorschau .sh-klein { color: #fff; }
.sh-vorschau svg { display: block; margin: 0 auto 8px; height: 340px; max-width: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.sh-vorschau .sh-klein { margin: 0; }
#sh-text-meldung:empty { display: none; }
