body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background-color: #fafafa;
  scroll-behavior: smooth;
}

header.hero {
  position: relative;
  background: url("images/entstehung-1.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

header.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

header.hero .hero-text {
  position: relative;
  z-index: 1;
}

h1, h2 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-img {
  width: 100%;
  margin: 30px 0;
  border-radius: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
  color: #555;
}

footer a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #888;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* logo */
.nav-logo img {
  height: 40px;
  width: auto;
}

/* links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #999;
}

/* hamburger icon */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: #111;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* responsive behavior */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-bottom: 1px solid #eee;
    margin:0px;
    padding-bottom: 10px;
    opacity: 0;
  }


  .nav-links a {
    padding-left: 20px;
    padding-top: 10px;
    
  }
  .nav-links.open {
    max-height: 300px; /* enough for menu items */
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }


}

/* hamburger animation */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(14px)  translateX(0px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-14px) translateX(0px);
}


/* Kontaktformular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 1em;
}

.contact-form button {
  background: #111;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #333;
}

body {
  padding-top: 60px; /* wegen fixer Navbar */
}