/* ============================================================
   BECKER GUSS — Premium Website
   Dark Industrial Luxury Theme
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --text-primary: #f0ece4;
  --text-secondary: #9a958c;
  --text-muted: #5a5650;
  --accent: #1565d8;
  --accent-light: #4a8ad4;
  --accent-dark: #003982;
  --accent-glow: rgba(21, 101, 216, 0.3);
  --accent-subtle: rgba(21, 101, 216, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --danger: #e74c3c;
  --success: #27ae60;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --nav-height: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1280px;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(21, 101, 216, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.01em; }
::selection { background: var(--accent); color: var(--bg-primary); }

/* --- Preloader --- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 80px; height: auto; margin-bottom: 24px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader-bar { width: 200px; height: 2px; background: var(--bg-tertiary); border-radius: 2px; overflow: hidden; }
.preloader-bar::after { content: ''; display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 2px; animation: preloaderSlide 1.2s ease-in-out infinite; }
@keyframes preloaderPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes preloaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(600%); } }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  width: 0%; transition: width 0.1s linear;
}

/* --- Noise Overlay --- */
.noise-overlay {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; transition: transform var(--transition); }
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-secondary); position: relative; padding: 4px 0;
  transition: color var(--transition-fast);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 50px;
  background: var(--accent); color: var(--bg-primary);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--accent-light); color: var(--bg-primary); transform: translateY(-1px); box-shadow: var(--shadow-glow); }

/* Nav Menu Desktop */
.nav-menu { display: flex; align-items: center; gap: 32px; }
.mobile-overlay { display: none; }

