/* Shared, restrained card treatment for the German home page. */
body.home :is(.jm-start,.jms-lp){
 --jms-card:#fff; --jms-card-border:#e2e6eb; --jms-ink:#252d38; --jms-muted:#56616f;
 --jm-card-soft:#f5f7f9; --jm-card-icon:#496482;
}
body.home :is(.jm-start__way,.jm-start__area,.jm-start__tile,.jms-lp__persona,.jms-lp__frc,.jms-lp__faqcard){
 border:1px solid var(--jms-card-border); border-radius:12px; background:var(--jms-card); box-shadow:none;
}
body.home :is(.jm-start__way,.jms-lp__persona):hover{box-shadow:none;border-color:#a9b5c2;transform:none;}
body.home :is(.jm-start__way-ico,.jm-start__area-ico,.jms-lp__persona-ico,.jms-lp__ai-ico){border-radius:50%;background:var(--jm-card-soft);color:var(--jm-card-icon);}
body.home :is(.jm-start__way-title,.jm-start__area-title,.jms-lp__persona-head,.jms-lp__frc-head,.jms-lp__faq-title){color:var(--jms-ink);}
body.home :is(.jm-start__pill--live,.jm-start__pill--soon,.jms-lp__frc-live){background:var(--jm-card-soft);color:var(--jms-muted);}
body.home :is(.jm-start__pill-dot,.jms-lp__frc-live-dot){background:var(--jm-card-icon);}
body.home .jms-lp__persona{padding:24px 24px 0;overflow:hidden;}
body.home .jms-lp__persona-text{margin-bottom:24px;}
body.home .jms-lp__persona-cta{margin-left:-24px;margin-right:-24px;padding:18px 24px;background:var(--jm-card-soft);border-top:1px solid var(--jms-card-border);}
body.home .jms-lp__persona-btn,body.home .jms-lp__persona:hover .jms-lp__persona-btn{padding:0;border:0;border-radius:0;background:transparent;color:var(--jm-card-icon) !important;box-shadow:none;}
body.home .jms-lp__persona-btn:focus-visible{outline:2px solid var(--jm-card-icon);outline-offset:5px;}
body.home .jms-lp__frc-ring{border-color:var(--jms-card-border);}
body.home .jms-lp__frc-core{background:var(--jm-card-icon);box-shadow:none;}
body.home :is(.jms-lp__tick,.jms-lp__ai-tico){color:var(--jm-card-icon);}
body.home .jms-lp__frc-zdot{background:var(--jm-card-icon);box-shadow:none;}
body.home .jms-lp__faq-logo{background:var(--jm-card-soft);color:var(--jm-card-icon);}
html.dark body.home :is(.jm-start,.jms-lp){--jms-card:var(--fcom-primary-bg,#1f2228);--jms-card-border:#39414c;--jms-ink:#e6e8ec;--jms-muted:#b6bec9;--jm-card-soft:#282f39;--jm-card-icon:#a9c1df;}
html.dark body.home .jms-lp__frc-core{background:#496482;}

/* Consistent reading contrast; secondary labels retain a quieter tone. */
html:not(.dark) body.home :is(.jm-start,.jms-lp){--jms-ink:#202124;--jms-muted:#454b54;}
html:not(.dark) body.home :is(.jm-start,.jms-lp) :is(h1,h2,h3,p,.jm-start__way-title,.jm-start__way-desc,.jm-start__area-title,.jm-start__area-desc,.jms-lp__frc-q,.jms-lp__ai-tt,.jms-lp__ai-td){color:#202124 !important;}
html:not(.dark) body.home :is(.jms-lp__persona-note,.jm-start__pill,.jms-lp__frc-live){color:#454b54;}

/* Restore Jobmoover red icon accents. */
body.home :is(.jm-start__way-ico,.jm-start__area-ico,.jms-lp__persona-ico,.jms-lp__ai-ico,.jms-lp__faq-logo){background:var(--jms-red-tint,#fdeaea);color:var(--jms-red,#e5322d);}
body.home .jms-lp__frc-core{background:var(--jms-red,#e5322d);color:#fff;}
html.dark body.home :is(.jm-start__way-ico,.jm-start__area-ico,.jms-lp__persona-ico,.jms-lp__ai-ico,.jms-lp__faq-logo){background:#3a2528;color:#ff6a63;}
html.dark body.home .jms-lp__frc-core{background:#e5322d;color:#fff;}

/* Informational platform cards are not interactive. */
body.home .jm-start__way:not(a),
body.home .jm-start__way:not(a):hover {
 border-color:var(--jms-card-border);
 box-shadow:none;
 transform:none;
 transition:none;
 cursor:default;
}

/* Compact AI-Check panel. */
body.home .jm-check-card{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);border:1px solid var(--jms-card-border);border-radius:12px;background:var(--jms-card);overflow:hidden;color:var(--jms-ink);}
.jm-check-card__content{display:grid;grid-template-columns:40px minmax(0,1fr);gap:20px;padding:32px;}
.jm-check-card__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fdeaea;color:#e5322d;}
.jm-check-card__icon svg{width:22px;height:22px;}
.jm-check-card__eyebrow{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--jms-muted);margin:0 0 12px;}
.jms-lp .jm-check-card h2{font-size:26px;line-height:1.25;margin:0 0 14px;font-weight:700;letter-spacing:-.025em;}
.jms-lp .jm-check-card p{font-size:16px;line-height:1.5;margin:0 0 22px;}
.jm-check-card ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px;}
.jm-check-card li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;}
.jm-check-card li span{color:#e5322d;display:flex;flex:0 0 18px;padding-top:3px;}
.jm-check-card li svg{width:18px;height:18px;}
.jms-lp .jm-check-card p.jm-check-card__method{font-size:13px;margin:0;color:var(--jms-muted) !important;}
.jm-check-card__action{padding:32px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:var(--jm-card-soft);border-left:1px solid var(--jms-card-border);}
.jm-check-card__status{font-size:12px;padding:5px 12px;border-radius:99px;background:#fdeaea;color:#454b54;margin-bottom:18px;}
.jms-lp .jm-check-card h3{font-size:20px;line-height:1.3;margin:0 0 18px;font-weight:700;}
.jm-check-card__action .jms-lp__btn{width:100%;justify-content:center;gap:12px;font-size:16px;border-radius:10px;padding:13px 18px;}
.jm-check-card__more{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border-top:1px solid var(--jms-card-border);padding-top:20px;margin-top:24px;color:var(--jms-ink);font-size:14px;font-weight:600;text-decoration:none;}
.jm-check-card__more:hover{text-decoration:underline;color:var(--jms-ink);}
html.dark .jm-check-card__status,html.dark .jm-check-card__icon{background:#3a2528;color:#ff6a63;}
@media(max-width:820px){body.home .jm-check-card{grid-template-columns:1fr;}.jm-check-card__action{border-left:0;border-top:1px solid var(--jms-card-border);padding:24px;}.jm-check-card__content{padding:24px;gap:14px;}.jms-lp .jm-check-card h2{font-size:24px;}}
@media(max-width:480px){.jm-check-card__content{grid-template-columns:1fr;}.jm-check-card__icon{width:36px;height:36px;}}

/* AI-Check: balanced spacing and warm action panel. */
body.home .jm-check-card__content{grid-template-columns:52px minmax(0,1fr);gap:20px;}
body.home .jm-check-card__icon{width:52px;height:52px;}
body.home .jm-check-card__icon svg{width:28px;height:28px;}
body.home .jm-check-card__content p{margin:0 0 20px !important;line-height:1.5;}
body.home .jm-check-card__content ul{margin:0 0 22px !important;padding:0 !important;gap:10px;}
body.home .jm-check-card__content li{margin:0 !important;padding:0;line-height:1.5;}
body.home .jm-check-card__content p.jm-check-card__method{margin:0 !important;}
body.home .jm-check-card__action{background:#fff5f3;}
body.home .jm-check-card__status{background:#fff;color:#454b54;border:1px solid #e2e6eb;}
html.dark body.home .jm-check-card__action{background:#302426;}
html.dark body.home .jm-check-card__status{background:#282f39;color:#e6e8ec;border-color:#39414c;}
@media(max-width:480px){body.home .jm-check-card__content{grid-template-columns:1fr;gap:16px;}}

/* Aligned persona footers, matching the AI-Check action area. */
body.home .jms-lp__persona-cta{background:#fff5f3;box-sizing:border-box;min-height:104px;display:flex;flex-direction:column;justify-content:center;}
body.home .jms-lp__persona-btn,body.home .jms-lp__persona:hover .jms-lp__persona-btn{color:var(--jms-ink) !important;}
html.dark body.home .jms-lp__persona-cta{background:#302426;}
@media(max-width:820px){body.home .jms-lp__persona-cta{min-height:0;}}

/* More breathing room in the content; concise, aligned footer strips. */
body.home .jms-lp__persona .jms-lp__persona-text{margin-bottom:32px !important;}
body.home .jms-lp__persona-cta{min-height:82px;padding:14px 24px;}
body.home .jms-lp__persona-note{margin-bottom:7px;}

/* Match the registration banner to the other cards. */
body.home .jms-lp__cta{border-radius:12px;}

/* Brand logo stands on the card itself, without an icon tile. */
body.home .jms-lp__faq-logo.jms-lp__faq-logo--jm,
html.dark body.home .jms-lp__faq-logo.jms-lp__faq-logo--jm{background:transparent;box-shadow:none;border:0;}

/* Personal invitation with the live occupation count as supporting text. */
.jm-check-card__more-copy{display:flex;flex-direction:column;gap:6px;min-width:0;line-height:1.45;}
.jm-check-card__more-copy small{font-size:12px;font-weight:400;color:var(--jms-muted);line-height:1.45;}
.jm-check-card__more > span:last-child{flex-shrink:0;}

/* Target groups: restrained green, blue and gold accents. */
body.home .jms-lp__persona:nth-child(1){--jm-persona-ink:#168463;--jm-persona-tint:#eaf6ef}
body.home .jms-lp__persona:nth-child(2){--jm-persona-ink:#3f6391;--jm-persona-tint:#eaf0f7}
body.home .jms-lp__persona:nth-child(3){--jm-persona-ink:#a97409;--jm-persona-tint:#faf1dd}
html.dark body.home .jms-lp__persona:nth-child(1){--jm-persona-ink:#63c5a0;--jm-persona-tint:#18352b}
html.dark body.home .jms-lp__persona:nth-child(2){--jm-persona-ink:#91b4e0;--jm-persona-tint:#202e42}
html.dark body.home .jms-lp__persona:nth-child(3){--jm-persona-ink:#e5bb60;--jm-persona-tint:#382e19}
body.home .jms-lp__persona .jms-lp__persona-ico{background:var(--jm-persona-tint);color:var(--jm-persona-ink)}
body.home .jms-lp__persona .jms-lp__persona-cta{background:var(--jm-persona-tint);border-top-color:transparent}
body.home .jms-lp__persona .jms-lp__persona-btn-arrow{color:var(--jm-persona-ink)}

/* Introductory discovery link; the offer below owns the primary CTA. */
.jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"] {
 background:transparent;color:var(--fcom-primary-text,#202124);border:0;
 box-shadow:none;padding:8px 0;border-radius:0;min-height:44px;
}
.jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"]:hover {
 background:transparent;color:#ef2b2d;box-shadow:none;transform:none;
}
.jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"]:focus-visible {
 outline:2px solid #ef2b2d;outline-offset:5px;
}
.jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"] .jm-start__hbtn-ico {display:none}
#jobmoover-entdecken {scroll-margin-top:80px}
body.home .jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"] {color:#202124 !important}
body.home .jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"]:hover {color:#ef2b2d !important}
html.dark body.home .jm-start__hero .jm-start__hbtn[href="#jobmoover-entdecken"] {color:#f5f5f5 !important}

/* Homepage rhythm: related offers 24px; distinct topics 64px. */
body.home {--jm-section-space:64px;--jm-offer-space:24px;--jm-hero-space:48px;}
body.home .jm-start,
body.home .jms-lp--story,
body.home .jms-lp--faq,
body.home .jms-lp--ctaband {margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;}
body.home .jm-start .jm-start__hero:has(img[src*="jobmoover-next-step"]) {margin-bottom:var(--jm-hero-space);}
body.home #jobmoover-entdecken {display:flow-root;}
body.home #jobmoover-entdecken .jms-lp--frcband {margin:0 auto;padding-top:0;padding-bottom:0;}
body.home .jm-start__areas {margin-top:var(--jm-offer-space);}
body.home .jms-lp--story,
body.home .jm-start--outlook,
body.home .jms-lp--faq {margin-top:var(--jm-section-space);}
body.home .jms-lp--story > .jms-lp__h2 {margin-top:0;margin-bottom:24px;}
body.home .jms-lp--story .jms-lp__personas {margin-bottom:0;}
body.home .jms-lp--story .jms-lp__ai {margin-top:var(--jm-section-space);margin-bottom:0;}
body.home .jm-start--outlook .jm-start__platform {margin-top:0;margin-bottom:0;}
body.home .jms-lp--ctaband {margin-top:48px;margin-bottom:48px;}
@media(max-width:820px){
 body.home {--jm-section-space:40px;--jm-offer-space:20px;--jm-hero-space:32px;}
 body.home .jms-lp--story > .jms-lp__h2 {margin-bottom:20px;}
 body.home .jms-lp--ctaband {margin-top:32px;margin-bottom:32px;}
}

/* Compact checklist in the homepage AI-Check offer. */
body.home .jm-check-card__content ul {gap:4px;}

/* Calm, compact typography for the AI-Check introduction. */
body.home .jm-check-card__eyebrow {display:none;}
body.home .jm-check-card__content {padding:24px;gap:16px;}
body.home .jm-check-card__action {padding:24px;}
body.home .jm-check-card h2 {font-size:22px;line-height:1.3;margin-bottom:12px;}
body.home .jm-check-card h3 {font-size:18px;line-height:1.35;margin-bottom:14px;}
body.home .jm-check-card__content p {font-size:15px;line-height:1.5;margin-bottom:14px !important;}
body.home .jm-check-card__content ul {margin-bottom:14px !important;gap:4px;}
body.home .jm-check-card__content li {font-size:15px;line-height:1.5;}
body.home .jm-check-card p.jm-check-card__method,
body.home .jm-check-card__status,
body.home .jm-check-card__more small {font-size:13px;line-height:1.45;}
body.home .jm-check-card__status {margin-bottom:14px;}
body.home .jm-check-card__more {font-size:15px;margin-top:18px;padding-top:16px;}
body.home .jm-check-card__more-copy {gap:4px;}
@media(max-width:480px){body.home .jm-check-card__content,body.home .jm-check-card__action {padding:20px;}}

/* A quiet final action instead of a repeated promotional panel. */
body.home .jms-lp--ctaband .jms-lp__cta {background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-align:center;}
body.home .jms-lp--ctaband .jms-lp__cta h2 {display:none;}

/* Keep faces visible when a wide viewport crops the hero vertically. */
body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media img {object-position:center top !important;}

body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media img {height:auto !important;aspect-ratio:auto !important;object-fit:contain;object-position:center !important;align-self:flex-start;}

/* Desktop: one screen below the 60px site header; preserve the entire photo. */
@media(min-width:821px){
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]){min-height:calc(100svh - 60px);}
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media {height:calc(100svh - 60px);align-self:center;justify-content:center;align-items:center;}
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media img {width:100%;height:100% !important;max-height:100%;object-fit:contain !important;object-position:center !important;align-self:center;}
}

/* Avoid top letterboxing in tall, narrower desktop/tablet viewports. */
@media(min-width:821px){
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media img {object-position:center top !important;}
}

/* Compact homepage introduction, with the first offer visible sooner. */
@media(min-width:821px){
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]){min-height:0;height:auto;margin-bottom:32px;}
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media {height:min(45vw,560px);align-self:center;}
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-text {align-self:center;}
}
@media(min-width:821px){
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media img {object-position:right top !important;}
}

body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step-v"]) .jm-start__hero-media {height:auto;}
body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step-v"]) .jm-start__hero-media img {height:auto !important;max-height:560px;aspect-ratio:auto !important;object-fit:contain !important;}

/* Keep the image in column two until the single-column breakpoint at 820px.
   The older generic 900px rule must not reorder this full-bleed hero. */
@media(min-width:821px){
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-text {order:0;grid-column:1;grid-row:1;}
 body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]) .jm-start__hero-media {order:0;grid-column:2;grid-row:1;}
}
/* Slightly more breathing room between the hero and first offer. */
body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]){margin-bottom:48px;}
@media(max-width:820px){body.home:not(.logged-in) .jm-start__hero:has(img[src*="jobmoover-next-step"]){margin-bottom:40px;}}


.jms-lp__workforce-intro {max-width:780px;margin:0 auto 28px;text-align:center;font-size:16px;line-height:1.6;color:var(--fcom-primary-text,#202124);}

/* Space around the workforce introduction. */
.jms-lp.jms-lp--story > .jms-lp__h2 {margin-bottom:8px !important;}
.jms-lp.jms-lp--story > .jms-lp__workforce-intro {margin-bottom:32px !important;}
