/* ============================================================
   ATT GbR – Website
   Alle leicht konfigurierbaren Inhalte stehen im <script> ganz
   unten im Objekt  CONFIG  . Texte/Produkte/Chatbot/PayPal etc.
   könnt ihr dort später anpassen, ohne das Layout anzufassen.
   ============================================================ */
:root{
  --olive-900:#34360a;
  --olive-700:#4f520d;
  --olive:#62650f;        /* Markenfarbe (dunkles Oliv) */
  --olive-500:#7c8021;
  --sage:#c1c36d;         /* helles Blattgrün */
  --sage-300:#d6d79b;
  --sage-50:#eef0d6;
  --paper:#f5f6ea;        /* Seitenhintergrund */
  --paper-2:#fbfbf2;
  --ink:#2b2c16;
  --muted:#6c6e54;
  --line:rgba(79,82,13,.16);
  --line-strong:rgba(79,82,13,.34);
  --white:#ffffff;
  --radius:14px;
  --shadow:0 14px 40px -22px rgba(52,54,10,.5);
  --maxw:1180px;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Mulish",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;font-family:var(--sans);color:var(--ink);
  background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.08;margin:0;color:var(--olive-900)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.eyebrow{font-family:var(--sans);font-weight:700;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--olive-500);display:inline-flex;align-items:center;gap:.5em}
.eyebrow .leaf{width:14px;height:14px;color:var(--sage)}
.section{padding:96px 0;position:relative}
.section--tight{padding:64px 0}
.lead{font-size:1.12rem;color:var(--muted);max-width:62ch}
.btn{cursor:pointer;border:none;font-family:var(--sans);font-weight:700;font-size:.95rem;
  padding:13px 24px;border-radius:999px;display:inline-flex;align-items:center;gap:.55em;
  transition:transform .15s ease,background .2s ease,box-shadow .2s ease;text-align:center;min-height:44px}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--olive);color:#fbfbf0}
.btn--primary:hover{background:var(--olive-700);box-shadow:0 10px 24px -12px rgba(79,82,13,.8)}
.btn--ghost{background:transparent;color:var(--olive-900);border:1.5px solid var(--line-strong)}
.btn--ghost:hover{border-color:var(--olive);background:rgba(124,128,33,.06)}
.btn--block{width:100%;justify-content:center}
.btn--sm{padding:9px 16px;font-size:.85rem}
:focus-visible{outline:3px solid var(--olive-500);outline-offset:2px;border-radius:4px}

/* ---------- Header ---------- */
header.site{position:sticky;top:0;z-index:50;backdrop-filter:saturate(140%) blur(10px);
  background:rgba(245,246,234,.82);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:22px;height:74px}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-weight:700;font-size:1.18rem;color:var(--olive-900);letter-spacing:.02em}
.brand img{height:46px;width:auto}
.nav-links{display:flex;gap:26px;margin-left:auto}
.nav-links a{font-weight:600;font-size:.95rem;color:var(--olive-900);position:relative;padding:6px 0}
.nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--sage);transition:right .25s ease}
.nav-links a:hover::after{right:0}
.nav-actions{display:flex;align-items:center;gap:12px}
.cart-btn{position:relative;background:var(--olive);color:#fbfbf0;border:none;width:46px;height:46px;border-radius:50%;cursor:pointer;display:grid;place-items:center}
.cart-btn:hover{background:var(--olive-700)}
.cart-count{position:absolute;top:-4px;right:-4px;background:var(--sage);color:var(--olive-900);
  font-family:var(--sans);font-weight:800;font-size:.7rem;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center;padding:0 5px;border:2px solid var(--paper)}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px;color:var(--olive-900)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding:72px 0 88px}
.hero::before{content:"";position:absolute;inset:0;background:
  radial-gradient(60% 70% at 78% 18%,rgba(193,195,109,.30),transparent 60%),
  radial-gradient(50% 60% at 10% 90%,rgba(124,128,33,.14),transparent 60%);z-index:-1}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:center}
.hero h1{font-size:clamp(2.4rem,5vw,4.1rem);letter-spacing:-.01em}
.hero h1 em{font-style:italic;color:var(--olive)}
.hero p.lead{margin-top:22px}
.hero-cta{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap}
.hero-badges{display:flex;gap:22px;margin-top:36px;flex-wrap:wrap}
.hero-badge{display:flex;align-items:center;gap:9px;font-size:.86rem;font-weight:600;color:var(--olive-700)}
.hero-badge svg{width:20px;height:20px;color:var(--olive)}
.hero-mark{position:relative;display:grid;place-items:center}
.hero-mark .stamp{width:min(420px,80vw);filter:drop-shadow(0 22px 34px rgba(52,54,10,.22));
  animation:float 7s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}
