/* ==========================================================================
   BerlinEcho Frisch – Stylesheet v1.0.0
   Marke: Berliner Rot #b5001e, Gold #d4af37, Anthrazit #1a1a1a, Creme #f8f6f3
   Schriften: Playfair Display (nur Wortlogo), Archivo (Überschriften), DM Sans (Text)
   ========================================================================== */

:root {
	--rot: #b5001e;
	--rot-dunkel: #8a0016;
	--rot-hell: #e0485f;
	--gold: #d4af37;
	--ink: #1a1a1a;
	--ink-2: #3a3a3a;
	--grau: #6b6b6b;
	--creme: #f8f6f3;
	--linie: #e2e2e2;
	--platz: #e4ded5;
	--weiss: #fff;

	--f-logo: 'Playfair Display', Georgia, serif;
	--f-titel: 'Archivo', 'Arial Narrow', Arial, sans-serif;
	--f-text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--r-s: 12px;
	--r-m: 16px;
	--r-l: 20px;
	--r-xl: 24px;
	--breite: 1312px;
	--rand: clamp(16px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--weiss);
	color: var(--ink);
	font-family: var(--f-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--rot); text-decoration: none; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button { font-family: inherit; }

.bef-breite { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.bef-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bef-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--rot); color: var(--weiss); padding: 10px 16px; border-radius: var(--r-s); }
.bef-skip:focus { left: 8px; color: var(--weiss); }

/* ---------- Wortlogo ---------- */
.bef-logo { display: inline-flex; flex-direction: column; gap: 2px; color: var(--ink); }
.bef-logo:hover { color: var(--ink); }
.bef-logo__wort { font-family: var(--f-logo); font-weight: 900; font-size: 36px; line-height: 1; letter-spacing: -1px; color: var(--ink); }
.bef-logo__wort span { color: var(--rot); }
.bef-logo__wort--hell { color: var(--weiss); font-size: 32px; }
.bef-logo__wort--hell span { color: var(--rot-hell); }
.bef-logo__unter { font-size: 9px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Kopf ---------- */
.bef-kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.bef-kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.bef-nav__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.bef-nav__liste a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); }
.bef-nav__liste a:hover { background: var(--creme); color: var(--ink); }
.bef-nav__liste .ist-aktiv > a, .bef-nav__liste .current-cat > a { background: var(--ink); color: var(--weiss); }
.bef-kopf__aktionen { display: flex; gap: 8px; }
.bef-rund { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--creme); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bef-rund--dunkel { background: var(--ink); color: var(--weiss); }
.bef-nur-mobil { display: none; }
.bef-suche { padding-block: 12px 4px; }

.bef-live { display: flex; gap: 10px; overflow-x: auto; padding-block: 12px 16px; scrollbar-width: none; }
.bef-live::-webkit-scrollbar { display: none; }
.bef-pille { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: var(--creme); color: var(--ink); font-size: 14px; font-weight: 600; }
.bef-pille:hover { color: var(--ink); background: #efebe5; }
.bef-pille--live { background: var(--rot); color: var(--weiss); }
.bef-pille--live:hover { background: var(--rot-dunkel); color: var(--weiss); }
.bef-pille--weiss { background: var(--weiss); }
.bef-puls { width: 8px; height: 8px; border-radius: 50%; background: var(--weiss); animation: bef-puls 1.6s infinite; }
@keyframes bef-puls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bef-puls { animation: none; } }

