/* ---------- Hero (AGENCY STYLE – cinematic cover, centered) ---------- */
header.masthead{
  min-height: clamp(520px, 72vh, 760px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:140px 16px 90px;
  text-align:center;

  background-image:url("/assets/img/hero-tech.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 42%;
  background-color:#0b0f14;

  position:relative;
  overflow:hidden;
}
header.masthead::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  pointer-events:none;
}
header.masthead::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:140px;
  background:linear-gradient(to bottom, rgba(11,15,20,0) 0%, rgba(11,15,20,.65) 55%, rgba(11,15,20,1) 100%);
  pointer-events:none;
}
header.masthead > *{ position:relative; z-index:1; }

@media (max-width:768px){
  header.masthead{
    min-height:520px;
    padding:120px 14px 70px;
    background-position:center 38%;
  }
  header.masthead::after{ height:110px; }
}


/* ==================================================
   Project NoX – styles.css (FINAL CLEAN FULL)
   ================================================== */

/* ---------- Base ---------- */
html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: "Inter","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  background:#0b0f14;
  color:#fff;
}

/* Anchor offset (fixed navbar) */
section[id]{
  scroll-margin-top:90px;
}

/* ---------- Navbar ---------- */
.navbar{
  background:#0b0f14;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.navbar a{ color:#fff; }
.navbar a:hover{ color:#d2aa25; }

/* ---------- Hero (AGENCY STYLE – wie Demo) ---------- */
/* Overlay – identisch zur Demo-Logik */
header.masthead::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  pointer-events:none;
}

/* Sanfter Auslauf nach unten */
header.masthead::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:140px;
  background: linear-gradient(
    to bottom,
    rgba(11,15,20,0) 0%,
    rgba(11,15,20,.65) 55%,
    rgba(11,15,20,1) 100%
  );
  pointer-events:none;
}

/* Content über Overlay */
header.masthead > *{
  position: relative;
  z-index: 1;
}



/* ==================================================
   STATS / FACTS (NEW)
   ================================================== */

.stats{
  padding:30px 0 10px;
}

.stats-wrap{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:18px;
}

.stat{
  text-align:center;
  padding:14px 10px;
  border-right:1px solid rgba(255,255,255,.08);
  opacity:.85;
  transform:translateY(6px);
  transition:opacity .35s ease, transform .35s ease;
}

.stat:last-child{
  border-right:0;
}

.stats.is-visible .stat{
  opacity:1;
  transform:translateY(0);
}

.stat-icon{
  font-size:22px;
  opacity:.92;
  margin-bottom:8px;
  color:#d2aa25; /* Gold Accent */
}

.stat-value{
  font-size:34px;
  font-weight:900;
  letter-spacing:.5px;
  line-height:1;
}

.stat-value-static{
  font-size:30px;
  font-weight:900;
  letter-spacing:.3px;
}

.stat-label{
  margin-top:8px;
  font-size:13px;
  color:rgba(255,255,255,.70);
}

/* ==================================================
   SERVICES / PORTFOLIO (Cards)
   ================================================== */

#portfolio{
  background:#0b0f14;
  padding:70px 0 50px;
}

#portfolio .section-heading{ color:#fff; }
#portfolio .section-subheading{ color:rgba(255,255,255,.65); }

/* Card */
.svc-card{
  position:relative;
  display:block;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.45);
  transition:transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.6);
}

/* Image */
.svc-img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:transform .25s ease, filter .25s ease;
}
.svc-card:hover .svc-img{
  transform:scale(1.05);
  filter:brightness(.7);
}

/* Overlay */
.svc-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:16px;
  background:linear-gradient(
    to top,
    rgba(5,8,12,.92),
    rgba(5,8,12,.55),
    transparent
  );
}

.svc-title{
  font-size:15px;
  font-weight:800;
}
.svc-sub{
  font-size:12px;
  color:rgba(255,255,255,.7);
}

/* Hover details */
.svc-more{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(6px);
  transition:all .25s ease;
}
.svc-card:hover .svc-more{
  max-height:220px;
  opacity:1;
  transform:translateY(0);
  margin-top:10px;
}

.svc-list{
  padding-left:16px;
  margin:0 0 12px;
  font-size:12px;
  color:#ddd;
}

