/* ==========================================================
   162. V31 – STARTSEITE V2
   Server-rendered homepage gateway for Bodybuilding.de
   ========================================================== */

.bb-home-shell {
    width: min(var(--bb-shell), calc(100% - 48px));
    margin-inline: auto;
}

.bb-home-section {
    position: relative;
    margin: 0;
    padding: 96px 0;
    background: var(--bb-bg);
    border-top: 1px solid rgba(39, 46, 54, .58);
}

.bb-home-section:nth-of-type(even) {
    background: #090C10;
}

.bb-home-section__header {
    width: min(780px, 100%);
    margin-bottom: 38px;
}

.bb-home-section__eyebrow,
.bb-home-eyebrow {
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .085em;
    text-transform: uppercase;
    color: #F04A4A;
}

.bb-home-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--bb-text-muted);
}

.bb-home-eyebrow > span {
    width: 40px;
    height: 2px;
    background: var(--bb-red);
}

.bb-home-section__title {
    margin: 8px 0 16px !important;
    font-family: "Barlow Condensed", Impact, sans-serif !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -.012em !important;
    color: var(--bb-text) !important;
}

.bb-home-section__intro {
    max-width: 760px;
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: var(--bb-font-body);
    line-height: var(--bb-line-body);
    color: var(--bb-text-body);
}

.bb-home-section__actions {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

/* ----------------------------------------------------------
   Homepage hero
   ---------------------------------------------------------- */
.bb-home-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 30%, rgba(23, 42, 56, .23), transparent 36%),
        linear-gradient(180deg, #080B0F 0%, var(--bb-bg) 100%);
    border-bottom: 1px solid rgba(39, 46, 54, .7);
}

.bb-home-hero__grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: 66px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.bb-home-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.bb-home-hero__title {
    max-width: 760px;
    margin: 0 0 24px !important;
    font-family: "Barlow Condensed", Impact, sans-serif !important;
    font-size: clamp(56px, 5.4vw, 82px) !important;
    font-weight: 800 !important;
    line-height: .98 !important;
    letter-spacing: -.025em !important;
    text-transform: uppercase;
    color: #F4F6F8 !important;
    text-wrap: balance;
}

.bb-home-hero__intro {
    max-width: 650px;
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: var(--bb-text-body);
}

.bb-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.bb-hero-button--secondary {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--bb-text) !important;
    background: rgba(8, 10, 14, .16);
    border: 1px solid #3A434E;
    border-radius: 10px;
    text-decoration: none !important;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.bb-hero-button--secondary:hover,
.bb-hero-button--secondary:focus-visible {
    color: #fff !important;
    background: #10161C;
    border-color: #5A6571;
}

.bb-home-hero__guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-text-muted) !important;
    text-decoration: none !important;
}

.bb-home-hero__guide-link:hover,
.bb-home-hero__guide-link:focus-visible {
    color: #fff !important;
}

.bb-home-hero__guide-link span {
    color: var(--bb-red);
}

.bb-home-hero__media {
    position: relative;
    min-width: 0;
    height: 100%;
    min-height: 530px;
    margin: 0;
    overflow: hidden;
    background: #0B1015;
    border: 1px solid rgba(39, 46, 54, .7);
    border-radius: 18px;
}

.bb-home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(8, 10, 14, .13) 0%, transparent 28%);
}

.bb-home-hero__image {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    object-position: center;
}

/* ----------------------------------------------------------
   Orientation bar
   ---------------------------------------------------------- */
.bb-home-pillar-bar {
    padding: 28px 0;
    background: #0A0E12;
    border-bottom: 1px solid var(--bb-border);
}

.bb-home-pillar-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-home-pillar {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    padding: 10px 28px;
    color: inherit !important;
    text-decoration: none !important;
    border-left: 1px solid var(--bb-border-soft);
}

.bb-home-pillar:first-child {
    border-left: 0;
    padding-left: 0;
}

.bb-home-pillar:last-child {
    padding-right: 0;
}

.bb-home-pillar__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F04A4A;
}

.bb-home-pillar__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bb-home-pillar__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bb-home-pillar__body strong {
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bb-text);
}

.bb-home-pillar__value {
    margin-top: 2px;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
}

.bb-home-pillar__body small {
    margin-top: 4px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: var(--bb-text-subtle);
}

.bb-home-pillar__arrow {
    color: var(--bb-text-subtle);
    transition: color 160ms ease, transform 160ms ease;
}

