.navi {
    height: 60px;
    width: 100%;
    display: flex;
    background-color: rgba(208, 208, 208, 0.9);
    backdrop-filter: blur(10px);
}

/* Titelbereich */
.Titel {
    background: linear-gradient(to bottom, #BFD0E1, #BFD0E1);
    color: #6c6e6f;
    height: clamp(100px, 20vw, 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    gap: 20px;
}

/* Texte im Header */
.header-text1,
.header-text2 {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 1.5vw, 20px);
    text-align: center;
}

/* Logo-Container */
.logo-bild {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
    overflow: hidden;
    
    
}

/* Logo selbst */
.header-logo {
    height: 100%;
    width: auto;
    min-height: 80px;
}

/* NAVIGATION */
nav {
    margin-top: 20px;
    padding-left: 25px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    padding: 3px;
}

nav a:hover {
    color: #0a407a;
}

nav a::after {
    content: '';
    height: 2px;
    width: 0;
    background: black;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 150ms ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

/* Toggle Button fürs Menü */
#toggle_button {
    display: none;
}

label[for="toggle_button"] {
    display: none;
}

label[for="toggle_button"] img {
    width: 40px;
    height: auto;
}

/* MOBILE ANPASSUNGEN */
@media (max-width: 700px) {
    nav {
        margin-top: 0;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(208, 208, 208, 0.9);
        border-bottom-right-radius: 25px;
        padding: 5px;
    }

    nav ul {
        display: none;
        flex-direction: column;
    }

    #toggle_button:checked ~ ul {
        display: flex;
    }

    label[for="toggle_button"] {
        display: block;
    }

    .Titel {
        height: clamp(80px, 20vw, 150px);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-text1,
    .header-text2 {
        font-size: clamp(8px, 2vw, 16px);
    }

    .header-logo {
        height: clamp(50px, 10vw, 100px);
      
    }

    .logo-bild {
        padding-top: 10px;
    }
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 0;
  margin: 0;
}

/* Dropdown zeigen bei Hover */
.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  padding: 10px 15px;
  white-space: nowrap;
}

.language-switch {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1000;
  font-family: sans-serif;
}

.language-switch a {
  text-decoration: none;
  color: #333;
  background-color: #f0f0f0;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 14px;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.language-switch a:hover {
  background-color: #ddd;
  cursor: pointer;
}