.svc-btn{
  display:inline-block;
  padding:8px 14px;
  border-radius:6px;
  background:#b9911b;
  color:#fff;
  font-weight:700;
  font-size:12px;
}
.svc-btn:hover{ background:#d2aa25; }

/* ==================================================
   ABOUT – Focus List (Variante B)
   ================================================== */

.about-wrap{ max-width:1150px; }

.about-grid{
  display:grid;
  grid-template-columns:1.1fr 1.2fr;
  gap:32px;
  align-items:start;
}

/* Left */
.about-title{
  letter-spacing:.08em;
  margin-bottom:10px;
}
.about-lead{
  color:rgba(255,255,255,.75);
  margin-bottom:18px;
}
.about-text{
  color:rgba(255,255,255,.85);
  line-height:1.65;
}
.about-points{
  margin:18px 0 0;
  padding-left:18px;
  color:rgba(255,255,255,.8);
}
.about-points li{ margin-bottom:6px; }

/* Right nav */
.about-nav{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  overflow:hidden;
}

/* ==================================================
   CORE TEAM, CONTACT, FOOTER
   (unverändert – wie bei dir)
   ================================================== */

/* ==================================================
   RESPONSIVE – STATS
   ================================================== */

@media (max-width:992px){
  .stats-wrap{ grid-template-columns:repeat(3, 1fr); }
  .stat{ border-right:0; border-bottom:1px solid rgba(255,255,255,.08); }
  .stat:nth-last-child(-n+3){ border-bottom:0; }
}

@media (max-width:640px){
  .stats-wrap{ grid-template-columns:repeat(2, 1fr); }
  .stat:nth-last-child(-n+2){ border-bottom:0; }
}

@media (max-width:420px){
  .stats-wrap{ grid-template-columns:1fr; }
  .stat{ border-bottom:1px solid rgba(255,255,255,.08); }
  .stat:last-child{ border-bottom:0; }
}


.hero-buttons{
  margin-top: 26px;
}


@media (max-width:768px){
  header.masthead{
    min-height: 520px;
    padding:120px 14px 70px;
    background-position: center 38%;
  }
  header.masthead::after{
    height:110px;
  }
}

/* ==================================================
   FIX PACK – About Tags / Core Team Images / Contact Form / Stats Layout
   (Overrides – safe to append)
   ================================================== */

/* STATS: wieder als horizontale Leiste/Karte (nicht untereinander) */
.stats, .stats-bar, .stats-panel, .nox-stats{
  width: 100%;
}
.stats .stats-grid,
.stats-bar .stats-grid,
.stats-panel .stats-grid,
.nox-stats .stats-grid,
.stats-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 22px;
  overflow: hidden;
  filter: brightness(1.05) contrast(1.08) saturate(1.05);
}
.stats .stat,
.stats-bar .stat,
.stats-panel .stat,
.nox-stats .stat,
.stats-grid .stat,
.stat-item{
  padding: 18px 14px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 8px;
}
.stats .stat:not(:last-child),
.stats-grid .stat:not(:last-child),
.stat-item:not(:last-child){
  border-right: 1px solid rgba(255,255,255,.10);
}
.stats .stat .icon,
.stats-grid .stat .icon,
.stat-item .icon,
.stat i{
  font-size: 18px;
  opacity: .9;
}
.stats .stat .value,
.stats-grid .stat .value,
.stat-item .value{
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.stats .stat .label,
.stats-grid .stat .label,
.stat-item .label{
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

/* Responsive Stats */
@media (max-width: 992px){
  .stats-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid .stat:nth-child(2n){
    border-right: none;
  }
  .stats-grid .stat{
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .stats-grid .stat:nth-last-child(-n+2){
    border-bottom: none;
  }
}
@media (max-width: 520px){
  .stats-grid{
    grid-template-columns: 1fr;
  }
  .stats-grid .stat{
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .stats-grid .stat:last-child{
    border-bottom: none;
  }
}

/* ABOUT: pill/tags sauber statt weißer Buttons */
.about-tags, .about-pills, .tag-row, .chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.about-tags button,
.about-tags .tag,
.about-tags .pill,
.about-pills .pill,
.tag-row .pill,
.chip-row .pill{
  appearance:none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  box-shadow: none;
}

/* CORE TEAM: Bilder nicht mehr riesig/geschnitten */
.team-grid, .core-team-grid, .team-cards{
  display:grid;
  gap: 22px;
}
.team-card, .core-team-card, .member-card{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.team-card img,
.core-team-card img,
.member-card img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
}

/* Falls es einen separaten Bild-Wrapper gibt */
.team-img, .team-image, .member-image, .team-media{
  height: 240px;
  overflow:hidden;
  background: rgba(0,0,0,.35);
}
.team-img img, .team-image img, .member-image img, .team-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
}

/* CONTACT: Inputs wieder „premium“ + Button styled */
#contact select,
#contact input,
#contact textarea,
.contact-section select,
.contact-section input,
.contact-section textarea{
  width:100%;
  max-width: 900px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.90);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

#contact textarea,
.contact-section textarea{
  min-height: 180px;
  resize: vertical;
}

#contact select:focus,
#contact input:focus,
#contact textarea:focus,
.contact-section select:focus,
.contact-section input:focus,
.contact-section textarea:focus{
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 3px rgba(255,193,7,.08);
}

#contact ::placeholder,
.contact-section ::placeholder{
  color: rgba(255,255,255,.45);
}

/* Send button */
#contact button,
#contact .btn-send,
#contact .btn-submit,
.contact-section button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,193,7,.92);
  color: #101418;
  font-weight: 600;
}
#contact button:hover,
#contact .btn-send:hover,
#contact .btn-submit:hover,
.contact-section button:hover{
  background: rgba(255,193,7,1);
}

/* Quicklinks / Social in Kontakt */
.quicklinks, .contact-quicklinks, .social-links{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.quicklinks a, .contact-quicklinks a, .social-links a{
  color: rgba(255,255,255,.80);
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  padding: 8px 12px;
  border-radius: 999px;
}
.quicklinks a:hover, .contact-quicklinks a:hover, .social-links a:hover{
  border-color: rgba(255,255,255,.26);
  color: rgba(255,255,255,.92);
}

@media (max-width:768px){
  .team-img, .team-image, .member-image, .team-media{ height: 200px; }
}

/* ==================================================
   v5 Overrides – Fix About Tabs + Contact Layout + Stats visibility
   ================================================== */

.about-nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-start;padding:10px 0 4px;}
.about-nav .about-tab{appearance:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:rgba(255,255,255,.88);padding:8px 12px;border-radius:999px;font-size:14px;line-height:1.1;box-shadow:none;cursor:pointer;}
.about-nav .about-tab:hover{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.08);}
.about-nav .about-tab.is-active{border-color:rgba(255,193,7,.55);background:rgba(255,193,7,.14);color:rgba(255,255,255,.95);}

