html,
body {
  height: 100%;
}

body {
  padding-top: 70px;
}

@media (min-width: 992px) {
  body {
    padding-top: 126px;
  }
}

h1 {
  font-size: 1.75rem;
  position: relative;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
h4,
h5,
h6 {
  font-size: 1rem;
}

.divider {
  position: relative;
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.divider:before {
  content: " ";
  display: block;
  width: 60px;
  height: 2px;
  position: absolute;
  bottom: 0;
  background-color: var(--bs-primary);
}
.divider:after {
  content: " ";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5rem;
  background-color: rgba(0, 0, 0, 0.1);
}

.btn.btn-primary {
  color: #fff;
}

.btn.btn-white {
  background-color: #fff;
  color: var(--bs-dark);
}
.btn.btn-white:hover {
  background-color: var(--bs-light);
}

/** nav **/
#main-nav-top .navbar-brand {
  transition: transform 0.5s ease-in-out;
}

#main-nav-top {
  background-color: #fff;
  transition: max-height 0.5s ease-in-out;
}

#main-nav-top .nav-link:hover,
#main-nav-top .nav-link.active {
  color: var(--bs-primary);
}

#main-nav-top {
  max-height: auto;
}
#main-nav-top .navbar-brand img {
  height: 50px;
}

@media (min-width: 992px) {
  #main-nav-top {
    max-height: 126px;
  }
  #main-nav-top .navbar-brand img {
    height: 100px;
  }
  body.scroll #main-nav-top .navbar-brand {
    transform: scale(0.5) translateX(-50%);
  }
  body.scroll #main-nav-top {
    max-height: 70px;
  }
}

/** slider **/
#slider-top {
  position: relative;
  margin-top: 0px;
}

.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* hier könntest du einen Hintergrund einfügen, der über dem Sliderbild liegt,
  aber hinter dem Text. zb um eine Verdunklung zu erreichen */
  /* background-color: rgba(0, 0, 0, 0.5); */
  text-align: left;
}

@media (min-width: 576px) {
  .carousel-caption {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}


@media (min-width: 992px) {
  #slider-top {
    margin-top: -126px;
  }
  .carousel-caption {
    padding-top: calc(126px + 50px);
    padding-bottom: 50px;
  }
}

@media (max-width: 991px) {
  #slider-top {
    /* font-size: 0.5rem; */
  }
}

/** content **/
#content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.card-leistung {
  transition: transform 0.25s ease-in-out, border-color 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out;
}

.card-leistung:hover {
  transform: translateY(-10px);
  border-color: var(--bs-primary);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/** call to action **/
.call-to-action {
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--bs-dark);
}

.call-to-action h3 {
  color: var(--bs-dark);
  font-size: 1.75em;
}

/** footer **/
footer {
  background-color: var(--bs-primary);
  color: #fff;
}

#footer-top {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#footer-bottom {
  background-color: rgba(0, 0, 0, 0.25);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9em;
}

footer a,
#footer-bottom a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

#footer-bottom a:hover {
  color: var(--bs-primary);
}

footer a:hover {
  color: rgba(0, 0, 0, 0.25);
}

/** scroll to top button **/
#button-to-top .btn {
  width: 38px;
  height: 38px;
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 900;
  color: #fff;
}
