html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font: 400 1.2rem "urw-din", sans-serif;
}

h1 {
  font: 600 1.2rem "urw-din", sans-serif;
}

a {
  color: #a1a799;
  text-decoration: none;
}

li.menu-kopf a {
  margin-left: 2rem;
}

.top-bar-left b {
  font-weight: 600;
}

.large-4.cell h1 {
  margin-bottom: 30px;
}

.netz_beschreibung {
  color: #4c4c48;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 5px;
  line-height: 1.6em;
  border-bottom: 1px dotted gray;
}

.item {
  overflow: hidden;
  box-shadow: 0 0 3px #cfcfcf;
  margin-bottom: 30px;
}

.item a img {
  filter: grayscale(30%);
  -webkit-transition: all 0.7s ease;
  transition: all 0.7s ease;
}

.item a:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

form {
  margin-bottom: 20px;
}

footer {
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
  font: 400 0.8rem "urw-din", sans-serif;
}

.hamburger {
  text-align: right;
}

@media screen and (min-width: 64em) {
  .galerie {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }
}

.aktive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-filter {
  background: #eee;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  display: inline-flex;
  align-items: center;
}

.badge-close {
  cursor: pointer;
  margin-left: 6px;
  font-weight: bold;
  color: #444;
}

.badge-close:hover {
  color: #000;
}

/* Animation läuft nur auf dem Inhalt (.projekt-item), NIE auf .cell */
#projektListe .projekt-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.55s ease-out,
    transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1); /* Soft bounce */
  will-change: opacity, transform;
}

/* Ausblenden */
#projektListe .projekt-item.anim-hide {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

/* Vorbereitungszustand zum Einfliegen */
#projektListe .projekt-item.anim-show {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
}

/* Sichtbar mit Bounce */
#projektListe .projekt-item.anim-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Zelle wird NUR versteckt, NICHT animiert */
#projektListe .cell.hidden {
  display: none !important;
}