* {
  font-family: Barlow, sans-serif;
  margin: 0;
  padding: 0;
}


#form-error-box {
    border: 2px solid #fa5252;
    border-radius: 2px;
    background-color: #fee2e2;
    margin-top: 1.25em;
    padding-top: 1.5em !important;
    padding-right: 1.5em;
    padding-left: 1.5em;
}
ul#form-error-messages li {
    font-size: 18px !important;
    line-height: 35px;
    color: rgb(76 86 101);
}
a.datenschutzerklärung {
    text-decoration: none;
}

/*css for load map*/
#mapWrapper {
  position: relative;
  height: 300px;
}

#map {
  width: 100%;
  height: 100%;
}

#mapLoadingMsg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  padding: 0 10px;
  color: #000000;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-hidden {
  visibility: hidden;
}

.loading-visible {
  visibility: visible;
}
/*css for load map End*/

h5 {
  font-size: 16px;
}
strong.title {
    color: #000000;
}
.telephone-number {margin-top: 6px;}

.telephone-number input {
    padding: 10px;
}
select#country_code {
    width: 115px;
}
select#Zustand_Der_Immobilie_5 {
    margin-bottom: 15px;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background: none;
}

input[type=checkbox] {
    border: 1px solid #b7b7b7 !important;
}

label.mb-3.Noc_eine_gan {
    font-size: 17px !important;
    margin-bottom: 3px !important;
}



.dummy-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 30px auto;
  font-size: 18px;
}

.status-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: relative;
}

/* Loader Style */
.loader {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: #003c70;
  transform: rotate(0deg);
  animation: spin 0.8s linear forwards;
}

/* Checkmark Circle */
.checkmark {
  border: 2px solid #003c70;
  animation: pop 0.3s ease-in-out;
}

/* Animated Tick */
.checkmark::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 4px;
  width: 8px;
  height: 16px;
  border: solid #003c70;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  animation: drawCheck 0.4s ease forwards;
}

/* Spinner Rotation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pop effect for circle */
@keyframes pop {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* Tick Drawing Animation */
@keyframes drawCheck {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }

  50% {
    height: 16px;
    width: 0;
    opacity: 1;
  }

  100% {
    width: 8px;
    height: 16px;
    opacity: 1;
  }
}




.progress-container {
  height: 8px;
  width: 100%;
  background-color: grey;
  overflow: hidden;
  top: -2px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.progress-bar {
  height: 100%;
  width: 10%;
  background-color: #00c65a;
  transition: width 0.3s ease;
}


.main-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  border: 2px solid #f0f0f0;
  background-color:#fff !important;
  margin-top: 8px;
  padding: 2em;
  border-radius: 10px;
  max-width: 100%;
  width: 670px;
}

.checkbox-step{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  border: 3px solid grey;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 134px;
  padding: 0.5em;
  padding-top: 0;
  box-sizing: content-box;
}

.new-step-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  border: 3px solid grey;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 134px;
  padding: 0.5em;
  padding-top: 0;
  box-sizing: content-box;
}

/* Style for the checkbox */
#Anbindung_ans_Straßennetz_check {
  /* Hide default checkbox appearance */
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: background-color 0.2s;
}

/* background when checked */
#Anbindung_ans_Straßennetz_check:checked {
  background-color: #003c70;
  border-color: #003c70;
}

/* Custom checkmark (optional) */
#Anbindung_ans_Straßennetz_check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#Wasserversorgung_und_Abwasser_check{
  /* Hide default checkbox appearance */
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: background-color 0.2s;
}

/* background when checked */
#Wasserversorgung_und_Abwasser_check:checked {
  background-color: #003c70;
  border-color: #003c70;
}

/* Custom checkmark (optional) */
#Wasserversorgung_und_Abwasser_check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


#Stromanschluß_vorhanden_check{
  /* Hide default checkbox appearance */
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: background-color 0.2s;
}

/* background when checked */
#Stromanschluß_vorhanden_check:checked {
  background-color: #003c70;
  border-color: #003c70;
}

/* Custom checkmark (optional) */
#Stromanschluß_vorhanden_check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.step-box {
  border: 3px solid grey;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 134px;
  padding: 0.5em;
  padding-top: 0;
  box-sizing: content-box;
}

