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

body {
  font-family: Georgia, serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Logo */
#center { max-width: 1200px; margin: 0 auto; padding: 1rem; }
#logo { text-align: center; margin: 2rem 0; }
.logo {
  font-size: 2.5rem; 
  color: #666;
  font-weight: bold; 
  text-align: center;
  margin: 0;
}
.logo span { color: #333; display: block; }

/* GRAUE NAVIGATION */
#chornav {
  background: #ccc;
  padding: 1.2rem;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
#chornav a {
  color: #333 !important;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.5);
}
#chornav a:hover {
  background: #aaa;
  color: white !important;
  transform: translateY(-2px);
}

#stapel {
    top:150Px;
    height: 34.438em;
    width: 50em;
    margin: 2em auto 0;
    border: 5px solid #eee;
    box-shadow: 1px 1px 5px 2px #777;
       border-radius: 25px;

 
  box-shadow: 0 20px 40px rgba(0,0,0,0.9);
}

#stapel img {
    position: absolute;
    height: 34.438em;
    width: 50em;
    opacity: 0;
}

#stapel img:nth-of-type(1) {
    animation: fade 30s ease-in-out infinite;
}

#stapel img:nth-of-type(2) {
    animation: fade 30s 6s ease-in-out infinite;
}

#stapel img:nth-of-type(3) {
    animation: fade 30s 12s ease-in-out infinite;
}

#stapel img:nth-of-type(4) {
    animation: fade 30s 18s ease-in-out infinite;
}

#stapel img:nth-of-type(5) {
    animation: fade 30s 24s ease-in-out infinite;
}

@keyframes fade {
    6.66%, 20%          {opacity:1;}
       0%, 26.66%, 100% {opacity:0;}
}





/* BOX MIT SCHATTEN IN DER MITTE - FOTOS */
#chor {
  background: #f8f9fa;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin: 2rem 0;
  text-align: center;
   border-radius: 25px;
box-shadow: 0 20px 40px rgba(0,0,0,0.9);
}
 h1 {
  font-size: 30px !important;
  font-style: italic;
  text-align: center;
  letter-spacing: 1px;
  -webkit-text-stroke: 1px white;
  color: black;
  text-shadow: 1px 3px 1px silver;
  margin-bottom: 2rem;
}
 p {
  font-size: 18px !important;
  font-style: Giorgia;
  text-align: left;

}

@media (max-width: 768px) {
  #images1 img {
    width: 45%;
    height: 150px;
  }

}
/* DEIN EXAKTER END-BOX IMPRESSUM */
#endbox {
  background: linear-gradient(135deg, #eee, #ddd);
  padding: 2.5rem;
  text-align: center;
  border-radius: 16px;
  margin-top: 4rem;
 
}
#endbox a {
  color: #666;
  margin: 0 1.5rem;
  text-decoration: none;
  font-weight: 500;
}
#endbox a:hover { color: #333; }
#endbox img {
  width: 36px;
  height: 36px;
  margin: 0 0.8rem;
  filter: grayscale(0.3);
}
#endbox img:hover { filter: grayscale(0); }

footer { 
  background: #1a365d; 
  color: white; 
  text-align: center; 
  padding: 2rem; 
  margin-top: 4rem; 
}
.impressum {
  text-align: center;
  background: #C0C0C0;
  padding: 40px;
  border-radius: 25px;
  margin-bottom: 40px;
 
}

/* MOBILE */
@media(max-width:768px){
  #center { padding: 0.5rem; }
  #chornav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  #chornav a {
    width: 100%;
    text-align: center;
  }
  h2 { font-size: 2rem; }
}
