/* =========================================================
   UMZUGSFIRMA – PROFESSIONELLES DESIGN (Überarbeitet)
   - Optimierte Farbpalette für professionelles Auftreten
   - Erweiterte CSS-Klassen für smoothe Scroll-Animationen
   - Normales Scrollverhalten
   - Sichtbares Hintergrundbild auf allen Geräten
   - Professionelles Mobile Menu komplett überarbeitet
   ========================================================= */

/* ------------------------------
   CSS Variables & Design Tokens
------------------------------ */
:root {
  /* Farbpalette (Professionell überarbeitet) */
  --bg: #0a0e1a;
  --bg-secondary: #0f1424;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-hover: rgba(255, 255, 255, 0.08);
  
  /* Akzentfarben (Corporate Blue & Gold/Amber) */
  --primary: #1e88e5; /* Corporate Blue */
  --primary-dark: #1565c0; /* Darker Corporate Blue */
  --accent: #ffb300; /* Gold/Amber */
  --accent-dark: #cc8f00; /* Darker Gold/Amber */
  --success: #34c759;
  --danger: #ff3b30;
  
  /* Typografie */
  --text: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-faint: rgba(255, 255, 255, 0.5);
  
  /* Borders & Schatten */
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(30, 136, 229, 0.15); /* Angepasst an neue Primary-Farbe */
  
  /* Border Radius */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Layout */
  --container: 1200px;
  --pad: clamp(16px, 4vw, 24px);
  
  /* Animation Timing (Optimiert für Smoothness) */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* easeOutQuad */
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --duration-base: 0.8s;
  --duration-slow: 1.2s;
  
  /* Typography */
  --h1: clamp(2.5rem, 5vw, 4rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: clamp(1.5rem, 2.5vw, 2rem);
  --body: clamp(1rem, 1.1vw, 1.125rem);
}

/* ------------------------------
   Reset & Base Styles
------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ------------------------------
   Container & Layout
------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* ------------------------------
   Typography & Gradients
------------------------------ */
.text-gradient {
  /* Professionellerer Gradient: Corporate Blue zu Gold */
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-alt {
  /* Angepasster Alt-Gradient */
  background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------
   Scroll Progress Bar
------------------------------ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 100ms linear;
}

/* ------------------------------
   Navigation (Glass Effect)
------------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.75), rgba(10, 14, 26, 0.4));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-smooth);
}

.navbar.is-scrolled { /* Klasse von JS geändert */
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.95), rgba(10, 14, 26, 0.7));
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text); /* Sicherstellen, dass der Text weiß/hell ist */
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  /* Angepasster, professionellerer Blauton */
  background: radial-gradient(circle at 30% 30%, rgba(30, 136, 229, 0.3), transparent),
              var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.logo:hover .logo-mark {
  background: radial-gradient(circle at 30% 30%, rgba(30, 136, 229, 0.4), transparent),
              var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.logo-mark svg {
  color: rgba(255, 255, 255, 0.9);
}

.logo-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  /* Badge-Farbe an Primary/Accent angepasst */
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.15), rgba(255, 179, 0, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.3s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Desktop-only CTA Button */
.desktop-only {
  display: block;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1001;
  margin-left: 10px;
}

.menu-toggle:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.menu-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  transition: all 0.4s var(--ease-smooth);
  transform-origin: center;
}

/* Animiertes Hamburger-Icon bei geöffnetem Menü */
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------
   Mobile Menu Overlay (Komplett überarbeitet)
------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.5s var(--ease-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__inner {
  min-height: 100vh;
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

/* Mobile Menu Header */
.mobile-menu__header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

/* Mobile Menu Links */
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.mobile-menu__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease-smooth);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  background: var(--panel-hover);
  border-color: var(--border);
  transform: translateX(8px);
}

.mobile-menu__link:hover::before,
.mobile-menu__link.active::before {
  transform: translateX(0);
}

.mobile-menu__icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Features Chips */
.mobile-menu__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.feature-chip {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-smooth);
}

.feature-chip:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-chip__icon {
  font-size: 1rem;
}