.active{
   border: 3px solid #003c70 !important;
   /* box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px !important; */
}

.warning {
  border: 2px solid #fa5252;
  border-radius: 2px;
  background-color: #fee2e2;
  margin-top: 1.25em;
  padding: 0.5em;
}

.red-warning {
  border: 2px solid #fa5252;
  border-radius: 2px;
  background-color: #fee2e2;
  margin-top: 1.25em;
  padding: 0.5em;
}

.img-outer {
  height: 100px;
}

.step-box:hover {
  border-color: #003c70;
  border: 3px solid #003c70 !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.step-box img {
  height: 60px;
  margin-bottom: 20px;
  width: 100%;
}

.step-first-image {
  padding: 8px;
}
.step-fourth-image{
  height: 95px !important;
  margin-bottom: 0px !important;
}

button:disabled {
  background-color: #003c70 !important;
  color: white !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}


#nextStep {
  background-color: #003c70;
  color: #fff;
  /* opacity: 0.5; */
  font-weight: 600;
}

#prevStep {
  background-color: #f0f0f0;
  border: none;
  color: #000000 !important;
  color: #fff;
  opacity: 0.5;
  font-weight: 600;
}

.next-back-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-item {
  padding: 1.5em;
}

.address {
  display: flex;
  gap: 1.3em;
}

.address-inputs {
  width: 100%;
  outline: none;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
  height: 3em;
  border: 2px solid #adb5bd;
  border-radius: 5px;
  background-color: transparent;
  color: black;
  padding-left: 0.5em;
  padding-right: 0.5em;
  font-weight: 400;
  font-size: 1em;
  box-sizing: border-box;
}

.input-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.dynamic-error {
    color: #4b5563;
    font-size: 18px;
}

/* step-1-4 */
.form-control {
  max-width: 100px;
}

.manual-input {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: end;
}

.slidecontainer {
  width: 100%;
  margin-top: 10px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 11px;
  border-radius: 5px;
  background: linear-gradient(to right, #00aaff 0%, #d3d3d3 0%);
  outline: none;
  opacity: 0.7;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid grey;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid grey;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.street-houseno.d-flex.gap-2.mb-2 {
    margin-top: 10px;
}
input#Jahrliche_Mieteinnahmen {
    margin-bottom: 25px;
}
a.datenschutzerklärung {
    color: #003c70;
    font-weight: 600;
}



.Anzahl-der-Zimmer-minus-btn,
.Anzahl-der-Zimmer-plus-btn {
  height: 3em;
  width: 4em;
  border-radius: 0.25em;
  border: 2px solid #003c70;
  background-color: #fff;
  color:#000 !important;
}

.anzahl-der-einheiten-minus-btn,
.anzahl-der-einheiten-plus-btn {
  height: 3em;
  width: 4em;
  border-radius: 0.25em;
  border: 2px solid #003c70;
  background-color: #fff;
  color:#000 !important;
}

.stockwerk-minus-btn,
.stockwerk-plus-btn {
  height: 3em;
  width: 55px;
  border-radius: 0.25em;
  border: 2px solid #003c70;
  background-color: #fff;
  color:#000 !important;
}
#all_wrapper .wpresidence-content-container-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Mobile First */
@media screen and (max-width: 767px) {
.w-50.phone-n {
    width: 100% !important;
}
.Telefonnummer {
    width: 47% !important;
}
.telephone-number {
    width: 100% !important;
	margin-top:0px !important;
}
input#Ihre_Telefonnummer {
    width: 100% !important;
    padding: 10px;
    margin-top: 5px;
}
.d-flex.gap-2.phone-wrapper {
    align-content: center !important;
}

  .container.py-5.main-container.position-relative {
    width: 100%;
    height: 100% !important;
}
.step-box-outer {
    width: 84% !important;
}
.main-item {
    display: grid !important;
    grid-template-rows: 1fr auto !important;
    grid-template-columns: 1fr 1fr  !important;
            gap: 10px !important;
}
  
    .address {
    display: flex;
    gap: 1.3em;
    flex-direction: column;
}
    div#map{
      height: 200px !important;
    width: 100% !important;
    
    }
