/* Import Poppins Font */

/* Grundlegende Stile */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  color: #333;
}

/* Navbar */

.navbar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  background-color: transparent;
}

/* Stil der Navbar beim Scrollen */

.navbar-custom.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logostil (Top-Left Logo) */

.navbar-logo-custom {
  position: relative;
  z-index: 1002;
}

/* NEU: Flexbox für den Link selbst */

.logo-link-custom {
  display: flex;
  /***WICHTIG: ** Macht Logo und Text horizontal;*/
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.navbar-logo-custom .logo-custom {
  height: 55px;
  width: auto;
  display: block;
  transition: filter 0.4s ease-in-out;
}

/* NEU: Stil für den Namen "Jan Schmelzkopf" */

.logo-text-custom {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6em;
  font-weight: 600;
  margin-left: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  pointer-events: none;
  white-space: nowrap;
}

/* NEU: Name beim Scrollen anzeigen */

.navbar-custom.scrolled .logo-text-custom {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  color: #333;
}

/* Hamburger Menü */

.hamburger-menu-custom {
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 1003;
}

.hamburger-menu-custom .bar-custom {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Farbe der Hamburger-Balken beim Scrollen */

.navbar-custom.scrolled .hamburger-menu-custom .bar-custom {
  background-color: #333;
}

/* Hamburger Menü Animation zum X */

.hamburger-menu-custom.open .bar-custom:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger-menu-custom.open .bar-custom:nth-child(2) {
  opacity: 0;
}

.hamburger-menu-custom.open .bar-custom:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Vollbild-Menü */

.fullscreen-menu-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.98);
  z-index: 1001;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out, visibility 0.5s;
}

.fullscreen-menu-custom.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out, visibility 0s;
}

/* Layout des Menü-Inhalts */

.menu-content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  padding: 80px 80px;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.5s ease-out 0.2s;
}

.fullscreen-menu-custom.open .menu-content-wrapper {
  opacity: 1;
}

/* Centered Separator Line */

.menu-content-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease-out 0.4s;
}

.fullscreen-menu-custom.open .menu-content-wrapper::before {
  opacity: 1;
}

.menu-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-right: 120px;
  margin-right: auto;
  position: relative;
  top: -40px;
}

.menu-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 120px;
  text-align: left;
  height: 100%;
  margin-left: auto;
}

/* Links im Vollbild-Menü */

.fullscreen-menu-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.fullscreen-menu-custom ul li {
  margin: 25px 0;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.4s ease-out;
}

.fullscreen-menu-custom.open ul li {
  opacity: 1;
  transform: translateX(0);
}

/* Animation Delay für gestaffelte Links (ADJUSTED DELAYS) */

.fullscreen-menu-custom.open ul li:nth-child(1) {
  transition-delay: 0.3s;
}

.fullscreen-menu-custom.open ul li:nth-child(2) {
  transition-delay: 0.35s;
}

.fullscreen-menu-custom.open ul li:nth-child(3) {
  transition-delay: 0.4s;
}

.fullscreen-menu-custom.open ul li:nth-child(4) {
  transition-delay: 0.45s;
}

.fullscreen-menu-custom ul li a {
  color: white;
  text-decoration: none;
  font-size: 4em;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 5px 0;
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-transform: uppercase;
}

/* Underline Hover-Effekt (jetzt schwarz/weiß) */

.fullscreen-menu-custom ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background-color: #ffffff;
  transition: left 0.4s ease-out;
}

.fullscreen-menu-custom ul li a:hover::after {
  left: 0;
}

/* Menü Info Box */

.menu-info {
  padding: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1em;
  line-height: 1.8;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s ease-out 0.5s;
}

.fullscreen-menu-custom.open .menu-info {
  opacity: 1;
  transform: translateX(0);
}

.menu-info h3 {
  color: white;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.menu-info p {
  margin-bottom: 10px;
}

/* Bottom-Right Logo - Back in the WOW version */

.menu-bottom-right-logo {
  position: absolute;
  bottom: -150px;
  right: 120px;
  z-index: 1004;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.6s ease-out 0.6s;
}

.fullscreen-menu-custom.open .menu-bottom-right-logo {
  opacity: 0.2;
  transform: translateY(0);
  pointer-events: auto;
}

.bottom-logo-custom {
  height: 220px;
  width: auto;
  filter: brightness(0.05);
}

/* Verhindert Scrollen des Hintergrunds */

body.no-scroll-custom {
  overflow: hidden;
}

/* Anpassung für Main-Content */

.main-content-padded {
  padding-top: 100px;
}

/* Medienabfragen für Responsive Design */

@media (max-width: 1200px) {
  .menu-content-wrapper {
    padding: 80px 40px;
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .menu-left {
    padding-right: 80px;
    top: -20px;
  }
}

@media (max-width: 1200px) {
  .menu-right {
    padding-left: 80px;
  }
}

@media (max-width: 1200px) {
  .fullscreen-menu-custom ul li a {
    font-size: 3.5em;
    letter-spacing: 3px;
  }
}

@media (max-width: 1200px) {
  .menu-bottom-right-logo {
    right: 60px;
    transform: translateY(0);
    bottom: -150px;
  }
}

@media (max-width: 1200px) {
  .bottom-logo-custom {
    height: 180px;
  }
}

@media (max-width: 992px) {
  .navbar-custom {
    padding: 15px 40px;
  }
}

@media (max-width: 992px) {
  .menu-content-wrapper {
    flex-direction: column;
    padding: 60px 40px;
    align-items: center;
    justify-content: flex-start;
  }
}

/* Hide the pseudo-element border on smaller screens */

@media (max-width: 992px) {
  .menu-content-wrapper::before {
    display: none;
  }
}

@media (max-width: 992px) {
  .menu-left, .menu-right {
    margin-right: 0;
    margin-left: 0;
    flex: none;
    width: 100%;
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
    position: static;
    top: auto;
  }
}

@media (max-width: 992px) {
  .menu-right {
    align-items: center;
  }
}

@media (max-width: 992px) {
  .fullscreen-menu-custom ul li {
    margin: 18px 0;
    transform: translateX(0);
  }
}

@media (max-width: 992px) {
  .fullscreen-menu-custom ul li a {
    font-size: 2.2em;
    letter-spacing: 2px;
  }
}

@media (max-width: 992px) {
  .menu-info {
    text-align: center;
    margin-top: 0;
    font-size: 1em;
    transform: translateX(0);
  }
}

@media (max-width: 992px) {
  .menu-info h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 992px) {
  .menu-bottom-right-logo {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-custom {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .fullscreen-menu-custom ul li a {
    font-size: 1.6em;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 768px) {
  .navbar-logo-custom .logo-custom {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .hamburger-menu-custom {
    width: 28px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  .hamburger-menu-custom.open .bar-custom:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
}

@media (max-width: 768px) {
  .hamburger-menu-custom.open .bar-custom:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