/* CTA Buttons */
.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.mobile-menu__cta-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Contact Info */
.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.mobile-menu__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.mobile-menu__contact-link:hover {
  background: var(--panel-hover);
  border-color: var(--border-light);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* ------------------------------
   Buttons
------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s var(--ease-smooth);
  overflow: hidden;
  border: none;
  text-decoration: none;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.btn-large {
  padding: 15px 24px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 16px 40px rgba(30, 136, 229, 0.25); /* Angepasst an neue Primary-Farbe */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(30, 136, 229, 0.35); /* Angepasst an neue Primary-Farbe */
}

.btn-secondary {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  opacity: 0.9;
  font-size: 1.1em;
}

/* ------------------------------
   Hero Section (mit Hintergrundbild)
------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px var(--pad) 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.7) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0.3) 0%,
    rgba(7, 10, 18, 0.7) 50%,
    rgba(7, 10, 18, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.15); /* Angepasst an neue Primary-Farbe */
}

.hero-title {
  font-size: var(--h1);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  color: var(--text-muted);
  max-width: 850px;
  margin: 0 auto 32px;
  font-weight: 500;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Scroll Hint */
.hero-scrollhint {
  margin-top: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 0.3;
  }
}

.hint {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------
   Stats Section
------------------------------ */
.stats-section {
  padding: 90px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  position: relative;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.stat-card:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ------------------------------
   Section Styles
------------------------------ */
.features,
.services-preview,
.process,
.testimonials,
.cta-section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: var(--h2);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: var(--body);
  font-weight: 500;
}

/* ------------------------------
   Scroll Reveal Animations (Verbessert)
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-base) var(--ease-smooth), 
              transform var(--duration-base) var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered items */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-smooth), 
              transform var(--duration-base) var(--ease-smooth);
  will-change: opacity, transform;
}

/* Delay for staggered items is handled by JS, but we ensure the base transition is smooth */
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   Features Grid
------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: 30px 25px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  margin-bottom: 20px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  /* Angepasst an neue Primary-Farbe */
  background: radial-gradient(circle at 30% 30%, rgba(30, 136, 229, 0.2), transparent),
              var(--panel);
  border: 1px solid var(--border);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-card h3 {
  font-size: var(--h3);
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
}

/* ------------------------------
   Services Preview
------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.service-item:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.service-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.service-item:hover .service-media img {
  transform: scale(1.08);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.1), rgba(7, 10, 18, 0.7));
  pointer-events: none;
}

.service-body {
  padding: 25px;
}

.service-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-body p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.service-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* ------------------------------
   Process / Timeline
------------------------------ */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-step {
  padding: 30px 25px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
}

.timeline-step:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.step-index {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Zusätzliche Animation für Step-Index */
.timeline-step.visible .step-index {
  animation: pop-in 0.5s var(--ease-smooth) forwards;
}

@keyframes pop-in {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.timeline-step h3 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.timeline-step p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
}

/* ------------------------------
   Testimonials
------------------------------ */
.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.testimonials-controls {
  display: inline-flex;
  gap: 10px;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-smooth);
}

.icon-btn:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  padding: 30px 25px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.testimonial-card:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.stars {
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  /* Angepasst an neue Primary-Farbe */
  background: radial-gradient(circle at 30% 30%, rgba(30, 136, 229, 0.2), transparent),
              var(--panel);
  border: 1px solid var(--border);
}

.author strong {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
}