.contact-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:start;}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;}

#contact .contact-input,.contact-form .contact-input{width:100%;max-width:none !important;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.90);border-radius:16px;padding:14px 16px;outline:none;}
#contact .contact-input:focus,.contact-form .contact-input:focus{border-color:rgba(255,255,255,.28);box-shadow:0 0 0 3px rgba(255,193,7,.08);}

#contact #contactPerson,#contact input[name="phone"],#contact textarea,#contact .contact-btn{grid-column:1/-1;}
#contact textarea.contact-input{min-height:220px;resize:vertical;}

#contact .contact-btn{justify-self:end;width:auto;min-width:140px;padding:12px 18px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,193,7,.95);color:#101418;font-weight:700;}

.contact-aside .contact-card{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);border-radius:20px;padding:18px;}
.contact-socials{display:flex;flex-wrap:wrap;gap:10px;}
.contact-socials .social-btn{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);color:rgba(255,255,255,.85);padding:10px 12px;border-radius:999px;text-decoration:none;}
.contact-socials .social-btn:hover{border-color:rgba(255,255,255,.26);color:rgba(255,255,255,.95);}

#stats .stats-card{padding:10px 0 0;}
#stats .stats-grid{margin-top:10px;}

@media (max-width:992px){
  .contact-grid{grid-template-columns:1fr;}
  .contact-form{grid-template-columns:1fr;}
  #contact .contact-btn{justify-self:stretch;width:100%;}
}

/* ---------- Stats (Facts) ---------- */
#stats{ padding-top: 24px; padding-bottom: 24px; }
#stats .stats-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:14px;

  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
}
#stats .stat{
  text-align:center;
  padding:14px 10px;
  border-right:1px solid rgba(255,255,255,.08);
}
#stats .stat:last-child{ border-right:0; }
#stats .stat-icon{
  font-size:22px;
  opacity:.92;
  margin-bottom:8px;
  color:#d2aa25;
}
#stats .stat-value, #stats .stat-value-static{
  font-size:34px;
  font-weight:900;
  letter-spacing:.5px;
  line-height:1;
}
#stats .stat-label{
  margin-top:8px;
  font-size:13px;
  color:rgba(255,255,255,.70);
}
@media (max-width:992px){
  #stats .stats-wrap{ grid-template-columns:repeat(3, 1fr); }
  #stats .stat{ border-right:0; border-bottom:1px solid rgba(255,255,255,.08); }
  #stats .stat:nth-last-child(-n+3){ border-bottom:0; }
}
@media (max-width:640px){
  #stats .stats-wrap{ grid-template-columns:repeat(2, 1fr); }
  #stats .stat:nth-last-child(-n+2){ border-bottom:0; }
}
@media (max-width:420px){
  #stats .stats-wrap{ grid-template-columns:1fr; }
  #stats .stat{ border-bottom:1px solid rgba(255,255,255,.08); }
  #stats .stat:last-child{ border-bottom:0; }
}


/* ---------- About (Tabs) ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1.1fr 1.2fr;
  gap:32px;
  align-items:start;
}
@media (max-width:992px){
  .about-grid{ grid-template-columns:1fr; }
}
.about-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:14px;
}
.about-tab{
  width:auto;
  text-align:left;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.88);
  font-weight:800;
  cursor:pointer;
}
.about-tab:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.28); color:#fff; }
.about-tab.is-active{ border-color:rgba(255,193,7,.55); background:rgba(255,193,7,.14); color:#fff; }

.about-panels{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:16px;
}
.about-panel{ display:none; }
.about-panel.is-active{ display:block; }
.about-panel p{ margin:0; color:rgba(255,255,255,.82); line-height:1.6; }


/* ---------- Contact (Stable Layout) ---------- */
#contact .contact-inner{
  max-width:980px;
  margin:0 auto;
  padding:0 16px;
}
#contact .contact-grid{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap:16px;
  align-items:start;
}
#contact .contact-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
#contact .contact-input{
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  border-radius:14px;
  font-size:13.5px;
  line-height:1.2;
  padding:12px 14px;
  outline:none;
}
#contact .contact-input:focus{
  border-color:rgba(255,255,255,.26);
  background:rgba(255,255,255,.06);
}
#contact textarea.contact-input{
  grid-column: 1 / -1;
  min-height:180px;
  resize:vertical;
}
#contact select.contact-input{ grid-column: 1 / -1; }
#contact .contact-btn{
  grid-column: 1 / -1;
  justify-self:end;
  padding:10px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,193,7,.92);
  color:#101418;
  font-weight:800;
}
#contact .contact-btn:hover{ background:rgba(255,193,7,1); }
#contact .contact-aside{ display:grid; gap:14px; }
#contact .contact-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:12px;
  box-shadow:0 14px 34px rgba(0,0,0,.35);
}
#contact .contact-socials{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
#contact .social-btn{
  display:flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
}
#contact .social-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.26);
}
#contact .social-btn.disabled{ opacity:.55; pointer-events:none; }
#contact .social-wide{ grid-column: 1 / -1; justify-content:center; }

@media (max-width:980px){
  #contact .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  #contact .contact-socials{ grid-template-columns:1fr; }
  #contact .social-btn{ height:40px; }
}

/* ==========================================================
   Project NoX – Option A (Stable base + targeted improvements)
   - Keep original CSS (styles-old.css) as foundation
   - Add/override only what we need for the new layout
   ========================================================== */

