.NachtzuschlagRechnerBacklinkBox {
  max-width: 728px;
  margin: auto;
  display: flex;
  justify-content: end;
  align-items: end;
  margin-top: 60px;
  gap: 10px;
}

.NachtzuschlagRechnerBacklinkBox
  .NachtzuschlagRechnerTooltip
  .NachtzuschlagRechnerTooltiptext {
  width: 300px;
  bottom: auto !important;
  top: 100%;
  left: -63px;
}

.NachtzuschlagRechnerBacklinkBox .NachtzuschlagRechnerTooltip {
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  padding: 1px 3px;
  opacity: 0.7;
  display: flex;
}

.NachtzuschlagRechnerBacklinkBox
  .NachtzuschlagRechnerTooltip
  .NachtzuschlagRechnerInfoIcone {
  display: flex;
  width: 17px;
}

.NachtzuschlagRechnerBacklinkBox .NachtzuschlagRechnerTooltip:hover {
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.NachtzuschlagRechnerBacklink {
  display: flex;
  align-items: start;
  gap: 5px;
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  padding: 3px;
  margin-right: 10px;
  color: #7f7f7f;
  font-size: 11px;
  line-height: 13px;
}

.NachtzuschlagRechnerBacklink:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.NachtzuschlagRechnerBacklink > img {
  width: 11px;
  opacity: 0.5;
  transition: all 0.2s;
}


.NachtzuschlagRechnerContainer {
  max-width: 728px;
  margin: 0 auto 50px auto;
  padding: 0 0 0 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  display: flex;
  justify-content: center;
}

.NachtzuschlagRechnerLeftPart {
  width: 65%;
  margin-right: 3%;
}

.NachtzuschlagRechnerTitle {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
  color: #000000;
  margin-top: 20px;
}

.NachtzuschlagRechnerRightPart {
  width: 41%;
  background: #170b61;
  position: relative;
  border-radius: 0px 10px 10px 0px;
}

.NachtzuschlagRechnerFormRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 23px;
  position: relative;
}

.NachtzuschlagRechnerLabel {
  flex: 1;
  margin-right: 10px;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.88);
  margin-bottom: 5px;
}

.NachtzuschlagRechnerInput,
.NachtzuschlagRechnerSelect {
  width: 10%;
  flex: 0.5;
  color: #333 !important;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 16px;
  gap: 4px;
  height: 32px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 8px;
}

.NachtzuschlagRechnerButton {
  width: 100%;
  height: 40px;
  background-color: #170b61;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 20px;
  font-family: inherit;
}

.NachtzuschlagRechnerButton:hover {
  background-color: #12094d;
}

#NachtzuschlagResult {
  margin-left: 11%;
  margin-right: 10%;
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin-top: -24px;
  line-height: 18px;
}

.NachtzuschlagRechnerRightPart > div img {
  position: relative;
  width: 64px;
  height: 54px;
  top: 27px;
  left: -44px;
}

.NachtzuschlagRechnerRightPart > img {
  width: 58%;
  margin-top: 21%;
  margin-left: 21%;
}

.nachtzuschlag-error-message {
  position: absolute;
  margin-top: 55px;
  right: 0;
  font-size: 0.9em;
  color: red;
}

.NachtzuschlagRechnerResultsBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.NachtzuschlagRechnerResultsBox > span > span {
  white-space: nowrap;
}

.NachtzuschlagRechnerTooltip {
  position: relative;
  display: inline-block;
  margin-left: 5px;
}

.NachtzuschlagRechnerTooltip .NachtzuschlagRechnerTooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #f9f9f9;
  color: #333;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 18px;
  max-height: 120px;
  overflow: auto;
}

.NachtzuschlagRechnerTooltiptext {
  --sb-track-color: #ffffff;
  --sb-thumb-color: #c1c1c1;
  --sb-size: 9px;
}

.NachtzuschlagRechnerTooltiptext::-webkit-scrollbar {
  width: var(--sb-size);
}

.NachtzuschlagRechnerTooltiptext::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 4px;
}

.NachtzuschlagRechnerTooltiptext::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 4px;
}

