@charset "UTF-8";
:root {
  --tz-planner-color-primary: #bd2870;
  --tz-planner-color-primary-light: hsl(from var(--tz-planner-color-primary) h s calc(l + 52));
}

/**
 * -------------------------------------------------------------------
 * Planner Layout
 * -------------------------------------------------------------------
 */
.tz-planner {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}
.tz-planner > * {
  padding: 2rem;
}
.tz-planner:has(.tz-planner__recommendations) .is-sticky {
  position: sticky;
  top: 100px;
}
.tz-planner__content {
  position: relative;
}
.tz-planner__sidebar {
  background-color: var(--tz-planner-color-primary);
}
.tz-planner__tagline {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  line-height: 1.2;
  margin-top: 1.5rem;
  rotate: -4.5deg;
  color: #fff;
}
.tz-planner__progress {
  color: #999;
  font-size: 1.25rem;
}
.tz-planner__title {
  border-bottom: 1px solid #333;
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
  font-size: 2rem;
  line-height: 1.2;
}
.tz-planner__options {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.tz-planner__options > * {
  border: 2px solid #eee;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tz-planner__options > *:has(:checked) {
  background: var(--tz-planner-color-primary-light);
  border-color: var(--tz-planner-color-primary);
}
.tz-planner__options > *:hover {
  border-color: var(--tz-planner-color-primary);
}
.tz-planner__options label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem;
}
.tz-planner__options input[type=radio] {
  --webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tz-planner__options input[type=radio]:checked {
  border-color: var(--tz-planner-color-primary);
}
.tz-planner__options input[type=radio]:checked::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--tz-planner-color-primary);
  transition: background-color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tz-planner__options input[type=checkbox] {
  --webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  border: 1px solid #333;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tz-planner__options input[type=checkbox]::before {
  content: "";
  display: block;
  width: 6px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: 80% 40%;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tz-planner__options input[type=checkbox]:checked {
  background: var(--tz-planner-color-primary);
  border-color: var(--tz-planner-color-primary);
}
.tz-planner__options input[type=checkbox]:checked:before {
  transform: rotate(45deg) scale(1);
}
.tz-planner__actions {
  margin-top: 2.5rem;
  text-align: right;
  position: relative;
}
.tz-planner__steps {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "planner-step";
}
.tz-planner__step {
  grid-area: planner-step;
  opacity: 0;
  visibility: hidden;
}
.tz-planner__step--is-active {
  opacity: 1;
  visibility: visible;
}
.tz-planner__button--neutral {
  background: #f2f2f2 !important;
  color: inherit;
}
.tz-planner__error {
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  padding: 0.125rem 0.5rem;
  font-size: 0.875rem;
  color: #cf2c30;
}
.tz-planner__loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  color: var(--tz-planner-color-primary);
  opacity: 0;
  visibility: hidden;
  place-items: center;
}
.tz-planner__loader.is-loading {
  opacity: 1;
  visibility: visible;
  display: grid;
}
.tz-planner__loader.is-loading::before {
  content: "";
  width: 64px;
  height: 64px;
  border: 10px solid var(--tz-planner-color-primary);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 0.75s linear infinite;
}
.tz-planner__recommendations h3 {
  margin-bottom: 0;
}
.tz-planner__recommendations > * + * {
  margin-top: 1rem;
}
.tz-planner__recommendations > * + h3 {
  margin-top: 1.25rem;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/**
 * -------------------------------------------------------------------
 * Planner Results
 * -------------------------------------------------------------------
 */
.tz-planner-results {
  margin-inline: 0;
  padding: 0;
  display: grid;
  flex-direction: column;
  gap: 1rem;
}

.tz-planner-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border: 2px solid #eee;
  border-left-color: var(--tz-planner-color-primary);
  padding-block: 0.75rem;
  padding-inline: 1.5rem 0.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tz-planner-item::before {
  content: "+";
  position: absolute;
  background: var(--tz-planner-color-primary);
  line-height: 1;
  left: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
}
.tz-planner-item:has(input:not([type=hidden]):focus-visible), .tz-planner-item:hover {
  border-color: var(--tz-planner-color-primary);
}
.tz-planner-item:has(input:not([type=hidden]):checked) {
  border-color: var(--tz-planner-color-primary);
  background: var(--tz-planner-color-primary-light);
}
.tz-planner-item:has(input:not([type=hidden]):checked)::before {
  content: "✓";
}
@media (min-width: 860px) {
  .tz-planner-item {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
}
.tz-planner-item__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
}
.tz-planner-item__title label {
  margin: 0;
}
.tz-planner-item__title label::before {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.tz-planner-item__title span {
  background: #eee;
  border: 1px solid #e3e3e3;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.tz-planner-item__product {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tz-planner-item__product img {
  width: 60px;
}
@media (min-width: 860px) {
  .tz-planner-item__product img {
    width: 80px;
  }
}
.tz-planner-item__location {
  display: inline-block;
  line-height: 1.4;
}
.tz-planner-item__action {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.tz-planner-item__prices {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.5rem;
}
@media (max-width: 859px) {
  .tz-planner-item__prices {
    border-top: 2px dotted #eee;
  }
}
.tz-planner-item__prices > * {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 0 0.5rem;
}
@media (min-width: 860px) {
  .tz-planner-item__prices > * {
    flex-direction: column;
    align-items: initial;
  }
}
.tz-planner-item__price-label {
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
}
.tz-planner-item__price-value {
  font-size: 1.25rem;
  font-weight: 700;
}

/**
 * -------------------------------------------------------------------
 * Anfrageformular
 * -------------------------------------------------------------------
 */
@media (max-width: 859px) {
  .tz-planner-request-form div.wpforms-container-full .wpforms-form .wpforms-one-half {
    float: none;
    margin-left: 0;
    width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
