/* hautnah Shop – Styles (Marken-Look: Orange/Anthrazit, Inter) */
:root{
  --orange:#FF5200; --orange-dk:#e04600; --ink:#111111; --muted:#6b7280;
  --border:#e4e6e8; --soft:#f5f6f7; --white:#fff; --radius:8px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);background:var(--white);font-size:15px;line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1240px;margin:0 auto;padding:0 24px}
.btn-orange{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;font-weight:700;font-size:15px;padding:13px 26px;border:none;border-radius:var(--radius);cursor:pointer;transition:background .2s}
.btn-orange:hover{background:var(--orange-dk)}
.btn-orange:disabled{background:#cfd2d5;cursor:not-allowed}

/* Topbar */
.topbar{background:var(--ink);color:rgba(255,255,255,.85);font-size:12.5px}
.topbar-inner{max-width:1240px;margin:0 auto;padding:7px 24px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.topbar a{color:#fff;font-weight:600}

/* Header */
.shop-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--border)}
.shop-header-inner{max-width:1240px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:20px}
.shop-logo img{height:34px}
.shop-suche{flex:1;display:flex;max-width:560px;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.shop-suche input{flex:1;border:none;padding:11px 14px;font:inherit;outline:none}
.shop-suche button{background:var(--orange);color:#fff;border:none;padding:0 16px;cursor:pointer;display:flex;align-items:center}
.shop-cart{display:flex;align-items:center;color:var(--ink)}
.shop-cart:hover{color:var(--orange)}
.shop-burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.shop-burger span{width:22px;height:2px;background:var(--ink);border-radius:2px}
.shop-nav{max-width:1240px;margin:0 auto;padding:0 24px 12px;display:flex;flex-wrap:wrap;gap:18px;font-size:13.5px;font-weight:600}
.shop-nav a{color:#333;padding:3px 0;border-bottom:2px solid transparent}
.shop-nav a:hover{color:var(--orange);border-color:var(--orange)}

/* Hero */
.shop-hero{background:var(--ink);color:#fff}
.shop-hero-inner{max-width:1240px;margin:0 auto;padding:72px 24px}
.shop-hero .eyebrow{color:var(--orange);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:12px}
.shop-hero h1{font-size:clamp(32px,5vw,54px);font-weight:900;letter-spacing:-1px;margin:10px 0 14px}
.shop-hero p{color:rgba(255,255,255,.72);max-width:560px;font-size:16px;line-height:1.7;margin-bottom:26px}

/* Sektionen */
.shop-section{max-width:1240px;margin:0 auto;padding:48px 24px}
.shop-section--grau{max-width:none;background:var(--soft)}
.shop-section--grau .shop-h2,.shop-section--grau .chip-row{max-width:1240px;margin-left:auto;margin-right:auto}
.shop-h2{font-size:22px;font-weight:800;margin-bottom:20px}
.kachel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.kachel{position:relative;display:block;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}
.kachel:hover{box-shadow:0 12px 30px rgba(0,0,0,.12);transform:translateY(-2px)}
.kachel-bild{aspect-ratio:1/1;background:var(--soft);display:flex;align-items:center;justify-content:center}
.kachel-bild img{width:100%;height:100%;object-fit:cover}
.kachel-noimg{display:block;width:100%;height:100%;background:var(--soft)}
.kachel-label{position:absolute;left:0;right:0;bottom:0;padding:16px 14px 12px;background:linear-gradient(to top,rgba(0,0,0,.80),rgba(0,0,0,0))}
.kachel-label span{display:block;font-weight:700;font-size:16px;color:#fff}
.kachel-label small{color:rgba(255,255,255,.82)}
.chip-row{display:flex;flex-wrap:wrap;gap:10px;padding:0 24px}
.chip{background:#fff;border:1.5px solid var(--border);border-radius:40px;padding:9px 16px;font-weight:600;font-size:14px}
.chip small{color:var(--muted);margin-left:4px}
.chip:hover{border-color:var(--orange);color:var(--orange)}

/* Listing-Kopf */
.liste-kopf{border-bottom:1px solid var(--border);padding:22px 0}
.brotkrumen{font-size:13px;color:var(--muted);margin-bottom:6px}
.brotkrumen a:hover{color:var(--orange)}
.liste-kopf h1{font-size:28px;font-weight:800}
.aktive-filter{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.aktiv-chip{background:var(--ink);color:#fff;border-radius:30px;padding:5px 12px;font-size:12.5px;font-weight:600}
.aktiv-reset{color:var(--muted);font-size:12.5px;align-self:center;text-decoration:underline}

/* Listing-Layout */
.liste-layout{display:grid;grid-template-columns:230px 1fr;gap:32px;padding-top:28px;padding-bottom:60px;align-items:start}
.filter-sidebar{position:sticky;top:140px}
.filter-gruppe{border-bottom:1px solid var(--border);padding:14px 0}
.filter-gruppe h4{font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:10px}
.filter-werte{display:flex;flex-direction:column;gap:2px;max-height:260px;overflow:auto}
.filter-wert{display:flex;justify-content:space-between;align-items:center;padding:5px 8px;border-radius:6px;font-size:13.5px}
.filter-wert:hover{background:var(--soft)}
.filter-wert.aktiv{background:var(--orange);color:#fff;font-weight:600}
.filter-wert small{color:var(--muted)}
.filter-wert.aktiv small{color:rgba(255,255,255,.8)}

.liste-bar{display:flex;align-items:center;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.liste-count{font-weight:600;color:var(--muted)}
.sort{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:13.5px}
.sort label{color:var(--muted)}
.sort a{color:#444;font-weight:600}
.sort a.aktiv{color:var(--orange);text-decoration:underline}
.filter-toggle-btn{display:none}

/* Produkt-Raster + Karten */
.produkt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.pkarte{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}
.pkarte:hover{box-shadow:0 10px 30px rgba(0,0,0,.08);transform:translateY(-2px)}
.pkarte-bild{aspect-ratio:1/1;background:var(--soft);display:flex;align-items:center;justify-content:center}
.pkarte-bild img{width:100%;height:100%;object-fit:cover}
.kein-bild{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--soft);opacity:.35}
.kein-bild img{width:50%;filter:grayscale(1)}
.kein-bild.gross img{width:40%}
.pkarte-swatches{display:flex;gap:5px;padding:8px 10px 0;flex-wrap:wrap;align-items:center}
.swatch{width:26px;height:26px;border:1px solid var(--border);border-radius:5px;overflow:hidden;cursor:pointer;background:var(--soft)}
.swatch img{width:100%;height:100%;object-fit:cover}
.swatch:hover{border-color:var(--orange)}
.swatch-mehr{font-size:11px;color:var(--muted);align-self:center}
.pkarte-info{padding:8px 12px 14px}
.pkarte-kat{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--orange);font-weight:700}
.pkarte-info h3{font-size:14.5px;font-weight:600;margin:3px 0 6px;line-height:1.3}
.pkarte-preis{font-weight:700;font-size:15px;display:flex;gap:8px;align-items:baseline}
.pkarte-preis .preis-klein{font-size:12.5px;color:var(--muted);font-weight:600}

.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:36px}
.pagination a{font-weight:600;color:var(--orange)}
.pag-info{color:var(--muted);font-size:14px}
.leer{padding:60px 0;text-align:center;color:var(--muted)}
.leer a{color:var(--orange);font-weight:600}

/* Produktdetail */
.detail{padding:24px 24px 70px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:14px}
.galerie-haupt{aspect-ratio:1/1;background:var(--soft);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.galerie-haupt img{width:100%;height:100%;object-fit:cover}
.galerie-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumb{width:64px;height:64px;border:1.5px solid var(--border);border-radius:6px;overflow:hidden;background:var(--soft);cursor:pointer;padding:0}
.thumb.aktiv{border-color:var(--orange)}
.thumb img{width:100%;height:100%;object-fit:cover}

.detail-teamlinie{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--orange);font-weight:700}
.detail-info h1{font-size:30px;font-weight:800;margin:6px 0 10px;line-height:1.15}
.detail-preis{font-size:26px;font-weight:800}
.detail-mwst{color:var(--muted);font-size:13px;margin-top:2px}
.opt-block{margin-top:24px}
.opt-label{display:block;font-weight:600;font-size:14px;margin-bottom:10px}
.farb-swatches{display:flex;flex-wrap:wrap;gap:8px}
.farb-swatch{width:50px;height:50px;border:2px solid var(--border);border-radius:8px;overflow:hidden;background:var(--soft);cursor:pointer;padding:0}
.farb-swatch.aktiv{border-color:var(--orange)}
.farb-swatch img{width:100%;height:100%;object-fit:cover}
.farb-swatch span{display:block;width:100%;height:100%}
.groessen{display:flex;flex-wrap:wrap;gap:8px}
.groesse-btn{min-width:48px;padding:10px 12px;border:1.5px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-weight:600;cursor:pointer}
.groesse-btn:hover{border-color:var(--ink)}
.groesse-btn.aktiv{background:var(--ink);color:#fff;border-color:var(--ink)}
.groesse-hinweis{font-size:12.5px;color:var(--muted);margin-top:8px}
.kauf-leiste{display:flex;gap:12px;align-items:flex-end;margin-top:26px}
.menge-feld label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.menge-feld input{width:74px;padding:12px;border:1.5px solid var(--border);border-radius:6px;font:inherit}
.btn-kauf{flex:1;height:46px}
.beflockung-hinweis{margin-top:12px;font-size:13.5px;color:#0a7d3c}
.detail-beschreibung{margin-top:28px;border-top:1px solid var(--border);padding-top:20px}
.detail-beschreibung h3{font-size:15px;margin-bottom:8px}
.detail-beschreibung p{color:#444;line-height:1.7}

/* Footer */
.shop-footer{background:var(--ink);color:rgba(255,255,255,.7);margin-top:40px}
.shop-footer-inner{max-width:1240px;margin:0 auto;padding:34px 24px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:14px;line-height:1.7}
.shop-footer strong{color:#fff}
.shop-footer-links{display:flex;flex-direction:column;gap:6px}
.shop-footer-links a:hover{color:var(--orange)}

/* Responsive */
@media(max-width:900px){
  .liste-layout{grid-template-columns:1fr}
  .filter-sidebar{position:static;display:none;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:0 16px}
  .filter-sidebar.offen{display:block}
  .filter-toggle-btn{display:inline-block;background:var(--ink);color:#fff;border:none;border-radius:6px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer}
  .detail-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:680px){
  .shop-burger{display:flex}
  .shop-nav{display:none}
  .shop-nav.offen{display:flex}
  .shop-header-inner{flex-wrap:wrap}
  .shop-suche{order:3;max-width:none;flex-basis:100%}
}

/* ── Phase 2: Warenkorb-Badge, Beflockung, Checkout ───────────────────────── */
.shop-cart{position:relative}
.cart-badge{position:absolute;top:-8px;right:-10px;background:var(--orange);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.flash{background:#fff4ec;border:1px solid var(--orange);color:#9a3b00;border-radius:var(--radius);padding:10px 14px;margin:16px auto;font-size:14px;font-weight:600}
.btn-full{width:100%;text-align:center}

/* Kauf-Form / Beflockung */
.kauf-form{margin-top:4px}
.beflockung-block{border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;background:var(--soft)}
.bef-toggle{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:14.5px}
.bef-toggle input{width:18px;height:18px}
.bef-optionen{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.bef-arten{display:flex;flex-wrap:wrap;gap:14px}
.bef-art{display:flex;align-items:center;gap:7px;font-weight:600;font-size:14px;background:#fff;border:1px solid var(--border);border-radius:6px;padding:8px 12px;cursor:pointer}
.bef-art small{color:var(--muted);font-weight:500}
.bef-felder{display:flex;flex-direction:column;gap:8px}
.bef-felder input,.bef-felder select,.bef-felder textarea{padding:10px 12px;border:1.5px solid var(--border);border-radius:6px;font:inherit;width:100%}
.bef-logo{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.bef-aufpreis{font-size:14px}.bef-aufpreis strong{color:var(--orange)}

/* Warenkorb */
.wk{padding:32px 24px 70px}
.wk h1{font-size:28px;font-weight:800;margin-bottom:22px}
.wk-grid{display:grid;grid-template-columns:1fr 330px;gap:32px;align-items:start}
.wk-positionen{display:flex;flex-direction:column;gap:14px}
.wk-pos{display:grid;grid-template-columns:90px 1fr auto;gap:16px;border:1px solid var(--border);border-radius:var(--radius);padding:14px}
.wk-bild{width:90px;height:90px;background:var(--soft);border-radius:6px;overflow:hidden}
.wk-bild img{width:100%;height:100%;object-fit:cover}
.wk-info a{font-size:16px}
.wk-meta{color:var(--muted);font-size:13.5px;margin:4px 0}
.wk-bef{font-size:12.5px;color:#0a7d3c;background:#eafaf0;border-radius:6px;padding:6px 9px;margin:6px 0;line-height:1.5}
.wk-bef-preis{color:var(--muted)}
.wk-menge{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px}
.wk-menge input{width:64px;padding:7px;border:1.5px solid var(--border);border-radius:6px}
.wk-mini{background:none;border:none;color:var(--orange);font-weight:600;cursor:pointer;font-size:13px}
.wk-summe-spalte{text-align:right;display:flex;flex-direction:column;justify-content:space-between}
.wk-zeilensumme{font-weight:700}
.wk-entfernen{background:none;border:none;color:var(--muted);cursor:pointer;font-size:12.5px;text-decoration:underline}
.wk-entfernen:hover{color:#c0392b}
.wk-zusammenfassung{border:1px solid var(--border);border-radius:var(--radius);padding:20px;position:sticky;top:140px}
.wk-zusammenfassung h3{font-size:16px;margin-bottom:14px}
.wk-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}
.wk-gesamt{font-weight:800;font-size:17px;border-top:1px solid var(--border);margin-top:6px;padding-top:12px}
.wk-hinweis{font-size:12px;color:var(--muted);margin:10px 0 16px;line-height:1.5}
.wk-weiter{display:block;text-align:center;margin-top:12px;color:var(--muted);font-weight:600}
.wk-weiter:hover{color:var(--orange)}

/* Checkout */
.bestell-intro{color:#555;max-width:680px;line-height:1.6;margin-bottom:20px}
.bestell-form{border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.bestell-form h3{font-size:16px;margin-bottom:14px}
.bestell-form label{display:block;font-size:13px;color:#444;font-weight:600;margin-bottom:12px}
.bestell-form input,.bestell-form textarea{display:block;width:100%;margin-top:5px;padding:11px 13px;border:1.5px solid var(--border);border-radius:6px;font:inherit;font-weight:400}
.bf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-fehler{background:#fdecec;border:1px solid #f5b5b5;color:#a3271f;border-radius:6px;padding:10px 14px;margin-bottom:16px;font-weight:600}
.bestell-rechtshinweis{font-size:12px;color:var(--muted);margin-top:10px;font-weight:400}
.best-pos{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:8px 0;border-bottom:1px solid var(--border)}
.best-pos small{color:var(--muted)}

@media(max-width:820px){.wk-grid{grid-template-columns:1fr}.wk-zusammenfassung{position:static}.bf-row{grid-template-columns:1fr}}

/* Rechtsseiten */
.recht-wrap{max-width:780px;padding:34px 24px 70px}
.recht-back{color:var(--muted);font-weight:600;font-size:14px}
.recht-back:hover{color:var(--orange)}
.recht-wrap h1{font-size:30px;font-weight:800;margin:14px 0 6px}
.recht-stand{color:var(--orange-dk);font-size:13px;background:#fff4ec;border:1px solid #ffd9c2;border-radius:6px;padding:8px 12px;margin-bottom:24px}
.recht-wrap h2{font-size:17px;font-weight:700;margin:26px 0 8px}
.recht-wrap p,.recht-wrap li{color:#333;line-height:1.7;font-size:15px}
.recht-wrap ul{margin:0 0 0 20px}
.recht-wrap address{font-style:normal;line-height:1.7;color:#333;margin:6px 0}
.recht-wrap a{color:var(--orange)}.recht-wrap a:hover{text-decoration:underline}
.recht-box{background:var(--soft);border:1px solid var(--border);border-radius:8px;padding:16px 18px;margin-top:10px}