/* --- HERO (Agency-like, cinematic, no blur/filters) --- */
header.masthead {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: clamp(420px, 58vh, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 92px;
  background-image: url("../assets/img/hero-tech.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
header.masthead::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.08) 0%, rgba(0,0,0,.24) 70%, rgba(0,0,0,.38) 100%);
  pointer-events:none;
}
header.masthead::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(20,24,28,.30), rgba(28,32,36,.58));
  pointer-events:none;
}
.hero-buttons{
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  transform: translateY(24px); /* push buttons a bit further down */
}
@media (max-width: 576px){
  header.masthead{ padding-bottom: 72px; }
  .hero-buttons{ flex-direction: column; gap: 10px; transform: translateY(18px); }
  .hero-buttons .btn{ width: min(320px, 90vw); }
}

/* --- Soft divider between hero and next section --- */
.section-divider{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.08), rgba(255,255,255,0));
}

/* --- STATS (above Core Team) --- */
.stats{
  position: relative;
  background: transparent;
  padding: 18px 16px 10px;
}
.stats-wrap{
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(15,18,22,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.stat{
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child{ border-right: none; }
.stat-icon{
  font-size: 18px;
  line-height: 1;
  opacity: .95;
  margin-bottom: 6px;
}
.stat-value{
  font-weight: 800;
  font-size: 28px;
  letter-spacing: .4px;
  line-height: 1.1;
}
.stat-label{
  opacity: .85;
  font-size: 12px;
  margin-top: 4px;
}
.stat-value-stati{ font-size: 24px; letter-spacing: .6px; } /* for 2025 */
@media (max-width: 992px){
  .stats-wrap{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .stat:nth-child(3){ border-right: none; }
}
@media (max-width: 576px){
  .stats-wrap{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat{ border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat:nth-last-child(-n+2){ border-bottom: none; }
}

/* --- ABOUT: tabs slightly lower + more breathing room --- */
.about-right{ padding-top: 12px; }
.about-nav{ margin-top: 14px; }
.about-tab{
  padding: 10px 14px;
  border-radius: 999px;
}
.about-panels{
  margin-top: 12px;
}
.about-panel{
  padding: 14px 16px;
  line-height: 1.55;
}

/* --- CORE TEAM: compact, centered, synchronized cards --- */
.team-card{
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: rgba(15,18,22,.55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  height: 100%;
}
.team-avatar{
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.team-avatar img{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}
.team-name{
  text-align: center;
  margin: 4px 0 6px;
}
.team-role{
  text-align: center;
  margin: 0 0 10px;
  opacity: .9;
}
.team-badges{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.team-links{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.tlink{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
}

/* --- CONTACT: smaller, elegant, 2-column socials + clear BG image --- */
section.contact{
  position: relative;
  background-image: url("../assets/bg/contact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
section.contact::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.62);
  pointer-events:none;
}
.contact-inner{ position: relative; z-index: 1; max-width: 1100px; }
.contact-grid{
  gap: 18px;
}
.contact-form{
  background: rgba(15,18,22,.60);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 16px;
}
.contact-input{
  border-radius: 14px;
}
.contact-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  border-radius: 14px;
  margin: 14px auto 0;
}
.contact-aside .contact-card{
  background: rgba(15,18,22,.60);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
}
.contact-socials{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.social-wide{ grid-column: 1 / -1; } /* Standort full width */
.social-btn{
  border-radius: 14px;
}
@media (max-width: 992px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-btn{ width: 100%; }
}

/* --- FOOTER: cleaner, icons, matching palette --- */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(15,18,22,.75) !important;
}
.footer a{
  color: rgba(255,255,255,.80);
  text-decoration: none;
}
.footer a:hover{ color: rgba(255,255,255,.95); text-decoration: underline; }
.footer .footer-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px;
}

.about-mini{ margin: 10px 0 0; padding-left: 18px; opacity:.95; }
.about-mini li{ margin: 4px 0; }


/* =========================================================
   NOX FEINSCHLIFF (FINAL) – Hero / Core Team / Kontakt
   Diese Regeln stehen bewusst GANZ AM ENDE und gewinnen.
   ========================================================= */

/* ---------- HERO: Buttons tiefer + immer klickbar ---------- */
.masthead { position: relative; }
.masthead::before,
.masthead::after,
.masthead .overlay,
.masthead .hero-overlay {
  pointer-events: none !important;
}

.masthead .hero-buttons{
  position: relative;
  z-index: 50;
  margin-top: clamp(18px, 3.5vw, 46px) !important;
}

/* Falls irgendwer über den Buttons liegt */
.masthead * { pointer-events: auto; }
.masthead::before,
.masthead::after { pointer-events: none !important; }

/* ---------- CORE TEAM: Karten kompakter & synchron ---------- */
#core-team .team-card{
  padding: 22px 22px 18px !important;
  border-radius: 22px !important;
  max-width: 360px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#core-team .team-avatar{
  width: 132px !important;
  height: 132px !important;
  margin: 10px auto 14px !important;
  border-radius: 50% !important;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}

#core-team .team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  filter: none;
}

#core-team .team-name{
  text-align: center !important;
  margin: 0 0 6px !important;
  font-size: 1.35rem !important;
}

#core-team .team-role{
  text-align: center !important;
  opacity: .9;
  margin: 0 0 12px !important;
  font-size: .88rem !important;
}

#core-team .team-desc{
  text-align: center;
  margin: 0 0 12px !important;
  font-size: .92rem !important;
  line-height: 1.35 !important;
  opacity: .92;
}



#core-team .team-badges{
display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 14px !important;
  margin: 10px 0 10px !important;
}

#core-team .team-badges .tbadge{
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: .82rem !important;
}

#core-team .btn.btn-outline-light{
  padding: 10px 14px !important;
  border-radius: 12px !important;
}

