/* ==========================================================================
   Jobs & Azubi Styles
   Exakte Nachbildung der Elementor-Originale
   Gemeinsame CSS-Datei fuer template-jobs.php und template-azubi.php
   ========================================================================== */

/* ==========================================================================
   JOBS PAGE (template-jobs.php)
   ========================================================================== */

/* Grauer Hintergrund für die gesamte Jobs-Seite (verhindert weiße Lücke oben) */
body.page-template-template-jobs {
    background-color: var(--color-bg-light, #F5F5F5);
}

/* ==========================================================================
   Jobs Scroll-Blöcke (konsistent mit Philosophie/Qualität/Umwelt/Technik)
   ========================================================================== */

.jobs-block {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.jobs-block--green {
    background: linear-gradient(135deg, #fef8ed 0%, #fdf0d5 100%);
}

.jobs-block--white {
    background: #fff;
}

/* Wasserzeichen */
.jobs-block__bg-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 280px;
    color: rgba(255, 153, 0, 0.05);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    right: -40px;
}

.jobs-block--white .jobs-block__bg-icon {
    right: auto;
    left: -40px;
}

/* Inner Layout */
.jobs-block__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Icon-Kreis */
.jobs-block__icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF9900 0%, #E07700 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 32px rgba(255, 153, 0, 0.35);
}

/* Nummer */
.jobs-block__number {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 3em;
    font-weight: 900;
    color: rgba(255, 153, 0, 0.2);
    line-height: 1;
    margin-bottom: 8px;
}

.jobs-block__text {
    flex: 1;
}

.jobs-block__text h3 {
    font-family: var(--font-primary);
    font-size: 1.6em;
    font-weight: var(--fw-bold, 700);
    color: #c47000;
    margin: 0 0 12px 0;
}

.jobs-block__text p {
    font-family: var(--font-primary);
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 12px 0;
    max-width: 640px;
}

.jobs-block__text p:last-of-type {
    margin-bottom: 0;
}

/* White blocks: Icon rechts → Text rechtsbündig */
.jobs-block--white .jobs-block__text {
    text-align: right;
}

.jobs-block--white .jobs-block__text p {
    margin-left: auto;
}

.jobs-block--white .jobs-block__cta {
    justify-content: flex-end;
}

.jobs-block--white .jobs-block__section-header {
    text-align: right;
}

.jobs-block__cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Section Header (für Stellenangebote/Ausbildung mit Karten darunter) */
.jobs-block__section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.jobs-block__section-title {
    font-family: var(--font-primary);
    font-size: 1.6em;
    font-weight: var(--fw-bold, 700);
    color: #c47000;
    margin: 0;
}

/* Karten innerhalb der jobs-blocks brauchen relative z-index */
.jobs-block .job-grid {
    position: relative;
    z-index: 1;
}

.jobs-block .job-section__empty {
    position: relative;
    z-index: 1;
}

/* --- 0. Animations --- */

@keyframes bannerKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.06); }
}

