/* =========================================
   HERO WIDGETS – Leitartikel / Lead Story
   Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA
   ========================================= */

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero {
    display: block;
    padding: 0 0 1.25rem;
    position: relative;
    z-index: 10;
    text-align: left;
    background-color: transparent;
    border-bottom: 3px double var(--color-border);
    margin-bottom: 1.25rem;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding: 0;
    background-color: transparent;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-text {
    width: 100%;
    text-align: left;
    order: 3;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-visual {
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    margin: 0.75rem 0 0;
    gap: 0;
    order: 2;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-image-wrapper {
    position: relative;
    border-radius: 0;
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: block;
    padding: 0;
    background: var(--color-surface);
    width: 100%;
    max-width: 100%;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: auto;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 0;
    width: 100%;
    max-width: 100%;
    clear: both;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
.base-hero-cta {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
}

.base-badge {
    display: inline-block;
    padding: 2px 6px;
    background: var(--color-primary-soft-bg);
    border: 1px solid var(--color-primary-soft-border);
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-nav);
}

.base-badge-dot {
    display: none;
}

.base-hero-action-icon {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Tablet + Desktop: H1 volle Breite; Beschreibung umfliesst Grafik rechts; CTA clear unter Desc mittig */
/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
@media (min-width: 600px) {
    .base-hero {
        padding-bottom: 1.5rem;
    }

    .base-hero-content {
        display: block;
    }

    .base-hero-content::after {
        content: "";
        display: table;
        clear: both;
    }

    .base-hero-text {
        order: unset;
        width: auto;
        overflow: visible;
    }

    .base-hero-visual {
        float: right;
        width: 50%;
        max-width: 560px;
        margin: 0 0 1rem 1.75rem;
        justify-content: flex-start;
        align-items: stretch;
        order: unset;
    }

    .base-hero-actions {
        justify-content: center;
    }

    .base-hero-cta {
        width: 100%;
        max-width: 18rem;
    }

    .base-hero-image-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .base-hero-image {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

/* Desktop: groessere Hero-Grafik; CTA Inhaltsbreite mittig */
/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Jobsuche-CTA unter Desc mittig und breiter; Mobile H1-Grafik-Desc-CTA */
@media (min-width: 1024px) {
    .base-hero-visual {
        width: 52%;
        max-width: 620px;
        margin: 0 0 1.25rem 2rem;
    }

    .base-hero-cta {
        width: auto;
        min-width: 14rem;
        max-width: none;
        padding-left: 2.75rem;
        padding-right: 2.75rem;
    }
}