#core-team .team-links{
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

#core-team .team-links .tlink{
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* ---------- KONTAKT: kompakter + Schnellkontakt 2er Reihen ---------- */
#contact .contact-inner{
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

#contact .contact-grid{
  gap: 18px !important;
}

#contact .contact-form{
  padding: 18px !important;
  border-radius: 22px !important;
}

#contact .contact-input{
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-size: .95rem !important;
}

#contact textarea.contact-input{
  min-height: 140px !important;
}

#contact .contact-btn{
  margin-top: 10px !important;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  min-width: 180px;
}

/* Schnellkontakt als echtes Grid mit 2 Spalten */
#contact .contact-socials{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

/* Falls wide-Klassen existieren: NICHT mehr full width */
#contact .contact-socials .social-wide{
  grid-column: auto !important;
}

/* Buttons gleich hoch und zentriert */
#contact .contact-socials .social-btn{
  width: 100% !important;
  justify-content: center !important;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  min-height: 44px;
}

#contact .contact-card{
  padding: 16px !important;
  border-radius: 22px !important;
}



/* Core Team – kompakte Aufgabenzeilen */
#core-team .team-desc{
  text-align: center;
  margin: 0 0 12px !important;
  font-size: .92rem !important;
  line-height: 1.35 !important;
  opacity: .92;
}

/* Core Team – Actions nach unten ziehen */
#core-team .team-actions{
  margin-top: auto;
}


/* ================================
   NOX CORE TEAM – MICRO TUNING (FINAL)
   ================================ */

#core-team .team-role {
  margin-bottom: 10px;
}

#core-team .team-desc,
#core-team .team-description,
#core-team .team-text {
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 12px;
}

#core-team .team-card {
  display: flex;
  flex-direction: column;
}

#core-team .team-card .btn {
  margin-top: auto;
}

#core-team .team-badges {
  margin-top: 10px;
  gap: 6px;
}

#core-team .team-links {
  margin-top: 8px;
}


/* ================================
   NOX PORTAL – /portal (Landing)
   ================================ */
.portal-page{
  min-height: 100vh;
  background: #0b0f14;
  color: #fff;
}
.portal-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 120px 16px 70px;
}
.portal-head{
  text-align:center;
  margin-bottom: 18px;
}
.portal-head h1{
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: .04em;
  margin: 0 0 10px;
}
.portal-head p{
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}
.portal-card{
  margin: 22px auto 0;
  max-width: 520px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.portal-form{
  display:grid;
  gap: 12px;
}
.portal-input{
  width:100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
.portal-input:focus{
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 0 0 3px rgba(255,193,7,.08);
}
.portal-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 6px;
}
.portal-note{
  margin-top: 12px;
  text-align:center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}
.portal-note a{
  color: rgba(255,255,255,.9);
  text-decoration:none;
  border-bottom: 1px dashed rgba(255,255,255,.35);
}
.portal-note a:hover{
  color: #fff;
  border-bottom-color: rgba(255,255,255,.55);
}
.portal-back{
  margin-top: 18px;
  text-align:center;
}
.portal-back a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
}
.portal-back a:hover{ color:#fff; text-decoration:underline; }

/* --- COOKIE BANNER (NoX, bottom, slim) --- */
.nox-cookie{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:9999;
  display:none;
  background:rgba(10,16,24,.94);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.38);
  backdrop-filter:blur(10px);
  color:#eaf2ff;
}
.nox-cookie.is-visible{ display:block; }
.nox-cookie__inner{
  padding:18px 20px 16px;
}
.nox-cookie__top{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
}
.nox-cookie__title{
  margin:0 0 8px;
  font-size:1.05rem;
  font-weight:700;
  color:#fff;
}
.nox-cookie__text{
  margin:0;
  color:rgba(234,242,255,.84);
  line-height:1.55;
  font-size:.96rem;
}
.nox-cookie__text a{
  color:#8ec5ff;
  text-decoration:none;
}
.nox-cookie__text a:hover{ text-decoration:underline; }
.nox-cookie__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nox-cookie__btn{
  min-width:150px;
  border-radius:999px;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  color:#eaf2ff;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}
.nox-cookie__btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.32);
  background:rgba(255,255,255,.05);
}
.nox-cookie__btn--primary{
  background:#f4bf12;
  color:#0f141b;
  border-color:#f4bf12;
}
.nox-cookie__btn--primary:hover{
  background:#ffd247;
  border-color:#ffd247;
}
.nox-cookie__panel{
  display:none;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
}
.nox-cookie__panel.is-open{ display:block; }
.nox-cookie__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.nox-cookie__card{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px 14px;
}
.nox-cookie__card h4{
  margin:0 0 6px;
  font-size:.95rem;
  color:#fff;
}
.nox-cookie__card p{
  margin:0;
  font-size:.88rem;
  color:rgba(234,242,255,.76);
  line-height:1.45;
}
.nox-cookie__switch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  font-size:.88rem;
  color:#fff;
}
.nox-cookie__switch input{ transform:scale(1.05); }
.nox-cookie__panel-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:12px;
}
@media (max-width: 992px){
  .nox-cookie__top{ grid-template-columns:1fr; }
  .nox-cookie__actions{ justify-content:flex-start; }
  .nox-cookie__grid{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .nox-cookie{
    left:10px;
    right:10px;
    bottom:10px;
    border-radius:16px;
  }
  .nox-cookie__inner{ padding:14px; }
  .nox-cookie__btn{
    min-width:0;
    width:100%;
  }
  .nox-cookie__actions{ flex-direction:column; }
}

/* --- NAVBAR GLASS EFFECT --- */
#mainNav{
  background: rgba(17,23,32,.68) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

#mainNav .navbar-brand,
#mainNav .nav-link{
  text-shadow: 0 1px 10px rgba(0,0,0,.18);
}

