/*
Theme Name: Pflegero Custom
Theme URI: https://pflegero.de
Author: Pflegero
Description: Eigenes schlankes Theme für Pflegero im modernen Card-/Sidebar-Design, ohne Elementor/Superio-Overhead.
Version: 2.5
Text Domain: pflegero-custom
*/

:root {
  --color-primary: #4338ca;
  --color-primary-dark: #3730a3;
  --color-primary-mid: #4f46e5;
  --color-primary-light: #e0e7ff;
  --color-primary-xlight: #f0f3ff;
  --color-accent: #e23b6d;
  --color-gold: #f59e0b;
  --color-success: #059669;
  --color-text: #0f172a;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --max-width: 1280px;
  --radius: 14px;
  --radius-sm: 9px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-card: 0 1px 4px rgba(15,23,42,.06), 0 0 0 1px rgba(15,23,42,.04);
  --shadow-card-hover: 0 10px 30px rgba(67,56,202,.14), 0 0 0 1px rgba(67,56,202,.1);
  --shadow-hero: 0 24px 64px rgba(67,56,202,.3);
  --sidebar-top: 86px;
}

* { box-sizing: border-box; }
body, button, input, select, textarea { font-family: var(--font-base); }
body { margin: 0; color: var(--color-text); background: var(--color-bg); line-height: 1.5; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.pflegero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79,70,229,.35);
  letter-spacing: -.01em;
}
.btn:hover {
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(67,56,202,.45);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 9px; box-shadow: 0 2px 8px rgba(79,70,229,.28); }

/* Navbar-CSS lebt komplett in header.php — hier nichts mehr */

/* SVG icon sizing (global, nicht nur Header) */
svg.icon {
  width: 1em; height: 1em; flex-shrink: 0;
  display: inline-block; vertical-align: middle;
}

/* Font */
body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========================================================
   PAGE HEADING (legacy)
   ======================================================== */
.page-heading { font-size: 32px; margin: 32px 0 24px; }

/* ========================================================
   JOB PAGE LAYOUT
   ======================================================== */
.job-page-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

@media (max-width: 900px) { .job-page-layout { grid-template-columns: 1fr; } }

.sja-layout {
  display: grid;
  grid-template-columns: 282px 1fr;
  gap: 22px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 60px;
}
@media (max-width: 900px) { .sja-layout { grid-template-columns: 1fr; } }
.city-layout { padding-top: 28px; }

/* ========================================================
   SIDEBAR — sticky on scroll
   ======================================================== */
/* Old combined sidebar (city-sidebar, job-sidebar still use single-box style) */
.job-sidebar, .city-sidebar {
  background: #fff;
  border: 1.5px solid #d8d3f5;
  border-radius: var(--radius);
  padding: 0;
  align-self: start;
  position: sticky;
  top: var(--sidebar-top);
  max-height: calc(100vh - var(--sidebar-top) - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d8d3f5 transparent;
  box-shadow: 0 2px 12px rgba(91,76,232,.07);
}
.job-sidebar::-webkit-scrollbar { width: 4px; }
.job-sidebar::-webkit-scrollbar-thumb { background: #d8d3f5; border-radius: 4px; }

/* NEW sja-sidebar: sticky flex column, cards inside */
.sja-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: var(--sidebar-top);
  align-self: start;
}
@media (max-width: 900px) { .sja-sidebar { position: static; } }

/* Sidebar form area */
.job-sidebar form,
.sja-sidebar form,
.city-sidebar form { padding: 20px; }

.job-sidebar h2 { font-size: 17px; margin: 0 0 18px; padding: 20px 20px 0; }

.filter-group { margin-bottom: 18px; }

.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.filter-group input[type="text"],
.filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
}
.filter-group input[type="text"]:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--color-primary-mid);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
  background: #fff;
}

.filter-group-icon-wrap { position: relative; }
.filter-group-icon-wrap input[type="text"],
.filter-group-icon-wrap select { padding-left: 38px; }
.filter-group-icon-wrap .filter-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); font-size: 15px; pointer-events: none; z-index: 1;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  margin-top: 4px;
}

