/* Globale Einstellungen: Basis-Font, Hintergrund transparent halten */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2937;               /* dunkles Grau für Texte */
  background: transparent;
  margin: 0;
}

/* Wrapper um das Formular – Card-Optik */
.recras-contactform-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background-color: #ffffff;     /* weißer Hintergrund */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Layout der einzelnen Formularzeilen: Label & Eingabefeld */
.recras-contactform > div {
  display: grid;
  grid-template-columns: 1fr 2fr; /* links 1 Teil Label, rechts 2 Teile Eingabefeld */
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

/* Auf kleinen Bildschirmen Label über das Eingabefeld */
@media (max-width: 600px) {
  .recras-contactform > div {
    grid-template-columns: 1fr;
  }
  .recras-contactform label {
    margin-bottom: 0.25rem;
  }
}

/* Styling für Labels */
.recras-contactform label {
  font-weight: 600;
  color: #374151; /* etwas heller als Primärtext */
  align-self: center;
}

/* Basissytling für Eingabefelder */
.recras-contactform input,
.recras-contactform select,
.recras-contactform textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;        /* hellgraue Linien */
  border-radius: 0.5rem;
  background-color: #f9fafb;        /* sehr helles Grau */
  color: #1f2937;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.recras-contactform textarea {
  min-height: 6rem;
  resize: vertical;
}

.recras-contactform input:focus,
.recras-contactform select:focus,
.recras-contactform textarea:focus {
  outline: none;
  border-color: #9b2fae;           /* violett aus dem Website-Gradient */
  box-shadow: 0 0 0 3px rgba(155, 47, 174, 0.2);
  background-color: #ffffff;
}

/* Fehlermarkierung (Recras setzt rote Border) überschreiben */
.recras-contactform input.recras-invalid {
  border-color: #dc2626;           /* Rot für Fehler */
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
}

/* Button-Styling für „Senden“ */
.recras-contactform button,
.recras-contactform .submitForm {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-image: linear-gradient(90deg, #2e3677 0%, #d02732 50%, #f7b53e 100%);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
}

.recras-contactform button:hover,
.recras-contactform .submitForm:hover {
  background-image: linear-gradient(90deg, #5b21b6 0%, #b91c5a 100%);
}

.recras-contactform button:disabled,
.recras-contactform .submitForm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Kalender- und Uhrzeit-Widgets (Datepicker) besser einpassen */
.pika-single {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
}

.pika-lendar table {
  width: 100%;
  border-collapse: collapse;
}

.pika-button {
  padding: 0.5rem 0;
  text-align: center;
}

.pika-button:hover {
  background-color: #f3e8ff;      /* leicht violett */
  color: #6b21a8;
}

/* Drop-down Auswahl (Geschlecht & Tour) */
.recras-contactform select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6d28d9 50%),
    linear-gradient(135deg, #6d28d9 50%, transparent 50%);
  background-position: calc(100% - 1rem) calc(50%), calc(100% - 0.8rem) calc(50%);
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

/* Checkboxen und Radiobuttons (falls vorhanden) */
.recras-contactform input[type="checkbox"],
.recras-contactform input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #6d28d9;        /* Violetter Akzent für aktive Checkboxen/Radios */
}

/* Kleine Info-/Fehlermeldungen */
.latestError, .recrasError {
  color: #dc2626;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Hinweis: Cookie-Hinweise o. ä. können ebenfalls hier gestylt werden, wenn nötig */