/* =========================
   CI TOKENS – LOGO + KONTRAST
========================= */
:root{
  /* Logo-Farben (führend) */
  --gem-navy:#103860;
  --gem-teal:#085068;
  --gem-azure:#0088D0;
  --gem-sky:#A0D8F0;
  --gem-indigo:#A098C8;

  /* Kontrastfarben */
  --accent-sand:#E9E1D3;
  --accent-coral:#E45757;
  --accent-coral-dark:#CC4040;

  /* UI Neutrals (wärmer) */
  --bg:#F6F4F1;
  --surface:#FFFFFF;
  --surface-2:#FBFAF8;
  --border:#E2E0DC;

  /* Text */
  --text:#102433;
  --muted:#5C6B7A;
  --white:#FFFFFF;

  /* Status */
  --success:#2E7D32;
  --warning:#ED6C02;
  --danger:#C62828;
}

/* =========================
   BASE
========================= */
*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:'Segoe UI', Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:var(--bg);
}
img{max-width:100%;height:auto;display:block;}
:focus-visible{outline:3px solid rgba(0,136,208,.45); outline-offset:3px;}

/* =========================
   TOP BAR
========================= */
.top-utility-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 5%;
  background:var(--surface);
  border-bottom:1px solid var(--border);
  font-size:14px;
  gap:15px;
  flex-wrap:wrap;
}
.vorteile-links{
  color:var(--gem-teal);
  font-weight:600;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}
.header-rechts{
  display:flex;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
}
.header-item{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  text-decoration:none;
  color:inherit;
  font-weight:500;
}
.header-item svg{
  width:18px;
  height:18px;
  stroke:var(--gem-navy);
  fill:none;
  stroke-width:1.5;
}

/* =========================
   LOGO
========================= */
.logo-container{
  text-align:center;
  padding:26px 0;
  background:var(--surface);
}
.main-logo{
  max-width:360px;
  height:auto;
  cursor:pointer;
  margin:0 auto;
}

/* =========================
   NAVIGATION
========================= */
.main-nav{
  background:var(--gem-navy);
  display:flex;
  justify-content:center;
  position:sticky;
  top:0;
  z-index:1000;
  flex-wrap:wrap;
  box-shadow:0 8px 20px rgba(0,0,0,.06);

  /* ✅ Korallenstrich unter Navigation */
  border-bottom:4px solid var(--accent-coral);
}
.main-nav a{
  color:var(--white);
  text-decoration:none;
  padding:18px 18px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  transition:.25s;
}
.main-nav a:hover{color:var(--gem-sky);}
.main-nav a.active{color:var(--gem-sky);}

/* =========================
   HERO / SLIDER
========================= */
.hero-slider{
  position:relative;
  width:100%;
  height:540px;
  overflow:hidden;
  background:#333;
}
.slider-track{
  display:flex;
  height:100%;
  transition:transform .8s cubic-bezier(.4,0,.2,1);
}
.slide{
  min-width:100%;
  position:relative;
  background-size:cover;
  background-position:center;
}
.slide-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to right, rgba(16,56,96,.68), rgba(16,56,96,.12));
  display:flex;
  align-items:center;
  padding-left:10%;
}
.slide-content{
  color:var(--white);
  max-width:620px;
}
.slide-content h2{
  font-size:48px;
  margin-bottom:12px;
  text-shadow:2px 2px 10px rgba(0,0,0,.35);
}
.slide-content p{opacity:.92;}

.slider-nav{
  position:absolute;
  top:50%;
  width:100%;
  display:flex;
  justify-content:space-between;
  transform:translateY(-50%);
  padding:0 24px;
  z-index:20;
}
.nav-btn{
  background:rgba(255,255,255,.25);
  color:var(--white);
  border:none;
  width:50px;
  height:50px;
  border-radius:50%;
  cursor:pointer;
  font-size:24px;
  transition:.2s;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(6px);
}
.nav-btn:hover{background:rgba(0,0,0,.25);}

.slider-dots{
  position:absolute;
  bottom:26px;
  width:100%;
  display:flex;
  justify-content:center;
  gap:10px;
  z-index:20;
}
.dot{
  width:12px;
  height:12px;
  background:rgba(255,255,255,.45);
  border-radius:50%;
  cursor:pointer;
  transition:.2s;
  border:none;
}
.dot.active{
  background:var(--accent-coral);
  transform:scale(1.2);
}

/* =========================
   CTA BUTTON
========================= */
.cta-btn{
  display:inline-block;
  background:var(--accent-coral);
  color:var(--white);
  padding:15px 35px;
  text-decoration:none;
  font-weight:900;
  border:none;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.6px;
  transition:.2s;
  box-shadow:0 10px 18px rgba(228,87,87,.25);
}
.cta-btn:hover{background:var(--accent-coral-dark);}

/* =========================
   SECTIONS
========================= */
.container{
  width:90%;
  max-width:1200px;
  margin:70px auto;
}
.section-title{
  text-align:center;
  margin-bottom:46px;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--gem-navy);
}
.section-title::after{
  content:'';
  display:block;
  width:80px;
  height:3px;
  background:linear-gradient(90deg, var(--gem-azure), var(--accent-coral));
  margin:15px auto;
  border-radius:999px;
}

/* =========================
   PRODUCTS
========================= */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}
.product-card{
  border:1px solid var(--border);
  padding:25px;
  text-align:center;
  transition:.25s;
  background:var(--surface);
  border-radius:16px;
}
.product-card:hover{
  border-color:rgba(0,136,208,.45);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  transform:translateY(-2px);
}
.product-img-container{
  height:200px;
  margin-bottom:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:14px;
}
.product-img-container img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.price{
  color:var(--gem-teal);
  font-weight:900;
  margin:10px 0;
}

