@charset "utf-8";

/* Grundlayout */
body {
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  background-color: #fff;
  color: #000;
}

a {
  color: #5A5A5A;
  text-decoration: none;
}

/* Header */
header {
  background-color: #AE9766;
  background-image: url(../image/bg.avif);
  color: #fff;
  font-size: 2rem;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
}

header img {
  max-width: 100%;
  height: auto;
  border: 2px solid grey;
  border-bottom-color: #CCC;
  background: #EAEAEA;
  border-radius: 10px;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.bigger-text {
  font-size: 1.4em; /* oder z. B. 130%, 18px usw. */
  font-style: oblique;
  font-weight: 200;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  background-color: #AE9766;
  background-image: url(../image/bg.avif);
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

/* Versteckte Checkbox */
#menu-toggle {
  display: none;
}

/* Menü standardmäßig sichtbar (für Desktop) */
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

ul li a {
  background-color: #AE9766;
  background-image: url(../image/bg.avif);
  color: white;
  padding: 1em 3em 1em 3em;
  margin: .2em .2em .3em .3em;
  border: 3px solid grey;
  border-bottom-color: #CCC;
  border-radius: 10px;
  display: block;
  transition: background-image 0.3s, color 0.3s;
}

ul li a:hover,
ul li .current {
  color: #333;
  font-weight: 600;
  background-color: #D9FF66;
  background-image: none;
}

/* Main Content */
main {
  background-color: #FBFBFB;
  color: #000;
  width: 100%;
  padding: 1rem;
  text-align: center;
}

main h1 {
  font-size: 2rem;
  margin: 0 0 1rem 0;
}

article {
  border: 2.5px solid grey;
  border-radius: 10px;
  margin: 1rem auto;
  padding: 1rem;
  max-width: 800px;
  background-color: #fff;
}

article img,
.timg2 {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.tableshow {
            border: 2px solid grey;
  			border-radius: 10px;
            font-weight: bold;
			width: 220px;	 
        }
. ul li a {
  background-color: #AE9766;
  background-image: url(../image/bg.avif);
  color: white;
  padding: 5px;
  margin: 2em 1.5em .3em .3em;
  border: 3px solid grey;
  border-bottom-color: #CCC;
  border-radius: 10px;
  transition: background-image 0.3s, color 0.3s;
}

. ul li a:hover,
. ul li .current {
  color: #333;
  font-weight: 600;
  background-color: #D9FF66;
  background-image: none;
}

p {
  border: 2px solid grey;
  padding: 10px;
  margin: 10px auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  pa
}

td {
  text-align: center;
}

/* Footer */
footer {
  background-color: #AE9766;
  background-image: url(../image/bg.avif);
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
}
footer a {
  color: #D9FF66;
  text-decoration: none;
}
footer a:hover,
footer .current {
  color: #999;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2c2c2c;
  color: white;
  padding: 1em;
  font-size: 0.95em;
  z-index: 1000;
  display: none; /* Anfangszustand: ausgeblendet */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-popup-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

.cookie-popup a {
  color: #80d4ff;
  text-decoration: underline;
}

#cookie-accept-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9em;
}

#cookie-accept-btn:hover {
  background-color: #45a049;
}

/* Slideshow */
.slideshow-container {
  width: 80%;        /* oder feste Breite, z. B. 600px */
  margin: 0 auto;    /* zentriert horizontal */ 
  max-width: 800px;
}

.slideshow-container img {
  width: 90%;        /* oder feste Breite, z. B. 600px */
  margin: 0 auto;    /* zentriert horizontal */ 
  border: 2px solid grey;
  border-radius: 10px;
}

.mySlides {
  display: none;
}

.fade {
  animation: fade 1.5s ease-in-out;
  
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* Gallery */
.gallery {
  text-align: center;
}

#mainImage {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

#altText {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Buttons */
.buttons button {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  background-image: url(../image/bg.avif);
  background-position: center;
  border: 3px solid grey;
  border-bottom-color: #CCC;
  border-radius: 10px;
  cursor: pointer;
  transition: background-image 0.3s, color 0.3s;
}

.buttons button:hover,
.buttons button .current{
  color: #333;
  font-weight: 600;
  background-color: #D9FF66;
  background-image: none;
}

/* Zoom Window */
#zoomWindow {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#zoomWindow img {
  max-width: 90%;
  max-height: 90%;
}

/* Responsives Verhalten */
@media (max-width: 640px) {
  header {
    font-size: 1.5rem;
  }

  nav,
  ul {
    flex-direction: column;
    align-items: center;
  }
  
  .menu-icon {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 10px;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  .menu li a {
    width: 80vw;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #AE9766;
    border: 3px solid grey;
    border-radius: 10px;
    color: white;
  }

  .menu li a:hover {
    color: #333;
  font-weight: 600;
  background-color: #D9FF66;
  background-image: none;
  }

  ul li a {
    background-color: #AE9766;
	width: 70vw;
    background-image: url(../image/bg.avif);
    color: white;
    padding: 10px;
    margin: .1em .1em .3em .3em;
    border: 3px solid grey;
    border-bottom-color: #CCC;
    border-radius: 10px;
    transition: background-image 0.3s, color 0.3s;
  }

  article {
   margin: 1rem;
    padding: 1rem;
  }


 .buttons button {
    width: 90%;
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }
  
 .tableshow {
            border: 1px solid grey;
  			border-radius: 10px;
            font-weight: bold;
			width: 10%; 			 
        }
		
  #cookie-popup {
    font-size: 0.8rem;
    padding: 1rem 0.5rem;
  }

  footer {
    font-size: 1rem;
  }

  .timg2 {
    width: 100%;
  }
}