.filter-range-value {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.filter-actions .btn { width: 100%; font-size: 14px; padding: 12px; border-radius: 9px; }
.filter-actions .reset-link { text-align: center; font-size: 13px; color: var(--color-text-light); }
.filter-actions .reset-link:hover { color: var(--color-accent); }

/* ========================================================
   SIDEBAR CONTACT BOX
   ======================================================== */
.sidebar-contact-box {
  margin: 0;
  padding: 18px 20px;
  border-top: 1.5px solid var(--color-border);
  background: var(--color-primary-xlight);
}

.sidebar-contact-box h3 {
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--color-primary); margin: 0 0 4px;
}

.sidebar-contact-box > p { font-size: 13px; color: var(--color-text-light); margin: 0 0 12px; }

.sidebar-contact-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sidebar-contact-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.sidebar-contact-list .sidebar-contact-icon { font-size: 15px; flex-shrink: 0; }
.sidebar-contact-list a { color: var(--color-text); font-weight: 600; }
.sidebar-contact-list a:hover { color: var(--color-primary); }

.sidebar-contact-hours-heading {
  font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--color-primary); margin: 0 0 8px;
}

.sidebar-contact-hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-contact-hours li { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-light); }
.sidebar-contact-hours li span:last-child { color: var(--color-text); font-weight: 600; }

/* ========================================================
   RESULTS BAR
   ======================================================== */
.results-bar, .city-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--color-primary-xlight) 0%, #fff 100%);
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--radius-sm);
}

.city-results-bar__left { font-size: 14px; color: var(--color-text-light); }
.city-results-bar__left strong { color: var(--color-primary); font-size: 18px; margin-right: 4px; }
.city-results-bar__filtered { color: var(--color-primary-mid); font-size: 12px; margin-left: 6px; }
.city-results-bar__reset { font-size: 13px; color: var(--color-accent); font-weight: 700; }
.city-results-bar__reset:hover { text-decoration: underline; }

/* ========================================================
   JOB LISTINGS
   ======================================================== */
.job-listings, .city-job-listings { display: flex; flex-direction: column; gap: 10px; }

/* Legacy card */
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: all .2s ease;
}
.job-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); border-color: var(--color-primary-light); }
.job-card__main { flex: 1; min-width: 0; }
.job-card__title { margin: 0 0 8px; font-size: 17px; line-height: 1.35; }
.job-card__title a { color: var(--color-text); }
.job-card__title a:hover { color: var(--color-primary); text-decoration: none; }
.job-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--color-text-light); }
.job-card__meta-item { display: inline-flex; align-items: center; gap: 4px; }
.job-card__type {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: 12px;
}
.job-card__cta { flex-shrink: 0; }

@media (max-width: 600px) {
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card__cta { width: 100%; }
  .job-card__cta .btn { width: 100%; }
}

/* ========================================================
   CITY JOB CARD — rich colour version
   ======================================================== */
.city-job-card {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all .2s ease;
  padding: 0;
}

.city-job-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--color-primary-mid);
}

/* Bold indigo left strip */
.city-job-card__accent {
  width: 5px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #6366f1 0%, #4338ca 50%, #3730a3 100%);
}

.city-job-card__body {
  flex: 1;
  min-width: 0;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.city-job-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.city-job-card__types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 5px; }

.city-job-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.city-job-card__title a { color: var(--color-text); }
.city-job-card__title a:hover { color: var(--color-primary); text-decoration: none; }

/* Freshness badge */
.city-job-card__freshness {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.city-job-card__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--color-text-light); }
.city-job-card__meta-item { display: inline-flex; align-items: center; gap: 5px; }
.city-job-card__meta-icon { font-size: 13px; }

/* CTA column */
.city-job-card__cta {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  flex-shrink: 0;
  border-left: 1px solid var(--color-border);
  background: var(--color-primary-xlight);
}

@media (max-width: 640px) {
  .city-job-card__accent { width: 100%; height: 5px; }
  .city-job-card { flex-wrap: wrap; }
  .city-job-card__body { padding: 14px 16px; }
  .city-job-card__cta { width: 100%; padding: 12px 16px; border-left: none; border-top: 1px solid var(--color-border); }
  .city-job-card__cta .btn { width: 100%; justify-content: center; }
  .city-job-card__top { flex-direction: column-reverse; }
}

/* ========================================================
   NOTICE / ALERT
   ======================================================== */