.bb-home-pillar:hover .bb-home-pillar__arrow,
.bb-home-pillar:focus-visible .bb-home-pillar__arrow {
    color: var(--bb-red);
    transform: translateX(2px);
}

/* ----------------------------------------------------------
   Muscle SEO links
   ---------------------------------------------------------- */
.bb-home-muscle-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.bb-home-muscle-links a {
    min-width: 0;
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    align-items: center;
    padding: 15px 17px;
    color: var(--bb-text) !important;
    background: var(--bb-surface-1);
    border: 1px solid var(--bb-border);
    border-radius: 10px;
    text-decoration: none !important;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.bb-home-muscle-links a:hover,
.bb-home-muscle-links a:focus-visible {
    background: #11171D;
    border-color: var(--bb-border-hover);
}

.bb-home-muscle-links a > span:first-child {
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.bb-home-muscle-links a small {
    grid-column: 1;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    color: var(--bb-text-muted);
}

.bb-home-muscle-links a > span:last-child {
    grid-column: 2;
    grid-row: 1 / 3;
    color: var(--bb-red);
}

/* ----------------------------------------------------------
   Exercise cards
   ---------------------------------------------------------- */
.bb-home-exercise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bb-home-exercise-card,
.bb-home-plan-card,
.bb-home-guide-card {
    min-width: 0;
}

.bb-home-exercise-card__link,
.bb-home-plan-card > a,
.bb-home-guide-card > a {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit !important;
    background: var(--bb-surface-1);
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius-md);
    text-decoration: none !important;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

@media (hover: hover) {
    .bb-home-exercise-card__link:hover,
    .bb-home-plan-card > a:hover,
    .bb-home-guide-card > a:hover {
        background: #11171D;
        border-color: var(--bb-border-hover);
        transform: translateY(-2px);
    }
}

.bb-home-exercise-card__media {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    background: var(--bb-bg);
    border-bottom: 1px solid var(--bb-border);
}

.bb-home-exercise-card__media--empty span {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 700;
    color: var(--bb-text-subtle);
}

.bb-home-exercise-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bb-home-exercise-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.bb-home-exercise-card h3,
.bb-home-plan-card h3,
.bb-home-guide-card h3 {
    margin: 0 !important;
    font-family: "Barlow Condensed", Impact, sans-serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    color: var(--bb-text) !important;
}

.bb-home-exercise-card__primary {
    margin-top: 10px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #F04A4A;
}

.bb-home-exercise-card__meta {
    margin-top: 7px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: var(--bb-text-muted);
}

.bb-home-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--bb-text);
}

.bb-home-card-cta span {
    color: var(--bb-red);
}

/* ----------------------------------------------------------
   Training plans
   ---------------------------------------------------------- */
.bb-home-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bb-home-plan-card__media {
    width: 100%;
    height: 180px;
    margin: 0;
    overflow: hidden;
    background: var(--bb-bg);
    border-bottom: 1px solid var(--bb-border);
}

.bb-home-plan-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-home-plan-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 19px;
}

.bb-home-plan-card__meta,
.bb-home-guide-card__meta {
    display: block;
    margin-bottom: 8px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: #F04A4A;
}

.bb-home-plan-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.bb-home-plan-card__facts li {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: var(--bb-text-muted);
}

.bb-home-plan-card__facts li::before {
    content: "•";
    margin-right: 6px;
    color: #4B5662;
}

/* ----------------------------------------------------------
   Journey / ecosystem
   ---------------------------------------------------------- */
.bb-home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bb-home-step {
    min-width: 0;
    min-height: 190px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 16px;
    padding: 26px;
    color: inherit !important;
    background: #0E1318;
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius-md);
    text-decoration: none !important;
}

.bb-home-step__number {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--bb-red);
}

.bb-home-step strong {
    display: block;
    margin-bottom: 9px;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--bb-text);
}

.bb-home-step small {
    display: block;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--bb-text-body);
}

.bb-home-step__arrow {
    color: var(--bb-text-subtle);
}

.bb-home-step:hover .bb-home-step__arrow,
.bb-home-step:focus-visible .bb-home-step__arrow {
    color: var(--bb-red);
}

/* ----------------------------------------------------------
   Hub cards
   ---------------------------------------------------------- */
.bb-home-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bb-home-hub-card {
    min-width: 0;
    min-height: 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    color: inherit !important;
    background: var(--bb-surface-1);
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius-md);
    text-decoration: none !important;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.bb-home-hub-card:hover,
