/* ══════════════════════════════════════════
   ElektroGH.wien – Homepage Styles
   ══════════════════════════════════════════ */

/* ──────────── HERO ──────────── */
.hero {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-rows: auto auto;
  gap: 16px;
}

.hero-main {
  grid-column: 1;
  grid-row: 1;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-main-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(240,180,41,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 20%, rgba(240,180,41,0.1) 0%, transparent 60%);
}
.hero-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}
.hero-bolt-deco {
  position: absolute;
  right: 60px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
  line-height: 1;
  user-select: none;
  animation: boltPulse 3s ease-in-out infinite;
  color: var(--yellow);
}
.hero-bolt-deco .lucide { width: 250px; height: 250px; }
@keyframes boltPulse {
  0%, 100% { opacity: 0.10; }
  50% { opacity: 0.18; }
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,180,41,0.2);
  border: 1px solid rgba(240,180,41,0.4);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-badge .lucide { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-title .highlight { color: var(--yellow); }
.hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-hero-primary .lucide { width: 18px; height: 18px; }
.btn-hero-primary:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,180,41,0.4); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-hero-secondary .lucide { width: 16px; height: 16px; }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.16); color: var(--white); }

.hero-side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-promo {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  flex: 1;
}
.hero-promo::after {
  content: '%';
  position: absolute;
  right: -10px; bottom: -20px;
  font-size: 9rem;
  font-weight: 800;
  color: rgba(0,0,0,0.08);
  line-height: 1;
}
.promo-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22,20,15,0.55);
  margin-bottom: 8px;
}
.promo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.promo-desc { font-size: 0.85rem; color: rgba(22,20,15,0.65); line-height: 1.5; margin-bottom: 20px; }
.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-promo .lucide { width: 14px; height: 14px; }
.btn-promo:hover { background: var(--dark); }

.hero-quick {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.quick-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.quick-items { display: flex; flex-direction: column; gap: 8px; }
.quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
}
.quick-item:hover { background: var(--border); }
.quick-icon { display: flex; }
.quick-icon .lucide { width: 20px; height: 20px; color: var(--text); }
.quick-text { font-size: 0.83rem; font-weight: 600; color: var(--text); }
.quick-arrow { margin-left: auto; display: flex; }
.quick-arrow .lucide { width: 16px; height: 16px; color: var(--muted-light); }