@keyframes inkReveal {
    0%   { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes inkRevealAccent {
    0%   { clip-path: inset(0 100% 0 0); opacity: 0.7; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes heroSubtitleFade {
    0%   { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealUp {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
    0%   { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* --- 1. Banner-Bild --- */

.job-banner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    margin-top: -30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.job-banner__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: bannerKenBurns 18s ease-in-out alternate infinite;
    will-change: transform;
}

.job-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
}

.job-banner__content {
    position: relative;
    z-index: 2;
    text-align: right;
    padding: 0 0 90px;
    width: 100%;
}

.job-banner__title {
    font-family: var(--font-primary);
    font-size: 4.2em;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.job-banner__word {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: inkReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.job-banner__word:nth-child(1) { animation-delay: 0.2s; }
.job-banner__word:nth-child(2) { animation-delay: 0.45s; }
.job-banner__word:nth-child(3) { animation-delay: 0.7s; }

.job-banner__word--accent {
    color: #4BD6FF;
    animation-name: inkRevealAccent;
    animation-delay: 0.7s;
    text-shadow: 0 2px 40px rgba(75, 214, 255, 0.3);
}

/* --- 2. Magenta-Streifen Hero (umgefärbt auf Orange via CSS-Filter) --- */

.job-hero {
    background-image: none;
    margin-top: -64px;
    margin-bottom: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    transform: scaleX(-1);
}

.job-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/SD-BG-Magenta-Streifen-lang.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.job-hero__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    transform: scaleX(-1);
    justify-content: flex-end;
}

.job-hero__text-col {
    flex: 0 0 auto;
    padding-left: 0;
    text-align: right;
}

.job-hero__subtitle {
    font-family: var(--font-primary);
    font-size: 2em;
    font-weight: var(--fw-light);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    animation: heroSubtitleFade 0.6s ease-out 1.1s both;
}

/* Seamless join between hero and next section */
.job-hero + .section {
    margin-top: 0;
}

/* --- Scroll-triggered reveals for intro section --- */

.reveal-group p,
.reveal-sidebar {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-sidebar {
    transform: translateX(30px);
}

.reveal-group.is-visible p {
    opacity: 1;
    transform: translateY(0);
}

.reveal-group.is-visible p:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible p:nth-child(2) { transition-delay: 0.1s; }
.reveal-group.is-visible p:nth-child(3) { transition-delay: 0.2s; }
.reveal-group.is-visible p:nth-child(4) { transition-delay: 0.3s; }

.reveal-sidebar.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

/* --- 3. Jobangebot Highlight-Banner --- */

.job-highlight {
    padding: var(--spacing-lg) 0;
}

.job-highlight__card {
    position: relative;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.job-highlight__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.job-highlight__content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl);
    max-width: 520px;
}

.job-highlight__label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.job-highlight__title {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: var(--fw-bold);
    color: var(--color-magenta);
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

.job-highlight__desc {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-normal);
    color: var(--color-white);
    line-height: 1.5;
    margin: 0 0 var(--spacing-md) 0;
}

.job-highlight__btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.job-highlight__btn:hover {
    background-color: #50b85e;
    transform: translateY(-2px);
}

/* --- 4. Sections (Stellenangebote, Ausbildung, Praktikum) --- */

.job-section {
    padding: var(--spacing-lg) 0;
}

.job-section__title {
    font-family: var(--font-primary);
    font-size: var(--fs-section-title);
    font-weight: var(--fw-medium);
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.job-section__empty {
    text-align: center;
    font-size: var(--fs-body);
    color: var(--color-text);
    grid-column: 1 / -1;
}

/* --- 5. Jobs Grid --- */

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

/* --- 6. Job Card (Image-Overlay Style) --- */

.job-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    animation: jobCardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: var(--card-delay, 0ms);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

@keyframes jobCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image fills entire card */
.job-card__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.job-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    font-size: 4em;
    color: rgba(75, 214, 255, 0.25);
}

.job-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.job-card:hover .job-card__img {
    transform: scale(1.08);
}

/* Dark gradient overlay */
.job-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.05) 70%,
        transparent 100%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.job-card:hover .job-card__overlay {
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(0, 0, 0, 0.1) 75%,
        transparent 100%
    );
}

/* Content positioned at bottom */
.job-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Badge label */
.job-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 5px 14px;
    border-radius: 4px;
}

.job-card__badge--azubi {
    background-color: var(--color-magenta);
}

.job-card__title {
    font-family: var(--font-primary);
    font-size: 1.35em;
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.job-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
    padding: 0;
    background: none;
    border-radius: 0;
}

.job-card__cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.job-card:hover .job-card__cta {
    color: var(--color-white);
    gap: 14px;
}

.job-card:hover .job-card__cta i {
    transform: translateX(4px);
}

/* Azubi accent: cyan top border glow */
.job-card--azubi {
    border-top: none;
}

.job-card--azubi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-magenta), #ff6fb5);
    z-index: 3;
}

/* --- 6b. Intro Text + Praktikum Sidebar --- */

.job-intro-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* Erster Absatz hervorgehoben */
.job-intro p:first-child {
    font-family: var(--font-primary);
    font-size: 1.15em;
    line-height: 1.75;
    color: var(--color-secondary);
    font-weight: var(--fw-medium);
    margin-bottom: 20px;
}

.job-intro p {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
}

.job-intro p:last-child {
    margin-bottom: 0;
}

/* Zwei-Spalten für die unteren Absätze */
.job-intro {
    columns: 2;
    column-gap: 32px;
}

.job-intro p:first-child {
    column-span: all;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Praktikum Sidebar */
.job-praktikum-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--color-primary);
    position: sticky;
    top: 120px;
}

.job-praktikum-sidebar__title {
    font-family: var(--font-primary);
    font-size: 1.15em;
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
    margin: 0 0 12px 0;
}

.job-praktikum-sidebar p {
    font-family: var(--font-primary);
    font-size: 0.92em;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 20px;
}

.job-praktikum-sidebar__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-praktikum-sidebar__cta .job-btn {
    justify-content: center;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.9em;
    width: 100%;
    transition: all 0.25s ease;
}

.job-praktikum-sidebar__cta .job-btn:hover {
    transform: translateY(-2px);
}

/* --- 7. Praktikum Modal --- */

.praktikum-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.praktikum-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.praktikum-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.praktikum-modal__dialog {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    background: #fff;
    border-radius: 0;
    padding: 60px 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.praktikum-modal__dialog > *:not(.praktikum-modal__close) {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.praktikum-modal[aria-hidden="false"] .praktikum-modal__dialog {
    transform: translateY(0);
}

.praktikum-modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: #f4f4f4;
    border-radius: 50%;
    font-size: 18px;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.praktikum-modal__close:hover {
    background: #e0e0e0;
}

.praktikum-modal__title {
    font-family: var(--font-primary);
    font-size: 1.4em;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
    margin: 0 0 8px 0;
}

.praktikum-modal__intro {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--color-text);
    margin-bottom: 28px;
}

/* --- 8. Bewerbung Section (Jobs-Seite) --- */

.job-bewerbung {
    padding: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    background: #e0f7ff;
}

.job-bewerbung__hero-wrap {
    background: linear-gradient(to bottom, var(--color-dark, #2B2F33) 50%, #e0f7ff 50%);
}

.job-bewerbung__hero {
    padding: 20px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.job-bewerbung__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/SD-BG-Magenta-Streifen-lang.svg');
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scaleX(-1);
    pointer-events: none;
    z-index: 0;
}

.job-bewerbung__form-bg {
    background: #e0f7ff;
    padding-bottom: 60px;
}

.job-bewerbung:last-child {
    margin-bottom: 0;
}

.job-bewerbung__hero-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.job-bewerbung__hero-icon-col {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.job-bewerbung__hero-text-col {
    flex: 0 0 auto;
    padding-left: 0;
    text-align: right;
}

.job-bewerbung__hero-title {
    font-family: var(--font-primary);
    font-size: 3em;
    font-weight: var(--fw-medium);
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

.job-bewerbung__hero-subtitle {
    font-family: var(--font-primary);
    font-size: 2em;
    font-weight: var(--fw-light);
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

/* Form wrapper — clean white card */
.job-bewerbung__form-wrap {
    max-width: 100%;
    margin: 48px auto 0;
    padding: 48px 50px 56px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 64px;
}

.job-bewerbung__intro {
    font-family: var(--font-primary);
    font-size: 1.15em;
    font-weight: var(--fw-normal);
    color: var(--color-text);
    text-align: center;
    margin-bottom: 36px;
    line-height: 1.7;
}

.job-bewerbung__fallback {
    text-align: center;
}

/* --- Bewerbung Success --- */
.job-bewerbung__success {
    text-align: center;
    padding: 60px 20px;
}

.job-bewerbung__success i {
    font-size: 4em;
    color: #61CE70;
    margin-bottom: 16px;
    display: block;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.job-bewerbung__success p {
    font-size: 1.4em;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
}

/* --- Fehlermeldung --- */

.job-bewerbung__error {
    text-align: center;
    padding: 24px 20px;
    margin-bottom: 32px;
    background: #fff3f3;
    border: 2px solid #e53935;
    border-radius: 6px;
}

.job-bewerbung__error i {
    font-size: 2em;
    color: #e53935;
    margin-bottom: 10px;
    display: block;
}

.job-bewerbung__error p {
    font-size: 1em;
    color: #c62828;
    margin: 0;
}

/* --- Bewerbung Form --- */

.bewerbung-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bewerbung-form__group {
    margin-bottom: 20px;
}

.bewerbung-form__group--full {
    margin-bottom: 20px;
}

.bewerbung-form__group--small {
    max-width: 160px;
}

/* Labels */
.bewerbung-form__group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.bewerbung-form__group label .required {
    color: #E5007D;
    font-weight: var(--fw-bold);
}

.bewerbung-form__hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8em;
    color: #888;
}

.bewerbung-form__file-error {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #e53935;
    font-weight: 500;
}

.bewerbung-form__input--error {
    border-color: #e53935 !important;
    background-color: #fff8f8 !important;
}

/* Inputs, selects, textareas */
.bewerbung-form__group input[type="text"],
.bewerbung-form__group input[type="email"],
.bewerbung-form__group input[type="tel"],
.bewerbung-form__group input[type="date"],
.bewerbung-form__group select,
.bewerbung-form__group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-secondary);
    background-color: #f8f9fb;
    border: 1.5px solid #dfe3e8;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bewerbung-form__group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2354595F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.bewerbung-form__group input:hover,
.bewerbung-form__group select:hover,
.bewerbung-form__group textarea:hover {
    border-color: #c4cad3;
    background-color: #fff;
}

.bewerbung-form__group input:focus,
.bewerbung-form__group select:focus,
.bewerbung-form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(75, 214, 255, 0.1);
}

/* File upload – nativ */
.bewerbung-form__group input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-secondary);
    cursor: pointer;
    box-sizing: border-box;
}

.bewerbung-form__group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Section dividers */
.bewerbung-form__divider {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
    margin: 28px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaed;
}

/* Checkbox */
.bewerbung-form__checkbox {
    margin-top: 24px;
    padding: 18px 20px;
    background: #f8f9fb;
    border-radius: 6px;
    border: 1.5px solid #dfe3e8;
}

.bewerbung-form__checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: var(--fw-normal);
    color: var(--color-text);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
}

.bewerbung-form__checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.bewerbung-form__checkbox a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    border-bottom: 1px solid rgba(75, 214, 255, 0.3);
    transition: border-color 0.2s ease;
}

.bewerbung-form__checkbox a:hover {
    border-bottom-color: var(--color-primary);
}

/* Submit button */
.bewerbung-form__submit {
    margin-top: 32px;
    text-align: center;
}

/* Sende-Spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

[type="submit"]:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.bewerbung-form__submit .job-btn {
    font-size: 1.1em;
    padding: 16px 48px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.bewerbung-form__submit .job-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    background: #3d4248;
}

.job-bewerbung__fallback p {
    margin-bottom: var(--spacing-xs);
    font-size: var(--fs-body);
    color: var(--color-text);
}

.job-bewerbung__fallback a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* --- 9. Shared Buttons --- */

.job-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: var(--fw-bold);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.job-btn i {
    font-size: 1em;
}

.job-btn--primary {
    color: var(--color-white);
    background-color: var(--color-secondary);
}

.job-btn--primary:hover {
    background-color: #3d4248;
    transform: translateY(-2px);
}

.job-btn--secondary {
    color: var(--color-white);
    background-color: var(--color-primary);
}

.job-btn--secondary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}