/* Mobile Menu */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--text-primary);
  position: absolute; left: 0; transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100vh;
    background: var(--bg-secondary); padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto; border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav-menu.open { right: 0; }
  .nav-links { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
  font-family: var(--font-mono); display: block; padding: 16px 0; font-size: 18px; }
  .nav-links a::after { display: none; }
  .nav-cta {
  font-family: var(--font-mono); width: 100%; justify-content: center; margin-top: 24px; padding: 14px 24px; font-size: 16px; }
  .mobile-overlay {
    display: block;
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
  }
  .mobile-overlay.active { opacity: 1; visibility: visible; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  box-sizing: border-box; width: 100%;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(21, 101, 216, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(21, 101, 216, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }
.hero-badge {
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: var(--accent-subtle); border: 1px solid rgba(21, 101, 216, 0.2);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 32px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 24px; letter-spacing: 0.01em;
  text-transform: uppercase; line-height: 1.1;
  padding-top: 0.1em; overflow: visible;
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-badge {
    font-size: 10px; padding: 6px 12px;
    max-width: calc(100% - 32px);
    white-space: normal; text-align: center;
    word-break: break-word;
  }
  .hero-sub { font-size: 0.95rem; margin-bottom: 32px; padding: 0 8px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
.hero-title .highlight {
  display: block;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 48px; line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: var(--bg-primary);
}
.btn-primary:hover { background: var(--accent-light); color: var(--bg-primary); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.hero-stats {
  display: flex; justify-content: center; gap: clamp(32px, 6vw, 80px);
  margin-top: 72px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--accent-light); display: block; text-align: center;
}
.hero-stat-label {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px;
  display: block; text-align: center; white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-stats { gap: 20px; margin-top: 40px; padding-top: 32px; }
  .hero-stat-label { font-size: 10px; letter-spacing: 0.05em; white-space: normal; }
  .hero-stat-num { font-size: 1.8rem; }
}
.hero-scroll-hint {
  display: none;
}
.hero-scroll-hint .scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
.section { padding: var(--section-pad) 0; position: relative; }
.section-dark { background: var(--bg-secondary); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-label {
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-label::before, .section-label::after { content: ''; width: 24px; height: 1px; background: var(--accent); opacity: 0.4; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; text-transform: uppercase; line-height: 1.05; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

/* ============================================================
   SERVICES / LEISTUNGEN
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: var(--accent-subtle); color: var(--accent); font-size: 24px; margin-bottom: 24px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; font-family: var(--font-display); font-weight: 700; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em;
}
.service-card:hover .service-link { gap: 10px; }

/* ============================================================
   ABOUT / ÜBER UNS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--border);
}
/* Team-Mitarbeiter: schmalere aber höhere (Hochformat) Bilder */
.section-dark .about-grid { grid-template-columns: 0.6fr 1fr; gap: 56px; }
.section-dark .about-image-wrap { aspect-ratio: 3/4; }
.about-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 16px; color: var(--text-muted);
}
.about-image-placeholder svg { width: 80px; height: 80px; opacity: 0.3; }
.about-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(21, 101, 216, 0.1); border-radius: var(--radius-lg);
}
.about-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 24px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.02rem; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; border-radius: var(--radius); background: var(--accent-subtle);
  border: 1px solid rgba(21, 101, 216, 0.1);
}
.about-feature-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--bg-primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.about-feature h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   STATS / COUNTER
   ============================================================ */
.stats-section {
  padding: 80px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(21, 101, 216, 0.05), transparent);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -20px; top: 20%; height: 60%; width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--accent-light);
}
.stat-suffix { font-size: 0.6em; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item::after { display: none; }
}

/* ============================================================
   PROCESS / ABLAUF
   ============================================================ */
.process-steps { position: relative; max-width: 800px; margin: 0 auto; }
.process-line {
  position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: var(--border); z-index: 0;
}
.process-line-fill {
  width: 100%; height: 0%; background: var(--accent);
  transition: height 1s ease;
}
.process-step {
  display: flex; gap: 32px; position: relative; z-index: 1;
  padding-bottom: 48px;
}
.process-step:last-child { padding-bottom: 0; }
.process-num {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--text-muted); transition: all var(--transition);
}
.process-step.active .process-num {
  background: var(--accent); border-color: var(--accent); color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(21, 101, 216, 0.3);
}
.process-step-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.process-step-content p { color: var(--text-secondary); font-size: 0.95rem; }

@media (max-width: 768px) {
  .process-step { gap: 20px; }
  .process-line { left: 20px; }
  .process-num { width: 40px; height: 40px; min-width: 40px; font-size: 0.95rem; }
}

/* ============================================================
   REFERENCES / PROJEKTE
   ============================================================ */
.ref-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.ref-filter-btn {
  padding: 8px 20px; border-radius: 50px; border: 1px solid var(--border);
  background: transparent; color: var(--text-secondary); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--transition-fast);
}
.ref-filter-btn:hover, .ref-filter-btn.active {
  background: var(--accent); color: var(--bg-primary); border-color: var(--accent);
}
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.ref-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-light); }
.ref-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--accent); opacity: 0.3;
  position: relative; overflow: hidden;
}
.ref-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card), transparent 50%);
}
.ref-card-body { padding: 24px; }
.ref-card-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: var(--accent-subtle); color: var(--accent); font-size: 12px;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 12px;
}
.ref-card-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.ref-card-body p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   FAQ (Accordion)
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text-primary); font-size: 1rem; font-weight: 600;
  cursor: pointer; text-align: left; font-family: var(--font-display);
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--accent-light); }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--accent); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; stroke: var(--accent); }
.faq-item.open .faq-icon svg { stroke: var(--bg-primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }

/* ============================================================
   WHY US / VORTEILE
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.benefit-card {
  padding: 32px; border-radius: var(--radius-lg); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--transition);
}
.benefit-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.benefit-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--accent); transition: all var(--transition);
}
.benefit-card:hover .benefit-icon { background: var(--accent); color: var(--bg-primary); }
.benefit-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--section-pad) 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(21, 101, 216, 0.08), rgba(21, 101, 216, 0.02));
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  border-top: 1px solid rgba(21, 101, 216, 0.15);
  border-bottom: 1px solid rgba(21, 101, 216, 0.15);
}
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-inner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CONTACT / KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
}
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-sm);
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px;
}
.contact-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-secondary); font-size: 0.9rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { position: relative; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 15px; font-family: var(--font-body);
  transition: all var(--transition-fast); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-status { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-status.success { display: block; background: rgba(39,174,96,0.1); color: var(--success); border: 1px solid rgba(39,174,96,0.2); }
.form-status.error { display: block; background: rgba(231,76,60,0.1); color: var(--danger); border: 1px solid rgba(231,76,60,0.2); }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- Google Maps --- */
.map-wrap {
  margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.8) brightness(0.7) contrast(1.2); transition: filter var(--transition); }
