/* =================== Allgemeine Steps =================== */
#fmf-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

#fmf-form .fmf-step {
  display: none;
  margin: 16px 0 0 0;
  padding: 24px 16px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 0;
}

#fmf-form .fmf-step.active {
    display: block;
}

/* =================== Fortschrittsbalken =================== */
#fmf-progress-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

#fmf-progress {
    width: 0%;
    height: 100%;
    background: #1c1c1c;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* =================== Buttons =================== */
#fmf-form .fmf-btn {
  display: inline-block;
  background: #1c1c1c;
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
  text-align: center;
  letter-spacing: 0.5px;
  font-weight: normal;
  border-radius: 0!important;
}

#fmf-form .fmf-btn:hover:not([disabled]) {
    background: #333;
}

#fmf-form .fmf-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =================== Input-Felder =================== */
#fmf-form .fmf-input,
#fmf-form .fmf-email {
    display: block;
    height: 48px;
    width: 100%;
    padding: 4px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    transition: border-color .2s;
}




#fmf-form .fmf-input:focus,
#fmf-form .fmf-email:focus {
    outline: none;
    border-color: #1c1c1c;
    background: #fff;
}
.fmf-step.active label {
  margin-bottom: 6px;
  font-weight: 400;
  color: #1c1c1c;
  font-size: 1.15rem;
}
/* =================== Upload =================== */
#fmf-form .fmf-upload {
    display: block;
    margin-top: 0px;
}

#fmf-form .fmf-upload + label {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.9em;
}

/* Hinweis Text */
#fmf-form .fmf-step p {
  font-size: clamp(.85rem, .9vw, 1.1rem) !important;
  margin-bottom: 0;
  padding: 16px 0px 32px 0px;
  line-height: 1.1;
}

/* =================== Leaflet Karte =================== */
#fmf-map {
    height: 400px;
    margin-top: 15px;
    border: 1px solid #ccc;
}

/* =================== Exit / Erfolg =================== */
#fmf-form .fmf-exit {
    border: 2px solid red;
    padding: 20px;
    background: #ffe6e6;
    text-align: center;
}

#fmf-form .fmf-step[data-step="SUCCESS"] {
    border: 2px solid green;
    padding: 20px;
    background: #e6ffe6;
    text-align: center;
}

/* =================== Start Step =================== */
#fmf-form .fmf-step[data-step="START"] h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3vw, 3.5rem) !important;
    line-height: 1.1 !important;
}

#fmf-form .fmf-step[data-step="START"] p {
    margin-bottom: 16px;
    font-size:clamp(1rem, 1.15vw, 1.3rem) !important;
}

/* =================== Reset Button =================== */
#fmf-reset {
    margin-top: 20px;
    background: #c0392b;
}

#fmf-reset:hover {
    background: #e74c3c;
}