.sja-notice { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.sja-notice--warn { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; }

/* ========================================================
   EMPTY STATE
   ======================================================== */
.city-empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--color-primary-xlight);
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--radius);
}
.city-empty-state__icon { font-size: 48px; margin-bottom: 16px; display: block; }
.city-empty-state h2 { font-size: 22px; margin: 0 0 10px; color: var(--color-primary-dark); }
.city-empty-state p { color: var(--color-text-light); font-size: 15px; max-width: 400px; margin: 0 auto 24px; }

/* ========================================================
   PAGINATION
   ======================================================== */
.pflegero-pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }

.pflegero-pagination a,
.pflegero-pagination span {
  padding: 9px 15px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text); font-size: 14px;
  transition: all .15s;
}

.pflegero-pagination a:hover {
  background: var(--color-primary-light); border-color: var(--color-primary);
  color: var(--color-primary); text-decoration: none;
}

.pflegero-pagination .current {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff; border-color: transparent; font-weight: 700;
  box-shadow: 0 2px 8px rgba(79,70,229,.35);
}

/* ========================================================
   STELLENANZEIGEN HERO (main page)
   ======================================================== */
.sja-hero {
  background: linear-gradient(140deg, #1e1b4b 0%, #2d2a7c 30%, #3730a3 60%, #4f46e5 85%, #6366f1 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.sja-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 75% -100px, rgba(139,92,246,.5) 0%, transparent 60%),
    radial-gradient(ellipse 600px 700px at -100px 110%, rgba(99,102,241,.4) 0%, transparent 55%),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(255,255,255,.04) 0%, transparent 100%);
  pointer-events: none;
}

.sja-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}

.sja-hero .pflegero-container { position: relative; }

.sja-hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }

.sja-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px; padding: 7px 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.sja-hero__title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.sja-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  margin: 0 auto 40px;
  max-width: 560px;
  line-height: 1.65;
}

/* Hero search */
.sja-hero__search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 8px 8px 8px 6px;
  box-shadow: var(--shadow-hero), 0 0 0 1px rgba(255,255,255,.3);
  gap: 0;
}

.sja-hero__search-field {
  flex: 1 1 180px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; min-width: 0;
}

.sja-hero__search-field--radius {
  flex: 0 1 190px;
  flex-direction: column; align-items: flex-start;
  gap: 2px; padding: 5px 16px;
}

.sja-hero__search-icon { font-size: 18px; flex-shrink: 0; }

.sja-hero__search input[type="text"] {
  border: none; outline: none; font-size: 15px;
  color: var(--color-text); background: transparent;
  width: 100%; min-width: 0; font-weight: 500;
}
.sja-hero__search input[type="text"]::placeholder { color: #94a3b8; }

.sja-hero__search input[type="range"] { width: 100%; accent-color: var(--color-primary); margin: 0; }

.sja-hero__radius-label { font-size: 12px; font-weight: 700; color: var(--color-primary); }

.sja-hero__search-divider {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, var(--color-border), transparent);
  flex-shrink: 0;
}

.sja-hero__search-btn {
  flex-shrink: 0;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  white-space: nowrap;
}

/* Hero stats */
.sja-hero__stats {
  display: flex; justify-content: center; gap: 0; margin-top: 44px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 0; overflow: hidden; backdrop-filter: blur(4px);
}

