/* ── GSS SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --bg: #090b0e;
  --bg2: #0d1017;
  --bg3: #111419;
  --surface: #151a20;
  --surface2: #1b2029;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #e8eaed;
  --text-muted: #7a8899;
  --text-dim: #4a5568;
  --accent: oklch(65% 0.17 148);
  --accent-dim: oklch(55% 0.14 148);
  --accent-glow: oklch(65% 0.17 148 / 0.15);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

*, *::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-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════
   AVADA OVERRIDE — verhindert dass Avada unsere Farben überschreibt
   ══════════════════════════════════════════════════════════= */

/* Body & Background */
body, #wrapper, #main, .fusion-page-content-wrapper {
  background-color: var(--bg) !important;
  color: var(--text) !important;
}

/* Alle Headings */
h1, h2, h3, h4, h5, h6,
.fusion-title h1, .fusion-title h2, .fusion-title h3,
.page-hero h1, .section-title, .hero-title {
  color: var(--text) !important;
  font-family: var(--font-display) !important;
}

/* Alle Links (außer Nav-CTA und Accent-Links) */
a:not(.btn-primary):not(.nav-cta):not(.service-link):not(.contact-method) {
  color: var(--text-muted);
  transition: color 0.2s;
}
a:not(.btn-primary):not(.nav-cta):not(.service-link):not(.contact-method):hover {
  color: var(--accent) !important;
}

/* Paragraphen */
p { color: var(--text-muted) !important; }

/* Sections & Container */
.content-section, .page-hero, #hero, #services, #why, #partners, #contact {
  background-color: inherit !important;
}
.content-section.alt { background-color: var(--bg2) !important; }

/* Cards */
.feature-card, .service-card, .product-cell, .gas-card,
.target-card, .cert-item, .thermal-card, .access-card,
.use-card, .zone-card, .spec-card, .ai-item {
  background: var(--surface) !important;
  color: var(--text) !important;
}
.feature-card h3, .service-card .service-title,
.product-cell h3, .thermal-card h3, .access-card h3 {
  color: var(--text) !important;
}
.feature-card p, .service-card .service-desc,
.product-cell p, .thermal-card p, .access-card p {
  color: var(--text-muted) !important;
}

/* Accent farben */
.section-label, .page-hero-label, .service-num,
.product-cell-tag, .peri-tag, .ax-tag,
.stack-card-vendor, .partner-badge-text {
  color: var(--accent) !important;
}