/* ---------- Typo-Bausteine ---------- */
.bef-h2 { font-family: var(--f-titel); font-stretch: 72%; font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -.6px; margin: 0 0 16px; }
.bef-h3 { font-family: var(--f-titel); font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1.05; margin: 0 0 8px; }
.bef-riesig { font-family: var(--f-titel); font-stretch: 68%; font-weight: 800; font-size: clamp(48px, 7vw, 112px); line-height: .92; letter-spacing: -1.6px; margin: 12px 0; }
.bef-dach { font-size: 13px; font-weight: 700; color: var(--rot); }
.bef-marke { display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.bef-meta { font-size: 14px; color: var(--grau); }
.bef-mehr { font-weight: 700; }
.bef-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--rot); color: var(--weiss); font-weight: 700; font-size: 16px; cursor: pointer; }
.bef-knopf:hover { background: var(--rot-dunkel); color: var(--weiss); }
.bef-knopf--gold { background: var(--gold); color: var(--ink); }
.bef-knopf--gold:hover { background: #c29f2f; color: var(--ink); }
.bef-knopf--dunkel { background: var(--ink); }

/* ---------- Bilder ---------- */
.bef-bild { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--platz); }
.bef-bild--leer { min-height: 180px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--creme), var(--platz)); overflow: hidden; }
.bef-bild__wort { font-family: var(--f-logo); font-weight: 900; font-size: clamp(26px, 3vw, 40px); letter-spacing: -1px; color: var(--ink); opacity: .18; line-height: 1; }
.bef-bild__wort span { color: var(--rot); }
.bef-bild__ressort { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.bef-karte--klein .bef-bild--leer { min-height: 90px; }
.bef-karte--klein .bef-bild__wort { font-size: 18px; }
.bef-karte--klein .bef-bild__ressort { display: none; }

/* ---------- Raster & Abschnitte ---------- */
.bef-abschnitt { padding-top: 56px; }
.bef-abschnitt__kopf { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.bef-abschnitt__kopf .bef-h2 { margin: 0; }
.bef-raster { display: grid; gap: 20px; }
.bef-raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bef-raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bef-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.bef-zwei--breit { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }

/* ---------- Aufmacher ---------- */
.bef-aufmacher { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); margin-top: 4px; }
.bef-aufmacher__bild { display: block; min-height: 480px; border-radius: var(--r-l) 0 0 var(--r-l); overflow: hidden; background: var(--platz); }
.bef-aufmacher__bild .bef-bild { height: 100%; }
.bef-aufmacher__text { background: var(--creme); border-radius: 0 var(--r-l) var(--r-l) 0; padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.bef-aufmacher__titel { font-family: var(--f-titel); font-stretch: 70%; font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: .98; letter-spacing: -1px; margin: 18px 0 14px; }
.bef-aufmacher__titel a { color: var(--ink); }
.bef-aufmacher__titel a:hover { color: var(--rot); }
.bef-aufmacher__teaser { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Karten ---------- */
.bef-karte { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.bef-karte:hover { color: var(--ink); }
.bef-karte:hover .bef-karte__titel { color: var(--rot); }
.bef-karte__titel { font-family: var(--f-titel); font-stretch: 78%; font-weight: 800; font-size: 26px; line-height: 1.1; }
.bef-karte--bild .bef-bild { aspect-ratio: 3 / 2; height: auto; border-radius: var(--r-m); }
.bef-karte--text { border: 1px solid var(--linie); border-radius: var(--r-m); padding: 22px; min-height: 180px; }
.bef-karte--text .bef-karte__titel { font-stretch: 80%; font-weight: 700; font-size: 22px; line-height: 1.15; }
.bef-karte--klein { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; }
.bef-karte--klein .bef-bild { height: 90px; border-radius: 14px; }
.bef-karte--klein .bef-karte__titel { font-size: 20px; }
.bef-karte__koerper { display: flex; flex-direction: column; gap: 4px; }
.bef-karte--gross .bef-bild { aspect-ratio: 3 / 2; height: auto; border-radius: var(--r-l); }
.bef-karte__titel--gross { font-stretch: 70%; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; }

.bef-zeile { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--linie); color: var(--ink); }
.bef-zeile:hover { color: var(--rot); }
.bef-zeile__titel { font-weight: 700; font-size: 18px; line-height: 1.3; }
.bef-zeile--chip { flex-direction: row; align-items: center; gap: 14px; }
.bef-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--creme); color: var(--ink); white-space: nowrap; }
.bef-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bef-chips .bef-chip { font-size: 14px; font-weight: 600; padding: 8px 14px; }
.bef-chip--rand { background: var(--weiss); border: 1px solid var(--linie); }
.bef-chip.ist-aktiv { background: var(--ink); color: var(--weiss); }

/* ---------- Berlin-Service ---------- */
.bef-service { margin-top: 64px; }
.bef-service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; background: var(--rot); color: var(--weiss); border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 48px); max-width: calc(var(--breite)); width: calc(100% - 2 * var(--rand)); }
.bef-service__kopf { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.bef-service__titel { font-family: var(--f-titel); font-stretch: 70%; font-weight: 800; font-size: clamp(38px, 4vw, 56px); line-height: .95; letter-spacing: -1px; margin: 0; }
.bef-service__text { margin: 0; font-size: 17px; line-height: 1.55; color: #f6d9de; }
.bef-kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bef-kacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bef-kacheln--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bef-kacheln--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bef-kacheln a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--weiss); color: var(--ink); border-radius: var(--r-m); padding: 20px; }
.bef-kacheln a:hover { color: var(--rot); }
.bef-kachel__titel { font-family: var(--f-titel); font-stretch: 80%; font-weight: 800; font-size: 23px; line-height: 1.05; }
.bef-kachel__text { font-size: 14px; color: var(--grau); }