#mainNav .btn.btn-outline-light{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.24);
}

#mainNav .btn.btn-outline-light:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.38);
}

/* =========================================
   HERO OVERLAY (better contrast)
========================================= */

header.masthead{
  position:relative;
}

header.masthead::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(10,15,20,.55),
    rgba(10,15,20,.35)
  );
  z-index:1;
}

header.masthead > *{
  position:relative;
  z-index:2;
}


/* =========================================
   BUTTON POLISH
========================================= */

.btn-warning{
  box-shadow:0 8px 25px rgba(255,193,7,.35);
  transition:all .25s ease;
}

.btn-warning:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(255,193,7,.45);
}


/* =========================================
   NAVBAR SCROLL EFFECT
========================================= */

#mainNav.scrolled{
  background:rgba(10,15,20,.92) !important;
  box-shadow:0 10px 35px rgba(0,0,0,.35);
}


/* =========================================
   SERVICES SUBLINE GLOW
========================================= */

.section-subheading{
  color:#cdd6e5;
  text-shadow:
    0 0 8px rgba(120,170,255,.25),
    0 2px 12px rgba(0,0,0,.45);
}


/* =========================================
   SERVICES SUBLINE GLOW
========================================= */

.section-subheading{
  color:#cdd6e5;
  text-shadow:
    0 0 8px rgba(120,170,255,.25),
    0 2px 12px rgba(0,0,0,.45);
}


/* =========================================
   PORTFOLIO / SERVICES SECTION POLISH v2
========================================= */

#portfolio{
  position: relative;
  margin-top: -18px;
  padding: 84px 0 58px;
  background:
    linear-gradient(to bottom, rgba(8,12,18,.00) 0px, rgba(11,15,20,.46) 42px, #0b0f14 110px),
    #0b0f14;
}

#portfolio::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:92px;
  pointer-events:none;
  background:
    radial-gradient(ellipse at center top, rgba(70,130,220,.08) 0%, rgba(70,130,220,0) 68%),
    linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,0));
}

#portfolio .container > .text-center{
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto 20px;
}

#portfolio .section-heading{
  color:#f4f7fb;
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(120,170,255,.10),
    0 2px 18px rgba(0,0,0,.35);
}

#portfolio .section-subheading{
  max-width: 900px;
  margin: 4px auto 0;
  color: rgba(220,230,244,.90) !important;
  font-size: 1rem;
  line-height: 1.65;
  text-shadow:
    0 0 10px rgba(120,170,255,.28),
    0 2px 14px rgba(0,0,0,.46);
}

#portfolio .row.g-4.mt-4{
  margin-top: 16px !important;
}

@media (max-width: 768px){
  #portfolio{
    margin-top: -10px;
    padding: 72px 0 46px;
  }

  #portfolio .section-heading{
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  #portfolio .section-subheading{
    font-size: .96rem;
    line-height: 1.58;
    padding: 0 10px;
  }
}



/* ==================================================
   SERVICE CARDS – PREMIUM HOVER (Project NoX)
   ================================================== */

.svc-card{
  border:1px solid rgba(255,255,255,.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.svc-card:hover{

  transform: translateY(-6px);

  border-color: rgba(110,170,255,.35);

  box-shadow:
    0 20px 45px rgba(0,0,0,.65),
    0 0 22px rgba(110,170,255,.12);
}


/* Image Zoom refinement */

.svc-card:hover .svc-img{
  transform: scale(1.08);
  filter: brightness(.72);
}


/* Overlay text clarity */

.svc-title{
  letter-spacing:.02em;
}

.svc-sub{
  opacity:.92;
}


/* CTA Button polish */

.svc-btn{
  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}

.svc-card:hover .svc-btn{

  background:#f4bf12;

  box-shadow:
    0 0 14px rgba(244,191,18,.35),
    0 4px 14px rgba(0,0,0,.35);

  transform: translateY(-1px);

}


/* subtle glow on card focus */

.svc-card:focus-within{

  border-color: rgba(120,170,255,.45);

  box-shadow:
    0 0 24px rgba(120,170,255,.15),
    0 18px 40px rgba(0,0,0,.65);

}


/* ==================================================
   SERVICE CARDS – FINAL MICRO FIX
   ================================================== */

.svc-title{
  color:#4da3ff;
}

.svc-list li{
  color:rgba(255,255,255,.88);
}

.svc-card:hover .svc-title{
  text-shadow:0 0 8px rgba(80,160,255,.45);
}


/* ==================================================
   ABOUT SECTION – FINAL POLISH
   ================================================== */

#about{
  position: relative;
  padding-top: 74px;
  padding-bottom: 36px;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(90,140,220,.06), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,.015), rgba(255,255,255,0)),
    #1f242b;
}

