/* POLITIQ Portal – Karriere & Team-Profil. Baut auf pq-base.css auf. Mobile first. */

.pq-careers { max-width: 1040px; margin: 0 auto; padding: 32px 16px 96px; overflow-wrap: break-word; }
.pq-careers [hidden], .pq-c-profile [hidden] { display: none !important; }
.pq-careers .screen-reader-text, .pq-c-profile .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Kopf */
.pq-c-hero { max-width: 760px; margin: 0 0 40px; }
.pq-c-hero .pq-overline { margin: 0 0 12px; }
.pq-careers .pq-c-display {
  font-size: clamp(32px, 8vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04;
  color: var(--pq-navy); margin: 0 0 18px; text-wrap: balance; -webkit-hyphens: auto; hyphens: auto;
}
.pq-c-lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: #34333a; margin: 0; max-width: 60ch; }

/* Warum POLITIQ */
.pq-c-points { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--pq-line); border-radius: var(--pq-radius-lg); overflow: hidden; box-shadow: var(--pq-shadow); }
.pq-c-points li { background: #fff; padding: 20px; }
.pq-c-num { display: block; font-size: 13px; font-weight: 700; color: var(--pq-blue); letter-spacing: .04em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.pq-careers .pq-c-points .pq-headline { margin: 0 0 4px; }

/* Abschnitte */
.pq-careers .pq-c-section { margin: 0 0 56px; padding: 0; scroll-margin-top: 96px; } /* Theme setzt section-Padding */
.pq-c-section > .pq-title, .pq-c-empty .pq-title { margin: 0 0 8px; }
.pq-c-section > .pq-sub, .pq-c-empty .pq-sub { margin: 0 0 20px; max-width: 60ch; }
.pq-careers h2.pq-title { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.025em; }

/* Stellenkarten */
.pq-c-jobs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.pq-c-job {
  display: grid; gap: 10px; padding: 22px 20px; border-radius: var(--pq-radius-lg); background: #fff; box-shadow: var(--pq-shadow);
  color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform 200ms var(--pq-ease), box-shadow 200ms var(--pq-ease);
}
.pq-c-job:active { transform: scale(0.99); }
.pq-c-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pq-c-job-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--pq-ink); }
.pq-c-job-sum { color: var(--pq-muted); font-size: 16px; line-height: 1.55; }
.pq-c-more { color: var(--pq-blue); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; min-height: 24px; }
.pq-c-more span { display: inline-block; transition: transform 200ms var(--pq-ease); }
@media (hover: hover) and (pointer: fine) {
  .pq-c-job:hover { transform: translateY(-2px); }
  .pq-c-job:hover .pq-c-more span { transform: translateX(3px); }
}

/* Leerzustand */
.pq-c-empty { padding: 4px 0 4px; }

/* Einzelansicht */
.pq-c-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 16px; padding: 0 4px 0 0;
  color: var(--pq-blue); font-weight: 600; font-size: 15px; text-decoration: none;
}
.pq-c-back span { font-size: 22px; line-height: 1; }
.pq-c-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 0 56px; }
.pq-c-prose { font-size: 17px; line-height: 1.65; color: var(--pq-text); max-width: 68ch; }
.pq-c-prose > :first-child { margin-top: 0; }
.pq-c-prose h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 36px 0 12px; color: var(--pq-ink); }
.pq-c-prose h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; margin: 28px 0 10px; color: var(--pq-ink); }
.pq-c-prose p { margin: 0 0 16px; }
.pq-c-prose ul, .pq-c-prose ol { margin: 0 0 18px; padding-left: 1.2em; }
.pq-c-prose li { margin: 0 0 8px; }
.pq-c-prose li::marker { color: var(--pq-blue); }
.pq-c-prose a { color: var(--pq-blue); }
.pq-c-facts { align-self: start; }
.pq-c-facts .pq-headline { margin: 0 0 12px; }
.pq-c-facts dl { margin: 0 0 18px; }
.pq-c-facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--pq-line); }
.pq-c-facts dt { color: var(--pq-muted); font-size: 15px; flex: none; }
.pq-c-facts dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }

/* Formular */
.pq-c-form { padding: 22px 18px; }
.pq-c-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.pq-careers .pq-field > span em, .pq-c-profile .pq-field > span em { font-style: normal; font-weight: 400; color: var(--pq-muted); }
.pq-c-file input[type="file"] {
  width: 100%; min-height: 50px; padding: 8px; border: 1px dashed #c9c7c1; border-radius: 12px; background: var(--pq-fill);
  font: 400 15px/1.4 var(--pq-font); color: var(--pq-muted);
}
.pq-c-file input[type="file"]::file-selector-button {
  min-height: 36px; margin-right: 12px; padding: 6px 14px; border: 0; border-radius: 9px; background: #fff; color: var(--pq-navy);
  font: 600 15px/1.2 var(--pq-font); cursor: pointer; box-shadow: 0 1px 2px rgba(17, 27, 44, .1);
}
.pq-c-checks { display: grid; gap: 4px; margin: 4px 0 20px; }
.pq-careers .pq-check { min-height: 44px; padding: 10px 0; }
.pq-careers .pq-check a { color: var(--pq-blue); }
.pq-c-submit { width: 100%; }
.pq-c-after { margin: 12px 0 0; text-align: center; }

/* Hinweise */
.pq-c-notice { padding: 14px 16px; border-radius: 14px; margin: 0 0 16px; font-weight: 600; font-size: 15px; line-height: 1.5;
  animation: pq-c-fade 350ms var(--pq-ease); }
