:root {
    --hell: rgb(213, 228, 235);
    --dunkel: rgb(21, 24, 65);
  }
  
  body {
    margin: 0;
    background: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
      Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  header {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
  }

  header.mitte img{
    margin-left: 20px;
  }
  
  header.mitte h1{
    margin-left: 10px;
    margin-right: 20px;
    text-align: center;
  }

  nav {
    position: sticky;
    top: 0;
    font-weight: 500;
  
    /* Das ist dafür, dass die Navigation jederzeit anklickbar ist */
    z-index: 99;
  }
  
  footer {
    margin-bottom: 25px;
  }

  nav {
    backdrop-filter: blur(8px);
    margin-bottom: 50px;
  }
  
  .teaser {
    width: 100%;
    height: 200px;
  }
  
  @media screen and (min-width: 800px) {
    .teaser {
      height: 600px;
    }
  }
  
  .teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  footer ul,
  nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  footer ul li,
  nav ul li{
    padding: 16px;
  }

  nav ul li a{
    text-decoration: none;
    color: darkblue;
  }

  footer ul li a{
    color: darkblue;
  }

  .mitte {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 24px;
    padding-bottom: 30px;
    box-sizing: border-box;
    background-color: rgba(173, 216, 230, 0.678);
  
    /* Das ist dafür, dass die Überschrift nicht hinter dem verschwomennen Bereich ist */
    padding-top: 30px;
    transform: translateY(-48px);
  }

  .kontakt_container a{
    color: darkblue;
  }

  section.impressum_body {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    margin-top: 60px;
    padding: 24px;
    padding-bottom: 30px;
    box-sizing: border-box;
    background-color: rgba(173, 216, 230, 0.678);
  
    /* Das ist dafür, dass die Überschrift nicht hinter dem verschwomennen Bereich ist */
    padding-top: 30px;
    transform: translateY(-48px);
  }

  .language-switch {
  text-align: center;
  margin: 10px 0 30px 0;
  font-size: 1rem;
  }

  .language-switch a {
    margin: 0 12px;
    text-decoration: none;
    color: darkblue;
  }

  .language-switch a:hover {
    text-decoration: underline;
  }

  .carousel-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  position: relative;
  }

  .carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: auto; /* wird durch JS überschrieben */
    transition: height 0.3s ease;
    overflow: hidden;
  }

  .carousel-image {
    width: 150px;
    height: auto;
    opacity: 0.5;
    transform: scale(0.8);
    transition: transform 0.5s, opacity 0.5s;
  }

  .carousel-image.active {
    width: 250px;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }

  /* 📱 Mobile Optimierung */
  @media (max-width: 600px) {
    .carousel-image {
      width: 100px;
      transform: scale(0.7);
    }

    .carousel-image.active {
      width: 180px;
      transform: scale(1);
    }

    .carousel-track {
      gap: 10px;
    }
  }