/* ---------- Termine ---------- */
.bef-termine__liste { list-style: none; margin: 0; padding: 0; }
.bef-termin { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.bef-termin__tag { flex: 0 0 64px; height: 56px; border-radius: var(--r-s); background: var(--creme); display: flex; align-items: center; justify-content: center; font-family: var(--f-titel); font-stretch: 75%; font-weight: 800; font-size: 20px; }
.bef-termin__tag.ist-erster { background: var(--gold); }
.bef-termin__text { display: flex; flex-direction: column; font-weight: 600; font-size: 17px; }
.bef-termin__text a { color: var(--ink); }
.bef-termin__text span { font-weight: 400; font-size: 14px; color: var(--grau); }

/* ---------- Artikel ---------- */
.bef-artikel__kopf { padding-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.bef-artikel__kopf > * { max-width: 1000px; }
.bef-artikel__titel { font-family: var(--f-titel); font-stretch: 70%; font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); line-height: .96; letter-spacing: -1.2px; margin: 0; }
.bef-artikel__teaser { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); }
.bef-autorzeile { display: flex; gap: 14px; align-items: center; }
.bef-autorzeile > span { display: flex; flex-direction: column; }
.bef-autorzeile__name { font-weight: 700; color: var(--ink); }
.bef-avatar { border-radius: 50%; background: var(--platz); }
.bef-artikel__bild { margin: 32px auto 0; }
.bef-artikel__bild img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--r-l); }
.bef-artikel__bild figcaption { margin-top: 8px; font-size: 14px; color: var(--grau); display: flex; flex-direction: column; gap: 4px; }
.bef-bildhinweis { font-size: 13px; }
.bef-artikel__rumpf { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; padding-top: 44px; padding-bottom: 80px; }
.bef-artikel__spalte { min-width: 0; max-width: 760px; }
.bef-krumen { font-size: 14px; color: var(--grau); display: flex; flex-wrap: wrap; gap: 8px; }
.bef-krumen a { color: var(--grau); }
.bef-krumen a:hover { color: var(--rot); }

.bef-autorbox { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie); }
.bef-autorbox__name { font-weight: 700; font-size: 17px; color: var(--ink); }
.bef-autorbox p { margin: 4px 0 0; font-size: 15px; color: var(--grau); }

