/* =========================
   Login / Register Container
========================= */
#registerContainer {
  background: #f7fcf9;
  border: 1.5px solid #ddeee3;
  border-radius: 18px;
  max-width: 520px;
  margin: 3rem auto;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeUp 0.4s ease both;
  margin-top: 100px;
}

#registerContainer h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111a14;
  text-align: center;
  margin-bottom: 0.5rem;
}

#registerContainer form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Form-Reihen */
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Einzelne Gruppen */
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

/* Labels */
.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #3a4a3e;
  letter-spacing: .03em;
}

/* Inputs & Selects */
#registerContainer input[type="text"],
#registerContainer input[type="email"],
#registerContainer input[type="password"],
#registerContainer select {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: #111a14;
  background: #ffffff;
  border: 1.5px solid #c5dfd0;
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

#registerContainer input::placeholder {
  color: #a0b8a8;
}

#registerContainer input:focus,
#registerContainer select:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46,204,113,.13);
  outline: none;
}

/* Hinweise */
small {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: #7a8c80;
  line-height: 1.4;
}

/* Submit Button */
#registerContainer .button-yellow {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  background: #2ecc71;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  cursor: pointer;
  align-self: flex-end;
  transition: background .18s, transform .15s;
  margin-top: 4px;
  box-shadow: none;
}

#registerContainer .button-yellow:hover {
  background: #1a9e53;
  transform: translateY(-1px);
}

/* Klein Links */
.klein {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: #7a8c80;
  text-decoration: none;
}

.klein a,
a.klein {
  color: #1a9e53;
  font-weight: 600;
  text-decoration: none;
}

.klein a:hover,
a.klein:hover {
  text-decoration: underline;
}

/* Zurück Button */
.btn_zurück {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #7a8c80;
  max-width: 1200px;
  margin: 100px auto;
  margin-bottom: 0px;
  margin-left: 20px;
  width: fit-content;
}
.btn_zurück i { font-size: 13px; }
.btn_zurück a {
  color: #7a8c80;
  text-decoration: none;
  transition: color .18s;
}
.btn_zurück:hover a,
.btn_zurück a:hover { color: #1a9e53; }

/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  #registerContainer {
    padding: 1.8rem 1.4rem;
    margin: 1.5rem 16px;
  }
  .spacing {
    margin-top: 100px;
  }
  
  .form-row {
    flex-direction: column;
  }
  #registerContainer .button-yellow {
    align-self: stretch;
    text-align: center;
  }
  .form-group {
    width: 100%;
  }
 
}

/* =========================
   Success State
========================= */
.success-container {
  display: none;
  text-align: center;
  margin-top: 3rem;
  background: #f7fcf9;
  border: 1.5px solid #ddeee3;
  border-radius: 18px;
  padding: 3rem 2rem;
  animation: fadeUp 0.4s ease both;
}
.flache_vermieten {
  padding: 22px 20px;
  max-width: 1200px;
  margin: 0px auto;

}



.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e8fdf1;
  border: 2px solid #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.success-icon i {
  color: #2ecc71;
  font-size: 28px;
}

.success-container h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #111a14;
  margin-bottom: 10px;
}

.success-container p {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: #7a8c80;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 1.5rem;
}