:root{
  --bg:#f6fbf8;
  --bg2:#edf8f2;
  --card:#ffffff;
  --stroke:rgba(15,84,55,.16);
  --text:#0f172a;
  --muted:#4b5563;
  --green:#14b87a;
  --green-dark:#0f8d5f;
  --shadow:0 20px 42px rgba(13,65,45,.12);
}
*{box-sizing:border-box}
html,body{min-height:100%;height:100%}
body{
  margin:0;
  font-family:"Space Grotesk","Sora",system-ui,Arial;
  color:var(--text);
  background:
    radial-gradient(900px 420px at -8% -12%, rgba(20,184,122,.18), transparent 58%),
    radial-gradient(900px 420px at 108% 0%, rgba(16,185,129,.14), transparent 58%),
    var(--bg);
  background-repeat:no-repeat;
  background-size:cover;
}
.wrap{max-width:1180px;margin:0 auto;padding:20px 20px 26px}
.topbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:16px;
}
.brand-left{display:flex;align-items:center;gap:10px}
.service-tag{font-size:12px;color:var(--muted)}
.service-badge{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid var(--stroke)}
.service-badge img{width:30px;height:30px;object-fit:contain;display:block;filter:brightness(0) saturate(100%) invert(39%) sepia(95%) saturate(463%) hue-rotate(104deg) brightness(96%) contrast(89%)}
.service-badge.has-customer-logo{
  width:150px;
  height:52px;
  border-radius:12px;
  justify-content:flex-start;
  padding:6px 10px;
}
.service-badge img.is-customer-logo{
  width:auto;
  height:100%;
  max-width:130px;
  padding:0;
  filter:none;
}
.lang-switch{
  padding:8px 12px;border-radius:999px;border:1px solid var(--stroke);
  background:#fff;color:#0f5137;font-weight:600;
}
.grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:18px;
}
.job-card{display:grid;gap:14px}
.job-media{
  position:relative;
  border-radius:14px;
  min-height:260px;
  background:linear-gradient(135deg,#e1f8ec,#d6f3e8);
  border:1px solid rgba(15,141,95,.2);
  overflow:hidden;
}
.job-media img{width:100%;height:100%;object-fit:cover;display:block}
.job-media.has-image{background:#f1f5f9}
.job-hero-fallback{
  position:absolute;
  inset:0;
  display:grid;
  align-content:end;
  gap:8px;
  padding:18px;
  background:
    radial-gradient(80% 80% at 12% 10%, rgba(20,184,122,.25), transparent 70%),
    linear-gradient(145deg, #dff6ea 0%, #cbeedc 100%);
}
.job-hero-fallback-company{
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  color:#0f5137;
  text-transform:uppercase;
}
.job-hero-fallback-title{
  font-size:26px;
  line-height:1.15;
  font-weight:700;
  color:#0b3d2a;
  max-width:92%;
}
.job-hero-fallback-meta{
  font-size:13px;
  color:#1f2937;
}
.job-hero-label{
  position:absolute;left:12px;bottom:12px;
  padding:6px 11px;border-radius:999px;
  background:rgba(8,47,32,.72);color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;
}
.job-head h1{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.01em}
.customer-logo{max-height:56px;max-width:220px;object-fit:contain;display:block;margin-bottom:10px}
.job-meta{font-size:15px;color:#1f2937;margin-top:8px}
.job-posting-meta{margin-top:6px;color:#64748b;font-size:13px}
/* ── Detail Section Cards ── */
.detail-sections{display:grid;gap:9px;margin-top:14px;}
.detail-section{border:1px solid rgba(15,84,55,.14);border-radius:13px;overflow:hidden;}
.detail-section-hd{
  display:flex;align-items:center;gap:7px;
  padding:7px 13px;
  background:rgba(20,184,122,.09);
  font-size:10.5px;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;
  color:#0f5137;
  border-bottom:1px solid rgba(15,84,55,.1);
}
.detail-section-bd{padding:10px 12px;}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.jig-item{
  display:flex;align-items:flex-start;gap:9px;
  padding:7px 10px;
  background:rgba(20,184,122,.04);
  border:1px solid rgba(15,84,55,.1);
  border-radius:9px;
}
.jig-icon{flex-shrink:0;font-size:14px;color:#0f8d5f;margin-top:2px;line-height:1;}
.jig-content{display:flex;flex-direction:column;gap:2px;min-width:0}
.jig-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;line-height:1.2;}
.jig-val{font-size:13px;color:#0f172a;font-weight:600;line-height:1.35;word-break:break-word;}

/* ── Requirement Badges (inside Qualifizierung section) ── */
.req-tags{display:flex;flex-wrap:wrap;gap:6px;}
.req-tag-method{
  display:inline-flex;align-items:center;
  padding:5px 12px;
  background:#0f8d5f;color:#fff;
  border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;
}
.req-tag-skill{
  display:inline-flex;align-items:center;
  padding:5px 11px;
  background:rgba(15,84,55,.08);color:#0f5137;
  border:1px solid rgba(15,84,55,.16);
  border-radius:999px;font-size:12px;
}
.req-tag-cert{
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 12px;
  background:rgba(59,130,246,.08);color:#1e40af;
  border:1px solid rgba(59,130,246,.22);
  border-radius:999px;font-size:12px;font-weight:600;
}
.req-tag-cert .bi{font-size:11px;}
.job-description{
  color:#233446;
  line-height:1.63;
  font-size:15px;
  max-width:100%;
  word-wrap:break-word;
}
.job-load-error{
  padding:10px 12px;
  border:1px solid rgba(185,28,28,.2);
  background:rgba(254,242,242,.9);
  color:#991b1b;
  border-radius:12px;
}
.job-description h1,
.job-description h2,
.job-description h3{line-height:1.25;color:#0b3d2a}
.job-description p{margin-top:0;margin-bottom:12px}
.job-description-empty{
  margin:0;
  color:#4b5563;
}
.apply-card h2{margin:0 0 10px;font-size:22px;color:#0f5137}
.stack{display:grid;gap:10px}
.inp,.txt{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(15,84,55,.2);
  background:#fff;
  color:#0f172a;
  outline:none;
}
.inp:focus,.txt:focus{border-color:rgba(15,141,95,.65);box-shadow:0 0 0 3px rgba(20,184,122,.13)}
.txt{min-height:120px;resize:vertical}
.consent-box{
  border:1px solid rgba(15,84,55,.2);
  background:rgba(20,184,122,.06);
  border-radius:12px;
  padding:10px 12px;
}
.consent-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#1f2937;
  font-size:13px;
  line-height:1.45;
}
.consent-row input[type="checkbox"]{
  margin-top:2px;
  width:16px;
  height:16px;
}
.consent-row a{
  color:#0f8d5f;
  text-decoration:underline;
}
.btn{padding:11px 14px;border-radius:12px;border:1px solid transparent;cursor:pointer}
.btn-primary{
  background:linear-gradient(135deg,var(--green),#20c487);
  color:#fff;font-weight:700;
}
.btn-primary:hover{background:linear-gradient(135deg,var(--green-dark),var(--green))}
.service-note{margin-top:18px}
.muted{color:var(--muted);font-size:13px;line-height:1.55}

/* ── Post-Apply Account Registration Modal ─────────────────────────── */
.reg-overlay{
  position:fixed;inset:0;z-index:900;
  background:rgba(7,30,20,.55);
  backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  padding:16px;
  opacity:0;pointer-events:none;
  transition:opacity .22s ease;
}
.reg-overlay.is-visible{opacity:1;pointer-events:auto}
.reg-modal{
  background:#fff;
  border-radius:22px;
  box-shadow:0 32px 72px rgba(8,40,24,.22);
  width:100%;max-width:440px;
  padding:32px 28px 28px;
  transform:translateY(18px) scale(.97);
  transition:transform .25s ease;
  position:relative;
}
.reg-overlay.is-visible .reg-modal{transform:translateY(0) scale(1)}

.reg-modal-close{
  position:absolute;top:14px;right:16px;
  background:none;border:none;cursor:pointer;
  color:#9ca3af;font-size:20px;line-height:1;padding:4px;
  border-radius:6px;
}
.reg-modal-close:hover{background:rgba(0,0,0,.06);color:#374151}

.reg-step{display:none}
.reg-step.is-active{display:block}

/* Erfolgs-Badge oben */
.reg-sent-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(20,184,122,.12);
  border:1px solid rgba(20,184,122,.3);
  color:#0f5137;font-size:13px;font-weight:700;
  padding:5px 12px;border-radius:999px;
  margin-bottom:14px;
}
.reg-sent-badge .bi{font-size:15px}

.reg-modal h3{margin:0 0 4px;font-size:20px;color:#0b3d2a;line-height:1.2}
.reg-modal .reg-sub{color:#4b5563;font-size:14px;margin:0 0 12px;line-height:1.5}

/* Benefits-Liste */
.reg-benefits{
  list-style:none;padding:0;margin:0 0 18px;
  display:grid;gap:7px;
}
.reg-benefits li{
  display:flex;align-items:center;gap:9px;
  font-size:14px;color:#1f2937;line-height:1.3;
}
.reg-benefits li .bi{
  flex-shrink:0;font-size:16px;color:#14b87a;
}
.reg-benefit-cv{font-weight:600;color:#0f5137 !important}


.reg-actions{display:grid;gap:8px;margin-top:6px}
.btn-skip-link{
  background:none;border:none;
  color:#9ca3af;font-size:13px;cursor:pointer;
  padding:6px 0;text-align:center;
  text-decoration:underline;text-underline-offset:2px;
}
.btn-skip-link:hover{color:#4b5563}

/* Step 2 – Verifizierung */
.reg-verify-icon{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,#dcfce7,#d1fae5);
  border:1px solid rgba(20,184,122,.35);
  display:flex;align-items:center;justify-content:center;
  font-size:28px;margin:0 auto 16px;
}
.reg-verify-title{text-align:center;font-size:20px;font-weight:700;color:#0b3d2a;margin:0 0 8px}
.reg-verify-sub{text-align:center;font-size:14px;color:#4b5563;line-height:1.55;margin:0 0 12px}
.reg-verify-email{
  display:block;text-align:center;
  background:rgba(20,184,122,.08);
  border:1px solid rgba(20,184,122,.22);
  border-radius:10px;padding:10px 14px;
  font-weight:700;color:#0f5137;font-size:15px;
  word-break:break-all;margin-bottom:8px;
}
.reg-verify-spam{text-align:center;font-size:12px;color:#9ca3af;margin:0 0 20px}

/* DSGVO auto-profile notice below submit button */
.dsgvo-auto-note{
  margin:8px 0 0;
  font-size:12px;
  color:#6b7280;
  line-height:1.5;
}
.dsgvo-auto-note i{color:#14b87a;margin-right:4px}
.dsgvo-auto-note a{color:#6b7280;text-decoration:underline;text-underline-offset:2px}
.dsgvo-auto-note a:hover{color:#0f172a}

@media (max-width:980px){
  .grid{grid-template-columns:1fr}
  .job-head h1{font-size:24px}
  .job-media{min-height:220px}
}
@media (max-width:540px){
  .detail-grid{grid-template-columns:1fr}
}
@media (max-width:480px){
  .reg-modal{padding:24px 18px 20px}
}
