#ibf-form-wrapper {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 10px;
}
.form-container input[type=number]::-webkit-inner-spin-button { opacity: 1 }
.ibf-step {
  margin-bottom: 20px;
}
.form-container button {
  padding: 10px 20px;
  margin-top: 10px;
}
/* Global Styles */
/*body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-size: 16px;
}*/

.form-container {
    /*padding: 30px;
    padding-top: 20px;
    padding-bottom: 10px;*/
    border-radius: 10px;
    width: 100%;
    max-width: unset;
    animation: fadeIn 1s ease-out;
    box-sizing: border-box;
    border: 0px solid #e5e3e3;
    margin: auto;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
    color: black;
    font-size: 32px;
    font-weight: 600;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5em;
    letter-spacing: 0.5px;
}
#contactForm:has(#step-address.active) h2{
      max-width: 410px;
}
#contactForm:has(#step4.active) h2{
      max-width: 410px;
}


.checkbox-group {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
}
.checkbox-group label {
    color: #555;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 0;
    margin-left: 10px;
}

/* Button Styles */
    .button-control {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 412px;
        width: 412px;
        margin: auto;
    }
    @media (max-width: 767.98px) {
        .button-control {
            background: #fff;
            bottom: 0;
            padding: 12px 0 32px;
            position: fixed;
            width: 100%;
            left: 50%;
        transform: translate(-50%);
        max-width: 589px;
        }
    }
.form-container button {
    margin: 0 10px;
    min-width: 200px;
    padding: 14px 34px;
    background-color: #00663a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.form-container .next-btn, .form-container button[type='submit']{
  margin-right: 0!important;
  width: 100%;
}
.form-container .back-btn{
  margin-left: 0!important;
}

.form-container button:hover {
    background-color: #00663a;
}
.form-container button.back-btn {
    background-color: transparent;
    color: #00663a;
    min-width: unset;
    display: flex;
    padding: 4px;
    border: 1px solid #d4d4d4;
     transition: all .3s;
}
.form-container button.back-btn svg{
    height: 35px;
}
.form-container button.back-btn:hover svg{
    transform:scale(1.1);
    transition: all .3s;
}
.form-container button.back-btn:focus {
    background-color: transparent;
    color: #00663a;
}
.form-container button:active {
    background-color: #00663a;
    transform: translateY(0);
}
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    background-color: #444;
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateX(-50%) !important;
    animation: fadeInDown 0.5s forwards;
    font-size: 14px;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }

    .form-container button {
        padding: 12px;
        font-size: 16px;
    }
}

.form-step {
    opacity: 0;
    position: relative;
    transition: opacity 0.5s ease-in-out; 
    visibility: hidden; 
    height: 0; 
    overflow: hidden; 
    width: 100%;
    margin: auto;
}
.form-step>div:not(.button-control) {
      max-width: 412px;
      margin: auto;
}
.form-step p {
    text-align: center;
}
.form-step.active {
    opacity: 1;
    visibility: visible; 
    height: auto; 
    overflow: visible; 
}
  #step-heading{
    line-height: 1.2em!important;
  }
  .input-adress-div{
    margin-bottom: 10px;
  }

@media(max-width: 767px) and (min-width: 319px){
  .form-step.active{
    max-height: calc(100dvh - 240px);
    overflow: scroll!important;
    padding-top: 10px;
  }
  .form-container{
    padding: 10px!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
  }
  .form-step{
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
  .form-container hr{
    display: none;
  }
  .button-control{
    border-top: 1px solid #d4d4d4;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  #step-heading{
    margin-bottom: 0px!important;
    border-bottom: 1px solid #d4d4d4!important;
    margin-top: 10px!important;
    line-height: 1.2em!important;
    font-size: 28px!important;
    min-width: 100%;
  }
  #step1{
    padding-bottom: 10px;
  }
}
@media(max-width: 318px){
  .form-step.active{
    max-height: calc(100dvh - 240px);
    overflow: scroll!important;
    padding-top: 10px;
  }
  .form-container{
    padding: 10px!important;
  }
  .form-container hr{
    display: none;
  }
  .button-control{
    border-top: 1px solid #d4d4d4;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  #step-heading{
    margin-bottom: 0px!important;
    border-bottom: 1px solid #d4d4d4!important;
    margin-top: 10px!important;
        line-height: 1.2em!important;
    font-size: 28px!important;
  }
}
@media(max-width: 767px){
  #step1.active{
    padding-top: 30px;
  }
  #contactForm #step-persoenlich .input-checkbox-wrapper sup {
     bottom: 8%!important; 
}
}