/* ---------- Seitenleiste ---------- */
.bef-leiste { display: flex; flex-direction: column; gap: 24px; }
.bef-box { background: var(--creme); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bef-box a { color: var(--ink); font-weight: 600; line-height: 1.35; }
.bef-box a:hover { color: var(--rot); }
.bef-box p { margin: 0; font-size: 15px; color: var(--ink-2); }
.bef-box__titel { font-family: var(--f-titel); font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1.05; }
.bef-box--rot { background: var(--rot); color: var(--weiss); }
.bef-box--rot a { color: var(--weiss); padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.bef-box--rot a:last-child { border-bottom: 0; }
.bef-box--rot a:hover { color: var(--weiss); text-decoration: underline; }

/* ---------- Inhalt (Editor-Text) ---------- */
.bef-inhalt { font-size: 19px; line-height: 1.75; }
.bef-inhalt > * { margin-top: 0; margin-bottom: 1.1em; }
.bef-inhalt h2 { font-family: var(--f-titel); font-stretch: 72%; font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; margin: 1.6em 0 .5em; }
.bef-inhalt h3 { font-family: var(--f-titel); font-stretch: 78%; font-weight: 800; font-size: 25px; line-height: 1.15; margin: 1.4em 0 .4em; }
.bef-inhalt h4 { font-weight: 700; font-size: 19px; margin: 1.2em 0 .3em; }
.bef-inhalt a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bef-inhalt ul, .bef-inhalt ol { padding-left: 1.3em; }
.bef-inhalt li { margin-bottom: .35em; }
.bef-inhalt blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--creme); border-radius: var(--r-m); font-size: 20px; }
.bef-inhalt table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; display: block; overflow-x: auto; }
.bef-inhalt th, .bef-inhalt td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.bef-inhalt th { background: var(--creme); font-weight: 700; }
.bef-inhalt img { border-radius: var(--r-m); }
.bef-inhalt figcaption { font-size: 14px; color: var(--grau); }
.bef-inhalt--breit { max-width: 860px; }

/* Altbestand angleichen: Inhalte mit Inline-Stilen aus älteren Plugins (linke Akzentränder,
   eigene Schriften) an das neue Design anpassen, ohne die Beiträge anzufassen. */
.bef-inhalt [style*="font-family"] { font-family: inherit !important; }
.bef-inhalt :not(td):not(th)[style*="border-left"] { border: 0 !important; border-radius: var(--r-m) !important; }
.bef-inhalt [style*="border-radius:4px"], .bef-inhalt [style*="border-radius:6px"], .bef-inhalt [style*="border-radius:8px"] { border-radius: var(--r-m) !important; }
.bef-inhalt [style*="background:#fff5f5"], .bef-inhalt [style*="background:#f5f7fa"], .bef-inhalt [style*="background:#f4f4f4"], .bef-inhalt [style*="background:#f5f5f5"] { background: var(--creme) !important; }
.bef-inhalt [style*="border:1px solid #f0c9cf"] { border-color: var(--linie) !important; }
.bef-inhalt h2[style*="border-bottom"], .bef-inhalt h3[style*="border-bottom"] { border-bottom: 0 !important; padding-bottom: 0 !important; }
.bef-inhalt [style*="color:#1a1a2e"] { color: var(--ink) !important; }
.bef-inhalt [style*="background:#1a1a2e"] { background: var(--ink) !important; color: var(--weiss) !important; }
.bef-inhalt div[style*="max-width:820px"], .bef-inhalt div[style*="max-width: 820px"] { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.bef-inhalt pre, .bef-inhalt code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }

/* ---------- Archive, Bezirk, Finder ---------- */
.bef-archiv { padding-top: 40px; padding-bottom: 64px; }
.bef-archiv__kopf { margin-bottom: 32px; }
.bef-archiv__text { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 720px; }
.bef-bezirk { padding-top: 32px; }
.bef-bezirk .bef-chips { margin-top: 0; }
.bef-liste { max-width: 860px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--creme); color: var(--ink); font-weight: 700; }
.nav-links .page-numbers.current { background: var(--ink); color: var(--weiss); }