.sja-stat {
  flex: 1;
  text-align: center;
  padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.sja-stat:last-child { border-right: none; }

.sja-stat__num { display: block; font-size: 26px; font-weight: 900; color: var(--color-gold); letter-spacing: -.02em; }
.sja-stat__lbl { display: block; font-size: 12px; color: rgba(255,255,255,.65); margin-top: 3px; font-weight: 500; }

@media (max-width: 700px) {
  .sja-hero { padding: 52px 0 44px; }
  .sja-hero__search { flex-direction: column; border-radius: 14px; padding: 10px; gap: 4px; }
  .sja-hero__search-field { flex: unset; width: 100%; padding: 9px 12px; border-bottom: 1px solid var(--color-border); }
  .sja-hero__search-field:last-of-type,
  .sja-hero__search-field--radius:last-of-type { border-bottom: none; }
  .sja-hero__search-divider { display: none; }
  .sja-hero__search-btn { width: 100%; margin-top: 6px; }
  .sja-hero__stats { flex-direction: column; }
  .sja-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .sja-stat:last-child { border-bottom: none; }
  .sja-stat__num { font-size: 22px; }
}

/* ========================================================
   SJA COLOR TOKENS
   ======================================================== */
:root {
  --sja-accent:    #5b4ce8;
  --sja-accent-d:  #1e1466;
  --sja-accent-2:  #2dc4f0;
  --sja-bg:        #f0eeff;
  --sja-surface:   #ffffff;
  --sja-surface-2: #f5f2ff;
  --sja-tag-bg:    #eceaff;
  --sja-tag-fg:    #5b4ce8;
  --sja-text:      #120e2e;
  --sja-text-2:    #5a5480;
  --sja-text-3:    #9b96bc;
  --sja-border:    #d8d3f5;
  --sja-input-bg:  #f9f8ff;
}

/* ========================================================
   SJA WRAP + PAGE HEADING
   ======================================================== */
.sja-wrap { background: var(--sja-bg); }

.sja-top {
  padding-top: 40px;
  padding-bottom: 28px;
}

.sja-main-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--sja-text);
  margin: 0 0 8px;
  line-height: 1.1;
}

.sja-main-sub {
  font-size: 15px;
  color: var(--sja-text-2);
  margin: 0;
}

@media (max-width: 640px) {
  .sja-main-title { font-size: 28px; }
  .sja-top { padding-top: 28px; padding-bottom: 20px; }
}

/* ========================================================
   SJA FILTER CARD
   ======================================================== */
.sja-filter-card {
  background: var(--sja-surface);
  border: 1px solid var(--sja-border);
  border-radius: 14px;
  padding: 22px 22px 24px;
}

.sja-filter-card__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sja-text);
  padding-left: 13px;
  border-left: 3.5px solid var(--sja-accent);
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

/* ── Form fields ── */
.sja-form { }

.sja-field { margin-bottom: 15px; }
.sja-field:last-of-type { margin-bottom: 0; }

.sja-field__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sja-text-3);
  margin-bottom: 6px;
}

/* Input with icon */
.sja-input-wrap { position: relative; }

.sja-input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--sja-text-3);
  pointer-events: none;
}

.sja-input {
  width: 100%;
  padding: 9px 10px 9px 30px;
  border: 1px solid var(--sja-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--sja-input-bg);
  color: var(--sja-text);
  outline: none;
  transition: border-color .15s;
}
.sja-input:focus { border-color: var(--sja-accent); box-shadow: 0 0 0 3px rgba(91,76,232,.12); }
.sja-input::placeholder { color: var(--sja-text-3); }

/* Radius slider */
.sja-radius-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.sja-radius-row span { font-size: 12px; color: var(--sja-text-2); }
.sja-radius-row strong { font-size: 13px; font-weight: 700; color: var(--sja-text); }

.sja-range {
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
  background: linear-gradient(to right, var(--sja-accent) 50%, var(--sja-border) 50%);
  outline: none;
  cursor: pointer;
}
.sja-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sja-accent);
  border: 3px solid var(--sja-surface);
  box-shadow: 0 1px 6px rgba(91,76,232,.35);
  cursor: pointer;
}
.sja-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sja-accent);
  border: 3px solid var(--sja-surface);
  box-shadow: 0 1px 6px rgba(91,76,232,.35);
  cursor: pointer;
  border: none;
}

/* Select with icon */
.sja-select-wrap { position: relative; }

.sja-select-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--sja-text-3);
  pointer-events: none;
}

.sja-select-arrow {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--sja-text-3);
  pointer-events: none;
}

.sja-select {
  width: 100%;
  padding: 9px 28px 9px 30px;
  border: 1px solid var(--sja-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--sja-input-bg);
  color: var(--sja-text-2);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .15s;
}
.sja-select:focus { border-color: var(--sja-accent); box-shadow: 0 0 0 3px rgba(91,76,232,.12); }

