/* ===========================================================
   SALISOL GMBH — Design System
   Font: Inter · Farben: Navy + Orange-Akzent · Kein Schwarz
=========================================================== */

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

/* -----------------------------------------------------------
   CSS VARIABLEN
----------------------------------------------------------- */
:root {
  --brand:        #1a52a8;
  --brand-mid:    #2d6ac9;
  --brand-light:  #ebf2fc;
  --brand-xlight: #f4f8fe;
  --accent:       #1a52a8;
  --accent-light: #ebf2fc;
  --footer-bg:    #0c2440;
  --text:         #1c2b3a;
  --text-muted:   #556475;
  --text-light:   #8898a8;
  --bg:           #ffffff;
  --bg-alt:       #f4f8fd;
  --bg-blue:      #ebf2fc;
  --border:       #dce5f0;
  --nav-h:        78px;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow-sm:    0 2px 14px rgba(15,40,80,.06);
  --shadow-md:    0 6px 32px rgba(15,40,80,.10);
  --shadow-lg:    0 16px 60px rgba(15,40,80,.14);
}

/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* -----------------------------------------------------------
   PAGE TRANSITION
----------------------------------------------------------- */
#transition-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.page-wrapper {
  animation: pageIn 0.35s ease forwards;
  opacity: 0;
}

@keyframes pageIn {
  to { opacity: 1; }
}

/* -----------------------------------------------------------
   NAVIGATION — solid weiss, transparent auf Startseite-Hero
----------------------------------------------------------- */
.apollo-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transparente Variante — nur auf Startseite über dem Video */
.apollo-nav.nav-transparent {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.15);
}

.apollo-nav.nav-transparent .apollo-menu li a {
  color: rgba(255,255,255,0.92);
}

.apollo-nav.nav-transparent .apollo-menu li a::after {
  background: #fff;
}

.apollo-nav.nav-transparent .apollo-logo img {
  filter: brightness(0) invert(1);
}

.apollo-nav.nav-transparent .hamburger span {
  background: #fff;
}

/* Solid beim Scrollen */
.apollo-nav.nav-scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.apollo-nav.nav-scrolled .apollo-menu li a {
  color: var(--text);
}

.apollo-nav.nav-scrolled .apollo-logo img {
  filter: none;
}

.apollo-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apollo-logo img {
  height: 32px;
  transition: filter 0.3s ease;
}

.apollo-menu {
  list-style: none;
  display: flex;
  gap: 48px;
  margin: 0; padding: 0;
}

.apollo-menu li a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.apollo-menu li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.apollo-menu li a:hover::after,
.apollo-menu li a.active::after {
  width: 100%;
}

.apollo-menu li a.active {
  font-weight: 500;
}

/* -----------------------------------------------------------
   HAMBURGER — Mobil
----------------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menü-Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 20px 30px 28px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0;
}

.mobile-menu ul li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul li a {
  display: block;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.mobile-menu ul li a.active {
  color: var(--brand);
  font-weight: 500;
}

/* -----------------------------------------------------------
   STARTSEITE — HERO VIDEO
----------------------------------------------------------- */
header.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

header.hero-video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

