:root {
  --question-gap: 16px;
  --question-gap-lg: 20px;
}

.bnwev2_tooltip_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 27, 40, 0.5);
  z-index: 20;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

@media only screen and (min-width: 900px) {
  .bnwev2_tooltip_overlay {
    display: none;
  }
}

.bnwev2_tooltip_overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.bnwev2_tooltip_icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: help;
}

.bnwev2_tooltip_icon--birthdate {
  cursor: pointer;
}

@media only screen and (max-width: 899px) {
  .bnwev2_tooltip_container {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 95vw;
    box-sizing: border-box;
    padding: 37px 24px;
    border-radius: 15px 15px 0px 0px;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
      opacity 0.25s ease;
  }

  .bnwev2_tooltip_container.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.bnwev2_tooltip_container_inner {
  margin-bottom: 13px;
  position: relative;
}

.bnwev2_tooltip_title {
  color: #2d1a5b;
  font-weight: 600;
  margin-right: 20px;
}

.bnwev2_tooltip_description {
  color: #474a73;
}

.bnwev2_tooltip_container_inner svg {
  position: absolute;
  right: 0;
  top: 4px;
  color: #6a3dc4;
  stroke-width: 2px;
}

@media only screen and (min-width: 900px) {
  .bnwev2_tooltip_container {
    display: none;
    position: absolute;
    background-color: #333346;
    border-radius: 10px;
    box-shadow: -4px 9px 15px -15px #0a0d12;
    z-index: 20;
    padding: 16px;
    max-width: 300px;
  }

  .bnwev2_tooltip_container::after {
    content: "";
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    right: 20px;
    border-width: 10px;
    border-style: solid;
    border-color: #333346 transparent transparent transparent;
  }

  .bnwev2_tooltip_container.visible {
    display: block;
  }

  .bnwev2_tooltip_title {
    color: #fff;
  }

  .bnwev2_tooltip_description {
    color: #fff;
  }

  .bnwev2_tooltip_container_inner svg {
    display: none;
  }
}

.bnwev2_header {
  background: #f8f5f4;
  border-radius: 0px 0px 20px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
  max-width: 700px;
  margin: auto;
}

.bnwev2_logo {
  padding: 16px 0;
  cursor: pointer;
}

.bnwev2_headerornament--left {
  align-self: flex-end;
}

.bnwev2_headerornament--right {
  align-self: flex-start;
}

.bnwev2_backbut {
  position: absolute;
  display: none;
  align-items: center;
  background-color: transparent;
  margin-right: auto;
  padding: 0 18px;
  box-sizing: border-box;
  color: #6e76a2;
  gap: 8px;
  cursor: pointer;
}

.bnwev2__progresssection {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto;
  margin-top: 20px;
  margin-bottom: 24px;
  gap: 6px;
  width: 90vw;
  max-width: 327px;
  color: #474a73;
  font-size: 12px;
}

@media only screen and (min-width: 900px) {
  .bnwev2__progresssection {
    margin-top: 28px;
    gap: 8px;
  }
}

.bnwev2__progresssection.short {
  grid-template-columns: repeat(3, 1fr);
}

.bnwev2__progressstep {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bnwev2__progressbar {
  height: 5px;
  width: 100%;
  background: #dcd3dc;
  border-radius: 99px;
  margin-bottom: 5px;
}

.bnwev2__progressbar.active {
  background-color: #6a3dc4;
}

.bnwev2__progresstext {
  opacity: 0.5;
}

.bnwev2__progresstext.active {
  opacity: 1;
}

.bnwev2__progressstep--sub {
  display: flex;
  width: 100%;
  gap: 5px;
}

.bnwev2__progressstep--sub .bnwe__progressbar {
  width: 50%;
}

.bnwev2_form {
  width: min(700px, 95vw);
  margin: auto;
  border-radius: 15px;
  background-color: #f8f5f4;
  border: 1px solid #ffffff;
  padding: 18px;
  box-sizing: border-box;
  margin-bottom: 80px;
}

.bnwev2_radiowrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 9px;
}

.bnwev2_radiowrapperrow {
  display: flex;
  align-items: flex-start;
}

.bnwev2_checkboxcheck {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bnwev2_checkboxcheck_label {
  position: relative;
  display: block;
  padding: 0 30px;
  gap: 8px;
  color: #535862;
  font-size: 12px;
  box-sizing: border-box;
}

.bnwev2_checkboxcheck_label::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #d5d7da;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}

.bnwev2_checkboxcheck:checked + .bnwev2_checkboxcheck_label::before {
  background-color: #6a3dc4;
  background-image: url("../bilder/stanicons/check_icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.bnwev2_radioheader {
  color: #414651;
  font-size: 14px;
  margin-bottom: 4px;
}

.bnwev2_radiowrapper label {
  text-align: center;
  width: 100%;
  font-size: 16px;
  box-sizing: border-box;
  color: #717680;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #474a73;
}

.bnwev2_radiowrapper label::before {
  content: "";
  display: inline-block;
  height: 24px;
  width: 24px;
  border: 2px solid #6a3dc4;
  border-radius: 100%;
}

.bnwev2_radio_selected::before {
  background-color: #6a3dc4;
  background-image: url("../bilder/stanicons/check_icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.bnwev2_radiowrapper input {
  display: none;
}

.bnwev2_formheader {
  margin: 0;
  color: #2d1a5b;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}

@media only screen and (min-width: 550px) {
  .bnwev2_formheader {
    font-size: 24px;
  }
}

.bnwev2_buttonwrapper {
  position: fixed;
  background-color: #f8f5f4;
  width: 100%;
  max-width: 700px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 20px 20px 0px 0px;
  border: 1px solid #ffffff;
}

.bnwev2_segmentedcontrol {
  width: 100%;
  display: flex;
  border: #c5c9dc 1px solid;
  border-radius: 10px;
  color: #474a73;
  overflow: hidden;
  background-color: #fff;
}

.bnwev2_segmentedcontrol label {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  color: #474a73;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media only screen and (min-width: 900px) {
  .bnwev2_segmentedcontrol label {
    padding: 12px 24px;
    font-size: 18px;
  }
}

.bnwev2_segmentedcontrol label:first-of-type {
  border-right: #c5c9dc 1px solid;
}

.bnwev2_segmentedcontrol input {
  display: none;
}

.bnwev2_segmentedcontrol input:checked + label {
  background: linear-gradient(
      0deg,
      var(--Color-Background-Surface-pressed-inverse, #dedbf9) 0%,
      var(--Color-Background-Surface-pressed-inverse, #dedbf9) 100%
    ),
    var(--Colors-Background-bg-primary, #fff);
  color: #6a3dc4;
}

.bnwev2_validationerror {
  margin-top: 24px;
  color: #b91740;
  display: none;
}

.bnwev2_validationerror:last-of-type {
  margin-top: 0;
}

.bnwev2_validationerror.visible {
  display: block;
}

.bnwev2_inputlabel {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #474a73;
  transition: all 0.2s ease;
  pointer-events: none;
  margin-right: 30px;
}

.bnwev2_input:focus + .bnwev2_inputlabel,
.bnwev2_input:not(:placeholder-shown) + .bnwev2_inputlabel {
  top: 0%;
  font-size: 12px;
  background-color: #fff;
  padding: 0 4px;
}

.bnwev2_input:autofill + .bnwev2_inputlabel {
  top: 6px;
  font-size: 12px;
  color: #333;
}

.bnwev2_question_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--question-gap);
}

@media only screen and (min-width: 900px) {
  .bnwev2_question_container {
    gap: var(--question-gap-lg);
  }
}

.bnwev2_question_wrapper {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--question-gap);
}

.bnwev2_question_wrapper--double {
  display: flex;
  flex-direction: row;
}

@media only screen and (min-width: 900px) {
  .bnwev2_question_wrapper--double {
    gap: 12px;
  }
}

.bnwev2_question_wrapper--responsive {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media only screen and (min-width: 640px) {
  .bnwev2_question_wrapper--responsive {
    flex-direction: row;
  }
}

.bnwev2_question {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.bnwev2_input {
  width: 100%;
  border: 1px solid #c5c9dc;
  height: 45px;
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  box-sizing: border-box;
  color: #474a73;
  overflow: hidden;
  position: relative;
}

@media only screen and (min-width: 900px) {
  .bnwev2_input {
    padding: 16px;
    font-size: 14px;
  }
}

.bnwev2_input_select {
  color: #666;
  box-sizing: border-box;
  padding: 12px;
}

.bnwev2_input::placeholder {
  color: transparent;
}

.bnwev2_input:focus {
  outline: none;
  border-color: 1px #3a296d !important;
}

#recent_job_change_expand,
#additional_income_expand,
#dentures_bonus_expand {
  display: none;
}

#recent_job_change_expand.expanded,
#additional_income_expand.expanded,
#dentures_bonus_expand.expanded {
  display: flex;
  flex-direction: column;
  gap: var(--question-gap);
  width: 100%;
}

@media only screen and (min-width: 900px) {
  #recent_job_change_expand.expanded,
  #additional_income_expand.expanded,
  #dentures_bonus_expand.expanded {
    gap: var(--question-gap-lg);
  }
}

.bnwev2_question_wrapper_radio {
  width: 100%;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
}

.bnwev2_question_wrapper_radio--expand {
  margin-top: 16px;
}

@media only screen and (min-width: 900px) {
  .bnwev2_question_wrapper_radio--expand {
    margin-top: 20px;
  }
}

.bnwev2_radio_label {
  margin-bottom: 8px;
  color: #414651;
  font-size: 14px;
  padding-right: 25px;
  box-sizing: border-box;
}

@media only screen and (min-width: 900px) {
  .bnwev2_radio_label {
    margin-bottom: 12px;
  }
}
@media only screen and (min-width: 900px) {
  .bnwev2_radio_label {
    margin-bottom: 12px;
  }
}
.bnwev2_summary_header {
  color: #2d1a5b;
  font-size: 14px;
  margin-bottom: 12px;
}

.bnwev2_canvas_header {
  color: #474a73;
  font-size: 14px;
}

.bnwev2_canvas {
  margin-top: 6px;
  margin-bottom: 8px;
}

.bnwev2_canvasbutton_delete {
  border: none;
  background: none;
  padding: 0;
  color: #6a3dc4;
  text-decoration: underline;
  font-size: 16px;
  margin-bottom: 20px;
}

.bnwev2_summary_overview--container {
  position: relative;
}

.bnwev2_summary_overview--background {
  content: " ";
  inset: 5px;
  position: absolute;
  border-radius: inherit;
  background: radial-gradient(
      30% 30% at 0% 0%,
      rgba(4, 125, 255, 0.5) 0%,
      transparent 100%
    ),
    radial-gradient(
      30% 30% at 100% 0%,
      rgba(255, 4, 230, 0.2) 0%,
      transparent 100%
    ),
    radial-gradient(
      30% 30% at 100% 100%,
      rgba(255, 4, 230, 0.2) 0%,
      transparent 100%
    ),
    radial-gradient(
      30% 30% at 0% 100%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 100%
    );
  filter: blur(20px);
}

.bnwev2_summary_overview {
  width: 100%;
  background-color: #f8f5f4;
  border: 1px solid #fff;
  border-radius: 15px;
  padding: 12px 16px;
  box-sizing: border-box;
  color: #474a73;
  position: relative;
  z-index: 1;
}

@media only screen and (min-width: 900px) {
  .bnwev2_summary_overview {
    padding: 16px 40px;
  }
}

.bnwev2_summary_overview_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bnwev2_summary_overview_row--bottom {
  padding-top: 12px;
}

@media only screen and (min-width: 900px) {
  .bnwev2_summary_overview_row--bottom {
    padding-top: 16px;
  }
}

.bnwev2_summary_overview_row:first-of-type {
  border-bottom: 1px solid #fff;
}

.bnwev2_summary_overview_row--top {
  text-align: right;
  padding-bottom: 12px;
}

@media only screen and (min-width: 900px) {
  .bnwev2_summary_overview_row--top {
    padding-bottom: 16px;
  }
}

.bnwev2_summary_monthlycontribution {
  color: #2d1a5b;
  font-weight: 600;
  font-size: 16px;
  text-align: right;
}

@media only screen and (min-width: 900px) {
  .bnwev2_summary_monthlycontribution {
    font-size: 18px;
  }
}

.bnwev2_summary_overview_text {
  color: #535a87;
  font-size: 14px;
}

.bnwev2_summary_overview_savings {
  color: #085d3a;
  font-size: 16px;
  font-weight: 700;
}

@media only screen and (min-width: 900px) {
  .bnwev2_summary_overview_savings {
    font-size: 18px;
  }
}

.bnwev2_autocomplete_input {
  position: relative;
  border-radius: 10px;
}

.bnwev2_autocomplete_dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #c5c9dc;
  border-radius: 8px;
  width: 100%;
  height: 120px;
  max-height: fit-content;
  overflow-y: auto;
  top: calc(100% + 4px);
  display: none;
  padding: 4px 0;
  color: #474a73;
  font-size: 16px;
  box-sizing: border-box;
  z-index: 30;
}

@media only screen and (min-height: 750px) {
  .bnwev2_autocomplete_dropdown {
    height: 200px;
  }
}

.bnwev2_autocomplete_item {
  padding: 8px 8px;
  margin: 0 6px;
  box-sizing: border-box;
}

.bnwev2_autocomplete_item.highlight {
  background-color: #eeecfb;
  color: #6a3dc4;
  font-weight: 400;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bnwev2_autocomplete_item.highlight::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M16.6673 5L7.50065 14.1667L3.33398 10" stroke="%236a3dc4" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.bnwev2_signeerror {
  color: #b91740;
}

.bnwev2_submit_success_container {
  display: none;
}

.bnwev2_submit_success_container.visible {
  display: block;
}

.bnwev2_birthdate_picker_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 27, 40, 0.5);
  z-index: 20;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

@media only screen and (min-width: 900px) {
  .bnwev2_birthdate_picker_overlay {
    display: none;
  }
}

.bnwev2_birthdate_picker_overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media only screen and (max-width: 899px) {
  .bnwev2_birthdate_picker_container {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 100vw;
    box-sizing: border-box;
    padding: 37px 24px;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
      opacity 0.25s ease;
  }

  .bnwev2_birthdate_picker_container.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.date-input-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.date-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.date-input:hover {
  border-color: #6a11cb;
  background: white;
}

.date-input:focus {
  outline: none;
  border-color: #6a11cb;
  background: white;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.calendar-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.5;
}

.bnwev2_datepicker_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.bnwev2_datepicker_modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-end;

  @media screen and (min-width: 900px) {
    align-items: center;
  }
}

body:has(.bnwev2_datepicker_modal.active) {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bnwev2_datepicker_container {
  background: white;
  border-radius: 15px 15px 0px 0px;
  padding: 30px;
  max-width: 500px;
  width: 95vw;
  box-sizing: border-box;
  animation: slideUp 0.3s ease;

  @media screen and (min-width: 900px) {
    border-radius: 20px;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bnwev2_datepicker_header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 30px;
}

.picker-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.bnwev2_datepicker_close-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bnwev2_datepicker_close-btn:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.bnwev2_datepicker_action-buttons {
  display: flex;
  justify-content: center;
}

.bnwev2_datepicker_wheel {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  /* background: #f8f9fa; */
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
  gap: 15px;
}

.bnwev2_datepicker_wheel-column {
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bnwev2_datepicker_wheel-column::-webkit-scrollbar {
  display: none;
}

.bnwev2_datepicker_wheel-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #666;
  scroll-snap-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
  text-align: center;
  width: 100%;
  text-align: center;
}

#dayColumn,
#yearColumn {
  width: 50px;
}

#monthColumn {
  width: 100px;
}

.bnwev2_datepicker_wheel-item:hover {
  color: #6a11cb;
}

.bnwev2_datepicker_wheel-item.selected {
  color: #333;
  font-weight: 600;
  font-size: 18px;
}

.bnwev2_datepicker_wheel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 40px;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 230px;
}
.bnwev2_datepicker_wheel-overlay-item {
  height: 40px;
  position: relative;
}

.bnwev2_datepicker_wheel-overlay-item.short {
  width: 50px;
}

.bnwev2_datepicker_wheel-overlay-item.long {
  width: 100px;
}

.bnwev2_datepicker_wheel-overlay-item::before,
.bnwev2_datepicker_wheel-overlay-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #6a3dc4;
}

.bnwev2_datepicker_wheel-overlay-item::before {
  top: 0;
}

.bnwev2_datepicker_wheel-overlay-item::after {
  bottom: 0;
}

@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
  }

  .bnwev2_datepicker_container {
    padding: 20px;
  }
}

.bnwev2_input--placeholder::placeholder {
  color: #474a73;
  opacity: 0.5;
}