/* =========================================================
   JOBPORTAL - CLEAN CSS
   Basis:
   - bestehende Filter / Ergebnisliste bleiben erhalten
   - rechte Spalte ist auf 2 echte Slots reduziert
   - alter Override-/Patch-/Reset-Müll entfernt
   ========================================================= */

/* =========================
   1. TOKENS / BASE
   ========================= */

:root {
  --header-h: 92px;
  --footer-h: 64px;

  --jp-radius-sm: 10px;
  --jp-radius: 12px;
  --jp-radius-lg: 18px;
  --jp-radius-xl: 26px;

  --jp-action: 44px;
  --jp-font: 18px;

  --jp-sidebar-w: 430px;
  --jp-gap: 22px;

  --jp-text: #0f172a;
  --jp-text-soft: rgba(0, 0, 0, 0.65);
  --jp-muted: #475569;

  --jp-primary: #2563eb;
  --jp-primary-soft: #eff6ff;
  --jp-success: #34d399;
  --jp-danger: #ef4444;

  --jp-border: rgba(0, 0, 0, 0.12);
  --jp-border-soft: rgba(15, 23, 42, 0.08);
  --jp-bg-soft: #f8fafc;
  --jp-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);

  --jp-panel-h: auto;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--jp-text);
  background: #fff;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
}

/* =========================
   2. FILTERBAR
   ========================= */

.jp-filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--jp-border);
}

.jp-filter-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.jp-input {
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--jp-text);
}

#f_region { min-width: 240px; flex: 0 0 240px; }
#f_postal { min-width: 120px; flex: 0 0 120px; }
#f_country { min-width: 150px; flex: 0 0 150px; }
#f_radius { min-width: 140px; flex: 0 0 140px; }
#f_title  { min-width: 210px; flex: 1 1 210px; max-width: 280px; }
#f_kw     { min-width: 210px; flex: 1 1 210px; max-width: 280px; }

.jp-fieldwrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.jp-fieldwrap .jp-input {
  padding-right: 34px;
}

.jp-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: #fff;
  color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  font-size: 16px;
  line-height: 18px;
  padding: 0;
  opacity: 0.75;
}

.jp-clear:hover {
  opacity: 1;
}

.jp-btn {
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.jp-search {
  background: var(--jp-primary);
  color: #fff;
}

.jp-reset {
  background: var(--jp-danger);
  color: #fff;
}

.jp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  user-select: none;
}

.jp-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.jp-toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 1px;
  left: 1px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.jp-toggle input[type="checkbox"]:checked {
  background: rgba(37, 99, 235, 0.9);
}

.jp-toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.jp-submeta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.jp-viewtoggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.jp-vbtn {
  height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  font-size: 18px;
}

.jp-vbtn.is-active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
}

.jp-submeta .jp-pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

.jp-submeta .jp-pg:hover {
  border-color: rgba(0, 0, 0, 0.32);
}

.jp-filterbar .jp-btn.jp-search,
.jp-filterbar .jp-btn.jp-reset {
  height: var(--jp-action);
  width: var(--jp-action);
  min-width: var(--jp-action);
  padding: 0;
  border-radius: var(--jp-radius);
  font-size: var(--jp-font);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jp-filterbar .jp-btn.jp-search {
  background: var(--jp-success);
  color: #fff;
}

.jp-filterbar .jp-btn.jp-reset {
  background: var(--jp-danger);
  color: #fff;
}

/* =========================
   3. PAGE LAYOUT
   ========================= */

.jp-results {
  max-width: 1480px;
  margin: 18px auto;
  padding: 0 12px 12px;
  overflow-x: clip;
}

.jp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--jp-sidebar-w);
  gap: var(--jp-gap);
  align-items: start;
}

.jp-maincol {
  min-width: 0;
}

.jp-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  height: calc(100vh - var(--header-h) - 24px);
  overflow: hidden;
  min-height: 0;
}

/* =========================
   4. GENERIC BOXES / SIDEBAR
   ========================= */

.jp-sidebox {
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.jp-sidehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.jp-sidehead h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.1;
}

.jp-sidebadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 12px;
}

.jp-sidehint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.62);
}

.jp-sidebox-body {
  flex: 1 1 auto;
  min-height: 0;
}

.jp-sidebar-stack--two {
  display: grid;
  grid-template-rows: auto minmax(290px, 1fr);
  gap: 14px;
  height: 100%;
}

