/* ============================================================
   DarkStore – Natives Static HTML Theme
   Kein CMS. Alle Farben als CSS-Variable leicht änderbar.
   ============================================================ */

:root {
  --bg:            #0d0d0d;
  --bg-card:       #161616;
  --bg-card-hover: #1e1e1e;
  --border:        #2a2a2a;
  --accent:        #ff3333;      /* ← Akzentfarbe hier ändern */
  --accent-dim:    rgba(255,51,51,0.15);
  --text:          #f0f0f0;
  --text-muted:    #888;
  --text-xmuted:   #444;
  --white:         #fff;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow-hover:  0 8px 40px rgba(0,0,0,0.9);
  --font:          'Inter','Helvetica Neue',Arial,sans-serif;
  --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
  --header-h:      64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font);
       line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: var(--accent); text-decoration: none;
       transition: opacity var(--transition); }
a:hover { opacity: .8; }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em;
             color: var(--white); text-transform: uppercase; }
.site-logo span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.site-nav a { color: var(--text-muted); font-size: .875rem; font-weight: 500;
              letter-spacing: .05em; text-transform: uppercase;
              transition: color var(--transition); }
.site-nav a:hover,
.site-nav a.active { color: var(--white); opacity: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px;
              cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px;
                   background: var(--text); border-radius: 2px;
                   transition: var(--transition); }

/* ── HERO SLIDER ── */
.hero-slider-section {
  position: relative; width: 100%; height: 100vh; min-height: 500px;
  overflow: hidden; margin-top: var(--header-h);
}
.hero-slider-section .swiper { width: 100%; height: 100%; }
.hero-slide { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 6s ease;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.3) 60%,rgba(0,0,0,.1) 100%);
}
.hero-slide-content {
  position: absolute; bottom: 12%; left: 8%; max-width: 600px; z-index: 2;
}
.hero-tag {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px; margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.2rem,6vw,4.5rem); font-weight: 900; line-height: 1.05;
  letter-spacing: -.03em; color: var(--white); margin-bottom: 1rem;
}
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.7);
                 margin-bottom: 2rem; max-width: 400px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: var(--white);
  font-weight: 700; font-size: .875rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  transition: all var(--transition); box-shadow: 0 0 30px var(--accent-dim);
}
.hero-cta:hover { background: #ff5555; opacity: 1;
                  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,51,51,.4); }

/* Swiper navigation */
.swiper-button-next,.swiper-button-prev {
  color: var(--white) !important;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  width: 48px !important; height: 48px !important; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); transition: all var(--transition);
}
.swiper-button-next:hover,.swiper-button-prev:hover {
  background: var(--accent); border-color: var(--accent);
}
.swiper-button-next::after,.swiper-button-prev::after { font-size: 14px !important; font-weight: 700; }
.swiper-pagination-bullet { background: rgba(255,255,255,.4) !important; transition: all var(--transition); }
.swiper-pagination-bullet-active { background: var(--accent) !important; width: 28px; border-radius: 4px; }

