/* Font Faces */
@font-face {
  font-family: 'Poppins Thin';
  src: url('../font/poppins/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins Light';
  src: url('../font/poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins Regular';
  src: url("../font/poppins/Poppins-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins Semi';
  src: url("../font/poppins/Poppins-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins Black';
  src: url("../font/poppins/Poppins-Black.ttf");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Light';
  src: url("../font/roboto/Roboto-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Regular';
  src: url('../font/roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Eigenes Grund-Branding */

body {
  font-family: 'Roboto Light', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
}

body p {
  font-size: 18px;
  font-family: 'Roboto Light';
  line-height: 1.6;
}

h1 {
  font-family: 'Poppins Regular';
  line-height: 1.2;
}

h2 {
  font-family: 'Poppins Regular';
  line-height: 1.3;
  font-weight: 600;
}

h3 {
  font-family: 'Roboto Regular';
  line-height: 1.4;
}

/* Hero Section Background */
.hero-section {
  position: relative;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    background-image: url("../img/bg-ki-mobile.webp");
    background-size: auto 800px;
  }
}
@media (min-width: 769px) {
  .hero-section {
  background: #16222E url("../img/bg-ki.webp") no-repeat center 40px;
  background-size: auto 1400px;
  }
}


/* All main sections with same styling as hero */
body > section:not(.hero-section) {
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body > section:not(.hero-section).visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections without bg-light get dark blue background with white text */
body > section.py-5:not(.bg-light):not(.datenzelt) {
  background-color: #16222E;
  color: #ffffff;
}

body > section.py-5:not(.bg-light):not(.datenzelt) h1,
body > section.py-5:not(.bg-light):not(.datenzelt) h2,
body > section.py-5:not(.bg-light):not(.datenzelt) h3,
body > section.py-5:not(.bg-light):not(.datenzelt) p {
  color: #ffffff;
}

/* Accordion Grid Container */
.accordion-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image Section */
.image-section {
  position: relative;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}

.image-section img,
.image-section picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-section img.active,
.image-section picture.active img {
  opacity: 1;
}

.image-section picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Custom Accordion Styling */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border: none !important;
  border-bottom: 1px solid #333 !important;
  background: transparent !important;
  position: relative;
  border-radius: 0 !important;
}

.accordion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: #EBFD41;
  transition: height 0.3s ease;
  z-index: 1;
}

.accordion-item:has(.accordion-collapse.show)::before {
  height: 100%;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  display: flex;
  align-items: center;
  padding: 30px 30px 30px 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

.accordion-button:not(.collapsed) {
  background: transparent !important;
  color: #ffffff !important;
}

.accordion-button::after {
  display: none;
}

.accordion-button svg {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  padding: 13px;
  background: #0f0f0f;
  border-radius: 50%;
  flex-shrink: 0;
}

.accordion-button svg path {
  fill: #EBFD41;
}

.accordion-body {
  padding: 0 20px 30px 90px !important;
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
  background: transparent !important;
}

.accordion-collapse {
  border: none !important;
}

/* Navigation styling */
.hero-section .navbar {
  max-width: 1700px;
  margin: 50px auto 0;
  padding: 10px 60px;
}

.hero-section .navbar .container-fluid {
  padding: 0;
  max-width: 100%;
}

.hero-section .navbar .navbar-nav {
  padding-top: 10px;
}

.hero-section .navbar-brand img {
  width: 230px;
  height: auto;
}

/* Hero content positioning */
.hero-section .container {
  max-width: 1700px;
  margin-top: 80px;
  padding-top: 0 !important;
  padding-left: 60px;
  padding-right: 60px;
}

/* Hero Section Heading */
.hero-section h1 {
  line-height: 1.0;
  margin-bottom: 10px;
}

.hero-section h2 {
  margin-top: 0;
}

/* Hero Buttons - New rounded style */
.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  margin-top: 30px;
  padding-bottom: 40px;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 12px 54px;
  font-size: 1.85rem;
  font-family: 'Poppins Regular';
  font-weight: 400;
  border-radius: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 180px;
  text-align: center;
}

.btn-icon {
  width: 32px;
  height: 32px;
}

.btn-icon-footer {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #EBFD41 0%, #4A9EFF 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(74, 158, 255, 0.5);
  background: linear-gradient(135deg, #F0FF50 0%, #6BB3FF 100%);
  color: #1a1a1a;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero Button on light background */
.btn-hero-dark {
  background: #EBFD41;
  border: none;
  box-shadow: 0 4px 15px rgba(235, 253, 65, 0.4);
}

.btn-hero-dark:hover {
  background: #F0FF50;
  box-shadow: 0 6px 25px rgba(235, 253, 65, 0.5);
}

/* Secondary button on light background */
.btn-hero-dark-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.btn-hero-dark-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

/* Proxmox hero button - dark orange glassmorphism */
.btn-hero-proxmox {
  background: rgba(183, 115, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(183, 115, 16, 0.4);
}

.btn-hero-proxmox .btn-icon {
  filter: brightness(0) invert(1);
}

.btn-hero-proxmox:hover {
  background: rgba(183, 115, 16, 0.95);
  box-shadow: 0 6px 25px rgba(183, 115, 16, 0.5);
  color: #fff;
}

/* VMware Migration hero button */
.btn-hero-migration {
  background: linear-gradient(135deg, #EBFD41 0%, #b794f6 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 15px rgba(183, 148, 246, 0.4);
}

.btn-hero-migration:hover {
  background: linear-gradient(135deg, #EBFD41 0%, #b794f6 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(183, 148, 246, 0.4);
}

/* VMware Migration card button - dark glassmorphism */
.btn-migration-card {
  background: rgba(60, 60, 60, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-migration-card .btn-icon {
  filter: brightness(0) invert(1);
}

.btn-migration-card:hover {
  background: rgba(60, 60, 60, 0.95);
  color: #fff;
}

/* VMware Migration card button - white */
.btn-migration-card-white {
  background: #fff;
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-migration-card-white:hover {
  background: #fff;
  color: #1a1a1a;
}

/* Proxmox Freiheit card button */
.btn-proxmox-freiheit {
  padding: 10px 32px;
  font-size: 1.1rem;
  font-family: 'Poppins Regular';
  font-weight: 400;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-proxmox-freiheit:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

@media (max-width: 768px) {
  .btn-proxmox-freiheit {
    border-radius: 14px;
    padding: 8px 24px;
    font-size: 1rem;
  }
}

/* Footer Button */
.btn-footer-primary {
  padding: 6px 32px;
  font-size: 1.5rem;
  font-family: 'Poppins Regular';
  font-weight: 400;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #EBFD41 0%, #d4e637 100%);
  color: #1a1a1a;
  border: none;
}

.btn-footer-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 253, 65, 0.4);
  color: #1a1a1a;
}

/* Contact Hero Buttons */
.btn-contact-hero {
  padding: 12px 28px;
  font-size: 1rem;
  font-family: 'Poppins Regular';
  font-weight: 400;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#1a1a1a, #1a1a1a), linear-gradient(135deg, #EBFD41 0%, #b794f6 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-contact-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 148, 246, 0.3);
  color: #fff;
}

/* Footer Button Proxmox style */
.btn-footer-proxmox {
  background: rgba(183, 115, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(183, 115, 16, 0.4);
}

.btn-footer-proxmox .btn-icon-footer {
  filter: brightness(0) invert(1);
}

.btn-footer-proxmox:hover {
  background: rgba(183, 115, 16, 0.95);
  box-shadow: 0 6px 25px rgba(183, 115, 16, 0.5);
  color: #fff;
}

/* Footer Button Migration style */
.btn-footer-migration {
  background: linear-gradient(135deg, #EBFD41 0%, #b794f6 100%);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 15px rgba(183, 148, 246, 0.4);
}

.btn-footer-migration:hover {
  background: linear-gradient(135deg, #EBFD41 0%, #b794f6 100%);
  color: #1a1a1a;
}

/* Schulung hero button - black */
.btn-hero-schulung {
  background: #1a1a1a;
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-hero-schulung .btn-icon {
  filter: brightness(0) invert(1);
}

.btn-hero-schulung:hover {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 6px 25px rgba(183, 148, 246, 0.5);
  transform: translateY(-2px);
}

/* Footer Button Schulung style */
.btn-footer-schulung {
  background: #1a1a1a;
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-footer-schulung .btn-icon-footer {
  filter: brightness(0) invert(1);
}

.btn-footer-schulung:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Hero Buttons - Responsive */
@media (max-width: 768px) {
  .hero-section .col-lg-10 {
    text-align: center;
  }

  .hero-section h1 {
    margin-top: 30px;
  }

  .hero-section h2 {
    margin-bottom: 0 !important;
  }

  .hero-section p.lead {
    margin-top: 5px !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 20px;
    padding-bottom: 20px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 8px 32px !important;
    font-size: 1.1rem !important;
    white-space: nowrap;
    border-radius: 18px !important;
    min-width: 160px !important;
    text-align: center !important;
  }

  .btn-footer-primary {
    padding: 8px 32px !important;
    font-size: 1.1rem !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    gap: 8px !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 7px 18px !important;
    font-size: 0.95rem !important;
    border-radius: 16px !important;
    min-width: auto !important;
  }

  .btn-footer-primary {
    padding: 7px 28px !important;
    font-size: 1.05rem !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 375px) {
  .hero-buttons {
    gap: 6px !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 6px 14px !important;
    font-size: 0.9rem !important;
    border-radius: 14px !important;
    min-width: auto !important;
  }

  .btn-footer-primary {
    padding: 6px 24px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }
}

/* Hero Buttons - Legacy SVG style (for other pages) */
.hero-button-desktop {
  display: flex;
  align-items: center;
  width: 110%;
  margin-top: 50px;
  padding-bottom: 60px;
}

.hero-button-second-desktop {
  margin-left: 15px;
}

.hero-button-first-desktop img,
.hero-button-second-desktop img {
  width: 280px;
  transition: transform 0.3s ease;
}

@media (min-width: 571px) {
  .hero-button-first-desktop img[src*="vmware-migration.svg"] {
    width: 360px;
  }
}

.hero-button-first-desktop img:hover,
.hero-button-second-desktop img:hover {
  transform: scale(1.05);
}

/* Navigation link styling */
.hero-section .navbar .nav-link {
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
  font-weight: 600;
}

.hero-section .navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #EBFD41;
  transition: width 0.3s ease;
}

.hero-section .navbar .nav-link:hover {
  color: #EBFD41 !important;
}

.hero-section .navbar .nav-link:hover::after {
  width: 100%;
}

/* Responsive margins for hero section */
@media (min-width: 843px) and (max-width: 1200px) {
  .hero-section,
  body > section:not(.hero-section) {
    margin: 15px;
  }
  .hero-section .navbar {
    padding: 10px 80px;
    margin-top: 30px;
  }
  .hero-section .navbar-brand img {
    width: 180px;
  }
  .hero-section .container {
    margin-top: 40px;
    padding-left: 80px;
    padding-right: 80px;
  }
  .hero-button-desktop {
    margin-top: 40px;
    padding-bottom: 30px;
  }
  .hero-button-first-desktop img,
  .hero-button-second-desktop img {
    width: 300px;
  }
}

@media (min-width: 712px) and (max-width: 842px) {
  .hero-section,
  body > section:not(.hero-section) {
    margin: 10px;
  }
  .hero-section .navbar {
    padding: 10px 40px;
    margin-top: 20px;
  }
  .hero-section .navbar-brand img {
    width: 150px;
  }
  .hero-section .container {
    margin-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero-button-desktop {
    margin-top: 30px;
    padding-bottom: 20px;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }
  .hero-button-first-desktop,
  .hero-button-second-desktop {
    margin-left: 0;
  }
  .hero-button-first-desktop img,
  .hero-button-second-desktop img {
    width: 240px;
  }
}

@media (min-width: 571px) and (max-width: 711px) {
  .hero-section,
  body > section:not(.hero-section) {
    margin: 5px;
  }
  .hero-section .navbar {
    padding: 8px 12px;
    margin-top: -15px;
  }
  .hero-section .navbar-brand img {
    width: 150px;
  }
  .hero-section .container {
    margin-top: 20px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-button-desktop {
    margin-top: 25px;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
    justify-content: center;
    gap: 15px;
  }
  .hero-button-first-desktop,
  .hero-button-second-desktop {
    margin-left: 0;
  }
  .hero-button-first-desktop img,
  .hero-button-second-desktop img {
    width: 260px;
  }
}

@media (max-width: 570px) {
  .hero-section,
  body > section:not(.hero-section) {
    margin: 5px;
  }
  .hero-section .navbar {
    padding: 8px 10px;
    margin-top: -15px;
    display: flex;
    align-items: center;
  }
  .hero-section .navbar .container-fluid {
    display: flex;
    align-items: center;
  }
  .hero-section .navbar-brand {
    margin-top: 0;
    padding-top: 0;
  }
  .hero-section .navbar-brand img {
    width: 140px;
  }
  .hero-section .container {
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero-button-desktop {
    margin-top: 40px;
    padding-bottom: 10px;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .hero-button-first-desktop,
  .hero-button-second-desktop {
    margin-left: 0;
  }
  .hero-button-first-desktop img,
  .hero-button-second-desktop img {
    width: 180px;
  }

  .hero-button-first-desktop img[src*="vmware-migration.svg"] {
    width: 360px;
  }
}

/* Extra small devices (Fairphone, small smartphones) */
@media (max-width: 400px) {
  .hero-button-desktop {
    margin-top: 30px;
    padding-bottom: 10px;
    gap: 8px;
  }
  .hero-button-first-desktop img,
  .hero-button-second-desktop img {
    width: 150px;
  }
  .hero-button-first-desktop img[src*="vmware-migration.svg"] {
    width: 300px;
  }
}

@media (max-width: 570px) {
  /* Mobile text adjustments - Modern typography */
  .hero-section h1 {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    font-weight: 600;
  }

  .hero-section h2 {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.95;
  }

  .hero-section p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
  }

  /* Hide line breaks on mobile except for h1 */
  .hero-section h2 br,
  .hero-section p br {
    display: none;
  }
}

/* Burger Menu Styles */
.burger-menu {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  padding: 5px 16px 10px;
  gap: 12px;
  transition: all 0.3s ease;
  background: transparent;
  border-radius: 8px;
  border: none;
}

.burger-menu:hover {
  background: transparent;
}

.burger-menu::before {
  content: '';
  font-family: 'Poppins Regular';
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  transition: color 0.3s ease;
}

.burger-menu:hover::before {
  color: #EBFD41;
}

.burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger-menu span {
  width: 24px;
  height: 2px;
  background-color: #FAFFDD;
  margin: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-3px, 4px);
}

.burger-menu.active span:nth-child(2) {
  transform: rotate(45deg) translate(-3px, -4px);
}

.burger-menu.active {
  position: fixed;
  right: 20px;
  top: 30px;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-color: rgba(235, 253, 65, 0.4);
}

.burger-menu.active::before {
  content: '';
}

.burger-menu.active span {
  background-color: #EBFD41 !important;
  width: 24px;
}

.burger-menu.active:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(235, 253, 65, 0.6);
}

.burger-menu.active:hover span {
  background-color: #FFFFFF !important;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: -100%;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: #000;
  backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  opacity: 0;
  transition: top 0.6s ease-out, opacity 0.6s ease-out;
  overflow-y: auto;
  padding-top: 120px;
  padding-bottom: 40px;
}

.mobile-menu.active {
  top: 0;
  opacity: 1;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 20px;
}

.mobile-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.mobile-menu.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.active ul li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active ul li:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.active ul li:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.active ul li:nth-child(4) { transition-delay: 0.14s; }
.mobile-menu.active ul li:nth-child(5) { transition-delay: 0.17s; }
.mobile-menu.active ul li:nth-child(6) { transition-delay: 0.20s; }

.mobile-menu ul li a {
  display: block;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins Regular';
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  position: relative;
}

.mobile-menu ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, #EBFD41, #FFD700);
  transition: height 0.25s ease;
  border-radius: 0 2px 2px 0;
}

.mobile-menu ul li a::after {
  content: '→';
  position: absolute;
  right: 30px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.25s ease;
  color: #EBFD41;
  font-size: 18px;
}


/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Show burger menu on mobile, hide regular nav */
@media (max-width: 1024px) {
  .burger-menu {
    display: flex;
  }

  .navbar-collapse {
    display: none !important;
  }


  /* Accordion grid to single column on mobile */
  .accordion-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-section {
    height: 400px;
  }

  /* Modern typography for sections on mobile */
  section h2 {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }

  section .lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  section p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Reduce shadow strength globally */
.shadow {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Card Styling to match old design */
.card {
  background-color: #16222E;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  min-height: 250px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body .mb-4 {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 20px;
}

.card-body .mb-4 img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.card-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-text {
  color: #B8C5D0;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
  font-weight: 300;
}

/* DatenZelt Section Styling */
section.datenzelt {
  background-color: #F6F6F6;
  color: #000000;
}

.datenzelt-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.datenzelt .left-box {
  max-width: 450px;
  flex-shrink: 0;
}

.datenzelt .left-box h2 {
  font-family: 'Poppins Semi';
  font-size: 30px;
  color: #000000;
  margin-bottom: 20px;
}

.datenzelt .left-box .lead {
  font-family: 'Roboto Light';
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

.datenzelt .right-box {
  max-width: 750px;
  flex: 1;
}

.datenzelt .right-box .lead {
  font-family: 'Roboto Light';
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.datenzelt .right-box p {
  font-family: 'Roboto Light';
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

/* Responsive for datenzelt section */
@media (max-width: 842px) {
  .datenzelt-section {
    flex-direction: column;
    gap: 30px;
  }

  .datenzelt .left-box,
  .datenzelt .right-box {
    max-width: 100%;
  }

  .datenzelt .left-box h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .datenzelt .left-box .lead,
  .datenzelt .right-box .lead,
  .datenzelt .right-box p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 570px) {
  .datenzelt .left-box h2 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }

  .datenzelt .left-box .lead {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
  }

  .datenzelt .right-box .lead,
  .datenzelt .right-box p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Footer Styling */
.footer {
  background: #FFFFFF;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.footer-big-box {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 20px 30px 20px;
  box-sizing: border-box;
}

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

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-title {
  margin-bottom: 15px;
}

.footer-title p {
  font-family: 'Poppins Light';
  font-size: 50px;
  color: #000000;
  line-height: 1;
  margin: 0;
}

.footer-button {
  margin-bottom: 30px;
}

.footer-button img {
  width: 280px;
  height: auto;
  transition: transform 0.3s ease;
}

.footer-button img:hover {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 50px;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  font-family: 'Roboto Light';
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #EBFD41;
}

/* Footer responsive */
@media (max-width: 842px) {
  .footer {
    margin: 10px;
  }

  .footer-title p {
    font-size: 50px;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-button img {
    width: 260px;
  }

  .footer-links a {
    font-size: 12px;
  }
}

@media (max-width: 570px) {
  .footer {
    margin: 5px;
  }

  .footer-title p {
    font-size: 38px;
  }

  .footer-logo img {
    width: 140px;
  }

  .footer-button img {
    width: 150px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Beispiel: eigene Akzentfarbe */
.btn-primary {
  background-color: #0069d9;
  border-color: #0062cc;
}

/* Responsive hero text sizes for mobile */
@media (max-width: 768px) {
  .hero-section h1.display-3 {
    font-size: 2.5rem !important;
  }
  .hero-section h2.h4 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .hero-section h1.display-3 {
    font-size: 2rem !important;
  }
  .hero-section h2.h4 {
    font-size: 1rem !important;
  }
}

/* Responsive typography for all pages */
@media (max-width: 768px) {
  h1.display-3 {
    font-size: 2.5rem !important;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  h2.display-4 {
    font-size: 2rem !important;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  h2.display-5 {
    font-size: 1.75rem !important;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

/* iPhone 11 and similar devices (around 414px) */
@media (max-width: 480px) {
  h1.display-3 {
    font-size: 2.25rem !important;
  }

  h2.display-4 {
    font-size: 1.875rem !important;
  }

  h2.display-5 {
    font-size: 1.625rem !important;
  }
}

/* Small smartphones (under 375px) */
@media (max-width: 375px) {
  h1.display-3 {
    font-size: 2rem !important;
  }

  h2.display-4 {
    font-size: 1.75rem !important;
  }

  h2.display-5 {
    font-size: 1.5rem !important;
  }
}

/* Limit image height in card-body mb-4 */
.card-body .mb-4 img {
  max-height: 210px;
}

/* Fancy card styling for feature cards */
.card.h-100.shadow[style*="background-color: #4a4a4a"] {
  background: linear-gradient(135deg, #7a7a7a 0%, #6a6a6a 100%) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(235, 253, 65, 0.1) !important;
}

.card.h-100.shadow[style*="background-color: #4a4a4a"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EBFD41 0%, #b794f6 100%);
}

.card.h-100.shadow[style*="background-color: #4a4a4a"]:hover {
  box-shadow: 0 10px 30px rgba(235, 253, 65, 0.2) !important;
}

/* Icon styles for cards */
.ki-card .card-body,
.intro-card .card-body {
  text-align: center;
}

/* Exception: KI Introduction section cards should be left-aligned */
.ki-intro .intro-card .card-body {
  text-align: left;
}

.icon-workshop::before,
.icon-hypothesen::before,
.icon-validation::before,
.icon-prototype::before,
.icon-launch::before,
.icon-improvement::before,
.icon-erfahrung::before,
.icon-kosteneinsparung::before,
.icon-leidenschaft::before,
.icon-verwaltung::before,
.icon-massgeschneidert::before,
.icon-dsgvo::before,
.icon-qualitaet::before,
.icon-volle-kontrolle::before,
.icon-schulung-live::before,
.icon-schulung-support::before,
.icon-schulung-team::before,
.icon-schulung-flexible::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-workshop::before {
  background-image: url("../img/people-carry-box-regular-full.svg");
}

.icon-hypothesen::before {
  background-image: url("../img/check.svg");
}

.icon-validation::before {
  width: 80px;
  height: 80px;
  background-image: url("../img/microchip-regular-full.svg");
}

.icon-prototype::before {
  width: 80px;
  height: 80px;
  background-image: url("../img/cauldron-regular-full.svg");
}

.icon-launch::before {
  width: 90px;
  height: 90px;
  background-image: url("../img/rocket-vertical-regular-full.svg");
}

.icon-improvement::before {
  background-image: url("../img/flask.svg");
}

.icon-erfahrung::before {
  background-image: url("../img/tree-deciduous-regular-full.svg");
}

.icon-kosteneinsparung::before {
  width: 90px;
  height: 90px;
  background-image: url("../img/sack-dollar-regular-full.svg");
}

.icon-leidenschaft::before {
  background-image: url("../img/fire-flame-regular-full.svg");
}

.icon-verwaltung::before {
  background-image: url("../img/gear-code-regular-full.svg");
}

.icon-massgeschneidert::before {
  background-image: url("../img/fingerprint-regular-full.svg");
}

.icon-dsgvo::before {
  background-image: url("../img/shield-halved-sharp-regular-full.svg");
}

.icon-qualitaet::before {
  background-image: url("../img/hands-holding-diamond-regular-full.svg");
}

.icon-volle-kontrolle::before {
  background-image: url("../img/lock-regular-full.svg");
}

.icon-schulung-live::before {
  background-image: url("../img/badge-check-sharp-regular-full.svg");
}

.icon-schulung-support::before {
  background-image: url("../img/comment-regular-full.svg");
}

.icon-schulung-team::before {
  background-image: url("../img/screen-users-regular-full.svg");
}

.icon-schulung-flexible::before {
  background-image: url("../img/gear-regular-full.svg");
}