html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

body {
  padding-top: 40px; /* Höhe des Banners */
}

/* Grundfarben */
:root {
  --main-color: #0a2c53;     /* Dunkelblau */
  --accent-color: #1976d2;   /* Blau */
  --text-color: #ffffff;     /* Weiß */
  --bg-light: #f5f5f5;
  --text-dark: #111;
}

/* Navigation oben */
.top-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #061c3d;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
}

.banner-left {
  font-weight: bold;
  font-size: 1.1rem;
}

.banner-right a,
.banner-right .dropdown-toggle {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.banner-right a:hover,
.banner-right .dropdown:hover .dropdown-toggle {
  border-bottom: 2px solid white;
  text-decoration: none;
}

/* Dropdown-Menü */
.banner-right .dropdown {
  position: relative;
  display: inline-block;
}

.banner-right .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #335588;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.banner-right .dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.banner-right .dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.banner-right .dropdown-content a:hover {
  background-color: #446699;
}

/* Abstand nach Banner */

/* Container allgemein */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

/* HERO */
.hero {
  background-color: var(--main-color);
  color: var(--text-color);
  text-align: center;
  padding: 2rem 2rem;
}

.hero .btn {
  display: inline-block;
  margin-top: 0;
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
  background-color: #125ea5; /* dunklere Akzentfarbe */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Features */
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
  gap: 2rem;
  justify-content: center;
}

.feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  padding: 1.5rem;
  border-left: 4px solid var(--main-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.feature:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Kontakt */
.contact {
  background-color: #fff;
  padding: 2rem;
}

.contact .map-placeholder {
  background: #ccc;
  height: 250px;
  margin-top: 1rem;
  text-align: center;
  line-height: 250px;
  color: #666;
}

/* Footer */
.footer {
  background: var(--main-color);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
}

.footer a,
.footer a:visited {
  color: white;
  text-decoration: none;
}

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

/* Besuchte Links */
a:visited {
  color: inherit;
}

/* Standard-Stil für Sprachumschalter */
.lang-link {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  margin-left: 2px; /* Abstand von 2px zwischen DE und dem Trennstrich */
  margin-right: 2px; /* Abstand von 2px zwischen | und EN */
  display: inline-block; /* Links nebeneinander anzeigen */
  padding: 0; /* Entfernt Padding, um den Abstand korrekt zu kontrollieren */
}

/* Trennzeichen für Sprachumschalter */
.separator {
  color: #fff;
  font-size: 18px;
  margin-left: 20px;  /* Abstand von 2px zwischen | und DE */
  margin-right: 5px; /* Abstand von 2px zwischen | und EN */
}

/* Stil für aktiven Link (weißer Kasten) */
.lang-link.active {
  background-color: white;
  color: #000;
  border-radius: 5px; /* Abgerundete Ecken */
}

/* Sprachumschalter - Hover Effekt */
.lang-link:hover {
  text-decoration: underline;
}

/* Sprachumschalter Container */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 1.5rem;
}

/* Hamburger-Button (Desktop: versteckt) */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  z-index: 1001;
}

.hamburger:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Mobilversion */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .banner-container {
    flex-wrap: wrap;
  }

  .banner-left {
    flex: 1;
  }

  .banner-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
    order: 3;
  }

  .banner-right.active {
    max-height: 400px;
    padding: 0.5rem 0;
  }

  .banner-right a {
    margin-left: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .banner-right a:last-child {
    border-bottom: none;
  }

  .lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 0.75rem 0;
    border-bottom: none;
  }

  .lang-switcher .lang-link {
    font-size: 14px !important;
    padding: 0.4rem 0.8rem;
    border-bottom: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
  }

  .lang-switcher .lang-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
  }

  .lang-switcher .separator {
    font-size: 16px;
    margin: 0 0.5rem;
    padding: 0;
  }
}