.jp-sidebox-slot1,
.jp-sidebox-slot2 {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* =========================
   5. GENERIC RAIL / CARD
   ========================= */

.jp-rail {
  position: relative;
  min-height: 260px;
  height: 100%;
}

.jp-rail-card {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.jp-rail-card.is-active {
  display: block;
  animation: jpRailFade 0.35s ease;
}

@keyframes jpRailFade {
  from { opacity: 0.4; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jp-rail-media {
  height: 150px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.jp-rail-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.jp-rail-body {
  padding: 14px;
}

.jp-rail-kicker {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jp-primary);
}

.jp-rail-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.jp-rail-meta {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
}

.jp-rail-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.jp-rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--jp-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 0;
}

.jp-rail-btn--muted {
  background: #e2e8f0;
  color: #334155;
}

/* =========================
   6. ADS
   ========================= */

.jp-ad-card {
  position: relative;
  background: var(--jp-ad-bg, #0f172a);
  color: var(--jp-ad-fg, #fff);
  border-color: transparent;
  height: 100%;
}

.jp-ad-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jp-ad-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.jp-ad-image {
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jp-ad-card h3 {
  margin: 0;
  padding: 16px 16px 0;
  font-size: 18px;
  line-height: 1.25;
}

.jp-ad-card .jp-rail-actions {
  padding: 0 16px 16px;
}

.jp-ad-card .jp-rail-btn {
  background: #fff;
  color: #111827;
}

.jp-ad-html {
  padding: 18px;
  flex: 1 1 auto;
  overflow: auto;
}

.jp-ad-html p:first-child {
  margin-top: 0;
}

/* =========================
   7. RESULTS / LIST / CARD VIEW
   ========================= */

.jp-results-wrap[data-view="list"] {
  display: block;
}

.jp-results-wrap[data-view="card"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.jp-empty {
  border: 1px solid var(--jp-border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  background: #fff;
}

.jp-item {
  border: 1px solid var(--jp-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.jp-item.is-open {
  background: #f0faf4;
  border-color: #86efac;
}

.jp-item + .jp-item {
  margin-top: 10px;
}

.jp-results-wrap[data-view="card"] .jp-item + .jp-item {
  margin-top: 0;
}

.jp-item-head {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.jp-thumb {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  object-fit: contain;
  flex: 0 0 92px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 8px;
}

.jp-headtxt {
  flex: 1 1 auto;
  min-width: 0;
}

.jp-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
}
.jp-jobid {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  vertical-align: middle;
  margin-left: 4px;
}

.jp-meta {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
}

.jp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.jp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.65);
  white-space: nowrap;
}

.jp-tag--remote { background: #d1fae5; color: #065f46; }
.jp-tag--time   { background: #dbeafe; color: #1e40af; }
.jp-tag--dept   { background: #ede9fe; color: #5b21b6; }
.jp-tag--level  { background: #fef3c7; color: #92400e; }
.jp-tag--exp    { background: #fce7f3; color: #9d174d; }

.jp-openhint {
  font-weight: 900;
  opacity: 0.55;
  font-size: 18px;
  padding: 0 6px;
}

.jp-detail {
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.jp-detail-inner {
  padding: 12px 14px;
}

.jp-desc {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.88);
}

.jp-desc p {
  margin: 0 0 10px;
}

.jp-desc ul,
.jp-desc ol {
  margin: 0 0 10px 18px;
}

.jp-cta {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.jp-apply-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

@keyframes jp-apply-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50%       { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); }
}

.jp-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  background: var(--jp-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  animation: jp-apply-pulse 2.2s ease-in-out infinite;
  transition: transform 0.15s, box-shadow 0.15s;
}

.jp-apply:hover {
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.jp-results-wrap[data-view="card"] .jp-item-head {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.jp-results-wrap[data-view="card"] .jp-thumb {
  width: 100%;
  height: 150px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jp-results-wrap[data-view="card"] .jp-headtxt {
  padding: 12px 12px 10px;
}

.jp-results-wrap[data-view="card"] .jp-openhint {
  display: none;
}

.jp-results-wrap[data-view="card"] .jp-item.is-open {
  grid-column: 1 / -1;
}

/* =========================
   8. DESCRIPTION CONTENT
   ========================= */

.jp-desc h1,
.jp-desc h2,
.jp-desc h3,
.jp-desc h4,
.jp-desc h5,
.jp-desc h6 {
  margin: 14px 0 8px;
  line-height: 1.25;
  font-weight: 800;
}

.jp-desc h1 { font-size: 24px; }
.jp-desc h2 { font-size: 21px; }
.jp-desc h3 { font-size: 18px; }

.jp-desc blockquote {
  margin: 10px 0;
  padding: 10px 14px;
  border-left: 4px solid #cbd5e1;
  background: #f8fafc;
}

.jp-desc a {
  color: #1d4ed8;
  text-decoration: underline;
}

.jp-desc span[style*="text-align:center"] { display: block; text-align: center; }
.jp-desc span[style*="text-align:right"] { display: block; text-align: right; }
.jp-desc span[style*="text-align:justify"] { display: block; text-align: justify; }

.jp-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 14px;
}

.jp-desc td,
.jp-desc th {
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: top;
  text-align: left;
}

.jp-desc th {
  background: #f1f5f9;
  font-weight: 700;
}

/* =========================
   9. INTENT MODAL
   ========================= */

.jp-intent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.jp-intent-box {
  width: 420px;
  max-width: 90%;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: jpFade 0.25s ease;
}

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

.jp-intent-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.jp-intent-box h2 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.jp-intent-box p {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.45;
}

.jp-intent-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.jp-intent-save,
.jp-intent-later,
.jp-intent-actions .jp-intent-secondary {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.jp-intent-save {
  background: #22c55e;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

.jp-intent-save:hover,
.jp-intent-save:focus,
.jp-intent-actions .jp-intent-secondary:hover,
.jp-intent-actions .jp-intent-secondary:focus,
.jp-intent-later:hover,
.jp-intent-later:focus {
  transform: translateY(-1px);
}

.jp-intent-save[disabled] {
  opacity: 0.75;
  cursor: default;
  transform: none;
}

.jp-intent-later {
  background: #f1f5f9;
  border: 0;
  color: #334155;
}

.jp-intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 10px 0 4px;
}

.jp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  max-width: 100%;
}

.jp-chip span {
  font-weight: 800;
  opacity: 0.65;
}

.jp-intent-form {
  margin-top: 14px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.jp-intent-form-intro {
  margin-bottom: 12px;
  text-align: center;
}

.jp-intent-form-intro h3,
.jp-intent-next h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  color: #0f172a;
}

.jp-intent-form-intro p {
  margin: 0;
  color: #334155;
  opacity: 1;
  font-size: 15px;
}

.jp-intent-form label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 10px 0 6px;
}

.jp-intent-form input[type="email"] {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
}

.jp-intent-form input[type="email"]:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.jp-intent-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.95;
  color: #334155;
}

.jp-intent-consent input {
  margin-top: 3px;
}

.jp-intent-error {
  margin-top: 10px;
  font-size: 13px;
  color: #b91c1c;
  font-weight: 800;
  text-align: center;
}

.jp-intent-success {
  margin-top: 14px;
  font-size: 14px;
  color: #166534;
  font-weight: 800;
  text-align: center;
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 12px;
}

.jp-intent-actions .jp-intent-secondary {
  background: #e2e8f0;
  border: 0;
  color: #0f172a;
}

.jp-intent-next {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #eefdf4 100%);
  border: 1px solid rgba(34, 197, 94, 0.16);
}

.jp-intent-next-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.jp-intent-next-copy {
  margin: 0;
  color: #334155;
  opacity: 1;
}

.jp-intent-next-points {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.jp-intent-next-point {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
}

.jp-intent-next-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* =========================
   10. VIP SLOT
   ========================= */

.jp-sidebox-slot1 {
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, #06101f 0%, #071833 42%, #081326 100%);
  border: 2px solid #ffd44a;
  box-shadow: 0 0 0 1px rgba(255, 212, 74, 0.18), 0 26px 60px rgba(2, 8, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fff;
}

.jp-vip-header {
  margin: -12px -12px 12px;
  padding: 15px 22px;
  background: #000;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 212, 74, 0.25);
}

.jp-vip-header::before,
.jp-vip-header::after {
  content: "◆";
  font-size: 9px;
  color: rgba(255, 212, 74, 0.55);
}

.jp-vip-header-label {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ffd44a;
  text-shadow: 0 0 18px rgba(255, 212, 74, 0.55);
}

.jp-sidehead--vip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.jp-sidehead--vip h2 {
  margin: 0;
  font-size: clamp(32px, 3.3vw, 50px);
  line-height: 0.9;
  color: #fff;
  font-weight: 980;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.24);
}

.jp-sidehead--vip .jp-sidebadge {
  border: 0;
  background: linear-gradient(135deg, #ffe589, #ffbf1f);
  color: #0b1220;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  padding: 11px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(255, 183, 3, 0.24);
}

.jp-sidehead-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jp-sideeyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 223, 118, 0.92);
}

.jp-sidehead--vip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  max-width: 24ch;
}

.jp-vipstream {
  position: relative;
  height: 100%;
  min-height: 0;
}

.jp-vipstream-window {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(220px 180px at 82% 0%, rgba(255, 212, 74, 0.20), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 20%, rgba(255, 255, 255, 0));
}

.jp-vipstream-track {
  position: relative;
  height: 100%;
  min-height: 0;
}

.jp-vipstream-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.jp-vipstream-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.jp-vipstream-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  text-align: left;
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

button.jp-vipstream-card {
  appearance: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.jp-vipstream-card::after {
  content: "";
  position: absolute;
  left: -35%;
  top: 0;
  width: 32%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.16) 48%, transparent 100%);
  transform: skewX(-18deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
}

.jp-vipstream-card:hover {
  transform: translateY(-2px);
}

.jp-vipstream-card:hover::after {
  animation: jpVipCardSweep 1s cubic-bezier(.16,1,.3,1);
}

@keyframes jpVipCardSweep {
  0%   { transform: skewX(-18deg) translateX(-180%); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: skewX(-18deg) translateX(540%); opacity: 0; }
}

.jp-vipstream-card--job {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 22px 42px rgba(0,0,0,.24);
}

.jp-vipstream-card--job::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255,255,255,.16), rgba(255,196,0,.20), transparent 44%, rgba(255,255,255,.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.jp-vipstream-card--ad {
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
  height: 100%;
  display: flex;
}
.jp-vipstream-card--ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.jp-vipstream-card--ad::before {
  content: "Signature Placement";
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
}

.jp-vipstream-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.jp-vipstream-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff3bf;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.jp-vipstream-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ffe589,#ffb703);
}

.jp-vipstream-tag--ad {
  background: rgba(255,212,74,.12);
  border-color: rgba(255,212,74,.22);
  color: #ffe083;
}

.jp-vipstream-miniindex {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .24em;
  color: rgba(255,255,255,.55);
}

.jp-vipstream-card-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
}

.jp-vipstream-media {
  height: 92px;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(180deg,#f8fbff 0%, #ffffff 100%);
  box-shadow: inset 0 -14px 34px rgba(125,142,178,.12), 0 18px 36px rgba(3,10,24,.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-vipstream-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.10));
}

.jp-vipstream-copy h3,
.jp-vipstream-ad-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 980;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.jp-vipstream-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jp-vipstream-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.jp-vipstream-copy p,
.jp-vipstream-ad-content p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  max-width: none;
}

.jp-vipstream-card-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.jp-vipstream-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe07a 0%, #ffbf1f 100%);
  color: #0b1220;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(255, 183, 3, .28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

/* Tooltip-Blase */
.jp-vipstream-cta::before {
  content: "Jetzt ansehen";
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0b1220;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Tooltip-Pfeil nach unten */
.jp-vipstream-cta::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: #0b1220;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.jp-vipstream-card:hover .jp-vipstream-cta {
  background: linear-gradient(135deg, #fff3b0 0%, #ffd84a 100%);
  box-shadow: 0 0 0 3px rgba(255, 212, 74, .45), 0 16px 32px rgba(255, 183, 3, .48);
  transform: translateY(-1px);
}

.jp-vipstream-card:hover .jp-vipstream-cta::before,
.jp-vipstream-card:hover .jp-vipstream-cta::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.jp-vipstream-cta--ghost {
  background: rgba(255,212,74,.12);
  color: #ffe083;
  box-shadow: none;
  border: 1px solid rgba(255,212,74,.24);
}

.jp-vipstream-ad-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.jp-vipstream-ad-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: .12;
}

/* =========================
   11. COMPANIES / PARTNERS
   ========================= */

.jp-sidebox-slot2 {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.jp-sidebox-slot2 .jp-sidehead {
  margin-bottom: 4px;
}

.jp-sidebox-slot2 .jp-sidehead h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
}

.jp-sidebox-slot2 .jp-sidehint {
  margin: 0 0 10px;
  font-size: 12px;
  color: #64748b;
}

.jp-partner-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  display: grid;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jp-partner-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* company card variant */
.jp-company-card {
  display: none;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg,#0f172a 0%, #172554 100%);
  box-shadow: 0 18px 38px rgba(15,23,42,.16);
  color: #fff;
}

.jp-company-card.is-active {
  display: flex;
}

.jp-company-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 0;
}

.jp-company-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 24px rgba(15,23,42,.22);
  overflow: hidden;
}

.jp-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}

.jp-company-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.jp-company-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.jp-company-card .jp-rail-meta {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}

.jp-company-about {
  margin: 12px 16px 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.jp-company-card .jp-rail-actions {
  margin-top: auto;
  padding: 0 16px 16px;
}

/* partner banner-like variant */
.jp-partner-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.jp-partner-card__media {
  position: relative;
  min-height: 120px;
  background: linear-gradient(180deg,#0b1730 0%, #132c64 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.jp-partner-card__media img {
  width: 100%;
  height: 100%;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}

.jp-partner-card__badge {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jp-partner-card__body {
  padding: 14px 14px 14px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jp-partner-card__body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
  color: #0f172a;
}

.jp-partner-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jp-partner-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
}

.jp-partner-card__body p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.jp-partner-card__actions {
  margin-top: auto;
}

.jp-partner-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--jp-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.jp-partner-card__btn--muted {
  background: #e2e8f0;
  color: #334155;
}

/* =========================
   12. VIP MODAL
   ========================= */

body.jp-vipmodal-open {
  overflow: hidden;
}

.jp-vipmodal[hidden] {
  display: none !important;
}

.jp-vipmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.jp-vipmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,8,23,.70);
  backdrop-filter: blur(8px);
}

.jp-vipmodal-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 44px));
  max-height: min(88vh, 820px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(220px 180px at 80% 0%, rgba(255,212,59,.14), transparent 54%),
    linear-gradient(145deg,#07162f 0%, #081d41 50%, #07162d 100%);
  box-shadow: 0 40px 120px rgba(2,8,23,.44), inset 0 1px 0 rgba(255,255,255,.06);
  transform: scale(.96) translateY(16px);
  opacity: 0;
}

.jp-vipmodal-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,196,0,.50), rgba(255,255,255,.10));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.jp-vipmodal.is-open .jp-vipmodal-dialog {
  animation: jpVipModalIn .36s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes jpVipModalIn {
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.jp-vipmodal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.jp-vipmodal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  min-height: 580px;
}

.jp-vipmodal-media {
  padding: 34px 0 34px 34px;
  align-items: flex-start;
  background: linear-gradient(180deg,#edf2f8 0%,#ffffff 100%);
  display: flex;
  justify-content: center;
}

.jp-vipmodal-mediaframe {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 150px;
  min-height: 150px;
  max-height: 150px;
  border-radius: 22px;
  padding: 14px;
  margin-top: 54px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(15,23,42,.14), inset 0 -10px 35px rgba(148,163,184,.12);
}

.jp-vipmodal-mediaframe img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.jp-vipmodal-copy {
  padding: 58px 56px 42px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
}

.jp-vipmodal-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.jp-vipmodal-tag {
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .12em;
  color: #ffd54a;
}

.jp-vipmodal-tag--accent {
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ffd54a,#ffb703);
  color: #0b1220;
}

.jp-vipmodal-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 64px);
  line-height: .92;
  font-weight: 980;
  letter-spacing: -.06em;
  text-wrap: balance;
  max-width: 15ch;
}

.jp-vipmodal-company {
  margin-bottom: 12px;
  font-size: clamp(20px,1.8vw,28px);
  font-weight: 850;
  line-height: 1.18;
  color: #fff;
  max-width: 24ch;
}

.jp-vipmodal-location {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 650;
  color: rgba(255,255,255,.84);
}

.jp-vipmodal-desc {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,255,255,.88);
  max-width: 42ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.jp-vipmodal-actions {
  margin-top: 30px;
}

.jp-vipmodal-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 18px;
  background: linear-gradient(135deg,#ffd54a 0%,#ffb703 100%);
  color: #08111f;
  text-decoration: none;
  font-size: 18px;
  font-weight: 980;
  box-shadow: 0 20px 40px rgba(255,183,3,.26);
}

/* =========================
   13. RESPONSIVE
   ========================= */

@media (max-width: 1400px) {
  :root {
    --jp-sidebar-w: 392px;
  }

  .jp-vipstream-copy h3,
  .jp-vipstream-ad-content h3 {
    font-size: 26px;
  }

  .jp-company-card h3 {
    font-size: 21px;
  }
}

@media (max-width: 1180px) {
  .jp-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .jp-sidebar {
    position: static;
    order: -1;
    height: auto;
    overflow: visible;
  }

  .jp-sidebar-stack--two {
    grid-template-rows: none;
    height: auto;
  }

  .jp-vipstream-window,
  .jp-vipstream-track,
  .jp-vipstream-card--job,
  .jp-vipstream-card--ad {
    height: auto;
    min-height: 0;
  }

  .jp-vipstream-item {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .jp-vipstream-item + .jp-vipstream-item {
    margin-top: 12px;
  }

  .jp-vipmodal-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .jp-vipmodal-media {
    padding: 20px 20px 0 20px;
    justify-content: center;
  }

  .jp-vipmodal-mediaframe {
    margin-top: 0;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }

  .jp-vipmodal-copy {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 860px) {
  .jp-filter-inner {
    max-width: none;
  }

  .jp-submeta {
    flex-wrap: wrap;
  }

  .jp-layout {
    gap: 14px;
  }

  .jp-rail {
    min-height: unset;
  }

  .jp-rail-card {
    display: block;
  }

  .jp-rail-card + .jp-rail-card {
    margin-top: 12px;
  }

  .jp-sidehead--vip {
    align-items: flex-start;
    flex-direction: column;
  }

  .jp-sidehead--vip p {
    max-width: none;
  }

  .jp-vipstream-card-body {
    grid-template-columns: 74px 1fr;
    gap: 12px;
  }

  .jp-vipstream-media {
    height: 74px;
    padding: 8px;
    border-radius: 16px;
  }

  .jp-vipstream-copy h3,
  .jp-vipstream-ad-content h3 {
    font-size: 22px;
  }

  .jp-vipstream-meta span {
    width: 100%;
    justify-content: flex-start;
  }

  .jp-vipstream-copy p,
  .jp-vipstream-ad-content p {
    font-size: 13px;
  }

  .jp-vipstream-cta {
    width: 100%;
  }

  .jp-partner-card {
    grid-template-columns: 1fr;
  }

  .jp-partner-card__media {
    min-height: 100px;
  }

  .jp-partner-card__body {
    padding: 0 12px 12px;
  }

  .jp-vipmodal {
    padding: 12px;
  }

  .jp-vipmodal-dialog {
    width: min(100vw - 12px, 100%);
    border-radius: 24px;
    max-height: calc(100vh - 24px);
  }

  .jp-vipmodal-close {
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    font-size: 30px;
  }

  .jp-vipmodal-copy h3 {
    font-size: 40px;
  }

  .jp-vipmodal-company {
    font-size: 22px;
  }

  .jp-vipmodal-desc {
    font-size: 16px;
  }

  .jp-vipmodal-apply {
    width: 100%;
  }
}

/* Toggle-Button: auf Desktop versteckt, Extra-Filter immer sichtbar */
.jp-filter-mobiletoggle { display: none; }
.jp-filter-extra { display: contents; }
/* Mobile-Sheet-Wrapper auf Desktop unsichtbar machen */
.jp-sf      { display: contents; }
.jp-sf-lbl  { display: none; }
.jp-sf-row  { display: contents; }

@media (max-width: 768px) {
  .jp-filter-mobiletoggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--jp-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .jp-filter-extra {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .jp-filter-extra.is-open {
    display: flex;
  }

  .jp-filter-extra .jp-input,
  .jp-filter-extra .jp-toggle {
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  #f_title,
  #f_kw {
    flex: 1 1 100%;
    max-width: none;
  }
  #f_country,
  #f_region,
  #f_postal,
  #f_radius {
    flex: 1 1 100%;
    max-width: none;
  }

  .jp-item-head {
    align-items: flex-start;
  }

  .jp-thumb {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .jp-submeta .jp-pg,
  .jp-vbtn {
    min-width: 40px;
    height: 40px;
    font-size: 16px;
  }
}


/* === VIP card cleanup override === */
.jp-sidebox-slot1{
  padding:14px !important;
  border-radius:28px !important;
  background:linear-gradient(180deg,#071427 0%,#0a1c34 100%) !important;
  border:1px solid rgba(255,210,90,.28) !important;
  box-shadow:0 18px 42px rgba(2,8,23,.22) !important;
}

.jp-sidehead--vip{
  margin-bottom:14px !important;
  align-items:flex-start !important;
}

.jp-sidehead--vip h2{
  font-size:48px !important;
  line-height:.9 !important;
  letter-spacing:-.05em !important;
}

.jp-sidehead--vip p{
  max-width:none !important;
  font-size:13px !important;
  color:rgba(255,255,255,.78) !important;
}

.jp-vipstream,
.jp-vipstream-window,
.jp-vipstream-track{
  height:auto !important;
  min-height:0 !important;
}

.jp-vipstream-window{
  overflow:hidden !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)) !important;
}

/* ================================================================
   MOBILE-OPTIMIERUNG – Bottom-Sheet Filter (August 2026)
   ================================================================ */

.jp-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.38);
  z-index: 19;
}
.jp-sheet-backdrop.is-open {
  display: block;
  z-index: 31; /* über Footer (30), unter Filterbar+Sheet (40) */
}
/* Filterbar beim Sheet-Open über Footer heben */
body.jp-sheet-open .jp-filterbar {
  z-index: 40;
}

/* Filter-Icon auf Desktop versteckt; Label + Icon-Sichtbarkeit */
.jp-filter-icon { display: none; }
.jp-filter-lbl  { display: inline; }
/* Aktiver Filter: grüner Punkt oben rechts am Icon-Button */
.jp-filter-mobiletoggle.jp-filter-active .jp-filter-icon {
  color: var(--jp-success, #10b981);
}

@media (max-width: 768px) {

  /* ── Zeile 1: beide Inputs (Titel + In-Text) nebeneinander ─────── */
  .jp-filter-inner > .jp-fieldwrap {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .jp-filter-inner > .jp-fieldwrap .jp-input {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* Direkten #f_title/#f_kw nur falls noch kein jp-fieldwrap-Wrapper vorhanden */
  #f_title, #f_kw {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* ── Zeile 2: Filter-Icon | Submeta | Suchen | Leeren ───────────── */

  /* Filter-Toggle: Icon-Button quadratisch */
  .jp-filter-mobiletoggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
    min-width: 0 !important;
  }
  .jp-filter-lbl { display: none !important; }
  .jp-filter-icon { display: block !important; }

  /* Submeta: füllt den Rest der Zeile */
  .jp-submeta {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  /* View-Toggle ausblenden */
  .jp-viewtoggle { display: none !important; }

  /* Erste/Letzte Seite ausblenden */
  .jp-pg--edge { display: none !important; }

  /* Zählertext kompakt */
  .jp-total {
    font-size: 12px !important;
    white-space: nowrap !important;
    color: var(--jp-muted, #64748b) !important;
    flex-shrink: 1 !important;
  }
  /* Seitentext: kurze Form via CSS content trick */
  .jp-page {
    font-size: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .jp-page::before {
    font-size: 12px;
    color: var(--jp-muted, #64748b);
    content: attr(data-short);
  }

  /* Paginierung: 38px Tap-Targets */
  .jp-submeta .jp-pg {
    flex: 0 0 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
  }

  /* Such- und Reset-Buttons: quadratisch, SVG */
  .jp-btn.jp-search,
  .jp-btn.jp-reset {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }
  .jp-btn.jp-search svg,
  .jp-btn.jp-reset svg { pointer-events: none; }

  /* ── Bottom-Sheet ──────────────────────────────────────────────── */

  .jp-filter-extra {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 400 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    background: #fff !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0 20px 20px !important;
    box-shadow: 0 -4px 32px rgba(2, 8, 23, 0.14) !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    transform: translateY(110%);
    transition: transform 0.30s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .jp-filter-extra.is-open {
    transform: translateY(0) !important;
  }

  /* Sheet-Griff */
  .jp-sheet-handle {
    width: 40px; height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 12px auto 4px;
    flex-shrink: 0;
    align-self: center;
  }

  /* Sheet-Header */
  .jp-sheet-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 0 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
  }
  .jp-sheet-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    flex: 0 0 auto;
  }
  .jp-sheet-close {
    flex: 0 0 32px !important;
    width: 32px !important; height: 32px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: pointer !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  /* ── Sheet-Feldgruppen (Label + Input) ─────────────────────────── */
  .jp-sf {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .jp-sf-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #94a3b8;
    padding-left: 2px;
  }
  .jp-sf-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* PLZ-Wrapper füllt den Rest */
  .jp-sf-row > .jp-fieldwrap {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 0% !important;
    box-sizing: border-box !important;
    display: flex !important;
  }
  .jp-sf-row > .jp-fieldwrap > .jp-input {
    width: 100% !important;
    min-width: 0 !important;
  }
  /* Umkreis: feste 110px, kein Überlauf */
  #f_radius {
    flex: 0 0 110px !important;
    width: 110px !important;
    max-width: 110px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .jp-input--sm {
    padding-left: 10px !important;
    padding-right: 34px !important;
  }

  /* ── Sheet-Felder: einheitliches weißes Design ─────────────────── */
  .jp-filter-extra .jp-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    height: 52px !important;
    padding: 0 16px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #1e293b !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    line-height: normal !important;
  }
  .jp-filter-extra .jp-input:focus {
    outline: none !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
  }

  /* Selects: Custom-Chevron */
  .jp-filter-extra select.jp-input {
    padding-right: 44px !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
  }

  /* Direktsuche-Toggle: jetzt im Sheet-Header */
  .jp-sheet-header .jp-toggle {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
    padding: 0 !important;
    user-select: none !important;
  }
  /* Fallback falls JS-Move noch nicht lief */
  .jp-filter-extra > .jp-toggle {
    display: none !important;
  }

  /* Suchen-Button sticky am Boden */
  .jp-sheet-apply {
    position: sticky !important;
    bottom: 0 !important;
    display: block !important;
    margin: 8px -20px -20px !important;
    padding: 0 20px !important;
    min-height: 56px !important;
    height: auto !important;
    line-height: 56px !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: var(--jp-success, #10b981) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    text-align: center !important;
  }
}

/* Section tint (portal layout: sidebar) */
.jp-sidebar{ background: rgba(16,185,129,.04); border-radius: 18px; padding: 4px; }

.jp-vipstream-track{
  position:relative !important;
  min-height:320px !important;
}

.jp-vipstream-item{
  position:absolute !important;
  inset:0 !important;
  margin:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(10px) !important;
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease !important;
}

.jp-vipstream-item.is-active{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
}

.jp-vipstream-card,
.jp-vipstream-card--job{
  width:100% !important;
  height:100% !important;
}

.jp-vipstream-card--job{
  padding:18px !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,rgba(14,33,63,.98),rgba(7,21,40,.98)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 14px 34px rgba(0,0,0,.22) !important;
}

.jp-vipstream-card::after,
.jp-vipstream-card--job::before{
  display:none !important;
}

.jp-vipstream-card-top{
  margin-bottom:16px !important;
}

.jp-vipstream-tag{
  min-height:24px !important;
  padding:0 10px !important;
  font-size:10px !important;
  letter-spacing:.12em !important;
}

.jp-vipstream-miniindex{
  display:none !important;
}

.jp-vipstream-card-body{
  grid-template-columns:84px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:start !important;
}

.jp-vipstream-media{
  height:84px !important;
  border-radius:18px !important;
  padding:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}

.jp-vipstream-copy h3{
  margin:0 0 10px !important;
  font-size:26px !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
}

.jp-vipstream-meta{
  gap:8px !important;
  margin-bottom:10px !important;
}

.jp-vipstream-meta span{
  min-height:26px !important;
  padding:0 10px !important;
  font-size:12px !important;
  background:rgba(255,255,255,.08) !important;
}

.jp-vipstream-copy p{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  -webkit-line-clamp:3 !important;
}

.jp-vipstream-card-bottom{
  margin-top:18px !important;
}

.jp-vipstream-cta{
  font-size:13px !important;
}

@media (max-width:1180px){
  .jp-vipstream-track{min-height:300px !important;}
}

@media (max-width:860px){
  .jp-sidehead--vip h2{font-size:42px !important;}
  .jp-vipstream-track{min-height:280px !important;}
  .jp-vipstream-card--job{padding:16px !important;}
  .jp-vipstream-card-body{grid-template-columns:72px minmax(0,1fr) !important;gap:12px !important;}
  .jp-vipstream-media{height:72px !important;border-radius:16px !important;}
  .jp-vipstream-copy h3{font-size:22px !important;}
  .jp-vipstream-copy p{-webkit-line-clamp:3 !important;font-size:13px !important;}
  .jp-vipstream-meta span{width:auto !important;}
  .jp-vipstream-cta{width:100% !important;}
}


/* === VIP list mode: show all shuffled jobs without empty space === */
.jp-vipstream[data-vipstream-mode="list"],
.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-window,
.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-track{
  height:auto !important;
  min-height:0 !important;
}

.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-window{
  overflow:visible !important;
  background:transparent !important;
}

.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-track{
  display:grid !important;
  gap:14px !important;
}

.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-item,
.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-item.is-active{
  position:relative !important;
  inset:auto !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
}

.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-card,
.jp-vipstream[data-vipstream-mode="list"] .jp-vipstream-card--job{
  height:auto !important;
}

/* =========================
   COMPANY BANNER (Slot 2)
   ========================= */

.jp-sidebox-slot2 {
  overflow: hidden;
}

.jp-co-banner {
  margin: 8px -12px -12px;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 0;
}

.jp-co-banner__viewport {
  height: 100%;
  overflow: hidden;
}

.jp-co-banner__track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 12px;
}

.jp-co-banner__track.is-ready {
  animation: jp-co-scroll var(--jp-banner-dur, 30s) linear infinite;
}

.jp-co-banner:hover .jp-co-banner__track {
  animation-play-state: paused;
}

@keyframes jp-co-scroll {
  to { transform: translateY(var(--jp-banner-shift, -50%)); }
}

.mix-card {
  position: relative;
  flex: 0 0 110px;
  width: 100%;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .20);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
  background: #07142f;
}

.mix-card__media,
.mix-card__overlay,
.mix-card__content {
  position: absolute;
  inset: 0;
}

.mix-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mix-card--company .mix-card__media{ background:#f8fafc; }
.mix-card--company .mix-card__media img{ object-fit:contain; padding:8px; }

.mix-card__noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 900;
  color: rgba(255, 255, 255, .78);
  background: radial-gradient(circle at 35% 35%, rgba(27, 79, 255, .35), rgba(7, 20, 47, 1) 65%);
}

.mix-card__overlay {
  background: linear-gradient(180deg, rgba(8,16,38,.04) 0%, rgba(8,16,38,.22) 40%, rgba(8,16,38,.82) 100%);
}

.mix-card__content {
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  color: #fff;
}

.mix-card__initial {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: #1b2238;
  font-weight: 900;
  font-size: 12px;
}

.mix-card__text {
  min-width: 0;
}

.mix-card__name {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mix-card__meta {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  opacity: .95;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.2;
}

.mix-card__sub {
  font-size: 10px;
  opacity: .82;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.2;
  margin-top: 1px;
}

.jp-pb-card {
  flex: 0 0 118px;
  height: 118px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.jp-pb-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
}

/* Apply-Popup über VIP-Modal (z-index 9999) */
.jp-applymodal {
  z-index: 10000 !important;
}
