* {
  margin: 0;
  padding: 0;
  font-family: "Calibri";
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align text and image vertically */
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px; /* Adds space from the top of the page */
    padding-left: 35px;
  }
  
  .text-content {
    flex: 1;
    padding-right: 30px;
    max-width: 550px; /* Restricts the width of the text */
  }
  
  .text-content h2 {
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .text-content h3 {
    color: #333;
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .text-content p {
    color: black;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
  }
  
  .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 20px; /* Adds space between the image and text */
    padding-bottom: 40px;
  }
  
  .image-content img {
    width: 400px; /* Make the image fill the width of the card */
    height: auto;
    overflow: hidden; /* Ensure image fits within the card */
    border-radius: 20px;
  }


  

  .cta-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto 0; /* Space between main content and CTA cards */
    padding-bottom: 50px; 
  }

  .cta-card {
    flex: 1;
    background-color: #C4CC46;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin: 0 20px; /* Margin between the cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .cta-card img {
    width: 100%; 
    height: auto;
  }
  
  .cta-card-content {
    padding: 15px;
  }
  
  .cta-card h3 {
    color: black;
    font-size: 30px;
    margin-bottom: 10px;
  }
  
  .cta-card p {
    color: black;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: justify;
  }
  
  .cta-card:hover {
    transform: translateY(-20px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
  }



 .Kunden-header {
    margin-left: 55px;
    margin-bottom: 50px;
}

/* Centering Wrapper */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30vh; /* Center vertically */
  margin-bottom: 70px;
}

/* Container to hold the carousel and buttons */
.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 800px; /* Control width of the entire carousel area */
}

/* Carousel Styles */
.carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%; /* Fit to the container */
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: calc(200px * 12); /* 6 images * 2 for duplicates */
}

.carousel-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Button Styles */
.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  z-index: 1;
}

.carousel-button.left {
  left: -40px; /* Position to the left of the container */
}