@supports not selector(::-webkit-scrollbar) {
  .NachtzuschlagRechnerTooltiptext {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.NachtzuschlagRechnerTooltip:hover .NachtzuschlagRechnerTooltiptext {
  visibility: visible;
  opacity: 1;
}

.NachtzuschlagRechnerTooltip .info-icon {
  width: 16px;
  height: 16px;
  fill: #636363;
  cursor: pointer;
}

.NachtzuschlagRechnerSliderContainer {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 5px;
}

.NachtzuschlagRechnerSlider {
  flex: 3;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(
    to right,
    #1677ff 0%,
    #1677ff var(--slider-value, 50%),
    #ddd var(--slider-value, 50%),
    #ddd 100%
  );
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 32px;
  position: relative;
  z-index: 1;
}

.NachtzuschlagRechnerSlider::-webkit-slider-thumb:active {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.NachtzuschlagRechnerSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  position: relative;
}

.NachtzuschlagRechnerSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #1677ff;
  border-radius: 50%;
  cursor: pointer;
}

.NachtzuschlagRechnerInfoIcone {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

#nachtzuschlagForm {
  display: flex;
  flex-direction: column;
}

/******** width 691 ********/

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerTitle {
  text-align: center;
}

.width691NachtzuschlagRechnerContainer {
  padding: 0 20px 0 20px;
  flex-direction: column;
  align-items: center;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerLeftPart {
  width: 80%;
  margin-left: 0;
  margin-right: 0;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart {
  width: 60%;
  min-height: 76px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 435px;
  border-radius: 12px;
  padding: 0 20px 0 20px;
  position: absolute;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart > img {
  display: none;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart > h4 {
  margin-left: -50px;
  margin-right: 13px;
  margin-top: 16px;
  order: 2;
  font-size: 18px;
}

.width691NachtzuschlagRechnerContainer #NachtzuschlagResult {
  margin: auto;
  margin-left: -29px;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerResultsBox {
  width: 106%;
  margin-bottom: 10px;
  gap: 10px;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerButton {
  width: 30%;
  height: 32px;
  background: #170b61;
  border-radius: 8px;
  margin-left: auto;
  display: block;
  margin-bottom: 53px;
}

.width691NachtzuschlagRechnerContainer
  .NachtzuschlagRechnerRightPart
  > div:first-of-type {
  position: relative;
  left: -39px;
}

.width691NachtzuschlagRechnerContainer
  .NachtzuschlagRechnerRightPart
  > div
  img {
  left: 4px;
  top: 3px;
  width: 111px;
  height: 93px;
}

.width691NachtzuschlagRechnerContainer .NachtzuschlagRechnerSlider {
  width: 60%;
}

/******** width 650 ********/

.width650NachtzuschlagRechnerContainer .NachtzuschlagRechnerLeftPart {
  width: 100%;
}

.width650NachtzuschlagRechnerContainer
  .NachtzuschlagRechnerTooltip
  .NachtzuschlagRechnerTooltiptext {
  left: -365%;
}

/******** width 607 ********/

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart > h4 {
  font-size: clamp(16px, 3vw, 25px);
}

.width607NachtzuschlagRechnerContainer #NachtzuschlagResult {
  font-size: clamp(12px, 2.8vw, 16px);
  margin: auto;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerResultsBox {
  width: 100%;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerSlider {
  width: 48%;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerButton {
  width: 40%;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart {
  width: 77%;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerInput,
.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerSelect {
  flex: auto;
  width: 100%;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerTitle {
  font-size: clamp(16px, 6vw, 45px);
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerSlider {
  display: none;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerButton {
  width: auto;
  width: 100%;
  margin-left: 0;
}

.width607NachtzuschlagRechnerContainer
  .NachtzuschlagRechnerRightPart
  > div:first-of-type {
  display: none;
}

.width607NachtzuschlagRechnerContainer .NachtzuschlagRechnerRightPart > h4 {
  margin-left: 0;
  margin-right: 0;
}

.width607NachtzuschlagRechnerContainer
  .NachtzuschlagRechnerSliderContainer
  > div:last-of-type {
  line-height: 12px;
  font-size: 12.5px;
}

/******** width 393 ********/

.width393 .NachtzuschlagRechnerRightPart > h4 {
  margin-right: -10px;
  margin-left: 0;
}
