/* v519: Inline-Feedback für Schnellkontakt, Kontakt und Terminbuchung */
.form-feedback {
  display: none;
  width: 100%;
  margin: 0;
  outline: none;
}

.form-feedback--visible {
  display: block;
  margin: 0 0 1rem;
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  text-align: left;
  box-sizing: border-box;
  animation: formFeedbackIn .25s ease both;
}

.form-message--success {
  color: #111116;
  background: #f1fff3;
  border-color: #66ff7e;
  box-shadow: 0 10px 28px rgba(25, 90, 38, .08);
}

.form-message--error {
  color: #521b1b;
  background: #fff5f5;
  border-color: #ef8f8f;
  box-shadow: 0 10px 28px rgba(140, 35, 35, .07);
}

.form-message__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
}

.form-message--success .form-message__icon {
  color: #111116;
  background: #66ff7e;
}

.form-message--error .form-message__icon {
  color: #fff;
  background: #c24141;
}

.form-message__copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.form-message__title {
  color: inherit;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.3;
}

.form-message__text {
  color: inherit;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.55;
}

.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -3px;
  animation: formSpinnerRotate .65s linear infinite;
}

.fn-booking__feedback {
  margin-top: 1rem;
}

.fn-booking__form-submit[disabled],
.lt-contact button[type='submit'][disabled],
#kp-contact-form button[type='submit'][disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}

[data-theme='dark'] .form-message--success {
  color: #f5fff6;
  background: #1c2c21;
  border-color: #66ff7e;
}

[data-theme='dark'] .form-message--error {
  color: #fff2f2;
  background: #352121;
  border-color: #dc7777;
}

@keyframes formFeedbackIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes formSpinnerRotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .form-message {
    gap: .7rem;
    padding: .9rem;
    border-radius: 10px;
  }

  .form-message__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-message,
  .form-spinner {
    animation: none;
  }
}