/* Submit button */
.sja-btn-filter {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  background: var(--sja-accent-d);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .01em;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
  text-align: center;
}
.sja-btn-filter:hover { opacity: .88; color: #fff; text-decoration: none; }
.sja-btn-filter:active { transform: scale(.98); }

.sja-form__actions { }

.sja-reset-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--sja-text-3);
  text-decoration: none;
}
.sja-reset-link:hover { color: var(--sja-accent); text-decoration: underline; }

/* ========================================================
   SJA CONTACT CARD
   ======================================================== */
.sja-contact-card {
  background: var(--sja-surface);
  border: 1px solid var(--sja-border);
  border-radius: 14px;
  padding: 18px 20px 20px;
}

.sja-contact-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sja-text);
  line-height: 1.45;
  margin: 0 0 3px;
}

.sja-contact-card__sub {
  font-size: 12px;
  color: var(--sja-text-2);
  margin: 0 0 14px;
}

.sja-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sja-border);
  font-size: 12.5px;
  color: var(--sja-accent);
  font-weight: 500;
  text-decoration: none;
}
.sja-contact-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.sja-contact-item svg { flex-shrink: 0; color: var(--sja-text-3); }
.sja-contact-item:hover { color: var(--sja-accent-d); text-decoration: underline; }

.sja-contact-hours {
  margin-top: 14px;
  border-top: 1px solid var(--sja-border);
  padding-top: 14px;
}

.sja-contact-hours__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sja-text-3);
  margin-bottom: 8px;
}

.sja-contact-hours__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--sja-text-2);
  margin-bottom: 4px;
}
.sja-contact-hours__row:last-child { margin-bottom: 0; }

/* ========================================================
   SJA RESULTS AREA
   ======================================================== */
.sja-results { display: flex; flex-direction: column; gap: 11px; }

.sja-result-bar {
  background: var(--sja-surface);
  border: 1px solid var(--sja-border);
  border-radius: 10px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sja-result-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sja-text-2);
}
.sja-result-bar__left strong { color: var(--sja-text); }

.sja-result-bar__check { color: var(--sja-accent); flex-shrink: 0; }

.sja-result-bar__reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--sja-text-3);
  text-decoration: none;
}
.sja-result-bar__reset:hover { color: var(--sja-accent); text-decoration: underline; }

/* ========================================================
   SJA JOB CARD
   ======================================================== */
.sja-listings { display: flex; flex-direction: column; gap: 10px; }

.sja-card {
  background: var(--sja-surface);
  border: 1px solid var(--sja-border);
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}

.sja-card:hover {
  border-color: var(--sja-accent-2);
  box-shadow: 0 2px 12px rgba(45,196,240,.10);
}

.sja-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.sja-card__main { flex: 1; min-width: 0; }

/* Title FIRST */
.sja-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sja-text);
  line-height: 1.42;
  margin: 0 0 9px;
  text-wrap: balance;
  letter-spacing: -.01em;
}
.sja-card__title a { color: var(--sja-text); text-decoration: none; }
.sja-card__title a:hover { color: var(--sja-accent); text-decoration: none; }

/* Meta row: date + location with SVG icons */
.sja-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-bottom: 10px;
}

.sja-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--sja-text-2);
}
.sja-meta-item svg { flex-shrink: 0; color: var(--sja-text-3); }

/* Job type tags */
.sja-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.sja-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--sja-tag-bg);
  color: var(--sja-tag-fg);
  letter-spacing: .01em;
}

/* CTA */
.sja-card__cta { flex-shrink: 0; }