/* ==========================================================================
   AZUBI / STELLE PAGE (template-azubi.php)
   ========================================================================== */

/* --- 1. Banner-Bild --- */

.azubi-banner {
    min-height: 333px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: -30px;
}

/* --- 2. Magenta-Streifen Hero --- */

.azubi-hero {
    background-image: url('../images/SD-BG-Magenta-Streifen-lang.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -64px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    transform: scaleX(-1);
}

.azubi-hero__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    transform: scaleX(-1);
    justify-content: flex-end;
}

.azubi-hero__icon-col {
    flex: 0 0 10%;
    display: flex;
    justify-content: center;
}

.azubi-hero__icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 32px;
}

.azubi-hero__text-col {
    flex: 0 0 auto;
    padding-left: 0;
    text-align: right;
}

.azubi-hero__title {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: var(--fw-medium);
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.azubi-hero__subtitle {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-light);
    color: var(--color-white);
    line-height: 1.3;
    margin: 0 0 10px 0;
}

/* --- 3. Main Content Grid (2 Spalten) --- */

.azubi-main {
    padding: var(--spacing-lg) 0;
}

.azubi-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

/* Linke Spalte: Q&A Inhalte */

.azubi-main__content {
    padding-right: var(--spacing-md);
}

.azubi-main__question {
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
    margin: var(--spacing-md) 0 var(--spacing-xs) 0;
}

