body {
  padding: 100px;
  margin: 0;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: 1.2vw;
}

.fett {
  font-weight: 500;
  font-family: 'Alegreya Sans', sans-serif;
}

#fullscreenImage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('_MG_3866-unscharf.png'); /* Hier den Pfad zum Bild einsetzen */
  background-size: cover;
  background-position: center;
  z-index: 9999; /* Stellt sicher, dass das Bild über allem liegt */
  cursor: pointer; /* Zeigt an, dass das Bild klickbar ist */
  opacity: 1; /* Startwert für die Sichtbarkeit */
  transition: opacity 0.8s ease; /* Übergang für den Fade-Out-Effekt */
}

.popup {
                position: fixed;
                bottom: 80px;
                right: 20px; /* Anfangs sichtbar */
                width: 500px;
                padding: 20px;
                background-color: #f1f1f1;
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
                z-index: 1000;
                transition: right 0.5s ease; /* Sanfte Übergänge */
                font-size: 1vw;
            }

.popup-title {
  font-variant: small-caps;
  font-size: 1.3vw;
}

.vita-title {
  font-size: 1.3vw;
  font-variant: small-caps;
}

.popup-button {
            display: inline-block;
            padding: 8px 15px;
            background-color: #d9d6d1; /* Matches the gray background */
            color: #222; /* Matches the dark text color */
            font-size: 1.1vw; /* Large text size */
            font-family: 'Alegreya Sans';
            font-variant: small-caps;
            text-align: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: 0.5s ease;
        }

.popup-button:hover {
                    background-color: #c8c5bf; /* Slightly darker background on hover */
                    transition: transform 0.3s easy;
                    transform: scale(1.05);
                }

                /* Unbesuchte Links */
                a {
                  color: #8593AB; /* Farbe für unbesuchte Links */
                }

                /* Hover-Zustand (wenn die Maus über den Link fährt) */
                a:hover {
                  color: #627088; /* Farbe für Links im Hover-Zustand */
                  transition: 0.5s ease;
                  text-decoration: none;
                }

/* Stil für den Button */
.toggle-btn {
                position: fixed;
                bottom: 20px;
                right: 20px;
                padding: 8px 15px;
                color: #222;
                border: none;
                cursor: pointer;
                z-index: 1100;
            }

.gallery-item {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.header-container {
  width: 100%;
  margin: auto; /* optional: zentriert den Container */
}

.header-image {
  width: 100%;
  display: block;
}

.header-title {
  position: absolute;
/*  top: 30px;  Dynamische Positionierung, relativ zum Container */
/*  left: 20px;  Dynamische Positionierung, relativ zum Container */
    bottom: 10%;
    left: 5%;
  font-size: 2.3vw;  /* Schriftgröße proportional zur Viewport-Breite */
  color: white;
  font-family: 'Alegreya Sans';
  font-variant: small-caps;
  z-index: 1;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
}

.page-overview{
        width: 100%;
    }

.overview-content img{
        width: 100%;
    }

.caption{
        position: absolute;
        top: 75%;
        left: 5%;
        display: flex;
        align-items: left;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        font-size: 5vw;
        color: white;
        z-index: 1;
    }

.caption span{
        display: block;
        margin: 8px 0;
        padding: 10px 17px;
        border-radius: 3px;
        background-color: #00000033;
    }

.image-wrapper {
  position: relative;
}

.vita-button {
            display: inline-block;
            padding: 8px 13px;
            margin: 0 20px;
            background-color: #d9d6d1; /* Matches the gray background */
            color: #222; /* Matches the dark text color */
            font-size: 1.2vw; /* Large text size */
            font-family: 'Alegreya Sans';
            font-variant: small-caps;
            text-align: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: 0.5s ease;
        }

.vita-button-ende {
                    display: inline-block;
                    padding: 8px 13px;
                    margin-bottom: 50px;
                    background-color: #d9d6d1; /* Matches the gray background */
                    color: #222; /* Matches the dark text color */
                    font-size: 1.2vw; /* Large text size */
                    font-family: 'Alegreya Sans';
                    font-variant: small-caps;
                    text-align: center;
                    text-decoration: none;
                    border: none;
                    cursor: pointer;
                    transition: 0.5s ease;
                }

.text-kleiner-abstand-2 {
  margin-bottom: 0.4vw;
}

.text-kleiner-abstand {
  margin-bottom: 0vw;
}

/* Mobile and Desktop Nav Styles */

/* Mobile menu styling (hidden by default on larger screens) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    display: none; /* Hidden by default */
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); /* Hidden initially */
}

.mobile-nav.is-active {
    transform: translateX(0); /* Slide in when active */
}

/* Hide the desktop nav on mobile screens */
.desktop-nav {
    display: block;
}

/* Hamburger icon styles (mobile) */
.hamburger.is-active .bar {
    /* Add additional styles for when hamburger is active */
}

/* Dropdown menu in mobile navigation */
.mobile-nav .dropdown-menu {
    display: none;
}