.bef-finder-kopf { margin-top: 24px; background: var(--creme); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); max-width: var(--breite); width: calc(100% - 2 * var(--rand)); }
.bef-finder-kopf__zeile { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.bef-filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; }
.bef-filter__suche { flex: 1 1 320px; min-height: 52px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 20px; font-size: 17px; font-family: inherit; background: var(--weiss); }
.bef-filter__tage { display: flex; gap: 6px; flex-wrap: wrap; }
.bef-tag { width: 52px; height: 48px; border: 0; border-radius: 14px; background: var(--weiss); font-weight: 700; font-size: 16px; cursor: pointer; }
.bef-tag[aria-pressed="true"] { background: var(--rot); color: var(--weiss); }
.bef-finder-liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bef-eintrag { display: flex; flex-direction: column; gap: 8px; height: 100%; border: 1px solid var(--linie); border-radius: var(--r-l); padding: 22px 24px; color: var(--ink); }
.bef-eintrag:hover { border-color: var(--ink); color: var(--ink); }
.bef-eintrag__titel { font-family: var(--f-titel); font-stretch: 78%; font-weight: 800; font-size: 24px; line-height: 1.05; }
.bef-eintrag__text { font-size: 15px; color: var(--ink-2); }
.bef-eintrag__meta { font-size: 13px; color: var(--grau); }
.bef-leer { padding: 24px; border: 1px dashed var(--linie); border-radius: var(--r-l); color: var(--grau); }

.bef-suchform { display: flex; gap: 8px; max-width: 720px; }
.bef-suchform input { flex: 1; min-height: 52px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 20px; font-size: 17px; font-family: inherit; }

.bef-fehler { padding-bottom: 32px; }

/* ---------- Ticker ---------- */
.bef-ticker__kopf { margin-top: 24px; background: var(--ink); color: var(--weiss); border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; max-width: var(--breite); width: calc(100% - 2 * var(--rand)); }
.bef-ticker__titel { font-family: var(--f-titel); font-stretch: 68%; font-weight: 800; font-size: clamp(40px, 5.4vw, 76px); line-height: .94; letter-spacing: -1.2px; margin: 16px 0 0; }
.bef-ticker__fakten { margin: 0; display: flex; flex-direction: column; font-size: 15px; }
.bef-ticker__fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.bef-ticker__fakten div:last-child { border-bottom: 0; }
.bef-ticker__fakten dt { color: rgba(255, 255, 255, .72); }
.bef-ticker__fakten dd { margin: 0; font-weight: 700; }

