/* =========================================================
   Karriere · Koller & Baur OHG  ·  Stylesheet
   CI: Dunkelblau (#00008f), Rot (#ff1721), Weiß
   Helle, klare Anmutung – inspiriert von koller-baur.de
   ========================================================= */

:root {
    --c-blue:        #00008f;
    --c-blue-deep:   #00006b;
    --c-blue-bright: #1a1aff;        /* lebendigeres Blau für Akzente */
    --c-blue-ink:    #0b1339;
    --c-red:         #ff1721;
    --c-red-dark:    #d3000d;
    --c-red-warm:    #ff4d56;        /* helleres Rot für Verläufe */
    --c-gold:        #f5b820;        /* warmer Akzent */
    --c-white:       #ffffff;
    --c-bg:          #ffffff;
    --c-bg-soft:     #eef0fb;        /* mit blauem Touch */
    --c-bg-warm:     #fff4ec;        /* warm, mit rotem Touch */
    --c-bg-blue:     #f0f1ff;
    --c-text:        #1c1f2e;
    --c-text-soft:   #5b5f78;
    --c-text-mute:   #8a8fa8;
    --c-line:        #e7e9f0;
    --c-line-strong: #d0d4e0;
    --shadow-sm:     0 1px 2px rgba(15, 23, 60, .04);
    --shadow:        0 4px 14px rgba(15, 23, 60, .08);
    --shadow-lg:     0 20px 60px -20px rgba(15, 23, 60, .35);
    --shadow-red:    0 12px 30px -10px rgba(255, 23, 33, .45);
    --shadow-blue:   0 12px 30px -10px rgba(0, 0, 143, .35);
    --radius:        12px;
    --radius-lg:     20px;
    --maxw:          1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-red); }

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--c-blue-ink);
    line-height: 1.18;
    margin: 0 0 .55em;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--c-text); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Kicker (kleines Label über Überschriften) ---------- */
.kicker {
    display: inline-block;
    font-size: .82rem;
    font-weight: 500;
    color: var(--c-red);
    letter-spacing: .03em;
    margin-bottom: 1rem;
    font-style: italic;
}
.kicker::before {
    content: "";
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--c-red);
    vertical-align: middle;
    margin-right: .65rem;
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 88px;
}
.logo { display: inline-flex; align-items: center; }
.logo__img {
    height: 64px; width: auto; display: block;
    object-fit: contain;
}
@media (max-width: 640px) { .logo__img { height: 52px; } }

.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a {
    color: var(--c-blue-ink);
    font-weight: 500;
    font-size: .96rem;
    position: relative;
    padding: .25rem 0;
}
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px; background: var(--c-red);
    transition: width .2s ease;
}
.nav a:hover { color: var(--c-red); }
.nav a:hover::after { width: 100%; }
.nav__link-ext { color: var(--c-text-soft) !important; font-size: .9rem !important; }

