/* ===================================================
   Creative Gnomes – Stylesheet
   Freundliche Waldwerkstatt-Töne
   =================================================== */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  /* Primärfarbe: Gnomen-Grün (Mütze des mittleren Gnoms) */
  --green:        #8cb84e;
  --green-dark:   #6a9038;
  --green-light:  #aed46a;
  --green-glow:   rgba(140, 184, 78, 0.30);

  /* Akzentfarbe: Logo-Gold (der metallische Schriftzug "Creative Gnomes") */
  --amber:        #c8981e;
  --amber-light:  #e8c050;
  --amber-glow:   rgba(200, 152, 30, 0.35);

  /* Hintergründe: tiefes Werkstatt-Braun passend zur Holztisch-Atmosphäre */
  --bg:           #1a1108;
  --bg-card:      #241808;
  --bg-card2:     #2e200e;
  --bg-section:   #140e05;

  /* Ränder */
  --border:       rgba(230, 200, 120, 0.13);
  --border-warm:  rgba(200, 152, 30, 0.28);

  /* Text: warmes Pergament-Creme */
  --text:         #f0e6cc;
  --text-muted:   #b09870;
  --text-dim:     #6e5c38;
  --white:        #fdf6e3;

  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:       0 4px 32px rgba(0, 0, 0, 0.55);
  --shadow-warm:  0 0 32px var(--amber-glow);

  --font-head:    'Orbitron', monospace;
  --font-body:    'Inter', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: #0e0900;
  background-image: url('creative-gnomes.webp');
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 35% top;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Warme Werkstatt-Schicht über dem Logo-Hintergrund */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 2, 0.62);
  z-index: 0;
  pointer-events: none;
}
/* Maus-Glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    500px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(140, 184, 78, 0.07),
    transparent 60%
  );
}
/* Alle direkten Kind-Elemente über dem Overlay halten */
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-light);
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--green);
  color: var(--green-light);
  transform: translateY(-2px);
}

.btn--sm   { padding: 8px 18px; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SECTION BASE ---- */
.section { padding: 100px 0; background: transparent; }
.section--dark { background: rgba(19, 15, 10, 0.60); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(122, 158, 82, 0.1);
  color: var(--green-light);
  border: 1px solid var(--border-warm);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}
.section-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ================================================
   NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(18, 14, 9, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  border-radius: 8px;
  object-fit: contain;
  border: 2px solid rgba(122, 158, 82, 0.3);
  box-shadow: 0 0 16px rgba(122, 158, 82, 0.15);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}
.nav-logo-text small {
  display: block;
  color: var(--amber-light);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--green-light); }

.nav-link--cta {
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
  padding: 9px 22px;
}
.nav-link--cta:hover {
  background: var(--green-light);
  box-shadow: var(--shadow-warm);
}