.author span {
  display: block;
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ------------------------------
   CTA Section
------------------------------ */
.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 50px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Angepasst an neue Primary-Farbe */
  background: radial-gradient(600px 400px at 30% 40%, rgba(30, 136, 229, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-left h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-left p {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.cta-right {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.cta-meta {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  padding: 70px 0 30px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.7), rgba(7, 10, 18, 0.95));
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-section a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.92rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------
   To-Top Button
------------------------------ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 900;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
  z-index: 1100;
}

.to-top:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------------
   Responsive Design
------------------------------ */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }
  
  .cta-right {
    justify-items: center;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --h1: clamp(2rem, 6vw, 2.5rem);
    --h2: clamp(1.75rem, 5vw, 2.25rem);
  }
  
  .hero {
    padding: 120px var(--pad) 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .testimonials-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .testimonials-controls {
    align-self: stretch;
    justify-content: space-between;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  
  /* Mobile Menu Optimierungen */
  .mobile-menu__inner {
    padding: 90px 20px 30px;
  }
  
  .mobile-menu__features {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --pad: 16px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .stat-card,
  .feature-card,
  .service-item,
  .timeline-step,
  .testimonial-card {
    padding: 20px;
  }
  
  .cta-card {
    padding: 24px 20px;
  }
  
  /* Mobile Menu Optimierungen */
  .mobile-menu__inner {
    padding: 80px 16px 24px;
  }
  
  .mobile-menu__link {
    padding: 16px;
    font-size: 1rem;
  }
  
  .feature-chip {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  
  .mobile-menu__contact-link {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}

/* ------------------------------
   Body Lock bei offenem Menü
------------------------------ */
body.menu-open {
  overflow: hidden;
}

/* ------------------------------
   Smooth Scroll für Mobile Menu
------------------------------ */
.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-secondary);
}

.mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ------------------------------
   Page Transition Overlay
------------------------------ */
.mobile-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.9) 0%,
    rgba(10, 14, 26, 0.97) 100%
  );
  z-index: -1;
}

/* ------------------------------
   Mobile Menu Animation Keyframes
------------------------------ */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu__link {
  animation: slideInUp 0.5s var(--ease-smooth) backwards;
}

.mobile-menu__link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu__link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu__link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu__link:nth-child(4) { animation-delay: 0.4s; }

.mobile-menu__features {
  animation: slideInUp 0.5s var(--ease-smooth) 0.5s backwards;
}

.mobile-menu__cta {
  animation: slideInUp 0.5s var(--ease-smooth) 0.6s backwards;
}

.mobile-menu__contact {
  animation: slideInUp 0.5s var(--ease-smooth) 0.7s backwards;
}

/* ------------------------------
   Hover Effects Enhancement
------------------------------ */
.mobile-menu__link:hover .mobile-menu__icon {
  transform: scale(1.1);
  transition: transform 0.3s var(--ease-smooth);
}

.mobile-menu__contact-link:hover .contact-icon {
  transform: scale(1.1);
  transition: transform 0.3s var(--ease-smooth);
}

/* ------------------------------
   Active State Enhancement
------------------------------ */
.mobile-menu__link.active {
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.1),
    rgba(255, 179, 0, 0.05)
  );
  border-color: rgba(30, 136, 229, 0.3);
}

/* ------------------------------
   Loading Animation für Buttons
------------------------------ */
.mobile-menu__cta-btn {
  position: relative;
  overflow: hidden;
}

.mobile-menu__cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.mobile-menu__cta-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(30, 30);
    opacity: 0;
  }
}

/* ------------------------------
   Accessibility Focus Styles
------------------------------ */
.mobile-menu__link:focus-visible,
.mobile-menu__contact-link:focus-visible,
.mobile-menu__cta-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ------------------------------
   Dark Mode Enhancement
------------------------------ */
@media (prefers-color-scheme: dark) {
  .mobile-menu {
    background: rgba(5, 8, 16, 0.98);
  }
  
  .mobile-menu__link {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .mobile-menu__link:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* ------------------------------
   High Contrast Mode
------------------------------ */
@media (prefers-contrast: high) {
  .mobile-menu__link {
    border-width: 2px;
  }
  
  .mobile-menu__link.active {
    border-color: var(--primary);
  }
}

/* ------------------------------
   Reduced Motion
------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu__link,
  .menu-toggle,
  .feature-chip,
  .mobile-menu__contact-link {
    transition: none;
    animation: none;
  }
  
  .menu-toggle-line {
    transition: none;
  }
  
  .mobile-menu.is-open {
    transform: none;
  }
}

/* ------------------------------
   Touch Device Optimizations
------------------------------ */
@media (hover: none) and (pointer: coarse) {
  .mobile-menu__link {
    min-height: 60px;
  }
  
  .mobile-menu__contact-link {
    min-height: 50px;
  }
  
  .mobile-menu__cta-btn {
    min-height: 56px;
  }
}