/* ===== MINIMAL DESIGN SYSTEM ===== */
/* Inspiriert von thecebras.com - Clean, Minimal, Professional */

:root {
  /* Minimal Color Palette */
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-gray-50: #fafafa;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #d4d4d4;
  --color-gray-400: #a3a3a3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;
  
  /* Accent Color - Clean Blue */
  --color-accent: #0066FF;
  --color-accent-hover: #0052CC;
  --color-accent-light: rgba(0, 102, 255, 0.1);
  
  /* Light Mode (Default) */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-gray-50);
  --bg-tertiary: var(--color-gray-100);
  --text-primary: var(--color-black);
  --text-secondary: var(--color-gray-600);
  --text-tertiary: var(--color-gray-400);
  --border-color: var(--color-gray-200);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  /* Dark Mode */
  --bg-primary: var(--color-black);
  --bg-secondary: var(--color-gray-900);
  --bg-tertiary: var(--color-gray-800);
  --text-primary: var(--color-white);
  --text-secondary: var(--color-gray-400);
  --text-tertiary: var(--color-gray-500);
  --border-color: var(--color-gray-800);
  --shadow-sm: 0 1px 2px rgba(255, 255, 255, 0.05);
  --shadow-md: 0 4px 6px rgba(255, 255, 255, 0.07);
  --shadow-lg: 0 10px 15px rgba(255, 255, 255, 0.1);
}

/* ===== DARK MODE ICON INVERSION ===== */
[data-theme="dark"] .trust-icon,
[data-theme="dark"] .benefit-icon,
[data-theme="dark"] .feature-icon,
[data-theme="dark"] .industry-icon,
[data-theme="dark"] .contact-method img,
[data-theme="dark"] .contact-button img {
  filter: invert(1) brightness(2);
}

/* Optional: Adjust opacity for better blending in dark mode */
[data-theme="dark"] .trust-icon,
[data-theme="dark"] .feature-icon {
  opacity: 0.9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
  /*background: var(--bg-primary);*/
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative; 
  z-index: 10;
}

#main-content-wrapper {
    background: var(--bg-primary);    
    position: relative;
    z-index: 10; 
    min-height: 100vh;
	will-change: transform, opacity;
}

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

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-accent);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10001;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Z-INDEX SYSTEM (FIXED) ===== */
/* Verhindert Überlappungen */
.main-nav { z-index: 1000; }
.controls-bar { z-index: 999; }
.sticky-cta { z-index: 998; }
.floating-contact { z-index: 997; }
.privacy-overlay { z-index: 10; }