header.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,20,50,0.55) 0%,
    rgba(8,20,50,0.30) 50%,
    rgba(8,20,50,0.65) 100%
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-overlay p {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------
   STARTSEITE — ANIMIERTE SERVICE-LINIEN
----------------------------------------------------------- */
.banner-services {
  position: absolute;
  left: 0; bottom: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
  padding: 0 8px;
}

.service-line {
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  opacity: 0;
  position: relative;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.service-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background: rgba(10,30,70,0.55);
  transform-origin: left;
  transform: scaleX(0);
  z-index: -1;
  border-radius: 8px;
}

.line1::before { animation: mask80 1.4s ease forwards; }
.line2::before { animation: mask65 1.4s ease forwards 0.15s; }
.line3::before { animation: mask50 1.4s ease forwards 0.30s; }
.line4::before { animation: mask35 1.4s ease forwards 0.45s; }

@keyframes mask80 { to { transform: scaleX(0.80); } }
@keyframes mask65 { to { transform: scaleX(0.65); } }
@keyframes mask50 { to { transform: scaleX(0.50); } }
@keyframes mask35 { to { transform: scaleX(0.35); } }
@keyframes mask100 { to { transform: scaleX(1.00); } }

.line1, .line2, .line3, .line4 {
  animation: fadeInLine 0.7s ease forwards;
}

@keyframes fadeInLine { to { opacity: 1; } }

/* Mobile: alle Balken auf volle Breite, kleinere Schrift */
@media (max-width: 768px) {
  .banner-services {
    padding: 0;
    gap: 8px;
  }
  .service-line {
    font-size: 0.82rem;
    padding: 10px 20px;
    border-radius: 0;
  }
  .service-line::before {
    border-radius: 0;
  }
  .line1::before { animation: mask100 1.4s ease forwards; }
  .line2::before { animation: mask100 1.4s ease forwards 0.15s; }
  .line3::before { animation: mask100 1.4s ease forwards 0.30s; }
  .line4::before { animation: mask100 1.4s ease forwards 0.45s; }
}

/* -----------------------------------------------------------
   SEKTIONS-BLÖCKE
----------------------------------------------------------- */
.section-block { padding: 80px 0; }
.section-block.compact { padding: 56px 0; }

.bg-white  { background: var(--bg); }
.bg-alt    { background: var(--bg-alt); }
.bg-blue   { background: var(--bg-blue); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   INNERE SEITEN — HERO HEADER
----------------------------------------------------------- */
.inner-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--brand-xlight) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.inner-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-line {
  width: 48px; height: 3px;
  background: var(--brand);
  border-radius: 3px;
  margin: 0 auto 18px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   STARTSEITE — SERVICE-KARTEN
----------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.card-icon i,
.usp-icon i,
.service-block-icon i {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------
   USP-BLOCK
----------------------------------------------------------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.usp-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.usp-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.usp-icon {
  width: 52px; height: 52px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--brand);
}

.usp-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.usp-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------
   CTA-BLOCK — Navy, nicht schwarz
----------------------------------------------------------- */
.cta-block {
  background: linear-gradient(135deg, #0c2440 0%, #1a3d6b 100%);
  padding: 90px 0;
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-block p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 18px rgba(26,82,168,0.30);
}

.btn-accent:hover {
  background: #1645a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,82,168,0.40);
}

/* Standard Bootstrap-Btn Anpassung */
.btn-primary {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-size: 0.9rem !important;
}

.btn-primary:hover {
  background: var(--brand-mid) !important;
  border-color: var(--brand-mid) !important;
}

/* -----------------------------------------------------------
   ÜBER UNS — TEXT & WERTE
----------------------------------------------------------- */
.about-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.why-card-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------
   ÜBER UNS — STATS & MEILENSTEINE (ersetzt Timeline)
----------------------------------------------------------- */
.company-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.milestone-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.milestone-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.milestone-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.milestone-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.milestone-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .company-stats,
  .milestones { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   ÜBER UNS — TIMELINE (Legacy, nicht mehr in Verwendung)
----------------------------------------------------------- */
.timeline-horizontal {
  position: relative;
  height: 180px;
  margin-top: 40px;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 0%;
  height: 2px;
  background: var(--brand);
  opacity: 0.3;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

.timeline-line.animate { width: 90%; }

.timeline-point {
  position: absolute;
  top: 50%;
  width: 160px;
  margin-left: -80px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.timeline-point.visible { opacity: 1; transform: translateY(-50%); }

.tp-circle {
  width: 16px; height: 16px;
  background: var(--brand);
  border-radius: 50%;
  margin: 0 auto 10px;
  transition: box-shadow 0.5s ease;
}

.tp-circle.pulse { box-shadow: 0 0 0 6px rgba(26,82,168,0.15); }

.timeline-point p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* -----------------------------------------------------------
   ÜBER UNS — ARBEITSWEISE
----------------------------------------------------------- */
.step-card {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------
   LEISTUNGEN — SERVICE BLOCKS
----------------------------------------------------------- */
.service-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-bottom: 24px;
  border-left: 4px solid var(--brand);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-block-icon {
  width: 44px; height: 44px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: 18px;
}

.service-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-block p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

.service-block ul {
  margin: 0; padding: 0;
  list-style: none;
}

.service-block ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.5;
}

.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* -----------------------------------------------------------
   LEISTUNGEN — WHY-GRID
----------------------------------------------------------- */
.why-grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.why-card-services {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card-services:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.why-card-services h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card-services p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------
   REFERENZEN — GRID & LIGHTBOX
----------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.ref-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg);
}

.ref-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ref-item img {
  width: 100%; height: 210px;
  object-fit: cover;
  display: block;
}

.ref-title {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,20,50,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  font-size: 2.2rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transition: color 0.2s;
}
.lightbox-arrow:hover { color: #fff; }
.arrow-left { left: 18px; }
.arrow-right { right: 18px; }

/* -----------------------------------------------------------
   KONTAKT
----------------------------------------------------------- */
.contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.contact-map {
  width: 100%; height: 100%;
  border: none;
  border-radius: var(--radius);
  min-height: 400px;
  border: 1px solid var(--border);
}

/* -----------------------------------------------------------
   FOOTER — 3-spaltig, Navy (nicht schwarz)
----------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}

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

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-contact a:hover { color: #fff; }

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-badge {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.30);
}

/* -----------------------------------------------------------
   SCROLL-ANIMATIONEN
----------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.10s; }
.fade-up.delay-2 { transition-delay: 0.20s; }
.fade-up.delay-3 { transition-delay: 0.30s; }
.fade-up.delay-4 { transition-delay: 0.40s; }

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .apollo-menu   { display: none; }
  .hamburger     { display: flex; }

  .apollo-inner  { padding: 0 20px; }
  .container     { padding: 0 20px; }

  .services-grid,
  .usp-grid,
  .why-grid,
  .why-grid-services { grid-template-columns: 1fr; }

  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-overlay h1    { font-size: 2rem; }
  .inner-hero h1      { font-size: 1.8rem; }
  .section-title      { font-size: 1.6rem; }

  .cta-block          { padding: 64px 0; }
  .section-block      { padding: 56px 0; }

  .service-block      { padding: 28px 22px; }
  .contact-box        { padding: 24px 20px; }

  .contact-map        { min-height: 280px; margin-top: 24px; }
}

@media (max-width: 480px) {
  .banner-services { bottom: 50px; gap: 10px; }
  .service-line    { font-size: 0.82rem; padding: 10px 18px; }
  .ref-grid        { grid-template-columns: 1fr; }
}
