/* Fixed Navigation Styles */
.navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-surface, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body {
  padding-top: 80px; /* Kompensiert die Höhe der fixierten Navigation */
}

.navigation-container1 {
  display: contents;
}

.navigation-navigation-menu-icon {
  width: 28px;
  height: 28px;
}

.navigation-navigation-close-icon {
  width: 28px;
  height: 28px;
}

.navigation-container2 {
  display: none;
}

.navigation-container3 {
  display: contents;
}

.footer-wrapper {
  display: contents;
}

.footer-container {
  display: contents;
}

.home-container1 {
  width: 100%;
  display: block;
  min-height: 100vh;
}

.home-hero-video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  object-fit: cover;
}

.home-container2 {
  display: none;
}

.home-container3 {
  display: contents;
}

.home-container4 {
  display: none;
}

.home-container5 {
  display: contents;
}

.home-container6 {
  right: 50px;
  border: 1px solid #ffffff5c;
  bottom: 30px;
  display: flex;
  z-index: 22;
  position: fixed;
  box-shadow: 5px 5px 10px 0px rgba(31, 31, 31, 0.4);
  min-height: auto;
  align-items: center;
  padding-top: 8px;
  padding-left: 12px;
  border-radius: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  backdrop-filter: blur(6px);
  background-color: rgba(41, 41, 41, 0.41);
}

.home-icon80 {
  width: 24px;
  margin-right: 4px;
}

.home-text2 {
  color: white;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

/* Referenzen Carousel Styles */
.references-section {
  padding: 25px 20px 80px 20px;
  background-color: var(--color-surface, #f9fafb);
  margin-bottom: -1px !important; /* Verhindert Subpixel-Lücken */
  position: relative;
  z-index: 1;
  border: none !important;
  box-shadow: none !important;
}

.references-container {
  max-width: 1200px;
  margin: 0 auto;
}

.references-header {
  text-align: center;
  margin-bottom: 0px; 
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
  background: #eef6ee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px 60px 40px 60px;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.carousel-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-on-surface, #111827);
}

.carousel-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  font-style: italic;
}

/* Navigations-Bereich Carousel */
.carousel-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #374151;
  pointer-events: auto;
  z-index: 10;
}

#carouselPrevBtn {
  left: 20px;
}

#carouselNextBtn {
  right: 20px;
}

.carousel-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #0f2247;
  width: 24px;
  border-radius: 5px;
}

/* Footer-Anpassungen (Trennlinien entfernen) */
.footer-wrapper,
.footer-container,
.footer,
.footer-diagonal-edge,
.footer-wrapper::before,
.footer-wrapper::after,
.footer::before,
.footer::after,
.footer-diagonal-edge::before,
.footer-diagonal-edge::after {
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
  z-index: 99999;
  padding: 20px;
  display: none;
  box-sizing: border-box;
  border-top: 1px solid #e5e7eb;
}

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

.cookie-banner-text {
  font-size: 0.95rem;
  color: #374151;
  margin: 0;
  flex: 1 1 500px;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #0f2247;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-btn-necessary {
  background: transparent;
  border: 1.5px solid #0f2247;
  color: #0f2247;
}

.cookie-btn-necessary:hover {
  background: #f3f4f6;
}

.cookie-btn-all {
  background: #0f2247;
  border: 1.5px solid #0f2247;
  color: #ffffff;
}

.cookie-btn-all:hover {
  background: #1a3670;
  border-color: #1a3670;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .carousel-slide {
    padding: 10px 20px 40px 20px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
  }
  #carouselPrevBtn {
    left: 5px;
  }
  #carouselNextBtn {
    right: 5px;
  }
}

/* Versatz für Anker-Links (Offset für die fixierte Navigation) */
html {
  scroll-padding-top: 105px; /* Muss der Höhe deiner fixierten Navigation entsprechen */
}