/* Buttons */
.btn-primary { background: var(--accent) !important; color: #000 !important; }
.btn-ghost { color: var(--text-muted) !important; border-color: var(--border2) !important; }

/* Footer */
footer, .footer-inner { background-color: var(--bg2) !important; }
.footer-links a { color: var(--text-dim) !important; }
.footer-copy { color: var(--text-dim) !important; }

/* Ticker */
.ticker-wrap { background: var(--surface) !important; }
.ticker-item { color: var(--text-dim) !important; }

/* ── GRID BACKGROUND ── */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(9,11,14,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
}
.nav-logo-icon::after {
  content: '';
  position: absolute; inset: 4px;
  background: var(--bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; color: var(--text); line-height: 1.2;
}
.nav-logo-text span {
  display: block; font-size: 10px; font-weight: 400;
  color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--accent) !important; color: #000 !important;
  padding: 9px 20px !important; border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.88; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 16px); left: -16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 4px;
  font-size: 13px; color: var(--text-muted) !important;
  text-transform: none !important; letter-spacing: 0.03em !important;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: var(--surface); color: var(--text) !important; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 152px 48px 100px;
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.page-hero-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; max-width: 700px;
  text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero-sub {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.7; max-width: 560px; margin-top: 20px; font-weight: 400;
}
.page-hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, oklch(65% 0.17 148 / 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── CONTENT SECTIONS ── */
.content-section { padding: 100px 48px; }
.content-section.alt { background: var(--bg2); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; text-wrap: balance;
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin-top: 60px;
}
.feature-card {
  background: var(--bg2); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--surface); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 44px; height: 44px; color: var(--accent);
  margin-bottom: 24px; opacity: 0.8;
}
.feature-card:hover .feature-icon { opacity: 1; }
.feature-card h3 {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 600; margin-bottom: 12px; color: var(--text);
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── 2-COL LAYOUT ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── VISUAL PLACEHOLDER ── */
.visual-placeholder {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-dim);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: monospace;
}
.visual-placeholder svg { width: 40px; height: 40px; opacity: 0.3; }

/* ── BADGE LIST ── */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 4px; padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.badge.accent { background: oklch(65% 0.17 148 / 0.1); border-color: oklch(65% 0.17 148 / 0.3); color: var(--accent); }

/* ── CERT CARDS ── */
.cert-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.cert-card {
  flex: 1; min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px; padding: 28px 24px;
  text-align: center;
}
.cert-card-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  background: oklch(65% 0.17 148 / 0.1);
  border: 1px solid oklch(65% 0.17 148 / 0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.cert-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.cert-card p { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ── CTA BAND ── */
.cta-band {
  padding: 100px 48px; background: var(--bg);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, oklch(65% 0.17 148 / 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; letter-spacing: -0.02em;
  max-width: 560px; margin: 0 auto 20px; text-wrap: balance;
}
.cta-band p { font-size: 17px; color: var(--text-muted); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: #000;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 24px oklch(65% 0.17 148 / 0.25);
}
.btn-primary:hover {
  opacity: 0.88;
  box-shadow: 0 0 36px oklch(65% 0.17 148 / 0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-muted); font-family: var(--font-display);
  font-weight: 500; font-size: 14px; letter-spacing: 0.04em;
  padding: 14px 24px; border-radius: 4px;
  border: 1px solid var(--border2); text-decoration: none;
  transition: color 0.2s, border-color 0.2s; background: transparent;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--text); }

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border); padding: 48px;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-text { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; color: var(--text-dim); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }
.reveal-delay-3 { animation-delay: 0.45s; }
.reveal-delay-4 { animation-delay: 0.6s; }
.reveal-delay-5 { animation-delay: 0.75s; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-hero { padding: 120px 24px 72px; }
  .content-section { padding: 64px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 72px 24px; }
  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE NAVIGATION — Hamburger Menu
   ══════════════════════════════════════════════════════════= */

.gss-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 10001;
}
.gss-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8eaed;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.gss-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gss-hamburger.open span:nth-child(2) { opacity: 0; }
.gss-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Fullscreen Menu */
.gss-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,11,14,0.98);
  z-index: 10000;
  flex-direction: column;
  padding: 100px 32px 40px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}
