/* Variante 3 – Frisch & Hell (Marktplatz) */
:root{--r:20px;--r-sm:999px}
[data-theme=light]{--bg:#ffffff;--surface:#fff;--surface2:#f6f4f1;--line:#ece8e2}
.btn,.cart-btn,.btn:active{transform:none}.btn span,.cart-btn span,.cart-btn svg{transform:none}
h1,h2,.section__head h2,.b2b h2{font-style:normal;font-weight:800;font-stretch:100%}
.section__head h2::before{width:.35em;height:.35em;border-radius:50%;transform:none;vertical-align:.12em}
.hero{background:#fdf0ee;color:var(--tx);min-height:560px}
.hero::before,.hero::after{display:none}
.hero__img{inset:1.5rem 1.5rem 1.5rem 52%;width:auto;height:auto;border-radius:28px;z-index:0}
.hero__in{position:relative;z-index:1}
.hero__in>*{max-width:560px}
.hero .eyebrow{color:var(--red)}
.hero h1{max-width:14ch}
.hero h1 em{background:none;color:var(--red);padding:0}
.hero__lead{color:var(--muted)}
.hero__stats b{color:var(--tx)}.hero__stats span{color:var(--muted)}
.btn--ghost{border-color:var(--tx);color:var(--tx)}.btn--ghost:hover{background:rgba(0,0,0,.05)}
.usp{margin-top:2rem}
.usp>div{background:#f6f4f1;border:0;box-shadow:none}
.usp svg{color:var(--red)}
.cat{aspect-ratio:auto;border-radius:0}
.cat::after{display:none}
.cat span{position:static;color:var(--tx);text-align:center;margin-top:.7rem;display:block}
.cat small{color:var(--muted)}
.cats{gap:1.5rem}
.cat{overflow:visible;background:none}
.cat img{border-radius:50%;aspect-ratio:1;height:auto}
.p{border-radius:20px}
.p__img{margin:.6rem;border-radius:14px}
.tag{transform:none;border-radius:999px}
.add{border-radius:999px;background:var(--red)}
.add:hover{background:#b00713}
.b2b{background:#fdf0ee;color:var(--tx)}
.b2b h2{color:var(--tx)}.b2b__txt>p{color:var(--muted)}.b2b .eyebrow{color:var(--red)}
.checks li::before{color:var(--red)}
.topbar{background:var(--ink)}
@media (max-width:860px){.hero{flex-direction:column;align-items:stretch;min-height:0}.hero__img{position:relative;inset:auto;width:calc(100% - 2rem);height:260px;margin:1rem auto 0}.hero__in{padding:2rem 0}}
.hero__img{object-position:78% center}
.hero h1{max-width:18ch;font-size:clamp(2rem,1rem + 2.4vw,3.2rem)}
.hero__in>*{max-width:600px}
.hero__stats b,.p__price b{font-style:normal;font-weight:800}
.hero__img{object-position:100% 60%}
.hero__img{inset:auto;top:1.5rem;left:52%;width:calc(48% - 1.5rem);height:calc(100% - 3rem)}
@media (max-width:860px){.hero__img{position:relative;top:auto;left:auto;width:calc(100% - 2rem);height:260px}}

/* ===== Erweiterungen Variante 3 ===== */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.p__img{cursor:zoom-in;background:#f6f4f1}
.p__link{all:unset;cursor:pointer}
.p__link:hover{color:var(--red)}
.p__link:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.p__tier{font-size:var(--text-xs);color:var(--red);font-weight:700;background:#fdf0ee;padding:.25rem .55rem;border-radius:8px;align-self:flex-start}

/* Angebot der Woche */
.deal{display:grid;grid-template-columns:1fr 1.1fr;background:var(--ink);color:#fff;border-radius:28px;overflow:hidden}
.deal__img{background:#f6f4f1}
.deal__img img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.deal__txt{padding:clamp(1.5rem,4vw,3rem);display:flex;flex-direction:column;gap:1rem;justify-content:center;align-items:flex-start}
.deal__badge{background:var(--red);color:#fff;font-size:var(--text-xs);font-weight:700;padding:.3rem .8rem;border-radius:999px;text-transform:uppercase;letter-spacing:.08em}
.deal h2{font-size:var(--text-xl);color:#fff}
.deal p{color:#c9c6c0;max-width:46ch}
.deal__price{display:flex;align-items:baseline;gap:.75rem}
.deal__price b{font-family:var(--font-d);font-size:var(--text-xl);font-weight:800}
.deal__price s{color:#8d9096}
.deal__save{background:#fff;color:var(--red);font-weight:800;padding:.1rem .5rem;border-radius:6px;font-size:var(--text-sm)}
.deal__cd{display:flex;gap:.5rem}
.deal__cd div{background:#23282e;border-radius:12px;padding:.5rem .7rem;text-align:center;min-width:62px}
.deal__cd b{display:block;font-family:var(--font-d);font-size:var(--text-lg);font-variant-numeric:tabular-nums}
.deal__cd span{font-size:.75rem;color:#8d9096}

/* Marken */
.brands{display:flex;align-items:center;gap:2rem;padding:3rem 0 0;flex-wrap:wrap}
.brands p{font-size:var(--text-xs);color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:700}
.brands ul{list-style:none;padding:0;display:flex;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap;flex:1;justify-content:space-between}
.brands li{font-family:var(--font-d);font-weight:800;font-size:var(--text-lg);color:#a9a49c;letter-spacing:-.01em}
.brands li:nth-child(odd){font-style:italic}

/* Liefergebiet */
.zone{display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center;background:#f6f4f1;border-radius:28px;padding:clamp(1.5rem,4vw,3rem)}
.zone h2{font-size:var(--text-xl);margin-bottom:.5rem}
.zone .eyebrow{color:var(--red)}
.zone__form{display:flex;gap:.6rem;flex-wrap:wrap}
.zone__form input{flex:1;min-width:180px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:.85rem 1.2rem;font-size:var(--text-sm)}
.zone__form input:focus{outline:none;border-color:var(--red)}
.zone__res{flex-basis:100%;font-size:var(--text-sm);min-height:1.5em}
.zone__res.ok{color:var(--ok)}.zone__res.err{color:var(--red)}

/* Produktdetail */
.dialog--wide{width:min(920px,calc(100% - 2rem));border-radius:24px;position:relative}
.pd{display:grid;grid-template-columns:1fr 1fr}
.pd__img{background:#f6f4f1}
.pd__img img{width:100%;height:100%;object-fit:cover;min-height:320px}
.pd__txt{padding:2rem;display:flex;flex-direction:column;gap:.7rem}
.pd__txt h3{font-size:var(--text-lg)}
.pd__txt>p{color:var(--muted);font-size:var(--text-sm)}
.pd__x{position:absolute;top:1rem;right:1rem;z-index:2}
.tiers{border-collapse:collapse;font-size:var(--text-sm);width:100%}
.tiers caption{text-align:left;font-size:var(--text-xs);font-weight:700;color:var(--muted);margin-bottom:.3rem}
.tiers td{padding:.45rem .6rem;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.tiers td:last-child{color:var(--red);font-weight:700;text-align:right}
.tiers tr.is-on td{background:#fdf0ee;font-weight:700}
.pd__facts{list-style:none;padding:0;display:grid;gap:.4rem;font-size:var(--text-xs);color:var(--muted)}
.pd__facts b{display:inline-block;min-width:80px;color:var(--tx)}

/* Warenkorb-Zusätze */
.line__hint{font-size:.75rem;color:var(--red);font-weight:700;margin-top:.2rem}
.line__tier{font-size:.75rem;color:var(--ok);font-weight:700}
.sum .saved{color:var(--ok);font-weight:700}

/* Mobile Warenkorb-Leiste */
.mbar{display:none}
@media (max-width:560px){
  .mbar:not([hidden]){display:flex;position:fixed;left:.75rem;right:.75rem;bottom:.75rem;z-index:45;background:var(--ink);color:#fff;border-radius:999px;padding:.5rem .5rem .5rem 1.2rem;align-items:center;justify-content:space-between;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:var(--text-sm)}
  .mbar .btn{padding:.6rem 1rem}
  .toast{bottom:5rem}
  .footer{padding-bottom:6rem}
}
@media (max-width:860px){
  .deal,.zone,.pd{grid-template-columns:1fr}
  .pd__img img{min-height:0;aspect-ratio:4/3;height:auto}
  .brands ul{justify-content:flex-start}
}
@media (max-width:560px){.cats{grid-template-columns:repeat(3,1fr);gap:.75rem}.cat span{font-size:.85rem}.cat small{display:none}}
.brands{flex-direction:column;align-items:stretch;gap:1rem}
.brands ul{width:100%;gap:.75rem 1.5rem}
.brands li{font-size:var(--text-base)}
.dialog{margin:auto;max-height:calc(100dvh - 2rem);overflow:auto}
.toast{opacity:0;pointer-events:none;transition:transform .35s var(--ease),opacity .25s}
.toast.show{opacity:1}
@media (max-width:560px){
  .hide-sm,.cart-btn span.hide-sm{display:none!important}
  .header__in{gap:.6rem .5rem}
  .header__actions{margin-left:auto;gap:.4rem}
  .cart-btn{padding:.55rem .8rem}
  .icon-btn{width:36px;height:36px}
  .p__stock{display:none}
  .p__body{padding:.8rem}
  .p__tier{font-size:.75rem;padding:.2rem .45rem}
  .p__price b{font-size:1.2rem}
  .grid{gap:.6rem}
}
.co-step[hidden],[hidden]{display:none!important}
@media (max-width:560px){.tag--cold{top:auto;bottom:.5rem;right:.5rem}.tag{font-size:.7rem}}
@media (max-width:560px){.add{font-size:.8rem;line-height:1.2}}

/* Checkout: Honeypot + Fehlermeldung */
.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.co-err{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#fdf0ee;color:#b0081a;font-size:14px;font-weight:600}

/* Zahlungsinfos im Checkout */
.pay-opts small{color:var(--muted,#6b6f76);font-weight:400;margin-left:4px}
.paybox{margin:12px 0 8px;border:2px solid var(--brand,#d20a18);border-radius:12px;padding:12px 14px;text-align:left}
.paybox>b{display:block;margin-bottom:6px;color:var(--brand,#d20a18)}
.paybox dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0;font-size:14px}.paybox dt{color:var(--muted,#6b6f76)}.paybox dd{margin:0;font-weight:700;word-break:break-word}
.payhint{display:block;font-size:13px;color:var(--muted,#6b6f76);margin:6px 0 0;text-align:left}
.done__pay{display:block;margin-top:14px;font-weight:700;text-align:left}
.vatline{font-size:12px;color:var(--muted,#6b6f76)}
/* Produkte: Ausverkauft, Gefahrensymbole, Detail-Abschnitte */
.p.is-out .p__img img{filter:grayscale(.7);opacity:.7}.p__stock.out{color:#b0081a}
.add:disabled{opacity:.5;cursor:not-allowed}
.p__ghs{position:absolute;right:8px;bottom:8px;display:flex;gap:3px}.p__ghs img{width:30px;height:30px;background:#fff;border-radius:4px}
.pd__img{position:relative}
.pd__sec{border-top:1px solid var(--line,#e7e3dc);padding:10px 0}.pd__sec summary{cursor:pointer;font-weight:700;list-style:none;display:flex;justify-content:space-between}
.pd__sec summary::after{content:'+';font-weight:700}.pd__sec[open] summary::after{content:'−'}.pd__sec summary::-webkit-details-marker{display:none}
.pd__sec>div{padding-top:8px;font-size:14px;line-height:1.5}.pd__sec p{margin:0 0 8px}
.nutr{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:13px}.nutr th,.nutr td{text-align:left;padding:5px 8px;border-bottom:1px solid var(--line,#e7e3dc)}.nutr th:last-child,.nutr td:last-child{text-align:right}.nutr tr.sub td:first-child{padding-left:20px;color:var(--muted,#6b6f76)}
.haz__pics{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}.haz figure{margin:0;text-align:center;width:74px}.haz figure img{width:64px;height:64px}.haz figcaption{font-size:11px;color:var(--muted,#6b6f76);line-height:1.2}
.haz__sig b{color:#b0081a;text-transform:uppercase}
.pd__docs{list-style:none;margin:0;padding:0;display:grid;gap:8px}.pd__docs a{display:flex;gap:12px;align-items:center;border:1px solid var(--line,#e7e3dc);border-radius:10px;padding:10px 12px;text-decoration:none;color:inherit}
.pd__docs a:hover{border-color:var(--brand,#d20a18)}.pd__docs .pdf{background:#d20a18;color:#fff;font-size:11px;font-weight:800;border-radius:6px;padding:6px 7px}.pd__docs small{display:block;color:var(--muted,#6b6f76)}
.pd__img .p__ghs img,.p__img .p__ghs img{width:34px;height:34px;min-height:0;object-fit:contain;padding:2px;position:static;transform:none}
.pd__img .p__ghs{right:14px;bottom:14px}.pd__img .p__ghs img{width:48px;height:48px}
/* Produktbilder vollständig zeigen (nicht abschneiden) */
.p__img img,.deal__img img{object-fit:contain;padding:.6rem;box-sizing:border-box;background:#fff}
.p__img,.deal__img{background:#fff}
.pd__img img{object-fit:contain;padding:1rem;box-sizing:border-box;background:#fff}
.pd__img{background:#fff}
.line img{object-fit:contain;background:#fff;border:1px solid var(--line)}
.pd__gal{display:flex;flex-direction:column;gap:.6rem;min-width:0}
.pd__gal .pd__img{flex:1}
.pd__thumbs{display:flex;gap:.45rem;overflow-x:auto;padding:0 .2rem .2rem}
.pd__th{flex:0 0 64px;height:64px;border:2px solid var(--line);border-radius:10px;background:#fff;padding:3px;cursor:pointer}
.pd__th img{width:100%;height:100%;object-fit:contain}
.pd__th.is-on,.pd__th:hover{border-color:var(--red)}
/* Kundenkonto */
.acct{width:auto;padding:0 .7rem;gap:.4rem;text-decoration:none;font-weight:700;font-size:var(--text-sm);color:inherit;display:inline-flex;align-items:center}
.acct.is-in{color:var(--red)}
.co-acct{background:#f6f4f1;border-radius:12px;padding:.7rem .9rem;font-size:var(--text-sm);margin:0 0 .9rem}.co-acct a{color:var(--red);font-weight:700}
.payhint a{color:var(--red);font-weight:700}