.map-wrap:hover iframe { filter: grayscale(0.3) brightness(0.8) contrast(1.1); }

/* ============================================================
   NEWS / BLOG
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-light); }
.news-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex; align-items: center; justify-content: center;
}
.news-card-body { padding: 24px; }
.news-card-date { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.news-card-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.news-card-body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.news-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}

/* ============================================================
   KARRIERE / JOBS
   ============================================================ */
.jobs-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--transition); flex-wrap: wrap; gap: 16px;
}
.job-card:hover { border-color: var(--accent); transform: translateX(4px); }
.job-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  background: var(--accent-subtle); color: var(--accent); font-size: 12px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 0 32px; background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer-brand img { height: 40px; margin-bottom: 4px; }
.footer h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); font-size: 13px; }
.footer-bottom a:hover { color: var(--accent-light); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  padding: 20px; background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: 14px; color: var(--text-secondary); }
.cookie-text a { color: var(--accent-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition-fast);
}
.cookie-accept { background: var(--accent); color: var(--bg-primary); }
.cookie-accept:hover { background: var(--accent-light); }
.cookie-decline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.cookie-decline:hover { border-color: var(--text-secondary); color: var(--text-primary); }

@media (max-width: 600px) {
  .cookie-banner { padding: 12px 16px; }
  .cookie-inner { flex-direction: row; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .cookie-text { min-width: 0; flex: 1; }
  .cookie-text p { font-size: 12px; line-height: 1.4; }
  .cookie-actions { flex-direction: column; gap: 8px; flex-shrink: 0; }
  .cookie-btn { width: auto; text-align: center; padding: 9px 16px; font-size: 13px; white-space: nowrap; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */
.legal-page { padding: calc(var(--nav-height) + 60px) 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal-page .legal-subtitle { color: var(--text-muted); margin-bottom: 48px; font-size: 1rem; }
.legal-page h2 { font-size: 1.4rem; margin-top: 48px; margin-bottom: 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-page h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; font-family: var(--font-display); }
.legal-page p, .legal-page li { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page li { margin-bottom: 8px; }
.legal-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.legal-card dt { font-weight: 600; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.legal-card dd { color: var(--text-primary); margin-bottom: 12px; }
.legal-card dd:last-child { margin-bottom: 0; }
.legal-card a { color: var(--accent-light); }

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center; position: relative;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%),
    url('../images/header-sub.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent { color: var(--accent-light); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   PARALLAX
   ============================================================ */
.parallax-bg {
  position: absolute; inset: -20% 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(21, 101, 216, 0.04), transparent 70%);
  will-change: transform;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .cookie-banner, .scroll-progress, .noise-overlay, .preloader { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 20px 0; }
}

/* ============================================================
   MODAL / POPUP
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition-fast);
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); }
.modal-image {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-body { padding: 32px; }
.modal-tag {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  background: var(--accent-subtle); color: var(--accent-light);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
  font-family: var(--font-mono);
}
.modal-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 16px;
}
.modal-body p {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.8;
  margin-bottom: 12px;
}
.modal-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border);
}
.modal-detail-item { }
.modal-detail-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.modal-detail-value { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; }
.modal-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 12px 28px; border-radius: 50px;
  background: var(--accent); color: var(--bg-primary);
  font-weight: 600; font-size: 14px; cursor: pointer; border: none;
  transition: all var(--transition);
}
.modal-cta:hover { background: var(--accent-light); }

/* Job Benefits List */
.job-benefits { list-style: none; padding: 0; margin: 16px 0; }
.job-benefits li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.95rem;
  display: flex; align-items: center; gap: 10px;
}
.job-benefits li::before { content: '✓'; color: var(--accent-light); font-weight: 700; }

/* Ref card with image */
.ref-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  filter: grayscale(0.3) brightness(0.7);
  transition: filter 0.4s, transform 0.5s;
}
.ref-card:hover .ref-card-img {
  filter: grayscale(0) brightness(0.85);
  transform: scale(1.04);
}

/* ============================================================
   HERO VIDEO BACKGROUND
   ============================================================ */
.hero-video {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  pointer-events: none;
  transition: opacity 2s ease;
}
.hero-video.fade-out {
  opacity: 0;
  z-index: 0;
}

/* ============================================================
   HERO BACKGROUND IMAGE (appears after video fades out)
   ============================================================ */
.hero-bg-image {
  position: absolute; inset: 0; z-index: 2;
  background: url('../images/CR6_0238.jpg') center/cover no-repeat;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
  mix-blend-mode: luminosity;
}
.hero-video.fade-out + .hero-bg-image {
  opacity: 0.18;
}
.hero-content {
  position: relative; z-index: 4; text-align: center; max-width: 900px; margin: 0 auto;
  padding: 0 20px; box-sizing: border-box; width: 100%;
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FULL-WIDTH IMAGE BREAK
   ============================================================ */
.image-break {
  width: 100%; overflow: hidden; position: relative;
  max-height: 600px;
}
.image-break img {
  width: 100%; height: 600px; object-fit: cover;
  filter: grayscale(0.3) brightness(0.6);
  transition: filter 0.5s;
}
.image-break:hover img {
  filter: grayscale(0.1) brightness(0.75);
}

/* ============================================================
   GOOGLE MAPS CONSENT OVERLAY (DSGVO)
   ============================================================ */
.map-consent {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); height: 400px;
  background: var(--bg-card);
}
.map-consent-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; background: var(--bg-card);
  text-align: center; padding: 32px;
}
.map-consent-overlay p {
  color: var(--text-secondary); font-size: 0.95rem; max-width: 400px; line-height: 1.7;
}
.map-consent-overlay a { color: var(--accent-light); }
.map-consent-btn {
  padding: 12px 28px; border-radius: 50px;
  background: var(--accent); color: var(--bg-primary);
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  transition: all var(--transition);
}
.map-consent-btn:hover { background: var(--accent-light); }
.map-consent iframe {
  width: 100%; height: 100%; border: none; display: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.2);
}
.map-consent.loaded .map-consent-overlay { display: none; }
.map-consent.loaded iframe { display: block; }

/* ============================================================
   TEXTAREA FIX — remove transition so resize is instant
   ============================================================ */
.form-group textarea {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* ============================================================
   REFERENZEN CARD — max-width when filtered to few items
   ============================================================ */
.ref-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.ref-card {
  max-width: 500px;
}

@media (max-width: 768px) {
  .ref-card { max-width: none; }
}

/* Force reveal children visible when hero-content appears */
.hero-content.visible .reveal,
.hero-content.visible .reveal-left,
.hero-content.visible .reveal-right {
  opacity: 1; transform: translateY(0);
}
.hero-content.visible .hero-badge { transition-delay: 0s; }
.hero-content.visible .hero-title { transition-delay: 0.2s; }
.hero-content.visible .hero-sub { transition-delay: 0.4s; }
.hero-content.visible .hero-actions { transition-delay: 0.6s; }
.hero-content.visible .hero-stats { transition-delay: 0.8s; }

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode {
  --bg-primary: #f2f0ed;
  --bg-secondary: #e8e5e0;
  --bg-tertiary: #ddd9d3;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f5f2;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #999999;
  --accent: #1565d8;
  --accent-light: #1976e6;
  --accent-dark: #003982;
  --accent-glow: rgba(21, 101, 216, 0.15);
  --accent-subtle: rgba(21, 101, 216, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(21, 101, 216, 0.1);
}
body.light-mode .noise-overlay { opacity: 0.015; }
body.light-mode .hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(21, 101, 216, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(21, 101, 216, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
body.light-mode .hero-grid { opacity: 0.03; }
body.light-mode .preloader { background: var(--bg-primary); }
body.light-mode .preloader-logo { filter: invert(1); }
body.light-mode .preloader-bar { background: #ccc; }
body.light-mode .preloader-bar::after { background: var(--accent); }
body.light-mode .navbar.scrolled { background: rgba(242, 240, 237, 0.95); }
body.light-mode .nav-logo img { filter: invert(1); }
body.light-mode .page-hero {
  background: linear-gradient(to bottom, rgba(242,240,237,0.75) 0%, rgba(242,240,237,0.9) 100%), url('../images/header-sub.jpg') center/cover no-repeat;
}
body.light-mode .service-card::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
body.light-mode .map-consent iframe {
  filter: none;
}
body.light-mode .hero-video {
  filter: brightness(0.95);
}
body.light-mode .image-break img {
  filter: grayscale(0.1) brightness(0.9);
}
body.light-mode .stats-section {
  background: linear-gradient(135deg, rgba(21, 101, 216, 0.04), transparent);
}
body.light-mode .cta-section {
  background: linear-gradient(135deg, rgba(21, 101, 216, 0.05), rgba(21, 101, 216, 0.02));
}
body.light-mode .footer {
  background: #111111;
}
body.light-mode .footer,
body.light-mode .footer h4,
body.light-mode .footer p,
body.light-mode .footer a,
body.light-mode .footer li,
body.light-mode .footer-brand p,
body.light-mode .footer-links a,
body.light-mode .footer-bottom p,
body.light-mode .footer-bottom a,
body.light-mode .footer-bottom div a {
  color: #9a958c;
}
body.light-mode .footer h4 { color: #f0ece4; }
body.light-mode .footer-brand img { filter: none; }
body.light-mode .footer-bottom { border-top-color: rgba(255,255,255,0.06); }
body.light-mode .cookie-banner {
  background: rgba(255,255,255,0.97);
}
body.light-mode .cookie-banner p { color: #555; }
body.light-mode .cookie-decline { color: #555; border-color: #ccc; }
body.light-mode .cookie-decline:hover { color: #333; border-color: #999; }
body.light-mode .modal { background: #ffffff; }
body.light-mode .modal-close { background: #f0f0f0; border-color: #ddd; }

/* ============================================================
   THEME TOGGLE + LANG SWITCHER
   ============================================================ */
.nav-utils {
  display: flex; align-items: center; gap: 8px; margin-left: 12px;
}
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
  font-size: 16px; line-height: 1;
}
.theme-toggle:hover {
  background: var(--accent-subtle); border-color: var(--accent);
  color: var(--accent-light);
}
.lang-switcher {
  position: relative;
}
.lang-btn {
  height: 36px; padding: 0 12px; border-radius: 50px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; transition: all var(--transition-fast);
  font-family: var(--font-body);
}
.lang-btn:hover {
  background: var(--accent-subtle); border-color: var(--accent);
  color: var(--accent-light);
}
.lang-btn svg { width: 12px; height: 12px; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px; max-height: 360px; overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  box-shadow: var(--shadow-md); 
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s ease; z-index: 100;
}
.lang-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: block; width: 100%; padding: 10px 16px;
  background: none; border: none; color: var(--text-secondary);
  font-size: 13px; cursor: pointer; text-align: left;
  font-family: var(--font-body); transition: all 0.15s;
}
.lang-option:hover { background: var(--accent-subtle); color: var(--text-primary); }
.lang-option.active { color: var(--accent-light); font-weight: 600; }

@media (max-width: 1024px) {
  .nav-utils { position: absolute; top: 50%; right: 70px; transform: translateY(-50%); }
}

/* Lang dropdown scroll for many languages */
.lang-dropdown {
  max-height: 350px; overflow-y: auto;
}
.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* Lang option as links */
a.lang-option {
  display: block; width: 100%; padding: 10px 16px;
  background: none; color: var(--text-secondary);
  font-size: 13px; cursor: pointer; text-align: left;
  font-family: var(--font-body); transition: all 0.15s;
  text-decoration: none;
}
a.lang-option:hover { background: var(--accent-subtle); color: var(--text-primary); }
a.lang-option.active { color: var(--accent-light); font-weight: 600; }

/* ============================================================
   Tap-to-Play Button (Mobile Video)
   ============================================================ */
.video-tap-btn {
  display: none; /* standardmäßig versteckt */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  padding: 16px 32px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.video-tap-btn.visible {
  display: flex;
}
.video-tap-btn:hover,
.video-tap-btn:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%) scale(1.04);
  outline: none;
}
.video-tap-btn svg {
  flex-shrink: 0;
}
