:root{
  --bg:#050505;
  --card:#0f0f0f;
  --card2:#161616;
  --text:#ffffff;
  --muted:#d7d7d7;
  --gold:#ffcc00;
  --gold2:#f7a400;
  --border:rgba(255,255,255,.09);
  --radius:24px;
  --shadow:0 24px 70px rgba(0,0,0,.32);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 8%,rgba(255,204,0,.16),transparent 28%),
    radial-gradient(circle at 88% 16%,rgba(247,164,0,.12),transparent 28%),
    linear-gradient(135deg,#050505,#121006 54%,#050505);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
  min-height:100vh;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.045;
  background-image:
    linear-gradient(30deg,#ffcc00 12%,transparent 12.5%,transparent 87%,#ffcc00 87.5%,#ffcc00),
    linear-gradient(150deg,#ffcc00 12%,transparent 12.5%,transparent 87%,#ffcc00 87.5%,#ffcc00),
    linear-gradient(30deg,#ffcc00 12%,transparent 12.5%,transparent 87%,#ffcc00 87.5%,#ffcc00),
    linear-gradient(150deg,#ffcc00 12%,transparent 12.5%,transparent 87%,#ffcc00 87.5%,#ffcc00);
  background-size:82px 144px;
  background-position:0 0,0 0,41px 72px,41px 72px;
  z-index:-2;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1320px,92%);margin:auto}

.scroll-light{position:fixed;width:420px;height:420px;border-radius:999px;filter:blur(120px);opacity:.14;z-index:-1;pointer-events:none}
.light-one{background:var(--gold);top:-130px;left:-130px}
.light-two{background:var(--gold2);bottom:-160px;right:-120px}
.cursor-light{position:fixed;width:260px;height:260px;border-radius:999px;background:rgba(255,204,0,.10);filter:blur(80px);pointer-events:none;z-index:-1;opacity:.4}

.site-header{position:sticky;top:0;z-index:50;background:rgba(0,0,0,.76);backdrop-filter:blur(15px);border-bottom:1px solid var(--border)}
.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-logo{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 14px 28px rgba(255,204,0,.18))}
.brand strong{font-size:clamp(25px,2.7vw,34px);line-height:1;white-space:nowrap}
.brand em{font-style:normal;color:var(--gold)}
.brand small{display:block;color:var(--muted);font-size:13px;margin-top:2px;white-space:nowrap}
.small-brand .brand-logo{width:52px;height:52px}
.small-brand strong{font-size:20px}
.menu-btn{display:none;background:none;border:0;color:#fff;font-size:30px;cursor:pointer}
.nav-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.nav-links a{padding:9px 12px;border-radius:999px;color:#eee;font-weight:750;font-size:14px;transition:.2s}
.nav-links a:hover{background:rgba(255,255,255,.08);color:var(--gold)}
.nav-links span{background:var(--gold);color:#000;padding:1px 7px;border-radius:9px;margin-left:4px;font-size:12px;font-weight:900}

.hero{padding:70px 0 38px}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center}
.kicker{color:var(--gold);font-size:14px;text-transform:uppercase;font-weight:900;letter-spacing:.06em;margin-bottom:14px}
.hero h1,.page-title{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.05em;margin-bottom:18px}
.hero h1 span,.page-title span{color:var(--gold)}
.lead{font-size:clamp(17px,2vw,21px);color:#e2e2e2;max-width:720px}
.hero-card,.panel,.product-card,.summary-card,.form-card{background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035));border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-card{padding:28px;min-height:310px;display:grid;place-items:center;text-align:center;position:relative;overflow:hidden}
.hero-card:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,204,0,.16);filter:blur(30px)}
.hero-card strong{position:relative;font-size:82px}
.hero-card p{position:relative;color:var(--muted);font-size:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border-radius:14px;border:1px solid var(--border);background:#141414;color:#fff;font-weight:850;cursor:pointer;transition:.2s;line-height:1.2;text-align:center}
.btn:hover{transform:translateY(-2px);border-color:var(--gold)}
.btn.primary{background:var(--gold);color:#000;border:0}
.btn.full{width:100%}

.section{padding:58px 0}
.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.section-title h2{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}
.section-title p{color:var(--muted);max-width:690px}

.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:stretch}
.product-card{overflow:hidden;display:flex;flex-direction:column;min-height:430px;height:auto}
.product-image{height:170px;background:#181818;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid var(--border)}
.product-image img{width:100%;height:100%;object-fit:cover}
.product-body{padding:20px;display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}
.product-body h3{font-size:22px;line-height:1.18;color:var(--gold);margin:0}
.product-body p{color:var(--muted);font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.meta{display:flex;gap:8px;flex-wrap:wrap}
.pill{display:inline-flex;background:rgba(255,204,0,.12);color:#ffe47a;border:1px solid rgba(255,204,0,.2);padding:6px 10px;border-radius:999px;font-size:13px;font-weight:850;line-height:1.1}
.price{font-size:25px;font-weight:950;margin-top:auto}
.product-actions{display:flex;gap:10px;align-items:center;margin-top:4px}
.qty{width:76px;padding:12px;border-radius:13px;border:1px solid var(--border);background:#080808;color:#fff;font:inherit}

.layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.product-detail-image{height:auto;min-height:260px;max-height:380px;border-radius:var(--radius);overflow:hidden;background:#151515}
.product-detail-image img{width:100%;height:100%;max-height:380px;object-fit:contain;background:#101010}
.summary-card,.form-card,.panel{padding:24px}
.summary-card h2{font-size:38px;color:var(--gold);margin-bottom:8px}
.summary-card p{color:var(--muted);line-height:1.6}

.cart-table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.04);border-radius:20px;overflow:hidden}
.cart-table th,.cart-table td{padding:14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}
.cart-table th{color:var(--gold)}
.form-grid{display:grid;gap:14px}
.form-grid label{display:grid;gap:7px;color:#eee;font-weight:700}
.form-grid input,.form-grid textarea,.form-grid select{width:100%;padding:13px 14px;border-radius:14px;border:1px solid var(--border);background:#090909;color:#fff;font:inherit}
.form-grid textarea{min-height:130px;resize:vertical}
.notice{padding:14px 16px;border-radius:16px;background:rgba(255,204,0,.12);border:1px solid rgba(255,204,0,.2);color:#ffe58a;margin-bottom:18px}
.success{background:rgba(107,255,151,.12);border-color:rgba(107,255,151,.22);color:#b8ffd0}
.error{background:rgba(255,87,87,.13);border-color:rgba(255,87,87,.25);color:#ffc0c0}

.footer{margin-top:80px;padding:32px 0;border-top:1px solid var(--border);background:rgba(0,0,0,.28);color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.footer a{color:var(--gold);font-weight:800}
.admin-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.admin-table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.035);border-radius:18px;overflow:hidden}
.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid var(--border);vertical-align:middle}
.admin-table th{text-align:left;color:var(--gold)}

@media(max-width:1050px){.hero-grid,.layout{grid-template-columns:1fr}.section-title{display:block}.section-title p{margin-top:8px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{min-height:420px}}
@media(max-width:760px){.nav{align-items:flex-start;flex-direction:column;padding:14px 0}.menu-btn{display:block}.nav-links{display:none;width:100%;justify-content:flex-start}.nav-links.open{display:flex}.brand-logo{width:56px;height:56px}.products-grid{grid-template-columns:1fr}.product-image{height:180px}.product-actions{flex-direction:column}.qty,.btn{width:100%}.cart-table{font-size:14px}.cart-table th:nth-child(3),.cart-table td:nth-child(3){display:none}}


/* =========================================================
   V1.3 DESIGN-FIX: größere Produktkarten + Admin im Landingpage-Stil
   Nur Ergänzungen, bestehendes Design bleibt erhalten.
========================================================= */

/* Produktkarten: mehr Höhe und klare Lesbarkeit */
.products-grid{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:24px;
}

.product-card{
  min-height:520px;
  max-height:none;
  overflow:hidden;
}

.product-image{
  height:210px;
  min-height:210px;
}

.product-body{
  padding:24px;
  gap:14px;
}

.product-body h3{
  font-size:24px;
  line-height:1.18;
}

.product-body p{
  font-size:16px;
  line-height:1.58;
}

.price{
  font-size:28px;
}

/* Admin-Bereich: gleicher moderner Stil wie Shop/Landingpage */
body.admin-page .site-header{
  background:rgba(0,0,0,.82);
}

body.admin-page .section{
  padding-top:46px;
}

body.admin-page .page-title{
  margin-bottom:24px;
}

body.admin-page .admin-bar{
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px;
  box-shadow:var(--shadow);
}

body.admin-page .admin-table{
  width:100%;
  margin-top:18px;
  border-collapse:separate;
  border-spacing:0;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

body.admin-page .admin-table th{
  background:rgba(255,204,0,.12);
  color:var(--gold);
  font-weight:900;
  letter-spacing:.02em;
  padding:16px 14px;
}

body.admin-page .admin-table td{
  padding:16px 14px;
  color:#eeeeee;
  border-bottom:1px solid rgba(255,255,255,.07);
}

body.admin-page .admin-table tr:last-child td{
  border-bottom:0;
}

body.admin-page .admin-table a{
  color:var(--gold);
  font-weight:850;
}

body.admin-page .form-card,
body.admin-page .summary-card,
body.admin-page .panel{
  background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035));
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
}

body.admin-page .form-card{
  padding:28px;
}

body.admin-page .form-grid input,
body.admin-page .form-grid textarea,
body.admin-page .form-grid select{
  background:#080808;
  border:1px solid rgba(255,255,255,.13);
}

body.admin-page .products-grid .summary-card{
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

body.admin-page .summary-card h2{
  color:var(--gold);
  font-size:48px;
}

/* Admin-Tabellen auf kleinen Displays lesbar */
@media(max-width:850px){
  body.admin-page .admin-table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}

/* Produktkarten responsive */
@media(max-width:1050px){
  .products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .product-card{
    min-height:500px;
  }
}

@media(max-width:760px){
  .products-grid{
    grid-template-columns:1fr;
  }
  .product-card{
    min-height:auto;
  }
  .product-image{
    height:210px;
  }
}


/* V1.4 Passwort ändern */
body.admin-page .form-card{
  max-width:760px;
}

body.admin-page .form-card .notice{
  line-height:1.5;
}

body.admin-page input[type="password"]{
  letter-spacing:.08em;
}


/* V1.5 Produktformular-Fix */
.check-row{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center;
  gap:10px;
}

.check-row input[type="checkbox"]{
  width:auto !important;
  min-width:18px;
  height:18px;
}

body.admin-page .form-card{
  margin-top:18px;
}


/* V1.6 Login Autofill Fix */
.admin-login-form input[data-no-autofill]{
  background:#080808 !important;
}


/* V1.9 Warenkorb-Abfrage, Bestellungen, Mail-Einstellungen */
.shop-added-notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.notice-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.order-admin-form{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.order-admin-form select{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#080808;
  color:#fff;
}

.form-grid small{
  color:var(--muted);
  font-weight:500;
}


/* V2.1 Versand + Rechtliches */

.legal-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
}

.legal-links a{
  color:var(--gold);
  font-weight:700;
}

.check-row{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  padding:14px 16px;
  border-radius:16px;
}


/* V2.2 Produktbilder und Produktkarten im Hochformat 1:2 */
.products-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:26px;
  align-items:stretch;
}

.product-card{
  min-height:620px;
  height:auto;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.product-image{
  height:310px;
  min-height:310px;
  padding:14px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,204,0,.14), transparent 45%),
    #111;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:16px;
}

.product-body{
  min-height:310px;
  padding:24px;
  display:flex;
  flex-direction:column;
}

.product-body h3{
  font-size:24px;
  line-height:1.18;
}

.product-body p{
  font-size:16px;
  line-height:1.55;
}

.product-actions{
  margin-top:auto;
}

.price{
  margin-top:auto;
}

.product-detail-image{
  min-height:520px;
  max-height:none;
  padding:18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,204,0,.14), transparent 45%),
    #111;
}

.product-detail-image img{
  object-fit:contain;
  object-position:center;
  border-radius:18px;
}

@media(max-width:1050px){
  .product-card{
    min-height:590px;
  }

  .product-image{
    height:290px;
    min-height:290px;
  }

  .product-body{
    min-height:300px;
  }
}

@media(max-width:760px){
  .product-card{
    min-height:auto;
  }

  .product-image{
    height:280px;
    min-height:280px;
  }

  .product-body{
    min-height:auto;
  }
}


/* V2.3 Rechtliche Seiten im Shop-Design */
.legal-page main{
  width:min(1100px,92%);
  margin:0 auto;
  padding:58px 0 80px;
  position:relative;
  z-index:1;
}

.legal-page .page-header{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,204,0,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border:1px solid var(--border);
  border-radius:30px;
  box-shadow:var(--shadow);
  padding:34px;
  margin-bottom:24px;
}

.legal-page .page-icon{
  display:inline-grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:18px;
  background:rgba(255,204,0,.14);
  border:1px solid rgba(255,204,0,.24);
  color:var(--gold);
  font-size:28px;
  margin-bottom:16px;
}

.legal-page h1{
  font-size:clamp(38px,5vw,62px);
  line-height:1;
  letter-spacing:-.05em;
  margin-bottom:12px;
}

.legal-page .page-sub{
  color:var(--muted);
  font-size:16px;
}

.legal-page section,
.legal-page .toc,
.legal-page .highlight-box,
.legal-page .form-box{
  background:linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(0,0,0,.22);
  padding:26px;
  margin:18px 0;
}

.legal-page section.warning{
  border-color:rgba(255,204,0,.28);
  background:linear-gradient(145deg, rgba(255,204,0,.11), rgba(255,255,255,.035));
}

.legal-page h2{
  color:var(--gold);
  font-size:clamp(24px,3vw,34px);
  line-height:1.15;
  margin-bottom:14px;
}

.legal-page h3{
  color:#fff;
  font-size:22px;
  margin:18px 0 10px;
}

.legal-page p,
.legal-page li{
  color:#e7e7e7;
  font-size:16px;
  line-height:1.72;
  margin-bottom:12px;
}

.legal-page strong{
  color:#fff;
}

.legal-page a{
  color:var(--gold);
  font-weight:800;
}

.legal-page ul,
.legal-page ol{
  margin:10px 0 12px 22px;
}

.legal-page .toc-title{
  color:var(--gold);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:14px;
}

.legal-page .toc-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}

.legal-page .toc-grid a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.legal-page .toc-grid a:hover{
  border-color:var(--gold);
  color:var(--gold);
}

.legal-page .infobox,
.legal-page .info-box,
.legal-page blockquote{
  border-left:4px solid var(--gold);
  background:rgba(255,204,0,.10);
  color:#ffeaa0;
  padding:16px 18px;
  border-radius:14px;
  margin:18px 0;
}

.legal-page .highlight-box{
  text-align:center;
  border-color:rgba(255,204,0,.30);
}

.legal-page .days{
  display:inline-grid;
  place-items:center;
  width:86px;
  height:86px;
  border-radius:28px;
  background:var(--gold);
  color:#000;
  font-size:44px;
  font-weight:950;
  margin-bottom:12px;
}

.legal-page .days-label{
  color:var(--gold);
  font-weight:950;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:10px;
}

.legal-page table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:16px;
  margin:18px 0;
  background:rgba(255,255,255,.04);
}

.legal-page th,
.legal-page td{
  border-bottom:1px solid var(--border);
  padding:12px 14px;
  color:#e7e7e7;
  text-align:left;
}

.legal-page th{
  color:var(--gold);
  background:rgba(255,204,0,.10);
}

@media(max-width:760px){
  .legal-page main{
    padding-top:34px;
  }

  .legal-page .page-header,
  .legal-page section,
  .legal-page .toc,
  .legal-page .highlight-box,
  .legal-page .form-box{
    padding:20px;
  }
}


/* Phase 1: Filter, Varianten, Gutscheine, Admin-Varianten */
.filter-bar{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:12px;margin:0 0 24px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid var(--border);border-radius:22px;padding:16px}
.filter-bar input,.filter-bar select,.coupon-form input{width:100%;padding:13px 14px;border-radius:14px;border:1px solid var(--border);background:#080808;color:#fff;font:inherit}.coupon-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:16px 0}.variant-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0 24px}.variant-admin-card{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:18px;padding:16px;display:grid;gap:10px}.variant-admin-card label{display:grid;gap:6px;color:#eee;font-weight:700}.variant-admin-card input{padding:11px 12px;border-radius:12px;border:1px solid var(--border);background:#080808;color:#fff}.summary-card .coupon-form .btn{width:auto}@media(max-width:900px){.filter-bar{grid-template-columns:1fr}.coupon-form{grid-template-columns:1fr}.variant-admin-grid{grid-template-columns:1fr}}


/* V3.1 Gutschein-Fix + Benachrichtigung/Telegram */
.coupon-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0;
}

.coupon-form input{
  flex:1;
  min-width:180px;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#090909;
  color:#fff;
  font:inherit;
}

.form-card h2{
  color:var(--gold);
  font-size:28px;
  margin:10px 0 4px;
}

.form-card hr{
  border:0;
  border-top:1px solid var(--border);
  margin:18px 0;
}


/* V3.7 Archiv löschen */
.btn.danger{
  background:#8d1010;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}

.btn.danger:hover{
  background:#b81616;
}


/* V3.8 Archiv-Löschen Button sichtbar */
.order-action-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}

.btn.danger{
  background:#8d1010 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

.btn.danger:hover{
  background:#b81616 !important;
}


/* V3.9 Archiv-Löschen final */
.orders-table select{
  min-width:130px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#080808;
  color:#fff;
}

.inline-order-form{
  display:none;
}

.order-action-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.btn.danger,
.archive-delete-button{
  background:#941313 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

.btn.danger:hover,
.archive-delete-button:hover{
  background:#c51d1d !important;
}


/* Phase 2 v4.0 */
.orders-table input{
  width:100%;
  min-width:150px;
  padding:10px 12px;
  margin:4px 0;
  border-radius:12px;
  border:1px solid var(--border);
  background:#080808;
  color:#fff;
}

#paypal-button-container{
  margin-top:22px;
  max-width:520px;
}

.customer-account-card{
  background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}


/* Phase 3 */
.stats-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
 gap:20px;
 margin:20px 0;
}

.product-gallery{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
 gap:10px;
}

.variant-grid{
 display:grid;
 gap:12px;
}

.filter-bar{
 display:flex;
 flex-wrap:wrap;
 gap:12px;
 margin-bottom:24px;
}


/* Phase 3 v5.1 internes ERP */
.erp-transfer-form{
  display:grid;
  gap:8px;
  min-width:240px;
}

.erp-transfer-form input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#080808;
  color:#fff;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin:20px 0;
}


/* Phase 3 v5.4 Ernteplanung */
.notice-mini{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  font-weight:800;
  margin-top:6px;
}
.notice-mini.ok{
  background:rgba(77,255,136,.14);
  color:#baffcf;
  border:1px solid rgba(77,255,136,.22);
}
.notice-mini.danger{
  background:rgba(255,72,72,.15);
  color:#ffc7c7;
  border:1px solid rgba(255,72,72,.25);
}


/* Phase 3 v5.5 echtes Varianten-System */
.variant-buy-form{
  display:grid;
  gap:18px;
}

.variant-selector h3{
  color:var(--gold);
  margin-bottom:10px;
}

.variant-options{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
}


.variant-option{
  text-align:left;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  background:#111;
  color:#fff;
  cursor:pointer;
  transition:.2s ease;
}

.variant-option strong{
  display:block;
  color:#fff;
}

.variant-option span{
  display:block;
  color:#ffcc00;
  font-weight:900;
  margin-top:4px;
}

.variant-option small{
  display:block;
  color:#cfcfcf;
  margin-top:4px;
}

.variant-option.active,
.variant-option:hover{
  border-color:#ffcc00;
  background:#2a2200;
  color:#fff;
}


.mini-variants{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0;
}

.mini-variants a{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--gold);
  font-size:13px;
  background:rgba(255,255,255,.04);
}

.variant-admin-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin:18px 0;
}

.variant-admin-card{
  background:rgba(255,255,255,.055);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  display:grid;
  gap:10px;
}

.variant-admin-card input,
.variant-admin-card select{
  width:100%;
}


/* Phase 3 v5.8 Varianten-Button Hardfix */
.product-actions-cell{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.product-actions-cell .btn{
  min-width:118px;
  width:auto !important;
  white-space:nowrap;
}

.variant-manage-btn{
  background:#141414 !important;
  color:#ffcc00 !important;
  border:1px solid rgba(255,204,0,.45) !important;
  font-weight:900 !important;
}

.variant-manage-btn span{
  display:inline !important;
  color:#ffcc00 !important;
  opacity:1 !important;
  visibility:visible !important;
  font-size:15px !important;
  line-height:1.2 !important;
}

.variant-manage-btn::after{
  content:"";
}

.variant-manage-btn:hover{
  background:#2a2200 !important;
  color:#fff !important;
  border-color:#ffcc00 !important;
}

.variant-manage-btn:hover span{
  color:#fff !important;
}


/* Newsletter v5.9 */
.newsletter-form{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px;align-items:center;margin-top:14px}.newsletter-form input{min-height:48px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.06);color:#fff;padding:0 14px}.newsletter-footer{margin:28px auto;background:linear-gradient(145deg,rgba(13,13,13,.94),rgba(17,17,17,.72));border:1px solid var(--border);border-radius:26px}.newsletter-footer h2,.newsletter-hero h2{color:var(--gold)}.newsletter-footer small{display:block;color:var(--muted);margin-top:10px}.newsletter-hero{margin-top:18px;max-width:520px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0}.admin-table textarea{width:100%}@media(max-width:760px){.newsletter-form{grid-template-columns:1fr}.newsletter-form .btn{width:100%}}


/* Newsletter Position Fix */
.newsletter-shop-bottom{
  margin-top:44px;
  margin-bottom:26px;
}
.newsletter-shop-bottom .newsletter-footer{
  max-width:980px;
  margin:0 auto;
}