#form-steps-indicator {
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
    color: black;
}
#current-step{
  padding-left: 10px;
}
.option-step {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 30px;
    column-gap: 20px;
    row-gap: 0px;
}
#step1 .option-step{
      flex-direction: column;
      row-gap: 25px;
}
.form-container hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    margin-top: 35px;
    margin-bottom:  35px;
    margin-left: 0;
    margin-right: 0;
}
.option {
    background: #fff;
    padding: 16px;
    border: 0px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
    font-weight: 500;
    width: calc(100% / 3 - 20px);
    box-shadow: #00000017 0px 0px 10px;
    flex-direction: row;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-right: 30px!important;
}
.option:hover {
    background-color: #fafafa;
}

.option span {
    display: block;
    font-size: 20px;
    font-weight: 600;
    padding-top: 10px;
}
.option i {
    font-size: 34px;
}
.option i + span {
    margin-top: 0;
}
.option i.step-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    color: #00663a;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.option.selected i.step-icon svg path {
    fill: white;
    stroke: white!important;
}
.option:not(.selected) i.step-icon svg path {
    fill: white!important;
    stroke: white!important;
}
.option.selected {
    background-color: #00663a;
    color: white;
    border-color: #00663a;
}
.option.selected i.step-icon {
    color: #fff;
}
.mdi--user {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4'/%3E%3C/svg%3E");
}
.mdi--users {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 17v2H2v-2s0-4 7-4s7 4 7 4m-3.5-9.5A3.5 3.5 0 1 0 9 11a3.5 3.5 0 0 0 3.5-3.5m3.44 5.5A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4M15 4a3.4 3.4 0 0 0-1.93.59a5 5 0 0 1 0 5.82A3.4 3.4 0 0 0 15 11a3.5 3.5 0 0 0 0-7'/%3E%3C/svg%3E");
}
.fa6-solid--users {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23000' d='M144 0a80 80 0 1 1 0 160a80 80 0 1 1 0-160m368 0a80 80 0 1 1 0 160a80 80 0 1 1 0-160M0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96H21.3C9.6 320 0 310.4 0 298.7M405.3 320h-.7c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7c58.9 0 106.7 47.8 106.7 106.7c0 11.8-9.6 21.3-21.3 21.3H405.4zM224 224a96 96 0 1 1 192 0a96 96 0 1 1-192 0m-96 261.3c0-73.6 59.7-133.3 133.3-133.3h117.3c73.7 0 133.4 59.7 133.4 133.3c0 14.7-11.9 26.7-26.7 26.7H154.6c-14.7 0-26.7-11.9-26.7-26.7z'/%3E%3C/svg%3E");
}
.ph--users-four-fill {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='M230.4 219.19A8 8 0 0 1 224 232H32a8 8 0 0 1-6.4-12.8A67.9 67.9 0 0 1 53 197.51a40 40 0 1 1 53.93 0a67.4 67.4 0 0 1 21 14.29a67.4 67.4 0 0 1 21-14.29a40 40 0 1 1 53.93 0a67.85 67.85 0 0 1 27.54 21.68M27.2 126.4a8 8 0 0 0 11.2-1.6a52 52 0 0 1 83.2 0a8 8 0 0 0 12.8 0a52 52 0 0 1 83.2 0a8 8 0 0 0 12.8-9.61A67.85 67.85 0 0 0 203 93.51a40 40 0 1 0-53.93 0a67.4 67.4 0 0 0-21 14.29a67.4 67.4 0 0 0-21-14.29a40 40 0 1 0-53.93 0A67.9 67.9 0 0 0 25.6 115.2a8 8 0 0 0 1.6 11.2'/%3E%3C/svg%3E");
}
.fa6-solid--users-viewfinder {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23000' d='M48 48h88c13.3 0 24-10.7 24-24S149.3 0 136 0H32C14.3 0 0 14.3 0 32v104c0 13.3 10.7 24 24 24s24-10.7 24-24zm127.8 176a48 48 0 1 0 0-96a48 48 0 1 0 0 96m-26.5 32c-29.4 0-53.3 23.9-53.3 53.3c0 14.7 11.9 26.7 26.7 26.7h56.1c8-34.1 32.8-61.7 65.2-73.6c-7.5-4.1-16.2-6.4-25.3-6.4h-69.3zm368 80c14.7 0 26.7-11.9 26.7-26.7c0-29.5-23.9-53.3-53.3-53.3h-69.3c-9.2 0-17.8 2.3-25.3 6.4c32.4 11.9 57.2 39.5 65.2 73.6h56.1zm-89.4 0c-8.6-24.3-29.9-42.6-55.9-47c-3.9-.7-7.9-1-12-1h-80c-4.1 0-8.1.3-12 1c-26 4.4-47.3 22.7-55.9 47c-2.7 7.5-4.1 15.6-4.1 24c0 13.3 10.7 24 24 24h176c13.3 0 24-10.7 24-24c0-8.4-1.4-16.5-4.1-24M464 224a48 48 0 1 0 0-96a48 48 0 1 0 0 96m-80-32a64 64 0 1 0-128 0a64 64 0 1 0 128 0M504 48h88v88c0 13.3 10.7 24 24 24s24-10.7 24-24V32c0-17.7-14.3-32-32-32H504c-13.3 0-24 10.7-24 24s10.7 24 24 24M48 464v-88c0-13.3-10.7-24-24-24S0 362.7 0 376v104c0 17.7 14.3 32 32 32h104c13.3 0 24-10.7 24-24s-10.7-24-24-24zm456 0c-13.3 0-24 10.7-24 24s10.7 24 24 24h104c17.7 0 32-14.3 32-32V376c0-13.3-10.7-24-24-24s-24 10.7-24 24v88z'/%3E%3C/svg%3E");
}
.fluent--building-retail-20-regular {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M5.5 7a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm.5 3V8h8v2zm5.5 2a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5zm.5 2v-1h2v1zM2 4.5A1.5 1.5 0 0 1 3.5 3h13a1.5 1.5 0 0 1 .5 2.915V16.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V5.915A1.5 1.5 0 0 1 2 4.5M3.5 4a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1zM4 6v10h1v-3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5V16h6V6zm2 10h3v-3H6z'/%3E%3C/svg%3E");
}
.fluent-mdl2--manufacturing {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2048 2048'%3E%3Cpath fill='%23000' d='M2048 1317v219h-128v-165l-109-110l3-3q-40 22-89 22q-44 0-81-18l-108 109v165h-128v-219l145-144l-3-7l-251-562l-408 421q2 16 3 31t2 32v832h128v128H0v-128h128v-832q0-76 28-143t76-119t114-84t142-37l608-627q36-38 84-58t100-20q35 0 70 10t67 30t57 46t40 60l384 858q9 20 13 41t4 42q0 24-5 47t-17 45l8-8zM768 1920v-832q0-53-20-99t-55-82t-81-55t-100-20q-53 0-99 20t-82 55t-55 81t-20 100v832zM644 727q62 23 113 65t85 99l530-546q36-38 36-89q0-27-10-50t-27-40t-41-28t-50-10q-55 0-92 39zm845-324q-18 29-44 53t-50 49l197 441l117-50zm236 749q29 0 46-19t17-46q0-20-9-38t-18-36l-117 50q6 15 12 31t15 29t21 21t33 8M512 1024q27 0 50 10t40 27t28 41t10 50q0 27-10 50t-27 40t-41 28t-50 10q-27 0-50-10t-40-27t-28-41t-10-50q0-27 10-50t27-40t41-28t50-10'/%3E%3C/svg%3E");
}
.material-symbols--linked-services-outline {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 9q-1.425 0-2.475-.85T15.125 6H8.85q-.275 1.05-1.037 1.813T6 8.85v6.275q1.3.35 2.15 1.4T9 19q0 1.65-1.175 2.825T5 23t-2.825-1.175T1 19q0-1.425.85-2.475t2.15-1.4V8.85q-1.3-.35-2.15-1.4T1 5q0-1.65 1.175-2.825T5 1q1.4 0 2.45.85T8.85 4h6.275q.35-1.3 1.4-2.15T19 1q1.65 0 2.825 1.175T23 5t-1.175 2.825T19 9M5 21q.825 0 1.413-.6T7 19q0-.825-.587-1.412T5 17q-.8 0-1.4.588T3 19q0 .8.6 1.4T5 21M5 7q.825 0 1.413-.587T7 5t-.587-1.412T5 3q-.8 0-1.4.588T3 5t.6 1.413T5 7m14 16q-1.65 0-2.825-1.175T15 19t1.175-2.825T19 15t2.825 1.175T23 19t-1.175 2.825T19 23m0-2q.825 0 1.413-.6T21 19q0-.825-.587-1.412T19 17t-1.412.588T17 19q0 .8.588 1.4T19 21m0-14q.825 0 1.413-.587T21 5t-.587-1.412T19 3t-1.412.588T17 5t.588 1.413T19 7m0-2'/%3E%3C/svg%3E");
  }