.pq-c-notice--ok { background: #e3f3e9; color: #15633a; }
.pq-c-notice--error { background: #fdecef; color: #a3192c; }
@keyframes pq-c-fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Team-Profil (Fragebogen) ---------- */
.pq-c-profile { padding: 0 0 24px; overflow-wrap: break-word; }
.pq-c-profile-head { margin: 0 0 20px; }
.pq-c-profile-head .pq-overline { margin: 0 0 6px; }
.pq-c-count { margin: -18px 0 18px; font-variant-numeric: tabular-nums; }
.pq-c-profile fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pq-c-profile legend { padding: 0; display: block; width: 100%; }
.pq-c-profile legend:focus { outline: none; }
.pq-c-profile .pq-options { grid-template-columns: 1fr; }
.pq-c-profile .pq-option span { min-height: 56px; }
.pq-c-limit { margin: 10px 0 0; }
.pq-c-error { margin: 14px 0 0; color: var(--pq-red); font-weight: 600; font-size: 15px; }
.pq-c-counter { margin: -8px 0 0; text-align: right; font-variant-numeric: tabular-nums; }
.pq-c-values span { align-items: flex-start; line-height: 1.45; }
.pq-c-nav-end { display: inline-flex; gap: 8px; margin-left: auto; }
.pq-c-profile .pq-step-nav { flex-wrap: wrap; }

.pq-c-photo { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 8px 0; }
.pq-c-photo-frame { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: var(--pq-navy); display: grid; place-items: center; box-shadow: var(--pq-shadow); }
.pq-c-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.pq-c-photo-initial { color: #fff; font-size: 48px; font-weight: 700; }
.pq-c-photo-btn { position: relative; overflow: hidden; }
.pq-c-photo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.pq-c-photo-btn:focus-within { outline: 2px solid var(--pq-blue); outline-offset: 3px; }

/* Ohne JS: alle Fragen untereinander, nur Absenden */
.pq-c-profile:not(.is-ready) .pq-step { display: block; margin: 0 0 40px; }
.pq-c-profile:not(.is-ready) [data-pq-next], .pq-c-profile:not(.is-ready) .pq-progress, .pq-c-profile:not(.is-ready) [data-pq-count] { display: none !important; }

/* Größere Bildschirme */
@media (min-width: 640px) {
  .pq-careers { padding: 56px 24px 120px; }
  .pq-careers .pq-c-display { -webkit-hyphens: manual; hyphens: manual; }
  .pq-c-points { grid-template-columns: 1fr 1fr; }
  .pq-c-points li { padding: 24px; }
  .pq-c-grid { grid-template-columns: 1fr 1fr; }
  .pq-c-form { padding: 32px; }
  .pq-c-submit { width: auto; min-width: 220px; }
  .pq-c-after { text-align: left; }
  .pq-c-job { padding: 26px 28px; }
  .pq-c-profile .pq-options { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (min-width: 960px) {
  .pq-careers { padding-top: 72px; }
  .pq-c-points { grid-template-columns: repeat(4, 1fr); }
  .pq-c-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .pq-c-facts { position: sticky; top: 96px; }
  .pq-c-apply, .pq-c-initiative { max-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  .pq-c-job, .pq-c-more span, .pq-c-notice { transition: none !important; animation: none !important; }
  .pq-c-job:hover, .pq-c-job:active { transform: none; }
}

/* Benefits */
.pq-c-benefit-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pq-c-benefit-grid li { position: relative; background: #fff; border-radius: 18px; padding: 22px 20px 20px; box-shadow: var(--pq-shadow); }
.pq-c-benefit-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--pq-blue); margin-bottom: 14px; box-shadow: 0 0 0 4px rgba(70,113,159,.15); }
.pq-c-benefit-grid li:nth-child(4n+2) .pq-c-benefit-dot { background: #ef5a9b; box-shadow: 0 0 0 4px rgba(239,90,155,.15); }
.pq-c-benefit-grid li:nth-child(4n+3) .pq-c-benefit-dot { background: #d3ad00; box-shadow: 0 0 0 4px rgba(211,173,0,.15); }
.pq-c-benefit-grid li:nth-child(4n+4) .pq-c-benefit-dot { background: #1f8a4c; box-shadow: 0 0 0 4px rgba(31,138,76,.15); }
.pq-careers .pq-c-benefit-grid .pq-headline { margin: 0 0 6px; }
.pq-c-hiring { margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; background: #fdf6dc; color: #6b5300; font-size: 16px; }

/* Konditionen vor der Unterschrift (nur mit Bewerberkonto) */
.pq-c-terms-card { display: grid; gap: 18px; align-items: center; padding: 24px 20px; border-radius: var(--pq-radius-lg); background: #fff; box-shadow: var(--pq-shadow); }
.pq-careers .pq-c-terms .pq-title { margin: 0 0 8px; }
.pq-c-terms-text .pq-sub { margin: 0; max-width: 60ch; }
.pq-c-terms-cta { display: grid; gap: 8px; justify-items: start; }
.pq-c-terms-cta .pq-caption { margin: 0; color: var(--pq-muted); }
@media (min-width: 760px) {
  .pq-c-terms-card { grid-template-columns: 1fr auto; padding: 28px 32px; gap: 32px; }
  .pq-c-terms-cta { justify-items: end; text-align: right; }
}