@media (prefers-reduced-motion:reduce){.hero-mark .stamp{animation:none}}

/* ---------- Story ---------- */
.story{background:var(--paper-2)}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;margin-top:34px}
.story-text p{margin:0 0 18px;color:#3f4128}
.att-letters{display:flex;gap:14px;margin-top:8px;flex-wrap:wrap}
.att-card{flex:1;min-width:150px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 20px;box-shadow:var(--shadow)}
.att-card .big{font-family:var(--serif);font-size:2.6rem;color:var(--sage);font-weight:700;line-height:1}
.att-card h4{margin:8px 0 4px;font-size:1.12rem}
.att-card span{font-size:.85rem;color:var(--muted)}

/* ---------- Nachhaltigkeit ---------- */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.pillar{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;transition:transform .2s ease,box-shadow .2s ease}
.pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.pillar .ic{width:46px;height:46px;border-radius:12px;background:var(--sage-50);display:grid;place-items:center;color:var(--olive);margin-bottom:16px}
.pillar .ic svg{width:24px;height:24px}
.pillar h3{font-size:1.18rem;margin-bottom:8px}
.pillar p{font-size:.92rem;color:var(--muted);margin:0}
.nach{background:linear-gradient(180deg,var(--sage-50),var(--paper) 70%)}

/* ---------- Shop ---------- */
.shop-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:24px;margin-top:40px}
.product{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product .cover{aspect-ratio:1/1;position:relative;display:grid;place-items:center;overflow:hidden}
.product .cover svg{width:100%;height:100%}
.product .tag{position:absolute;top:12px;left:12px;background:rgba(251,251,240,.9);color:var(--olive-700);
  font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
.product .body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.product h3{font-size:1.16rem;margin-bottom:4px}
.product .desc{font-size:.86rem;color:var(--muted);margin:0 0 16px;flex:1}
.product .row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product .price{font-family:var(--serif);font-size:1.3rem;font-weight:600;color:var(--olive-900);white-space:nowrap}

/* ---------- Cart drawer ---------- */
.scrim{position:fixed;inset:0;background:rgba(34,36,8,.42);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.25s;z-index:90}
.scrim.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,92vw);background:var(--paper);z-index:95;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;box-shadow:-20px 0 50px -20px rgba(34,36,8,.5)}
.drawer.open{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 14px;border-bottom:1px solid var(--line)}
.drawer-head h3{font-size:1.3rem}
.icon-btn{background:none;border:none;cursor:pointer;color:var(--olive-900);padding:6px;border-radius:8px}
.icon-btn:hover{background:rgba(124,128,33,.1)}
.cart-items{flex:1;overflow-y:auto;padding:8px 22px}
.cart-empty{text-align:center;color:var(--muted);padding:60px 10px;font-size:.95rem}
.ci{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.ci .thumb{width:62px;height:62px;border-radius:10px;flex:none;overflow:hidden;display:grid;place-items:center}
.ci .thumb svg{width:100%;height:100%}
.ci .info{flex:1;min-width:0}
.ci .info h4{font-family:var(--sans);font-weight:700;font-size:.95rem;margin:0 0 2px}
.ci .info .p{color:var(--muted);font-size:.84rem}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:999px;margin-top:6px}
.qty button{width:28px;height:28px;border:none;background:none;cursor:pointer;font-size:1rem;color:var(--olive-900)}
.qty span{min-width:26px;text-align:center;font-weight:700;font-size:.9rem}
.ci .rm{background:none;border:none;color:#a23;cursor:pointer;font-size:.78rem;align-self:flex-start;margin-top:4px}
.drawer-foot{border-top:1px solid var(--line);padding:20px 22px;background:var(--paper-2)}
.sumline{display:flex;justify-content:space-between;font-size:.92rem;padding:6px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.sumline.total{font-family:var(--serif);font-size:1.2rem;color:var(--olive-900);font-weight:700;border-bottom:none;padding-top:10px;margin-top:4px}
/* ---------- Versandkosten-frei Banner ---------- */
.free-ship-banner{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--sage-50)0%,#f0f2d8 100%);border:1.5px solid var(--olive);border-radius:14px;padding:11px 18px;margin-bottom:28px;font-size:.9rem;color:var(--olive-900);font-family:var(--sans)}
.free-ship-banner svg{flex:none;color:var(--olive)}
.free-ship-banner strong{font-weight:700}
/* ---------- Versandkosten-frei Fortschritt im Drawer ---------- */
.ship-progress{padding:12px 22px 0;border-bottom:1px solid var(--line)}
.ship-progress-text{font-size:.82rem;color:var(--ink);margin-bottom:7px;line-height:1.4}
.ship-progress-text strong{color:var(--olive-900);font-weight:700}
.ship-progress-bar{background:var(--line);border-radius:999px;height:6px;overflow:hidden;margin-bottom:12px}
.ship-progress-bar-fill{background:linear-gradient(90deg,var(--olive),#a8b03c);border-radius:999px;height:100%;transition:width .4s cubic-bezier(.4,0,.2,1)}
.ship-progress.done .ship-progress-text{color:var(--olive-900)}
.ship-progress.done .ship-progress-bar-fill{background:var(--olive)}
/* ---------- Kategorie-Tabs ---------- */
.cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.cat-tab{background:var(--white);border:1.5px solid var(--line-strong);border-radius:999px;padding:9px 18px;min-height:44px;font-family:var(--sans);font-weight:600;font-size:.88rem;color:var(--olive-900);cursor:pointer;transition:background .15s,border-color .15s,color .15s;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none}
.cat-tab:hover{border-color:var(--olive);background:var(--sage-50)}
.cat-tab.active{background:var(--olive);border-color:var(--olive);color:#fff}
/* ---------- Checkout ---------- */
.co-wrap{display:flex;flex-direction:column;gap:0}
.co-section{padding:20px 0;border-bottom:1px solid var(--line)}
.co-section:last-child{border-bottom:none;padding-bottom:0}
.co-section-hd{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1rem;color:var(--olive-900);margin-bottom:16px}
.co-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--olive);color:#fff;font-size:.8rem;font-weight:800;flex-shrink:0}
.co-coupon{display:flex;gap:8px;margin-top:12px}
.co-coupon input{flex:1;padding:10px 14px;border:1px solid var(--line-strong);border-radius:10px;font-family:var(--sans);font-size:.9rem;background:var(--white);color:var(--ink)}
.co-coupon input:focus{outline:none;border-color:var(--olive)}
.co-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:.88rem;line-height:1.5;margin-bottom:10px;color:var(--ink)}
.co-check a{color:var(--olive);text-decoration:underline}

/* ---------- Modal (Checkout / Admin / Impressum) ---------- */
.modal-scrim{position:fixed;inset:0;background:rgba(34,36,8,.6);z-index:100;display:none;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto}
.modal-scrim.open{display:flex}
.modal{background:var(--paper);border-radius:18px;width:100%;max-width:560px;box-shadow:var(--shadow);overflow:hidden;animation:pop .25s ease;position:relative}
#subModal{display:none;position:absolute;inset:0;background:var(--paper);border-radius:inherit;z-index:10;flex-direction:column;overflow:hidden}
#subModal.open{display:flex}
#subModalClose{font-size:.85rem;font-weight:700;color:var(--olive);background:none;border:none;cursor:pointer;padding:4px 8px;border-radius:6px;white-space:nowrap}
#subModalClose:hover{background:var(--sage-50)}
.modal.wide{max-width:920px}
@keyframes pop{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line)}
.modal-head h3{font-size:1.4rem}
.modal-body{padding:26px;max-height:74vh;overflow-y:auto}
.field{margin-bottom:16px}
.field label{display:block;font-weight:700;font-size:.85rem;margin-bottom:6px;color:var(--olive-900)}
.field input,.field textarea,.field select{width:100%;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;font-family:var(--sans);font-size:.95rem;background:var(--white);color:var(--ink)}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--olive)}
.field .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.note{font-size:.8rem;color:var(--muted);background:var(--sage-50);border-radius:10px;padding:12px 14px;margin-top:6px}
#paypal-area{margin-top:18px}

