:root{--ink:#172033;--muted:#6c7484;--line:#e5e9f0;--bg:#f4f7fb;--blue:#1769e0;--blue2:#0e55bc;--soft:#edf5ff}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}.shell{min-height:100vh;display:flex;flex-direction:column}header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1160px)/2))}.brand{display:flex;gap:12px;align-items:center}.brand div:last-child{display:flex;flex-direction:column}.brand span{font-size:12px;color:var(--muted)}.mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--blue),#4a91ef);color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px}main{width:min(1160px,calc(100% - 32px));margin:42px auto;flex:1}.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 35px rgba(27,50,86,.06)}.auth{max-width:460px;margin:5vh auto;padding:36px}.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:800;color:var(--blue)}h1{font-size:30px;line-height:1.12;margin:10px 0 12px}h2{margin:0;font-size:20px}.muted,.small{color:var(--muted)}label{display:block;font-size:13px;font-weight:700;margin:17px 0 7px}input,select,textarea{width:100%;border:1px solid #d7ddea;border-radius:11px;padding:12px 13px;font:inherit;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#7db2f5;box-shadow:0 0 0 3px #e7f1ff}.primary,.secondary,.ghost,.link{font:inherit;cursor:pointer}.primary{width:100%;border:0;border-radius:11px;background:var(--blue);color:#fff;padding:13px;font-weight:800;margin-top:18px}.primary:hover{background:var(--blue2)}.secondary{width:100%;border:1px solid var(--line);background:#fff;border-radius:11px;padding:12px;font-weight:700;margin-top:10px}.ghost{border:1px solid var(--line);background:#fff;padding:9px 14px;border-radius:10px}.link{border:0;background:none;color:var(--blue);font-size:13px}.row{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.check{margin:0;font-weight:500}.check input,.areas input{width:auto}.demo{font-size:12px;color:#8a92a1;text-align:center}.hidden{display:none!important}.notice{margin-top:15px;padding:12px;background:var(--soft);border-radius:10px;color:#20518d}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.hero h1{margin-bottom:6px}.hero p{margin:0;color:var(--muted)}.status{background:#eaf4ff;border:1px solid #cce3ff;border-radius:16px;padding:14px 20px;min-width:155px}.status span{font-size:11px;color:#55708f;display:block}.status b{color:var(--blue)}.grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:22px}.profile,.planning{padding:26px}.cardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.pill{font-size:11px;padding:6px 9px;background:#f1f3f6;border-radius:99px;color:#677080}.pill.blue{background:var(--soft);color:var(--blue)}dl{margin:0}dt{font-size:11px;color:#8a92a1;margin-top:16px}dd{margin:3px 0 0;font-weight:650}.small{font-size:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.areas{display:grid;grid-template-columns:1fr 1fr;gap:8px}.areas label{margin:0;border:1px solid var(--line);padding:11px;border-radius:10px;font-weight:600}.cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.saved{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px;color:var(--muted)}.security{margin-top:22px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;gap:16px;align-items:center}.security span{color:var(--muted);font-size:13px}footer{text-align:center;color:#8b93a1;font-size:12px;padding:24px}@media(max-width:760px){main{margin-top:24px}.grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.status{width:100%}.auth{padding:26px}.security{align-items:flex-start;flex-direction:column}.row{align-items:flex-start;gap:12px}.cols{grid-template-columns:1fr}.areas{grid-template-columns:1fr}header{padding:0 16px}}

/* V1.1 — approved login readability refinement */
.auth{max-width:440px;padding:34px 36px;border-radius:16px;box-shadow:0 8px 28px rgba(27,50,86,.05)}
.auth .eyebrow{font-size:11px;letter-spacing:.11em}
.auth h1{font-size:28px;line-height:1.15;margin:10px 0 10px;letter-spacing:-.02em}
.auth .muted{font-size:15px;line-height:1.55;margin:0 0 18px}
.auth label{margin-top:15px}
.auth input{padding:13px 14px;border-radius:10px}
.auth .row{margin-top:12px}
.auth .primary{margin-top:18px}
.auth .secondary{margin-top:9px}
.auth .demo{margin:13px 0 0}
@media(max-width:520px){.auth{padding:28px 22px}.auth h1{font-size:26px}}

/* V1.3 — Personalplanung 2027 and structured staffing */
.need-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:4px 0 10px}.section-label{margin:0;font-size:14px}.field-help{margin:5px 0 0;color:var(--muted);font-size:12px}.total-box{min-width:130px;text-align:right}.total-box span{display:block;color:var(--muted);font-size:11px}.total-box b{font-size:15px}.need-list{border:1px solid var(--line);border-radius:13px;overflow:hidden}.need-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;border-bottom:1px solid var(--line);font-weight:650}.need-row:nth-of-type(4){border-bottom:0}.stepper{display:flex;align-items:center;gap:7px}.stepper input{width:58px;text-align:center;padding:8px}.step{width:32px;height:32px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:18px;line-height:1;cursor:pointer}.step:hover{background:#f7f9fc}.other-details{padding:2px 13px 15px;background:#fafbfd;border-top:1px solid var(--line)}.choice-row{display:flex;gap:10px}.choice{margin:0;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:11px 14px;min-width:90px;font-weight:600}.choice input{width:auto;margin:0}@media(max-width:520px){.need-head{align-items:flex-start;flex-direction:column}.total-box{text-align:left}.need-row{gap:10px}.stepper{gap:4px}.stepper input{width:52px}}

.other-toggle{border:0;background:transparent;padding:0;font:inherit;font-weight:700;color:inherit;cursor:pointer;text-align:left}.other-toggle:hover{text-decoration:underline}.other-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}

