/* Theme-owned wrappers for native Theme container layout. */
.bb-detail-hero { display:grid; grid-template-columns:minmax(0,.82fr) minmax(480px,1.18fr); align-items:center; gap:56px; padding-top:42px; padding-bottom:42px; border-bottom:1px solid var(--bb-border-soft); }
.bb-detail-hero__content { min-width:0; }
.bb-detail-hero__media,.bb-detail-hero__media-wrap { min-width:0; margin:0; }
.bb-detail-hero__media { overflow:hidden; background:var(--bb-bg); border:1px solid var(--bb-border); border-radius:14px; }
.bb-detail-hero__image { width:100%; height:auto; max-height:560px; object-fit:contain; background:var(--bb-bg); }
.bb-detail-hero .bb-hero-content { width:100%; }
.bb-content-stack > * { width:100%; }
.bb-generic-card { min-width:0; }
.bb-generic-card__link { height:100%; display:flex; flex-direction:column; overflow:hidden; background:var(--bb-surface-1); border:1px solid var(--bb-border); border-radius:12px; color:inherit!important; text-decoration:none!important; }
.bb-generic-card__media { margin:0; aspect-ratio:16/9; overflow:hidden; background:var(--bb-bg); border-bottom:1px solid var(--bb-border); }
.bb-generic-card__image { width:100%; height:100%; object-fit:cover; }
.bb-generic-card__body { flex:1; display:flex; flex-direction:column; padding:18px; }
.bb-generic-card__meta { margin-bottom:7px; color:var(--bb-text-muted); font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.bb-generic-card__title { margin:0 0 18px; font-family:"Barlow Condensed",sans-serif; font-size:24px; line-height:1.12; }
.bb-generic-card__cta { margin-top:auto; color:#F04A4A; font-size:13px; font-weight:700; }
.bb-generic-hero { padding-top:52px; padding-bottom:46px; border-bottom:1px solid var(--bb-border-soft); }
.bb-generic-hero h1 { max-width:980px; margin:20px 0 0; font-size:56px; line-height:1.06; text-transform:uppercase; }
.bb-generic-hero p { max-width:820px; margin:20px 0 0; color:var(--bb-text-body); font-size:18px; }
.bb-generic-content { padding:64px 0 80px; }
.bb-generic-grid-section { padding:64px 0 88px; }
.bb-generic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.bb-empty-state { padding:80px 0; text-align:center; }
.bb-empty-state__code { color:var(--bb-red); font:700 76px/1 "Barlow Condensed",sans-serif; }
.bb-empty-state h1,.bb-empty-state h2 { margin:12px 0; font-size:42px; }
.bb-empty-state p { color:var(--bb-text-body); }
.bb-empty-state__links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:24px; }
.bb-empty-state__links a { padding:10px 14px; border:1px solid var(--bb-border); border-radius:8px; text-decoration:none; }
@media(max-width:1024px){.bb-detail-hero{grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);gap:32px}.bb-generic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bb-detail-hero{grid-template-columns:1fr;gap:26px;padding-top:30px;padding-bottom:36px}.bb-detail-hero__media,.bb-detail-hero__media-wrap{order:2}.bb-generic-hero{padding-top:30px;padding-bottom:36px}.bb-generic-hero h1{font-size:34px}.bb-generic-hero p{font-size:16px}.bb-generic-grid{grid-template-columns:1fr}.bb-generic-grid-section{padding:46px 0 64px}}

/* Byline und Autorenbox (Ratgeber, Übungen, Trainingspläne) */
.bb-byline { margin:0; color:var(--bb-text-muted); font-size:14px; line-height:1.5; }
.bb-hero-content > .bb-byline { margin-top:14px; }
.bb-byline-link { color:var(--bb-text)!important; font-weight:600; text-decoration:underline; text-decoration-color:rgba(216,40,40,.7); text-underline-offset:3px; }
.bb-byline-link:hover,.bb-byline-link:focus-visible { text-decoration-color:var(--bb-red); }
.bb-author-box { display:grid; grid-template-columns:88px minmax(0,1fr); align-items:start; gap:20px; padding:24px; background:var(--bb-surface-1); border:1px solid var(--bb-border); border-radius:var(--bb-radius-lg); }
.bb-author-box__media { display:block; width:88px; height:88px; overflow:hidden; border:1px solid var(--bb-border); border-radius:50%; }
.bb-author-box__image { width:100%; height:100%; object-fit:cover; object-position:50% 15%; }
.bb-author-box__body { min-width:0; display:flex; flex-direction:column; gap:4px; }
.bb-author-box__body p { margin:0; }
.bb-author-box__eyebrow { color:#F04A4A; font-size:11px; font-weight:700; letter-spacing:.085em; line-height:1.4; text-transform:uppercase; }
.bb-author-box__name { font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif; font-size:24px; font-weight:700; line-height:1.15; }
.bb-author-box__name a { color:var(--bb-text)!important; text-decoration:none!important; }
.bb-author-box__name a:hover,.bb-author-box__name a:focus-visible { color:var(--bb-red-hover)!important; }
.bb-author-box__role { color:var(--bb-text); font-size:14px; font-weight:600; line-height:1.5; }
.bb-author-box__text { margin-top:6px!important; color:var(--bb-text-body); font-size:15px; line-height:1.65; }
.bb-author-box__link { width:fit-content; margin-top:8px; color:var(--bb-text)!important; font-size:14px; font-weight:600; text-decoration:none!important; }
.bb-author-box__link span { color:var(--bb-red); }
.bb-author-box__link:hover,.bb-author-box__link:focus-visible { color:var(--bb-red-hover)!important; }
@media(max-width:767px){.bb-author-box{grid-template-columns:64px minmax(0,1fr);gap:16px;padding:20px}.bb-author-box__media{width:64px;height:64px}.bb-author-box__name{font-size:22px}.bb-author-box__text{font-size:14px}}

/* ==========================================================
   Kurzinfos „Auf einen Blick“ (Übung und Trainingsplan) – UX-Paket 1
   dt und dd stehen direkt im dl. Je Paar entsteht optisch eine Kachel:
   dt = oberer Teil (Symbol, Bezeichnung), dd = unterer Teil (Wert).
   Die Rasterposition steuert `order` (--qf-od Desktop, --qf-o2 zweispaltig);
   mobil einspaltig in DOM-Reihenfolge. Keine Worttrennung mitten im Wort.
   ========================================================== */
.bb-quickfacts {
    --qf-gap: 24px;
    --qf-pad: 17px;
    --qf-icon: 40px;
    --qf-icon-gap: 13px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--qf-cols, 4), minmax(0, 1fr));
    column-gap: var(--qf-gap);
    row-gap: var(--qf-gap);
    margin: 0;
    padding: 0;
}

