/* =============================================
   TERMIN-FORMULAR (Baustein "Lady M: Termin-Formular")
   ============================================= */


.termin-form-intro {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}

.termin-form-intro abbr {
  text-decoration: none;
  color: var(--gold);
}

/* Zeilen */
.termin-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.termin-row--2 {
  grid-template-columns: 1fr 1fr;
}

/* Einzelnes Feld */
.termin-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.termin-row .termin-field {
  margin-bottom: 0;
}

.termin-field label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
}

.termin-field label span {
  color: var(--gold);
  font-weight: 400;
}

.termin-field input,
.termin-field textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--light);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s, background 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.termin-field input::placeholder,
.termin-field textarea::placeholder {
  color: #bbb;
  font-size: 0.8rem;
}

.termin-field input:focus,
.termin-field textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.termin-field input[type="date"],
.termin-field input[type="time"] {
  cursor: pointer;
  color-scheme: only light;
}

.termin-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

/* Fehler */
.termin-field.has-error input,
.termin-field.has-error textarea {
  border-color: #c0392b;
  background: #fff9f9;
}

.termin-field-error {
  font-size: 0.72rem;
  color: #c0392b;
  letter-spacing: 0.04em;
}

/* Abschicken */
.termin-submit-row {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

/* -----------------------------------------------
   Button – gleiche Goldfarbe wie Termin-Button in Nav
----------------------------------------------- */
.termin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  -webkit-appearance: none;
}

.termin-btn:hover {
  background: #b5924f;
  color: #fff;
}

.termin-btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s;
}

.termin-btn:hover .termin-btn-arrow {
  transform: translateX(4px);
}

/* -----------------------------------------------
   Erfolgs-Meldung
----------------------------------------------- */
.termin-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 300px;
  gap: 1.25rem;
}

.termin-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.termin-success h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--dark);
}

.termin-success p {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 360px;
}

/* -----------------------------------------------
   Fehler-Alert
----------------------------------------------- */
.termin-alert {
  background: #fff3f3;
  border: 1px solid #f5c6c6;
  color: #8b1a1a;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.termin-alert a {
  color: #8b1a1a;
  font-weight: 600;
}

/* =============================================
   RESPONSIVE – Termin-Seite
   ============================================= */

/* ── Termin: Tablet-Layout bleibt bis 480px erhalten ── */

@media (max-width: 680px) {
  .termin-row--2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .termin-submit-row {
    justify-content: stretch;
  }

  .termin-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Unsichtbares Lockfeld gegen Spam-Programme (für Menschen nicht sichtbar) */
.termin-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Datenschutz-Hinweis unter dem Formular */
.termin-privacy-note {
  margin: 1rem 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--mid);
}

.termin-privacy-note a {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

/* Hinweis für Admins: wohin gehen die Anfragen? */
.termin-admin-note {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.9rem;
  background: #fbf7ef;
  border-left: 2px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--mid);
}

.termin-admin-note a {
  color: var(--lm-mokka, #7a6352);
}
