

:root {
  
  --c-green: #22c55e;
  --c-green-dark: #16a34a;
  --c-green-light: #4ade80;
  --c-green-rgb: 34, 197, 94;

  --c-navy: #0a0e27;
  --c-navy-deep: #051428;
  --c-navy-mid: #0a1a3d;
  --c-navy-soft: #0f1f44;

  --c-text: #ffffff;
  --c-text-muted: #cbd5e1;
  --c-text-dim: #9ca3af;

  --c-green-glow: rgba(34, 197, 94, 0.35);
  --c-surface: rgba(10, 14, 39, 0.7);
  --c-border: rgba(34, 197, 94, 0.3);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: #22c55e;
  color: #0a0e27;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

[data-lang="en"] {
  display: none !important;
}
[data-lang="de"] {
  display: inline;
}

div[data-lang="de"], section[data-lang="de"], p[data-lang="de"], 
article[data-lang="de"], header[data-lang="de"], footer[data-lang="de"] {
  display: block;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  width: 100%;
}

body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #051428 0%, #0a1a3d 50%, #0f1f44 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

main { padding-top: 72px; width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; letter-spacing: -0.01em; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; line-height: 1.6; }

a { color: #22c55e; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #16a34a; }
a:focus { outline: 2px solid #22c55e; outline-offset: 2px; }

.container, .container-narrow { margin: 0 auto; padding: 0 1.5rem; }
.container { max-width: 1200px; }
.container-narrow { max-width: 800px; }
.section { padding: 4rem 0; position: relative; z-index: 10; width: 100%; }

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: none;
  border-top: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-height: 72px; 
}

.nav-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.nav-bar:hover::after {
  opacity: 1;
  height: 3px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 150px; 
  transition: opacity 0.3s ease;
}

.nav-logo:hover img { opacity: 0.8; }
.nav-logo:focus { outline: 2px solid #22c55e; outline-offset: 4px; border-radius: 4px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #22c55e;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.nav-menu::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  color: rgba(229, 231, 235, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  transition:
    color 0.25s ease,
    background 0.25s ease;
  line-height: 1.5;
  min-height: 2.1rem;
}

.nav-link:not(.nav-link-cta)::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.nav-link:not(.nav-link-cta):hover::after,
.nav-link:not(.nav-link-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-link-cta {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  color: #22c55e !important;
  font-weight: 600;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.15));
  border-color: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-primary.cta-button,
.btn-secondary {
  text-align: center;
  box-sizing: border-box;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 993px) {
  .cta-container .btn-primary.cta-button,
  .cta-container .btn-secondary {
    width: 48%; 
  }
}

@media (max-width: 992px) {
  .cta-container {
    flex-direction: column;
  }
  .cta-container .btn-primary.cta-button,
  .cta-container .btn-secondary {
    width: 100%; 
  }
}

.nav-dropdown { 
  position: relative;
}

.nav-dropdown-toggle {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
  font: inherit;
  color: inherit;
}

.nav-dropdown-toggle svg { 
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.active .nav-dropdown-toggle svg { 
  transform: rotate(180deg); 
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(10, 14, 39, 0.98);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1001;
  pointer-events: none;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #e5e7eb; 
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-left-color: #22c55e;
}

.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-sep {
  height: 1px;
  margin: 0.4rem 0;
  background: rgba(34, 197, 94, 0.18);
}

.nav-dropdown-label {
  display: block;
  padding: 0.45rem 1rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  pointer-events: none;
}

.nav-dropdown-item--accent {
  color: #4ade80;
  font-weight: 600;
}

.nav-lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(34, 197, 94, 0.2);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: transparent;
  color: #86efac; 
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #22c55e;
}

.lang-btn:hover { border-color: #22c55e; }

.btn {
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
  color: #000;
}

.btn-primary:focus {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

.btn-primary:disabled, .btn-primary.disabled {
  background: linear-gradient(135deg, #666666 0%, #555555 100%);
  color: #999999;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.6;
}

.btn-secondary:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
  color: #86efac; 
}

.card {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 40, 0.8) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.card-title { font-size: 1.5rem; color: #22c55e; margin-bottom: 0.75rem; }
.card-description { color: #e5e7eb; line-height: 1.6; } 

.badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #22c55e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; color: #e5e7eb; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.95rem; } 

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }
.form-error, .form-success { font-size: 0.875rem; margin-top: 0.25rem; }
.form-error { color: #ff4444; }
.form-success { color: #22c55e; }

.footer {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 7, 20, 0.98) 100%);
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-main {
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.footer-about {
  grid-column: span 1;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.footer-tagline {
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-contact-info {
  margin-top: 1rem;
}

.footer-contact-info p {
  margin-bottom: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact-info a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #16a34a;
  text-decoration: underline;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(34, 197, 94, 0.2);
  padding-bottom: 0.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
  font-size: 0.9rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #22c55e;
}

.footer-links a:hover {
  color: #22c55e;
  padding-left: 20px;
  transform: translateX(2px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

.footer-certifications {
  color: #d1d5db;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
}

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .footer-about {
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-heading {
    text-align: center;
    font-size: 0.95rem;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-certifications {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 0 1rem;
  }

  .footer-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-certifications {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.5);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 1rem 1.5rem;
  max-height: 40vh;
  overflow-y: auto;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  color: #e5e7eb; 
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1, .mt-2, .mt-3, .mt-4 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1, .mb-2, .mb-3, .mb-4 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1, .gap-2, .gap-3, .gap-4 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.text-primary { color: #22c55e; }
.text-secondary { color: #e5e7eb; } 
.text-muted { color: #c5cad1; } 

[data-lang="en"], div[data-lang="en"], section[data-lang="en"] { display: none; }
[data-lang="de"] { display: inline; }
div[data-lang="de"], section[data-lang="de"] { display: block; }

.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;
}

:root { --site-max-width: 1200px; }

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

@media print {
  
  .nav-bar, .footer, .cookie-banner, .cookie-banner-slim,
  .lang-toggle, .nav-toggle, .skip-link,
  .orb, .nebula-glow, .stars-layer, .stars-twinkle-canvas,
  .hero-grid, .space-bg, .hero-layers,
  #cookieBanner, #cookieModal { display: none !important; }

  body { background: #fff !important; color: #000 !important; font-size: 12pt; line-height: 1.5; }
  main { padding-top: 0 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }

  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; color: #000 !important; }
  section, .card, .info-card, .service-card { page-break-inside: avoid; }
  p { orphans: 2; widows: 2; }
  img { max-width: 100% !important; }
}

@media (max-width: 992px) {
  html { 
    font-size: 14px;
  }

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2300;
  }

  .nav-menu-placeholder {
    display: none;
  }

  .nav-logo {
    flex: 0 0 auto;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.5rem;
    background: rgba(9, 13, 32, 0.985);
    color: #e8edf4;
    transform: translateY(-6%);
    opacity: 0;
    pointer-events: none;
    transition: transform 360ms cubic-bezier(.22,.9,.3,1), opacity 280ms ease;
    z-index: 2000;
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .nav-menu .nav-link {
    padding: 1rem 0;
    font-size: 1.15rem;
    text-align: center;
    color: inherit;
  }

  .nav-menu .nav-link-cta {
    margin: 1rem auto 0;
    background: none !important;
    color: #e8edf4 !important;
    border: none !important;
    border-radius: 0;
    padding: 0.85rem 1.25rem;
    width: auto;
    max-width: none;
    text-align: center;
    font-weight: 600;
  }

  .nav-dropdown {
    display: block !important;
    width: 100%;
  }

  /* Only clickable once the menu is actually open — otherwise the invisible
     menu sits over the navbar and swallows taps on the logo. */
  .nav-menu.mobile-open .nav-dropdown,
  .nav-menu.mobile-open .nav-dropdown-toggle,
  .nav-menu.mobile-open .nav-dropdown-menu {
    pointer-events: auto;
  }

  .nav-dropdown-toggle {
    padding: 1rem 0;
    font-size: 1.15rem;
    text-align: center;
    color: #e8edf4;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    display: flex;
  }

  .nav-dropdown-toggle svg {
    display: inline-block !important;
    margin-left: 0;
    transition: transform 0.3s ease;
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    min-width: 0;
    width: 100%;
    margin: 0 0 0.25rem !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 680px;
    background: rgba(34, 197, 94, 0.06) !important;
    border-color: rgba(34, 197, 94, 0.14) !important;
  }

  .nav-dropdown-menu .nav-dropdown-item {
    text-align: center;
    color: #e8edf4;
    padding: 0.8rem 0.5rem;
    border-left: none;
    white-space: normal;
  }

  .nav-dropdown-menu .nav-dropdown-item:first-child { padding-top: 1rem; }
  .nav-dropdown-menu .nav-dropdown-item:last-child { padding-bottom: 1rem; }

  .nav-dropdown-menu .nav-dropdown-item:hover,
  .nav-dropdown-menu .nav-dropdown-item:active {
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
    border-left: none;
  }

  .nav-dropdown-sep {
    margin: 0.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-dropdown-label {
    text-align: center;
    padding: 0.5rem 0.5rem 0.2rem;
  }

  .nav-dropdown-item--accent {
    color: #4ade80;
    font-weight: 700;
  }

  .nav-lang-toggle {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem auto 0;
    padding: 0;
    border: none;
    justify-content: center;
    width: 100%;
  }

  .lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-bar.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-bar.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-bar.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .cookie-banner { padding: 1rem; z-index: 1800; }
  .cookie-content { flex-direction: column; flex-wrap: wrap; gap: 1rem; }
  .cookie-text { flex: 1; font-size: 0.8rem; line-height: 1.4; word-wrap: break-word; overflow-wrap: break-word; }
  .cookie-actions { flex-direction: column; gap: 0.5rem; width: 100%; }
  .cookie-actions .btn { padding: 0.5rem 1rem; font-size: 0.85rem; width: 100%; }

  /* Full page menu below the navbar — navbar stays on top, burger morphs to X */
  .mobile-nav-overlay {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background:
      radial-gradient(ellipse 90% 40% at 50% 0%, rgba(34, 197, 94, 0.07), transparent 70%),
      rgba(7, 11, 28, 0.96);
    color: #e8edf4;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 300ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  @supports (backdrop-filter: blur(16px)) {
    .mobile-nav-overlay {
      background:
        radial-gradient(ellipse 90% 40% at 50% 0%, rgba(34, 197, 94, 0.07), transparent 70%),
        rgba(7, 11, 28, 0.86);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
  }

  /* Solid navbar while the menu is open so both read as one surface */
  .nav-bar.menu-open {
    background: rgba(7, 11, 28, 0.98);
    box-shadow: none;
  }
  .nav-bar.menu-open::after { opacity: 0; }

  .mobile-nav-overlay .nav-menu {
    position: relative;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    color: inherit;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1.8rem 1.4rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .mobile-nav-overlay .nav-link,
  .mobile-nav-overlay .nav-dropdown-toggle {
    color: #e8edf4;
    text-align: center;
    width: 100%;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 0.95rem 1rem;
    border-radius: 12px;
  }
  .mobile-nav-overlay .nav-link:hover,
  .mobile-nav-overlay .nav-link:active,
  .mobile-nav-overlay .nav-dropdown-toggle:hover {
    background: rgba(34, 197, 94, 0.09);
    color: #4ade80;
  }
  .mobile-nav-overlay .nav-link:not(.nav-link-cta)::after { display: none; }

  /* Staggered entrance for menu items */
  .mobile-nav-overlay .nav-menu > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-nav-overlay.open .nav-menu > * {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-nav-overlay.open .nav-menu > :nth-child(1) { transition-delay: 40ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(2) { transition-delay: 90ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(3) { transition-delay: 140ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(4) { transition-delay: 190ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(5) { transition-delay: 240ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(6) { transition-delay: 290ms; }

  .mobile-nav-overlay .nav-link-cta {
    background: none !important;
    color: #e8edf4 !important;
    border: none !important;
  }

  .mobile-nav-overlay .nav-dropdown-toggle svg {
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-nav-overlay .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .mobile-nav-overlay .nav-dropdown-menu {
    display: block !important;
  }

  .mobile-nav-overlay .nav-lang-toggle {
    justify-content: center;
    width: 100%;
    margin: 1.6rem auto 0;
    padding: 1.4rem 0 0;
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .mobile-nav-overlay .lang-btn {
    color: #e8edf4;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: transparent;
    border-radius: 999px;
  }
  .mobile-nav-overlay .lang-btn.active {
    color: #06210f;
    background: #22c55e;
    border-color: #22c55e;
    font-weight: 700;
  }

  .mobile-nav-overlay.closing { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .mobile-nav-overlay.open { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav-overlay,
    .mobile-nav-overlay .nav-menu > * { transition: none; }
  }
}

.nav-bar.dark, .nav-bar.service-dark {
  background: linear-gradient(180deg, rgba(10, 14, 39, 1) 0%, rgba(10, 14, 39, 0.82) 100%);
}
.nav-bar.service-dark .nav-link { color: #d1d5db; }
.nav-bar.service-dark .nav-link:hover { color: #22c55e; }
.nav-bar.service-dark .nav-link-cta { background: rgba(34, 197, 94,0.06); border: 1px solid rgba(34, 197, 94,0.12); }

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    margin-top: 0;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.nav-item.dropdown .dropdown-toggle {
    pointer-events: auto;
    cursor: pointer;
}

@media (min-width: 992px) {
    .nav-item.dropdown > a.nav-link {
        pointer-events: auto;
    }
}

@media (max-width: 991px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }
}

@media (max-width: 768px) {
  .benefit-card {
    grid-column: span 1 !important; 
    width: 100%; 
  }
}

.page-dots {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(34, 197, 94, 0.07) 1px, transparent 1.6px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}
@media (forced-colors: active) {
  .page-dots { display: none; }
}

.footer-funding {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.9rem 0 1.7rem;
}
.footer-funding-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.55);
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.footer-funding-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
}
.footer-funding-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: footer-funding-scroll 34s linear infinite;
  animation-play-state: paused;
}
.footer-funding-marquee.is-visible .footer-funding-track {
  animation-play-state: running;
}
.footer-funding-marquee:hover .footer-funding-track {
  animation-play-state: paused;
}
.footer-funding-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 3.6rem;
}
.footer-funding-link:focus-visible {
  outline: 2px solid var(--c-green, #22c55e);
  outline-offset: 4px;
  border-radius: 4px;
}
.footer-funding-logo {
  height: 30px;
  width: auto;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.48;
  transition: opacity 0.25s ease;
}
.footer-funding-link:hover .footer-funding-logo,
.footer-funding-link:focus-visible .footer-funding-logo { opacity: 0.95; }
@keyframes footer-funding-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-funding-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.4rem;
  }
}
@media (max-width: 600px) {
  .footer-funding-logo { height: 24px; }
  .footer-funding-link { margin-right: 2.4rem; }
}