input#plus_minus {
    width: 100% !important;
}
.quantity-box div {
    width: 100% !important;
    margin-bottom: 0px !important;
}
.quantity-box {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 12px !important;
}
input#plus_minus_4_2 {
    width: 100% !important;
}
input#stockwerk_minus_plus {
    width: 100% !important;
}
.manual-input {
    justify-content: space-between;
}
.Vorname.w-50.mb-1 {
    width: 100% !important;
}

.Nachname.w-50.mb-1 {
    width: 100% !important;
}
.contact-number {
    width: 100% !important;
}
.contact-number input {
    width: 100% !important;
}
input#anzahl_der_einheiten {
    width: 100% !important;
}
div#step-1 h3 {
    font-size: 24px !important;
    line-height: 34px;
}

.step-box h5 strong {
    font-size: 12px;
    line-height: 20px;
}

.img-outer.d-flex.align-items-end {
    align-items: center !important;
}
.main-item {
    padding: 0px !important;
}

.step-box h5 strong {
    font-size: 15px;
    line-height: 18px;
}

.img-outer img {
    width: 95px;
    margin-bottom: 0px;
}
.img-outer {
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center;
}
img.step-first-image {
    width: 110px;
}
/*CSS ADDON start*/
.new-step-box h5 {
    text-align: center !important;
}
.checkbox-step input {
    margin-right: 16px;
}
.main-item.baugrundstück_div h5 {
    text-align: left;
}
.step-box {
   width: 100%;
}
.step-box-outer.step-third {
    width: 86% !important;
    margin: 0 auto !important;
    left: 47% !important;
    position: relative !important;
}
.main-item.baugrundstück_div {
    display: block !important;
}
.main-item.baugrundstück_div .step-box-outer {
    width: 100% !important;
}
.main-item.baugrundstück_div h5 {
    width: 60%;
}
.checkbox-step {
    text-align: left;
    column-gap: 20px;
    display: flex;
    flex-wrap: nowrap;
    max-width: 94%;
}
.new-step-box {
    max-width: 94%;
}
.main-item.baugrundstück_div .step-box {
    width: 100%;
    max-width: 94%;
}
/*CSS ADDON*/
.flex-badge {
    column-gap: 10px !important;
    margin-bottom: 12px;
}
.flex-badge .col-md-4 {
    width: 60%;
}
.flex-badge .col-md-8 h3 {
    line-height: 28px !important;
}
option {
    font-size: 12px;
    line-height: 20px;
}
form#submit_all_data p {
    text-align: left;
}
.dynamic-error {
    color: #4b5563;
    font-size: 18px;
}
.plz.w-25 {
    width: 43% !important;
}
.houseno.w-25 {
    width: 43% !important;
}


  /* Autometic step animation fix */

dummy-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row; /* Ensures horizontal layout */
    margin: 20px auto;
    padding: 0 10px;
    font-size: 16px;
  }

  .status-circle {
    margin-left: 15px; /* Space between text and circle */
    flex-shrink: 0; /* Prevent circle from shrinking */
  }

  /* Prevent text from wrapping under the circle */
  .dummy-step > div:first-child {
    white-space: normal;
    flex-grow: 1; /* Allow text to take available space */
  }

  /* Location name specific fix */
  #dummy-dynamic-location {
    display: inline;
    white-space: nowrap;
  }
  
.new_email.w-50.mb-1 {
    width: 100% !important;
}

.Telefonnummer {
    width: 100% !important;
}
  
.w-50 {
    width: 100% !important;
}
.Telefonnummer {
    width: 40% !important;
}

}


@media only screen and (min-width: 300px) and (max-width: 420px){
	.checkbox-step input {
		padding: 7px;
	}
}

/* Kontaktformulare: Breitenbegrenzung aus style.css neutralisieren */
#footer-contact-form .form-control,
.contactformwrapper .form-control,
.wpresidence_elementor_form .form-control,
.elementor-form .form-control {
  width: 100% !important;
  max-width: 100% !important;   /* hebt .form-control{max-width:100px} auf */
  box-sizing: border-box !important;
}

/* Button auch 100% im Popup */
#footer-contact-form .wpresidence_button,
.contactformwrapper .wpresidence_button {
  width: 100% !important;
  display: block !important;
}

/* Checkbox-Zeile im Popup sauber umbrechen */
#footer-contact-form .gpr_wrapper {
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 10px !important;
  align-items: start !important;
}