.about-wrap{
  max-width: 1120px;
}

.about-grid{
  gap: 42px;
  align-items: start;
}

.about-left{
  padding-top: 8px;
}

.about-title{
  margin-bottom: 10px;
  letter-spacing: .04em;
  text-shadow:
    0 0 10px rgba(120,170,255,.08),
    0 2px 16px rgba(0,0,0,.18);
}

.about-lead{
  color: rgba(236,242,250,.92);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

.about-text{
  color: rgba(232,238,246,.88);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 16px;
}

.about-points{
  margin: 0;
  padding-left: 18px;
}

.about-points li{
  color: rgba(232,238,246,.86);
  margin-bottom: 8px;
}

.about-right{
  position: relative;
}

.about-nav{
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.about-tab{
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(240,245,252,.88);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.1;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.about-tab:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.065);
  color: #fff;
}

.about-tab.is-active{
  border-color: rgba(255,193,7,.55);
  background: linear-gradient(180deg, rgba(255,193,7,.18), rgba(255,193,7,.10));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,193,7,.10) inset,
    0 0 14px rgba(255,193,7,.08);
}

.about-panels{
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    rgba(10,14,20,.34);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow:
    0 16px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.about-panel p{
  color: rgba(238,243,250,.92);
  line-height: 1.75;
  margin-bottom: 10px;
}

.about-panel strong{
  color: #ffffff;
}

.about-mini{
  margin: 0;
  padding-left: 18px;
}

.about-mini li{
  color: rgba(230,236,244,.86);
  margin-bottom: 8px;
  line-height: 1.7;
}

.stats{
  padding-top: 14px;
  padding-bottom: 26px;
}

.stats-wrap{
  box-shadow:
    0 18px 40px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.02);
}

@media (max-width: 992px){
  #about{
    padding-top: 64px;
    padding-bottom: 28px;
  }

  .about-grid{
    gap: 24px;
  }

  .about-left{
    padding-top: 0;
  }

  .about-panels{
    padding: 18px 18px;
  }
}


/* ==================================================
   STATS – GRID FIX FOR 6 ITEMS
   ================================================== */

.stats-wrap{
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 18px 14px !important;
}

.stat{
  min-width: 0;
  padding: 14px 8px !important;
}

.stat-value,
.stat-value-static{
  font-size: 30px !important;
}

.stat-label{
  font-size: 12.5px !important;
}

