/* ============================================================
   IKB-TECH — Premium CSS  v2.0
   Stack: Pure CSS, Mobile-first, GSAP-animated
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Trocchi&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy-deep:    #1a2235;
  --navy:         #293345;
  --steel:        #758d97;
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-dim:     rgba(201,168,76,0.15);
  --off-white:    #f4f6f8;
  --white:        #ffffff;
  --light-grey:   #e8ecf0;
  --text-dark:    #1a2235;
  --text-body:    #4a5568;

  --font-head:    'Montserrat', sans-serif;
  --font-serif:   'Trocchi', serif;

  --radius:       12px;
  --transition:   0.3s ease;
  --transition-slow: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:       0 4px 24px rgba(26,34,53,0.12);
  --shadow-lg:    0 12px 48px rgba(26,34,53,0.2);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Sweep / shimmer effect on buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 160%; }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Submit button states */
.btn-loading,
.btn-success,
.btn-arrow { display: none; }

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1rem;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

#submitBtn.loading .btn-label,
#submitBtn.loading .btn-arrow { display: none; }
#submitBtn.loading .btn-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26,34,53,0.3);
  border-top-color: var(--navy-deep);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

#submitBtn.success .btn-label,
#submitBtn.success .btn-arrow,
#submitBtn.success .btn-loading { display: none; }
#submitBtn.success .btn-success { display: inline-block; }
#submitBtn.success {
  background: #2d7a4f;
  border-color: #2d7a4f;
  color: #fff;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SECTION LAYOUTS
============================================================ */
.section-light { background: var(--off-white); }
.section-dark  { background: var(--navy-deep); }
.section-navy  { background: var(--navy); }

section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header.light .section-title,
.section-header.light .section-desc { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}
.section-label.gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-desc.light { color: rgba(255,255,255,0.72); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 34, 53, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-box {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 4px 8px;
  border-radius: 3px;
}

.logo-dash { color: var(--gold); margin: 0 2px; }
.logo-tech { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}
.nav-links .nav-cta.active { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; right: 0;
  width: 280px;
  height: calc(100vh - 70px);
  background: var(--navy-deep);
  z-index: 999;
  padding: 40px 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; }

.mobile-menu .mm-item { opacity: 0; transform: translateX(20px); }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 8px;
}
.mobile-menu .nav-cta:hover { background: var(--gold-light); color: var(--navy-deep); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(26,34,53,0.88) 0%,
    rgba(26,34,53,0.62) 52%,
    rgba(26,34,53,0.28) 100%
  );
}

/* Subtle technical grid overlay */
.hero-tech-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0;
  pointer-events: none;
}

/* Intro: extra dim layer — fades out as image is "revealed" */
.hero-intro-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 13, 26, 0.50);
  pointer-events: none;
}

/* Intro: Blueprint / CAD grid layer */
.hero-blueprint {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.055) 1px, transparent 1px),
    linear-gradient(rgba(201,168,76,0.115) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.115) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 112px 112px, 112px 112px;
}
.hero-blueprint::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.22) 1.5px, transparent 1.5px);
  background-size: 112px 112px;
  background-position: 0 0;
}

/* Intro: horizontal gold sweep line */
.hero-gold-sweep {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.5) 20%, var(--gold) 50%, rgba(201,168,76,0.5) 80%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  transform: translateY(-1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 920px;
  margin-top: -60px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 0;
  opacity: 0;
}

/* Gold accent line under badge */
.hero-accent-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  margin: 18px 0 20px;
  opacity: 0;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-h1 .line { display: block; opacity: 0; }
.hero-h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.75;
  opacity: 0;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* Stats Strip */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  background: rgba(22,30,48,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  gap: 0;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  cursor: default;
  transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-2px); }

.stat-item:hover .stat-num { color: var(--gold-light); }

.stat-num {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  transition: color 0.3s ease;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  margin-bottom: 52px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  padding: 28px 20px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  cursor: default;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(24px);
}

.service-card:hover {
  border-top-color: var(--gold);
  border-color: var(--light-grey);
  border-top-color: var(--gold);
  box-shadow: 0 8px 32px rgba(26,34,53,0.1);
  transform: translateY(-5px) !important;
}

.service-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: opacity(0.85);
}

.service-card:hover img {
  transform: scale(1.12);
  filter: opacity(1);
}

.section-cta { text-align: center; }

/* ============================================================
   WHY SECTION
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 44px 36px;
  opacity: 0;
  transform: translateY(32px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease;
}

.why-card:hover {
  border-left-color: var(--gold);
  border-color: rgba(255,255,255,0.12);
  border-left-color: var(--gold);
  box-shadow: 0 0 40px rgba(201,168,76,0.06);
  transform: translateY(-3px);
}

.why-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease;
}
.why-card:hover .why-number { opacity: 0.55; }

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.why-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.78;
}

/* ============================================================
   MARQUEE
============================================================ */
.clients-section { padding: 80px 0; overflow: hidden; }

.marquee-wrapper {
  overflow: hidden;
  margin-top: 40px;
  padding: 20px 0;
}

.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 20px 36px;
  flex-shrink: 0;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-item:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 4px 20px rgba(201,168,76,0.12);
}

.marquee-item img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.marquee-item:hover img {
  filter: grayscale(20%) opacity(1);
  transform: scale(1.05);
}

/* ============================================================
   INDUSTRIES GRID
============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 14px;
}

.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.industry-card:hover img { transform: scale(1.07); }

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(22,30,48,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.4s ease;
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(180deg, rgba(22,30,48,0.15) 0%, rgba(22,30,48,0.93) 100%);
}

/* Gold corner accent on hover */
.industry-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.45s ease;
  z-index: 2;
}
.industry-card:hover::after { width: 60%; }

