/**
 * Seitenweite Bausteine des Moduls LEI Leads.
 *
 * Bis zum 21.08.2026 hiess diese Datei inquiry.css und stylte vor allem das
 * Anfrageformular. Das Formular ist mit OPRO #1116 entfallen; geblieben sind
 * der CTA-Block der Kursseite, die Anbieter-Kacheln, die Kontaktseite und der
 * dl-Abstandsfix aus der Barrierefreiheits-Arbeit (#1108).
 *
 * Farben und Radien stammen aus den Theme-Tokens des Haupt-Themes.
 * Kontraste sind auf WCAG 2.1 AA geprueft (Text >= 4.5:1).
 */

/* ===== CTA-Block auf der Kursseite ===== */

.lei-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.lei-cta-primary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #C3341F;
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease;
}

.lei-cta-primary:hover,
.lei-cta-primary:focus {
  background: #A82E1C;
  color: #fff !important;
}

.lei-cta-secondary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  color: var(--lei-teal-dark, #0A6F8F) !important;
  border: 2px solid var(--lei-border, #D4E1ED);
  border-radius: 999px;
  padding: 13px 24px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.lei-cta-secondary:hover,
.lei-cta-secondary:focus {
  border-color: var(--lei-teal, #0E8AB2);
  background: #F4F8FB;
}

.lei-cta-hint {
  font-size: 0.8rem;
  color: #4F6880;
  line-height: 1.45;
  margin: 4px 0 0;
  text-align: center;
}

/* ===== Kontaktseite (ohne Formular, nur Mailweg) ===== */

.lei-contact-page {
  max-width: 640px;
}

.lei-contact-page .page-title {
  margin-top: 0;
}

.lei-contact-page__lead {
  color: #43596E;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

.lei-contact-page__mail {
  display: inline-block;
  background: #C3341F;
  color: #fff !important;
  border-radius: 999px;
  padding: 15px 34px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .15s ease;
}

.lei-contact-page__mail:hover,
.lei-contact-page__mail:focus {
  background: #A82E1C;
  color: #fff !important;
}

.lei-contact-page__note {
  font-size: 0.9rem;
  color: #4F6880;
  line-height: 1.55;
  margin: 22px 0 0;
}

/* ===== Anbieter-Übersicht /providers ===== */

.lei-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
}

.lei-provider-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--lei-border, #D4E1ED);
  border-radius: var(--lei-radius, 12px);
  padding: 22px;
  box-shadow: var(--lei-shadow, 0 4px 24px rgba(27, 58, 92, 0.08));
}

.lei-provider-tile__name {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

.lei-provider-tile__name a {
  color: var(--lei-navy, #1B3A5C);
  text-decoration: none;
}

.lei-provider-tile__name a:hover,
.lei-provider-tile__name a:focus-visible {
  color: var(--lei-teal-dark, #0A6F8F);
  text-decoration: underline;
}

.lei-provider-tile__meta {
  color: #4F6880;
  font-size: 0.92rem;
  margin: 0;
}

.lei-provider-tile__count {
  font-weight: 700;
  color: var(--lei-teal-dark, #0A6F8F);
}

.lei-provider-directory__intro + * h1.page-title {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lei-cta-primary,
  .lei-cta-secondary,
  .lei-contact-page__mail {
    transition: none !important;
  }
}

/* Die Programm-Uebersicht ist ein <dl> (dt/dd brauchen einen dl-Vorfahren,
   axe-Regel "dlitem"). Browser-Default-Margins zuruecksetzen. */
dl.lei-overview-grid,
dl.lei-facts,
dl.lei-tags-section {
  margin-block: 0;
}
