html { scroll-padding-top: 96px; }

body {
    background: linear-gradient(135deg, rgba(31, 135, 201, .08), transparent 36rem), var(--mist);
}

.career-hero {
    position: relative;
    overflow: hidden;
    padding: 210px clamp(18px, 4vw, 56px) 108px;
    color: var(--white);
    background: var(--ink-strong);
}

.career-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(7, 19, 30, .93) 0%, rgba(7, 19, 30, .68) 56%, rgba(17, 97, 146, .34) 100%),
        url("/images/kraftlank-career.webp") center 48% / cover no-repeat;
}

.career-hero::after {
    position: absolute;
    right: 5vw;
    bottom: 0;
    width: min(38vw, 440px);
    height: 58%;
    content: "";
    clip-path: polygon(68% 0, 100% 0, 44% 100%, 12% 100%);
    background: linear-gradient(180deg, rgba(40, 111, 189, .92), rgba(31, 135, 201, .52));
}

.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow { margin: 0 0 18px; }

.section-kicker { margin-bottom: 18px; color: var(--blue-deep); }

.eyebrow::before,
.section-kicker::before { width: 34px; height: 3px; content: ""; border-radius: 999px; background: var(--blue); }

h1,
h2,
h3 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 800; line-height: .96; }

h1 { max-width: 820px; font-size: clamp(4rem, 10vw, 7rem); text-transform: uppercase; }

.hero-lead { max-width: 650px; margin: 22px 0 0; color: rgba(255, 255, 255, .86); font-size: 1.25rem; line-height: 1.5; }

.section { padding: clamp(68px, 8vw, 112px) clamp(18px, 4vw, 56px); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(340px, 1fr);
    gap: clamp(36px, 7vw, 92px);
    align-items: start;
}

.section h2 { color: var(--ink-strong); font-size: clamp(3.2rem, 7vw, 5.7rem); text-transform: uppercase; }

.intro-copy { color: var(--steel); font-size: 1.16rem; line-height: 1.65; }

.intro-copy p { margin: 0 0 20px; }

.competence-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.competence-list li {
    min-height: 118px;
    padding: 20px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 8px;
    background: var(--white);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.05;
}

.application { position: relative; overflow: hidden; color: var(--white); background: var(--ink-strong); }

.application::after {
    position: absolute;
    right: -160px;
    bottom: -260px;
    width: 560px;
    height: 560px;
    content: "";
    border: 1px solid rgba(47, 184, 207, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 76px rgba(31, 135, 201, .045), 0 0 0 152px rgba(40, 111, 189, .028);
}

.application .section-inner { position: relative; z-index: 1; }

.application .section-kicker { color: var(--brand-cyan); }

.application h2 { color: var(--white); }

.application-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .8fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: start;
}

.steps { display: grid; gap: 16px; margin: clamp(22px, 3vw, 30px) 0 0; padding: 0; list-style: none; counter-reset: application-step; }

.steps li {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    counter-increment: application-step;
}

.steps li::before {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    box-shadow: 0 8px 20px rgba(20, 89, 137, .24);
    content: counter(application-step, decimal-leading-zero);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.steps strong { display: block; font-size: 1.08rem; }

.steps span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .74); line-height: 1.5; }

.apply-card {
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.apply-card h3 { color: var(--ink-strong); font-size: 2.35rem; text-transform: uppercase; }

.apply-card p { color: var(--steel); line-height: 1.6; }

.apply-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    box-shadow: 0 16px 34px rgba(20, 89, 137, .28);
    font-weight: 800;
}

.apply-button::after { margin-left: 9px; content: "→"; }

.apply-button:hover,
.apply-button:focus-visible { outline: 3px solid rgba(47, 184, 207, .4); outline-offset: 3px; transform: translateY(-2px); }

.email-note { margin-bottom: 0; font-size: .93rem; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
    .competence-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .career-hero::after { display: none; }
}

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

@media (max-width: 820px) {
    .career-hero { padding-top: 160px; padding-bottom: 76px; }

    .intro-grid { grid-template-columns: 1fr; }

    .competence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    h1 { font-size: clamp(3.05rem, 16vw, 4rem); }

    .competence-list { grid-template-columns: 1fr; }

    .competence-list li { min-height: auto; }

    .steps li { grid-template-columns: 42px minmax(0, 1fr); padding: 16px; }

    .steps li::before { width: 42px; height: 42px; }

    .apply-button { width: 100%; }
}
