/* ------------------------------------------------------------------
   Bremen 1860 – Fastbreak · Basis-Styles + Chrome (Ribbon/Header/Footer)
------------------------------------------------------------------ */
* { box-sizing: border-box; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--ff-body); font-size: 17px; line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-rot-700); }

/* Fastbreak-Titel sind immer kursiv. */
h1, h2, h3, h4 { font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 900; line-height: var(--lh-title); letter-spacing: var(--tracking-title); color: var(--c-text); margin: 0 0 var(--s-4); }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
h4 { font-weight: 800; }
p { margin: 0 0 var(--s-4); }
strong, b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

::selection { background: var(--c-primary); color: #fff; }

/* ----- Barrierefreiheit ----- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.b1860-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--c-primary); color: #fff; padding: .8rem 1.2rem; font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 900; }
.b1860-skip:focus { left: 0; color: #fff; }

.b1860-wrap { max-width: var(--container-max); margin: 0 auto; padding-inline: clamp(1rem, 4vw, var(--container-pad)); }
.b1860-section { padding-block: var(--s-16); }
.b1860-section--alt { background: var(--c-surface2); }
/* Zweitknopf hat selbst Surface2 – auf dem Wechselabschnitt sonst unsichtbar. */
.b1860-section--alt > .b1860-wrap > .b1860-more .b1860-btn--ghost { background: var(--c-surface); }
.b1860-section--alt > .b1860-wrap > .b1860-more .b1860-btn--ghost:hover { background: var(--c-line); }

/* Abschnittskopf: linksbündig, roter Chip als Kicker über dem Titel */
.b1860-section__head { max-width: 60ch; margin: 0 0 var(--s-8); }
.b1860-section__head .kick {
    display: inline-block; margin-bottom: var(--s-3); padding: .3rem .8rem;
    background: var(--c-primary); color: #fff;
    font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 800;
    letter-spacing: var(--tracking-label); font-size: .85rem; line-height: 1.1;
    clip-path: polygon(var(--skew-sm) 0, 100% 0, calc(100% - var(--skew-sm)) 100%, 0 100%);
}
.b1860-section__head h2 { margin-bottom: 0; }
.b1860-section__head p { color: var(--c-muted); font-size: 1.1rem; margin: .8rem 0 0; }

/* ----- Kopfleiste (Abteilungs-Kontext) -----
   Schmales Vereinsrot über dem Anthrazit-Kopf. */
.b1860-ribbon { background: var(--c-primary); color: rgba(255,255,255,.88); font-size: .85rem; }
.b1860-ribbon .b1860-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .35rem; flex-wrap: wrap; }
.b1860-ribbon__ctx { font-family: var(--ff-display); font-style: italic; text-transform: uppercase; letter-spacing: var(--tracking-em); font-size: .85rem; font-weight: 700; }
.b1860-ribbon__ctx b, .b1860-ribbon__ctx strong { color: #fff; }
.b1860-ribbon__link { color: #fff; font-family: var(--ff-display); font-style: italic; text-transform: uppercase; letter-spacing: var(--tracking-em); font-weight: 700; font-size: .85rem; white-space: nowrap; opacity: .88; }
.b1860-ribbon__link:hover { color: #fff; opacity: 1; }
@media (max-width: 600px) { .b1860-ribbon { font-size: .76rem; } }

/* ----- Header: Anthrazit wie die Kopfleiste der App ----- */
.b1860-header { position: sticky; top: 0; z-index: 50; background: var(--c-tinte); color: #fff; }
.b1860-header .b1860-wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); min-height: var(--header-h); padding-block: var(--s-2); }
.b1860-brand { display: flex; align-items: center; gap: .7rem; color: #fff; min-width: 0; }
.b1860-brand:hover { color: #fff; }
/* Rotes 1860-Logo auf Anthrazit wäre zu kontrastarm – im Kopf weiß. */
.b1860-brand__logo { height: 44px; width: auto; flex: none; filter: brightness(0) invert(1); }
.b1860-brand__img { max-height: 48px; width: auto; }
.b1860-brand__wm { line-height: 1; min-width: 0; }
.b1860-brand__wm .l-top { display: block; font-family: var(--ff-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: .72rem; color: rgba(255,255,255,.6); }
.b1860-brand__wm .l-main { display: block; font-family: var(--ff-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.75rem; line-height: .9; color: var(--c-rot-hell); letter-spacing: -.005em; }
/* Sport-Piktogramm neben der Wortmarke */
.b1860-brand__motif { height: 38px; width: auto; flex: none; color: rgba(255,255,255,.9); margin-left: .2rem; }
img.b1860-brand__motif { height: 38px; width: auto; }
@media (max-width: 480px) { .b1860-brand__motif { display: none; } .b1860-brand__wm .l-main { font-size: 1.5rem; } }

.b1860-nav { display: flex; align-items: center; gap: var(--s-6); }
.b1860-nav ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
/* :not(.b1860-btn) — sonst überschreibt die Nav-Farbe den Button im Header. */
.b1860-nav a:not(.b1860-btn) {
    position: relative; display: inline-block; padding: .55rem .8rem;
    font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 800;
    letter-spacing: var(--tracking-em); font-size: 1.1rem; color: rgba(255,255,255,.82);
    transition: color var(--motion-base) var(--easing), background var(--motion-base) var(--easing);
}
.b1860-nav a:not(.b1860-btn):hover { color: #fff; }
/* Aktiver Punkt: rotes Parallelogramm hinter dem Text, wie die Tab-Leiste der App */
.b1860-nav .is-current > a:not(.b1860-btn) { color: #fff; background: var(--c-primary); clip-path: polygon(var(--skew-sm) 0, 100% 0, calc(100% - var(--skew-sm)) 100%, 0 100%); }
/* Untermenüs (Tiefe 2) */
.b1860-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 14rem; background: var(--c-surface); border: 1px solid var(--c-line); border-top: 3px solid var(--c-primary); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-2); padding: .4rem; z-index: 60; }
.b1860-nav .menu-item-has-children { position: relative; }
.b1860-nav .menu-item-has-children:hover > .sub-menu, .b1860-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.b1860-nav .sub-menu li { display: block; }
.b1860-nav .sub-menu a:not(.b1860-btn) { display: block; padding: .45rem .7rem; font-size: .95rem; color: var(--c-text); clip-path: none; }
.b1860-nav .sub-menu a:not(.b1860-btn):hover { background: var(--c-surface2); color: var(--c-primary); }
.b1860-nav .sub-menu .is-current > a:not(.b1860-btn) { background: var(--c-rot-tint); color: var(--c-primary); }

/* ----- Mobile-Navigation ----- */
/* Hover/Focus mitschreiben: sonst färben Fremd-Stylesheets (Elementor,
   hello-elementor) den Burger über ihre button:focus-Regeln ein. */
.b1860-burger,
.b1860-burger:hover,
.b1860-burger:focus,
.b1860-burger:focus-visible,
.b1860-burger:active { background: transparent; color: #fff; }
.b1860-burger { display: none; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: var(--radius); cursor: pointer; }
.b1860-burger__bars, .b1860-burger__bars::before, .b1860-burger__bars::after { display: block; width: 24px; height: 3px; background: currentColor; transition: transform var(--motion-base) var(--easing), opacity var(--motion-base) var(--easing); }
.b1860-burger__bars { margin: 0 auto; position: relative; }
.b1860-burger__bars::before, .b1860-burger__bars::after { content: ""; position: absolute; left: 0; }
.b1860-burger__bars::before { top: -8px; }
.b1860-burger__bars::after { top: 8px; width: 16px; }
.b1860-burger[aria-expanded="true"] .b1860-burger__bars { background: transparent; }
.b1860-burger[aria-expanded="true"] .b1860-burger__bars::before { transform: translateY(8px) rotate(45deg); }
.b1860-burger[aria-expanded="true"] .b1860-burger__bars::after { width: 24px; transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
    .b1860-burger { display: block; }
    .b1860-header .b1860-wrap { flex-wrap: wrap; }
    .b1860-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .8rem; padding-block: var(--s-2) var(--s-6); border-top: 1px solid rgba(255,255,255,.12); }
    .b1860-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .b1860-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
    .b1860-nav a:not(.b1860-btn) { display: block; padding: .8rem .2rem; font-size: 1.25rem; }
    .b1860-nav .is-current > a:not(.b1860-btn) { background: transparent; clip-path: none; color: var(--c-rot-hell); }
    .b1860-nav .sub-menu { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 .5rem .9rem; min-width: 0; }
    .b1860-nav .sub-menu li { border: 0; }
    .b1860-nav .sub-menu a:not(.b1860-btn) { color: rgba(255,255,255,.72); font-size: 1.05rem; padding: .4rem .2rem; }
    .b1860-nav .sub-menu a:not(.b1860-btn):hover { background: transparent; color: #fff; }
    .b1860-nav .sub-menu .is-current > a:not(.b1860-btn) { background: transparent; color: var(--c-rot-hell); }
    .b1860-nav .b1860-btn { justify-content: center; }
    body.b1860-nav-open .b1860-nav { display: flex; }
    /* Ohne JS bleibt das Menü sichtbar statt unerreichbar. */
    body:not(.b1860-ready) .b1860-nav { display: flex; }
    body:not(.b1860-ready) .b1860-burger { display: none; }
}

/* ----- Content-Bereich ----- */
.b1860-main { min-height: 40vh; }
.b1860-page { padding-block: var(--s-16); }
.b1860-page__title { margin-bottom: var(--s-8); padding-bottom: var(--s-6); border-bottom: 2px solid var(--c-tinte); }
.b1860-page__title h1 { margin-bottom: 0; }
.b1860-page__title .b1860-pill + h1 { margin-top: var(--s-3); }
.b1860-entry { max-width: 72ch; }
.b1860-entry h2 { margin-top: var(--s-8); }
.b1860-entry ul { padding-left: 1.2rem; }
.b1860-entry li::marker { color: var(--c-primary); }
.b1860-entry blockquote { margin: var(--s-6) 0; padding: var(--s-4) var(--s-6); background: var(--c-surface); border-left: 4px solid var(--c-primary); font-family: var(--ff-display); font-style: italic; font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
.b1860-entry table { width: 100%; border-collapse: collapse; margin: var(--s-6) 0; background: var(--c-surface); }
.b1860-entry th { background: var(--c-tinte); color: #fff; text-align: left; padding: var(--s-3); font-family: var(--ff-display); font-style: italic; font-weight: 800; text-transform: uppercase; }
.b1860-entry td { padding: var(--s-3); border-bottom: 1px solid var(--c-line); }
/* Eingebettete Fremdinhalte (z. B. Backcourt-Formular) setzen ihre Breite
   teils per Skript auf die Fensterbreite – nie breiter als die Spalte. */
.b1860-entry iframe, .b1860-entry embed, .b1860-entry object, .b1860-entry video { max-width: 100%; }
.b1860-entry iframe { display: block; width: 100%; border: 0; background: var(--c-surface); border-radius: var(--radius-lg); }

.b1860-page__title .b1860-meta { margin: var(--s-3) 0 0; font-size: var(--fs-small); color: var(--c-muted); }
.b1860-hero-figure { margin: 0 0 var(--s-8); }
.b1860-hero-figure img { width: 100%; border-radius: var(--radius-lg); }
.b1860-hero-figure figcaption { margin-top: .5rem; font-size: var(--fs-small); color: var(--c-muted); }
.b1860-linkpages { margin-top: var(--s-6); font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 900; display: flex; gap: .6rem; }
.b1860-tags { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: .4rem; }
.b1860-tags a { display: inline-block; padding: .3rem .8rem; background: var(--c-surface2); color: var(--c-text); font-size: var(--fs-small); font-weight: 600; clip-path: polygon(var(--skew-sm) 0, 100% 0, calc(100% - var(--skew-sm)) 100%, 0 100%); }
.b1860-tags a:hover { background: var(--c-primary); color: #fff; }

/* Vorheriger/nächster Beitrag */
.b1860-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-12); }
.b1860-postnav a { display: block; padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); font-family: var(--ff-display); font-style: italic; text-transform: uppercase; font-weight: 800; font-size: 1.15rem; color: var(--c-text); line-height: 1.15; }
.b1860-postnav a:hover { border-color: var(--c-tinte); color: var(--c-primary); }
.b1860-postnav a.next { text-align: right; grid-column: 2; }
.b1860-postnav span { display: block; font-family: var(--ff-body); font-style: normal; text-transform: none; font-weight: 400; font-size: var(--fs-small); color: var(--c-muted); margin-bottom: .3rem; }
@media (max-width: 560px) { .b1860-postnav { grid-template-columns: 1fr; } .b1860-postnav a.next { grid-column: 1; text-align: left; } }

.b1860-postlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); align-items: stretch; }
.b1860-postlist .date { font-family: var(--ff-display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-em); font-size: .85rem; color: var(--c-primary); }
.b1860-postlist h3 { margin: .4rem 0 .6rem; }
.b1860-postlist h3 a { color: var(--c-text); }
.b1860-postlist h3 a:hover { color: var(--c-primary); }
.b1860-postlist p { color: var(--c-muted); }
.b1860-more { margin-top: var(--s-8); }
@media (max-width: 640px) { .b1860-postlist { grid-template-columns: 1fr; } }

/* ----- Pagination (Beiträge & Kommentare) ----- */
.pagination, .comments-pagination { margin-top: var(--s-12); }
.pagination .nav-links, .comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .3rem; }
.pagination .screen-reader-text, .comments-pagination .screen-reader-text { position: absolute !important; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.9rem; height: 2.75rem; padding: 0 .9rem;
    background: var(--c-surface2); color: var(--c-text);
    font-family: var(--ff-display); font-style: italic; font-weight: 900; font-size: 1.1rem; text-transform: uppercase;
    clip-path: polygon(var(--skew-sm) 0, 100% 0, calc(100% - var(--skew-sm)) 100%, 0 100%);
}
.page-numbers:hover { background: var(--c-line); color: var(--c-text); }
.page-numbers.current { background: var(--c-primary); color: #fff; }
.page-numbers.dots { background: transparent; }

/* ----- Footer: Anthrazit, schräge Oberkante, Tiefrot-Band rechts ----- */
.b1860-footer {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: var(--s-16); background: var(--c-tinte); color: #fff;
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.b1860-footer::before {
    content: ""; position: absolute; top: -2px; bottom: -2px; right: -8%; width: 30%; max-width: 380px; z-index: -1;
    background: var(--c-primary-deep); transform: skewX(var(--band-angle));
}
.b1860-footer::after {
    content: ""; position: absolute; top: -2px; bottom: -2px; right: calc(min(30%, 380px) - 8% + 22px); width: 8px; z-index: -1;
    background: var(--c-primary); transform: skewX(var(--band-angle));
}
.b1860-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-block: calc(var(--s-16) + var(--cut)) var(--s-12); }
.b1860-footer .fb .l1 { display: block; font-family: var(--ff-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: .95; }
.b1860-footer .fb .l2 { display: block; font-family: var(--ff-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: .95; color: var(--c-rot-hell); }
.b1860-footer .fb p { margin: .9rem 0 0; font-size: .92rem; color: rgba(255,255,255,.72); max-width: 32ch; }
.b1860-footer h4 { color: #fff; font-size: 1rem; letter-spacing: var(--tracking-label); margin: 0 0 .8rem; }
.b1860-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.b1860-footer a { color: rgba(255,255,255,.82); }
.b1860-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c-rot-hell); text-underline-offset: 3px; }
.b1860-footer .legal { border-top: 1px solid rgba(255,255,255,.12); }
.b1860-footer .legal .b1860-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; font-size: .82rem; color: rgba(255,255,255,.62); }
@media (max-width: 720px) { .b1860-footer .cols { grid-template-columns: 1fr 1fr; } .b1860-footer::before, .b1860-footer::after { display: none; } }
@media (max-width: 460px) { .b1860-footer .cols { grid-template-columns: 1fr; } }

/* Credit-Hinweis in der Fußzeile (z. B. ©DOSB/Sportdeutschland) */
.b1860-credit { margin-right: .6rem; opacity: .85; }
