html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #e8e8e8;
  background: #121212 no-repeat center center / cover;
  height: 100%;
}

a {
  color: #e8d0a7;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  color: #f4f4f4;
}

.hero h1,
.hero h2,
.hero p {
  font-family: 'Libre Baskerville', serif;
  color: #e8e8e8;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
}

.paragraph {
  font-weight: bold;
}

/* =======================
   NAVIGATION
======================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.navbar .nav-link {
  font-size: 1rem;
  color: #e8d0a7;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #f4f4f4;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #e8d0a7;
}

/* =======================
   HERO-BEREICH
======================= */
.hero {
  height: 100vh;
  background: url('../ressourcen/galerie/use/image_6.jpg') no-repeat center
    center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f4f4f4;
  position: relative;
}

.hero .overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
  gap: 10px;
}

.hero h1 {
  font-size: 3.5rem;
}
.hero h2 {
  font-size: 2.5rem;
  margin-top: 10px;
}
.hero p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.hero .btn {
  background: #233326;
  color: #e8e8e8;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #3a3a3a;
}

/* =======================
   INHALT
======================= */
.content {
  padding: 50px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  color: #e8d0a7;
  margin-bottom: 20px;
}

.story-container p {
  margin-bottom: 20px;
}

/* =======================
   EVENTDATEN
======================= */
.event-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 600px;
}

.event-item {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  color: #e8e8e8;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
}

.event-item h3 {
  font-size: 1.5rem;
  color: #e8d0a7;
  margin-bottom: 10px;
}

.event-item p {
  font-size: 1.1rem;
  margin: 5px 0;
}

.event-item i {
  margin-right: 10px;
  color: #e8d0a7;
}

/* =======================
   GALERIE
======================= */
.gallery-section {
  margin: 80px auto;
  padding: 20px;
  max-width: 1100px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.2rem;
  color: #e8d0a7;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 0 10px;
}

.gallery-grid img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
}

/* =======================
   MODAL
======================= */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 51, 38, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-modal.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.9);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e8d0a7;
  color: #233326;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 12px;
  z-index: 1100;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 1100;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* =======================
   TEAM
======================= */
.team {
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}

.team h2 {
  font-size: 2rem;
  color: #e8d0a7;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  background: #1a1a1a;
  border-radius: 10px;
  color: #e8e8e8;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.1rem;
  color: #e8d0a7;
  margin-top: 0;
}

/* =======================
   KONTAKT
======================= */
.contact,
.contact-info {
  margin: 2rem auto;
  padding: 2rem;
  background: #1a1a1a;
  color: #e8e8e8;
  border-radius: 5px;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.contact h2,
.contact-info h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem;
  font-family: 'Montserrat', sans-serif; /* gleiche Schrift */
  font-size: 1rem;
  color: #e8e8e8;
  background-color: #121212;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  resize: vertical; /* verhindert horizontales Verziehen */
}

textarea {
  min-height: 120px; /* sorgt für angenehme Höhe */
}

button.btn {
  width: 100%;
  background: #e8d0a7;
  color: #1a1a1a;
  border: none;
  padding: 0.7rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button.btn:hover {
  background: #a89471;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.footer {
  background: rgba(0, 0, 0, 0.95);
  color: #e8e8e8;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}

.footer a {
  color: #e8d0a7;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    z-index: 1001;
  }

  .navbar ul {
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: -100%;
    height: 100%;
    width: 200px;
    background: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease;
    padding: 50px 0;
    z-index: 999;
  }

  .navbar ul.show {
    left: 0;
  }

  .navbar ul li {
    margin: 20px 0;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .gallery-section h2 {
    font-size: 1.8rem;
  }

  .nav {
    font-size: 2rem;
  }
}