@media (max-width: 800px) {
    .nav a:not(.nav__link-ext) { display: none; }
    .nav { gap: 1rem; }
}
@media (max-width: 520px) {
    .nav__link-ext { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem;
    background: var(--c-red);
    color: var(--c-white);
    font-weight: 700;
    font-size: .95rem;
    border-radius: 4px;
    border: 0; cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .2s;
    text-decoration: none;
    font-family: inherit;
}
.btn:hover { background: var(--c-red-dark); color: var(--c-white); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255,23,33,.5); }
.btn--ghost {
    background: transparent;
    color: var(--c-blue-ink);
    border: 2px solid var(--c-blue-ink);
    padding: .73rem 1.55rem;
}
.btn--ghost:hover { background: var(--c-blue-ink); color: var(--c-white); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(ellipse at 85% 15%, rgba(255, 23, 33, .45), transparent 50%),
        radial-gradient(ellipse at 15% 85%, rgba(26, 26, 255, .55), transparent 55%),
        radial-gradient(circle at 60% 50%, rgba(245, 184, 32, .12), transparent 60%),
        linear-gradient(135deg, #0a0a4a 0%, #00008f 55%, #1a1aff 100%);
    color: var(--c-white);
    padding: 6rem 0 6.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    /* Dekoratives Streifen-Element */
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border: 18px solid rgba(255, 23, 33, .3);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    background: linear-gradient(to right,
        var(--c-red) 0%, var(--c-red) 33%,
        var(--c-white) 33%, var(--c-white) 66%,
        var(--c-blue-bright) 66%, var(--c-blue-bright) 100%);
}
.hero__grid {
    display: grid; gap: 3rem;
    grid-template-columns: 1.4fr .9fr;
    align-items: center;
    position: relative; z-index: 1;
}
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}
.hero h1 {
    color: var(--c-white);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 30px rgba(0,0,0,.15);
}
.hero h1 em {
    font-style: normal;
    color: var(--c-red-warm);
    background: linear-gradient(90deg, var(--c-red-warm), var(--c-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .lead {
    font-size: 1.18rem;
    color: rgba(255,255,255,.88);
    max-width: 540px;
    margin-bottom: 2rem;
}
.hero .kicker {
    color: var(--c-white);
    background: var(--c-red);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
}
.hero .kicker::before { display: none; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__cta .btn--ghost {
    color: var(--c-white);
    border-color: rgba(255,255,255,.4);
}
.hero__cta .btn--ghost:hover {
    background: var(--c-white);
    color: var(--c-blue-ink);
    border-color: var(--c-white);
}

.hero__visual {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1);
    transform: rotate(-1deg);
    background: #0a0a2a;
}
.hero__visual-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero__visual::before {
    /* Sanfter Dunkel-Verlauf für Badge-Kontrast */
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,74,.0) 55%, rgba(10,10,74,.4) 100%),
        linear-gradient(135deg, rgba(0,0,143,.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}
.hero__visual::after {
    /* Roter Akzent-Winkel unten links */
    content: "";
    position: absolute;
    left: -6px; bottom: -6px;
    width: 78px; height: 78px;
    border-left: 6px solid var(--c-red);
    border-bottom: 6px solid var(--c-red);
    border-bottom-left-radius: var(--radius-lg);
    z-index: 2;
    pointer-events: none;
}
.hero__visual-badge {
    position: absolute; top: 1.25rem; right: 1.25rem;
    background: var(--c-red); color: var(--c-white);
    border-radius: 999px; padding: .5rem 1.1rem;
    font-size: .8rem; font-weight: 700;
    box-shadow: var(--shadow-red);
    text-transform: uppercase;
    letter-spacing: .05em;
    z-index: 2;
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section--soft {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 23, 33, .04), transparent 40%),
        radial-gradient(circle at 5% 90%, rgba(0, 0, 143, .05), transparent 45%),
        var(--c-bg-soft);
}
.section--warm {
    background:
        radial-gradient(circle at 10% 10%, rgba(245, 184, 32, .08), transparent 40%),
        var(--c-bg-warm);
}
.section-title { text-align: center; margin-bottom: 3rem; max-width: 720px; margin-left:auto; margin-right:auto; }
.section-title p { color: var(--c-text-soft); margin-top: .5rem; font-size: 1.05rem; }
.section-title .kicker { color: var(--c-red); }

/* ---------- Job Cards ---------- */
.jobs-grid {
    display: grid; gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.job-card {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 0;
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    border-top: 4px solid var(--c-blue);
}
.job-card:nth-child(2n) { border-top-color: var(--c-red); }
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.job-card__body {
    padding: 2rem 2rem 2.25rem;
    display: flex; flex-direction: column;
    flex: 1;
}
.job-card__tags {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem;
}
.tag {
    display: inline-block;
    padding: .3rem .85rem;
    background: var(--c-bg-blue);
    color: var(--c-blue);
    border-radius: 999px;
    font-size: .78rem; font-weight: 700;
    border: 1px solid rgba(0,0,143,.15);
}
.tag--red {
    background: rgba(255, 23, 33, .1);
    color: var(--c-red-dark);
    border-color: rgba(255, 23, 33, .25);
}
.job-card h3 { font-size: 1.4rem; margin-bottom: .25rem; color: var(--c-blue); }
.job-card__sub { color: var(--c-red); font-size: .9rem; margin-bottom: 1.1rem; font-weight: 500; }
.job-card__desc { color: var(--c-text); flex: 1; margin-bottom: 1.5rem; }
.job-card__cta { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }

/* Mini-Feature-Cards (warum wir / ablauf) */
.feature-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 1.85rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--c-red);
    transition: width .25s ease;
}
.feature:nth-child(4n+2)::before { background: var(--c-blue); }
.feature:nth-child(4n+3)::before { background: var(--c-gold); }
.feature:nth-child(4n+4)::before { background: var(--c-blue-bright); }
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature:hover::before { width: 100%; opacity: .07; }
.feature__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    border-radius: 12px;
    font-weight: 700; font-size: 1.05rem;
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-red);
    position: relative; z-index: 1;
}
.feature:nth-child(4n+2) .feature__num {
    background: linear-gradient(135deg, var(--c-blue-bright) 0%, var(--c-blue) 100%);
    box-shadow: var(--shadow-blue);
}
.feature:nth-child(4n+3) .feature__num {
    background: linear-gradient(135deg, var(--c-gold) 0%, #e09c00 100%);
    box-shadow: 0 12px 30px -10px rgba(245, 184, 32, .55);
}
.feature:nth-child(4n+4) .feature__num {
    background: linear-gradient(135deg, var(--c-blue-ink) 0%, var(--c-blue) 100%);
    box-shadow: var(--shadow-blue);
}
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--c-blue); position: relative; z-index: 1; }
.feature p { color: var(--c-text-soft); margin: 0; font-size: .95rem; position: relative; z-index: 1; }