/* =========================
   NEWS
========================= */
.news-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.news-item{
  position:relative;
  height:400px;
  overflow:hidden;
  cursor:pointer;
  background:#000;
  border-radius:18px;
}
.news-img{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  transition:.8s cubic-bezier(.25,.46,.45,.94);
  opacity:.88;
}
.news-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(16,56,96,.92), transparent 70%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:40px;
  color:var(--white);
}
.news-overlay h3{
  color:var(--gem-sky);
  font-size:26px;
  margin-bottom:10px;
}
.news-overlay p{
  opacity:0;
  transform:translateY(16px);
  transition:.45s ease;
  font-size:15px;
}
.news-item:hover .news-img{transform:scale(1.08);opacity:.72;}
.news-item:hover .news-overlay p{opacity:1;transform:translateY(0);}

/* =========================
   SAND SECTION (Newsletter / CTA)
========================= */
.sand-section{
  background:var(--accent-sand);
  padding:64px 0;
  margin-top:70px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.sand-inner{
  width:90%;
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}
.newsletter-box{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:0;
  flex-wrap:wrap;
  box-shadow:0 12px 24px rgba(0,0,0,.07);
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(16,56,96,.15);
  background:var(--surface);
}
.newsletter-box input{
  padding:15px 16px;
  width:340px;
  border:none;
  outline:none;
  font-size:15px;
}

/* =========================
   DETAIL
========================= */
#detailPage{display:none;}
.specs-table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0;
  font-size:14px;
}
.specs-table td{
  padding:10px;
  border-bottom:1px solid var(--border);
}
.specs-table td:first-child{
  background:var(--surface-2);
  font-weight:bold;
  width:35%;
}

/* =========================
   FOOTER
========================= */
footer{
  background:var(--gem-navy);
  color:var(--white);
  padding:80px 5% 40px;
  border-top:5px solid var(--accent-coral);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:40px;
}
.footer-col h4{
  color:var(--gem-sky);
  margin-bottom:25px;
  text-transform:uppercase;
  font-size:14px;
}
.footer-col ul{list-style:none;}
.footer-col li{
  margin-bottom:12px;
  font-size:14px;
  opacity:.85;
}
.social-btn{
  width:40px;
  height:40px;
  background:rgba(255,255,255,.12);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--white);
  transition:.2s;
  margin-right:10px;
}
.social-btn:hover{background:rgba(0,136,208,.45);}

/* =========================
   CATEGORY TILES (HOME)
========================= */
.category-tiles{
  width:90%;
  max-width:1200px;
  margin:-30px auto 60px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  position:relative;
  z-index:5;
}
.cat-tile{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px 18px 16px;
  text-decoration:none;
  color:var(--text);
  transition:.2s;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
  display:flex;
  gap:14px;
  align-items:center;
}
.cat-tile:hover{
  transform:translateY(-2px);
  border-color:rgba(0,136,208,.45);
  box-shadow:0 16px 34px rgba(0,0,0,.09);
}
.cat-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--gem-sky), var(--accent-sand));
  border:1px solid rgba(16,56,96,.12);
  flex:0 0 auto;
}
.cat-icon svg{
  width:22px;
  height:22px;
  stroke:var(--gem-navy);
  fill:none;
  stroke-width:1.7;
}
.cat-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.cat-title{
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:var(--gem-navy);
  font-size:13px;
}
.cat-sub{
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* =========================
   HOME HIGHLIGHTS
========================= */
.home-highlights{
  width:90%;
  max-width:1200px;
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:1fr;
  gap:34px;
}
.hl-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.hl-head h3{
  margin:0;
  color:var(--gem-navy);
  font-size:18px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.hl-head a{
  color:var(--gem-azure);
  font-weight:800;
  text-decoration:none;
}
.hl-head a:hover{color:var(--gem-teal);}

.hl-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.hl-grid .product-card{padding:18px;}
.hl-grid .product-img-container{height:160px;}

/* =========================
   REDUCE MOTION
========================= */
@media (prefers-reduced-motion: reduce){
  .slider-track, .news-img, .news-overlay p{transition:none !important;}
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1100px){
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .news-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .category-tiles{grid-template-columns:repeat(2, 1fr); margin-top:-18px;}
  .hl-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width:900px){
  .hero-slider{height:420px;}
  .slide-content h2{font-size:34px;}
  .newsletter-box{border-radius:18px;}
  .newsletter-box input{width:100%;}
  .category-tiles{grid-template-columns:1fr; margin-top:18px;}
  .hl-grid{grid-template-columns:1fr;}
}
/* =========================
   TRUST BAR (HOME)
========================= */
.trust-bar{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.trust-inner{
  width:90%;
  max-width:1200px;
  margin:0 auto;
  padding:22px 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  text-align:center;
}
.trust-item{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.trust-title{
  font-weight:900;
  color:var(--gem-navy);
  letter-spacing:.6px;
}
.trust-sub{
  font-size:13px;
  color:var(--muted);
}
@media(max-width:900px){
  .trust-inner{grid-template-columns:1fr 1fr;}
}

/* =========================
   PRODUCT BADGES
========================= */
.product-card{
  position:relative;
}
.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.6px;
  color:#fff;
  border-radius:999px;
  text-transform:uppercase;
  z-index:5;
}
.badge-top{background:var(--accent-coral);}
.badge-new{background:var(--gem-azure);}