/* Form-Styles */
.contact-form-section {
  margin: 80px auto 160px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.contact-link {
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 2px;
}

.site-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

/* Formular-Styling */
.form {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 60px 0;
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.form-col {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

/* Eingabefelder & Labels */
.label {
  font-size: 20px;
  color: var(--text-color);
  font-weight: 400;
  position: absolute;
  top: 10px;
  left: 0;
  transition: all 0.2s ease;
  pointer-events: none;
  opacity: 1;
  letter-spacing: 1px;
}

.field-number {
  color: var(--text-color);
  opacity: 1 !important;
  margin-right: 8px;
  font-weight: 500;
}

.field {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 16px 0;
  font-size: 18px;
  font-family: Inter, sans-serif;
  transition: all 0.3s ease;
  width: 100%;
}

.field:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px solid var(--text-color);
}

/* Bewegt Label nach oben, wenn Feld im Fokus ist oder Inhalt hat */
.field:focus + .label,
.field:not(:placeholder-shown) + .label {
  top: -20px;
  font-size: 22px;
  font-weight: 500;
  opacity: 1;
}

/* Für Textarea, Abstand anpassen */
textarea.field {
  margin-top: 0;
  resize: vertical;
  min-height: 120px;
}

textarea.field + .label {
  top: 10px;
}

textarea.field:focus + .label,
textarea.field:not(:placeholder-shown) + .label {
  top: -20px;
}

.btn-contact-send {
  margin-top: 40px;
}

.form-btn {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-btn:hover {
  background-color: var(--text-color);
  color: var(--background-color);
}

/* Styling für Erfolgsmeldung */
.form-success {
  display: none;
  text-align: left;
  padding: 18px 0;
  background-color: transparent;
  border-radius: 0;
  margin-top: 20px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(10px);
}

.form-success.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.success-message {
  color: var(--success);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

/* Responsives Design */
@media (min-width: 1024px) {
  .contact-form-section {
    margin: 100px auto 180px;
  }

  .form {
    margin: 80px 0;
  }

  .form-row {
    flex-direction: row;
    gap: 60px;
  }

  .form-row .form-col {
    width: 50%;
  }

  .form-btn {
    padding: 16px 40px;
    font-size: 14px;
  }
} 