.embla {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.embla__prev,
.embla__next {
  position: absolute;
  bottom: 10px;       /* Abstand vom unteren Rand */
  z-index: 10;        /* sicher über den Bildern */
  opacity: 0.6;
}

.embla__prev:hover,
.embla__next:hover {
  opacity: 1;
}

.embla__prev {
  left: 10px;         /* Abstand links */
}

.embla__next {
  right: 10px;        /* Abstand rechts */
}

.embla__container {
  display: flex;
  gap: 0;
  background-color: #666;
}

.embla__slide {
  flex: 0 0 auto;
}

.embla__slide img {
  height: 300px;
  width: auto;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.video-js {
  border-radius: 10px!important;
}

.vjs-poster > img {
  border-radius: 10px!important;
}

.vjs-control-bar {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

video {
  border-radius: 10px!important;
}

/* Ab sm (>=576px): kleinere Höhe */
@media (min-width: 576px) {
  .embla__slide img {
    height: 500px; /* oder was du brauchst */
  }
}

/* Ab md (>=768px): noch mal anpassen */
@media (min-width: 768px) {
  .embla__slide img {
    height: 700px;
  }
}

.vjs-big-play-bottom-right .vjs-big-play-button {
  top: auto !important;
  left: auto !important;
  bottom: 10px !important;  /* Abstand nach unten */
  right: 10px !important;   /* Abstand nach rechts */
}

table tbody tr:last-child td {
  border-bottom: none !important;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #333;
}

.nav-link:hover, .nav-link:focus {
  color: #333333;
}

.nav-link.active {
  color: #000;
  font-weight: bold;
}

#mainnav .nav-link.active {
  position: relative;
  font-weight: bold;
}

section[id] {
  scroll-margin-top: 140px;
}

@media (min-width: 992px) {
  #vita-header {
    position: sticky;
    top: 0px;
    z-index: 1030;
  }
}

#vita-cat0, #vita-cat1, #vita-cat2, #vita-cat3, #vita-cat4, #vita-cat5 {
  scroll-margin-top: 100px;
}

#nav-vita .nav-link.active {
  background-color: var(--bs-white);
  border-radius: 0.375rem;
  color: var(--bs-primary);
  font-weight: bold;
}

.nav-contact {
  border-bottom: 0px;
  padding-bottom: 2px;
}

.nav-contact:hover {
  color: #333!important;
}

.toggle-text {
  max-width: 100%;
  word-break: break-word;
  box-sizing: border-box;
}

.offcanvas .dropdown-toggle {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.offcanvas-body a {
  color: inherit;
  text-decoration: none;
}

.offcanvas-body a:hover {
  color: inherit;
  text-decoration: none;
}

.profile-cat {
  font-weight: bolder;
  margin-top: 0.5rem;
}

.badge-outline-dark {
  color: #212529;
  background-color: transparent;
  border: 1px solid #212529;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 0.375rem;
}

.dropdown-item {
  cursor: pointer;
}

.navbar-nav .nav-link:hover {
  /* font-weight: bold; */
  color: var(--bs-primary);
}

.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