.grommet-icons--technology {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16.5 19a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M10 5l2-2m-4.5 7a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m.5 6l8-8M5.5 21a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m13-13a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5M12 21l2-2'/%3E%3C/svg%3E");
}
.streamline--medical-cross-sign-healthcare {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' d='M9 .5H5V5H.5v4H5v4.5h4V9h4.5V5H9z'/%3E%3C/svg%3E");
}
.material-symbols--devices-other {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 20H4q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h16v2H4v12h3zm4-2.5q.625 0 1.063-.437T12.5 16t-.437-1.062T11 14.5t-1.062.438T9.5 16t.438 1.063T11 17.5M9 20v-1.775q-.475-.425-.737-1T8 16t.263-1.225t.737-1V12h4v1.775q.475.425.738 1T14 16t-.262 1.225t-.738 1V20zm12 0h-5q-.425 0-.712-.288T15 19v-9q0-.425.288-.712T16 9h5q.425 0 .713.288T22 10v9q0 .425-.288.713T21 20'/%3E%3C/svg%3E");
}

.checkbox-group,
.radio-group {
    margin-bottom: 5px;
}
.option.checkbox-group {
    padding: 10px 20px;
    box-sizing: border-box;
}

.input-row {
    display: flex;
    justify-content: space-between;
}
.anrede-step-persoenlich{
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}
.vorname-step-persoenlich, .nachname-step-persoenlich{
  width: calc(50% - 64px);
}
.half-width {
    width: 48%; 
}
.half-width.name{
    width: 100% !important;
    display: flex;
    gap: 3%;
}
.half-width.name label[for="anrede"]{
    width: 100px;
    min-width: 100px;
}
.half-width.name label:not([for="anrede"]){
    width: calc(50% - 64px);
}



