/* Grundstil */
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #d35400;
}

/* Hero */
.hero {
  height: 100vh;
  background: url('bilder/Endzeit.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-text h2 {
  font-size: 2.5rem;
  margin: 0;
}
.hero-text p {
  font-size: 1.2rem;
}

/* Galerie */
.gallery {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}
.gallery h2 {
  text-align: center;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.grid img {
  width: 100%;
  display: block;
  border-radius: 5px;
  transition: transform 0.3s;
}
.grid img:hover {
  transform: scale(1.05);
}




/* über mich */
.about {
  padding: 80px 20px;
  background: #f9f9f9;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}
.about img {
  width: 200px;
  border-radius: 50%;
}
.about p {
  flex: 1;
}

/* Kontakt */
.contact {
  padding: 80px 20px;
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact input, .contact textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.contact button {
  background: #d35400;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact button:hover {
  background: #b84300;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: white;
  margin-top: 50px;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 5px;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-controls .prev,
.lightbox-controls .next {
  color: white;
  font-size: 50px;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
  user-select: none;
}

.lightbox-controls .prev:hover,
.lightbox-controls .next:hover {
  color: #d35400;
}

/* Responsiv */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
}