.hero-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-sm);
}
.stat-cell {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--border-light);
}
.stat-cell:last-child { border-right: none; }
.stat-icon {
  width: 44px; height: 44px;
  background: var(--yellow-light);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon .lucide { width: 22px; height: 22px; color: var(--yellow-dark); }
.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-lbl { font-size: 0.78rem; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* ──────────── CATEGORIES GRID ──────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.cat-item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.cat-item:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow), 0 0 0 3px rgba(240,180,41,0.1);
}
.cat-emoji-wrap {
  width: 56px; height: 56px;
  background: var(--yellow-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cat-emoji-wrap .lucide {
  width: 28px; height: 28px; color: var(--yellow-dark);
  transition: transform 0.2s ease;
}
.cat-item:hover .cat-emoji-wrap { background: var(--yellow); }
.cat-item:hover .cat-emoji-wrap .lucide { color: var(--black); }
/* 4.2 Category Card Icon Rotation */
@media (min-width: 768px) {
  .cat-item:hover .cat-emoji-wrap .lucide {
    transform: rotate(-8deg) scale(1.1);
  }
}
.cat-item:active .cat-emoji-wrap .lucide {
  transform: rotate(-5deg) scale(1.05);
}
.cat-item-name { font-size: 0.8rem; font-weight: 700; color: var(--black); line-height: 1.3; }
.cat-item-count { font-size: 0.7rem; color: var(--muted-light); font-family: 'DM Mono', monospace; }

/* ──────────── BRANDS ──────────── */
.brands-band {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 32px 0;
  overflow: hidden;
}
.brands-label-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 20px;
}
.brands-scroll {
  display: flex;
  gap: 0;
  animation: scrollBrands 22s linear infinite;
  white-space: nowrap;
}
/* 4.3 Brand Slider Pause on Hover */
.brands-band:hover .brands-scroll {
  animation-play-state: paused;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-right: 1px solid var(--border-light);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-chip .lucide { width: 16px; height: 16px; color: var(--yellow); }
@keyframes scrollBrands {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ──────────── INFO CARDS ──────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.info-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* 4.6 Info Card Icon Lift */
.info-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover .info-icon {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(22,20,15,0.08);
}
.info-icon .lucide { width: 26px; height: 26px; }
.info-icon.yellow { background: var(--yellow-light); }
.info-icon.yellow .lucide { color: var(--yellow-dark); }
.info-icon.green { background: var(--green-light); }
.info-icon.green .lucide { color: var(--green); }
.info-icon.blue { background: var(--blue-light); }
.info-icon.blue .lucide { color: var(--blue); }
.info-title { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.info-text { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }

/* ──────────── SPLIT PROMO ──────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* 4.4 Split Promo Card Hover */
.split-card {
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 768px) {
  .split-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
  .split-card:hover .split-deco {
    transform: scale(1.08);
    transition: transform 0.3s ease;
  }
}
.split-card:active {
  transform: scale(0.98);
}
.split-card.dark { background: var(--black); color: var(--white); }
.split-card.warm { background: linear-gradient(135deg, var(--warm-bg) 0%, #fff2cc 100%); border: 1.5px solid var(--yellow-border); }
.split-deco {
  position: absolute;
  right: 32px; top: 32px;
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
  transition: transform 0.3s ease;
}
.split-deco .lucide { width: 120px; height: 120px; }
.split-card .tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  margin-bottom: 14px; width: fit-content;
}
.split-card.dark .tag { background: rgba(240,180,41,0.18); color: var(--yellow); }
.split-card.warm .tag { background: rgba(240,180,41,0.3); color: var(--warm-text); }
.split-card-title {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 10px;
}
.split-card.warm .split-card-title { color: var(--black); }
.split-card-sub { font-size: 0.87rem; margin-bottom: 22px; line-height: 1.55; }
.split-card.dark .split-card-sub { color: rgba(255,255,255,0.5); }
.split-card.warm .split-card-sub { color: rgba(22,20,15,0.55); }
.btn-split-dark {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 22px;
  background: var(--yellow); color: var(--black);
  border-radius: 10px; font-weight: 700; font-size: 0.85rem;
  width: fit-content; transition: all 0.2s;
}
.btn-split-dark .lucide { width: 16px; height: 16px; }
.btn-split-dark:hover { background: var(--yellow-hover); }
.btn-split-warm {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 22px;
  background: var(--black); color: var(--white);
  border-radius: 10px; font-weight: 700; font-size: 0.85rem;
  width: fit-content; transition: all 0.2s;
}
.btn-split-warm .lucide { width: 16px; height: 16px; }
.btn-split-warm:hover { background: var(--dark); }

/* ──────────── CTA STRIP ──────────── */
.cta-strip-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 48px;
}
.cta-strip {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-strip-deco {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
}
.cta-strip-deco .lucide { width: 200px; height: 200px; }
.cta-strip-title {
  font-size: 2rem; font-weight: 800;
  color: var(--black); letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 6px;
}
.cta-strip-sub { font-size: 0.9rem; color: rgba(22,20,15,0.55); }
.cta-strip-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.btn-strip-primary {
  height: 50px; padding: 0 28px;
  background: var(--black); color: var(--white);
  border-radius: 12px; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-strip-primary .lucide { width: 18px; height: 18px; }
.btn-strip-primary:hover { background: var(--dark); transform: translateY(-1px); }
.btn-strip-secondary {
  height: 50px; padding: 0 24px;
  background: rgba(22,20,15,0.1); color: var(--black);
  border-radius: 12px; font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-strip-secondary:hover { background: rgba(22,20,15,0.18); }

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-item { padding: 18px 12px 16px; gap: 8px; }
  .cat-emoji-wrap { width: 48px; height: 48px; }
  .cat-emoji-wrap .lucide { width: 24px; height: 24px; }
  .cat-item-name { font-size: 0.75rem; }
  .cat-item-count { font-size: 0.65rem; }

  /* ── Hero: compact for mobile ── */
  .hero { padding: 0 16px; margin: 12px auto; gap: 10px; grid-template-columns: 1fr; }
  .hero-main { padding: 28px 24px; min-height: auto; }
  .hero-bolt-deco { display: none; }
  .hero-badge { font-size: 0.7rem; padding: 4px 10px; margin-bottom: 14px; }
  .hero-title { font-size: 1.8rem; margin-bottom: 10px; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 20px; max-width: none; }
  .hero-btns { gap: 8px; }
  .btn-hero-primary { height: 42px; padding: 0 20px; font-size: 0.85rem; }
  .btn-hero-secondary { height: 42px; padding: 0 18px; font-size: 0.85rem; }

  /* Hide quick-access on mobile (links exist in menu already) */
  .hero-quick { display: none; }
  .hero-side { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 10px; }

  /* Compact promo */
  .hero-promo { padding: 20px; }
  .hero-promo::after { font-size: 6rem; right: -8px; bottom: -14px; }
  .promo-label { margin-bottom: 4px; }
  .promo-title { font-size: 1.15rem; margin-bottom: 6px; }
  .promo-desc { font-size: 0.82rem; margin-bottom: 14px; }

  /* Compact stats: 2x2 grid */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 14px 16px; gap: 10px; }
  .stat-val { font-size: 1.2rem; }
  .stat-lbl { font-size: 0.7rem; }
  .stat-icon { width: 36px; height: 36px; }
  .stat-icon .lucide { width: 17px; height: 17px; }

  .info-grid, .split-grid { grid-template-columns: 1fr; }
  .info-card { padding: 24px; }
  .split-card { padding: 28px; min-height: 200px; }
  .split-card-title { font-size: 1.3rem; }
  .cta-strip { flex-direction: column; text-align: center; padding: 28px 24px; }
  .cta-strip-title { font-size: 1.4rem; }
  .cta-strip-actions { width: 100%; flex-direction: column; }
  .btn-strip-primary, .btn-strip-secondary { width: 100%; justify-content: center; }
  .brands-band { padding: 24px 0; }
  .brands-label-row { padding: 0 16px; margin-bottom: 14px; }
}

/* ── Phones (most modern phones are 360–430px wide) ── */
@media (max-width: 640px) {
  /* Hide promo on all phones – too much hero content */
  .hero-promo { display: none; }

  /* Tighter hero */
  .hero { padding: 0 14px; margin: 10px auto; gap: 8px; }
  .hero-main { padding: 24px 20px; }
  .hero-badge { margin-bottom: 10px; }
  .hero-title { font-size: 1.6rem; margin-bottom: 8px; }
  .hero-sub { font-size: 0.85rem; margin-bottom: 18px; }
  .btn-hero-primary { height: 40px; padding: 0 18px; font-size: 0.82rem; }
  .btn-hero-secondary { height: 40px; padding: 0 16px; font-size: 0.82rem; }

  /* Stats: more compact */
  .stat-cell { padding: 12px 14px; gap: 8px; }
  .stat-val { font-size: 1.1rem; }
  .stat-lbl { font-size: 0.68rem; }
  .stat-icon { width: 34px; height: 34px; }
  .stat-icon .lucide { width: 16px; height: 16px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-item { padding: 16px 10px 14px; }

  .hero { padding: 0 12px; margin: 8px auto; gap: 6px; }
  .hero-main { padding: 22px 16px; }
  .hero-title { font-size: 1.4rem; }
  .hero-sub { font-size: 0.82rem; margin-bottom: 16px; }
  .hero-btns { flex-wrap: wrap; }
  .btn-hero-primary, .btn-hero-secondary { height: 38px; padding: 0 14px; font-size: 0.8rem; border-radius: 10px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-light); padding: 10px 12px; }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--border-light); }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
  .stat-val { font-size: 1rem; }
  .stat-icon { width: 30px; height: 30px; }
  .stat-icon .lucide { width: 15px; height: 15px; }

  .split-card { padding: 22px; min-height: 160px; }
  .split-card-title { font-size: 1.1rem; }
  .split-card-sub { font-size: 0.82rem; }
  .cta-strip { padding: 22px 18px; }
  .cta-strip-title { font-size: 1.2rem; }
  .cta-strip-wrap { padding: 0 12px 28px; }
}

/* ── Very small phones (iPhone SE, Galaxy S range) ── */
@media (max-width: 360px) {
  .hero { padding: 0 10px; margin: 6px auto; }
  .hero-main { padding: 20px 14px; }
  .hero-badge { font-size: 0.65rem; padding: 3px 8px; }
  .hero-title { font-size: 1.25rem; }
  .hero-sub { font-size: 0.78rem; margin-bottom: 14px; }
  .hero-btns { gap: 6px; }
  .btn-hero-primary, .btn-hero-secondary { height: 36px; padding: 0 12px; font-size: 0.78rem; }

  .stat-cell { padding: 8px 10px; }
  .stat-val { font-size: 0.92rem; }
  .stat-lbl { font-size: 0.65rem; }
  .stat-icon { width: 28px; height: 28px; }
  .stat-icon .lucide { width: 14px; height: 14px; }

  .cat-grid { gap: 6px; }
  .cat-item { padding: 12px 8px 10px; }
  .cat-emoji-wrap { width: 40px; height: 40px; }
  .cat-emoji-wrap .lucide { width: 20px; height: 20px; }
  .cat-item-name { font-size: 0.7rem; }

  .section-title { font-size: 1rem; }
}

/* ──────────── REDUCED MOTION ──────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-main::before { animation: none; }
  .hero-bolt-deco { animation: none; }
  .brands-scroll { animation: none; }
  .split-card:hover, .split-card:active { transform: none; }
  .info-card:hover .info-icon { transform: none; }
  .cat-item:hover .cat-emoji-wrap .lucide,
  .cat-item:active .cat-emoji-wrap .lucide { transform: none; }
}