/* ---- WARENKORB-BUTTON ---- */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cart-btn svg { width: 22px; height: 22px; }
.nav-cart-btn:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition);
  pointer-events: none;
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.cart-sidebar.open { right: 0; }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-header h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.cart-sidebar-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.cart-sidebar-close:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  gap: 12px;
}
.cart-empty svg { opacity: 0.35; }
.cart-empty p { font-size: 1rem; color: var(--text); }
.cart-empty small { font-size: 0.85rem; }
.cart-empty small a { color: var(--green-light); text-decoration: underline; text-underline-offset: 3px; }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card2);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-item-info { min-width: 0; }
.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-material {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.82rem;
  color: var(--green-light);
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cart-qty-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-qty-btn:hover { border-color: var(--green); color: var(--green-light); }
.cart-qty {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  min-width: 20px;
  text-align: center;
}
.cart-remove-btn {
  color: var(--text-dim);
  padding: 4px;
  transition: var(--transition);
  display: flex; align-items: center;
}
.cart-remove-btn:hover { color: #e07070; }

.cart-sidebar-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-sidebar-total-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

/* ---- TOAST BENACHRICHTIGUNG ---- */
.cart-toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 75px 0 30px;
}

/* ---- HERO OVERLAY – zusätzliche Abdunklung nur im Hero ---- */
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(14, 9, 0, 0.45) 0%,
      rgba(14, 9, 0, 0.25) 50%,
      rgba(14, 9, 0, 0.35) 100%),
    linear-gradient(to top,
      rgba(14, 9, 0, 0.35) 0%,
      transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 113, 44, 0.1);
  border: 1px solid rgba(184, 113, 44, 0.3);
  color: var(--amber-light);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.gear-icon {
  display: inline-block;
  animation: spin-slow 10s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================
   ÜBER UNS
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.about-card {
  background: rgba(40, 32, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.about-card.visible { opacity: 1; transform: translateY(0); }
.about-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(122, 158, 82, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-card-icon svg { width: 26px; height: 26px; stroke: var(--green-light); }
.about-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.about-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.about-banner {
  background: linear-gradient(135deg, rgba(122, 158, 82, 0.1) 0%, rgba(184, 113, 44, 0.07) 100%);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.about-banner-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.about-banner-gear {
  font-size: 3rem;
  animation: spin-slow 12s linear infinite;
  flex-shrink: 0;
  opacity: 0.7;
}
.about-banner h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.about-banner p { color: var(--text-muted); font-size: 0.9rem; }

/* ================================================
   PRODUKTE
   ================================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
  background: transparent;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-light); }
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: rgba(40, 32, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-warm), 0 20px 60px rgba(0,0,0,0.5);
}
.product-card.hidden { display: none; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-zoom {
  width: 50px;
  height: 50px;
  background: rgba(23, 19, 14, 0.85);
  border: 1.5px solid var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.product-zoom:hover { background: var(--green); }
.product-zoom:hover svg { stroke: #fff; }
.product-zoom svg { width: 20px; height: 20px; stroke: var(--green-light); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(23, 19, 14, 0.82);
  border: 1px solid var(--border-warm);
  color: var(--green-light);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.product-tag--gaming  { color: #8ab4e0; border-color: rgba(138, 180, 224, 0.28); }
.product-tag--haushalt{ color: var(--amber-light); border-color: rgba(184, 113, 44, 0.3); }

.product-info { padding: 16px; }
.product-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--white);
}
.product-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.product-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amber-light);
  white-space: nowrap;
}
.product-material {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(49, 39, 27, 0.72);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
/* ---- FARB-AUSWAHL ---- */
.product-colors-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-colors-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: var(--font-body);
}
.color-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.color-btn.selected {
  border-color: var(--green);
  background: rgba(80,180,80,0.15);
  color: var(--green-light);
  font-weight: 700;
}
.color-btn-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}

.product-out-of-stock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  cursor: default;
  letter-spacing: 0.04em;
}

/* Wunschprojekt-Karte */
.product-card--custom {
  background: linear-gradient(135deg, rgba(122, 158, 82, 0.07), rgba(184, 113, 44, 0.05));
  border: 2px dashed var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card--custom:hover { border-style: solid; }
.product-custom-content { text-align: center; padding: 48px 32px; }
.custom-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  animation: spin-slow 12s linear infinite;
  opacity: 0.65;
}
.product-custom-content h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.product-custom-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.65;
}

/* ================================================
   KONTAKT
   ================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(122, 158, 82, 0.1);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--green-light); }
.contact-info-item h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; color: var(--white); }
.contact-info-item p  { color: var(--text-muted); font-size: 0.88rem; }

/* Formular */
.contact-form {
  background: rgba(40, 32, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(49, 39, 27, 0.72);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122, 158, 82, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: rgba(49, 39, 27, 0.72); }

.form-error { font-size: 0.78rem; color: #e07070; margin-top: 6px; display: none; }
.form-error.visible { display: block; }

.form-success {
  text-align: center;
  color: var(--green-light);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
  padding: 12px;
  background: rgba(122, 158, 82, 0.08);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
}
.form-success.visible { display: block; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: rgba(10, 8, 5, 0.82);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: 4px; }
.footer-contact p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 8px; }
.footer-tagline { color: var(--text-dim) !important; font-size: 0.8rem !important; margin-top: 16px !important; font-style: italic; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 7, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(10px);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s;
}
.lightbox.open .lightbox-content { transform: scale(1); }
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.lightbox-caption { margin-top: 14px; color: var(--text-muted); font-size: 0.9rem; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(40, 32, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.lightbox-close:hover { background: var(--green); }

/* ================================================
   MODALS
   ================================================ */
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -42%);
  background: rgba(40, 32, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 600px;
  width: calc(100vw - 48px);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%); }
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(49, 39, 27, 0.72);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { color: var(--white); background: var(--green); }
.modal h2 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 24px; padding-right: 40px; color: var(--white); }
.modal p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
.modal strong { color: var(--white); }

/* ================================================
   PAGE HERO (Produkte-Seite)
   ================================================ */
.page-hero {
  position: relative;
  padding: 110px 0 56px;
  overflow: hidden;
  background-color: transparent;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg, transparent, transparent 70px,
      rgba(230,205,160,0.018) 70px, rgba(230,205,160,0.018) 71px
    );
  background-color: transparent;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  transition: var(--transition);
}
.page-back-link svg { width: 16px; height: 16px; }
.page-back-link:hover { color: var(--green-light); }
.page-hero-text { max-width: 600px; }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 14px;
}
.page-hero-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- PRODUKT-VORSCHAU CTA ---- */
.preview-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(140,184,78,0.08), rgba(200,136,62,0.06));
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
}
.preview-cta p { color: var(--text-muted); font-size: 0.95rem; max-width: 460px; }

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: rgba(40, 32, 22, 0.72);
  border: 1.5px solid var(--border-warm);
  border-radius: 12px;
  color: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--green); color: #fff; }
