/* ==========================================================================
   Funnel Base
   ========================================================================== */
.bt-funnel {
  max-width: 840px;
  margin: 0 auto;
  font-family: inherit;
  color: #111;
}

.bt-funnel button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 15px 24px;
  font-weight: 700;
  cursor: pointer;
}

.bt-funnel .bt-prev {
  background: #eee;
  color: #111;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */
.bt-progress {
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.bt-progress span {
  display: block;
  height: 100%;
  background: #111;
  transition: width 0.25s ease;
}

/* ==========================================================================
   Steps
   ========================================================================== */
.bt-step {
  display: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.bt-step.is-active {
  display: block;
}

.bt-step h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 16px;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */
.bt-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}

.bt-lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.bt-status {
  font-weight: 700;
}

.bt-thanks {
  text-align: center;
}

/* ==========================================================================
   Card & List Grids
   ========================================================================== */
.bt-card-grid,
.bt-job-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.bt-card-grid > div,
.bt-list li {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 18px;
}

.bt-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

/* ==========================================================================
   Options
   ========================================================================== */
.bt-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.bt-options label {
  cursor: pointer;
}

.bt-options input {
  position: absolute;
  opacity: 0;
}

.bt-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-align: center;
  background: #f7f7f7;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 16px;
  transition: 0.18s ease;
}

.bt-options input:checked + span {
  border-color: #111;
  background: #fff;
}

/* ==========================================================================
   Form Fields
   ========================================================================== */
.bt-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.bt-fields input,
.bt-fields textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 15px;
  font: inherit;
}

.bt-fields textarea {
  grid-column: 1 / -1;
  min-height: 100px;
}

/* E-Mail-Feld: Theme-/Divi-Begrenzungen wie max-width:300px aufheben */
.bt-fields input[name="email"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

.bt-privacy {
  display: block;
  margin: 12px 0 22px;
  font-size: 14px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.bt-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================================================
   Honeypot (anti-spam)
   ========================================================================== */
.bt-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Info / Benefit Cards
   ========================================================================== */
.bt-job-info-card strong,
.bt-benefit-card strong,
.bt-job-info-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}

.bt-job-info-card .bt-value,
.bt-job-info-card p,
.bt-job-info-card div:last-child,
.bt-benefit-card span,
.bt-job-info-grid span,
.bt-benefit-card p {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.bt-job-info-card .bt-value,
.bt-job-info-card p,
.bt-job-info-card div:last-child {
  font-weight: 400;
}

.bt-benefit-card span,
.bt-benefit-card p {
  font-weight: 400;
}

/* ==========================================================================
   Interactive Text (options, buttons, answers)
   ========================================================================== */
.bt-options span,
.bt-option,
.bt-button,
.bt-answer,
.bt-funnel button,
.bt-funnel .button {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 680px) {
  .bt-step {
    padding: 24px;
  }

  .bt-card-grid,
  .bt-job-info-grid,
  .bt-options,
  .bt-fields {
    grid-template-columns: 1fr;
  }

  .bt-nav {
    flex-direction: column-reverse;
  }

  .bt-funnel button {
    width: 100%;
  }
}

/* v2.6.0 optionale Hinweise & geschuetzte Bewerbungsdateien */
.bt-contact-hint{margin:8px 0 18px;font-size:15px;line-height:1.55;color:inherit}
.bt-upload-field{margin:8px 0 20px;padding:18px;background:#f7f7f7;border-radius:16px}
.bt-upload-field label{display:block;margin-bottom:10px}
.bt-upload-field input[type=file]{display:block;width:100%;max-width:none;box-sizing:border-box}
.bt-upload-help{margin:8px 0 0;font-size:13px;line-height:1.45;color:#666}

/* v2.6.1 Drag & Drop Upload */
.bt-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
.bt-dropzone{border:2px dashed #cfcfcf;border-radius:14px;background:#fff;padding:24px 18px;text-align:center;cursor:pointer;transition:border-color .18s ease,background .18s ease;outline:none}
.bt-dropzone:hover,.bt-dropzone:focus,.bt-dropzone.is-dragover{border-color:#111;background:#fafafa}
.bt-dropzone-title{font-size:17px;font-weight:600;line-height:1.4}
.bt-dropzone-subtitle{margin-top:4px;font-size:14px;font-weight:400;color:#666;line-height:1.4}
.bt-file-list{display:grid;gap:8px;margin-top:12px}
.bt-file-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff;border:1px solid #e5e5e5;border-radius:10px}
.bt-file-name{min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:400;line-height:1.4}
.bt-funnel .bt-file-remove{width:auto!important;padding:7px 12px!important;border-radius:999px!important;font-size:13px!important;font-weight:600!important;background:#eee!important;color:#111!important;flex:0 0 auto}
.bt-file-error{padding:10px 12px;border-radius:10px;background:#fff3f3;color:#9b1c1c;font-size:14px;line-height:1.4}
@media(max-width:680px){.bt-file-item{align-items:flex-start;flex-direction:column}.bt-funnel .bt-file-remove{width:auto!important}}


/* v2.6.5 Pflicht-Upload Fehlermeldung direkt am Upload-Feld */
.bt-upload-error{margin-top:10px;padding:11px 13px;border:1px solid #c62828;border-radius:10px;background:#fff5f5;color:#b71c1c;font-size:15px;font-weight:600;line-height:1.4}
.bt-upload-error[hidden]{display:none!important}
.bt-dropzone.has-error{border-color:#c62828;background:#fffafa}
.bt-dropzone.has-error:focus{border-color:#c62828;background:#fffafa}