.azubi-main__question:first-child {
    margin-top: 0;
}

.azubi-main__answer {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.azubi-main__answer p {
    margin-bottom: var(--spacing-sm);
}

.azubi-main__answer ul {
    padding-left: 20px;
    margin-bottom: var(--spacing-sm);
}

.azubi-main__answer ul li {
    line-height: 1.7;
    margin-bottom: 4px;
    color: var(--color-text);
}

.azubi-main__wp-content h2,
.azubi-main__wp-content h3 {
    margin: var(--spacing-md) 0 var(--spacing-xs) 0;
    color: var(--color-secondary);
}

.azubi-main__wp-content p {
    margin-bottom: var(--spacing-sm);
    line-height: var(--lh-body);
    color: var(--color-text);
}

/* Rechte Spalte: Info-Boxen */

.azubi-main__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding-top: 15px;
}

/* --- 4. Info-Boxen (Azubi Sidebar) --- */

.azubi-box {
    padding: var(--card-padding);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

/* Salary Box: Cyan Rahmen-Hintergrund */
.azubi-box--salary {
    border: 2px solid var(--color-primary);
    background-color: rgba(75, 214, 255, 0.05);
}

/* Tip Box: Cyan Rahmen */
.azubi-box--tip {
    border: 2px solid var(--color-primary);
    background-color: rgba(75, 214, 255, 0.05);
}

/* Start Box: Gruen Rahmen */
.azubi-box--start {
    border: 2px solid var(--color-accent);
    background-color: rgba(97, 206, 112, 0.05);
}

.azubi-box__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-extrabold);
    color: var(--color-secondary);
    text-transform: uppercase;
    margin: 0 0 var(--spacing-sm) 0;
}

.azubi-box__title--large {
    font-size: 2.5em;
}

.azubi-box__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.azubi-box__text {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-normal);
    color: var(--color-secondary);
    line-height: 1.5;
    margin: 0 0 var(--spacing-sm) 0;
}

.azubi-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: var(--fw-bold);
    color: var(--color-white);
    background-color: var(--color-secondary);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.azubi-box__btn:hover {
    background-color: #3d4248;
    transform: translateY(-2px);
}

/* --- 5. Progress Bars (Ausbildungsverguetung) --- */

.azubi-progress {
    margin-bottom: 8px;
}