/* ---------- Admin ---------- */
.admin-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.admin-tab{padding:9px 16px;border-radius:999px;border:1px solid var(--line-strong);background:none;cursor:pointer;font-weight:700;font-size:.85rem;color:var(--olive-900)}
.admin-tab.active{background:var(--olive);color:#fbfbf0;border-color:var(--olive)}
.table{width:100%;border-collapse:collapse;font-size:.88rem}
.table th{text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:10px 12px;border-bottom:2px solid var(--line)}
.table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}
.table tr:hover td{background:rgba(124,128,33,.04)}
.status-sel{padding:6px 10px;border-radius:8px;border:1px solid var(--line-strong);font-size:.82rem;font-weight:700;background:var(--white)}
.badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:.72rem;font-weight:800}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}
.kpi{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:18px}
.kpi .v{font-family:var(--serif);font-size:1.9rem;color:var(--olive-900);font-weight:600}
.kpi .l{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:700}

/* ---------- Kontakt ---------- */
.kontakt{background:var(--olive-900);color:#eef0d6}
.kontakt h2{color:#fbfbf0}
.kontakt .lead{color:#cdd0a0}
.kontakt-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;margin-top:36px}
.kontakt-info p{margin:0 0 14px;display:flex;gap:12px;align-items:flex-start;font-size:.96rem;color:#dfe1bf}
.kontakt-info svg{width:20px;height:20px;color:var(--sage);flex:none;margin-top:2px}
.kontakt .field input,.kontakt .field textarea{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);color:#fbfbf0}
.kontakt .field label{color:#dfe1bf}

/* ---------- Footer ---------- */
footer.site{background:#2b2d0a;color:#cdd0a0;padding:54px 0 30px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.foot-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.foot-brand img{height:42px}
.foot-brand span{font-family:var(--serif);font-weight:700;font-size:1.25rem;color:#fbfbf0}
footer.site h5{font-family:var(--sans);text-transform:uppercase;letter-spacing:.08em;font-size:.74rem;color:#9a9d6a;margin:0 0 14px}
footer.site a{display:block;padding:5px 0;color:#cdd0a0;font-size:.9rem}
footer.site a:hover{color:var(--sage)}
.foot-bottom{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.82rem;color:#8d9062}
.foot-bottom button{background:none;border:none;color:#8d9062;cursor:pointer;font-size:.82rem;font-family:var(--sans)}
.foot-bottom button:hover{color:var(--sage)}

/* ---------- Chatbot ---------- */
.chat-fab{position:fixed;bottom:26px;right:26px;z-index:80;width:62px;height:62px;border-radius:50%;
  background:var(--olive);color:#fbfbf0;border:none;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 16px 34px -12px rgba(52,54,10,.7);transition:transform .2s}
.chat-fab:hover{transform:scale(1.06)}
.chat-fab svg{width:28px;height:28px}
.chat-panel{position:fixed;bottom:100px;right:26px;z-index:81;width:min(370px,92vw);height:min(540px,72vh);
  background:var(--paper);border-radius:18px;box-shadow:0 30px 70px -28px rgba(34,36,8,.7);
  display:flex;flex-direction:column;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(16px) scale(.96);transform-origin:bottom right;transition:.22s}
.chat-panel.open{opacity:1;visibility:visible;transform:none}
.chat-top{background:var(--olive);color:#fbfbf0;padding:16px 18px;display:flex;align-items:center;gap:12px}
.chat-top .av{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center}
.chat-top .av svg{width:22px;height:22px}
.chat-top h4{font-family:var(--sans);font-weight:800;color:#fbfbf0;font-size:.98rem;margin:0}
.chat-top p{margin:0;font-size:.76rem;color:#dbe0ac}
.chat-top .online{width:8px;height:8px;border-radius:50%;background:#9fe07a;display:inline-block;margin-right:5px}
.chat-log{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px}
.msg{max-width:82%;padding:11px 14px;border-radius:14px;font-size:.9rem;line-height:1.5}
.msg.bot{background:var(--white);border:1px solid var(--line);border-bottom-left-radius:4px;align-self:flex-start;color:var(--ink)}
.msg.user{background:var(--olive);color:#fbfbf0;border-bottom-right-radius:4px;align-self:flex-end}
.typing{display:inline-flex;gap:4px;align-items:center}
.typing i{width:7px;height:7px;border-radius:50%;background:var(--olive);opacity:.4;display:inline-block;animation:tdot 1s infinite ease-in-out}
.typing i:nth-child(2){animation-delay:.15s}
.typing i:nth-child(3){animation-delay:.3s}
@keyframes tdot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.chat-quick{display:flex;gap:8px;flex-wrap:wrap;padding:0 18px 10px}
.chat-quick button{background:var(--sage-50);border:1px solid var(--line);color:var(--olive-700);cursor:pointer;
  font-size:.78rem;font-weight:600;padding:7px 12px;border-radius:999px}
.chat-quick button:hover{background:var(--sage-300)}
.chat-input{display:flex;gap:8px;padding:12px 14px;border-top:1px solid var(--line);background:var(--paper-2)}
.chat-input input{flex:1;border:1px solid var(--line-strong);border-radius:999px;padding:10px 16px;font-family:var(--sans);font-size:.9rem;background:var(--white)}
.chat-input input:focus{outline:none;border-color:var(--olive)}
.chat-input button{background:var(--olive);border:none;color:#fbfbf0;width:42px;height:42px;border-radius:50%;cursor:pointer;display:grid;place-items:center;flex:none}

/* ---------- Toast ---------- */
.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(20px);z-index:120;
  background:var(--olive-900);color:#fbfbf0;padding:13px 22px;border-radius:999px;font-size:.9rem;font-weight:600;
  box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.25s}
.toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- Divider stamp ---------- */
.divider{display:flex;align-items:center;gap:16px;color:var(--line-strong);margin:0 auto;max-width:240px}
.divider span{flex:1;height:1px;background:var(--line-strong)}
.divider svg{width:26px;height:26px;color:var(--sage)}

/* ---------- Responsive ---------- */
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .hero-mark{order:-1}
  .story-grid,.kontakt-grid{grid-template-columns:1fr;gap:36px}
  .pillars{grid-template-columns:1fr 1fr}
  .foot-grid{grid-template-columns:1fr;gap:28px}
}
@media (max-width:640px){
  .nav-links{display:none}
  .nav-links.show{display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;background:var(--paper);
    padding:18px 24px;border-bottom:1px solid var(--line);gap:6px;margin-left:0}
  .burger{display:block}
  .pillars{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .section{padding:40px 0}
  .hero h1{font-size:2.3rem}
}
@media (max-width:480px){
  .products{grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
  .product .cover{aspect-ratio:1/1;max-height:180px}
  .product h3{font-size:.9rem;margin-bottom:2px;overflow-wrap:break-word;word-break:break-word}
  .product .desc{font-size:.78rem;margin-bottom:10px}
  .product .body{padding:10px 10px 12px}
  .product .price{font-size:1.05rem}
  .product .btn{font-size:.78rem;padding:7px 8px}
  /* Versandkosten-Banner kompakter */
  .free-ship-banner{padding:9px 12px;font-size:.82rem;gap:7px;border-radius:10px;margin-bottom:20px}
  .free-ship-banner svg{width:18px;height:18px;flex-shrink:0}
  /* Tag-Badges auf schmalen Karten */
  .product .tag{font-size:.62rem;padding:2px 6px;top:8px;left:8px}
}
/* ---------- Adress-Autocomplete ---------- */
.addr-wrap{position:relative}
.addr-dropdown{position:absolute;left:0;right:0;top:100%;background:var(--white);border:1px solid var(--line-strong);border-radius:10px;box-shadow:var(--shadow);z-index:300;max-height:220px;overflow-y:auto;margin-top:4px;padding:0;list-style:none}
.addr-dropdown li{padding:10px 14px;cursor:pointer;font-size:.9rem;border-bottom:1px solid var(--line)}
.addr-dropdown li:last-child{border-bottom:none}
.addr-dropdown li:hover,.addr-dropdown li.active{background:var(--sage-50)}
.addr-dropdown small{display:block;color:var(--muted);font-size:.78rem;margin-top:2px}
/* ---------- Lightbox ---------- */
#lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:600;display:flex;align-items:center;justify-content:center;cursor:zoom-out;visibility:hidden;opacity:0;transition:opacity .18s ease,visibility .18s ease;pointer-events:none}
#lightbox.open{visibility:visible;opacity:1;pointer-events:auto}
#lightbox img{max-width:92vw;max-height:92vh;object-fit:contain;border-radius:8px;box-shadow:0 12px 60px rgba(0,0,0,.7);pointer-events:none}
#lbClose{position:fixed;top:18px;right:22px;color:#fff;font-size:2rem;line-height:1;cursor:pointer;opacity:.75;transition:opacity .15s;background:none;border:none;padding:4px}
#lbClose:hover{opacity:1}
#lbPrev,#lbNext{position:fixed;top:50%;transform:translateY(-50%);color:#fff;font-size:2.2rem;background:rgba(0,0,0,.35);border:none;border-radius:50%;width:48px;height:48px;cursor:pointer;display:none;align-items:center;justify-content:center;transition:background .15s}
#lbPrev{left:16px} #lbNext{right:16px}
#lbPrev:hover,#lbNext:hover{background:rgba(0,0,0,.65)}
#lightbox.multi #lbPrev,#lightbox.multi #lbNext{display:flex}
@keyframes lbfade{from{opacity:0}to{opacity:1}}
/* ---------- Produktbilder: contain statt cover ---------- */
.product .cover img{object-fit:contain;width:100%;height:100%}
/* ---------- Cookie-Consent ---------- */
#cookieBanner{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:16px;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center}
#cookieBannerInner{background:var(--white);border-radius:16px;padding:24px 28px;max-width:560px;width:100%;box-shadow:0 8px 40px rgba(0,0,0,.22)}
#cookieText{margin:0 0 16px;font-size:.9rem;line-height:1.5;color:var(--ink)}
#cookieDetails{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.ck-row{display:flex;align-items:flex-start;gap:10px;font-size:.86rem;color:var(--ink);cursor:pointer}
.ck-row input{margin-top:3px;accent-color:var(--olive);flex-shrink:0}
#cookieBtns{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
#cookieBtns .btn{flex:1;min-width:140px;justify-content:center}
#cookieLinks{margin:0;font-size:.76rem;color:var(--muted);text-align:center}
#cookieLinks a{color:var(--muted);text-decoration:underline}
@media(max-width:480px){#cookieBannerInner{padding:18px 16px}#cookieBtns{flex-direction:column}}
/* ---------- Produkt-Detail-Overlay (fullscreen) ---------- */
#pdOverlay{position:fixed;top:74px;left:0;right:0;bottom:0;z-index:49;background:var(--paper);overflow-y:auto;-webkit-overflow-scrolling:touch;visibility:hidden;opacity:0;transition:opacity .2s ease,visibility .2s}
#pdOverlay.open{visibility:visible;opacity:1}
body.pd-overlay-open{overflow:hidden}
/* ---------- Shop-Seite (shop.html) ---------- */
.shop-ph{padding:32px 0 8px;border-bottom:1px solid var(--line);margin-bottom:32px}
.shop-ph h1{font-family:var(--serif);font-size:clamp(1.6rem,3vw,2.2rem);margin:6px 0 8px;color:var(--olive-900)}
.shop-ph p{color:var(--muted);font-size:.95rem;margin:0}
/* ---------- Inline-Produktdetail ---------- */
.pd-card{background:var(--white);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:40px}
.pd-grid{display:grid;grid-template-columns:1fr 1fr;min-height:0}
.pd-left{padding:32px;border-right:1px solid var(--line)}
.pd-right{padding:36px 40px;display:flex;flex-direction:column}
.pd-img-main{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--paper);display:grid;place-items:center;cursor:zoom-in;margin-bottom:12px}
.pd-img-main img{width:100%;height:100%;object-fit:contain;transition:transform .3s ease}
.pd-img-main:hover img{transform:scale(1.04)}
.pd-thumbrow{display:flex;gap:8px;flex-wrap:wrap}
.pd-tn{width:62px;height:62px;border-radius:8px;border:2px solid var(--line);overflow:hidden;cursor:pointer;background:var(--paper);display:grid;place-items:center;transition:border-color .15s}
.pd-tn img{width:100%;height:100%;object-fit:contain}
.pd-tn:hover{border-color:var(--sage)}
.pd-tn.on{border-color:var(--olive)}
.pd-crumb{margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pd-crumb button{display:inline-flex;align-items:center;gap:6px;background:var(--paper);border:1.5px solid var(--line-strong);border-radius:999px;padding:7px 16px;cursor:pointer;color:var(--olive-900);font-size:.88rem;font-weight:700;font-family:var(--sans);transition:background .15s,border-color .15s}
.pd-crumb button:hover{background:var(--sage-50);border-color:var(--olive)}
.pd-share-btn{background:var(--white)!important}
.pd-name{font-family:var(--serif);font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.15;color:var(--olive-900);margin:0 0 16px}
.pd-priceblock{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
.pd-pp{font-family:var(--serif);font-size:2rem;font-weight:700;color:var(--olive);white-space:nowrap}
.pd-op{font-size:.95rem;color:var(--muted);text-decoration:line-through}
.grundpreis{font-size:.8rem;color:var(--muted);display:block;margin-top:2px}
.product .grundpreis{font-size:.75rem;color:var(--muted);display:block;margin-top:2px}
.pd-avail{display:inline-flex;align-items:center;gap:5px;font-size:.8rem;font-weight:600;padding:4px 11px;border-radius:99px;margin-bottom:20px}
.pd-avail.ok{background:#e6f4e6;color:#276027}
.pd-avail.low{background:#fef3df;color:#975e00}
.pd-avail.no{background:#fce8e8;color:#8b1a1a}
.pd-text{font-size:.95rem;line-height:1.75;color:var(--ink);margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.pd-add{font-size:1rem;padding:15px;margin-bottom:10px;letter-spacing:.01em}
.btn--icon{padding:10px 12px;line-height:1}
.pd-trust{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
.pd-ti{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}
.pd-ti svg{color:var(--olive-500);flex-shrink:0}
/* Made in Germany Badge */
.pd-mig { display:inline-flex; align-items:center; gap:7px; background:#f0f4ff;
  border:1.5px solid #c0cdf5; border-radius:8px; padding:7px 14px;
  font-size:.82rem; font-weight:700; color:#2a3a7c; margin-bottom:16px; }
.pd-mig svg { flex-shrink:0; }
/* Nachhaltigkeits-Block */
.pd-sustainability { background:var(--sage-50); border:1px solid var(--line);
  border-radius:10px; padding:14px 16px; margin-bottom:18px;
  font-size:.9rem; line-height:1.65; color:var(--olive-900); }
.pd-sustainability-label { display:flex; align-items:center; gap:7px;
  font-weight:700; font-size:.78rem; text-transform:uppercase;
  letter-spacing:.07em; color:var(--olive-500); margin-bottom:6px; }
.pd-below{padding:0 0 8px}
.pd-rev-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:10px}
.pd-rev-avg{display:flex;align-items:center;gap:10px;font-size:.92rem;color:var(--muted);margin-bottom:18px}
.pd-rev-avg strong{color:var(--ink);font-size:1.05rem}
.pd-rev-item{padding:14px 0;border-top:1px solid var(--line)}
.pd-rev-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}
@media(max-width:860px){
  .pd-grid{grid-template-columns:1fr}
  .pd-left{border-right:none;border-bottom:1px solid var(--line);padding:24px}
  .pd-right{padding:24px}
  .pd-img-main{aspect-ratio:1/1;max-height:340px}
}

/* ============================================================
   Kunden-Account
   ============================================================ */
.account-btn { background: none; border: none; cursor: pointer;
  color: var(--olive-900); padding: 6px; border-radius: 8px;
  display: grid; place-items: center; }
.account-btn:hover { background: rgba(124,128,33,.1); }
.account-btn--active svg { stroke: var(--olive); }

.form-label { display: flex; flex-direction: column; gap: 4px; font-weight: 600;
  font-size: .88rem; color: var(--olive-900); margin-bottom: 12px; }
.form-input { width: 100%; padding: 10px 13px; border: 1.5px solid var(--line-strong);
  border-radius: 8px; font-size: .95rem; font-family: var(--sans);
  background: var(--white); color: var(--ink); transition: border-color .2s; }
.form-input:focus { outline: none; border-color: var(--olive); }

.cust-tabs { display: flex; border-bottom: 2px solid var(--line);
  margin-bottom: 16px; gap: 4px; }
.cust-tab { background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; padding: 8px 16px; font-size: .9rem; font-weight: 600;
  color: var(--muted); margin-bottom: -2px; transition: color .2s, border-color .2s; }
.cust-tab:hover { color: var(--olive-900); }
.cust-tab.active { color: var(--olive); border-bottom-color: var(--olive); }

.cust-orders-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cust-orders-table th { text-align: left; font-weight: 700; padding: 8px 10px;
  border-bottom: 2px solid var(--line); color: var(--muted); white-space: nowrap; }
.cust-orders-table td { padding: 10px 10px; border-bottom: 1px solid var(--line);
  vertical-align: top; }
.cust-orders-table tr:hover td { background: rgba(124,128,33,.04); }
.cust-items-cell { max-width: 220px; word-break: break-word; }
@media (max-width: 560px) {
  .cust-items-cell { display: none; }
  .cust-orders-table th:nth-child(3) { display: none; }
}
.cust-status { display:inline-block; padding:3px 10px; border-radius:999px; font-size:.78rem;
  font-weight:700; background:var(--sage-50); color:var(--olive-700); }

/* ---------- Eingebetteter Konto-Bereich ---------- */
.konto-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; margin-top:32px; }
.konto-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); }
.konto-benefits { padding:8px 0; }
.konto-benefits h3 { font-size:1.4rem; margin-bottom:16px; }
.konto-benefit-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.konto-benefit-list li { display:flex; align-items:center; gap:12px; font-size:.97rem; color:var(--olive-900); }
.konto-benefit-list li svg { width:20px; height:20px; color:var(--olive); flex-shrink:0; }
.konto-dash { background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); margin-top:32px; }
.konto-dash-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  padding-bottom:16px; border-bottom:1px solid var(--line); }
/* Admin-Aktions-Karte (Bestellverwaltung oeffnen) */
.admin-action-wrap { display:flex; justify-content:center; margin-top:24px; }
.admin-action-card { max-width:440px; width:100%; text-align:center; padding:36px 32px; }

@media (max-width:680px) {
  .konto-grid { grid-template-columns:1fr; gap:16px; }
  .konto-benefits { display:none; }
  /* Weniger Innenabstand auf kleinen Screens */
  .konto-card { padding:20px 16px; }
  .konto-dash { padding:20px 16px; }
  .admin-action-card { padding:24px 16px; }
  /* Login-Formular: weniger Abstand oben */
  .konto-grid { margin-top:16px; }
}

.cust-status { display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; background: var(--sage-light, #e8ead0);
  color: var(--olive-900); white-space: nowrap; }


/* ---------- Admin-Login-Seite ---------- */
.admin-login-wrap { display:flex; justify-content:center; align-items:flex-start; padding:60px 0; }
.admin-preview-banner { display:flex; align-items:center; gap:10px; background:var(--olive-900);
  color:#fbfbf0; padding:10px 18px; border-radius:var(--radius); margin-bottom:20px;
  font-size:.88rem; flex-wrap:wrap; }
.admin-preview-banner span { flex:1; min-width:0; }
.admin-preview-banner .btn { color:var(--olive-900); background:#fbfbf0; border-color:transparent; flex-shrink:0; }

/* ---------- Admin-Ansicht Tabs ---------- */
.admin-view-head { display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.admin-view-role { display:inline-block; margin-left:10px; padding:2px 10px;
  border-radius:999px; background:var(--sage-50); color:var(--olive-700);
  font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.admin-view-tabs { display:flex; gap:8px; margin-bottom:4px; }
.admin-view-tab { display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  background:var(--white); border:1.5px solid var(--line-strong); border-radius:999px;
  padding:9px 20px; font-size:.9rem; font-weight:600; color:var(--muted);
  transition:all .18s ease; }
.admin-view-tab:hover { border-color:var(--olive); color:var(--olive-900); }
.admin-view-tab.active { background:var(--olive); border-color:var(--olive); color:#fbfbf0; }
.admin-preview-notice { background:var(--sage-50); border:1px solid var(--line);
  border-radius:10px; padding:10px 16px; font-size:.88rem; color:var(--olive-700);
  margin-bottom:0; }
.admin-login-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:40px; box-shadow:var(--shadow); width:100%; max-width:400px; }

/* ---------- Admin-Bereich Mobile-Optimierung ---------- */
@media (max-width:767px) {
  /* Tabs kompakter und umbrechen */
  .admin-tabs { gap:5px; }
  .admin-tab  { font-size:.78rem; padding:7px 11px; }

  /* Tabellen in adminContent horizontal scrollbar */
  #adminContent { overflow-x:auto; -webkit-overflow-scrolling:touch; }

  /* Admin-Header-Navactions auf Mobile stapeln */
  #adminNavActions { gap:8px; flex-wrap:wrap; }
  #adminNavActions > span { font-size:.75rem; }

  /* Login-Karte auf kleinen Screens */
  .admin-login-card { padding:24px 18px; }
  .admin-login-wrap { padding:24px 0; align-items:flex-start; }

  /* Admin-Ansicht-Tabs auf Mobile umbrechen */
  .admin-view-tabs { flex-wrap:wrap; gap:6px; }
  .admin-view-tab  { padding:8px 14px; font-size:.84rem; }

  /* Bestelldetail-Tabellen */
  .admin-detail-wrap { overflow-x:auto; }
}