.input-row .input-group {
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .half-width {
        width: 100%;
    }
    
    .input-row {
        flex-direction: column;
    }
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*Schritt 3 Adresse*/
.adress-div{
    margin-top: 10px;
}
.input-adress-div{
  width: 100%;
}
.map-div{
  width: 100%;
  height: 200px;
  margin-top: 10px;
  border-radius: 4px;
}


.label-strasse, .label-plz, .label-hausnummer{
  margin-bottom: 7px!important;
}

/*Input Text*/
.inp {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 53px;
  margin: 0!important;
}
.inp:has(input[type='number']), .inp:has(input[type='text']), .inp:has(input[type='email']){
  border: 1px solid rgba(25, 25, 25, .15);
  border-radius: 4px;
  height: 45px!important;
}
.inp:has(input[type='number']).label-etagen svg, .inp:has(input[type='number']).label-badezimmer svg, .inp:has(input[type='number']).label-zimmer svg, .inp:has(input[type='number']).label-baujahr svg, .inp:has(input[type='text']).label-vorname svg, .inp:has(input[type='text']).label-nachname svg, .inp:has(input[type='email']).label-email svg, .inp:has(input[type='number']).label-telefon svg{
  bottom: -3px;
}
.inp:has(input[type='text']).label-strasse svg, .inp:has(input[type='number']).label-hausnummer svg, .inp:has(input[type='number']).label-plz svg, .inp:has(input[type='text']).label-ort svg{
    bottom: -3.5px;
}
.inp:has(input[name='Grundfläche']) svg, .inp:has(input[name='Wohnfläche']) svg{
  bottom: -5px;
}
.inp:has(input[type='number']).label-wohneinheiten svg{
  bottom: -4.5px!important;
}
.inp:has(input[type='number']).label-wohneinheiten svg.border path, .inp:has(input[type='text']).label-strasse svg.border path, .inp:has(input[type='number']).label-hausnummer svg.border path, .inp:has(input[type='number']).label-plz svg.border path, .inp:has(input[type='text']).label-ort svg.border path, .inp:has(input[type='text']).label-vorname svg.border path, .inp:has(input[type='text']).label-nachname svg.border path, .inp:has(input[type='email']).label-email svg.border path, .inp:has(input[type='number']).label-telefon svg.border path{
  stroke-width: 1px;
}
.label-wohneinheiten {
margin: 0!important;
}
.inp .border {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 18px;
  fill: none;
}
.inp .border path {
  stroke: #c8ccd4;
  stroke-width: 2;
}
.inp .border path d {
  transition: all 0.2s ease;
}
.inp .check {
  position: absolute;
  top: 20px;
  right: 0;
  left: 40%;
  fill: none;
  transform: translate(0, 9px) scale(0);
  transition: all 0.3s cubic-bezier(0.5, 0.9, 0.25, 1.3);
  transition-delay: 0.15s;
}
.inp .check path {
  stroke: #00663a;
  stroke-width: 2;
}
.inp input {
  -webkit-appearance: initial;
  padding-right: 10px !important;
  padding-left: 10px!important;
  padding-right: 32px;
  width: 100%;
  border: 0!important;
  font-family: inherit;
  padding: 0;
  height: 45px;
  font-size: 15px;
  border-radius: 4px;
  font-weight: 500;
  background: none;
  color: #223254;
  transition: all 0.15s ease;
}
.inp input:focus {
  outline: none;
}
.inp input:focus + .border path {
  stroke: #00663a;
}
.inp input:valid + .border path {
  animation: elasticInput 0.8s ease forwards;
}
.inp input:valid + .border + .check {
  transform: translate(0, 0) scale(1);
  display: none!important;
}
.inp svg{
  width: 100%!important;
}
::placeholder {
  color: #9098a9;
}
/* Chrome, Safari, Edge, Opera */
.inp input::-webkit-outer-spin-button {
  /*-webkit-appearance: none;
  margin: 0;*/
}
.inp #wohnfläche2::-webkit-inner-spin-button, .inp #grundfläche2::-webkit-inner-spin-button, .inp #phone_number::-webkit-inner-spin-button, .inp #zip::-webkit-inner-spin-button, .inp #sanierung::-webkit-inner-spin-button, .inp #baujahr::-webkit-inner-spin-button{    
  -webkit-appearance: none!important;
  margin: 0;
}
/* Firefox */
.inp input[type=number] {
  -moz-appearance: textfield;
}
@-moz-keyframes elasticInput {
  33% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
  66% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
}
@-webkit-keyframes elasticInput {
  33% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
  66% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
}
@-o-keyframes elasticInput {
  33% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
  66% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
}
@keyframes elasticInput {
  33% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
  66% {
    d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
  }
}
/*Range Slider*/
.range-slider {
	position: relative;
	width: calc(100% - 110px);
	height: 40px;
  overflow: hidden;
}