/* ── SECTION ── */
.section { padding: 80px 0; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-header { margin-bottom: 3rem; display: flex; align-items: baseline;
                  justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800;
                 letter-spacing: -.03em; color: var(--white); }
.section-title span { color: var(--accent); }
.section-link { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
                color: var(--text-muted); border-bottom: 1px solid var(--border);
                padding-bottom: 2px; transition: all var(--transition); }
.section-link:hover { color: var(--accent); opacity: 1; border-color: var(--accent); }

/* ── MASONRY GRID ── */
.products-masonry { columns: 3; column-gap: 16px; }
.product-card {
  break-inside: avoid; margin-bottom: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: all var(--transition); position: relative;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
  border-color: rgba(255,51,51,.3); background: var(--bg-card-hover);
}
.product-card-img-wrap { position: relative; overflow: hidden; display: block; }
.product-card-img-wrap img {
  width: 100%; height: auto; display: block; object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
/* Zufallsgrößen – JS weist Klassen zu */
.product-card.h-sm .product-card-img-wrap img { min-height: 180px; }
.product-card.h-md .product-card-img-wrap img { min-height: 260px; }
.product-card.h-lg .product-card-img-wrap img { min-height: 340px; }
.product-card.h-xl .product-card-img-wrap img { min-height: 440px; }

.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.8) 0%,transparent 50%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay-btn {
  background: var(--accent); color: var(--white); border: none;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; display: inline-block; transition: background var(--transition);
}
.product-card-overlay-btn:hover { background: #ff5555; opacity: 1; }
.product-card-info { padding: 1rem 1.1rem 1.1rem; }
.product-card-name {
  font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-card-price { font-size: .8rem; color: var(--accent); font-weight: 600; }
.product-card-tag {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent-dim); color: var(--accent);
  padding: 3px 8px; border-radius: 3px; margin-bottom: .5rem;
}

/* ── PRODUKT-DETAILSEITE ── */
.product-page { padding-top: calc(var(--header-h) + 2rem); min-height: 100vh; }
.product-layout {
  max-width: 1200px; margin: 0 auto; padding: 3rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.product-photo-main {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  aspect-ratio: 3/4; position: relative;
}
.product-photo-main img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.product-photo-main:hover img { transform: scale(1.04); }
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; }
.product-thumb {
  width: 72px; height: 72px; border-radius: var(--radius);
  overflow: hidden; border: 2px solid var(--border); cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb:hover,.product-thumb.active { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-breadcrumb {
  font-size: .75rem; color: var(--text-xmuted); margin-bottom: 1.5rem;
  display: flex; gap: .5rem; align-items: center;
}
.product-breadcrumb a { color: var(--text-muted); }
.product-category-tag {
  display: inline-block; background: var(--accent-dim); color: var(--accent);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 1rem;
}
.product-title {
  font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 900; letter-spacing: -.03em;
  color: var(--white); line-height: 1.1; margin-bottom: 1rem;
}
.product-price-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.product-price { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.product-price-old { font-size: 1rem; color: var(--text-xmuted); text-decoration: line-through; }
.product-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.product-description { color: var(--text-muted); font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.product-description p { margin-bottom: .75rem; }
.product-meta { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.product-meta-row { display: flex; gap: .75rem; font-size: .85rem; }
.product-meta-label { color: var(--text-xmuted); min-width: 80px; font-weight: 600; }
.product-meta-value { color: var(--text); }

.product-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: 16px 28px; background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  transition: all var(--transition); box-shadow: 0 4px 24px rgba(255,51,51,.3);
  text-decoration: none; margin-bottom: 1rem;
}
.product-contact-btn:hover {
  background: #ff5555; opacity: 1; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,51,51,.5);
}
.product-contact-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: 14px 28px; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.product-contact-btn-secondary:hover { border-color: var(--text-muted); color: var(--white); opacity: 1; }

/* ── KONTAKTSEITE ── */
.contact-page { padding-top: calc(var(--header-h) + 4rem); min-height: 100vh; }
.contact-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem 6rem;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start;
}
.contact-links { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.1rem 1.3rem;
  color: var(--text); transition: all var(--transition);
}
.contact-item:hover { border-color: rgba(255,51,51,.3); opacity: 1;
                      background: var(--bg-card-hover); transform: translateX(4px); }
.contact-icon { font-size: 1.5rem; }
.contact-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em;
                 text-transform: uppercase; color: var(--text-xmuted); margin-bottom: 2px; }
.contact-value { font-size: .95rem; font-weight: 600; color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; font-weight: 700; letter-spacing: .08em;
                    text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); padding: 12px 14px; font-family: var(--font); font-size: .95rem;
  transition: border-color var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; -webkit-appearance: none; appearance: none; }
::placeholder { color: var(--text-xmuted); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; margin-top: 4rem; }
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
               color: var(--white); text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: .8rem; color: var(--text-xmuted); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: .8rem; color: var(--text-xmuted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); opacity: 1; }

/* ── BTN ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: 12px 28px;
       border-radius: var(--radius); font-size: .875rem; font-weight: 700;
       letter-spacing: .05em; text-transform: uppercase;
       cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--white); opacity: 1; }

/* ── ANIMATIONEN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeup { animation: fadeUp .5s ease forwards; }
.animate-delay-1 { animation-delay: .1s; opacity: 0; }
.animate-delay-2 { animation-delay: .2s; opacity: 0; }
.animate-delay-3 { animation-delay: .3s; opacity: 0; }
.animate-delay-4 { animation-delay: .4s; opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-masonry { columns: 2; }
  .product-layout   { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner    { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,.97); padding: 2rem; z-index: 999;
  }
  .site-nav.open a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .hero-slide-content { left: 5%; bottom: 8%; }
  .hero-title { font-size: 2rem; }
  .products-masonry { columns: 2; column-gap: 10px; }
  .product-card { margin-bottom: 10px; }
  .section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .products-masonry { columns: 1; }
}