.sja-apply-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 19px;
  background: var(--sja-accent-d);
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  letter-spacing: .01em;
}
.sja-apply-btn:hover { opacity: .85; color: #fff; text-decoration: none; }
.sja-apply-btn:active { transform: scale(.97); }

@media (max-width: 640px) {
  .sja-card__body { flex-wrap: wrap; padding: 16px; gap: 14px; }
  .sja-apply-btn { width: 100%; justify-content: center; }
}

/* ========================================================
   SJA PAGINATION
   ======================================================== */
.sja-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.sja-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--sja-border);
  background: var(--sja-surface);
  color: var(--sja-text-2);
  text-decoration: none;
  transition: all .15s;
}
.sja-page:hover { border-color: var(--sja-accent); color: var(--sja-accent); text-decoration: none; }
.sja-page.current { background: var(--sja-accent); color: #fff; border-color: var(--sja-accent); }

/* ========================================================
   SJA EMPTY STATE
   ======================================================== */
.sja-empty {
  text-align: center;
  padding: 64px 24px;
  background: #f5f2ff;
  border: 1.5px solid var(--sja-border);
  border-radius: 14px;
}

.sja-empty__icon { font-size: 48px; margin-bottom: 16px; display: block; }
.sja-empty h2 { font-size: 22px; margin: 0 0 10px; color: var(--sja-accent-d); }
.sja-empty p { color: var(--sja-text-2); font-size: 15px; max-width: 400px; margin: 0 auto 24px; }

/* ========================================================
   SJA NOTICE
   ======================================================== */
.sja-notice {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
}
.sja-notice--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* ========================================================
   CITY HERO
   ======================================================== */
.city-hero {
  background: linear-gradient(140deg, #1e1b4b 0%, #2d2a7c 30%, #3730a3 60%, #4f46e5 85%, #6366f1 100%);
  color: #fff;
  padding: 52px 0 56px;
  position: relative; overflow: hidden;
}

.city-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 110% 10%, rgba(139,92,246,.45) 0%, transparent 55%),
    radial-gradient(ellipse 500px 600px at -10% 90%, rgba(79,70,229,.35) 0%, transparent 50%);
  pointer-events: none;
}

.city-hero .pflegero-container { position: relative; }

.city-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
  margin-bottom: 28px; flex-wrap: wrap;
}
.city-breadcrumb a { color: rgba(255,255,255,.6); }
.city-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.city-breadcrumb span:last-child { color: rgba(255,255,255,.9); font-weight: 700; }

.city-hero__content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
}

.city-hero__label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 5px 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 16px;
}

.city-hero__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; margin: 0 0 14px; line-height: 1.1; letter-spacing: -.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.city-hero__title span { color: var(--color-gold); }

.city-hero__subtitle {
  font-size: 16px; color: rgba(255,255,255,.78); margin: 0 0 30px;
  max-width: 500px; line-height: 1.65;
}

/* City search in hero */
.city-hero__search {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 14px; padding: 8px 8px 8px 18px;
  gap: 10px; max-width: 500px; backdrop-filter: blur(6px);
}
.city-hero__search-input-wrap { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.city-hero__search-icon { font-size: 16px; flex-shrink: 0; }
.city-hero__search input[type="text"] {
  flex: 1; border: none; background: transparent; color: #fff; font-size: 15px; outline: none; min-width: 0;
}
.city-hero__search input[type="text"]::placeholder { color: rgba(255,255,255,.55); }
.city-hero__search .btn {
  flex-shrink: 0; background: #fff; color: var(--color-primary);
  font-size: 14px; padding: 10px 20px; border-radius: 9px; font-weight: 800;
  box-shadow: none;
}
.city-hero__search .btn:hover { background: var(--color-primary-light); box-shadow: none; transform: none; }

/* City hero stat cards */
.city-hero__stats { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

.city-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px 28px; text-align: center;
  min-width: 160px; backdrop-filter: blur(6px);
}
.city-stat__number { display: block; font-size: 34px; font-weight: 900; color: var(--color-gold); line-height: 1; margin-bottom: 4px; }
.city-stat__label { display: block; font-size: 12px; color: rgba(255,255,255,.68); font-weight: 500; }

@media (max-width: 850px) {
  .city-hero__content { grid-template-columns: 1fr; gap: 28px; }
  .city-hero__stats { flex-direction: row; flex-wrap: wrap; }
  .city-stat { flex: 1 1 130px; padding: 14px 16px; }
  .city-stat__number { font-size: 26px; }
  .city-hero__search { max-width: 100%; }
}

@media (max-width: 480px) {
  .city-hero { padding: 36px 0 40px; }
  .city-hero__search { flex-direction: column; padding: 10px; }
  .city-hero__search input[type="text"] { color: #fff; }
  .city-hero__search .btn { width: 100%; }
}

/* ========================================================
   PILLS BAR
   ======================================================== */
.city-pills-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1.5px solid var(--color-primary-light);
  box-shadow: 0 2px 12px rgba(67,56,202,.1);
  backdrop-filter: blur(10px);
}

.city-pills {
  display: flex; gap: 8px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.city-pills::-webkit-scrollbar { display: none; }

.city-pill {
  display: inline-flex; align-items: center;
  padding: 8px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  text-decoration: none; transition: all .15s ease;
  cursor: pointer; flex-shrink: 0;
}

.city-pill:hover {
  border-color: var(--color-primary); color: var(--color-primary);
  background: var(--color-primary-light); text-decoration: none;
}

.city-pill--active {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 10px rgba(79,70,229,.35);
}
.city-pill--active:hover { background: linear-gradient(135deg, #4338ca, #3730a3); color: #fff; }

/* ========================================================
   CITY INFO BOX
   ======================================================== */
.city-info-box {
  margin: 16px 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-xlight) 100%);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
}

.city-info-box h3 {
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--color-primary-dark); margin: 0 0 8px;
}

.city-info-box p { font-size: 13px; color: var(--color-text-light); margin: 0 0 10px; line-height: 1.55; }
.city-info-box__link { font-size: 13px; font-weight: 700; color: var(--color-primary); }

/* ========================================================
   SINGLE JOB
   ======================================================== */
.job-single-wrap { padding: 32px 0 64px; }
.job-single-layout.has-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.job-single-layout.no-sidebar { display: block; }
.job-single-sidebar { position: sticky; top: 24px; }

.job-sidebar-widget {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.job-sidebar-widget-title { font-size: 17px; margin: 0 0 16px; }
.job-sidebar-widget img, .job-sidebar-widget iframe { max-width: 100%; }

@media (max-width: 900px) {
  .job-single-layout.has-sidebar { grid-template-columns: 1fr; }
  .job-single-sidebar { position: static; }
}

/* ========================================================
   FOOTER — weißes modernes Design (v4)
   ======================================================== */
@media (max-width: 768px) { .site-header { flex-wrap: wrap; } }

.pf-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 56px 0 0;
  color: #334155;
}
.pf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.pf-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 1fr;
  gap: 0 40px;
  align-items: start;
}

