/* ═══════════════════════════════════════
   KARRIERE-SEITE
   Wird von karriere.html genutzt
═══════════════════════════════════════ */
.karriere-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.karriere-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.karriere-back:hover { color: var(--green-dark); }

.karriere-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.karriere-page h1 em { font-style: italic; color: var(--green-dark); }

.karriere-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 52px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
  max-width: 640px;
}

/* Vorteile */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.vorteil-card {
  background: var(--green-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  text-align: center;
}

.vorteil-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.vorteil-card h4 { font-size: 14px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.vorteil-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* Stellenangebote */
.stellen-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.stellen-title em { font-style: italic; color: var(--green-dark); }
.stellen-intro { font-size: 15px; color: var(--text-light); margin-bottom: 36px; }
.stellen-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 72px; }

.stelle-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.stelle-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--green-bright);
  border-radius: 0 4px 4px 0;
}

.stelle-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stelle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.stelle-badge.vollzeit   { background: #e8f5e9; color: #1a4d2e; border: 1px solid rgba(26,77,46,.15); }
.stelle-badge.teilzeit   { background: #fff8e1; color: #7c5a00; border: 1px solid rgba(124,90,0,.15); }
.stelle-badge.ausbildung { background: #fce4ec; color: #880e4f; border: 1px solid rgba(136,14,79,.15); }
.stelle-badge.initiativ  { background: white;   color: var(--green-dark); border: 1px solid var(--border); }

.stelle-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

.stelle-tags { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.stelle-tag { font-size: 12px; font-weight: 600; color: var(--text-light); }

.stelle-body { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.stelle-body p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }

.stelle-aufgaben { padding-left: 0; list-style: none; margin: 0 0 18px; }
.stelle-aufgaben li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}
.stelle-aufgaben li::before { content: '→'; position: absolute; left: 0; color: var(--green-bright); font-weight: 700; }

.stelle-footer { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.stelle-bewerben-btn {
  background: var(--green-dark);
  color: white;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(26,77,46,.25);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stelle-bewerben-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.stelle-tel { font-size: 14px; color: var(--green-mid); text-decoration: none; font-weight: 600; transition: color .2s; }
.stelle-tel:hover { color: var(--green-dark); }

.karriere-info-box {
  background: var(--green-bg);
  border-left: 4px solid var(--green-bright);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 44px;
}

.karriere-info-box p { font-size: 14px; color: var(--text-mid); margin: 0; line-height: 1.7; }
.karriere-info-box a { color: var(--green-mid); text-decoration: none; }
.karriere-info-box a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   BEWERBUNGS-MODAL
═══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 30, 15, 0.6);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: 24px;
  padding: 0;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  background: var(--green-dark);
  padding: 28px 36px 24px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-header-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.modal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.modal-header h2 em { font-style: italic; color: #a8e063; }
.modal-stelle-name { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-top: 6px; font-weight: 500; }

.modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.25); }
.modal-body { padding: 32px 36px 36px; }

/* Bewerbungsformular-Felder */
.bew-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-mid);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.bew-section-title:first-child { margin-top: 0; }

.bew-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bew-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.bew-group.full { grid-column: 1 / -1; }
.bew-group label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.req { color: var(--green-bright); }

.bew-group input,
.bew-group select,
.bew-group textarea {
  background: var(--green-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
  resize: vertical;
}

.bew-group input:focus,
.bew-group select:focus,
.bew-group textarea:focus {
  border-color: var(--green-mid);
  background: white;
  box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.1);
}

.bew-group input::placeholder,
.bew-group textarea::placeholder { color: var(--text-light); }

/* Datei-Upload */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--green-bg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}

.upload-zone:hover,
.upload-zone.dragover { border-color: var(--green-mid); background: #e4f2e6; }

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.upload-zone p { margin: 0; font-size: 14px; color: var(--text-mid); font-weight: 500; }
.upload-zone small { font-size: 12px; color: var(--text-light); }

.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}

.file-item-icon { font-size: 18px; }
.file-item-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item-size { font-size: 12px; color: var(--text-light); }

.file-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 16px;
  padding: 0 4px;
  transition: color 0.2s;
  line-height: 1;
}

.file-item-remove:hover { color: #c0392b; }

/* DSGVO-Checkbox */
.bew-dsgvo { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 28px; }
.bew-dsgvo input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--green-dark); margin-top: 2px; cursor: pointer; }
.bew-dsgvo label { font-size: 13px; color: var(--text-mid); line-height: 1.65; cursor: pointer; }
.bew-dsgvo a { color: var(--green-mid); text-decoration: none; }
.bew-dsgvo a:hover { text-decoration: underline; }

/* Submit-Button */
.bew-submit {
  width: 100%;
  padding: 16px;
  background: var(--green-dark);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 6px 24px rgba(26, 77, 46, .28);
  letter-spacing: 0.02em;
}

.bew-submit:hover:not(:disabled) { background: var(--green-mid); transform: translateY(-2px); }
.bew-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Erfolgs-Ansicht */
.bew-success { display: none; text-align: center; padding: 40px 20px; }
.bew-success .check-big { font-size: 60px; display: block; margin-bottom: 16px; }

.bew-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.bew-success p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 20px; }

.bew-success-close {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s;
}

.bew-success-close:hover { background: var(--green-mid); }