.range-slider_input {
	width: 100%;
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
  width: 100%;
  height: 4px;
  opacity: 0;
	margin: 0;
}

.range-slider_input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 100px;
  cursor: pointer;
	border-radius: 50%;
	opacity: 0;
}

.range-slider_input::-moz-range-thumb {
  width: 14vmin;
  height: 14vmin;
  cursor: pointer;
	border-radius: 50%;
	opacity: 0;
}

.range-slider_thumb {
	width: 40px;
	height: 40px;
	border: 0.3vmin solid #00663a;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: #f4f4f4;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
	font-size: 16px;
	color: black;
	z-index: 2;
}

.range-slider_line {
	height: 0.5vmin;
	width: 100%;
	background-color: #e1e1e1;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	position: absolute;
	z-index: 1;
}

.range-slider_line-fill {
	position: absolute;
	height: 0.5vmin;
	width: 0;
	background-color: #00663a;
}



.zimmer-div{
      display: flex;
    gap: 5%;
    margin-bottom: 20px;
}
.wohnfläche-div{
  display: flex;
  gap: 5%;
  justify-content: center;
  flex-direction: row;
  align-items: start;
  flex-wrap: wrap;
  column-gap: 20px;
}
.wohnfläche-label{
  width: 100%;
}
.wohnfläche-div .inp{
  margin:unset;
      max-width: 90px;
}
.grundfläche-div{
  display: flex;
  gap: 5%;
  justify-content: center;
  flex-direction: row;
  align-items: start;
  flex-wrap: wrap;
  column-gap: 20px;
}
.grundfläche-div .inp{
  margin:unset;
  max-width: 90px;
}
.grundfläche-label{
  width: 100%;
}
.fläche-label{
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
}
/*Datenschutzcheckbox*/
.input-checkbox-wrapper{
  display: flex;
  flex-direction: row;
  padding: 0.5em;
  gap: 10px;
  padding-left: 0!important;
}

.input-checkbox-wrapper label{
    line-height: 1.2em;
    font-size: 12px;
}
/*.input-checkbox-wrapper input[type='checkbox']{ height: 0; width: 0; display: none;}*/

.input-checkbox-wrapper input[type='checkbox'] + label{
  position: relative;
  margin: .6em 0;
  color: black;
  transition: color 250ms cubic-bezier(.4,.0,.23,1);
}
.input-checkbox-wrapper input[type='checkbox'] + label > ins{
  position: absolute;
  display: block;
  bottom: 0;
  left: 2em;
  height: 0;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: height 300ms cubic-bezier(.4,.0,.23,1);
}
.input-checkbox-wrapper input[type='checkbox'] + label > ins > i{
  position: absolute;
  bottom: 0;
  font-style: normal;
  color: #4FC3F7;
}
.input-checkbox-wrapper input[type='checkbox'] + label > span{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1em;
  min-width: 19px;
  height: 19px;
  background: transparent;
  border: 2px solid #9E9E9E;
  border-radius: 2px;
  cursor: pointer;  
  transition: all 250ms cubic-bezier(.4,.0,.23,1);
  display: none;
}

.input-checkbox-wrapper input[type='checkbox'] + label:hover > span, .input-checkbox-wrapper input[type='checkbox']:focus + label > span{
  background: rgba(255,255,255,.1);
}