/* Logo */
.pf-logo { height: 32px; width: auto; display: block; margin-bottom: 12px; }

/* Tagline */
.pf-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 190px;
}

/* Social icons */
.pf-socials { display: flex; gap: 10px; }
.pf-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.pf-social-link:hover { background: #2563eb; color: #fff; text-decoration: none; }
.pf-social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Nav columns */
.pf-col-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
  margin-top: 0;
}
.pf-col-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pf-col-links a {
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  transition: color .15s;
}
.pf-col-links a:hover { color: #2563eb; text-decoration: none; }

/* Kontakt column */
.pf-contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.pf-ci { display: flex; align-items: flex-start; gap: 10px; }
.pf-ci-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 7px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.pf-ci-icon svg { width: 15px; height: 15px; color: #2563eb; }
.pf-ci-text { display: flex; flex-direction: column; gap: 1px; }
.pf-ci-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pf-ci-value { font-size: 13.5px; color: #334155; font-weight: 500; }
.pf-ci-value a { color: inherit; text-decoration: none; }
.pf-ci-value a:hover { color: #2563eb; }

/* Bottom bar */
.pf-bottom { margin-top: 48px; border-top: 1px solid #e2e8f0; padding: 18px 0; }
.pf-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.pf-copyright { font-size: 13px; color: #94a3b8; }
.pf-bottom-links { display: flex; gap: 20px; }
.pf-bottom-links a {
  font-size: 13px; color: #94a3b8;
  text-decoration: none; transition: color .15s;
}
.pf-bottom-links a:hover { color: #2563eb; text-decoration: none; }

/* Footer responsive */
@media (max-width: 1024px) {
  .pf-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .pf-inner { padding: 0 20px; }
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pf-brand { grid-column: 1 / -1; }
  .pf-tagline { max-width: none; }
  .pf-bottom-inner { flex-direction: column; align-items: flex-start; padding: 0 20px; }
}

/* ========================================================
   MOBILE RESPONSIVE — Logo & Sidebar
   ======================================================== */
/* Logo bleibt auf allen Seiten gleich (52 px, definiert in .logo-img) */
@media (max-width: 640px) {
  .page-heading { font-size: 26px; }
  /* on mobile sidebar is NOT sticky (no room) */
  .job-sidebar, .sja-sidebar, .city-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}