.bb-quickfacts > dt,
.bb-quickfacts > dd {
    order: var(--qf-od, 0);
    min-width: 0;
    background: var(--bb-surface-1);
    border: 1px solid var(--bb-border);
}

.bb-quickfacts > dt {
    display: flex;
    align-items: center;
    gap: var(--qf-icon-gap);
    margin: 0;
    padding: var(--qf-pad) var(--qf-pad) 4px;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .035em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
}

.bb-quickfacts > dd {
    margin: calc(-1 * var(--qf-gap)) 0 0;
    padding: 0 var(--qf-pad) var(--qf-pad) calc(var(--qf-pad) + var(--qf-icon) + var(--qf-icon-gap));
    border-top: 0;
    border-radius: 0 0 10px 10px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bb-text);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}

.bb-quickfacts__icon {
    flex: 0 0 var(--qf-icon);
    width: var(--qf-icon);
    height: var(--qf-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bb-red-hover);
}

.bb-quickfacts__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bb-quickfacts__label {
    min-width: 0;
}

.bb-quickfacts > dd a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}

.bb-quickfacts > dd a:hover,
.bb-quickfacts > dd a:focus-visible {
    color: var(--bb-red-hover);
}

@media (max-width: 1200px) {
    .bb-quickfacts {
        --qf-gap: 20px;
    }

    .bb-quickfacts:not([data-cols="1"]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bb-quickfacts > dt,
    .bb-quickfacts > dd {
        order: var(--qf-o2, 0);
    }
}

@media (max-width: 1024px) {
    .bb-quickfacts {
        --qf-gap: 12px;
        --qf-pad: 14px;
        --qf-icon: 34px;
        --qf-icon-gap: 10px;
    }

    .bb-quickfacts > dt {
        font-size: 10px;
    }

    .bb-quickfacts > dd {
        font-size: 14px;
        line-height: 1.35;
    }
}

@media (max-width: 767px) {
    .bb-quickfacts,
    .bb-quickfacts:not([data-cols="1"]) {
        grid-template-columns: minmax(0, 1fr);
    }

    .bb-quickfacts > dt,
    .bb-quickfacts > dd {
        order: 0;
    }
}

/* ==========================================================
   UX-Paket 2 (10): „Nächster Schritt“ am Seitenende
   ========================================================== */
.bb-next-steps {
    margin: 0;
    scroll-margin-top: 110px;
}

.bb-next-steps__title {
    margin: 0 0 20px;
    color: var(--bb-text);
}

.bb-next-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bb-next-step { min-width: 0; }

.bb-next-step__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #0F1318;
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius-lg);
    transition: border-color 160ms ease, transform 160ms ease;
}

.bb-next-step__link:hover,
.bb-next-step__link:focus-visible {
    border-color: var(--bb-border-hover);
    transform: translateY(-2px);
}

.bb-next-step__media {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bb-bg);
    border-bottom: 1px solid var(--bb-border);
}

.bb-next-step__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-next-step__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 18px;
}

.bb-next-step__type {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bb-red);
}

.bb-next-step__title {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bb-text);
}

.bb-next-step__cta {
    margin-top: auto;
    padding-top: 8px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-text-body);
}

@media (max-width: 767px) {
    .bb-next-steps__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bb-next-step__link {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: stretch;
    }

    .bb-next-step__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 92px;
        border-bottom: 0;
        border-right: 1px solid var(--bb-border);
    }

    .bb-next-step__body {
        padding: 12px 14px;
        gap: 4px;
    }

    .bb-next-step__title { font-size: 15px; }
    .bb-next-step__cta { display: none; }
}