.bb-home-hub-card:focus-visible {
    background: #11171D;
    border-color: var(--bb-border-hover);
}

.bb-home-hub-card__body strong {
    display: block;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--bb-text);
}

.bb-home-hub-card__body small {
    display: block;
    margin-top: 7px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: var(--bb-text-muted);
}

.bb-home-hub-card > span:last-child {
    color: var(--bb-red);
}

/* ----------------------------------------------------------
   Guide cards
   ---------------------------------------------------------- */
.bb-home-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bb-home-guide-card__media {
    width: 100%;
    height: 190px;
    margin: 0;
    overflow: hidden;
    background: var(--bb-bg);
    border-bottom: 1px solid var(--bb-border);
}

.bb-home-guide-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-home-guide-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 19px;
}

.bb-home-guide-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 13px 0 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--bb-text-body);
}

/* ----------------------------------------------------------
   Bodybuilding entity copy
   ---------------------------------------------------------- */
.bb-home-bodybuilding__grid {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 72px;
}

.bb-home-bodybuilding__heading .bb-home-section__title {
    margin-top: 8px !important;
}

.bb-home-bodybuilding__content {
    font-family: "Inter", Arial, sans-serif;
    font-size: var(--bb-font-body);
    line-height: var(--bb-line-body);
    color: var(--bb-text-body);
}

.bb-home-bodybuilding__content p {
    margin: 0 0 18px;
}

.bb-home-bodybuilding__content p:last-child {
    margin-bottom: 0;
}

.bb-home-bodybuilding__content a {
    color: var(--bb-text) !important;
    text-decoration: underline;
    text-decoration-color: rgba(216, 40, 40, .65);
    text-underline-offset: 3px;
}

.bb-home-bodybuilding__content a:hover,
.bb-home-bodybuilding__content a:focus-visible {
    color: #fff !important;
    text-decoration-color: var(--bb-red);
}

