/* FL-VERSION: 2026-03-29-v2 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 1rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.25rem; font-weight: 700; text-decoration: none; color: #1a1a1a; }
nav a { margin-left: 1.5rem; text-decoration: none; color: #555; font-size: 0.95rem; }
.site-main { padding: 3rem 0; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid #e5e5e5; padding: 2rem 0; margin-top: 4rem; font-size: 0.875rem; color: #888; }
.site-footer a { color: #555; text-decoration: none; }
.footer-note { margin-top: 0.5rem; font-size: 0.8rem; }

/* ─── Typografie ─────────────────────────────────────────────────────────── */
h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1.25rem; }
h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: #1a4fba; color: #fff !important;
  padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: 600;
  font-size: 1rem; border: none; cursor: pointer; text-decoration: none;
}
.btn-primary:hover { background: #153d91; }
.btn-secondary {
  display: inline-block; background: #f0f0f0; color: #333 !important;
  padding: 0.6rem 1.25rem; border-radius: 4px; font-weight: 500;
  font-size: 1rem; border: 1px solid #ccc; cursor: pointer; text-decoration: none;
}
.btn-secondary:hover { background: #e0e0e0; }

/* ─── Formular-Container ─────────────────────────────────────────────────── */
.form-container { max-width: 680px; }

/* ─── Schrittanzeige ─────────────────────────────────────────────────────── */
.form-steps {
  display: flex; align-items: center; margin-bottom: 2.5rem;
  padding: 1rem 0; overflow-x: auto;
}
.step-item { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.step-number {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e5e5e5; color: #888; font-weight: 700; font-size: 0.875rem;
}
.step-item.step-active .step-number { background: #1a4fba; color: #fff; }
.step-item.step-done .step-number { background: #22a05a; color: #fff; }
.step-label { font-size: 0.75rem; color: #888; margin-top: 0.25rem; white-space: nowrap; }
.step-item.step-active .step-label { color: #1a4fba; font-weight: 600; }
.step-item.step-done .step-label { color: #22a05a; }
.step-connector { flex: 1; height: 2px; background: #e5e5e5; min-width: 1.5rem; margin: 0 0.25rem; margin-bottom: 1.25rem; }

/* ─── Formular-Elemente ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label, .form-group legend {
  display: block; font-weight: 600; margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
fieldset { border: none; padding: 0; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%; padding: 0.55rem 0.75rem;
  border: 1px solid #ccc; border-radius: 4px;
  font-size: 1rem; font-family: inherit; color: #1a1a1a;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #1a4fba;
  box-shadow: 0 0 0 3px rgba(26,79,186,0.12);
}
textarea { resize: vertical; }

.input-with-suffix { display: flex; align-items: center; gap: 0.5rem; }
.input-with-suffix input { flex: 1; }
.input-suffix { font-weight: 600; color: #555; white-space: nowrap; }

/* ─── Radio + Checkbox ───────────────────────────────────────────────────── */
.radio-label, .checkbox-label {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-weight: 400; margin-bottom: 0.4rem; cursor: pointer;
}
.radio-label input, .checkbox-label input { margin-top: 0.2rem; flex-shrink: 0; }

/* ─── Fehler & Hinweise ──────────────────────────────────────────────────── */
.form-error { color: #c0392b; font-size: 0.875rem; margin-top: 0.3rem; }
.has-error input, .has-error select, .has-error textarea { border-color: #c0392b; }
.form-hint { color: #777; font-size: 0.825rem; margin-top: 0.3rem; }
.form-hint-inline { font-size: 0.825rem; font-weight: 400; color: #777; }
.required { color: #c0392b; }
.optional { font-size: 0.825rem; font-weight: 400; color: #888; }

/* ─── Abschnitt-Heading im Formular ─────────────────────────────────────── */
.form-section-heading {
  font-size: 1.05rem; font-weight: 700; color: #1a4fba;
  border-bottom: 1px solid #e5e5e5; padding-bottom: 0.4rem;
  margin-bottom: 1.25rem; margin-top: 2rem;
}

/* ─── Consent-Block ──────────────────────────────────────────────────────── */
.consent-group { background: #f7f9ff; border: 1px solid #d0daf5; border-radius: 6px; padding: 1rem 1.25rem; }
.consent-text { font-size: 0.875rem; color: #444; margin-bottom: 0.75rem; line-height: 1.55; }

/* ─── Form-Actions ───────────────────────────────────────────────────────── */
.form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e5e5e5; }

/* ─── Bestätigung ────────────────────────────────────────────────────────── */
.confirmation-box { max-width: 600px; margin: 3rem auto; text-align: center; }
.confirmation-icon { font-size: 3rem; color: #22a05a; margin-bottom: 1rem; }
.confirmation-note { font-size: 0.9rem; color: #777; margin-top: 1.5rem; }

/* ─── Abweisung ──────────────────────────────────────────────────────────── */
.rejection-box { max-width: 600px; margin: 3rem auto; }
.rejection-box h1 { color: #c0392b; }

/* ─── Partner-Seite ──────────────────────────────────────────────────────── */
.partner-lead-box { max-width: 760px; }
.partner-lead-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid #1a4fba; }
.partner-lead-subtitle { color: #555; font-size: 1.05rem; }
.lead-section { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e5e5; }
.lead-section h2 { font-size: 1rem; font-weight: 700; color: #1a4fba; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
dl.lead-data { display: grid; grid-template-columns: 200px 1fr; gap: 0.4rem 1rem; }
dl.lead-data dt { font-weight: 600; color: #555; font-size: 0.9rem; }
dl.lead-data dd { color: #1a1a1a; }
.lead-notes { background: #f7f9ff; border-left: 3px solid #1a4fba; padding: 0.75rem 1rem; font-size: 0.9rem; color: #444; }
.partner-actions-placeholder { margin-top: 2rem; padding: 1rem; background: #f5f5f5; border-radius: 4px; }
.hint-text { color: #888; font-size: 0.875rem; font-style: italic; }
.invalid-token-box { max-width: 560px; margin: 3rem auto; }
.invalid-token-box h1 { color: #c0392b; }

/* ─── Partner-Aktionen Phase 6 ───────────────────────────────────────────── */
.partner-status-waiting { color: #e67e22; }
.partner-accepted-header h1 { color: #22a05a; }
.action-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.btn-accept { background: #22a05a; color: #fff; border: none; padding: 0.65rem 1.5rem; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-accept:hover { background: #1a8a4a; }
.btn-decline { background: #c0392b; color: #fff; border: none; padding: 0.65rem 1.5rem; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-decline:hover { background: #a93226; }
.inquiry-section { border-top: 1px solid #e5e5e5; padding-top: 1.5rem; margin-top: 1.5rem; }
.inquiry-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.inquiry-sent-info { border-top: 1px solid #e5e5e5; padding-top: 1.5rem; margin-top: 1.5rem; }
.inquiry-text-display { border-left: 3px solid #1a4fba; padding: 0.5rem 1rem; color: #333; margin: 0.5rem 0 1rem; font-style: italic; }
.form-error-box { background: #fde8e8; border: 1px solid #e74c3c; color: #c0392b; padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.form-success-box { background: #eafaf1; border: 1px solid #27ae60; color: #1e8449; padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