/* ---------- Stellendetail ---------- */
.job-hero {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255, 23, 33, .35), transparent 50%),
        radial-gradient(ellipse at 20% 90%, rgba(26, 26, 255, .4), transparent 55%),
        linear-gradient(135deg, #0a0a4a 0%, #00008f 60%, #1a1aff 100%);
    color: var(--c-white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.job-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 5px;
    background: linear-gradient(to right,
        var(--c-red) 0%, var(--c-red) 33%,
        var(--c-white) 33%, var(--c-white) 66%,
        var(--c-blue-bright) 66%, var(--c-blue-bright) 100%);
}
.job-hero .container { position: relative; z-index: 1; }
.job-hero a.back { color: rgba(255,255,255,.8); font-size: .95rem; }
.job-hero a.back:hover { color: var(--c-white); }
.job-hero .kicker {
    color: var(--c-white);
    background: var(--c-red);
    padding: .3rem .8rem;
    border-radius: 999px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    margin-top: 1rem !important;
}
.job-hero .kicker::before { display: none; }
.job-hero h1 { color: var(--c-white); margin-top: .75rem; }
.job-hero__sub { color: rgba(255,255,255,.88); font-size: 1.15rem; margin-bottom: 1.25rem; }
.job-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.job-hero .tag {
    background: rgba(255,255,255,.15);
    color: var(--c-white);
    border-color: rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
}
.job-hero .tag--red {
    background: var(--c-red);
    color: var(--c-white);
    border-color: var(--c-red);
}

.job-body { padding: 4rem 0; }
.job-body__grid {
    display: grid; gap: 3rem;
    grid-template-columns: 1fr 320px;
}
@media (max-width: 920px) {
    .job-body__grid { grid-template-columns: 1fr; }
}
.job-body h2 {
    margin-top: 2.5rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--c-line);
    position: relative;
}
.job-body h2::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 48px; height: 2px; background: var(--c-red);
}
.job-body h2:first-child { margin-top: 0; }
.job-body ul { padding-left: 0; list-style: none; }
.job-body li {
    margin-bottom: .5rem;
    padding-left: 1.5rem;
    position: relative;
}
.job-body li::before {
    content: ""; position: absolute; left: 0; top: .65em;
    width: 8px; height: 2px; background: var(--c-red);
}

.sticky-cta {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 1.85rem;
    position: sticky; top: 110px;
    box-shadow: var(--shadow);
    align-self: start;
}
.sticky-cta h3 { color: var(--c-blue-ink); margin-bottom: .5rem; }
.sticky-cta p { font-size: .92rem; color: var(--c-text-soft); margin-bottom: 1.25rem; }
.sticky-cta__avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--c-blue);
    box-shadow: 0 4px 12px rgba(0,0,143,.15);
}
.sticky-cta__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

