.mietpreise-container-isolated .mietpreise-wrapper {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  clear: both;
  overflow-x: auto;
}

.mietpreise-container-isolated .mietpreise-tabelle {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: inherit;
  border-radius: 6px;
  padding: 1rem;
  background-color: #fff;
}

.mietpreise-container-isolated .mietpreise-tabelle th,
.mietpreise-container-isolated .mietpreise-tabelle td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 1rem;
  padding: 0.5em 0.75em;
  width: 33.33%;
  max-width: none;
}

.mietpreise-container-isolated .mietpreise-tabelle thead th {
  background-color: #ffd522;
  font-weight: bold;
}

.mietpreise-container-isolated .wochenend-tarif {
  background-color: #fff9db;
  border-top: 0.125rem solid #ffd522;
  border-bottom: 0.125rem solid #ffd522;
  font-weight: bold;
}

.mietpreise-container-isolated .row-grey {
  background-color: #f5f5f5;
font-style: italic;
}

.mietpreise-container-isolated .tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.mietpreise-container-isolated .tooltip-icon {
  background-color: #ffd522;
  color: #000;
  border-radius: 50%;
  width: 1.125rem;
  height: 1.125rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
  text-align: center;
  font-weight: bold;
  display: inline-block;
}

.mietpreise-container-isolated .tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  max-width: 12.5rem;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 0;
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: normal;
  font-size: 0.75rem;
}

.mietpreise-container-isolated .tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0.625rem;
  border-width: 0.3125rem;
  border-style: solid;
  border-color: #ffd522 transparent transparent transparent;
}

.mietpreise-container-isolated .tooltip:hover .tooltip-text,
.mietpreise-container-isolated .tooltip:focus .tooltip-text,
.mietpreise-container-isolated .tooltip:active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.mietpreise-container-isolated .mwst-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  padding: 0.625rem;
}

.mietpreise-container-isolated .mwst-switch-wrapper span:first-child {
  font-weight: bold;
  font-size: 1rem;
}

.mietpreise-container-isolated .switch {
  display: inline-block;
  background-color: #ccc;
  border-radius: 999px;
  position: relative;
  width: 50px;
  height: 24px;
}

.mietpreise-container-isolated .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mietpreise-container-isolated .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: 0.4s;
  border-radius: 1.5rem;
}

.mietpreise-container-isolated .slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.4s;
}

.mietpreise-container-isolated .mwst-switch-wrapper.mwst-incl .slider {
  background-color: #47ac34 !important;
}

.mietpreise-container-isolated .mwst-switch-wrapper.mwst-excl .slider {
  background-color: #c62828 !important;
}

.mietpreise-container-isolated input:checked + .slider:before {
  transform: translateX(26px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mietpreise-container-isolated .mietpreise-tabelle th,
  .mietpreise-container-isolated .mietpreise-tabelle td {
    font-size: 0.875rem;
    padding: 0.5em;
  }

  .mietpreise-container-isolated .tooltip-text {
    font-size: 0.75rem;
    max-width: 90vw;
  }

  .mietpreise-container-isolated .tooltip-icon {
    width: 1rem;
    height: 1rem;
    font-size: 0.6875rem;
    line-height: 1rem;
  }
}

@media (max-width: 480px) {
  .mietpreise-container-isolated .mietpreise-tabelle th,
  .mietpreise-container-isolated .mietpreise-tabelle td {
    font-size: 0.8125rem;
    padding: 0.375rem 0.5rem;
  }
}