.mobile-nav .dropdown-toggle::after {
    content: "\f0c9"; /* Dropdown icon */
}

.mobile-nav .dropdown-item {
    padding: 10px 20px;
    text-align: left;
}

/* Media Query for larger screens (Desktop version) */
@media (min-width: 992px) {
    /* Hide mobile nav and hamburger button on larger screens */
    .mobile-nav {
        display: none;
    }

    .hamburger {
        display: none;
    }

    /* Show desktop nav */
    .desktop-nav {
        display: block;
    }
}

/* Media Query for smaller screens (Mobile version) */
@media (max-width: 991px) {

    /* Show mobile nav */
    .mobile-nav {
        display: block;
    }
    /* Hide desktop nav */
    .desktop-nav {
        display: none;
    }
}

/* Fix for hamburger toggle button */
.navbar-toggler {
  border: none;
  outline: none;
  padding: 0;
  background-color: transparent;
}

.navbar-toggler-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*.navbar-toggler-icon::before {
  content: "\f0c9";
  font-family: FontAwesome;
  font-size: 24px;
  color: #000;
}*/

.navbar-toggler-icon::after {
  content: "\f0ca";
  font-family: FontAwesome;
  font-size: 24px;
  color: #000;
  transform: rotate(90deg);
  display: none;
}

.navbar-toggler.collapsed::after {
  display: block;
}

.navbar-expand-lg .navbar-collapse {
  display: none;
}

.navbar-expand-lg .navbar-collapse.show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

/* Additional Nav Styles */
@media (min-width: 991px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.navbar-nav .nav-item .nav-link {
  color: #1A232D;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #8593AB;
  transition: 0.3s ease-in-out;
}

.navbar-nav .nav-item.active .nav-link {
  color: #8593AB;
  font-weight: 700;
}

.nav-item.divider {
  display: flex;
  align-items: center;
  color: #8593AB;
  margin: 0 30px;
}

/* Dropdown Styling */
.dropdown-menu .dropdown-item {
  color: #1A232D;
  font-size: 1.2vw;
  font-weight: 400;
}

.dropdown-menu .dropdown-item:hover {
  color: #8593AB;
  background-color: white;
  transition: 0.3s ease-in-out;
}

.navbar-nav .dropdown-menu {
  display: none; /* Dropdown hidden by default */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.navbar-nav .dropdown-menu.show {
    display: block;
}

/* Mobile styling: Show mobile nav, hide desktop nav */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
}

/* Remove duplicate styles, and fix missing styles */
@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
  .hamburger {
    display: none;
  }
}

/*KONTAKT*/

.contact-container {
  text-align: left;
  height: 70vh;
  align-items: center;
  display: flex;
}

.contact-title {
  font-size: 1.2vw;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.contact-email {
  font-size: 1.2vw;
  color: black;
  text-decoration: underline;
  transition: color 0.3s;
}

.contact-email:hover {
  color: #8593AB;
  text-decoration: underline;
}

/* TEXTE MIT AKKORDEON BLÖCKEN*/

.accordion-container {
            margin: 0px;
}

.accordion-header {
            cursor: pointer;
            padding: 15px 0px;
            margin-bottom: 5px;
}

.accordion-content {
            display: none;
            padding: 15px 0px;
}

.accordion-header:hover {
  color: #8593AB;
  transition: 0.3s ease-in-out;
}

.accordion-item-vita {
    display: flex;
    align-items: flex-start; /* Hält den Titel oben */
}

.accordion-header-vita {
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    cursor: pointer;
}

.accordion-content-vita {
    display: none;
    max-width: 600px; /* Begrenzung der Breite */
}

/* Laptop-Version */
@media (min-width: 768px) {
    .accordion-item-vita {
        flex-direction: row; /* Titel und Inhalt nebeneinander */
    }

    .accordion-content-vita {
      margin-left: 50px;
      margin-bottom: 25px;
    }
}

/* Mobile-Version */
@media (max-width: 767px) {
    .accordion-item-vita {
        flex-direction: column; /* Untereinander */
    }
}

.download-button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #d9d6d1; /* Matches the gray background */
            color: #222; /* Matches the dark text color */
            font-size: 1.2vw; /* Large text size */
            font-family: 'Alegreya Sans';
            font-variant: small-caps;
            text-align: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: 0.5s ease;
        }

.download-button:hover {
            background-color: #c8c5bf; /* Slightly darker background on hover */
            transition: transform 0.3s easy;
            transform: scale(1.05);
        }

        /* Unbesuchte Links */
        a {
          color: #8593AB; /* Farbe für unbesuchte Links */
        }

        /* Hover-Zustand (wenn die Maus über den Link fährt) */
        a:hover {
          color: #627088; /* Farbe für Links im Hover-Zustand */
          transition: 0.5s ease;
          text-decoration: none;
        }


.footer {
  padding: 1rem 0;
}

.footer .footer-left {
  font-weight: 800;
  color: #D5D0CB;
}