/* ===== NAVIGATION ===== */
/* ===== NAVIGATION (ANIMATION READY) ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Hintergrund auf transparent setzen, damit der Glow durchscheint */
  background: transparent !important; 
  border-bottom: 1px solid var(--border-color);
  /* Der Blur-Effekt sorgt für die hochwertige Optik über dem Glow */
  backdrop-filter: blur(15px); 
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Optional: Ein sehr dezenter Farbschleier, damit weißer Text lesbar bleibt */
[data-theme="light"] .main-nav {
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .main-nav {
  background: rgba(0, 0, 0, 0.05) !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav-logo img:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-nav-cta {
  background: var(--color-accent);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-nav-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== THEME & LANGUAGE CONTROLS (FIXED Z-INDEX) ===== */
.controls-bar {
  position: fixed;
  top: 100px; /* Moved down to avoid nav overlap */
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999; /* Below nav, above content */
}

.theme-toggle,
.lang-toggle {
  width: 44px;
  height: 44px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.theme-icon {
  font-size: 1.25rem;
}

.lang-text {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
  margin-top: 70px;
  padding: 4rem 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Erhöht von 0.03 auf z.B. 0.4 für bessere Sichtbarkeit */
  opacity: 0.4; 
  /* Entfernen Sie den Graustufen-Filter, falls Sie Farben sehen möchten */
  filter: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Ein dunkler Verlauf verbessert den Kontrast zum Text */
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-gradient {
  color: var(--color-accent);
  position: relative;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--color-white);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.cta-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.cta-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.cta-value {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.trust-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ===== SECTION BASE ===== */
section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.7;
}

/* Container für die Voice-Demo innerhalb der Slide */
.voice-demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Erhöht, damit das Widget Platz hat */
    position: relative;
    background: var(--bg-secondary);
    overflow: visible !important; /* Wichtig, damit das Widget nicht beschnitten wird */
}

.voice-widget-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Falls das Widget standardmäßig 'fixed' ist, zwingen wir es in den Container */
elevenlabs-convai {
    position: static !important; /* 'static' oder 'relative' statt 'fixed' */
    margin: 0 auto;
}

.voice-loading-hint {
    position: absolute;
    top: 20px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* ===== SLIDER CORE ===== */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 60px; /* Space for arrows */
}

.demo-slide .demo-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Gleiches Verhältnis wie im Original */
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Verhindert, dass der Chatbot-Frame die Slide sprengt */
.demo-slide .chatbot-frame {
    width: 100%;
    min-width: 0; /* Wichtig für Grid-Layouts */
    max-height: 600px;
    overflow: hidden; /* Verhindert doppelte Scrollbalken */
}

/* Fix für die Slider-Breite */
.slider-container {
    display: flex;
    width: 100%;
    align-items: start;
}

.demo-slide {
    flex: 0 0 100%; /* Jede Slide ist exakt 100% breit */
    width: 100%;
    padding: 20px;
	flex: 0 0 100%;
    width: 100%;
    margin: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    min-height: 600px;
    position: relative;
    transition: border-color 0.3s ease;
}

/* Verhindert das "Untereinander-Laden" des Widgets */
.n8n-chat-widget {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.slide-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.slide-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== MOBILE SLIDER OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .slider-wrapper {
    padding: 0 10px; /* Kleiner Puffer an den Seiten */
  }

  .slider-container {
    overflow-x: auto; /* Aktiviert horizontales Scrollen */
    scroll-snap-type: x mandatory; /* Erzeugt den "Snap"-Effekt beim Wischen */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }

  .demo-slide {
    scroll-snap-align: center; /* Zentriert die Slide beim Wischen */
    padding: 10px;
  }

  /* Pfeile auf Mobilgeräten wieder dezent einblenden */
  .slider-nav {
    display: flex !important; 
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  .slider-nav.prev { left: 5px; }
  .slider-nav.next { right: 5px; }

  /* Visueller Hinweis: Schatten am Rand zeigt, dass es weitergeht */
  .slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 5;
  }
}

/* Touch-Indikator Animation */
.swipe-indicator {
  display: none;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  animation: pulse 2s infinite;
}

@media (max-width: 768px) {
  .swipe-indicator { display: block; }
}

@keyframes pulse {
  0% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(10px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.5; }
}

/* Sicherstellen, dass die Slide-Inhalte sauber unter dem Header liegen */
.demo-slide .demo-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 968px) {
  .demo-slide .demo-layout {
    grid-template-columns: 1fr; /* Stapeln auf mobilen Geräten */
  }
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.slider-nav:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.slider-nav.prev { left: 0; }
.slider-nav.next { right: 0; }

/* Pagination Dots */
.slider-dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: var(--color-gray-300);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-accent);
  width: 25px; /* Pill shape */
  border-radius: 10px;
}

@media (max-width: 768px) {
  .slider-wrapper { padding: 0; }
  .slider-nav { display: none; } /* Use swipe/dots on mobile */
}

/* ===== DARK MODE SLIDER ARROWS ===== */
[data-theme="dark"] .slider-nav {
  background: var(--bg-tertiary); /* Nutzt das dunkle Grau aus deinem System */
  border-color: var(--color-gray-700);
  color: var(--color-white); /* Pfeile werden weiß */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .slider-nav:hover {
  background: var(--color-accent); /* Behält das Blau beim Hover bei */
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Fix für die Dots (Punkte) im Darkmode */
[data-theme="dark"] .dot {
  background-color: var(--color-gray-700);
}

[data-theme="dark"] .dot.active {
  background-color: var(--color-accent);
}

/* ===== DEMO SECTION ===== */

.demo-section {
  background: var(--bg-primary);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.chatbot-frame {

}

.chatbot-frame:hover {
  border-color: var(--color-accent);
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== PRIVACY OVERLAY ===== */
.privacy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 8px;
}

.privacy-overlay.hidden {
  display: none;
}

.privacy-content {
  text-align: center;
  max-width: 400px;
  padding: 2rem;
}

.privacy-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.privacy-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-accept {
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-accept:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-decline {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-decline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  background: var(--bg-primary);
  border: 2px solid var(--color-accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-price {
  text-align: center;
  margin-bottom: 2rem;
}

.price-setup,
.price-monthly {
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  letter-spacing: -1px;
}

.price-label {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.feature-check {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-roi {
  background: var(--color-accent-light);
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-roi strong {
  display: block;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pricing-roi span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 0.875rem 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-pricing:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-pricing-featured {
  background: var(--color-accent);
  color: white;
  border: 1px solid var(--color-accent);
}

.btn-pricing-featured:hover {
  background: var(--color-accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-guarantee {
  margin-top: 4rem;
  text-align: center;
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.pricing-guarantee h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-guarantee p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== AUTOMATION SECTION ===== */
.automation-section {
  background: var(--bg-primary);
  padding: 6rem 0;
}

.automation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.automation-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.automation-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.automation-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.automation-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.automation-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.automation-stats {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.stat-highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ===== INDUSTRY SECTION ===== */
.industry-section {
  background: var(--bg-secondary);
  padding: 6rem 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.industry-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.industry-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.industry-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.industry-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.industry-benefits li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.industry-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.industry-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.industry-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
}

.industry-stat .stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: var(--bg-primary);
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -1.5px;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.process-steps {
  display: grid;
  /* Erzwingt exakt 4 Spalten nebeneinander */
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: 1200px; /* Erhöht für bessere Lesbarkeit in der Breite */
  margin-left: auto;
  margin-right: auto;
}

.step {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: left;
}

.step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cta-note {
  font-size: 0.95rem;
  margin-top: 3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-method {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-method:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
footer {
  background: #17171721 !important;
  color: var(--text-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-col p,
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.copyright {
  margin-top: 1rem;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* ===== FOOTER VISIBILITY FIX ===== */
footer {
  position: relative;
  z-index: 20; /* Höher als der Maus-Glow (2) und der Content (10) */
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Sicherstellen, dass die Überschriften im Footer hell/dunkel genug sind */
.footer-col h4 {
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Links im Footer */
.footer-col a {
  color: var(--text-secondary) !important;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--color-accent) !important;
}

/* Copyright Bereich */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding-top: 2rem;
  background: transparent !important;
}

/* Icons8 Credit */
.icons8-credit {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.icons8-credit a {
  color: var(--text-tertiary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.icons8-credit a:hover {
  color: var(--color-accent);
}

/* ===== FLOATING CONTACT BUTTONS (FIXED Z-INDEX) ===== */
.floating-contact {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 997; /* Below controls-bar */
}

.contact-button {
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid var(--border-color);
  position: relative;
}

.contact-button:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.1);
}

.contact-button img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.contact-button:hover img {
  opacity: 1;
}

/* ===== STICKY CTA BUTTON (FIXED Z-INDEX) ===== */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 998; /* Below controls-bar, above floating-contact */
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.sticky-cta button {
  background: var(--color-accent);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sticky-cta button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* ===== ACCESSIBILITY ===== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-step {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr); /* 2x2 Layout auf Tablets */
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .controls-bar {
    top: 80px;
    right: 1.5rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 0;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .features-grid,
  .automation-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-featured {
    transform: none;
  }

  .contact-methods {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-method {
    width: 100%;
    justify-content: center;
  }

  .floating-contact {
    right: 1rem;
    bottom: 1rem;
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(100px);
  }

  .sticky-cta.visible {
    transform: translateX(0) translateY(0);
  }

  .sticky-cta button {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .process-steps {
    grid-template-columns: 1fr; /* Untereinander auf Handys */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-button {
    width: 44px;
    height: 44px;
  }

  .contact-button img {
    width: 18px;
    height: 18px;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
img[loading="lazy"] {
  background: var(--bg-secondary);
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .controls-bar,
  .floating-contact,
  .sticky-cta,
  .main-nav,
  .hero-video {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}

/* ===== SUBTLE HOVER EFFECTS ===== */
.feature-card,
.benefit-card,
.automation-card,
.industry-card,
.testimonial-card,
.pricing-card {
  position: relative;
}

.feature-card::after,
.benefit-card::after,
.automation-card::after,
.industry-card::after,
.testimonial-card::after,
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover::after,
.benefit-card:hover::after,
.automation-card:hover::after,
.industry-card:hover::after,
.testimonial-card:hover::after,
.pricing-card:hover::after {
  opacity: 1;
}


/* ===== BACKGROUND & GLOW SYSTEM ===== */

/* ===== UNIVERSAL GLOW SYSTEM ===== */

.mouse-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  will-change: transform;
}

/* Light Mode: Dunkleres Blau, damit es auf Weiß sichtbar ist */
[data-theme="light"] .mouse-glow {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  /* 'darken' sorgt dafür, dass das Blau auf weißem Grund erscheint */
  mix-blend-mode: multiply; 
}

/* Dark Mode: Helleres, leuchtendes Blau */
[data-theme="dark"] .mouse-glow {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.4) 0%, transparent 70%);
  /* 'screen' lässt das Blau auf schwarzem Grund leuchten */
  mix-blend-mode: screen; 
}

/* Transparenz-Sicherheit für Inhalts-Sektionen */
#main-content-wrapper, 
section, 
.hero,
.social-proof-section,
.features-section,
.industry-section,
.automation-section {
  background: transparent !important;
}

/* Der Container für alles im Hintergrund */
.bg-animation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1; /* Ganz unten */
  background-color: var(--bg-primary);
  overflow: hidden;
  pointer-events: none;
}

/* Der Glow selbst */
.mouse-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  z-index: 2; /* Über den Dots, aber unter dem Content */
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0; /* Wird per JS auf 0.8 oder 0.9 gesetzt */
  will-change: transform;
  transition: opacity 0.3s ease;
}

/* WICHTIG: Damit der Glow sichtbar ist, muss der Content-Wrapper transparent sein */
#main-content-wrapper {
  background: transparent !important;
  position: relative;
  z-index: 10; /* Höher als der Glow */
}