/* FM-Jobs – Facility Management Stellenportal */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0f2744;
  --blue-800: #1a3a5c;
  --blue-600: #1d5fa6;
  --blue-500: #2563eb;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;
  --green:    #059669;
  --amber:    #d97706;
  --radius:   8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── HEADER ── */
.site-header {
  background: var(--blue-800);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.3px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.logo span { color: var(--blue-100); }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.header-nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-primary {
  background: var(--blue-500);
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  transition: background .15s !important;
}
.btn-primary:hover { background: #1d4ed8 !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, #1a4a7a 100%);
  padding: 56px 24px 48px;
  text-align: center;
  color: var(--white);
}
.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.hero p {
  color: var(--blue-100);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.search-box {
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
}
.search-box select {
  border: none;
  border-left: 1px solid var(--gray-200);
  outline: none;
  padding: 16px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  min-width: 140px;
}
.search-btn {
  background: var(--blue-500);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.search-btn:hover { background: #1d4ed8; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.stats-count { font-size: 14px; color: var(--gray-500); }
.stats-count strong { color: var(--gray-900); font-weight: 600; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover, .chip.active {
  background: var(--blue-50);
  border-color: var(--blue-500);
  color: var(--blue-600);
}
.sort-select {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

/* ── MAIN LAYOUT ── */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}
.main-content > main { min-width: 0; overflow: hidden; }

/* ── SIDEBAR FILTER ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.filter-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.filter-card h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  cursor: pointer;
}
.filter-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
}
.filter-option input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.filter-count {
  font-size: 12px;
  color: var(--gray-400);
  background: var(--gray-100);
  border-radius: 10px;
  padding: 1px 7px;
}

/* ── PREMIUM SPOTLIGHT ── */
.premium-spotlight {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 16px 20px 14px;
  margin-bottom: 24px;
}
.premium-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.premium-spotlight-label {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Slider Nav Buttons */
.slider-nav { display: flex; gap: 6px; }
.slider-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid #fcd34d;
  background: var(--white);
  color: #92400e;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.slider-btn:hover { background: #fef3c7; }
.slider-btn:disabled { opacity: .35; cursor: default; }

/* Slider: vertikal, 3 Karten pro Seite */
.premium-slider-outer { overflow: hidden; }

.premium-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.premium-card {
  background: var(--white);
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow .15s, border-color .15s;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
}
.premium-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  border-color: var(--amber);
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fcd34d;
  opacity: .4;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.slider-dot.active { opacity: 1; transform: scale(1.25); }

.premium-card-logo {
  width: 40px; height: 40px;
  border-radius: 7px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  flex-shrink: 0;
}
.premium-card-info { flex: 1; min-width: 0; }
.premium-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.premium-card-company { font-size: 13px; color: var(--blue-600); margin: 2px 0 4px; }
.premium-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-500); }
.premium-card-badge {
  font-size: 11px;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile: 1 Karte sichtbar */
@media (max-width: 700px) {
  .premium-card { min-width: calc(100% - 0px); }
}

/* ── JOB CARDS ── */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, border-color .15s, transform .15s;
  cursor: pointer;
}
.job-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-500);
  transform: translateY(-1px);
}
.job-card.featured {
  border-color: var(--amber);
  border-left: 4px solid var(--amber);
}
.company-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-600);
  flex-shrink: 0;
}
.job-info { min-width: 0; }
.job-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-company { font-size: 14px; color: var(--blue-600); font-weight: 500; margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-500);
}
.job-meta-item svg { flex-shrink: 0; }
.job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.badge-neu    { background: #dcfce7; color: #166534; }
.badge-premium{ background: #fef3c7; color: #92400e; }
.badge-vollzeit{ background: var(--blue-50); color: var(--blue-600); }
.badge-teilzeit{ background: #f0fdf4; color: #15803d; }
.job-date { font-size: 12px; color: var(--gray-400); }
.apply-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  white-space: nowrap;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.page-btn:hover { border-color: var(--blue-500); color: var(--blue-500); }
.page-btn.active { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }

/* ── JOB DETAIL PAGE ── */
.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
.breadcrumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--blue-500); }
.breadcrumb a:hover { text-decoration: underline; }
.job-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.job-detail-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.company-logo-lg {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-600);
  flex-shrink: 0;
}
.job-detail-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.job-detail-company { font-size: 16px; color: var(--blue-600); font-weight: 700; margin-bottom: 12px; }
.job-detail-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-600, #4b5563);
}
.job-description h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--gray-900);
}
.job-description p { color: var(--gray-700); margin-bottom: 12px; }
.job-description ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.job-description li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--gray-700);
  font-size: 14px;
}
.job-description li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── APPLY SIDEBAR ── */
.apply-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.apply-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.apply-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.btn-apply {
  width: 100%;
  background: var(--blue-500);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 12px;
}
.btn-apply:hover { background: #1d4ed8; }
.share-btn {
  width: 100%;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.share-btn:hover { background: var(--gray-50); }
.company-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}
.company-info-card h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-500); margin-bottom: 14px; }
.company-detail { display: flex; gap: 8px; font-size: 13px; color: var(--gray-600, #4b5563); padding: 5px 0; }

/* ── APPLY MODAL / FORM ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.modal-header {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-header h2 { font-size: 17px; font-weight: 600; }
.modal-close {
  width: 30px; height: 30px;
  border: none; background: var(--gray-100);
  border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex;
  align-items: center; justify-content: center;
  color: var(--gray-500);
  transition: background .15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 18px 22px; overflow-x: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--blue-500); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.file-upload {
  border: 1px dashed var(--gray-200);
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-upload:hover { border-color: var(--blue-500); background: var(--blue-50); }
.file-upload-icon { font-size: 18px; flex-shrink: 0; }
.file-upload-text { font-size: 13px; color: var(--gray-500); }
.file-upload-text strong { color: var(--blue-500); }
.file-upload p { font-size: 12px; color: var(--gray-400); margin: 0; }
/* legacy large style (used on aufschalten) */
.file-upload.large {
  flex-direction: column;
  padding: 24px;
  text-align: center;
}
.file-upload.large .file-upload-icon { font-size: 24px; }
.file-upload.large .file-upload-text { font-size: 13px; }

/* Anti-spam math captcha */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.captcha-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 6px;
  padding: 9px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.captcha-box input {
  width: 120px !important;
  text-align: center;
}
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.privacy-note {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 12px;
}
.privacy-note a { color: var(--blue-500); }

/* ── AUFSCHALTEN PAGE ── */
.aufschalten-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
}
.aufschalten-hero h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; margin-bottom: 10px; }
.aufschalten-hero p { color: var(--blue-100); font-size: 16px; }
.packages-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}
.packages-section > h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.packages-section > p {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.package-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  cursor: pointer;
  transition: all .2s;
}
.package-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow); }
.package-card.selected { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.package-card.popular {
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.package-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.package-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-800);
  margin: 16px 0 4px;
}
.package-price span { font-size: 16px; font-weight: 500; color: var(--gray-500); }
.package-duration { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.package-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.package-features li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}
.package-features li .check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.package-features li .cross { color: var(--gray-400); flex-shrink: 0; }
.select-package-btn {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  border: 2px solid var(--blue-500);
  background: var(--white);
  color: var(--blue-500);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.package-card.selected .select-package-btn,
.select-package-btn:hover {
  background: var(--blue-500);
  color: var(--white);
}

/* ── AUFSCHALTEN FORM ── */
.aufschalten-form-section {
  max-width: 780px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gray-400);
  margin: 28px 0 16px;
}
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.payment-option {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.payment-option:hover, .payment-option.selected { border-color: var(--blue-500); background: var(--blue-50); }
.payment-option input[type=radio] { accent-color: var(--blue-500); width: 16px; height: 16px; }
.payment-option-text strong { display: block; font-size: 14px; font-weight: 600; }
.payment-option-text small { font-size: 12px; color: var(--gray-500); }
.submit-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.price-summary {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-summary .label { font-size: 14px; color: var(--gray-700); }
.price-summary .price { font-size: 22px; font-weight: 700; color: var(--blue-800); }
.btn-submit {
  width: 100%;
  background: var(--blue-500);
  color: var(--white);
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.btn-submit:hover { background: #1d4ed8; }
.submit-note { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 10px; }

/* ── RICH TEXT EDITOR ── */
.editor-wrap {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.editor-wrap:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.editor-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 13px;
  font-family: inherit;
  color: var(--gray-700);
  cursor: pointer;
  transition: background .12s, border-color .12s;
  line-height: 1.4;
}
.editor-btn:hover { background: var(--gray-200); border-color: var(--gray-300, #d1d5db); }
.editor-btn.active { background: var(--blue-100); border-color: var(--blue-500); color: var(--blue-600); }
.editor-sep {
  width: 1px; height: 18px;
  background: var(--gray-200);
  margin: 0 4px;
  flex-shrink: 0;
}
.editor-body {
  min-height: 200px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--gray-900);
  line-height: 1.7;
  outline: none;
}
.editor-body:empty::before {
  content: attr(data-placeholder);
  color: var(--gray-400);
  pointer-events: none;
}
.editor-body ul, .editor-body ol {
  padding-left: 20px;
  margin: 6px 0;
}
.editor-body li { margin: 3px 0; }

/* ── PENSUM STEPPER ── */
.pensum-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.stepper-btn {
  width: 38px; height: 40px;
  border: none;
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background .12s;
  flex-shrink: 0;
  line-height: 1;
}
.stepper-btn:hover { background: var(--gray-200); }
.stepper-btn:disabled { opacity: .35; cursor: default; }
.stepper-val {
  min-width: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  padding: 0 4px;
  line-height: 40px;
}
.stepper-pct {
  font-size: 13px;
  color: var(--gray-400);
  padding-right: 4px;
  line-height: 40px;
}

/* ── ANSTELLUNGSART ── */
.anstellung-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anstellung-option {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .15s;
}
.anstellung-option:has(input:checked),
.anstellung-option.selected { border-color: var(--blue-500); background: var(--blue-50); }
.anstellung-option input[type=radio] { accent-color: var(--blue-500); width: 15px; height: 15px; flex-shrink: 0; }
.anstellung-text strong { display: block; font-size: 14px; }
.anstellung-text small { font-size: 12px; color: var(--gray-500); }


/* ── FOOTER ── */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 40px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-partners { display: flex; align-items: center; gap: 8px; }
.partner-badge {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ── SUCCESS STATE ── */
.success-card {
  max-width: 520px;
  margin: 60px auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.success-card p { color: var(--gray-500); font-size: 15px; }

/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--blue-900);
  border-top: 1px solid rgba(255,255,255,.1);
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.08); }
.mobile-nav a.mobile-nav-cta {
  color: #fff;
  background: var(--blue-500);
  font-weight: 700;
  text-align: center;
  border-bottom: none;
  margin: 12px 16px 16px;
  border-radius: 8px;
  padding: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-content { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Header */
  .header-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .search-box { flex-direction: column; }
  .search-box input,
  .search-box select { width: 100%; border-left: none; border-top: 1px solid var(--gray-200); }
  .search-btn { width: 100%; }

  /* Stats bar */
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .filter-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }

  /* Jobs */
  .job-card { grid-template-columns: 1fr; gap: 8px; }
  .company-logo { display: none; }
  .job-right { flex-direction: row; align-items: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .anstellung-options { grid-template-columns: 1fr; }

  /* Aufschalten info boxes */
  .info-boxes-grid { grid-template-columns: 1fr !important; }

  /* Modal */
  .modal { max-height: 100vh; border-radius: 0; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-body { padding: 16px; }

  /* Detail */
  .job-detail-header { flex-direction: column; gap: 12px; }
  .job-detail-meta { flex-direction: column; gap: 6px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Packages */
  .packages-grid { grid-template-columns: 1fr; }
}
