:global(html) {
    scroll-behavior: smooth;
  }

  :global(body) {
    overflow-x: hidden;
  }

  :global(*:focus-visible) {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }

  /* Skeleton loading */
  .skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
  }

  @keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Button press effect */
  .btn {
    transition: transform 0.1s ease, box-shadow 0.2s ease !important;
  }

  .btn:active {
    transform: scale(0.97);
  }

  .hero-section {
    min-height: 50vh;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
  }
  
  .hero-gradient {
    position: absolute;
    inset: 0;
    background: 
      radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  }
  
  .hero-card {
    animation: float-down 6s ease-in-out infinite;
  }
  
  @keyframes float-down {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
  }
  
  .service-card {
    transition: all 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
  }
  
  .process-card {
    transition: all 0.3s ease;
  }
  
  .process-card:hover {
    transform: translateY(-5px);
  }
  
  .bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  }
  
  .bg-gradient-light {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  }
  
  .contact-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .contact-card:hover {
    transform: scale(1.05);
  }
  
  .navbar {
    backdrop-filter: blur(10px);
  }
  
  .navbar.bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-toggler {
    border: none !important;
  }

  /* Section spacing for better breathing room */
  #services,
  #about,
  #process,
  #contact {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  /* Card inner spacing and typography consistency */
  .service-card .card-body,
  .process-card .card-body {
    padding: 2.5rem;
  }

  .service-card h4,
  .process-card h4 {
    margin-bottom: 1rem;
  }

.service-card p,
  .process-card p {
    margin-bottom: 0;
  }

  /* -----------------------------
      Consistent hover states
  ------------------------------*/

  /* Primary hero & outline buttons */
  .btn-primary,
  .btn-light,
  .btn-outline-light,
  .btn-outline-primary {
    transition: all 0.2s ease-in-out;
  }

  .btn-primary:hover,
  .btn-light:hover,
  .btn-outline-light:hover,
  .btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.25);
  }

  /* Navbar links */
  .navbar .nav-link {
    transition: color 0.15s ease-in-out;
  }

  .navbar.navbar-dark .nav-link {
    color: #ffffff;
  }

  .navbar.navbar-dark .nav-link:hover {
    color: #e5e7eb;
  }

  .navbar.navbar-light .nav-link:hover {
    color: #1d4ed8;
  }

  /* Service cards & "Learn more" links */
  .service-card a.text-primary {
    transition: color 0.15s ease-in-out;
  }

  .service-card a.text-primary:hover {
    color: #1d4ed8;
  }

  /* Contact cards hover refinement (build on existing) */
  .contact-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.3);
  }

  /* -----------------------------
     Icon sizes & consistency
  ------------------------------*/

  /* Larger icons for services & process */
  .service-icon i,
  .process-card i {
    font-size: 2.5rem; /* ~fs-1 */
  }

  /* Medium icons for navigation / contact / feature boxes */
  .contact-card i,
  footer i,
  .feature-icon i {
    font-size: 1.5rem; /* ~fs-2 */
  }

  /* -----------------------------
     Mobile navbar enhancements
  ------------------------------*/

  @media (max-width: 991.98px) {
    .navbar {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }

    /* Nutze das Standard-Bootstrap-Icon, nur mit leichtem Rahmen */
    .navbar-toggler {
      border-radius: 999px;
      padding: 0.25rem 0.6rem;
      border-width: 1px;
    }

    .navbar.navbar-dark .navbar-toggler {
      border-color: rgba(255, 255, 255, 0.7);
    }

    .navbar.navbar-light .navbar-toggler {
      border-color: rgba(15, 23, 42, 0.5);
    }

    /* Leichtes Ein-/Ausblenden des Menüs */
    .navbar .navbar-collapse {
      margin-top: 0.75rem;
      border-radius: 0.75rem;
      padding: 0.75rem 1rem;
      transform-origin: top;
      transform: scaleY(0.97);
      opacity: 0;
      transition: transform 0.16s ease-out, opacity 0.16s ease-out;
    }

    .navbar .navbar-collapse.show {
      transform: scaleY(1);
      opacity: 1;
    }

    .navbar.navbar-dark .navbar-collapse {
      background: rgba(15, 23, 42, 0.96);
    }

    .navbar.navbar-light .navbar-collapse {
      background: rgba(255, 255, 255, 0.98);
    }

    .navbar .nav-link {
      padding: 0.5rem 0;
    }

    .navbar .nav-item.ms-lg-3 {
      margin-left: 0 !important;
      margin-top: 0.5rem;
    }

    .navbar .btn {
      width: 100%;
      text-align: center;
    }
  }

  /* Section spacing for better breathing room */
  #services,
  #about,
  #process,
  #contact {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  /* Card inner spacing and typography consistency */
  .service-card .card-body,
  .process-card .card-body {
    padding: 2.5rem;
  }

  .service-card h4,
  .process-card h4 {
    margin-bottom: 1rem;
  }

.service-card p,
  .process-card p {
    margin-bottom: 0;
  }

  /* Fade in up animation */
  .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

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

  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }

  /* Service card skeleton */
  .skeleton-card {
    height: 280px;
  }

  /* Lazy load image */
  .lazy-image {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .lazy-image.loaded {
    opacity: 1;
  }

  /* Form field focus enhancement */
  .form-control:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  }