.scroll-top svg { width: 20px; height: 20px; }

/* ================================================
   SCROLL-ANIMATIONEN
   ================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(23, 19, 14, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 899;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; padding: 12px 0; width: 100%; }
  .nav-link--cta { padding: 12px 20px; }
  .nav-burger { display: flex; z-index: 900; }
  .nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  /* Auf Mobil: Overlay leicht verstärken für Lesbarkeit */
  .hero-banner-overlay {
    background:
      linear-gradient(to right,
        rgba(30, 24, 18, 0.72) 0%,
        rgba(30, 24, 18, 0.55) 60%,
        rgba(30, 24, 18, 0.30) 100%),
      linear-gradient(to top,
        rgba(30, 24, 18, 0.45) 0%,
        transparent 40%);
  }

  .about-banner { flex-direction: column; padding: 28px; text-align: center; }
  .about-banner-content { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .scroll-top { bottom: 20px; right: 20px; }
}

/* ================================================
   CHECKOUT-SEITE
   ================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.checkout-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

/* --- Bestellübersicht --- */
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.co-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.co-item:last-child { border-bottom: none; }

.co-item-img {
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card2);
}
.co-item-img img { width: 100%; height: 100%; object-fit: cover; }

.co-item-info { min-width: 0; }
.co-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-material { font-size: 0.76rem; color: var(--text-dim); }
.co-item-qty { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-warm);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.checkout-total-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.checkout-note-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --- Formular-Wrapper --- */
.checkout-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.checkout-disclaimer {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

/* --- Erfolgsmeldung --- */
.checkout-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.checkout-empty-icon { margin-bottom: 20px; opacity: 0.4; }
.checkout-empty h2 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 8px; color: var(--white); }

.checkout-success {
  text-align: center;
  padding: 40px 20px;
}
.checkout-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(140, 184, 78, 0.12);
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--green-light);
}
.checkout-success h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.checkout-success p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.checkout-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .checkout-summary { position: static; }
}

@media (max-width: 600px) {
  .cart-sidebar { width: 100vw; }
}
