body {
  scroll-behavior: smooth;
  background: url('img/bg-2.jpg') top center no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  color: #262626;
}

.pt-serif-regular {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.pt-serif-bold {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.pt-serif-regular-italic {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.pt-serif-bold-italic {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: italic;
}

label {
    font-size: 1.25rem;
    color: #262626;
}

section {
  padding: 100px 20px;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grid-container {
  max-width: 60rem;
}

h1, h2, h3 {
  font-family: "Caprasimo", serif;
  font-weight: 400;
  font-style: normal;
  color: #1e3337;

}

a {
  color: #1e3337;
}

.top-bar, .top-bar ul {
    background-color: transparent;
}

.top-bar ul li a {
  color:  #fff;
}

.top-bar ul li a:hover,
.top-bar ul li a:active {
  color: #eee;
}

#hero {

}
#ueber-uns {

}
#promo {

}
#kontakt {

}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Desktop: Pfeil ausblenden */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #333;
  display: none;
  cursor: pointer;
  opacity: 0.7;
}

.scroll-down:hover {
  opacity: 1;
}

img.divider {
  width: 70px;
  margin-top: 50px;
}

.divider {
  display: block;
  margin: 40px auto;
  max-width: 200px;
  opacity: 0.8;
  animation: pulseDivider 3s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

@keyframes pulseDivider {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

.top-bar {
  background: #CAD79A;
  background: linear-gradient(rgba(94, 138, 137, 1) 0%, rgba(48, 108, 111, 1) 100%);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, .25);
}

.button, .button.disabled, .button.disabled:focus, .button.disabled:hover, .button[disabled], .button[disabled]:focus, .button[disabled]:hover {
  background-color: #266165;
  display: block;
  width: 100%;
}

.top-bar img {
  max-height: 50px;
}

.top-bar .menu {
  justify-content: flex-end;
  margin-bottom: 0;
}

.top-bar-title {
  display: flex;
  align-items: center;
  font-weight: bold;
}

#logo-placeholder {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}

#logo-placeholder.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-up {
  position: absolute;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  opacity: 0.7;
  display: none;
}

.scroll-up:hover {
  opacity: 1;
}

section {
  background-color: #fff;
  transition: background-color 1.2s ease-out;
}

/* Sobald sichtbar → transparent */
section.fade-out {
  background-color: rgba(255, 255, 255, 0.0);
}

section#hero {
  background: url('img/bg.jpg') center center no-repeat;
  background-size: cover;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, .5);
}


/* Mobil: Topbar ausblenden */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .scroll-down {
    display: block;
  }
  .scroll-up {
    display: block;
  }
}