.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 800;
  color: #0c0c19;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #f02425;
}

/* Der Balken */

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #f02425;
  transition: width 0.3s ease;
}

/* Hover-Animation */

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.text-body {
  --bs-text-opacity: 1;
  color: #ffffff;
}

.link-body-emphasis {
  color: #ffffff;
  -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;
  text-decoration-color: RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))!important;
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: 16px;
  font-weight: 800;
  color: var(--bs-nav-link-color);
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

/* Puls-Hintergrund */

/* Icon bleibt original */

.live-pulse > * {
  position: relative;
  z-index: 2;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.7);
    opacity: 1;
  }
}

/* Großer, weicher Puls-Hintergrund */

/* Das Icon bleibt darüber */

.live-pulse > * {
  position: relative;
  z-index: 2;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

.live-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Großer, weicher Puls-Hintergrund */

.live-pulse::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: #f02425;
  opacity: 0.45;
  filter: blur(12px);
  z-index: -1;
  animation: pulseEffect 1.6s infinite ease-out;
}

/* Das Icon bleibt darüber */

.live-pulse > * {
  position: relative;
  z-index: 2;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

.px-link:hover {
  color: #f02425;
}

.px-link {
  color: #0c0c19;
  /*text-decoration: none;*/
  /*font-size: 18px;*/
  /*font-weight: 700;*/
}

/* Roter Hover-Layer */

/* Text bleibt darüber */

.red-swipe span {
  position: relative;
  z-index: 2;
}

/* Hover Effekt */

.red-swipe {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: #0c0c19;
  padding: 15px 18px;
  font-family: Montserrat, sans-serif;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  z-index: 1;
}

/* Roter Hover-Layer */

.red-swipe::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #f02425;
  z-index: 0;
  transition: left 0.35s ease;
}

/* Text bleibt ganz oben */

.red-swipe > span {
  position: relative;
  z-index: 2;
}

/* Hover-Effekt */

.red-swipe:hover::before {
  left: 0;
}

.form-input-textarea {
  background: rgb(252,252,252);
  border: 1px solid rgb(241,241,241);
}

.form-input {
  height: 50px;
  background: rgb(252,252,252);
  border: 1px solid rgb(241,241,241);
  margin-bottom: 10px;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #f02525;
  outline: 0;
  box-shadow: 0 0 0 .20rem rgba(240,37,37,0.58);
}

.form-check-input:checked {
  background-color: #f02525;
  border-color: #bb1313;
}

.form-check-input:focus {
  border-color: #f02525;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(240,37,37,0.67);
}

.form-select:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #f02525;
  outline: 0;
  box-shadow: 0 0 0 .20rem rgba(240,37,37,0.58);
}

.phone-open {
  display: inline-block;
  animation: phoneWiggle 0.8s ease-in-out infinite;
  transform: rotate(-126deg);
}

@keyframes phoneWiggle {
  0% {
    transform: rotate(-126deg);
  }
  20% {
    transform: rotate(-111deg);
  }
  40% {
    transform: rotate(-141deg);
  }
  60% {
    transform: rotate(-118deg);
  }
  80% {
    transform: rotate(-134deg);
  }
  100% {
    transform: rotate(-126deg);
  }
}

.leistungsbild {
    flex: 0 0 150px;
    aspect-ratio: 4 / 3;      /* statt fester Höhe */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    /* Optional: Schatten oder Radius anpassen */
}
