
/* .nav2 {
  display: none; /* Nav2 ist standardmäßig versteckt */ /*
}*/


/*.nav1 li:hover .nav2 {
  display: block; /* Nav2 wird bei Hover über Nav1-Element eingeblendet */
/*}*/

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url("../fonts/opensans.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.font-display {
  font-family: 'Open Sans', sans-serif;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 0.5rem;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  user-select: none;
  pointer-events: none;
}

#lightbox-prev,
#lightbox-next {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  transform: scale(1.3);
  opacity: 1;
}
.masonry {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 640px) { .masonry { column-count: 3; } }
@media (min-width: 768px) { .masonry { column-count: 4; } }
@media (min-width: 1024px){ .masonry { column-count: 5; } }

.masonry-item {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation */
  cursor: pointer;
}

.masonry-item:hover {
  transform: scale(1.05);   /* leicht vergrößern */
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Schatten */
}


.zka-header {
  font-weight: 600;
  font-size: 1.2em;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 10000;
  
}
.zka-header>.zka-container {
  display: flex;
  flex-direction: row;
}

.zka-container {
  width: calc(98vw - 15px);
  margin: 0 auto;
  max-width: 1340px;
  /*height: 6rem;

  height: 100%;*/
  /*padding-right: 2rem;
    padding-left: 2rem;*/
}

  .zka-header__logo {
  height: 4em;
  /*min-height: 4em;
  min-width: 5em;*/
  z-index: 50;
  position: relative;
  transform: translateY(0.5em)
              translatex(0.5em);            
  
  background-color: #afd282;
  transition: all 0.3s ease;
}

  .zka-header__logo2 {
  height: 4em;
  min-height: 4em;
  min-width: 5em;
  z-index:999;
  position: relative;
  /*transform: translateY(0.5em);*/
  background-color: #afd282;
}



.zka-header__primary>ul {
  list-style: none;
  margin: 0;
  margin-left: 36px;
}

.zka-header__primary>ul>li {
  float: left;
  margin-right: 2em;
  letter-spacing: 0.01em;
}


.zka-header__primary>ul>li nav {
  overflow: hidden;
  line-height: 2.5em;
  position: absolute;
  left: 0;
  right: 0;
  font-size: 0.9em;
}

.zka-header__primary>ul>li nav ul {
  list-style: none;
}

.zka-header__secondary {
  float: right;
  font-weight: 400;
  font-size: 0.9em;
  margin-left: auto;
}


.zka-header__secondary ul {
  list-style: none;
  margin: 0;
}

.zka-header__secondary ul li {
  float: left;
  margin-right: 1.25em;
}

.zka-liste {
  list-style: none;
  padding: 0;
}

.zka-liste li {
  position: relative;
  padding-left: 2em;
  display: flex;
  align-items: flex-start;
  padding-bottom: 0.5em;
}

.zka-liste li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: darkgreen;
  top: 0.1em;
} 
.button {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(40 84 32 / var(--tw-bg-opacity));
  padding: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 253 246 / var(--tw-text-opacity));
  border-width: 0px;
}
.button_klein {
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(40 84 32 / var(--tw-bg-opacity));
  padding: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 253 246 / var(--tw-text-opacity));
}
.button:hover {
  background-color: rgb(255 253 246 / var(--tw-bg-opacity)); /* dunkler bei Hover */
  color: rgb(24 121 58 / var(--tw-text-opacity));
  border-color: rgb(24 121 58 / var(--tw-bg-opacity));
}

.button:focus {
  outline: 2px solid #166534; /* dunklerer Grünton */
  outline-offset: 2px;
}

.zka-header__burger {
  display: none;
}

/* Mobile*/
  @media screen and (max-width: 1023px) {
  .zka-header>.zka-container {
    flex-wrap: wrap;
    width: 100vw;
    height: 3em;
  }
  /* Logo schrumpft */
  .zka-header.shrink .zka-header__logo {
      height: 3rem; /* kleineres Logo */
      transform: translatex(0.5em);
  }

.zka-header__burger {
    display: block;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    width: 2.8em;
    height: 2.8em;
    cursor: pointer;
    z-index: 100;
    margin-left: 1em;
    --tw-bg-opacity: 1;
    background-color: rgb(255 253 246 / var(--tw-bg-opacity));
    position: relative;
    transform: translateY(0.1em);
}
.zka-header__burger span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: #065f46; /* grün */
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Positionen der Linien */
.zka-header__burger span:nth-child(1) {
    top: 0.9em;
}

.zka-header__burger span:nth-child(2) {
    top: 1.5em;
}

.zka-header__burger span:nth-child(3) {
    top: 2.1em;
}

/* AKTIVER Zustand → X */
.zka-header__burger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 1.5em;
}

.zka-header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.zka-header__burger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 1.5em;
} 

  .f3-c-header__social {
    margin-left: auto;
  }

.zka-header__primary {
    display: none;
    order: 9;
    width: 100vw;
    line-height: 2em;
    margin-top: -0.7em;
    max-height: calc(100vh - 3.2em);
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 0.3s ease;
  }

  .zka-header__primary--open {
    display: block;
  }

  .zka-header__primary>ul {
    padding: 0;
  }

  .zka-header__primary>ul>li {
    float: none;
    margin-left: 1em;
    margin-top: 1em;
  }

  .zka-header__primary>ul>li:hover nav {
    height: inherit;
  }

  .zka-header__primary>ul>li:after {
    display: none;
  }

  .zka-header__primary>ul>li nav {
    position: inherit;
    height: auto;
    padding: 0;
    margin-left: -1em;
    padding: 0 1em;
    width: 100vw;
  }

  .zka-header__primary>ul>li nav ul {
    padding: 0;
    line-height: 2.5em;
  }

  .zka-header__primary>ul>li nav ul li {
    float: none;
    margin: 0;
  }

  .zka-header__primary>ul>li nav ul li:first-of-type {
    margin: 0;
  }

.zka-header__secondary {
    display: none;
    flex-basis: 100%;
    order: 10;
  }
 .zka-header__secondary--open {
    display: block;
  }

  .container {
  width: calc(98vw - 15px);
  margin: 0 auto;
  max-width: 1340px;
  height: 100%;
  }
.gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: left;
    }

  .gallery img {
      height: 300px;
      aspect-ratio: auto; /* Querbild wird automatisch angepasst */
      object-fit: cover;
      border-radius: 2px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      transition: transform 0.2s ease;
    }
.masonry {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 640px) { .masonry { column-count: 3; } }
@media (min-width: 768px) { .masonry { column-count: 4; } }
@media (min-width: 1024px){ .masonry { column-count: 5; } }

.masonry-item {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation */
  cursor: pointer;
}

.masonry-item:hover {
  transform: scale(1.05);   /* leicht vergrößern */
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Schatten */
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 0.5rem;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  user-select: none;
  pointer-events: none;
}

#lightbox-prev,
#lightbox-next {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  transform: scale(1.3);
  opacity: 1;
}

}