.industry-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  transition: transform 0.35s ease;
}

.industry-card:hover .industry-overlay h3 { transform: translateY(-4px); }

.industry-overlay p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.38s ease;
  line-height: 1.55;
}

.industry-card:hover .industry-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   QUOTE SECTION
============================================================ */
.quote-section {
  padding: 110px 0;
  text-align: center;
}

.main-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  color: rgba(255,255,255,0.88);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.9;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.quote-mark {
  color: var(--gold);
  font-size: 4rem;
  line-height: 0;
  vertical-align: -0.5em;
  margin: 0 6px;
  opacity: 0.8;
}

/* ============================================================
   SOFTWARE
============================================================ */
.software-section { position: relative; }

.software-section .container { position: relative; }

/* Subtle background grid for software section */
.software-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,34,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,34,53,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0.5;
}

.software-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  position: relative;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(22px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  cursor: default;
}

.software-item:hover {
  border-color: rgba(201,168,76,0.25);
  box-shadow: 0 6px 24px rgba(26,34,53,0.08);
  transform: translateY(-4px);
}

.software-item img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%) opacity(0.75);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.software-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}

.software-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel);
  text-align: center;
  transition: color 0.3s ease;
  letter-spacing: 0.04em;
}
.software-item:hover span { color: var(--navy); }

/* ============================================================
   CAREER
============================================================ */
.career-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.career-text .section-title { margin-top: 12px; }
.career-text .section-desc { margin-bottom: 36px; max-width: 480px; }
.career-text .section-desc.light { color: rgba(255,255,255,0.7); }
.career-text .section-title.light { color: var(--white); }

.career-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Gold accent border on career image */
.career-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 1;
}

.career-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}
.career-image:hover img { transform: scale(1.05); }

/* ============================================================
   CONTACT
============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-top: 12px; margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.93rem;
  color: var(--text-body);
  opacity: 0;
  transform: translateX(-16px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.contact-row.revealed { opacity: 1; transform: translateX(0); }

.contact-row img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; opacity: 0.7; }
.contact-row a { color: var(--navy); font-weight: 500; transition: color var(--transition); }
.contact-row a:hover { color: var(--gold); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px);
}
.contact-form.revealed { opacity: 1; transform: translateY(0); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(74,85,104,0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: var(--white);
}

.form-note {
  font-size: 0.75rem;
  color: var(--steel);
  text-align: center;
  margin-top: -4px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy-deep);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a,
.footer-col li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 2.1;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 40px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

/* ============================================================
   ANIMATION UTILITIES
============================================================ */
.reveal-up { opacity: 0; transform: translateY(30px); }
.fade-in-card { opacity: 0; transform: translateY(30px); }

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .hero-h1 .line,
  .reveal-up,
  .hero-badge,
  .hero-sub,
  .hero-ctas,
  .hero-stats,
  .service-card,
  .software-item,
  .why-card,
  .fade-in-card,
  .industry-card,
  .contact-row,
  .contact-form,
  .main-quote {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-accent-line { width: 80px !important; opacity: 1 !important; }
  .hero-tech-grid { opacity: 1; }
  .hero-intro-dim { opacity: 0 !important; }
  .hero-blueprint { opacity: 0 !important; }
  .hero-gold-sweep { display: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 260px);
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero-content { padding: 0 32px; }
  .hero-stats { gap: 0; padding: 22px 16px; }
  .stat-item { padding: 0 20px; }
  .stat-num { font-size: 1.8rem; }
  .stat-plus { font-size: 1.4rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .career-inner { grid-template-columns: 1fr; gap: 48px; }
  .career-image { order: -1; }
  .career-image img { height: 280px; }

  section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .hero-content { padding: 0 24px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; padding: 20px 16px; }
  .stat-divider { display: none; }
  .stat-item { width: 45%; padding: 8px 12px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .industry-card { height: 220px; opacity: 1; transform: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-inner { padding: 0 24px; }

  .hero-h1 { letter-spacing: -0.015em; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .software-logos { gap: 16px; }
  .software-item { padding: 16px 20px; }
}

/* ============================================================
   SKIP LINK (Accessibility)
============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus { top: 16px; outline: 3px solid var(--navy-deep); outline-offset: 2px; }

/* ============================================================
   FOCUS VISIBLE (Accessibility)
============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* Form inputs focus override (already styled) */
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none; /* handled by border + box-shadow */
}

/* ============================================================
   FORM EXTRAS
============================================================ */
.form-honeypot { display: none !important; }

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #b91c1c;
  line-height: 1.6;
}
.form-error a { color: #b91c1c; text-decoration: underline; }

.form-group abbr {
  text-decoration: none;
  color: var(--gold);
  font-size: 0.9em;
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
============================================================ */
.legal-hero {
  background: var(--navy-deep);
  padding: 120px 0 60px;
  text-align: center;
}
.legal-hero .section-label { color: var(--gold); }
.legal-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}
.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light-grey);
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal-body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-body a {
  color: var(--navy);
  text-decoration: underline;
  transition: color var(--transition);
}
.legal-body a:hover { color: var(--gold); }
.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-body li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 4px;
}
.legal-placeholder {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--navy);
  padding: 2px 8px;
  border-radius: 3px;
  font-style: italic;
  font-size: 0.9em;
}
.legal-back {
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--navy); }

/* ============================================================
   DANKE PAGE
============================================================ */
.danke-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  text-align: center;
}
.danke-inner { max-width: 600px; padding: 40px 24px; }
.danke-icon {
  width: 72px; height: 72px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 32px;
  color: var(--navy-deep);
}
.danke-inner h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.danke-inner p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 36px;
}
