/* =========================================
   HERO WIDGETS
   ========================================= */

.base-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2px 0 3rem;
    position: relative;
    z-index: 10;
    text-align: center;
    background-color: #ffffff;
}

@media (min-width: 1024px) {
    .base-hero {
        flex-direction: row;
        text-align: left;
        padding: 2px 0 5rem;
        gap: 50px;
    }
}

.base-hero-content {
    flex: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 3px;
    background-color: #ffffff;
}

/* Änderungsprotokoll: 2026-06-16 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Content ohne 600px-Deckel, volle Flex-Spaltenbreite */

/* Änderungsprotokoll: 2026-06-06 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Textblock linksbuendig auf allen Breakpoints */
.base-hero-text {
    width: 100%;
    text-align: left;
}

.base-hero-visual {
    flex: 0 0 auto;
    position: relative;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.base-hero-image-wrapper {
    position: relative;
    border-radius: 0;
    border: none;
    overflow: visible;
    display: block;
    background: transparent;
}

.base-hero-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
}

/* Änderungsprotokoll: 2026-06-06 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Bild auf Small Desktop proportional begrenzen */
/* Änderungsprotokoll: 2026-06-16 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Bild vollständig sichtbar (kein max-height, object-fit contain) */
@media (min-width: 1024px) {
    .base-hero-visual {
        flex: 1;
        width: auto;
    }

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

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

/* Änderungsprotokoll: 2026-06-06 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Buttons inhaltsbreit statt Grid-Vollbreite */
/* Änderungsprotokoll: 2026-06-16 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Buttons nebeneinander, kompakteres Padding auf Mobile */
/* Änderungsprotokoll: 2026-06-16 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Buttons nowrap bis Tablet, kompaktes Padding bis 1023px */
/* Änderungsprotokoll: 2026-06-16 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Buttons horizontal mittig */
.base-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1023px) {
    .base-hero-actions {
        gap: 0.5rem;
    }

    .base-hero-actions > .base-button-primary-lg,
    .base-hero-actions > .base-button-secondary-lg {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 359px) {
    .base-hero-actions {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .base-hero-actions > .base-button-primary-lg,
    .base-hero-actions > .base-button-secondary-lg {
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Badge specific to hero usually */
.base-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--color-primary-soft-bg);
    border: 1px solid var(--color-primary-soft-border);
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.base-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary);
}

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

/* 011-ui-css-mobile 008: Auf Tablet/Mobile Hero-Bild ohne horizontalen Overflow; Reihenfolge Text → Bild → Buttons */
@media (max-width: 1023px) {
    .base-hero-content {
        display: contents;
    }

    .base-hero-text {
        order: 1;
        max-width: 100%;
        padding: 3px;
        width: 100%;
    }

    .base-hero-visual {
        order: 2;
        max-width: 100%;
        width: 100%;
    }

    .base-hero-actions {
        order: 3;
    }
}