/*
 * Theo - Ashby Job Board und Bewerbungsformular
 * Bereich 2 Growth - 2.2 Inbound & Conversion (Karriereseite)
 * Stand 12.11.2026 - Upload: Ashby Admin > Theme (Job Board) > Job Board Options > Custom CSS
 *
 * Nur Gestaltung. Keine Texte (kein `content:`), keine Felder aus- oder eingeblendet:
 * Inhalt und Aufbau des Formulars entscheidet People & Culture.
 * Klassen: Ashby-Vorlage ../ashby-konfiguration/ashby-beispiel-full-job-board.css
 * Farben/Schriften: hallo-theo-brand (Paper, Moss, Text #2A2A2A), Formularzustaende nach theo-design-system.
 */

/* Schriften wie auf hallotheo.de (framerusercontent, CORS offen) */
@font-face { font-family: "Theo Grotesk A"; src: url("https://framerusercontent.com/assets/KxQg1cPiy4JkGoqxvpFjHLpIBl8.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Theo Grotesk A"; src: url("https://framerusercontent.com/assets/iih7Xk7pD3ZsMdvL8Uz12yLTpKM.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Theo Grotesk B"; src: url("https://framerusercontent.com/assets/rxlbTvcOXJcxyoiHzJmj9wr3Q7s.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Theo Plantijn"; src: url("https://framerusercontent.com/assets/8RvAgqqpqoiB0oW0wxSoziitYLY.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --theo-moss: #28360E;
  --theo-moss-hover: #1D280A;
  --theo-paper: #F5F5F0;
  --theo-chalk: #FFFFFF;
  --theo-text: #2A2A2A;
  --theo-text-2: rgba(42, 42, 42, 0.75);
  --theo-border: #C2C2C2;
  --theo-border-focus: #8A8A8A;
  --theo-ring: #D4D5D5;
  --theo-error: #B3261E;

  /* Ashby-Variablen */
  --colorAppBackground: var(--theo-paper);
  --colorPrimary900: var(--theo-moss);
  --colorPrimary600: var(--theo-moss);
  --widthMaxContent: 1312px;
  --widthMaxJobBoard: 760px;
  --borderRadiusContainer: 12px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 999px;
  --fontFamily: "Theo Grotesk A", "Die Grotesk A", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.ashby-application-form-container { box-shadow: none; }
.ashby-application-form-container,
.ashby-application-form-autofill-pane { background: transparent; }

/* ---------- Ueberschriften (Die Grotesk B ab 20 px) ---------- */
.ashby-job-board-heading,
.ashby-job-posting-heading,
.ashby-department-heading,
.ashby-job-posting-brief-department-heading,
.ashby-application-form-section-header-title {
  font-family: "Theo Grotesk B", "Die Grotesk B", Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--theo-text);
}
.ashby-job-board-heading { font-size: 40px; line-height: 1.1; }
.ashby-job-posting-heading { font-size: 40px; line-height: 1.1; }
.ashby-department-heading,
.ashby-job-posting-brief-department-heading { font-size: 24px; line-height: 1.2; margin-top: 40px; }
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level { font-size: 15px; font-weight: 500; color: var(--theo-text-2); }
.ashby-job-board-heading-count { color: var(--theo-text-2); font-weight: 400; }
.ashby-application-form-section-header-title { font-size: 24px; line-height: 1.2; }
.ashby-application-form-section-header-description { color: var(--theo-text-2); font-size: 16px; line-height: 1.4; }

/* ---------- Stellenliste (gehostetes Board) ---------- */
.ashby-job-posting-brief {
  background: var(--theo-chalk);
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}
.ashby-job-posting-brief:hover { border-color: var(--theo-border); }
.ashby-job-posting-brief-title {
  font-family: "Theo Grotesk B", "Die Grotesk B", Inter, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--theo-text);
}
.ashby-job-posting-brief-details { color: var(--theo-text-2); font-size: 15px; line-height: 1.4; }

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label { font-size: 15px; color: var(--theo-text-2); }
.ashby-job-board-filter {
  background-color: var(--theo-chalk);
  border: 1px solid var(--theo-border);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-family: var(--fontFamily);
  font-size: 15px;
  color: var(--theo-text);
}
.ashby-job-board-back-to-all-jobs-button { color: var(--theo-text); font-size: 15px; }

/* ---------- Stellenseite ---------- */
.ashby-job-posting-description,
.ashby-job-posting-description p,
.ashby-job-posting-description li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--theo-text);
}
.ashby-job-posting-description h1,
.ashby-job-posting-description h2,
.ashby-job-posting-description h3 {
  font-family: "Theo Grotesk B", "Die Grotesk B", Inter, sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.ashby-job-posting-description a { color: var(--theo-moss); text-underline-offset: 3px; }
.ashby-job-posting-left-pane,
.ashby-job-posting-description-container {
  background: var(--theo-chalk);
  border: 1px solid #EAEAEA;
  border-radius: 12px;
}
.ashby-job-posting-left-pane { color: var(--theo-text-2); font-size: 15px; }
.ashby-job-posting-right-pane-tab-slider { background: var(--theo-moss); }

/* ---------- Formular ---------- */
.ashby-application-form-container { color: var(--theo-text); }
.ashby-application-form-field-entry { margin-bottom: 20px; }

.ashby-application-form-question-title {
  font-family: "Theo Grotesk A", "Die Grotesk A", Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--theo-text);
}
.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
  font-size: 14px;
  line-height: 1.4;
  color: var(--theo-text-2);
}

