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

body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: #ced4da; }
a:link, a:visited { color:#eee; }
header { text-align: center; padding: 2rem; background: #02633E; color: white; }
header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }

.link a { color:#000; }

.beschreibung { color:#000; }

.timeline-container {
    max-width: 1200px; margin: 0 auto; padding: 2rem; position: relative;
}

.timeline-container::before {
    content: ''; position: absolute; left: 50%; width: 4px; height: 100%; background: #02633E; transform: translateX(-50%);
}

.timeline-item {
    position: relative; margin: 2rem 0; width: 100%; animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.timeline-content {
    display: flex; background: #e6e6e6; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1.5rem; transition: transform 0.3s;
}

.timeline-content:hover { transform: scale(1.02); }

.cover-img { width: 200px; height: 175px; object-fit: cover; border-radius: 8px; margin-right: 1.5rem; }

.timeline-meta h2 { color: #2c3e50; margin-bottom: 0.5rem; }
.date { font-weight: bold; color: #02633E; }
.location, .occasion { margin: 0.25rem 0; color: #7f8c8d; }
.wander-daten { margin: 0.25rem 0; color: #7f8c8d; }
.details-btn { display: inline-block; margin-top: 0.5rem; padding: 0.5rem 1rem; background: #02633E; color: white; text-decoration: none; border-radius: 5px; }



.modal {
  display: none;
  position: fixed;
  z-index: 9000;
  inset: 0;
  background: rgba(0,0,0,0.7);
  overflow: auto;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  max-width: 900px;
}

.modal .close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

/* Overlay für große Bilder */
.img-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.img-overlay-content {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: 5% auto 0;
}

.img-overlay-caption {
  text-align: center;
  color: #fff;
  margin-top: 10px;
}

.img-overlay-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}



/* .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); } */
/* .modal { display: block; } */
/* .modal-content { background: white; margin: 5% auto; padding: 2rem; border-radius: 10px; max-width: 90%; max-height: 90%; overflow-y: auto; position: relative; } */
/* .close { position: absolute; right: 1rem; top: 1rem; font-size: 2rem; cursor: pointer; color: #aaa; } */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.3s; }
.gallery img:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    /* .timeline-container::before { left: 20px; } */
    .timeline-content { flex-direction: column;  }
    .cover-img { width: 100%; height: 200px; margin-right: 0; margin-bottom: 1rem; }
    header h1 { font-size: 2rem; }
	
	.timeline-meta h2 { font-size: 1em; }
	
	.wander-daten { font-size: 0.75em; }
	
	.timeline-meta { text-align: center;   /* Kinder im Inline-/inline-block-Modus zentrieren */ }
	
 
}

.lightbox { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; }





/* .img-overlay { */
  /* display: none;              /* standard: versteckt */ */
  /* position: fixed; */
  /* z-index: 9999; */
  /* inset: 0; */
  /* background: rgba(0,0,0,0.8); */
/* } */

/* .img-overlay-content { */
  /* display: block; */
  /* max-width: 90%; */
  /* max-height: 90%; */
  /* margin: 5% auto 0; */
  /* box-shadow: 0 0 15px rgba(0,0,0,0.7); */
/* } */

/* .img-overlay-caption { */
  /* text-align: center; */
  /* color: #fff; */
  /* margin-top: 10px; */
/* } */

/* .img-overlay-close { */
  /* position: absolute; */
  /* top: 15px; */
  /* right: 25px; */
  /* color: #fff; */
  /* font-size: 32px; */
  /* cursor: pointer; */
/* } */






