/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basis-Typografie und Layout */
  body {
    background: #000;
    font-family: Quicksand, sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #fff;
    overflow: auto;
    line-height: 1.5;
  }

@media (width <= 900px) {
  body {
    font-size: 24px;
  }

  .title, h2, .gallery-item a, .menu-overlay a, .contact-links a, .about-text {
    font-size: 24px !important;
  }
}

@media (width > 900px) and (width <= 1900px) {
  body {
    font-size: 30px;
  }
  .title, h2, .gallery-item a, .menu-overlay a, .contact-links a, .about-text {
    font-size: 30px !important;
  }
}

      @media (height <= 400px) {
        body {
          font-size: 20px;
        }
        .title, h2, .gallery-item a, .menu-overlay a, .contact-links a, .about-text {
          font-size: 20px !important;
        }
      }

      @media (width <= 480px) {
        body {
          font-size: 18px;
        }
        .title, h2, .gallery-item a, .menu-overlay a, .contact-links a, .about-text {
          font-size: 18px !important;
        }
      }

/* About Container */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: min(8vh, 140px);
    padding-bottom: min(16vh, 280px);
}



/* Alternative Media Query für bessere Browser-Unterstützung */
@media (height > width) {
  .about-container {
    padding-top: min(8vw, 140px);
    padding-bottom: min(16vw, 280px);
  }
  
  .about-text {
    margin-top: 10vh !important;
  }
  
  .contact-section {
    margin-top: 10vh !important;
  }
}

/* Bild-Sektionen */
.image-section {
    display: flex;
    justify-content: center;
}

.image-section img {
    width: 62vw;
    height: auto;
    max-height: 62vh;
    object-fit: contain;
    max-width: 100%;
}

@media (width <= 900px) {
  .image-section img {
    width: 82vw !important;
  }
}



/* Kontakt-Sektion */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 140px;
    margin-top: 7vw;
}



.contact-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15vw;
}

@media (width <= 900px) {
  .contact-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
}

.contact-links a {
    color: #fff;
    text-decoration: none;
    font-size: 36px;
    font-weight: 400;
    transition: color 0s;
}

.contact-links a:hover {
    color: #F60;
}

/* Text Container */
.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-text {
    margin-top: 7vw;
    font-family: 'Quicksand', sans-serif;
    font-size: 36px;
    color: #fff;
    text-align: left;
    max-width: 62vw;
}



@media (width <= 900px) {
  .about-text {
    max-width: 82vw;
  }
}

/* Fade Overlay */
.fade-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 1000;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.fade-overlay.fadeout {
  opacity: 0;
} 

/* Menu Container */
.menu-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 1400;
}

.menu-toggle span {
  display: block;
  width: 36px;
  height: 4px;
  background: #fff;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  position: relative;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.menu-overlay {
  display: flex;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 340px;
  min-height: 260px;
  background: #000;
  z-index: 1300;
  justify-content: center;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 30px;
  transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 0;
  align-items: flex-end;
  pointer-events: none;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.fade-overlay-menu {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.fade-overlay-menu.open {
  opacity: 1;
}

.menu-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  align-items: flex-end;
}

.menu-overlay a {
  font-family: Quicksand, sans-serif;
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  text-align: right;
  width: 100%;
}

.menu-overlay a:hover {
  color: #F60;
}

.fade-menu {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.fade-menu.fadeout {
  opacity: 1;
}

/* Mobile Menu Styles */
@media (width <= 900px) {
  .menu-container {
    top: 15px;
    right: 15px;
  }

  .menu-toggle {
    width: 22px;
    height: 22px;
    gap: 3.5px;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .menu-overlay {
    top: 15px;
    right: 15px;
    width: 200px;
    min-height: unset;
    height: auto;
    padding: 1.5em 1.2em;
    align-items: stretch;
  }
}

/* Abstand zwischen Inhalt und Text */
.about-text {
  margin-top: 7vw;
}

@media (height > width) {
  .about-text {
    margin-top: 10vh;
  }
}

/* Neue Mobile Menu Styles für ≤480px */
@media (width <= 480px) {
  .menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1300;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  .menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .menu-overlay a {
    text-align: center;
    width: auto;
    font-size: 18px !important;
  }
  /* Zusätzliche Sicherheit für Hamburger-Menü */
  .menu-overlay nav a {
    font-size: 18px !important;
  }
  /* Höchste Spezifität für Hamburger-Menü */
  .menu-overlay nav a,
  .menu-overlay .fade-overlay-menu nav a {
    font-size: 18px !important;
  }
} 