.input-checkbox-wrapper input[type='checkbox']:checked + label > span{
  border: 2px solid #00663a;
  background: #00663a;
  animation: shrink-bounce 200ms cubic-bezier(.4,.0,.23,1);
}
.input-checkbox-wrapper input[type='checkbox']:checked + label > span:before{
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  animation: checkbox-check 125ms 250ms cubic-bezier(.4,.0,.23,1) forwards;
}

@keyframes shrink-bounce{
  0%{
    transform: scale(1);
  }
  33%{    
    transform: scale(.85);
  }
  100%{
    transform: scale(1);    
  }
}
@keyframes checkbox-check{
  0%{
    width: 0;
    height: 0;
    border-color: #ffffff;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  33%{
    width: .2em;
    height: 0;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  100%{    
    width: .2em;
    height: .5em;    
    border-color: #fff; 
    transform: translate3d(0,-.5em,0) rotate(45deg);
  }
}


/*Progress bar*/
#progressBar{
      gap: calc(0.25rem * 1);
      overflow: hidden ;
          height: 1px;
          width: 100%;
              display: flex;
              margin-top: 5px;
}
#progressBar>div {
       transition-property: all;
    transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1)
);
        --tw-duration: 300ms;
    transition-duration: 300ms;
        background-color: #00663a;
        border-radius: 1px;
        flex: 1;
        height: 100%;
        color: #00663a;
}
#progressBar .bg-333 {
    background: #d4d4d4!important;
}

#step1 .button-control, #step1>hr, #step1>h2{
  display:none;
}

.imgtitle-wrapper{
    display: flex;
    align-items: center;
    gap: 12.5px;
}
.icon-div{
  height: 50px;
  background-color: #00663a;
  border-radius: 4px;
  padding: 7.5px;
}
.icon-weiter-div{
  font-size: 20px;
}

.border{
  display: none!important;
}

/*Step 2*/

  /*Haus*/
    #contactForm:has(.option.selected[data-value='Haus']) #step2 .option-step .typ-haus{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Haus']) #step2 .option-step .jk-row-1-equal.step2-row1 .inp{
      width: 100%;
      max-width: 100%;
    }
    #contactForm:has(.option.selected[data-value='Haus']) .step2-row2{
      margin-top: 10px;
    }
    #contactForm:has(.option.selected[data-value='Haus']) .step2-row4{
      margin-top: 15px;
    }
    #contactForm:has(.option.selected[data-value='Haus']) .step2-row3, .step2-row5{
      margin-top: 30px;
    }
  /*Wohnung*/
    #contactForm:has(.option.selected[data-value='Wohnung']) #step2 .option-step .typ-wohnung{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) #step2 .option-step .jk-row-1-equal.step2-row1 .inp{
      width: 100%;
      max-width: 100%;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) .step2-row2{
      margin-top: 15px;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) .step2-row3, .step2-row5{
      margin-top: 25px;
    }
  /*Grundstück*/
    #contactForm:has(.option.selected[data-value='Grundstück']) #step2 .option-step .typ-grundstueck{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Grundstück']) #step2 .step2-row1, #contactForm:has(.option.selected[data-value='Grundstück']) #step2 .step2-row2, #contactForm:has(.option.selected[data-value='Grundstück']) #step2 .step2-row3{
      display: none;
    }
    #contactForm:has(.option.selected[data-value='Grundstück']) #step2 .option-step .jk-row-1-equal.step2-row1 .inp{
      width: 100%;
      max-width: 100%;
    }
    #contactForm:has(.option.selected[data-value='Grundstück']) .step2-row5{
      margin-top: 25px;
    }
/*Step 3*/
  /*Haus*/
    #contactForm:has(.option.selected[data-value='Haus']) #step3 .option-step .typ-haus{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Haus']) #step3 .option-step .jk-row-1-equal.step3-row1 .inp, #contactForm:has(.option.selected[data-value='Haus']) #step3 .option-step .jk-row-1-equal.step3-row3 .inp{
      width: 100%;
      max-width: 100%;
    }
    #contactForm:has(.option.selected[data-value='Haus']) .step3-row3{
      margin-top: 10px;
    }
    #contactForm:has(.option.selected[data-value='Haus']) .step3-row2, .step3-row4{
      margin-top: 20px;
    }
  /*Wohnung*/
    #contactForm:has(.option.selected[data-value='Wohnung']) #step3 .option-step .typ-wohnung{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) #step3 .option-step .jk-row-1-equal.step3-row1 .inp, #contactForm:has(.option.selected[data-value='Wohnung']) #step3 .option-step .jk-row-1-equal.step3-row3 .inp{
      width: 100%;
      max-width: 100%;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) .step3-row3{
      margin-top: 10px;
    }
    #contactForm:has(.option.selected[data-value='Wohnung']) .step3-row2, .step3-row4{
      margin-top: 20px;
    }
  /*Grundstück*/
    #contactForm:has(.option.selected[data-value='Grundstück']) #step3 .option-step .typ-grundstueck{
      display: block;
    }
    #contactForm:has(.option.selected[data-value='Grundstück']) #step3 .option-step .jk-row-1-equal.step3-row1 .inp{
      width: 100%;
      max-width: 100%;
    }