@media (max-width: 1200px){
  .stats-wrap{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
  .stat{
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .stat:nth-last-child(-n+3){
    border-bottom: 0 !important;
  }
}

@media (max-width: 640px){
  .stats-wrap{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .stat:nth-last-child(-n+2){
    border-bottom: 0 !important;
  }
}

@media (max-width: 420px){
  .stats-wrap{
    grid-template-columns: 1fr !important;
  }
  .stat{
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
  .stat:last-child{
    border-bottom: 0 !important;
  }
}


/* ==================================================
   PROJECT NOX – STATS FINAL UI POLISH
   ================================================== */

.stats-wrap{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(6,10,16,.85);

  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.03);

  backdrop-filter: blur(6px);
}

/* hover lift */

.stat{
  transition:
    transform .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.stat:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.02);
}

/* icon glow */

.stat-icon{
  transition:
    transform .2s ease,
    text-shadow .2s ease,
    color .2s ease;
}

.stat:hover .stat-icon{
  transform: scale(1.12);
  text-shadow: 0 0 14px rgba(255,200,60,.35);
}

/* number polish */

.stat-value,
.stat-value-static{
  text-shadow:
    0 2px 14px rgba(0,0,0,.35);
}

/* label readability */

.stat-label{
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}


/* ==================================================
   PROJECT NOX – STATS MICRO ANIMATION
   ================================================== */

.stats-wrap .stat{
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
}

.stats.is-visible .stat{
  animation: noxStatFadeUp .62s ease forwards;
}

.stats.is-visible .stat:nth-child(1){ animation-delay: .02s; }
.stats.is-visible .stat:nth-child(2){ animation-delay: .08s; }
.stats.is-visible .stat:nth-child(3){ animation-delay: .14s; }
.stats.is-visible .stat:nth-child(4){ animation-delay: .20s; }
.stats.is-visible .stat:nth-child(5){ animation-delay: .26s; }
.stats.is-visible .stat:nth-child(6){ animation-delay: .32s; }

@keyframes noxStatFadeUp{
  from{
    opacity: 0;
    transform: translateY(10px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .stats-wrap .stat,
  .stats.is-visible .stat{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ==================================================
   PROJECT NOX – CORE TEAM PREMIUM UI
   ================================================== */

#core-team{
  position: relative;
  padding-top: 68px;
  padding-bottom: 76px;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(90,140,220,.05), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,.01), rgba(255,255,255,0)),
    #1d232a;
}

#core-team .section-heading{
  text-shadow:
    0 0 10px rgba(120,170,255,.08),
    0 2px 16px rgba(0,0,0,.18);
}

.team-card{
  position: relative;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    rgba(7,12,18,.82);
  box-shadow:
    0 18px 42px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.025);
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
  overflow: hidden;
}

.team-card:hover{
  transform: translateY(-6px);
  border-color: rgba(110,170,255,.22);
  box-shadow:
    0 24px 54px rgba(0,0,0,.38),
    0 0 24px rgba(110,170,255,.10),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.team-card::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:110px;
  background:
    radial-gradient(420px 120px at 50% 0%, rgba(120,170,255,.08), transparent 70%);
  pointer-events:none;
}

.team-avatar{
  position: relative;
  margin: 6px auto 16px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 0 0 10px rgba(255,255,255,.015),
    0 14px 30px rgba(0,0,0,.35);
  transition:
    transform .24s ease,
    box-shadow .24s ease;
}

.team-card:hover .team-avatar{
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 0 10px rgba(110,170,255,.05),
    0 0 22px rgba(110,170,255,.14),
    0 16px 36px rgba(0,0,0,.42);
}

.team-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

.team-name{
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #f7fbff;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

.team-role{
  margin: 0 auto 14px;
  max-width: 88%;
  color: rgba(225,233,242,.84);
  font-size: .96rem;
  line-height: 1.6;
}

.team-desc{
  max-width: 88%;
  margin: 0 auto 16px;
  color: rgba(214,223,234,.82);
  line-height: 1.72;
}

.team-badges{
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.tbadge{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: rgba(238,243,250,.86);
  padding: 7px 11px;
  font-size: .85rem;
  line-height: 1;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.team-card:hover .tbadge{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
}

.team-actions{
  margin-top: auto;
}

.team-actions .btn{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.025);
  color: #f4f8fd;
  font-weight: 700;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.team-actions .btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.05);
  box-shadow:
    0 0 14px rgba(110,170,255,.10),
    0 8px 18px rgba(0,0,0,.24);
}

.team-links{
  margin-top: 14px;
  gap: 10px;
  justify-content: center;
}

.tlink{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(235,241,248,.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}

.tlink:hover{
  transform: translateY(-2px);
  border-color: rgba(255,193,7,.26);
  background: rgba(255,193,7,.06);
  color: #ffd247;
  box-shadow:
    0 0 14px rgba(255,193,7,.14),
    0 8px 18px rgba(0,0,0,.22);
}

.tlink.disabled{
  opacity: .82;
}

@media (max-width: 992px){
  #core-team{
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .team-card{
    border-radius: 22px;
  }

  .team-avatar{
    width: 120px;
    height: 120px;
  }
}


/* ==================================================
   PROJECT NOX – TEAM ROLE CENTER FIX
   ================================================== */

.team-role{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* ==================================================
   PROJECT NOX – CORE TEAM FINAL POLISH
   ================================================== */

/* Role line slightly brighter */
.team-role{
  color: rgba(235,245,255,0.92);
  letter-spacing: 0.3px;
}

/* Social icons hover polish */
.team-links .tlink{
  transition: all .18s ease;
}

.team-links .tlink:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
  box-shadow:
    0 0 14px rgba(120,170,255,0.12),
    0 6px 16px rgba(0,0,0,0.35);
}


/* ==================================================
   PROJECT NOX – FOOTER MICRO UX POLISH
   ================================================== */
.footer .container{
  line-height: 1.8;
}

.footer .footer-link{
  opacity: .86;
  transition: opacity .18s ease, color .18s ease, text-shadow .18s ease;
}

.footer .footer-link:hover{
  opacity: 1;
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255,255,255,.12);
}


/* ==================================================
   PROJECT NOX – FINAL MOBILE + STATS POLISH
   ================================================== */

/* Stats section spacing */
.stats-section{
padding-top: 70px;
padding-bottom: 70px;
}

/* Slightly more breathing room above stats */
.about-section{
margin-bottom: 40px;
}


/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px){

/* Hero headline spacing */
.masthead h1{
line-height:1.3;
}

/* Hero button stack */
.hero-buttons{
display:flex;
flex-direction:column;
gap:10px;
align-items:center;
}

.hero-buttons .btn{
width:220px;
}

/* Services cards spacing */
.svc-card{
margin-bottom:16px;
}

/* Section headings spacing */
.section-heading{
margin-bottom:10px;
}

/* Stats spacing */
.stats-section{
padding-top:60px;
padding-bottom:60px;
}

/* Team cards breathing room */
.team-card{
margin-bottom:24px;
padding:22px;
}

/* Team badges wrap cleaner */
.team-badges{
flex-wrap:wrap;
gap:6px;
}

/* Contact section spacing */
.contact-inner{
padding-left:14px;
padding-right:14px;
}

/* Contact form inputs larger tap area */
.contact-input{
padding:12px 14px;
font-size:15px;
}

/* Contact button mobile */
.contact-btn{
width:100%;
margin-top:6px;
}

/* Quick contact cards */
.contact-socials{
gap:10px;
}

/* Footer spacing mobile */
.footer{
padding-top:20px;
padding-bottom:20px;
}

}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px){

.masthead{
padding-top:80px;
}

.section-heading{
font-size:1.6rem;
}

.team-card{
margin-bottom:28px;
}

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

.contact-inner{
padding-left:10px;
padding-right:10px;
}

}


/* ==================================================
   HERO READABILITY POLISH
   ================================================== */

.masthead::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
to bottom,
rgba(0,0,0,0.55),
rgba(0,0,0,0.25),
rgba(0,0,0,0.65)
);
z-index:1;
}

.masthead .container,
.masthead .hero-buttons{
position:relative;
z-index:2;
}


/* ==================================================
   SERVICE CARD MICRO HOVER
   ================================================== */

.svc-card{
transition:transform .25s ease, box-shadow .25s ease;
}

.svc-card:hover{
transform:translateY(-4px);
box-shadow:0 10px 30px rgba(0,0,0,0.35);
}


/* ==================================================
   SMOOTH SCROLL
   ================================================== */

html{
scroll-behavior:smooth;
}

