/* ============================================
   A&L SERVICE & TECHNOLOGY — DESIGN TOKENS
   ============================================ */
:root {
  --brand: #007fc3;
  --brand-dark: #00639b;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f6f8fa;
  --gray-100: #eef1f4;
  --gray-200: #dfe3e8;
  --gray-500: #6b7280;
  --gray-700: #3a4148;
  --footer-bg: #0b1a24;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1400px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #FF803C;
  border-radius: 1px;
  flex-shrink: 0;
}

.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--gray-500); font-size: 1.08rem; }

section { padding: 80px 24px; }
@media (min-width: 1400px) { section { padding-left: 40px; padding-right: 40px; } }

/* ============ MEDIA / IMAGE PLACEHOLDER SYSTEM ============
   Every <div class="media-frame"> wraps an <img onerror="...">.
   If the image file is missing, a clean placeholder is shown
   instead of a broken-image icon. */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: var(--radius);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.img-error img { display: none; }
.media-frame.img-error::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px dashed var(--gray-200);
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-block { width: 100%; padding: 14px; }

/* ============================================
   HEADER — transparent over hero, white on scroll
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--gray-200);
}
.site-header.is-scrolled .header-inner { padding-top: 16px; padding-bottom: 16px; }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 34px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s var(--ease);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 48px; width: auto; filter: brightness(0) invert(1); transition: filter 0.3s var(--ease); }
.is-scrolled .brand-logo { filter: none; }

.main-nav { display: none; align-items: center; gap: 30px; font-size: 0.96rem; }
.main-nav a:not(.nav-cta) { position: relative; color: var(--white); font-weight: 700; transition: color 0.3s; }
.is-scrolled .main-nav a:not(.nav-cta) { color: var(--black); }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--brand); transition: width 0.25s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--brand); color: var(--white); font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 0;
  transition: color 0.2s, font-weight 0.2s;
}
.lang-btn.is-active {
  font-weight: 800;
  color: var(--white);
}
/* When the header is white (scrolled), swap to dark tones */
.is-scrolled .lang-btn { color: var(--gray-500); }
.is-scrolled .lang-btn.is-active { color: var(--black); }
.lang-sep { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.is-scrolled .lang-sep { color: var(--gray-200); }
.is-scrolled .lang-sep { color: var(--gray-200); }

.nav-toggle {
  position: relative;
  z-index: 95;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); transition: background 0.3s, transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.is-scrolled .nav-toggle span { background: var(--black); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* When the menu is open the panel behind is blue, so the X must stay white
   even if the header is in its scrolled (black-icon) state. */
.nav-toggle[aria-expanded="true"] span,
.is-scrolled .nav-toggle[aria-expanded="true"] span { background: var(--white); }
.nav-toggle.force-dark span { background: var(--black); }

@media (max-width: 899px) {
  /* dimmed backdrop behind the panel */
  .main-nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(8,10,12,0.5);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    z-index: -1;
  }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(82%, 360px);
    background-color: var(--brand);
    background-image:
      radial-gradient(circle at 85% 12%, rgba(255,255,255,0.12), transparent 45%),
      linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 40px 34px;
    gap: 0;
    max-height: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    box-shadow: -18px 0 50px rgba(8,10,12,0.28);
    z-index: 90;
    counter-reset: navitem;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .main-nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .main-nav.is-open::before { opacity: 1; }
  .main-nav a:not(.nav-cta) {
    counter-increment: navitem;
    display: flex;
    align-items: baseline;
    gap: 14px;
    color: var(--white);
    font-size: 1.55rem;
    font-weight: 800;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    transition: color 0.2s, padding-left 0.2s;
  }
  .main-nav a:not(.nav-cta)::before {
    content: counter(navitem, decimal-leading-zero);
    font-size: 0.85rem;
    font-weight: 700;
    color: #FF803C;
  }
  .main-nav.is-open a:not(.nav-cta) { color: var(--white); }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav a:not(.nav-cta):hover,
  .main-nav a:not(.nav-cta):active {
    color: #FF803C;
    padding-left: 6px;
  }
  .nav-cta {
    margin-top: 26px;
    background: var(--white);
    color: var(--brand);
    align-self: flex-start;
  }
  .nav-cta:hover { background: #FF803C; color: var(--white); }
  .main-nav .lang-toggle {
    margin-top: 28px;
    font-size: 1rem;
  }
  .main-nav .lang-btn { color: rgba(255,255,255,0.55); font-size: 1rem; font-weight: 500; }
  .main-nav .lang-btn.is-active { color: var(--white); font-weight: 800; }
  .main-nav .lang-sep { color: rgba(255,255,255,0.35); }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .brand-logo { height: 58px; }
}

/* ============================================
   HERO — banner image with dark overlay
   ============================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: var(--white);
  background: var(--white);
}
@media (min-width: 900px) {
  .hero { min-height: 82vh; }
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-media {
  position: absolute;
  inset: 18px;
  overflow: hidden;
  z-index: 0;
  border-radius: 18px;
  transition: inset 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.hero.is-expanded .hero-media {
  inset: 0;
  border-radius: 0;
}
@media (max-width: 599px) {
  .hero-media { inset: 10px; border-radius: 14px; }
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, #0a0a0a, #123a52);
  transition: opacity 0.6s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.img-error { background: linear-gradient(135deg, #0a0a0a, #123a52); }
.hero-slide.img-error img, .hero-slide.img-error video { display: none; }

.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.85) 100%);
}

.hero-inner { position: relative; max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.highlight { color: var(--brand); }
.hero-sub { color: var(--gray-100); font-size: 1.08rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 30px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 32px 0 0;
  margin-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-icon { width: 22px; height: 22px; color: var(--brand); margin-bottom: 2px; }
.stat-value { display: flex; align-items: baseline; gap: 2px; }
.stat-num, .stat-num-text { font-size: 1.7rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.stat-plus { font-size: 1.7rem; font-weight: 700; color: #FF803C; }
.stat-label { color: var(--gray-100); font-size: 0.84rem; }

@media (max-width: 480px) {
  .hero-stats { flex-wrap: nowrap; }
  .stat { flex: 1 1 0; min-width: 0; padding-right: 10px; margin-right: 10px; }
  .stat-icon { width: 17px; height: 17px; }
  .stat-num, .stat-num-text, .stat-plus { font-size: 1.15rem; }
  .stat-label { font-size: 0.66rem; line-height: 1.25; }
}

/* ============================================
   SERVICES — carousel at every breakpoint
   ============================================ */
.services { background: var(--gray-50); }
.service-carousel { position: relative; max-width: var(--container); margin: 0 auto; }

.service-scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-scroller::-webkit-scrollbar { display: none; }

.service-grid {
  display: flex;
  gap: 20px;
}

.service-card {
  display: block;
  flex: 0 0 78%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: 0 1px 3px rgba(10,10,10,0.04);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover {
  box-shadow: 0 12px 28px rgba(10,10,10,0.09);
  transform: translateY(-3px);
  border-color: var(--brand);
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 127, 195, 0.1);
  color: var(--brand);
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 14px; }
.service-link { font-size: 0.86rem; font-weight: 700; color: var(--brand); }
.service-card:hover .service-link { text-decoration: underline; }

@media (min-width: 620px) {
  .service-card { flex: 0 0 calc(50% - 10px); }
}
@media (min-width: 960px) {
  .service-card { flex: 0 0 calc((100% - 40px) / 3); }
}

/* Arrows: desktop only, mobile relies on swipe */
.service-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 14px rgba(10,10,10,0.1);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  z-index: 2;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.service-arrow:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.service-arrow svg { width: 20px; height: 20px; }
.service-arrow--prev { left: -23px; }
.service-arrow--next { right: -23px; }
.service-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

@media (min-width: 900px) {
  .service-arrow { display: flex; }
}

/* Counter: "3/10" style progress readout, replaces dots */
.service-counter {
  text-align: center;
  margin-top: 26px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* Swipe hint: mobile-only, fades out after the first swipe */
.service-swipe-hint {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: 10px;
  background: rgba(20, 22, 24, 0.82);
  border-radius: 999px;
  padding: 9px 16px;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.service-swipe-hint.is-hidden { opacity: 0; }
.swipe-chevron { color: rgba(255,255,255,0.55); font-size: 1.1rem; line-height: 1; }
.swipe-finger {
  display: flex;
  color: #FF803C;
  width: 22px; height: 22px;
  animation: swipe-finger-move 1.6s ease-in-out infinite;
}
.swipe-finger svg { width: 100%; height: 100%; }
@keyframes swipe-finger-move {
  0%, 100% { transform: translateX(-7px); }
  50% { transform: translateX(7px); }
}
@media (max-width: 899px) {
  .service-swipe-hint { display: flex; }
}

/* ============================================
   WHY US
   ============================================ */
.why .section-head, .why .why-grid,
.team .section-head, .team .team-grid {
  position: relative;
  z-index: 1;
}

.why { background: var(--white); position: relative; overflow: hidden; }
.why-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: whycard; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-card {
  position: relative;
  counter-increment: whycard;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.why-card::after {
  content: counter(whycard, decimal-leading-zero);
  position: absolute;
  top: 18px; right: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-200);
  letter-spacing: 0.05em;
}
/* thin accent bar that grows along the bottom on hover */
.why-card::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.why-card.reveal {
  transform: translateY(34px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.why-card.reveal.is-visible { transform: translateY(0) scale(1); }
.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.08s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.16s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.24s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.32s; }
.why-card.is-visible:hover,
.why-card:not(.reveal):hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(10,10,10,0.09);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,127,195,0.10); color: var(--brand);
  margin-bottom: 20px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.why-card:hover .why-icon { background: var(--brand); color: var(--white); }
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.why-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ============================================
   FEATURE STRIPES
   ============================================ */
.features {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.features-gear {
  position: absolute;
  left: -160px;
  top: 55%;
  transform: translateY(-50%) rotate(0deg);
  width: 460px;
  height: 460px;
  color: var(--brand);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
@media (min-width: 1000px) {
  .features-gear { width: 640px; height: 640px; left: -220px; }
}
@media (min-width: 1400px) {
  .features-gear { width: 760px; height: 760px; left: -260px; }
}
.features-gear svg { width: 100%; height: 100%; }
.features .section-head,
.features .feature-stripe { position: relative; z-index: 1; }

.feature-stripe {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
.feature-stripe:not(.feature-stripe--reverse) { margin-bottom: 110px; }
@media (max-width: 799px) {
  .feature-stripe:not(.feature-stripe--reverse) { margin-bottom: 88px; }
  .feature-stripe .feature-visual { margin-bottom: 4px; }
}
@media (min-width: 800px) {
  .feature-stripe { grid-template-columns: 1fr 1fr; }
  .feature-stripe--reverse .feature-text { order: 2; }
  .feature-stripe--reverse .feature-visual { order: 1; }
}
.feature-text h3 { font-size: 1.5rem; margin-bottom: 4px; }
.checklist { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 26px; color: var(--gray-500); font-size: 0.98rem; }
.checklist li::before { content: '\2713'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.feature-stripe--reverse .checklist li::before { color: #FF803C; }
.feature-visual { aspect-ratio: 4 / 3; }

/* ============================================
   INDUSTRIES — pinned scroll-sequenced reveal
   ============================================ */
/* ============================================
   EXPERTISE — text left, image right, checks
   ============================================ */
.expertise { background: var(--white); }
.expertise-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 860px) {
  .expertise-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.expertise-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 28px; max-width: 440px; }
.expertise-list { list-style: none; display: flex; flex-direction: column; gap: 26px; }
.expertise-list li { display: flex; gap: 16px; align-items: flex-start; }
.exp-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,127,195,0.12);
  color: var(--brand);
}
.exp-check svg { width: 17px; height: 17px; }
.expertise-list li:nth-child(2) .exp-check { background: rgba(255,128,60,0.14); color: #FF803C; }
.expertise-list h3 { font-size: 1.18rem; margin-bottom: 6px; }
.expertise-list p { color: var(--gray-500); font-size: 0.96rem; max-width: 420px; }
.expertise-visual {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(10,10,10,0.14);
}
@media (max-width: 859px) {
  .expertise-visual { order: -1; }
}

/* ============================================
   INDUSTRIES — full-bleed scroll-driven sequence
   Each industry image fills the viewport; scrolling
   crossfades to the next with a rising dark overlay.
   ============================================ */
.industries {
  position: relative;
  height: 700vh;
  background: var(--black);
  padding: 0 !important;
  margin: 0;
  width: 100%;
}
.industries-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Intro (title) sits above the first image, fades out on scroll */
.industries-intro {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--black);
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.industries-intro .industries-eyebrow { color: #FF803C; }
.industries-intro .industries-title { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 720px; }
.industries-scroll-hint {
  margin-top: 22px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.industries.is-past-intro .industries-intro { opacity: 0; visibility: hidden; }

/* Each slide is a full-viewport layer */
.ind-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.ind-slide.is-active { opacity: 1; z-index: 2; }

.ind-slide-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #0a0a0a, #123a52);
}
.ind-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.ind-slide-media.img-error { background: linear-gradient(135deg, #0a0a0a, #123a52); }

/* Dark gradient that improves text legibility; its opacity is
   driven by JS (via --ov, 0..1) so it fades as the next image reveals. */
.ind-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 75%;
  opacity: var(--ov, 1);
  background: linear-gradient(0deg, rgba(8,10,12,0.94) 0%, rgba(8,10,12,0.7) 45%, transparent 100%);
  transition: opacity 0.15s linear;
  pointer-events: none;
}

.ind-slide-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 90px) clamp(48px, 9vh, 96px);
  color: var(--white);
  opacity: var(--txt, 1);
  transform: translateY(var(--txt-y, 0px));
  transition: opacity 0.15s linear, transform 0.15s linear;
}
.ind-slide-num {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FF803C;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.ind-slide-text h3 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
  line-height: 1.05;
}
.ind-slide-text p {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* Final "und noch viele mehr" slide */
.ind-slide--more { background: var(--black); }
.ind-more-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industries-more {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}
.industries-more::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: #FF803C;
  margin: 18px auto 0;
}

@media (max-width: 700px) {
  .ind-slide-text {
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: clamp(90px, 22vh, 200px);
  }
  .ind-slide-text p { font-size: 0.98rem; }
  .ind-slide-text h3 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}
.team { position: relative; overflow: hidden; }
.team-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 38px 34px;
  box-shadow: 0 2px 10px rgba(10,10,10,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.team-card:nth-child(2)::before { background: #FF803C; }
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(10,10,10,0.12);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card::after {
  position: absolute;
  right: 8px; bottom: -28px;
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  color: rgba(0,127,195,0.07);
  transition: color 0.3s var(--ease);
}
.team-card:nth-child(2)::after { color: rgba(255,128,60,0.09); }
.team-card:nth-child(1)::after { content: 'ML'; }
.team-card:nth-child(2)::after { content: 'TA'; }
.team-role {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px;
  position: relative; z-index: 1;
  background: rgba(0,127,195,0.08);
  padding: 6px 12px;
  border-radius: 100px;
}
.team-card:nth-child(2) .team-role { color: #FF803C; background: rgba(255,128,60,0.1); }
.team-role svg { width: 15px; height: 15px; flex-shrink: 0; }
.team-card h3 { font-size: 1.4rem; margin-bottom: 14px; position: relative; z-index: 1; }
.team-card p { color: var(--gray-500); font-size: 0.95rem; position: relative; z-index: 1; max-width: 90%; }
.team-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--black) !important; margin-top: 18px; font-size: 0.9rem !important; font-weight: 700;
}
.team-phone::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF803C;
  flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--gray-50); }
.contact-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1fr 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.contact-list dt { font-weight: 700; color: var(--brand); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.contact-list dt svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-list dd { color: var(--gray-500); font-size: 0.95rem; }

.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; color: var(--gray-500); }
.form-row input, .form-row textarea {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 11px 14px; color: var(--black); font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand); outline: none; }
.form-note { font-size: 0.85rem; color: var(--brand); min-height: 1.2em; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 60px 24px 28px;
  background: var(--white);
  color: var(--gray-700);
  border-top: 3px solid var(--brand);
}
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .brand-logo { height: 42px; margin-bottom: 14px; filter: none; }
@media (min-width: 900px) {
  .footer-brand .brand-logo { height: 54px; }
}
.footer-brand p { color: var(--gray-500); font-size: 0.88rem; max-width: 340px; }
.footer-brand p:first-of-type { color: var(--black); font-weight: 700; margin-bottom: 8px; }
.footer-col h4 {
  font-size: 0.78rem; color: var(--black); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col h4::before { content: ''; width: 6px; height: 6px; background: #FF803C; border-radius: 1px; flex-shrink: 0; }
.footer-col a { display: block; color: var(--gray-500); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-copy { text-align: center; color: var(--gray-500); font-size: 0.8rem; max-width: var(--container); margin: 0 auto; border-top: 1px solid var(--gray-200); padding-top: 24px; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 90;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-hero { background: var(--black); color: var(--white); padding: 150px 24px 60px; }
.service-hero-inner { max-width: var(--container); margin: 0 auto; }
.service-hero a.back-link { color: var(--gray-100); font-size: 0.88rem; font-weight: 600; display: inline-block; margin-bottom: 20px; }
.service-hero a.back-link:hover { color: var(--brand); }
.service-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }

.service-body { max-width: 780px; margin: 0 auto; padding: 60px 24px 90px; }
.service-body .media-frame { aspect-ratio: 16/9; margin-bottom: 36px; }
.service-body p { color: var(--gray-700); font-size: 1.02rem; margin-bottom: 18px; }
.service-body h2 { font-size: 1.3rem; margin: 32px 0 14px; }
.service-body ul { margin-left: 20px; color: var(--gray-700); display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.service-cta { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-200); }