/* Grundlayout */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
/* Navbar Grundlayout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(0, 0, 0, 0.4); /* leicht transparent */
  backdrop-filter: blur(4px);
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Hamburger-Symbol */
.nav-logo {
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  margin-right: 1rem;
  user-select: none;
}

/* Menü links, standardmäßig versteckt auf kleinen Bildschirmen */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-right: 1.5rem;
}

.nav-menu li a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.nav-menu li a:hover {
  color: #66ccff;
  text-decoration-color: #ffffff;
}

/* Responsive: kleiner Bildschirm → Hamburger klickbar */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 3.5rem; 
    left: -100%; /* versteckt */
    flex-direction: column;
    background: rgba(0,0,0,0.85);
    width: 200px;
    height: 100vh;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0; /* Menü wird sichtbar */
  }

  .nav-menu li {
    margin: 1rem 0;
  }
}

/* Hero-Bereich: volle Höhe minus Footer */
.hero {
  position: relative;
  height: calc(100vh - 60px); /* Platz für fixen Footer */
  overflow: hidden;
}

/* Dynamischer Hintergrund (Parallax) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* mehr Höhe für Bewegungsspielraum */
  background: url("Muckrow_2024_3.jpg") center center / cover no-repeat;
  transform: translateY(0);
  will-change: transform;
}

/* Halbtransparenter Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Hero-Text */
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  animation: fadeZoom 2s ease-out forwards;
  opacity: 0;
  will-change: transform;
}

.hero-text h1 {
  font-size: 3rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-text p {
  font-size: 1.3rem;
  color: #ddd;
  margin-top: 0.5rem;
}

hr.solid {
  border-top: 2px solid #bbb;
  width: 120%; 
  margin-left: -10%; 
  margin-right: -10%;
}
hr.solid_title {
  border-top: 2px solid #ddd;
  width: 70%; 
  margin-top: -20px;
  margin-left: -3%; 
}

/* Fade & Zoom Animation */
@keyframes fadeZoom {
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

a {
  color: #ffffff;          /* weiß */
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3); /* sehr dünn, leicht transparent */
  text-decoration-thickness: 1px; /* dünnste Linie */
  text-underline-offset: 2px;     /* Abstand vom Text */
  display: inline-block;          /* falls notwendig für Positionierung */
}

a:hover {
  color: #66ccff;                /* optional: Hover-Farbe */
  text-decoration-color: #ffffff; /* Unterstreichung beim Hover deutlich sichtbar */
}

/* Fixierter Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(17, 17, 17, 0.85);
  text-align: center;
  padding: 0.8rem;
  font-size: 0.9rem;
  z-index: 5;
  backdrop-filter: blur(4px);
}

footer a {
  color: #66ccff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Impressum */

#info {
  background: #ffffff;
  color: #222;
  padding: 4rem 1rem 6rem; /* unten Platz für Footer */
}
#impressum {
  background: #aaaaaa;
  color: #111;
  padding: 4rem 1rem 6rem; /* unten Platz für Footer */
}


.container {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
} 
.impressum-container {
  font-size: 0.7rem;
  max-width: 800px;
  margin: 0 auto;
} 


.container h2 {
  margin-top: 0;
  color: #004d7a;
}
.container h1 {
  font-size: 2rem;
  margin-top: 0;
  color: #004d7a;
}
.impressum-container h1 {
  margin-top: 50px;
}


/* Responsive Anpassungen */
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}