/*Step 4*/
  #contactForm #step4 .inp{
      width: 100%;
      max-width: 100%;
      height: auto;
  }
  #step4 .option-step .info-text-step4{
    display: block;
  }
  .step4-infotext{
    font-weight: 500;
    padding-top: 5px;
    line-height: 1.5em;
    display: flex;
  }
  .step4-infotext>span{
    display: block:
  }
/*Step Address*/
  #step-address .step-address-row1 .label-ort, #step-address .step-address-row2 .label-strasse{
    width: 63.5%!important;
  }
  #step-address .step-address-row1 .label-plz, #step-address .step-address-row2 .label-hausnummer{
    width: 33.5%!important;
  }
  .jk-label-2-3{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 3%;
    flex-wrap: wrap;
  }
  .step-address-row2{
    margin-top: 15px;
  }
  .jk-label-2-3 .hausnummer-step-address, .jk-label-2-3 .plz-step-address{
    width: 33.5%;
  }
  .jk-label-2-3 .strasse-step-address, .jk-label-2-3 .ort-step-address{
    width: 63.5%;
  }
  .address-describtion{
    font-weight: 500;
    line-height: 1.5em;
    display: flex;
  }
  .address-describtion>span{
    display: block;
  }
/*Step Persönlich*/
  #step-persoenlich .input-row{
    flex-wrap: wrap;
  }
  
  

#step2 select, #step3 select, #step-persoenlich select{
    color: rgba(25, 25, 25, .30) !important;
    background-image: linear-gradient(45deg, transparent 50%, #00663a 50%), linear-gradient(135deg, #00663a 50%, transparent 50%) !important;
    background-size: 5px 4px, 4px 4px;
    background-repeat: no-repeat;
    background-position: calc(100% - 14px), calc(100% - 10px);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff0f !important;
    border-radius: 4px;
    border: 1px solid rgba(25, 25, 25, .15) !important;
    padding: 13px 10px !important;
    font-size: 15px;
    color: black !important;
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}



/* -------------------------------- */
.jk-row-1-equal{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.jk-row-2-equal{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 3%;
  flex-wrap: wrap;
}
.jk-row-3-equal{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 3%;
  flex-wrap: wrap;
}
.jk-row-4-equal{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 3%;
  flex-wrap: wrap;
}

.jk-label-2-equal{
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 3%;
}
.jk-label-2-equal>span{
  width: 48.5%;
}
.jk-row-2-equal .inp{
  width: 48.5%;
}


.jk-label-4-equal{
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 3%;
}
.jk-label-4-equal>span{
  width: 22.75%;
}
.jk-row-4-equal .inp{
  width: 22.75%;
}

.sanierung-label{
  opacity: 0.5;
}
#contactForm .inp:has(input:hover){
  box-shadow: 0 0 0 1px rgb(0 0 0 / 12%);
  transition: all .3s;
}
#contactForm .inp:has(input:focus){
  box-shadow: 0 0 0 1.5px #00663a;
  transition: all .3s;
}
#contactForm .inp{
  transition: all .3s;
}

.jk-row-3-equal select{
    color: rgba(25, 25, 25, .30) !important;
    background-image: linear-gradient(45deg, transparent 50%, #00663a 50%), linear-gradient(135deg, #00663a 50%, transparent 50%) !important;
    background-size: 5px 4px, 4px 4px;
    background-repeat: no-repeat;
    background-position: calc(100% - 14px), calc(100% - 10px);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff0f !important;
    border-radius: 4px;
    border: 1px solid rgba(25, 25, 25, .15) !important;
    padding: 13px 10px !important;
    font-size: 16px;
    color: black !important;
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.jk-row-3-equal option{
    color: #000000 !important;
    padding-left: 10px !important;
}

.jk-row-1-equal textarea{
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid rgba(25, 25, 25, .15) !important;
  padding: 19px 17px 7px 10px !important;
  font-size: 16px;
  color: black !important;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.typ-haus, .typ-wohnung, .typ-grundstueck{
  display: none;
}

.title-div span{
  font-weight: 500;
  padding: 0!important;
}


.m2-label{
    position: absolute;
    right: 5px;
    color: #9098a9;
    top: 25%;
}
.m2-label-30{
  right: 30px;
}

.jk-label-2-3 span, .jk-label-2-equal span, .jk-label-1-equal span, .jk-label-4-equal span, .wohnfläche-label, .grundfläche-label{
  color: black;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 5px;
}

#inner-grundstueck{
  fill: transparent!important;
}

#contactForm input::placeholder{
  font-size: 0px!important;
}

#contactForm sup {
    bottom: 0.5em;
    font-size: 15px;
    color: #00663a;
}