/* ---------- Form / Bewerbung ---------- */
.form-wrap {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
@media (max-width: 600px) { .form-wrap { padding: 1.5rem; } }

.steps {
    display: flex; gap: .35rem; margin-bottom: 2.25rem; flex-wrap: wrap;
}
.step {
    flex: 1; min-width: 100px;
    padding: .65rem .65rem; border-radius: 6px;
    background: var(--c-bg-soft); color: var(--c-text-mute);
    font-size: .8rem; font-weight: 600;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all .2s;
}
.step.is-active {
    background: var(--c-white); color: var(--c-blue-ink);
    border-bottom-color: var(--c-red);
    box-shadow: var(--shadow-sm);
}
.step.is-done { background: rgba(0, 0, 143, .05); color: var(--c-blue-ink); }

.form-section { display: none; animation: fadeIn .25s ease; }
.form-section.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:none;} }

.form-section h2 { margin-bottom: .35rem; border: 0; padding: 0; }
.form-section h2::after { display: none; }
.form-section__sub { color: var(--c-text-soft); margin-bottom: 1.75rem; }

.form-row {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 620px) {
    .form-row, .form-row--3 { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label {
    font-size: .87rem; font-weight: 600; color: var(--c-blue-ink);
    margin-bottom: .4rem;
}
.field label .req { color: var(--c-red); margin-left: 2px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="url"],
.field select,
.field textarea {
    font: inherit;
    padding: .8rem 1rem;
    border: 1px solid var(--c-line-strong);
    border-radius: 6px;
    background: var(--c-white);
    color: var(--c-text);
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 143, .12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--c-text-mute); margin-top: .35rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--c-red); }
.field .error-msg { color: var(--c-red); font-size: .82rem; margin-top: .3rem; display: none; }
.field.has-error .error-msg { display: block; }

/* Upload */
.upload {
    display: block; padding: 1.75rem; border: 2px dashed var(--c-line-strong);
    border-radius: var(--radius); text-align: center;
    cursor: pointer; transition: border-color .2s, background .2s;
    background: var(--c-bg-soft);
}
.upload:hover { border-color: var(--c-blue); background: rgba(0,0,143,.03); }
.upload input[type=file] { display: none; }
.upload__title { font-weight: 700; color: var(--c-blue-ink); margin-bottom: .25rem; }
.upload__hint { font-size: .85rem; color: var(--c-text-soft); }
.upload.has-file { border-style: solid; border-color: var(--c-blue); background: rgba(0,0,143,.04); }
.upload.has-file .upload__title::before { content: "✓ "; color: #1e8449; }

.cv-toggle { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.cv-toggle button {
    padding: .6rem 1.15rem; border: 1px solid var(--c-line-strong);
    background: var(--c-white); border-radius: 999px; font: inherit;
    color: var(--c-text); cursor: pointer; transition: all .15s;
    font-size: .9rem; font-weight: 500;
}
.cv-toggle button.is-active {
    background: var(--c-blue-ink); color: var(--c-white); border-color: var(--c-blue-ink);
}

.cv-stations { display: flex; flex-direction: column; gap: 1rem; }
.cv-station {
    border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 1.25rem; background: var(--c-bg-soft); position: relative;
}
.cv-station .remove {
    position: absolute; top: .5rem; right: .5rem;
    background: transparent; border: 0; color: var(--c-red); cursor: pointer;
    font-size: 1.4rem; line-height: 1; padding: .25rem .5rem;
}
.cv-add {
    background: transparent; color: var(--c-blue-ink); border: 1px dashed var(--c-line-strong);
    padding: .75rem 1.15rem; border-radius: var(--radius); cursor: pointer;
    font: inherit; font-weight: 600; transition: all .15s;
}
.cv-add:hover { background: rgba(0,0,143,.04); border-color: var(--c-blue-ink); }

.consent {
    display: flex; gap: .75rem; align-items: flex-start;
    background: var(--c-bg-warm); padding: 1.15rem 1.35rem;
    border-radius: var(--radius); margin: 1.5rem 0;
    border-left: 3px solid var(--c-red);
}
.consent input { margin-top: .3rem; flex-shrink: 0; }
.consent label { font-size: .9rem; color: var(--c-text); line-height: 1.55; }

.form-nav {
    display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.25rem;
    padding-top: 1.5rem; border-top: 1px solid var(--c-line);
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-blue-ink);
    color: rgba(255,255,255,.78);
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
    font-size: .94rem;
}
.site-footer__inner {
    display: grid; gap: 2.5rem;
    grid-template-columns: 1.5fr 1fr 1fr;
}
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer h4 {
    color: var(--c-white); margin-bottom: 1rem; font-size: 1rem;
    letter-spacing: .03em; text-transform: uppercase; font-weight: 700;
}
.site-footer h4::after {
    content: ""; display: block; width: 28px; height: 2px;
    background: var(--c-red); margin-top: .4rem;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--c-red); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.25rem; margin-top: 2.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: .85rem; color: rgba(255,255,255,.55);
}