@media (max-width: 1200px) {
    .bb-home-hero__grid {
        grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
        gap: 42px;
    }

    .bb-home-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bb-home-muscle-links,
    .bb-home-exercise-grid,
    .bb-home-hub-grid,
    .bb-home-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bb-home-hero__grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .bb-home-hero__media {
        min-height: 420px;
    }

    .bb-home-hero__image {
        min-height: 420px;
    }

    .bb-home-pillar-bar__grid,
    .bb-home-steps {
        grid-template-columns: 1fr;
    }

    .bb-home-pillar {
        padding: 18px 0;
        border-left: 0;
        border-top: 1px solid var(--bb-border-soft);
    }

    .bb-home-pillar:first-child {
        border-top: 0;
    }

    .bb-home-bodybuilding__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 767px) {
    .bb-home-shell {
        width: calc(100% - 40px);
    }

    .bb-home-section {
        padding: 66px 0;
    }

    .bb-home-section__header {
        margin-bottom: 28px;
    }

    .bb-home-section__title {
        margin-top: 7px !important;
        margin-bottom: 13px !important;
        font-size: 32px !important;
        line-height: 1.04 !important;
    }

    .bb-home-section__intro,
    .bb-home-bodybuilding__content {
        font-size: 15px;
        line-height: 1.65;
    }

    .bb-home-hero__grid {
        gap: 26px;
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .bb-home-eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
    }

    .bb-home-eyebrow > span {
        width: 28px;
    }

    .bb-home-hero__title {
        margin-bottom: 18px !important;
        font-size: clamp(43px, 13.2vw, 60px) !important;
        line-height: .98 !important;
    }

    .bb-home-hero__intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .bb-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .bb-home-hero__actions .bb-hero-button,
    .bb-home-hero__actions .bb-hero-button--secondary {
        width: 100%;
        min-height: 48px;
    }

    .bb-home-hero__guide-link {
        margin-top: 15px;
    }

    .bb-home-hero__media,
    .bb-home-hero__image {
        min-height: 310px;
        max-height: 420px;
    }

    .bb-home-hero__media {
        border-radius: 12px;
    }

    .bb-home-pillar-bar {
        padding-block: 16px;
    }

    .bb-home-pillar {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 13px;
        padding-block: 16px;
    }

    .bb-home-pillar__icon {
        width: 38px;
        height: 38px;
    }

    .bb-home-pillar__icon svg {
        width: 34px;
        height: 34px;
    }

    .bb-home-pillar__value {
        font-size: 21px;
    }

    .bb-home-muscle-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 24px;
    }

    .bb-home-muscle-links a {
        min-height: 68px;
        padding: 13px 14px;
    }

    .bb-home-exercise-grid,
    .bb-home-plan-grid,
    .bb-home-hub-grid,
    .bb-home-guide-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bb-home-exercise-card__media {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .bb-home-exercise-card h3,
    .bb-home-plan-card h3,
    .bb-home-guide-card h3 {
        font-size: 25px !important;
    }

    .bb-home-plan-card__media,
    .bb-home-guide-card__media {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .bb-home-step {
        min-height: 0;
        grid-template-columns: 34px minmax(0, 1fr) 18px;
        gap: 13px;
        padding: 20px;
    }

    .bb-home-step strong {
        font-size: 24px;
    }

    .bb-home-step small {
        font-size: 13px;
        line-height: 1.55;
    }

    .bb-home-hub-card {
        min-height: 104px;
        padding: 19px 20px;
    }

    .bb-home-hub-card__body strong {
        font-size: 26px;
    }

    .bb-home-section__actions {
        margin-top: 28px;
    }
}

@media (max-width: 380px) {
    .bb-home-shell {
        width: calc(100% - 32px);
    }

    .bb-home-muscle-links {
        grid-template-columns: 1fr;
    }

    .bb-home-hero__title {
        font-size: clamp(40px, 12.5vw, 52px) !important;
    }
}


/* ==========================================================
   V1.12 – Theme-owned homepage refinements
   ========================================================== */
.bb-home-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    color: #fff !important;
    background: var(--bb-red);
    border: 1px solid var(--bb-red);
    border-radius: var(--bb-pill-radius);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.bb-home-button > span:first-child { padding: 0 18px 0 20px; }
.bb-home-button__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    background: #B92020;
    border-radius: 50%;
    font-size: 18px;
    transition: transform .18s ease, background-color .18s ease;
}
.bb-home-button:hover,
.bb-home-button:focus-visible { background: var(--bb-red-hover); border-color: var(--bb-red-hover); box-shadow: 0 0 18px rgba(216,40,40,.12); }
.bb-home-button:hover .bb-home-button__icon,
.bb-home-button:focus-visible .bb-home-button__icon { background: #A91D1D; transform: translateX(2px); }
.bb-home-button--secondary { background: transparent; border-color: var(--bb-border-hover); }
.bb-home-button--secondary .bb-home-button__icon { background: var(--bb-surface-2); color: #F04A4A; }
.bb-home-button--secondary:hover,
.bb-home-button--secondary:focus-visible { background: var(--bb-surface-1); border-color: #4A5662; }

.bb-home-exercise-card__media,
.bb-home-plan-card__media,
.bb-home-guide-card__media { height: auto; aspect-ratio: 4 / 3; }
.bb-home-plan-card__image,
.bb-home-guide-card__image { object-fit: cover; }
.bb-home-section:last-child { border-bottom: 1px solid rgba(39,46,54,.58); }

@media (max-width: 767px) {
    .bb-home-section { padding: 68px 0; }
    .bb-home-section__header { margin-bottom: 28px; }
    .bb-home-section__title { font-size: 34px !important; }
    .bb-home-button { width: 100%; justify-content: space-between; }
}

/* ==========================================================
   UX-Paket 2 (8): Startseiten-Hero mit Suche, Collage und Autor
   ========================================================== */
.bb-home-hero {
    background:
        radial-gradient(1200px 420px at 85% 10%, rgba(216, 40, 40, .10), transparent 60%),
        var(--bb-bg);
}

.bb-home-hero__inner {
    width: min(var(--bb-shell), calc(100% - 48px));
    margin-inline: auto;
    padding-top: var(--bb-main-hero-padding-top);
    padding-bottom: var(--bb-main-hero-padding-bottom);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 56px;
}

.bb-home-hero__content { min-width: 0; }

.bb-home-hero__title { font-size: clamp(40px, 3.7vw, 54px) !important; }

.bb-home-hero__intro { max-width: 600px; margin-top: 18px; }

.bb-home-hero__search {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    max-width: 580px;
    height: 58px;
    margin-top: 28px;
    background: #0D1116;
    border: 1px solid #353E48;
    border-radius: 999px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bb-home-hero__search:focus-within {
    border-color: rgba(216, 40, 40, .7);
    box-shadow: 0 0 0 3px rgba(216, 40, 40, .18);
}

.bb-home-hero__search-icon {
    display: flex;
    justify-content: center;
    color: var(--bb-text-muted);
}

.bb-home-hero__search-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.bb-home-hero__search input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 12px 0 0 !important;
    font: 400 16px/1.2 "Inter", Arial, sans-serif !important;
    color: var(--bb-text) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.bb-home-hero__search input::placeholder { color: #7D8793; }
.bb-home-hero__search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.bb-home-hero__search button {
    height: 46px;
    margin-right: 5px;
    padding: 0 22px !important;
    font: 600 15px/1 "Inter", Arial, sans-serif !important;
    color: #fff !important;
    background: var(--bb-red) !important;
    border: 0 !important;
    border-radius: 999px !important;
    cursor: pointer;
}

.bb-home-hero__search button:hover,
.bb-home-hero__search button:focus-visible { background: var(--bb-red-hover) !important; }

.bb-home-hero__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 14px 0 0;
    font: 500 13px/1.4 "Inter", Arial, sans-serif;
    color: var(--bb-text-muted);
}

.bb-home-hero__quick a {
    color: #D7DCE2 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(215, 220, 226, .35) !important;
    text-underline-offset: 3px;
}

.bb-home-hero__quick a:hover,
.bb-home-hero__quick a:focus-visible { color: #fff !important; text-decoration-color: currentColor !important; }

.bb-home-hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 580px;
    margin-top: 30px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--bb-border);
    border-radius: 14px;
}

.bb-home-hero__trust-media { flex: 0 0 64px; }

.bb-home-hero__trust-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .14);
}

.bb-home-hero__trust-body { min-width: 0; }

.bb-home-hero__trust-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0;
    font: 700 15px/1.3 "Inter", Arial, sans-serif;
}