.gss-mobile-menu.open { display: flex; }
.gss-mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.gss-mobile-menu ul li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.gss-mobile-menu ul li a {
  display: block;
  padding: 18px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #e8eaed;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.gss-mobile-menu ul li a:hover { color: #2ec472; }
.gss-mobile-menu .mobile-submenu {
  display: flex; flex-direction: column; gap: 0;
  padding-left: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.gss-mobile-menu .mobile-submenu a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #7a8899 !important;
  padding: 12px 0 !important;
}
.gss-mobile-menu .mobile-cta a {
  color: #2ec472 !important;
  font-size: 22px !important;
}
.gss-mobile-menu .mobile-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gss-mobile-menu .mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #7a8899 !important;
  padding: 10px 0 !important;
  border-bottom: none !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE LAYOUT FIXES
   ══════════════════════════════════════════════════════════= */

@media (max-width: 900px) {

  /* Nav */
  nav#gss-nav { padding: 0 20px !important; }
  .gss-hamburger { display: flex !important; }
  nav#gss-nav .gss-menu { display: none !important; }

  /* Hero */
  #hero {
    padding: 100px 24px 60px !important;
    min-height: auto !important;
  }
  .hero-title {
    font-size: clamp(36px, 10vw, 56px) !important;
    margin-bottom: 20px !important;
  }
  .hero-subtitle {
    font-size: 16px !important;
    margin-bottom: 32px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100% !important;
    text-align: center !important;
    padding: 16px !important;
  }
  .hero-stats { display: none !important; }
  .hero-scanline { display: none !important; }

  /* Page Hero */
  .page-hero {
    padding: 110px 24px 60px !important;
  }
  .page-hero h1 {
    font-size: clamp(30px, 8vw, 48px) !important;
  }
  .page-hero-sub {
    font-size: 15px !important;
  }

  /* Sections */
  .content-section { padding: 60px 24px !important; }
  .cta-band { padding: 60px 24px !important; }

  /* Two Column → Stack */
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    direction: ltr !important;
  }
  .two-col.reverse { direction: ltr !important; }

  /* Feature Grid → 1 Column */
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* Product rows */
  .product-row,
  .peri-grid,
  .ax-grid {
    grid-template-columns: 1fr !important;
  }

  /* Thermal grid */
  .thermal-grid { grid-template-columns: 1fr !important; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Partners ticker */
  .partners-inner {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .partners-logos {
    gap: 10px !important;
    justify-content: center !important;
  }

  /* Section title */
  .section-title {
    font-size: clamp(24px, 7vw, 38px) !important;
  }

  /* Why visual */
  .why-visual { height: 260px !important; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-methods {
    flex-direction: column !important;
  }
  .contact-method { width: 100% !important; }

  /* Footer */
  footer { padding: 32px 24px !important; }
  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .footer-links {
    justify-content: center !important;
    gap: 20px !important;
  }

  /* CTA band */
  .cta-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
  }

  /* Perimeter diagram */
  .perimeter-diagram { max-width: 340px !important; }

  /* Process steps */
  .process-steps {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .process-steps::before { display: none !important; }

  /* Timeline */
  .timeline::before { left: 20px !important; }
  .timeline-item { gap: 20px !important; }

  /* Spec grid */
  .spec-grid { grid-template-columns: 1fr 1fr !important; }

  /* AI grid */
  .ai-grid { grid-template-columns: 1fr !important; }

  /* Zone grid */
  .zone-grid { grid-template-columns: 1fr 1fr !important; }

  /* Info strip */
  .info-strip, .nsl-info-box, .phod-box, .jeweller-box, .narkose-box, .norm-box, .ax-info {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Gas grid */
  .gas-grid { grid-template-columns: 1fr !important; }

  /* Target grid */
  .target-grid { grid-template-columns: 1fr !important; }

  /* Stack grid */
  .stack-grid { grid-template-columns: 1fr !important; }

  /* Cert strip */
  .cert-strip { grid-template-columns: 1fr !important; }

  /* Nsl flow */
  .nsl-flow::before { display: none !important; }
  .nsl-step { gap: 16px !important; }

  /* Scenario steps */
  .scenario-steps {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .scenario-steps::before { display: none !important; }

  /* Access grid */
  .access-grid { grid-template-columns: 1fr !important; }

  /* Use cards */
  .use-cards { grid-template-columns: 1fr !important; }

  /* Value grid */
  .value-grid { grid-template-columns: 1fr 1fr !important; }

  /* Form */
  .form-row-2 { grid-template-columns: 1fr !important; }
  .contact-form-wrap { padding: 24px 20px !important; }

  /* Solution panel */
  .solution-panel.active { grid-template-columns: 1fr !important; }
  .solution-tabs { gap: 6px !important; }
  .solution-tab { font-size: 11px !important; padding: 8px 12px !important; }

  /* Flow row */
  .flow-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .flow-arrow { transform: rotate(90deg) !important; text-align: center !important; }

  /* Badge list */
  .badge-list { gap: 6px !important; }
  .badge { font-size: 10px !important; padding: 4px 10px !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px !important; }
  .spec-grid { grid-template-columns: 1fr !important; }
  .zone-grid { grid-template-columns: 1fr !important; }
  .value-grid { grid-template-columns: 1fr !important; }
}