.other-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:150px;padding:8px 10px;margin:-8px -10px;border-radius:9px}.other-toggle:hover{background:#f4f6f9;text-decoration:none}.other-chevron{font-size:20px;line-height:1;transition:transform .15s}.other-toggle[aria-expanded="true"] .other-chevron{transform:rotate(90deg)}

/* V1.5 — Personalplanung usability package */
.plan-state{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;margin:-6px 0 20px;background:#f8fafc;border:1px solid var(--line);border-radius:12px}.plan-state span,.plan-state small{font-size:11px;color:var(--muted)}.plan-state b{display:block;margin-top:2px}.plan-state .ok{color:#157347}.plan-state .warn{color:#a15c00}.compact{margin-top:10px}.date-presets{display:flex;gap:8px;margin-top:18px}.date-presets button,.add-position{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.date-presets button:hover,.add-position:hover{background:#f7f9fc}.other-position-row{display:grid;grid-template-columns:1fr 82px 36px;gap:8px;margin-top:9px}.other-position-row input{margin:0}.remove-pos{border:1px solid var(--line);background:#fff;border-radius:9px;font-size:20px;cursor:pointer}.add-position{margin-top:9px}.sub-label{font-size:12px;margin-top:12px}.sub-label span{font-weight:500;color:var(--muted)}.form-error{margin-top:16px;padding:11px 13px;border:1px solid #f1c6c6;background:#fff7f7;color:#9d2d2d;border-radius:10px;font-size:13px;line-height:1.5}.save-summary{display:flex;gap:12px;margin-top:16px;padding:15px;border:1px solid #cfe5d6;background:#f5fbf7;border-radius:12px}.summary-check{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#e2f4e7;color:#157347;font-weight:900}.save-summary h3{font-size:15px;margin:1px 0 5px}.save-summary p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.summary-edit{padding:0;margin-top:7px}.profile dl{display:grid;grid-template-columns:120px 1fr;gap:11px 14px;align-items:start}.profile dt{margin:0}.profile dd{margin:0}.profile .small{line-height:1.5}@media(max-width:520px){.plan-state{align-items:flex-start;flex-direction:column}.other-position-row{grid-template-columns:1fr 66px 36px}.date-presets{flex-wrap:wrap}.profile dl{grid-template-columns:1fr;gap:3px}.profile dd{margin-bottom:10px}.need-row{align-items:center}.step{min-width:38px;min-height:38px}.stepper input{min-height:38px}}

/* Betriebsprofil V2 */
.profile-v2{padding:26px}.profile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-kicker{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--blue);margin-bottom:7px}.profile-top h2{font-size:22px;line-height:1.2}.betrieb-no{font-size:12px;color:var(--muted);margin-top:7px}.betrieb-no strong{color:var(--ink);font-weight:700}.profile-sections{display:grid;gap:0}.profile-item{position:relative;padding:18px 0;border-bottom:1px solid #eef1f5;display:flex;flex-direction:column;gap:4px}.profile-item:last-child{border-bottom:0}.profile-label{font-size:11px;color:#8a92a1;font-weight:700}.profile-item strong{font-size:14px}.profile-item>span:not(.profile-label):not(.verified){font-size:13px;color:var(--muted)}.profile-email-item{padding-right:92px}.verified{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:11px;font-weight:800;color:#157347;background:#eef8f1;border:1px solid #d3ead9;border-radius:99px;padding:5px 8px}.profile-note{font-size:11px;line-height:1.5;color:var(--muted);background:#f8fafc;border-radius:10px;padding:11px 12px;margin:16px 0 0}@media(max-width:520px){.profile-top{flex-direction:column}.profile-top .pill{align-self:flex-start}.profile-email-item{padding-right:0}.verified{position:static;transform:none;align-self:flex-start;margin-top:4px}}

/* V1.5.3 — minimal Betriebsprofil */
.profile-v3{padding:26px}.profile-title{padding-bottom:16px}.profile-title h2{font-size:20px;margin:0 0 4px}.profile-title>span{font-size:12px;color:var(--muted)}.company-main{padding:16px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.company-main strong{display:block;font-size:18px;line-height:1.3}.company-main span{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.profile-clean-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.profile-clean-item{padding:17px 0;border-bottom:1px solid #eef1f5;min-width:0}.profile-clean-item>span{display:block;margin-bottom:5px;font-size:11px;font-weight:700;color:#8a92a1}.profile-clean-item strong{display:block;font-size:14px;overflow-wrap:anywhere}.profile-clean-item small{display:block;margin-top:3px;font-size:13px;color:var(--muted)}.profile-clean-email{grid-column:1/-1;position:relative;padding-right:90px;border-bottom:0}.profile-clean-email em{position:absolute;right:0;top:17px;font-style:normal;font-size:11px;font-weight:750;color:#157347}@media(max-width:520px){.profile-v3{padding:22px}.profile-clean-grid{grid-template-columns:1fr}.profile-clean-email{grid-column:auto;padding-right:0}.profile-clean-email em{position:static;display:block;margin-top:6px}}

/* V1.5.5: subtle example text in comments */
#comment::placeholder,.other-pos-name::placeholder{color:#a8afbb;font-size:13px;font-weight:400;opacity:1}

/* V1.5.6 — mobile-first usability refinement */
@media(max-width:760px){
  body{font-size:16px;-webkit-text-size-adjust:100%}
  header{height:58px;padding:0 14px}
  header .ghost{min-height:44px;padding:10px 14px}
  main{width:calc(100% - 20px);margin:16px auto 24px}
  .card{border-radius:15px;box-shadow:0 6px 22px rgba(27,50,86,.045)}
  .auth{width:100%;max-width:none;margin:14px auto;padding:24px 18px}
  .auth h1{font-size:25px}
  input,select,textarea{font-size:16px;min-height:46px;padding:12px 13px}
  textarea{min-height:104px;resize:vertical}
  .primary,.secondary{min-height:48px;padding:13px 14px}
  .link{min-height:44px;padding:8px 0}
  .row{align-items:center;flex-wrap:wrap}
  .check{min-height:44px;display:flex;align-items:center;gap:9px}
  .check input,.choice input{width:20px;height:20px;flex:0 0 20px}
  .hero{margin-bottom:16px;gap:12px}
  .hero h1{font-size:25px}
  .status{padding:12px 14px;border-radius:13px}
  .grid{gap:14px}
  .profile-v3,.planning{padding:18px 16px}
  .cardhead{margin-bottom:16px;align-items:flex-start}
  .plan-state{margin:0 0 16px;padding:11px 12px;gap:8px}
  .need-head{gap:8px;margin-bottom:9px}
  .total-box{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;background:#f8fafc;border-radius:10px;padding:9px 11px}
  .total-box span{font-size:12px}.total-box b{font-size:16px}
  .need-list{border-radius:12px}
  .need-row{padding:12px 10px;min-height:58px}
  .need-row>span,.other-toggle{font-size:14px}
  .stepper{gap:5px;flex-shrink:0}
  .step{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:10px;font-size:22px;touch-action:manipulation}
  .stepper input{width:52px;min-height:44px;padding:8px 4px;font-size:16px}
  .other-toggle{min-width:0;flex:1;padding:10px 4px;margin:-10px -4px;touch-action:manipulation}
  .other-details{padding:4px 10px 14px}
  .other-position-row{grid-template-columns:minmax(0,1fr) 70px 44px;gap:6px}
  .remove-pos{min-width:44px;min-height:44px;touch-action:manipulation}
  .add-position{min-height:44px;padding:10px 12px}
  .cols{gap:4px}
  .date-presets{gap:6px;margin-top:14px}
  .date-presets button{min-height:42px;flex:1 1 auto;padding:9px 10px;touch-action:manipulation}
  .choice-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .choice{min-width:0;min-height:48px;padding:10px 12px;align-items:center}
  .saved{flex-direction:column;gap:3px}
  .save-summary{padding:12px;gap:9px}
  .security{margin-top:14px;padding:14px 16px;gap:8px}
  footer{padding:18px 12px}
}
@media(max-width:390px){
  main{width:calc(100% - 14px)}
  .planning,.profile-v3{padding:16px 12px}
  .need-row{padding-left:8px;padding-right:8px}
  .step{width:40px;height:40px;min-width:40px;min-height:40px}
  .stepper input{width:46px;min-height:40px}
  .other-position-row{grid-template-columns:minmax(0,1fr) 62px 40px}
  .remove-pos{min-width:40px;min-height:40px}
}

/* V1.8 — Dashboard visual language only; no functional changes */
:root{--ink:#111d35;--muted:#73809a;--line:#e0e5ee;--bg:#f4f5f7;--blue:#111d35;--blue2:#0b1528;--soft:#f5f7fa}
body{background:#f4f5f7;color:#111d35}
.header-clean{display:none}
main{width:min(1120px,calc(100% - 32px));margin:52px auto}
.card{border:1px solid #e2e6ed;border-radius:18px;box-shadow:0 16px 42px rgba(17,29,53,.08)}
.auth{max-width:420px;margin:5vh auto;padding:36px 28px 40px;border-radius:18px}
.auth .eyebrow{font-size:0;color:#111d35;letter-spacing:.14em;margin-bottom:26px}
.auth .eyebrow::before{content:'FENIX';display:block;font-size:28px;line-height:1;font-weight:900;letter-spacing:.05em;color:#111d35}
.auth .eyebrow::after{content:'JOBAGENTUR';display:block;font-size:11px;line-height:1;margin-top:8px;font-weight:800;letter-spacing:.22em;color:#71809b}
.auth h1{font-size:24px;margin:0 0 6px;color:#111d35;letter-spacing:-.02em}
.auth .muted{font-size:13px;line-height:1.45;color:#73809a;margin:0 0 22px}
.auth label{font-size:13px;color:#111d35;margin:13px 0 7px}
.auth input{min-height:47px;border:1px solid #dfe4ec;border-radius:10px;padding:12px 13px;color:#111d35;background:#fff}
.auth input:focus,input:focus,select:focus,textarea:focus{border-color:#aeb8c8;box-shadow:0 0 0 3px rgba(17,29,53,.07)}
.primary{background:#111d35;border-radius:10px;min-height:46px;color:#fff}.primary:hover{background:#0b1528}
.secondary{border-color:#dfe4ec;border-radius:10px;color:#111d35;background:#fff}
.link{color:#415579}.demo{color:#9aa3b2}
.hero{margin-bottom:20px}.hero .eyebrow{color:#71809b;font-size:11px;letter-spacing:.18em}.hero h1{font-size:28px;color:#111d35}.hero p{font-size:14px;color:#73809a}
.status{background:#fff;border:1px solid #e0e5ee;border-radius:12px;padding:12px 16px;box-shadow:none}.status b{color:#111d35}
.grid{gap:18px}.profile-v3,.planning{border-radius:16px}.profile-title h2,.cardhead h2{color:#111d35}.pill.blue{background:#f0f2f6;color:#41506a}
.company-main{background:#f8f9fb;border-color:#e5e8ee}
.profile-clean-item,.need-list,.plan-state,.security{border-color:#e2e6ed}
.plan-state{background:#f8f9fb}.plan-state .ok{color:#1f6b4d}
.total-box{color:#111d35}.need-row{background:#fff}.step{border-color:#dfe4ec;color:#111d35}.step:hover{background:#f4f5f7}
.other-details{background:#fafbfc}.date-presets button,.add-position,.remove-pos{border-color:#dfe4ec;color:#111d35}
.choice{border-color:#dfe4ec;background:#fff}.save-summary{border-color:#dbe8df;background:#f7faf8}
.security{background:#fff;border-radius:14px;box-shadow:none}footer{color:#929aaa}
@media(max-width:760px){main{width:calc(100% - 20px);margin:18px auto 24px}.auth{margin:24px auto;padding:30px 22px 34px}.hero h1{font-size:24px}.grid{gap:14px}.card{border-radius:15px}}

/* Official FENIX legal links */
.legal-footer{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center}.legal-links{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.legal-links a{color:#17233d;text-decoration:none;font-weight:700}.legal-links a:hover,.legal-links a:focus{text-decoration:underline}.legal-footer small{font-size:12px;color:#7b8498;font-weight:400}@media(max-width:640px){.legal-footer{padding:22px 16px}.legal-links a{min-height:42px;display:inline-flex;align-items:center;padding:0 5px}}

/* Internal legal viewer — keeps the employer inside the portal */
.legal-links .legal-open{border:0;background:transparent;color:#17233d;font:inherit;font-weight:700;cursor:pointer;padding:8px 5px}.legal-links .legal-open:hover,.legal-links .legal-open:focus{text-decoration:underline}.legal-modal{position:fixed;inset:0;z-index:1000;background:rgba(17,29,53,.48);padding:22px;display:flex;align-items:center;justify-content:center}.legal-modal.hidden{display:none}.legal-panel{width:min(1100px,100%);height:min(90vh,900px);background:#fff;border:1px solid #e2e6ed;border-radius:18px;box-shadow:0 24px 70px rgba(17,29,53,.18);display:flex;flex-direction:column;overflow:hidden}.legal-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px 16px;border-bottom:1px solid #e7eaf0}.legal-panel-head h2{margin:3px 0 0;color:#111d35}.legal-close{width:44px;height:44px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;color:#111d35;font-size:27px;line-height:1;cursor:pointer}.legal-frame-wrap{flex:1;min-height:0;background:#fff}.legal-frame-wrap iframe{width:100%;height:100%;border:0;background:#fff}.legal-panel-foot{padding:12px 18px;border-top:1px solid #e7eaf0;background:#fafbfc}.legal-panel-foot .secondary{width:auto;min-width:180px;margin:0}@media(max-width:640px){.legal-modal{padding:0}.legal-panel{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.legal-panel-head{padding:14px 14px 11px}.legal-panel-head h2{font-size:20px}.legal-panel-foot{padding:10px 12px}.legal-panel-foot .secondary{width:100%}.legal-links .legal-open{min-height:42px}}

/* V1.8.3 local legal content */
.legal-content{flex:1;min-height:0;overflow:auto;padding:24px 28px;background:#fff;outline:none}.legal-copy{max-width:850px;margin:0 auto;color:#26324a;line-height:1.65}.legal-copy h3{margin:0 0 22px;color:#111d35;font-size:24px}.legal-copy h4{margin:24px 0 8px;color:#111d35;font-size:16px}.legal-copy p{margin:0 0 13px}.legal-copy ul{margin:6px 0 16px;padding-left:22px}.legal-copy li{margin:5px 0}@media(max-width:640px){.legal-content{padding:20px 17px}.legal-copy h3{font-size:22px}.legal-copy h4{font-size:16px;margin-top:22px}}
