:root{
  --bg:#0b0f17;
  --bg2:#111827;
  --text:#ffffff;
  --muted: rgba(255,255,255,.86);
  --muted2: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --accent1:#4da3ff;
  --accent2:#7c5cff;
  --shadow: 0 25px 60px rgba(0,0,0,.40);
  --radius: 18px;
  --container: 1200px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration:none; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Header (premium) */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index: 80;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255,255,255,0);
}
header.is-scrolled{
  background: rgba(5,8,14,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.30);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .2px;
}
.brand img{ height: 34px; width:auto; display:block; filter: drop-shadow(0 10px 25px rgba(0,0,0,.35)); }
.brand .fallback{ display:none; font-weight: 900; }

.menu{
  display:flex;
  align-items:center;
  gap: 18px;
}
.menu a{
  font-weight: 650;
  opacity: .92;
  position:relative;
}
.menu a:hover{ opacity: 1; }
.menu a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-10px;
  height:2px;
  border-radius:2px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
}
.actions{ display:flex; align-items:center; gap: 10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 850;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }
.btn.primary{
  border: 0;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 14px 35px rgba(77,163,255,.18);
}

/* Hero */
.hero{
  position:relative;
  height: 92vh;
  min-height: 640px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero .hero-bg{
  position:absolute;
  inset:-40px;
  background: url('/assets/img/hero.jpg') center/cover no-repeat;
  transform: translate3d(0,0,0);
  will-change: transform;
  filter: saturate(1.05) contrast(1.05);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.80), rgba(0,0,0,.35));
}
.hero-content{
  position:relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 70px;
}
.hero-logos{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 18px;
}
.hero-logos img{ height: 34px; width:auto; display:block; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.hero h1{
  font-size: 58px;
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero p{
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap:wrap; }

/* Subhero */
.subhero{
  position:relative;
  height: 45vh;
  min-height: 320px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.subhero .hero-bg{
  position:absolute;
  inset:-30px;
  background: url('/assets/img/hero.jpg') center/cover no-repeat;
  transform: translate3d(0,0,0);
  will-change: transform;
  filter: saturate(1.05) contrast(1.05);
}
.subhero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.82), rgba(0,0,0,.42));
}
.subhero .container{ position:relative; z-index:2; padding: 120px 20px 56px; }
.subhero h1{
  margin:0;
  font-size: 42px;
  line-height: 1.1;
}

/* Sections */
section{ padding: 100px 0; }
.section-alt{ background: var(--bg2); }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.grid img{
  width:100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display:block;
}

h2{
  font-size: 36px;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
p{
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: var(--muted2);
}

.small{ font-size: 14px; color: rgba(255,255,255,.65); }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Neuheiten (live via PHP proxy) */
.newsbox{
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  overflow:hidden;
}
.newsbox-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  padding: 22px 22px 14px;
}
.newsbox-head h2{ font-size: 28px; margin:0; }
.newsbox-head p{ margin:0; color: rgba(255,255,255,.72); font-size: 14px; }
.products{
  padding: 0 22px 22px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  overflow:hidden;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.product:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.product img{ width:100%; aspect-ratio: 1 / 1; object-fit: cover; display:block; }
.product .pbody{ padding: 12px 12px 14px; }
.product .brand{ font-size: 12px; color: rgba(255,255,255,.62); margin-bottom: 6px; }
.product .name{ font-weight: 800; font-size: 13px; line-height: 1.35; margin: 0 0 10px; }
.product .meta{ display:flex; justify-content:space-between; gap: 8px; font-size: 12px; color: rgba(255,255,255,.68); }
.product .price{ font-weight: 900; color: rgba(255,255,255,.88); }

.skeleton{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  height: 260px;
  overflow:hidden;
  position:relative;
}
.skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer{
  100%{ transform: translateX(100%); }
}

/* Page */
.page{
  padding: 70px 0 100px;
}
.card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.30);
}
.card h2{ font-size: 22px; margin-top: 22px; }
.card h3{ font-size: 16px; margin: 16px 0 8px; }
.card p, .card li{ color: var(--muted2); font-size: 15px; }
.card hr{ border:0; border-top:1px solid var(--line); margin: 18px 0; }
.card a{ text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
footer{
  padding: 60px 0;
  background: #080c13;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer-links a{
  color: rgba(255,255,255,.75);
  margin-right: 18px;
}
.footer-links a:hover{ color: #fff; }

/* Responsive */
@media (max-width: 1100px){
  .products{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 40px; }
  .subhero h1{ font-size: 34px; }
  section{ padding: 80px 0; }
  .products{ grid-template-columns: repeat(2, 1fr); }
  header{ padding: 10px 0; }
  .menu{ display:none; }
}
@media (max-width: 520px){
  .products{ grid-template-columns: 1fr; }
}
