/* BB-Core · Grundregeln benballenberger.de (erzeugt von oxygen/stil.py; Gestaltung siehe KONZEPT.md §3) */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(schriften/source-serif-4-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(schriften/source-serif-4-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(schriften/source-sans-3-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
body { background: #fbfaf7; color: #1d2629; font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
#wpadminbar img { display: inline; }
h1, h2, h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; letter-spacing: 0; line-height: 1.12; color: #213438; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(32px, 3.6vw, 46px); }
h3 { font-size: 26px; }
@media (max-width: 767px) { body { font-size: 17px; } }

/* Kasten für Essay-Reihen [bb_reihe] (0.4.5) – im Gegensatz zum Kasten der Auragramm-Reihe immer sichtbar */
.bb-reihe-kasten.bb-reihe-kasten--essay { display: block; margin: 40px 0 0; }
.bb-reihe-kasten--essay small { color: #6b7275; font-size: 14px; }
.bb-reihe-kasten--essay span { color: #6b7275; }

/* Tablet-Lücke (0.4.6, Darstellungsprüfung 23.10.2026): Oxygen kennt für diese Bausteine nur Desktop und Handy (≤ 767 px).
   Zwischen 768 und 1119 px liefen Raster über den Rand und die Seite ließ sich seitlich schieben.
   „body“ vorangestellt, weil basis.css vor den Oxygen-Stilen geladen wird. */
@media (min-width: 768px) and (max-width: 899px) {
  body .bb-stimmen { grid-template-columns: minmax(0, 1fr); }
  body .bb-farben { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body .bb-buchreihe { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }
  body .bb-buchreihe.bb-rechts { grid-template-columns: minmax(0, 1fr) 220px; }
  body .bb-baende { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1119px) {
  body .bb-gd-weg { grid-template-columns: minmax(0, 1fr); }
  body .bb-gd-weg li { padding: 0 0 22px 56px; }
  body .bb-gd-weg li:after { top: 38px; right: auto; bottom: 0; left: 19px; border-top: 0; border-left: 1px solid #2f3c3a; }
}
/* Handy: lange Wörter in Seitentiteln (z. B. „Datenschutzerklärung“) trennen statt über den Rand zu laufen */
@media (max-width: 767px) {
  body .bb-seitenkopf h1 { font-size: clamp(28px, 8vw, 40px); hyphens: auto; overflow-wrap: anywhere; }
}

/* Neuester Beitrag auf der Startseite [bb_neuester_beitrag] (0.4.7). Das Bild bleibt unbeschnitten (Schrift im Bild lesbar). */
.bb-nb h2 { margin: 16px 0 0; font-size: clamp(30px, 3.2vw, 42px); }
.bb-nb h2 a { color: inherit; text-decoration: none; }
.bb-nb h2 a:hover { color: var(--bb-kupfer); }
.bb-nb-bild { display: block; border-radius: 16px; overflow: hidden; background: var(--bb-papier-2); box-shadow: 0 26px 60px rgba(33, 52, 56, .22); }
.bb-nb-bild img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; transition: transform .7s ease; }
.bb-nb-bild:hover img { transform: scale(1.012); }
.bb-nb-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--bb-grau); font-size: 14px; }
.bb-nb-meta span + span::before { content: "·"; margin-right: 18px; color: var(--bb-kupfer); }
.bb-nb-lead { margin-top: 24px; font-family: var(--bb-kopf); font-size: 23px; line-height: 1.38; color: var(--bb-schiefer); }
.bb-nb-text { margin-top: 14px; color: var(--bb-tinte); }
.bb-nb-mehr { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
/* A – Aufmacher: Bild links, Text rechts */
.bb-nb--a { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
/* B – Bühne: Titel oben, Bild in voller Breite, Text darunter */
.bb-nb--b .bb-nb-kopf { max-width: 860px; margin-bottom: 40px; }
.bb-nb--b .bb-nb-bild img { max-height: min(82vh, 640px); }   /* Querformat füllt die Breite, Quadrat/Hochformat bleiben handlich */
.bb-nb--b .bb-nb-unten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; margin-top: 40px; }
.bb-nb--b .bb-nb-lead { margin-top: 0; font-size: 26px; }
.bb-nb--b .bb-nb-text { margin-top: 0; }
/* C – Dunkle Karte wie der Aufmacher der Gedanken */
.bb-nb--c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; overflow: hidden; background: var(--bb-schiefer); border-radius: 24px; }
.bb-nb--c .bb-nb-bild { order: 2; height: 100%; display: flex; align-items: center; border-radius: 0; box-shadow: none; background: var(--bb-nacht); padding: 44px; }
.bb-nb--c .bb-nb-bild img { border-radius: 10px; box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }
.bb-nb--c .bb-nb-inhalt { padding: 56px 56px 56px 60px; }
.bb-nb--c .bb-zeile { color: var(--bb-kupfer-hell); }
.bb-nb--c h2 { color: #fff; }
.bb-nb--c h2 a:hover { color: var(--bb-kupfer-hell); }
.bb-nb--c .bb-nb-meta { color: var(--bb-hell-2); }
.bb-nb--c .bb-nb-lead { color: var(--bb-hell); }
.bb-nb--c .bb-nb-text { color: var(--bb-hell-2); }
.bb-nb--c .bb-link { color: var(--bb-kupfer-hell); }
@media (max-width: 1023px) {
  .bb-nb--a, .bb-nb--c { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bb-nb--c { gap: 0; }
  .bb-nb--c .bb-nb-bild { order: 0; padding: 28px; }
  .bb-nb--b .bb-nb-unten { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 767px) {
  .bb-nb-lead, .bb-nb--b .bb-nb-lead { font-size: 20px; }
  .bb-nb-bild { border-radius: 12px; }
  .bb-nb--c .bb-nb-inhalt { padding: 32px 26px 36px; }
  .bb-nb--c .bb-nb-bild { padding: 20px; }
}

/* Barrierefreiheit (0.4.9, PageSpeed 25.10.2026) */
/* Terrakotta auf getöntem Grund: #b0532a hatte 4,35:1, #a64e27 hat 4,79:1 (Atelier bleibt beim hellen Ton) */
.bb-abschnitt.bb-ton { --bb-kupfer: #a64e27; }
.bb-atelier .bb-abschnitt.bb-ton { --bb-kupfer: #b0532a; }
/* Überschriftenfolge: Fußzeile und Kontaktkarte sind jetzt h2, Aussehen wie bisher (h4 bzw. h3) */
.bb-fuss h2 { font-weight: 600; font-size: 12px; line-height: 1; font-family: var(--bb-text); letter-spacing: .18em; text-transform: uppercase; color: var(--bb-hell); margin-bottom: 18px; }
.bb-kontakt .bb-karte h2 { font-size: 26px; }
/* Nur für Screenreader und Suchmaschinen sichtbar */
.bb-unsichtbar { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
