/* ==========================================================
   BODYBUILDING.DE – MAIN HUB HERO
   Single source of truth for Home, Fitnessübungen,
   Trainingspläne and Ratgeber.
   ========================================================== */

.bb-main-hub-hero {
    width: 100%;
    overflow: hidden;
    background: var(--bb-bg);
    border-bottom: 1px solid rgba(216,40,40,.22);
}

.bb-main-hub-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);
}

.bb-main-hub-hero__breadcrumbs,
.bb-main-hub-hero__breadcrumbs *,
.bb-main-hub-hero__breadcrumbs a,
.bb-main-hub-hero__breadcrumbs span {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: var(--bb-breadcrumb-size) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.bb-main-hub-hero__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 24px;
    color: var(--bb-text-muted);
}

.bb-main-hub-hero__breadcrumbs a {
    color: var(--bb-text-muted) !important;
    text-decoration: none !important;
}

.bb-main-hub-hero__breadcrumbs a:hover,
.bb-main-hub-hero__breadcrumbs a:focus-visible {
    color: var(--bb-text) !important;
}

.bb-main-hub-hero__breadcrumbs-current { color: #C5CBD2 !important; }
.bb-main-hub-hero__breadcrumbs-separator { color: #626C77 !important; }

.bb-main-hub-hero__title {
    max-width: 980px;
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
    font-size: var(--bb-main-hero-title) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    color: var(--bb-text);
    text-wrap: balance;
}

.bb-main-hub-hero__intro {
    max-width: 820px;
    margin-top: 22px;
    font-family: "Inter", Arial, sans-serif;
    font-size: var(--bb-main-hero-intro);
    font-weight: 400;
    line-height: 1.65;
    color: var(--bb-text-body);
}

.bb-main-hub-hero__intro p { margin: 0; }

/* Primary hub CTA – selected standard: Inter 15 / 600 / normal case */
.bb-main-hub-hero__button {
    min-height: var(--bb-control-height);
    display: inline-flex;
    align-items: stretch;
    margin-top: 26px;
    padding: 0;
    color: #fff !important;
    background: var(--bb-red) !important;
    border: 1px solid var(--bb-red) !important;
    border-radius: var(--bb-pill-radius);
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: none;
    transform: none !important;
    transition: box-shadow .18s ease;
}

.bb-main-hub-hero__button-text {
    min-height: var(--bb-control-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px 0 20px;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: var(--bb-button-font-size) !important;
    font-weight: var(--bb-button-font-weight) !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.bb-main-hub-hero__button-icon-wrap {
    width: var(--bb-control-height);
    height: var(--bb-control-height);
    flex: 0 0 var(--bb-control-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bb-red);
    border-radius: 50%;
    transition: background-color .18s ease;
}

.bb-main-hub-hero__button-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: scale(1);
    transform-origin: center;
    transition: transform .18s ease;
}

.bb-main-hub-hero__button:hover,
.bb-main-hub-hero__button:focus-visible {
    color: #fff !important;
    background: var(--bb-red) !important;
    border-color: var(--bb-red) !important;
    box-shadow: 0 0 18px rgba(216,40,40,.13);
    transform: none !important;
}

.bb-main-hub-hero__button:hover .bb-main-hub-hero__button-icon-wrap,
.bb-main-hub-hero__button:focus-visible .bb-main-hub-hero__button-icon-wrap {
    background: #B92020;
}

.bb-main-hub-hero__button:hover .bb-main-hub-hero__button-icon,
.bb-main-hub-hero__button:focus-visible .bb-main-hub-hero__button-icon {
    transform: scale(1.10);
}

.bb-main-hub-hero__button:focus-visible {
    outline: 2px solid rgba(240,74,74,.45);
    outline-offset: 3px;
}

@media (max-width:1024px) {
    .bb-main-hub-hero__inner { padding-top:44px; padding-bottom:50px; }
    .bb-main-hub-hero__title { max-width:850px; font-size:var(--bb-main-hero-title-tablet) !important; }
    .bb-main-hub-hero__intro { max-width:760px; font-size:17px; }
}

@media (max-width:767px) {
    .bb-main-hub-hero__inner { width:calc(100% - 40px); padding-top:30px; padding-bottom:42px; }
    .bb-main-hub-hero__breadcrumbs { margin-bottom:20px; }
    .bb-main-hub-hero__title { max-width:none; font-size:var(--bb-main-hero-title-mobile) !important; line-height:1.06 !important; text-wrap:pretty; }
    .bb-main-hub-hero__intro { max-width:none; margin-top:18px; font-size:var(--bb-main-hero-intro-mobile); line-height:1.6; }
    .bb-main-hub-hero__button { min-height:44px; margin-top:22px; }
    .bb-main-hub-hero__button-text { min-height:44px; padding:0 16px 0 18px; font-size:14px !important; }
    .bb-main-hub-hero__button-icon-wrap { width:44px; height:44px; flex-basis:44px; }
    .bb-main-hub-hero__button-icon { width:17px; height:17px; }
}

@media (max-width:380px) {
    .bb-main-hub-hero__inner { width:calc(100% - 32px); }
    .bb-main-hub-hero__title { font-size:var(--bb-main-hero-title-small) !important; }
    .bb-main-hub-hero__intro { font-size:15px; }
}