.input-checkbox-wrapper input[type='checkbox']{
  margin-left: 0!important;
  height: 25px;
}

.error:not(:has(select)) {
    border-color: red !important;
}
#contactForm .error:has(select) select{
    border-color: red !important;
}
#contactForm .error:has(input[type='checkbox']) span{
    border: 1px solid red !important;
}

#spinner-bewertung { display: none;}
#spinner-bewertung::after { content:""; width:11px; height:11px; border:2px solid white; border-top-color: #00663A; border-radius:50%; display:inline-block; animation:dcal-spin 1s linear infinite; }
#spinner-bewertung::after { width:11px; height:11px; position: relative; top: 3px;}
@keyframes dcal-spin { to { transform:rotate(360deg); } }


/*Übergänge button höhe*/
@media(min-width: 981px){
  /*Haus*/
#contactForm #step1.active {
    margin-bottom: 277px;
    margin-top: 0px;
}
  /*Wohnung*/
#contactForm:has(.option.selected[data-value='Wohnung']) #step2.active .option-step{
    margin-bottom: 124px;
    margin-top: 0px;
}
  /*Grundstück*/
#contactForm:has(.option.selected[data-value='Grundstück']) #step2.active .option-step{
    margin-bottom: 311.5px;
    margin-top: 0px;
}
#contactForm #step3.active .option-step {
    margin-top: 0px;
    margin-bottom: 123px;
}
#contactForm #step4.active .option-step {
    margin-top: 0px;
    margin-bottom: 197px;
}
#contactForm #step-address.active .adress-div {
    margin-top: 0px;
    margin-bottom: 54px;
}
#contactForm #step-persoenlich.active .input-checkbox-wrapper2 {
    margin-bottom: 121.75px;
}
#contactForm #step-persoenlich.active .input-container {
    margin-top: 0px;
}
.last-step-p{
  margin-bottom: 313.75px;
}
#step7 h2{
      margin-top: 313.5px;
}
}
@media(max-width: 980px) and (min-width: 768px){
#contactForm #step1.active {
    margin-bottom: 277px;
    margin-top: 0px;
}
  /*Wohnung*/
#contactForm:has(.option.selected[data-value='Wohnung']) #step2.active .option-step{
    margin-bottom: 124px;
    margin-top: 0px;
}
  /*Grundstück*/
#contactForm:has(.option.selected[data-value='Grundstück']) #step2.active .option-step{
    margin-bottom: 311.5px;
    margin-top: 0px;
}
#contactForm #step3.active .option-step {
    margin-top: 0px;
    margin-bottom: 123px;
}
#contactForm #step4.active .option-step {
    margin-top: 0px;
    margin-bottom: 197px;
}
#contactForm #step-address.active .adress-div {
    margin-top: 0px;
    margin-bottom: 54px;
}
#contactForm #step-persoenlich.active .input-checkbox-wrapper2 {
    margin-bottom: 121.75px;
}
#contactForm #step-persoenlich.active .input-container {
    margin-top: 0px;
}
.last-step-p{
  margin-bottom: 313.75px;
}
#step7 h2{
      margin-top: 313.5px;
}

}

@media(max-width: 767px){

  .name{
    width: calc( 50% - 1.5%);
  }
  .step-persoenlich-row1-label.mobile{
  display: flex!important;
}
  .step-persoenlich-row1-label span:not(.mobile){
  display: none;
}
#step-persoenlich label[for='phone_number'], #step-persoenlich label[for='email']{
  max-width: 100%!important;
}
.input-row-mobile{
  flex-direction: row!important;
  column-gap: 3%;
}
#contactForm #step7 h2{
  margin-bottom: 0px!important;
}
.last-step-p{
  margin-bottom: 5px;
}
#step7 .et_pb_button_module_wrapper{
  display: block!important;
}
}
#step7 .et_pb_button_module_wrapper{
  display: none;
}
.step-persoenlich-row1-label.mobile{
  display: none;
}
.last-step-p{
  padding-left: 10px;
  padding-right: 10px;
}
.ds-link{
  text-decoration: underline;
  color: black;
}
.ds-link:hover{
  color: #00663a;
    text-decoration: underline;
}
