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

.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;
  }
}
  
  
  .about-us {
    margin: 0 auto;
    padding: 50px 20px;
    max-width: 1200px;
  }
  
  /* Hero Section */
  .hero-section {
    text-align: center;
    background: linear-gradient(90deg,#8ba30492, #C4CC46);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
  }
  
  .hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 30px;
    line-height: 1.5;
  }
  
  /* Content Block */
  .content-container {
    margin-top: 40px;
    
  }
  
  .content-block {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .content-block-2 {
    
    margin-bottom: 40px;
  }
  
  .content-block.reverse {
      display: flex;
      flex-direction: column;
  }
  
  .content-block img {
    width: 100%;
    height: 10%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .content-block .text {
    width: 100%;
    padding: 20px;
    text-align: justify;
  }
  
  .content-block-2 .text {
    width: 100%;
    padding: 20px;
    text-align: justify;
  }
  
  .content-block h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #C4CC46;
  }
  
  .content-block-2 h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #C4CC46;
  }
  
  .content-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0px;
    color: #C4CC46;
  }
  
  .content-block-2 h3 {
    font-size: 1.2rem;
    margin-bottom: 0px;
    color: #C4CC46;
  }
  
  .content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
  }
  
    .content-block-2 p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
  }
  
   .content-block-2 ul {
    font-size: 16px;
    line-height: 1.3;
    color: #555;
  }

  .image-container {
    flex: 1.5;
  }
  
  .image-container 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;
    margin-left: 40px;
  }
  
  /* Kreative Liste */
  .creative-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drei Elemente pro Reihe */
    gap: 20px; /* Abstand zwischen den Elementen */
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .creative-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f4f8, #e8ecf3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
  }
  
  .creative-list li:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .creative-list .icon {
    font-size: 1.5rem;
    color: #0078d4;
  }
  
  .creative-list li:hover .icon {
    color: #0056a3;
  }
  .departments {
    padding: 40px 20px;
  }
  
  .department {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .department h2 {
    color: #C4CC46;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .department h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #C4CC46;
    margin: 10px auto;
  }
  
  .team {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .employee {
    background: white;
    border-radius: 15px;
    width: 220px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .employee:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  }
  
  .employee img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #C4CC46;
    margin-bottom: 15px;
    transition: border 0.3s ease;
  }
  
  .employee:hover img {
    border-color: #ff9800;
  }
  
  .employee .info h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
  }
  
  .employee .info p {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
  }
  
  
  footer {
    background-color: #D9D9D9;
    padding: 40px 20px;
    color: #333;
    font-family: Arial, sans-serif;
    border-top: 1px solid #ccc;
    margin-top: 50px;
  }
  
  .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;
  }

    /* Responsive Styles */

    @media (max-width: 768px) {
      body {
          overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
          padding: 0;
          margin: 0;
      }
  
      .content-container {
          padding: 0 5%; /* Reduce side padding to bring text closer */
          margin: 0 auto; /* Center content */
          max-width: 90vw; /* Ensures content stays within viewport */
      }
  
      p:not(.hero-section p, .department p, .footer-container p, .footer-bottom p), 
      h1:not(.hero-section h1, .footer-container h1),
      h2:not(.department h2, .footer-container h3), 
      h3:not(.department h3, .footer-container h3),
      h4:not(.footer-container h4),
      h5, h6 {
          margin-left: -8%;
          margin-right: 5%;
      }
  }
    
    @media (max-width: 768px) {
      body {
        overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
      }

      .slogan {
        transform: scale(1.5);
        margin-top: 50px;
        width: 80%;
      }
    
      .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .footer-logo,
      .footer-links,
      .footer-contact {
        width: 100%;
        margin-bottom: 20px;
      }
    }
    
    @media (max-width: 992px) {
      .burger-menu {
        display: block;
      }
    
      .menu_bar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: white;
        width: 100%;
        z-index: 1000;
        border-top: 2px solid #C4CC46;
      }
    
      .menu_bar ul.active {
        display: flex;
      }
    
      .menu_bar ul li {
        text-align: center;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #ddd;
      }
    
      .dropdown_menu {
        position: static;
        margin: 0 auto;
        width: 100%;
      }
    
      body, html {
        overflow-x: hidden;
      }
    }
    
    @media (max-width: 576px) {
    
      .menu_bar ul li a {
        font-size: 16px;
        padding: 10px;
      }
    }

/* Responsive Styles */
@media screen and (max-width: 992px) {
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }

  .general-text, .execution-service-text, .handelsmodell-text, .morning-corner-text {
    padding: 10px;
    font-size: 16px;
  }

  .large-image {
    max-width: 90%;
  }

  .creative-list {
    flex-direction: column;
    align-items: center;
  }

  .creative-list-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 1024px) {
  .large-image {
    max-width: 70%;
  }

  .management-section {
    justify-content: space-between;
  }
}

@media (max-width: 992px) {
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }

  .hero-section img {
    width: 100%;
    max-width: 90%; /* Make the image a bit larger with spacing */
    margin: 0 auto;
    display: block;
}

.hero-section .text {
    padding-left: 10px;
    padding-right: 10px;
}


  .departments {
    padding: 30px 15px;
  }

  .department h2 {
    font-size: 1.8rem;
  }

  .employee {
    width: 200px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }

  .hero-section {
    padding: 40px 10px;
  }

  .hero-section h1 {
    font-size: 30px;
  }

  .hero-section p {
    font-size: 20px;
  }

  .employee {
    width: 180px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-btn {
    padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }

  .hero-section {
    padding: 30px 5px;
  }

  .hero-section h1 {
    font-size: 26px;
  }

  .hero-section p {
    font-size: 18px;
  }

  .employee {
    width: 160px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-btn {
    padding: 6px 14px;
  }
}

@media (max-width: 768px) {
  .creative-list {
    grid-template-columns: 1fr; /* One item per row */
  }
}



@media (max-width: 360px) {

  .image-container img {
    width: 100%;
    border-radius: 10px;
  }
}

@media (max-width: 1024px) {
  * {
    margin-left: 0;
    margin-right: 0;
  }
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }


  .content-block {
    flex-direction: column;
    gap: 30px;
    padding: 10px;
  }

  .image-container {
    width: 300px;
    display: block;
  }
}

@media (max-width: 768px) {
  .text {
    padding: 10px;
    margin: 15px auto;
  }

  .image-container {
    width: 300px;
  }
}

/* Small Devices and Phones */
@media (max-width: 576px) {
  body {
    overflow-x: hidden; /* Ensures no horizontal scroll on mobile */
  }
  
    body, html {
      overflow-x: hidden;
    }

  .content-block {
    gap: 20px;
  }

  .text {
    font-size: 14px;
  }

  .image-container {
    width: 100%;
    max-width: 100%;
  }

  .flagge img {
    width: 20px;
  }
}