* {
  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;
  }
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px;
}

h1 {
    font-size: 1.8em;
    color: black;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.4em;
    color: black;
}

/* Linie und Icon */
.line-with-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    cursor: pointer;
}

.line-with-icon span {
    font-size: 1.2em;
    color: #333;
}

.icon-placeholder {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

/* Versteckter Inhalt */
.content {
    padding: 10px 0;
    display: none;
    margin-top: 0;
    border-bottom: 1px solid #ddd;
}

.content p {
    margin: 5px 0;
}

.content a {
    color: #007bff;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Drehender Icon, wenn aktiv */
.icon-rotate {
    transform: rotate(180deg);
}

footer {
  background-color: #D9D9D9;
  padding: 40px 20px;
  color: #333;
  font-family: Arial, sans-serif;
  border-top: 1px solid #ccc;
  margin-top: 90px;
}

.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) {
  .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) {
  .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 */
  }
}
/* Responsive Navigation */
@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;
  }
}