/* ---------- Fuß ---------- */
.bef-fuss { margin-top: 80px; background: var(--ink); color: rgba(255, 255, 255, .75); font-size: 15px; }
.bef-fuss__innen { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 48px 32px; }
.bef-fuss__marke p { margin: 12px 0 0; line-height: 1.6; max-width: 380px; }
.bef-fuss__titel { display: block; color: var(--weiss); font-weight: 700; margin-bottom: 10px; }
.bef-fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bef-fuss a { color: rgba(255, 255, 255, .75); }
.bef-fuss a:hover { color: var(--gold); }
.bef-fuss__zeile { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 18px 28px; font-size: 13px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
	.bef-raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bef-artikel__rumpf { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.bef-service { grid-template-columns: minmax(0, 1fr); }
	.bef-kacheln--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.bef-nur-mobil { display: inline-flex; }
	.bef-kopf__innen { min-height: 64px; flex-wrap: wrap; }
	.bef-nav { order: 3; width: 100%; display: none; padding-bottom: 12px; }
	.bef-nav.ist-offen { display: block; }
	.bef-nav__liste { flex-direction: column; }
	.bef-nav__liste a { padding: 12px 16px; }
	.bef-logo__wort { font-size: 30px; }
	.bef-logo__unter { font-size: 8px; letter-spacing: 1.8px; }
	.bef-aufmacher { grid-template-columns: minmax(0, 1fr); }
	.bef-aufmacher__bild { min-height: 240px; border-radius: var(--r-l) var(--r-l) 0 0; }
	.bef-aufmacher__text { border-radius: 0 0 var(--r-l) var(--r-l); }
	.bef-raster--3, .bef-zwei, .bef-zwei--breit { grid-template-columns: minmax(0, 1fr); }
	.bef-finder-liste { grid-template-columns: minmax(0, 1fr); }
	.bef-ticker__kopf { grid-template-columns: minmax(0, 1fr); }
	.bef-fuss__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.bef-finder-kopf__zeile { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.bef-raster--4 { grid-template-columns: minmax(0, 1fr); }
	.bef-karte--text { min-height: 0; }
	.bef-kacheln--3, .bef-kacheln--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bef-kachel__text { display: none; }
	.bef-kachel__titel { font-size: 19px; }
	.bef-inhalt { font-size: 18px; line-height: 1.7; }
	.bef-artikel__bild { padding-inline: 0; }
	.bef-artikel__bild img { border-radius: 0; }
	.bef-artikel__bild figcaption { padding-inline: var(--rand); }
	.bef-zeile--chip { flex-direction: column; align-items: flex-start; }
	.bef-fuss__innen { grid-template-columns: minmax(0, 1fr); }
	.bef-suchform { flex-direction: column; }
}

/* ---------- Autoren & Redaktion (1.0.1) ---------- */
.bef-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 32px 0 56px; }
.bef-autor { border: 1px solid var(--linie); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--weiss); }
.bef-autor--gross { border: 0; padding: 0; max-width: 820px; margin-bottom: 40px; }
.bef-autor__kopf { display: flex; gap: 16px; align-items: center; }
.bef-autor__name { font-family: var(--f-titel); font-stretch: 78%; font-weight: 800; font-size: 26px; line-height: 1.1; margin: 0; }
.bef-autor--gross .bef-autor__name { font-stretch: 68%; font-size: clamp(40px, 6vw, 80px); line-height: .95; }
.bef-autor__name a { color: var(--ink); }
.bef-autor__job { margin: 4px 0 0; color: var(--rot); font-weight: 700; font-size: 15px; }
.bef-autor__bio { margin: 0; color: var(--ink-2); }
.bef-autor__bio p { margin: 0 0 12px; }
.bef-autor__themen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bef-autor__quali { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.bef-autor__fuss { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; font-weight: 600; color: var(--grau); }
.bef-autor__alle { margin-left: auto; }
.bef-bezirk__wetter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
@media (max-width: 600px) { .bef-team { grid-template-columns: minmax(0, 1fr); } .bef-autor__alle { margin-left: 0; } }

/* ---------- 1.1.0: Avatare, Inhaltsverzeichnis, Werbung, Bezirke ---------- */
.bef-avatar { border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: inline-block; }
.bef-avatar--initialen { display: inline-flex; align-items: center; justify-content: center; background: var(--rot); color: var(--weiss); font-family: var(--f-titel); font-weight: 800; letter-spacing: .5px; }
.bef-autorzeile .bef-avatar { width: 48px; height: 48px; }
.bef-artikel__spalte > .bef-autor { margin-top: 40px; background: var(--creme); border: 0; }

/* alte Inhaltsverzeichnisse im Text ausblenden – das Theme baut ein eigenes */
.bef-inhalt .be-toc, .bef-inhalt .rank-math-toc, .bef-inhalt .wp-block-rank-math-toc-block, .bef-inhalt .ez-toc-container, .bef-inhalt #ez-toc-container, .bef-inhalt .mmcs-toc, .bef-inhalt .toc-box { display: none !important; }
.bef-toc { background: var(--creme); border-radius: var(--r-l); padding: 22px 24px; }
.bef-toc__titel { display: block; font-family: var(--f-titel); font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.bef-toc__liste { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; }
.bef-toc__liste li { counter-increment: toc; border-top: 1px solid var(--linie); }
.bef-toc__liste li:first-child { border-top: 0; }
.bef-toc__liste a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 9px 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.bef-toc__liste a::before { content: counter(toc); color: var(--rot); font-family: var(--f-titel); font-weight: 800; }
.bef-toc__liste a:hover, .bef-toc__liste a.ist-aktiv { color: var(--rot); }
.bef-toc--leiste { max-height: calc(100vh - 40px); overflow: auto; }
.bef-toc--mobil { display: none; margin: 0 0 28px; padding: 0; }
.bef-toc--mobil summary { cursor: pointer; padding: 16px 20px; font-family: var(--f-titel); font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bef-toc--mobil summary::-webkit-details-marker { display: none; }
.bef-toc--mobil summary::after { content: '+'; color: var(--rot); font-size: 24px; line-height: 1; }
.bef-toc--mobil[open] summary::after { content: '–'; }
.bef-toc--mobil summary span { font-family: var(--f-text); font-weight: 500; font-size: 14px; color: var(--grau); margin-left: 8px; margin-right: auto; }
.bef-toc--mobil .bef-toc__liste { padding: 0 20px 12px; }
.bef-inhalt h2[id] { scroll-margin-top: 24px; }

.bef-werbung { display: flex; flex-direction: column; gap: 6px; }
.bef-werbung__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); }
.bef-werbung--leiste { position: sticky; top: 24px; }
.bef-werbung--artikel { margin: 32px 0; padding: 16px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); align-items: center; }
.bef-haus { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--ink); color: var(--weiss); }
.bef-haus:hover { color: var(--weiss); }
.bef-haus__kopf { padding: 10px 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bef-haus__bild { display: block; width: 100%; height: auto; }
.bef-haus__text { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.bef-haus__marke { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.bef-haus__satz { font-size: 15px; line-height: 1.45; color: #e9e6e1; }
.bef-haus__knopf { align-self: flex-start; margin-top: 4px; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; }
.bef-haus:hover .bef-haus__knopf { background: #e2c258; }

.bef-karte--bezirk .bef-chip { align-self: flex-start; }
.bef-karte--bezirk .bef-karte__titel { font-size: 22px; }
.bef-bk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.bef-bk__kachel { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r-m); background: var(--creme); color: var(--ink); min-height: 76px; justify-content: center; }
.bef-bk__kachel:hover { background: var(--ink); color: var(--weiss); }
.bef-bk__name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.bef-bk__wetter { font-size: 13px; color: var(--grau); }
.bef-bk__kachel:hover .bef-bk__wetter { color: #cfcac2; }
.bef-bk__warnung { font-size: 12px; font-weight: 700; color: var(--rot); }
.bef-bk__kachel.hat-warnung { box-shadow: inset 4px 0 0 var(--rot); }

@media (max-width: 960px) {
	.bef-toc--leiste { display: none; }
	.bef-toc--mobil { display: block; }
	.bef-bk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bef-werbung--leiste { position: static; }
}
@media (max-width: 600px) {
	.bef-bk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bef-autor__kopf { align-items: flex-start; }
}

.bef-start-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 16px; }
.bef-start-kopf__titel { font-family: var(--f-titel); font-stretch: 72%; font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.5px; margin: 0; }
.bef-start-kopf__zeile { margin: 0; color: var(--grau); font-size: 14px; font-weight: 600; }
.bef-ueber { background: var(--creme); border-radius: var(--r-l); padding: 28px 32px; max-width: 900px; }
.bef-ueber p { margin: 0 0 12px; color: var(--ink-2); }
.bef-ueber__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; margin: 0 !important; }