/* ---------- Alerts ---------- */
.alert {
    padding: 1.25rem 1.5rem; border-radius: var(--radius);
    margin-bottom: 1.5rem; border-left: 4px solid;
}
.alert--success { background: #e8f6ee; border-color: #1e8449; color: #1a5d36; }
.alert--error   { background: #fdecea; border-color: var(--c-red); color: #8b1620; }

/* ---------- Success page ---------- */
.success-hero {
    text-align: center; padding: 5rem 1.5rem 4rem;
    background: var(--c-bg-warm);
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, var(--c-blue) 50%, var(--c-red) 50%) 1;
}
.success-hero h1 { color: var(--c-blue-ink); }
.success-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--c-red); color: var(--c-white);
    display: grid; place-items: center; margin: 0 auto 1.5rem;
    font-size: 2.5rem; font-weight: 700;
    box-shadow: 0 12px 30px -10px rgba(255,23,33,.5);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--c-text-soft); }

/* ---------- Team-Grid ---------- */
.team-grid {
    display: grid; gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 960px; margin: 0 auto;
}
.team-member {
    margin: 0;
    text-align: center;
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.team-member::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-red) 100%);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.team-member:hover::after { transform: scaleX(1); }
.team-member__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--c-bg-soft);
}
.team-member__photo img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 12%;
    transition: transform .5s ease;
}
.team-member:hover .team-member__photo img { transform: scale(1.04); }
.team-member figcaption {
    padding: 1.25rem 1rem 1.5rem;
}
.team-member figcaption h3 {
    margin: 0 0 .15rem;
    font-size: 1.15rem;
    color: var(--c-blue);
}
.team-member figcaption p {
    margin: 0;
    color: var(--c-text-soft);
    font-size: .9rem;
}

/* ---------- Why-Visual (Foto-neben-Text-Block) ---------- */
.why-grid {
    display: grid; gap: 3rem;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.why-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--c-bg-soft);
}
.why-visual img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 15%;
    display: block;
}
.why-visual::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 19, 57, .35) 100%);
    z-index: 1; pointer-events: none;
}
.why-visual::after {
    /* Blauer Akzent-Winkel oben rechts */
    content: "";
    position: absolute;
    right: -6px; top: -6px;
    width: 80px; height: 80px;
    border-right: 6px solid var(--c-blue);
    border-top: 6px solid var(--c-blue);
    border-top-right-radius: var(--radius-lg);
    z-index: 2; pointer-events: none;
}
.why-visual__badge {
    position: absolute; bottom: 1.25rem; left: 1.25rem;
    background: var(--c-white); color: var(--c-blue);
    border-radius: 999px; padding: .5rem 1.1rem;
    font-size: .82rem; font-weight: 700;
    box-shadow: var(--shadow);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.why-grid .feature-grid--compact {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.75rem;
}
@media (max-width: 560px) {
    .why-grid .feature-grid--compact { grid-template-columns: 1fr; }
}
.why-grid .feature { padding: 1.25rem; }
.why-grid .feature h3 { font-size: 1.02rem; }
.why-grid .feature p { font-size: .9rem; }

/* ---------- Foto im Stellendetail ---------- */
.job-body__media {
    margin: 0 0 2.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    background: var(--c-bg-soft);
    position: relative;
    max-width: 460px;
}
.job-body__media img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 12%;
    display: block;
}
.job-body__media::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 60px; height: 4px;
    background: var(--c-red);
}
