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

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Logo zentriert im Hero */
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.logo img {
  height: 100px;
}

/* Hero */
.hero {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.parallax-text {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.parallax-text h1 {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  width: 100%;
  padding: 0 20px;
  position: relative;
  transition: transform 0.2s ease-out;
  will-change: transform;
  z-index: 1;
}

.parallax-content {
  text-align: center;
  width: 100%;
  padding: 50px 0;
}

/* Auth Section */
.auth-section {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.auth-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
}

.login-icon {
  display: flex;
  align-items: center;
}

.auth-form {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.auth-row {
  display: flex;
  width: 100%;
  max-width: 600px;
  border: 1px solid black;
}

.auth-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-right: 1px solid black;
  border-radius: 0;
  font-size: 1rem;
  background: white;
  color: black;
  outline: none;
  text-align: left;
}

.auth-input::placeholder {
  color: black;
  opacity: 0.7;
}

.auth-input:focus {
  border: none;
  border-right: 1px solid black;
  outline: none;
}

.auth-btn {
  background: black;
  color: white;
  border: none;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.auth-btn:hover {
  background: #333;
}

.auth-hint {
  margin-top: 15px;
  font-size: 0.8rem;
  color: black;
  opacity: 0.8;
}

.info-line {
  font-family: Courier New, sans-serif;
  font-size: 1rem;
  padding: 0.5em 2em;
  color: white;
  font-weight: bold;
  margin: 1.5em auto 0 auto;
  text-align: center;
  display: inline-block;
}

#weather-icon {
  width: 30px;
  height: 30px;
  vertical-align: text-bottom;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-decoration: none;
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.8;
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* Mobile Navigation */
.mobile-menu {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.mobile-icon {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.hamburger-icon {
  font-size: 24px;
  line-height: 1;
}

.icon-svg {
  height: 24px;
  width: 24px;
  display: block;
}

.login-white,
.login-black {
  position: absolute;
  height: 24px;
  width: 24px;
  transition: opacity 0.3s ease;
}

.login-black {
  opacity: 0;
}

body.menu-open .mobile-icon {
  color: black;
}
body.menu-open .icon-svg {
  filter: brightness(0);
}
body.menu-open .login-white {
  opacity: 0;
}
body.menu-open .login-black {
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #a69b80;
  color: white;
  display: none;
  flex-direction: column;
  z-index: 999;
  padding-top: 60px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 40px;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 60px;
  padding-left: 20px;
}

.mobile-nav-content a {
  color: black;
  font-size: 1.5rem;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s ease;
  border-bottom: none;
  cursor: default;
}

.mobile-nav-content a.active {
  border-bottom: 2px solid black;
}

.mobile-auth {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  padding: 0 20px;
}

.mobile-auth .auth-form {
  margin: 0;
  display: flex;
  justify-content: center;
}

.mobile-auth .auth-hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: black;
  text-align: center;
  opacity: 0.8;
}

/* Standard: Mobile Menü ausblenden */
.mobile-menu {
  display: none;
}


/* Responsive */
@media (max-width: 768px) {
  .logo img {
    width: 350px;
    height: auto;
  }

  .fixed-btn {
    display: none;
  }

  .parallax-content {
    padding: 100px 0;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 10px;
    right: 10px;
    gap: 10px;
    z-index: 1000;

  .mobile-nav.open {
    display: flex;
  }
}
