.led-header {
  position: relative;
  background-color: #003366;
  padding: 20px 0 10px;
  text-align: center;
  z-index: 999;
}

.led-title {
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #0ff;
}

.led-bar {
  height: 12px;
  margin: 0 auto;
  width: 90%;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 600% 100%;
  animation: rainbowSlow 60s linear infinite;
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
}

@keyframes rainbowSlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 600% center;
  }
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 999;
  background: radial-gradient(ellipse at center, #0ff 0%, transparent 70%);
  border: none;
  font-size: 24px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 20px #0ff;
  display: none; /* Anfangs unsichtbar */
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: radial-gradient(ellipse at center, #0ff 0%, transparent 50%);
  transform: scale(1.1);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
}

body {
    background-image: url("images/meer-hintergrund.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

/* Alle Bilder passen sich automatisch an die Bildschirmbreite an */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Container nicht zu breit */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Text soll lesbar bleiben */
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.reference-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.reference-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section {
    background: rgba(0, 0, 0, 0.5);
    /* halb transparentes Schwarz */
    padding: 3rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: auto;
    border-radius: 15px;
}

p {
    text-align: justify;
}

p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 1em;
}


.header {
    background: #003366;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.logo {
    max-width: 200px;
    height: auto;
}

.language-switch button {
    background: white;
    color: #003366;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

section {
    scroll-margin-top: 100px;
    /* Höhe  fixierten Headers */
}

.nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  width:100%;
  margin:0 auto;
  padding:0.5rem 0;
  background:#004080;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.3rem 0.7rem;
}

.nav a:hover {
    background: #0055a5;
    border-radius: 5px;
}

.section {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.lang-de .lang-en {
    display: none;
}

.lang-en .lang-de {
    display: none;
}


.reference-item img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

.impressum {
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.8);
    /* leicht weißer Hintergrund */
    border-radius: 8px;
}

.footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 1rem;
}

.hamburger-button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 0.25rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 0.5rem;
}

.hamburger-button:hover {
    background-color: #0055a5;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        flex-direction: column;
        display: none;
    }

    .logo {
        max-width: 150px;
    }

    .hamburger-button {
        display: block;
    }

    .header {
        padding-bottom: 0.3rem;
    }

    .small-screen {
        display: block;
    }

    .large-screen {
        display: none;
    }
}

@media (min-width: 769px) {
    .hamburger-button {
        display: none;
    }

    .nav {
        display: flex;
    }

    .small-screen {
        display: none;
    }

    .large-screen {
        display: block;
    }
}@media (max-width: 768px){
  .nav { 
    display: none !important; 
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .nav.open{
    display: flex !important;
  }
  .hamburger-button{
    display: block !important;
  }
}


/* Mobile menu default */
#mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #004080;
  text-align: center;
}

/* When hamburger is clicked */
#mobile-nav.open {
  display: flex;
}

/* Desktop: hide mobile nav */
@media (min-width: 769px) {
  #mobile-nav {
    display: none !important;
  }
}