.azubi-progress__label {
    display: block;
    font-family: var(--font-primary);
    font-size: 1em;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.azubi-progress__track {
    width: 100%;
    height: 28px;
    background-color: var(--color-primary);
    border-radius: 4px;
    overflow: hidden;
}

.azubi-progress__bar {
    height: 100%;
    background-color: var(--color-magenta);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease;
}

.azubi-progress__amount {
    font-family: var(--font-primary);
    font-size: 1em;
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    white-space: nowrap;
}

/* --- 6. Bewerbung Hero (Azubi-Seite) --- */

.azubi-bewerbung-cta {
    padding: 40px 0;
}

.azubi-bewerbung-cta__inner {
    text-align: center;
}

.azubi-bewerbung-cta__btn {
    display: inline-block;
    padding: 16px 48px;
    background-color: #E5007D;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.azubi-bewerbung-cta__btn:hover {
    background-color: #c80069;
    transform: scale(1.03);
}

.azubi-bewerbung-cta__btn i {
    margin-right: 8px;
}

/* --- 7. Bewerbung Content --- */

.azubi-bewerbung {
    padding: var(--spacing-lg) 0;
}

.azubi-bewerbung__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.azubi-bewerbung__content p {
    font-family: var(--font-primary);
    font-size: 1.2em;
    color: var(--color-text);
    line-height: var(--lh-body);
    margin-bottom: var(--spacing-md);
}

.azubi-bewerbung__content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.azubi-bewerbung__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* --- 8. Weitere Stellen Teaser --- */

.azubi-teaser {
    padding: var(--spacing-lg) 0;
}

.azubi-teaser__inner {
    text-align: center;
}

.azubi-teaser__title {
    font-family: var(--font-primary);
    font-size: var(--fs-section-title);
    font-weight: var(--fw-medium);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.azubi-teaser__text {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

/* --- 9. Azubi Pitch --- */

.azubi-pitch {
    padding: 32px 0 0;
    text-align: center;
}

.azubi-pitch__text {
    font-family: var(--font-primary);
    font-size: 1.4em;
    font-weight: var(--fw-light);
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.5;
}

/* --- 10. Fakten-Leiste --- */

.azubi-facts {
    padding: 32px 0;
}

.azubi-facts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.azubi-facts__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border: 2px solid var(--color-accent, #4BD6FF);
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.azubi-facts__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.azubi-facts__icon {
    font-size: 2em;
    color: var(--color-accent, #4BD6FF);
    margin-bottom: 12px;
}

.azubi-facts__label {
    font-family: var(--font-primary);
    font-size: 0.85em;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light, #999);
    margin-bottom: 4px;
}

.azubi-facts__value {
    font-family: var(--font-primary);
    font-size: 1.3em;
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
}

/* --- 11. Gehalts-Karten (nebeneinander) --- */

.azubi-salary {
    padding: 24px 0 40px;
}

.azubi-salary__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-extrabold);
    color: var(--color-secondary);
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.azubi-salary__arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.azubi-salary__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

@keyframes salaryCardIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes salaryBarGrow {
    0% { width: 0; }
    100% { width: var(--fill); }
}

@keyframes salaryAmountCount {
    0% { opacity: 0; transform: scale(0.8); }
    60% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.azubi-salary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid var(--color-primary, #e8e8e8);
    border-radius: 12px;
    padding: 24px 16px 20px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    animation: salaryCardIn 0.5s ease-out both;
    animation-delay: var(--delay, 0s);
}

.azubi-salary-card:hover {
    border-color: #E5007D;
    box-shadow: 0 4px 20px rgba(229, 0, 125, 0.12);
    transform: translateY(-4px);
}

.azubi-salary-card__year {
    font-family: var(--font-primary);
    font-size: 0.8em;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text, #54595F);
    margin-bottom: 12px;
}

.azubi-salary-card__amount {
    font-family: var(--font-primary);
    font-size: 1.6em;
    font-weight: 900;
    color: #E5007D;
    line-height: 1;
    margin-bottom: 16px;
    animation: salaryAmountCount 0.6s ease-out both;
    animation-delay: calc(var(--delay, 0s) + 0.3s);
}

.azubi-salary-card__bar-track {
    width: 100%;
    height: 6px;
    background: var(--color-primary, #e8e8e8);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.azubi-salary-card__bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--fill, 0%);
    height: 100%;
    background: linear-gradient(90deg, #4BD6FF, #E5007D);
    border-radius: 3px;
    animation: salaryBarGrow 0.8s ease-out both;
    animation-delay: calc(var(--delay, 0s) + 0.2s);
}

/* --- 12. Akkordeon --- */

.azubi-accordion-section {
    padding: 40px 0;
    background-color: var(--color-bg-light, #f7f7f7);
}

.azubi-accordion__heading {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: var(--fw-extrabold);
    color: var(--color-secondary);
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.azubi-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.azubi-accordion {
    max-width: none;
}

.azubi-accordion-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.azubi-accordion-sidebar .azubi-tipp__card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 12px;
}

.azubi-accordion-sidebar .azubi-tipp__btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.azubi-bewerbung-cta__btn--sidebar {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* --- Countdown Card --- */
@keyframes countdownGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(75, 214, 255, 0.2), 0 2px 10px rgba(0,0,0,0.05); }
    50% { box-shadow: 0 0 30px rgba(75, 214, 255, 0.35), 0 6px 28px rgba(229, 0, 125, 0.12); }
}

@keyframes countdownBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(-20deg); }
    25% { transform: translateY(-6px) rotate(-8deg); }
    50% { transform: translateY(-2px) rotate(-18deg); }
    75% { transform: translateY(-8px) rotate(-12deg); }
}

@keyframes rocketRing {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-60px) translateX(20px) scale(0); opacity: 0; }
}

@keyframes numberPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes progressPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes progressShine {
    0% { left: -40%; }
    100% { left: 140%; }
}

.azubi-start-countdown {
    position: relative;
    padding: 24px 20px 20px;
    background: linear-gradient(160deg, #0d1b2a 0%, #1b2d45 40%, #162336 100%);
    border-radius: 12px;
    overflow: hidden;
    animation: countdownGlow 3s ease-in-out infinite;
}

/* Animated gradient border */
.azubi-start-countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(90deg, #4BD6FF, #E5007D, #4BD6FF, #E5007D, #4BD6FF, #E5007D);
    background-size: 300% 100%;
    animation: countdownBorder 5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Floating particles */
.azubi-start-countdown__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.azubi-start-countdown__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4BD6FF;
    animation: particleFloat 3s ease-out infinite;
}

.azubi-start-countdown__particles span:nth-child(1) { left: 10%; bottom: 20%; animation-delay: 0s; animation-duration: 3.2s; }
.azubi-start-countdown__particles span:nth-child(2) { left: 30%; bottom: 10%; animation-delay: 0.6s; animation-duration: 2.8s; background: #E5007D; }
.azubi-start-countdown__particles span:nth-child(3) { left: 55%; bottom: 25%; animation-delay: 1.2s; animation-duration: 3.5s; }
.azubi-start-countdown__particles span:nth-child(4) { left: 75%; bottom: 15%; animation-delay: 0.3s; animation-duration: 2.6s; background: #E5007D; }
.azubi-start-countdown__particles span:nth-child(5) { left: 85%; bottom: 30%; animation-delay: 1.8s; animation-duration: 3s; }
.azubi-start-countdown__particles span:nth-child(6) { left: 45%; bottom: 5%; animation-delay: 2.2s; animation-duration: 3.4s; background: #E5007D; width: 3px; height: 3px; }

/* Header row */
.azubi-start-countdown__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.azubi-start-countdown__icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4BD6FF, #E5007D);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1em;
    animation: rocketFloat 3s ease-in-out infinite;
}

.azubi-start-countdown__icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(75, 214, 255, 0.5);
    animation: rocketRing 2s ease-out infinite;
}

.azubi-start-countdown__title {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.05em;
    font-weight: var(--fw-bold);
    color: #fff;
    margin-bottom: 2px;
}

.azubi-start-countdown__subtitle {
    font-family: var(--font-primary);
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

.azubi-start-countdown__subtitle em {
    font-style: normal;
    font-weight: var(--fw-bold);
    color: #4BD6FF;
}

/* Countdown timer */
.azubi-start-countdown__timer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.azubi-start-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.azubi-start-countdown__number {
    font-family: var(--font-primary);
    font-size: 1.9em;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    background: linear-gradient(180deg, #fff 20%, #4BD6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.azubi-start-countdown__number.pop {
    animation: numberPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.azubi-start-countdown__label {
    font-family: var(--font-primary);
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.azubi-start-countdown__sep {
    font-size: 1.5em;
    font-weight: 700;
    color: #E5007D;
    animation: progressPulse 1s ease-in-out infinite;
    margin-top: -14px;
}

/* Progress bar */
.azubi-start-countdown__progress {
    position: relative;
    z-index: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.azubi-start-countdown__progress-bar {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #4BD6FF, #E5007D);
    width: 0%;
    transition: width 1s ease-out;
    position: relative;
}

.azubi-start-countdown__progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.azubi-accordion__item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}

.azubi-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-weight: var(--fw-semibold);
    color: var(--color-secondary);
    transition: background-color 0.2s;
}

.azubi-accordion__trigger:hover {
    background-color: rgba(75, 214, 255, 0.05);
}

.azubi-accordion__chevron {
    font-size: 0.85em;
    color: var(--color-accent, #4BD6FF);
    transition: transform 0.3s;
}

.azubi-accordion__item--open .azubi-accordion__chevron {
    transform: rotate(180deg);
}

.azubi-accordion__panel {
    overflow: hidden;
}

.azubi-accordion__answer {
    padding: 0 24px 20px;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
}

.azubi-accordion__answer p {
    margin-bottom: var(--spacing-sm);
}

/* --- 13. Bewerbungs-Timeline --- */

.azubi-timeline {
    background-image: url('../images/SD-BG-Magenta-Section.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #E5007D;
    padding: 48px 0;
}

.azubi-timeline__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.8em;
    font-weight: var(--fw-extrabold);
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 36px 0;
}

.azubi-timeline__arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.azubi-timeline__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.azubi-timeline__steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 3px;
    background: rgba(255,255,255,0.4);
}

.azubi-timeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.azubi-timeline__marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.azubi-timeline__marker img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.azubi-timeline__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.azubi-timeline__content strong {
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-weight: var(--fw-bold);
    color: #fff;
}

.azubi-timeline__content > span {
    font-family: var(--font-primary);
    font-size: 0.9em;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

.azubi-timeline__badge {
    font-size: 0.8em;
    font-weight: var(--fw-normal);
    font-style: italic;
    color: rgba(255,255,255,0.4);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.azubi-timeline__step--optional:hover .azubi-timeline__badge {
    visibility: visible;
    opacity: 1;
}

.azubi-timeline__step--optional {
    opacity: 0.7;
}

.azubi-timeline__step--optional:hover {
    opacity: 1;
}

.azubi-timeline__cta {
    text-align: center;
    margin-top: 36px;
}

.azubi-timeline__cta-btn {
    display: inline-block;
    padding: 18px 56px;
    background: #fff;
    color: #E5007D;
    font-family: var(--font-primary);
    font-size: 1.3em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.azubi-timeline__cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.azubi-timeline__cta-btn i {
    margin-right: 10px;
}

/* --- 14. Praktikums-Tipp --- */

.azubi-tipp {
    padding: 24px 0 40px;
}

.azubi-tipp__card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background-color: rgba(75, 214, 255, 0.08);
    border: 2px solid var(--color-accent, #4BD6FF);
    border-radius: 8px;
}

.azubi-tipp__icon {
    font-size: 2em;
    color: var(--color-accent, #4BD6FF);
    flex-shrink: 0;
}

.azubi-tipp__text {
    font-family: var(--font-primary);
    font-size: 1.05em;
    color: var(--color-secondary);
    line-height: 1.5;
    flex: 1;
}

.azubi-tipp__text strong {
    display: block;
    font-size: 1.15em;
    margin-bottom: 4px;
}

.azubi-tipp__btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 24px;
    background-color: var(--color-accent, #4BD6FF);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: var(--fw-bold);
    font-size: 0.95em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.azubi-tipp__btn:hover {
    background-color: #3bc4ed;
}

/* --- 15. Sticky Mobile CTA --- */

.azubi-sticky-cta {
    display: none;
}

/* --- section--light helper (used on parent) --- */

.section--light {
    background-color: var(--color-bg-light);
}


/* ==========================================================================
   Responsive – Tablet (max 1024px)
   ========================================================================== */

@media (max-width: 1024px) {

    /* Job Banner – Tablet */
    .job-banner {
        min-height: 280px;
    }

    .job-banner__title {
        font-size: 3em;
    }

    .job-banner__content {
        padding: 60px 0 40px;
    }

    .job-hero__subtitle {
        font-size: 1.5em;
    }

    /* Jobs Grid */
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-card {
        min-height: 340px;
    }

    /* Jobangebot Highlight */
    .job-highlight__title {
        font-size: 2em;
    }

    .job-highlight__desc {
        font-size: 1.2em;
    }

    .job-highlight__content {
        padding: var(--spacing-lg);
    }

    /* Azubi Hero */
    .azubi-hero {
        margin-top: -110px;
    }

    .azubi-hero__title {
        font-size: 2.5em;
    }

    .azubi-hero__subtitle {
        font-size: 1.5em;
    }

    /* Azubi Main Grid */
    .azubi-main__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .azubi-main__content {
        padding-right: 0;
    }

    /* Bewerbung Hero */
    .job-bewerbung__hero-title,
    .azubi-hero__title {
        font-size: 2.5em;
    }

    .job-bewerbung__hero-subtitle {
        font-size: 1.5em;
    }
}


/* ==========================================================================
   Responsive – Mobile (max 767px)
   ========================================================================== */

@media (max-width: 767px) {

    /* Jobs Scroll-Blöcke mobil */
    .jobs-block {
        padding: 40px 0;
        min-height: auto;
    }

    .jobs-block__inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .jobs-block__icon {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

    .jobs-block__bg-icon {
        font-size: 140px;
        right: -20px;
    }

    .jobs-block--white .jobs-block__bg-icon {
        left: -20px;
    }

    .jobs-block__number {
        font-size: 2em;
    }

    .jobs-block__text h3 {
        font-size: 1.25em;
    }

    .jobs-block__text p {
        font-size: 0.95em;
    }

    .jobs-block__cta {
        justify-content: center;
    }

    /* Banners auf Mobile */
    .azubi-banner {
        display: none;
    }

    /* Job Banner – Mobile */
    .job-banner {
        min-height: 240px;
        margin-top: 0;
    }

    .job-banner__title {
        font-size: 2.4em;
    }

    .job-banner__content {
        text-align: center;
        padding: 50px 0 30px;
    }

    .job-hero {
        margin-top: 0;
        transform: none;
    }

    .job-hero::before {
        filter: none;
        background-image: none;
        background-color: #FF9900;
    }

    .job-hero__inner {
        transform: none;
        justify-content: center;
    }

    .job-hero__text-col {
        text-align: center;
    }

    .job-hero__subtitle {
        font-size: 1.2em;
    }

    /* Azubi Hero Mobile */
    .azubi-hero {
        min-height: auto;
        margin-top: 0;
        background-image: none;
        background-color: #E5007D;
        transform: none;
    }

    .azubi-hero__inner,
    .job-bewerbung__hero-inner,
    .azubi-bewerbung-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        transform: none;
        justify-content: center;
    }

    .azubi-hero__text-col,
    .job-bewerbung__hero-text-col {
        text-align: center;
    }

    .azubi-hero__icon-col,
    .job-bewerbung__hero-icon-col {
        flex: none;
    }

    .azubi-hero__icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-top: -35px;
    }

    .azubi-hero__text-col,
    .job-bewerbung__hero-text-col {
        padding-left: 0;
    }

    .azubi-hero__title,
    .job-bewerbung__hero-title {
        font-size: 1.6em;
    }

    .azubi-hero__subtitle,
    .job-bewerbung__hero-subtitle {
        font-size: 1.2em;
    }

    /* Jobangebot Highlight */
    .job-highlight__card {
        min-height: 300px;
        flex-direction: column;
    }

    .job-highlight__content {
        padding: var(--spacing-md);
    }

    .job-highlight__title {
        font-size: 1.6em;
    }

    .job-highlight__desc {
        font-size: 1em;
    }

    /* Jobs Grid */
    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        min-height: 300px;
    }

    /* Intro + Praktikum Sidebar */
    .job-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .job-intro {
        columns: 1;
    }

    .job-praktikum-sidebar {
        position: static;
    }

    /* Praktikum Modal */
    .praktikum-modal__dialog {
        padding: 40px 0;
    }

    /* Bewerbung Form */
    .job-bewerbung__form-wrap {
        padding: 28px 20px 36px;
        margin: 32px auto 0;
        margin-bottom: 40px;
    }

    .job-bewerbung__banner {
        display: none;
    }

    .bewerbung-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bewerbung-form__group--small {
        max-width: none;
    }

    .bewerbung-form__submit .job-btn {
        padding: 14px 36px;
        font-size: 1em;
        width: 100%;
    }

    .job-bewerbung__hero,
    .azubi-bewerbung-hero {
        min-height: auto;
        margin-top: 0;
        background-image: none;
        background-color: #E5007D;
        transform: none;
    }

    .job-bewerbung__hero-inner {
        transform: none;
        justify-content: center;
    }

    .job-bewerbung__hero-text-col {
        text-align: center;
    }

    /* Azubi Main Grid */
    .azubi-main__grid {
        grid-template-columns: 1fr;
    }

    .azubi-main__content {
        padding-right: 0;
    }

    /* Azubi Boxes */
    .azubi-box__title {
        font-size: 1.2em;
    }

    .azubi-box__title--large {
        font-size: 1.8em;
    }

    .azubi-box__text {
        font-size: 1.1em;
    }

    /* Bewerbung Buttons */
    .azubi-bewerbung__buttons {
        flex-direction: column;
        align-items: center;
    }

    .azubi-bewerbung__buttons .job-btn {
        width: 100%;
        justify-content: center;
    }

    /* Buttons */
    .job-btn {
        font-size: 1em;
        padding: 10px 20px;
    }

    /* Section Titles */
    .job-section__title,
    .azubi-teaser__title {
        font-size: 1.5em;
    }

    /* Azubi Accordion Grid */
    .azubi-accordion-grid {
        grid-template-columns: 1fr;
    }

    .azubi-accordion-sidebar {
        position: static;
    }

    /* Azubi Facts */
    .azubi-facts__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .azubi-facts__card {
        flex-direction: row;
        gap: 16px;
        text-align: left;
        padding: 16px 20px;
    }

    .azubi-facts__icon {
        font-size: 1.5em;
        margin-bottom: 0;
    }

    /* Azubi Timeline */
    .azubi-timeline {
        background-image: none;
        background-color: #E5007D;
    }

    .azubi-timeline__steps {
        grid-template-columns: 1fr 1fr;
        gap: 24px 0;
    }

    .azubi-timeline__steps::before {
        display: none;
    }

    /* Azubi Tipp */
    .azubi-tipp__card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .azubi-tipp__btn {
        width: 100%;
        text-align: center;
    }

    /* Sticky CTA on Mobile */
    .azubi-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        padding: 12px 16px;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    }

    .azubi-sticky-cta__btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        background-color: #E5007D;
        color: #fff;
        font-family: var(--font-primary);
        font-size: 1.1em;
        font-weight: 700;
        text-decoration: none;
        border-radius: 4px;
    }

    .azubi-sticky-cta__btn i {
        margin-right: 8px;
    }

    /* Footer spacing for sticky CTA */
    .azubi-teaser {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   „Keine passende Stelle?" – Initiativbewerbung
   ========================================================================== */

.job-initiativ {
    background: var(--color-dark, #2B2F33);
    padding: 48px 0;
}

.job-initiativ__inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.job-initiativ__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--color-magenta, #E5007D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: #fff;
}

.job-initiativ__text {
    flex: 1;
}

.job-initiativ__title {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.job-initiativ__desc {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 0.95em;
}

.job-initiativ__cta {
    flex-shrink: 0;
}

/* ==========================================================================
   Multi-Step Formular
   ========================================================================== */

/* Step Indicator */
.bwf-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.bwf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    flex: 1;
}

.bwf-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.bwf-step--done:not(:last-child)::after,
.bwf-step--active:not(:last-child)::after {
    background: var(--color-magenta, #E5007D);
}

.bwf-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ddd;
    color: #888;
    font-weight: 700;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background 0.3s, color 0.3s;
}

.bwf-step--active .bwf-step__num {
    background: var(--color-magenta, #E5007D);
    color: #fff;
}

.bwf-step--done .bwf-step__num {
    background: #2B2F33;
    color: #fff;
}

.bwf-step__label {
    font-size: 0.7em;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.bwf-step--active .bwf-step__label {
    color: var(--color-magenta, #E5007D);
}

.bwf-step--done .bwf-step__label {
    color: #2B2F33;
}

/* Navigation buttons */
.bwf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
}

.bwf-nav--right {
    justify-content: flex-end;
}

/* Outline button variant */
.job-btn--outline {
    background: transparent;
    border: 2px solid #2B2F33;
    color: #2B2F33;
}

.job-btn--outline:hover {
    background: #2B2F33;
    color: #fff;
}

/* File hint success state */
.bewerbung-form__hint--success {
    color: #2a9d2a;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .job-initiativ__inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .bwf-step__label {
        display: none;
    }

    .bwf-nav {
        flex-direction: column-reverse;
    }

    .bwf-nav .job-btn {
        width: 100%;
        justify-content: center;
    }
}