.carousel-button.right {
  right: -40px; /* Position to the right of the container */
}

  footer {
    background-color: #D9D9D9;
    padding: 40px 20px;
    color: #333;
    font-family: Arial, sans-serif;
    border-top: 1px solid #ccc;
    margin-top: 20px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo {
    width: 30%;
  }
  
  .footer-logo img {
    max-width: 250px;
  }
  
  .footer-logo p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
  }
  
  .footer-btn {
    display: inline-block;
    background-color: #cedc00;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
  }
  
  .footer-links, .footer-contact {
    width: 30%;
  }
  
  .footer-links h3, .footer-contact h3 {
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  .footer-links ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-links ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-links ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .footer-contact a {
    color: #333;
    text-decoration: none;
  }
  
  .footer-contact a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #8e8e8e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
  }
  
  .footer-bottom a {
    color: #333;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }

/* For screens smaller than 992px (tablet-sized screens) */
@media (max-width: 991px) {
  .content-container {
    flex-direction: column; /* Stack content and image vertically */
    padding-left: 20px; /* Add padding to the left */
    padding-right: 20px; /* Add padding to the right */
    margin: 0; /* Remove margins */
    width: 100%; /* Make sure content fills the screen */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .text-content, .image-content {
    max-width: 100%; /* Ensure the text and image content take up full width */
    padding-right: 0; /* Remove right padding */
    margin: 20; /* Remove margin */
    width: 100%; /* Make sure they fill available space */
  }

  .cta-container {
    flex-direction: column; /* Stack CTA cards vertically */
    padding-bottom: 20px; /* Adjust padding */
    margin: 0; /* Remove margin */
    width: 100%; /* Ensure the container fills the screen */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .cta-card {
    margin: 5px 0; /* Adjust margins between the cards */
    width: 100%; /* Ensure cards take full width */
    margin-left: auto; /* Center card */
    margin-right: auto; /* Center card */
  }

  .carousel-container {
    width: 100%; /* Allow carousel container to be full-width */
    margin: 0; /* Remove margin */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .carousel-track {
    width: 100%; /* Adjust carousel track width */
  }

  .footer-container {
    flex-direction: column; /* Stack footer sections vertically */
    text-align: center; /* Center the content */
    margin: 0; /* Remove margin */
    width: 100%; /* Ensure sections take full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .footer-logo, .footer-links, .footer-contact {
    width: 100%; /* Ensure sections take full width */
    margin-bottom: 15px; /* Adjust spacing between footer sections */
  }

  .footer-bottom {
    flex-direction: column; /* Stack footer bottom items vertically */
    text-align: center; /* Center the text */
    margin: 0; /* Remove margin */
    width: 100%; /* Ensure it takes full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }
}

/* For screens smaller than 768px (mobile-sized screens) */
@media (max-width: 767px) {
  /* Adjust the content container */
  .content-container {
    padding-left: 20px;  /* Decrease left padding */
    padding-right: 20px; /* Decrease right padding */
  }

  /* Adjust the CTA container to make it responsive */
  .cta-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin: 40px auto 0;
    padding-bottom: 50px;
    gap: 20px; /* Add gap between the cards */
  }

  /* Adjust the size of the CTA cards */
  .cta-card {
    background-color: #C4CC46;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 240px; /* Set a minimum width to prevent folding */
    max-width: 300px; /* Set a maximum width so they don’t grow too big */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
  }

  .cta-card img {
    width: 100%;
    height: auto;
  }

/* Adjust the image and text above the CTA cards */
.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
  margin-bottom: 30px; /* Add margin below the image */
}

.image-content img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

.text-content {
  flex: 1;
  padding-right: 40px;
  padding-left: 40px; /* Add more padding to the left side */
  max-width: 550px;
  margin-bottom: 30px; /* Add margin below the text */
}

  .footer-container {
    flex-direction: column; /* Stack footer sections vertically */
    text-align: center; /* Center the content */
    margin: 0; /* Remove margin */
    width: 100%; /* Ensure sections take full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .footer-logo, .footer-links, .footer-contact {
    width: 100%; /* Ensure sections take full width */
    margin-bottom: 15px; /* Adjust spacing between footer sections */
  }

  .footer-bottom {
    flex-direction: column; /* Stack footer bottom items vertically */
    text-align: center; /* Center the text */
    margin: 0; /* Remove margin */
    width: 100%; /* Ensure it takes full width */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }
}

/* topnav implementaiton */
/*
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
*/
/* Main navigation bar */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-bottom: 2px solid #C4CC46;
  padding: 10px -10px;
  position: relative;
  z-index: 1000; /* Ensures navbar stays above other elements */
}

/* Logo Styling */
.logo-container {
  flex-grow: 1;
}

.logo {
  width: 120px;
  height: auto;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Menu Items */
.topnav a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 14px;
  transition: all 0.3s;
}

.topnav a:hover {
  color: #C4CC46;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown .dropbtn {
  font-size: 18px;
  border: none;
  background-color: inherit;
  color: black;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.3s;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 8px 0; /* Slightly reduced padding */
}

/* Dropdown Links */
.dropdown-content a {
  display: block;
  color: black;
  padding: 12px 18px; /* Reduced padding slightly */
  text-decoration: none;
  text-align: left;
  font-size: 16px;
  line-height: 1.6; /* Adjusted line height */
}

/* Hover Effect */
.dropdown-content a:hover {
  color: #C4CC46;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Flag styling */
.flagge {
  padding: 6px 12px;
}

.flagge img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  cursor: pointer;
}

/* Burger Menu (Mobile) */
.topnav .icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .topnav {
    flex-direction: row;
    position: relative;
  }

  /* Adjusts menu for mobile to avoid overlapping logo */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px; /* Moves the menu below the logo */
    right: 0;
    background-color: white;
    border-top: 2px solid #C4CC46;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 10px; /* Ensures logo is not covered */
  }

  /* Show menu when burger is tapped */
  .topnav.responsive .nav-links {
    display: flex;
  }

  .topnav .icon {
    display: block;
  }
}

html, body {
  overflow-x: hidden;  /* Prevent horizontal scrolling */
  width: 100%;          /* Ensure full width */
  height: 100%;         /* Ensure full height */
}
