/* =========================
   SCHWAB — style.css (FULL)
   Dark glass UI + responsive
   ========================= */

:root{
  --bg0:#070809;
  --bg1:#0b0d10;
  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.14);
  --text:#ffffff;
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.55);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 26px;
  --radius2: 18px;
  --radiusImg: 22px; /* col_uri poze */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

/* links */
a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
img{max-width:100%; height:auto; display:block}

/* container */
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* =========================
   TOPBAR
   ========================= */
.topbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  padding: 18px 18px 0 18px;
  pointer-events:none; /* ca sa nu “manânce” click-uri în spate */
}
.topbarInner{
  pointer-events:auto;
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
}

.pill{
  background: rgba(0,0,0,.40);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  padding: 8px;
  display:flex;
  align-items:center;
  gap: 8px;
}

.pill.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  letter-spacing:.2px;
  white-space:nowrap;
}
.pill.nav a.active{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.pill.lang{
  padding: 8px 10px;
  gap: 10px;
}
.pill.lang a{
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing:.6px;
  color: rgba(255,255,255,.9);
}
.pill.lang a.active{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.pill.lang .sep{opacity:.55}

/* page offset because topbar is fixed */
.pageTitle{
  padding-top: 110px;
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing:.2px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: var(--stroke2); }
.btn:active{ transform: translateY(0); }

.btnPrimary{
  background: #ffffff;
  color: #0b0d10;
  border-color: rgba(255,255,255,.75);
}
.btnPrimary:hover{ background:#ffffff; opacity: .96; }

.btnGhost{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

/* =========================
   TYPO
   ========================= */
.h2{
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 0 0 14px 0;
}
.smallMuted{
  color: var(--muted2);
  font-size: 14px;
}

/* =========================
   INDEX — HERO
   ========================= */
.heroWrap{
  padding-top: 110px;
}
.heroCard{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  min-height: 560px; /* ca sa nu fie “mort” */
}

.heroLeft{
  padding: 44px 44px 36px 44px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap: 16px;
}
.heroKicker{
  color: rgba(255,255,255,.55);
  letter-spacing: 6px;
  font-weight: 800;
  font-size: 13px;
}
.heroTitle{
  font-size: clamp(48px, 5.8vw, 92px); /* mai controlat */
  line-height: .98;
  margin: 0;
  letter-spacing: -1.2px;
  font-weight: 950;
}
.heroDesc{
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.35;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
}
.heroActions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.heroRight{
  padding: 36px 36px 36px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.slideBox{
  width: min(650px, 100%);
  border-radius: var(--radius);
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  padding: 18px;
  position: relative;
}
.slideImg{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radiusImg);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

/* dots */
.dots{
  position:absolute;
  left:50%;
  bottom: 14px;
  transform: translateX(-50%);
  display:flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.dot{
  width: 14px; height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}
.dot.active{
  background: rgba(255,255,255,.92);
}

/* HERO BELOW — cards categories */
.heroBelow{
  padding: 26px 0 30px 0;
}
.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.cardTitle{
  font-weight: 900;
  font-size: 16px;
}
.cardSub{
  color: rgba(255,255,255,.65);
  margin-top: 6px;
  font-size: 14px;
}

/* footer */
.footer{
  margin: 26px 0 0 0;
  padding: 18px 0 26px 0;
  color: rgba(255,255,255,.60);
}

/* =========================
   PRODUCTS — TABS + GRID
   ========================= */
.badgeRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 10px 0 18px 0;
  align-items:center;
}

.tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 13px;
  white-space:nowrap;
}
.tab.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 6px 0 26px 0;
}

.pcard{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

.pimg{
  padding: 12px 12px 0 12px;
}
.pimg img{
  width:100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radiusImg);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.pbody{
  padding: 14px 16px 16px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex:1;
}
.ptitle{
  font-weight: 950;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.2px;
}
.meta{
  color: rgba(255,255,255,.75);
  font-weight: 700;
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.pdesc{
  color: rgba(255,255,255,.65);
  line-height: 1.35;
  font-size: 14px;
  flex:1;
}
.pbtn{
  align-self:flex-start;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-weight: 900;
  color: rgba(255,255,255,.92);
}
.pbtn:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

/* =========================
   PRODUCT (single) — detail
   ========================= */
.detail{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:start;
}

.detailImg{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.detailImg img{
  width:100%;
  max-height: 520px;       /* NU mai e imens */
  object-fit: cover;
  border-radius: var(--radiusImg);
  border: 1px solid rgba(255,255,255,.10);
}

.detailBox{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.detailTitle{
  font-weight: 950;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 10px 0;
}
.detailMeta{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 10px;
}
.detailDesc{
  color: rgba(255,255,255,.70);
  line-height: 1.45;
  font-size: 15px;
}
.detailActions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}

/* =========================
   CONTACT — map
   ========================= */
.mapBox{
  margin-top: 16px;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.mapBox iframe{
  width:100%;
  height: 420px;
  border:0;
  display:block;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cards{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .heroGrid{ min-height: 520px; }
}

@media (max-width: 860px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .heroGrid{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .heroRight{ padding: 0 18px 22px 18px; }
  .heroLeft{ padding: 26px 22px 18px 22px; }
  .heroDesc{ font-size: 18px; }
  .detail{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .topbar{ padding: 12px 12px 0 12px; }
  .pageTitle, .heroWrap{ padding-top: 86px; }

  /* nav pill pe mobil: scroll orizontal (nu mai taie “Startseite”) */
  .pill.nav{
    max-width: calc(100vw - 130px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pill.nav::-webkit-scrollbar{ display:none; }
  .pill.nav a{ padding: 10px 14px; font-size: 14px; }

  .pill.lang{ padding: 6px 8px; }
  .pill.lang a{ padding: 9px 12px; }

  .heroTitle{ font-size: clamp(40px, 12vw, 62px); }
  .heroDesc{ font-size: 16px; padding: 14px 14px; }
  .heroActions .btn{ width: 100%; }

  .slideBox{ padding: 12px; }
  .dots{ bottom: 10px; }
  .dot{ width: 12px; height: 12px; }

  .badgeRow{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width:none;
  }
  .badgeRow::-webkit-scrollbar{ display:none; }

  .grid{ grid-template-columns: 1fr; }
  .mapBox iframe{ height: 320px; }
}