.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-date,
.ashby-application-form-input-dropdown-select {
  background: var(--theo-chalk);
  border: 1px solid var(--theo-border);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--fontFamily);
  font-size: 16px; /* 16 px verhindert Zoom auf iOS */
  line-height: 1.4;
  color: var(--theo-text);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ashby-application-form-input-textarea { min-height: 120px; }
.ashby-application-form-input-text::placeholder,
.ashby-application-form-input-textarea::placeholder { color: rgba(42, 42, 42, 0.5); }

.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover,
.ashby-application-form-input-autocomplete:hover,
.ashby-application-form-input-dropdown-select:hover { border-color: var(--theo-border-focus); }

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-autocomplete:focus,
.ashby-application-form-input-date:focus,
.ashby-application-form-input-dropdown-select:focus {
  outline: none;
  border-color: var(--theo-border-focus);
  box-shadow: 0 0 0 3px var(--theo-ring);
}

.ashby-application-form-input-text[aria-invalid="true"],
.ashby-application-form-input-textarea[aria-invalid="true"] { border-color: var(--theo-error); }

/* Auswahl: Ja/Nein, Radio, Checkbox */
.ashby-application-form-input-yesno-option {
  background: var(--theo-chalk);
  border: 1px solid var(--theo-border);
  border-radius: 999px;
  min-height: 40px;
  font-size: 15px;
  color: var(--theo-text);
}
.ashby-application-form-input-yesno-option[data-checked],
.ashby-application-form-input-yesno-option[aria-checked="true"] {
  background: var(--theo-moss);
  border-color: var(--theo-moss);
  color: var(--theo-chalk);
}
.ashby-application-form-input-radio-group-option-label,
.ashby-application-form-input-checkbox-group-option-label { font-size: 15px; color: var(--theo-text); }
.ashby-application-form-input-radio-group-option-radio,
.ashby-application-form-input-checkbox-group-option-checkbox { accent-color: var(--theo-moss); }

/* Datei-Upload (Lebenslauf): ein Rahmen aussen, innen keiner */
.ashby-application-form-input-file {
  background: var(--theo-chalk);
  border: 1px dashed var(--theo-border);
  border-radius: 12px;
  transition: border-color 0.15s ease;
}
.ashby-application-form-input-file:hover { border-color: var(--theo-border-focus); }
.ashby-application-form-input-file-dropzone {
  background: transparent;
  border: 0;
  padding: 20px;
}
.ashby-application-form-input-file-dropzone-instructions { font-size: 14px; color: var(--theo-text-2); }
.ashby-application-form-input-file-dropzone-upload {
  background: var(--theo-paper);
  color: var(--theo-text);
  border: 1px solid var(--theo-border);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--fontFamily);
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
}
.ashby-application-form-input-file-item {
  background: var(--theo-paper);
  border-radius: 8px;
  font-size: 15px;
}

/* Autofill-Bereich (bleibt sichtbar, nur angeglichen) */
.ashby-application-form-autofill-input-root {
  background: var(--theo-chalk);
  border: 1px solid #EAEAEA;
  border-radius: 12px;
}
.ashby-application-form-autofill-input-title {
  font-family: "Theo Grotesk A", "Die Grotesk A", Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--theo-text);
}
.ashby-application-form-autofill-input-description { font-size: 14px; color: var(--theo-text-2); }
.ashby-application-form-autofill-input-icon { color: var(--theo-moss); }

/* Absenden: Primary-Pille wie auf hallotheo.de */
.ashby-application-form-submit-button {
  background: var(--theo-moss);
  border: 1px solid var(--theo-moss);
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 28px;
  font-family: "Theo Grotesk A", "Die Grotesk A", Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--theo-chalk);
  box-shadow: none;
  transition: background-color 0.15s ease;
}
.ashby-application-form-submit-button:hover { background: var(--theo-moss-hover); border-color: var(--theo-moss-hover); }
.ashby-application-form-submit-button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--theo-ring); }
.ashby-application-form-submit-button:disabled { opacity: 0.5; }

/* Rueckmeldungen nach dem Absenden */
.ashby-application-form-success-container,
.ashby-application-form-failure-container,
.ashby-application-form-blocked-application-container,
.ashby-application-blocking-disclosure {
  background: var(--theo-chalk);
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--theo-text);
}

/* Handy */
@media (max-width: 640px) {
  .ashby-job-board-heading,
  .ashby-job-posting-heading { font-size: 30px; }
  .ashby-job-posting-brief { padding: 16px 18px; }
  .ashby-application-form-submit-button { width: 100%; }
}