.bb-home-hero__trust-name a { color: var(--bb-text) !important; text-decoration: none !important; }
.bb-home-hero__trust-name span { font-size: 12px; font-weight: 500; color: var(--bb-text-muted); }

.bb-home-hero__trust-text {
    margin: 4px 0 2px;
    font: 400 14px/1.5 "Inter", Arial, sans-serif;
    color: var(--bb-text-body);
}

.bb-home-hero__trust-link {
    font: 600 13px/1.4 "Inter", Arial, sans-serif;
    color: #F4F6F8 !important;
    text-decoration: none !important;
}

.bb-home-hero__trust-link span { color: var(--bb-red); }
.bb-home-hero__trust-link:hover,
.bb-home-hero__trust-link:focus-visible { text-decoration: underline !important; }

.bb-home-hero__collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bb-home-hero__tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #090C10;
    border: 1px solid var(--bb-border);
    border-radius: 14px;
    text-decoration: none !important;
}

.bb-home-hero__tile:nth-child(2),
.bb-home-hero__tile:nth-child(4) { transform: translateY(22px); }

.bb-home-hero__tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.bb-home-hero__tile:hover .bb-home-hero__tile-image,
.bb-home-hero__tile:focus-visible .bb-home-hero__tile-image { transform: scale(1.03); }

.bb-home-hero__tile-label {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: fit-content;
    max-width: calc(100% - 20px);
    padding: 5px 10px;
    overflow: hidden;
    font: 600 12px/1.3 "Inter", Arial, sans-serif;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgba(8, 10, 14, .82);
    border-radius: 999px;
}

@media (max-width: 1100px) {
    .bb-home-hero__inner { gap: 34px; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
}

@media (max-width: 767px) {
    .bb-home-hero__inner {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 36px;
    }

    .bb-home-hero__title { font-size: var(--bb-main-hero-title-mobile) !important; }
    .bb-home-hero__search { height: 54px; margin-top: 22px; grid-template-columns: 42px minmax(0, 1fr) auto; }
    .bb-home-hero__search input { height: 52px; font-size: 16px !important; }
    .bb-home-hero__search button { height: 42px; padding: 0 16px !important; font-size: 14px !important; }
    .bb-home-hero__trust { margin-top: 24px; padding: 12px 14px; gap: 12px; }
    .bb-home-hero__trust-media { flex-basis: 56px; }
    .bb-home-hero__trust-image { width: 56px; height: 56px; }
    .bb-home-hero__trust-text { font-size: 13px; }
    .bb-home-hero__collage { gap: 10px; }
    .bb-home-hero__tile:nth-child(2),
    .bb-home-hero__tile:nth-child(4) { transform: none; }
    .bb-home-hero__tile-label { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 10px; padding: 4px 8px; }
}