.footer .footer-right a {
  color: black;
  margin-left: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer .footer-right a:hover {
  color: #8593AB;
}

/* alles noch kleiner als Tablett*/
@media (max-width: 991px) {
  body{
    padding: 50px;
    font-size: 2.3vw;
  }

  .popup {
    font-size: 2vw;
    position: fixed;
    bottom: 80px;
    right: 20px; /* Anfangs sichtbar */
    width: 240px;
    padding: 20px;
    background-color: #f1f1f1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.5s ease; /* Sanfte Übergänge */
  }
  .popup-button {
    font-size: 2vw;
  }
  .popup-title {
    font-size: 2.3vw;
  }
  .vita-title {
    font-size: 2.6vw;
  }
  .vita-button {
    font-size: 2.3vw;
    margin: 0 -2px;
  }
  .vita-button-ende {
    font-size: 2.3vw;
  }
  .header-title {
    font-size: 3vw;
  }
  .contact-title {
    font-size: 2.3vw;
  }
  .contact-email {
    font-size: 2.3vw;
  }
  .download-button {
    font-size: 2.3vw;
    padding: 7px 10px;
  }
  .toggle-btns {
    padding: 10px 10px;
  }
  .contact-container {
    height: 35vh;
  }
  .accordion-header {
    font-size: 2.3vw;
  }
  .accordion-content {
    font-size: 2.3vw;
  }
  .footer {
    font-size: 1.7vw;
  }

  .nav-item.divider {
    margin: 0 15px;
}
}

@media (max-width: 767px) {
  body{
    padding: 25px;
    font-size: 4vw;
  }

  .nav-item.divider {
    display: flex;
    align-items: center;
    color: #8593AB;
    margin: 0 30px;
    font-size: 4vw;
  }

  /* Dropdown Styling */
  .dropdown-menu .dropdown-item {
    color: #1A232D;
    font-size: 4vw;
    font-weight: 400;
  }
  .popup {
    font-size: 3vw;
    position: fixed;
    bottom: 80px;
    right: 20px; /* Anfangs sichtbar */
    width: 320px;
    padding: 20px;
    background-color: #f1f1f1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.8s ease; /* Sanfte Übergänge */
  }
  .popup-button {
    font-size: 3.5vw;
  }

  .popup-title {
    font-size: 3.5vw;
  }

  .vita-title {
    font-size: 4.5vw;
  }

  .vita-button {
    font-size: 4vw;
    margin: 0 -2px;
  }
  .vita-button-ende {
    font-size: 4vw;
  }
  .header-title {
    font-size: 4vw;
  }
  .contact-title {
    font-size: 4vw;
  }
  .contact-email {
    font-size: 4vw;
  }
  .download-button {
    font-size: 4vw;
    padding: 7px 10px;
  }
  .toggle-btns {
    padding: 10px 10px;
  }
  .contact-container {
    height: 40vh;
  }
  .accordion-header {
    font-size: 4vw;
  }
  .accordion-content {
    font-size: 4vw;
  }
  .footer {
    font-size: 2.8vw;
  }

  .navbar {
    position: initial;
    padding: 0px !important;
  }
  .navbar-toggler{
    position: absolute;
    top: 30px;
    right: 30px;
    box-shadow: none!important;
    outline: 0!important;
    z-index: 1;
  }
  .navbar-toggler.show-menu-icon {
    position: fixed;
    z-index: 1102;
  }
  .navbar-toggler-icon {
    width: 22px;
    height: 22px;
  }
  .navbar-collapse{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 0px;
    background-color: rgb(233 233 233);
    width: 100%;
    /* max-width: 230px; */
    height: 100vh !important;
    box-shadow: 0px 0px 10px #00000033;
    z-index: 1101;
    transition: all ease .2s;
    text-align: center;
    font-size: 11px;
  }
  .navbar-nav{
    padding: 50px 30px 20px;
  }
  .navbar-collapse.show{
    display: block;
  }
  .navbar-light .navbar-toggler {
      color: #fff;
      border: none;
  }
  .navbar-toggler svg{
      color: #fff;
  }
  .navbar-light .navbar-toggler.show-menu-icon {
      color: #1a232d;
  }
  .navbar-toggler.show-menu-icon svg{
      color: #1a232d;
  }
  #navbar-hamburger.show{
      display: block;
  }
  #navbar-hamburger, #navbar-close{
      display: none;
  }
  #navbar-close.show{
      display: block;
  }
  .nav-item.divider{
    display: none;
  }
  .nav-link {
    padding: .75rem 1rem;
  }
  .navbar-nav .dropdown-menu {
    box-shadow: none;
    padding-top: 0px;
    background-color: transparent;
    text-align: center;
  }
  .dropdown-menu .dropdown-item {
    background-color: transparent!important;
  }
  .dropdown-item {
    padding: .25rem 1rem;
    font-size: 11px!important;
  }
  .header-title {
    font-size: 22px;
  }
}
