/* ratgeber.css — Editorial Reading Experience
 *
 * Designprinzipien:
 *   – Long-Form-Lesen ist die einzige Aufgabe dieser Seiten
 *   – Newsreader Serif für Body (designed für Reading, nicht für Display)
 *   – Playfair Display nur für H1/H2 — Display-Funktion
 *   – Inter nur für Meta-Zeilen, UI-Chrome
 *   – Single Column, 680px Reading-Width (~70ch optimal)
 *   – Großzügiger vertikaler Rhythmus, keine Boxes, keine Cards
 *   – Keine Box-Shadows, kein "WordPress-Look"
 */

:root {
	--bh-read-font:    'Newsreader', Georgia, 'Times New Roman', serif;
	--bh-display-font: 'Playfair Display', Georgia, serif;
	--bh-ui-font:      'Inter', system-ui, -apple-system, sans-serif;
	--bh-read-text:    #0f172a;
	--bh-read-muted:   #64748b;
	--bh-read-line:    #e8eaed;
	--bh-read-accent:  #1d4ed8;
	--bh-read-bg:      #fdfcf9;
	--bh-read-warm:    #b45309;
}

/* Beruhigter Hintergrund — leichter Cremeton statt reinem Weiß, schont das Auge */
body.page-template-page-ratgeber {
	background: var(--bh-read-bg);
}

/* ════════════════════════════════════════════════════════════
   READING-PROGRESS — feiner Balken oben, füllt sich beim Scrollen
   ════════════════════════════════════════════════════════════ */

.bh-read-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: transparent;
	z-index: 999;
	pointer-events: none;
}
.bh-read-progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: var(--bh-read-accent);
	transition: width .12s ease-out;
}

/* ════════════════════════════════════════════════════════════
   SINGLE ARTICLE — Reading View
   ════════════════════════════════════════════════════════════ */

.bh-read {
	padding: 64px 0 120px;
}

.bh-read-head {
	padding: 40px 24px 56px;
}
.bh-read-head-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}

/* Kicker — "← Ratgeber" oben links, sehr klein, all-caps, Markenblau */
.bh-read-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bh-read-muted);
	font-family: var(--bh-ui-font);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	margin-bottom: 40px;
	transition: color .2s ease, gap .25s cubic-bezier(.2, .7, .2, 1);
}
.bh-read-kicker:hover {
	color: var(--bh-read-accent);
	gap: 12px;
}

/* H1 — der eigentliche Titel: Playfair Display, groß, ruhig, eng gesetzt */
.bh-read-title {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	line-height: 1.12;
	letter-spacing: -.022em;
	color: var(--bh-read-text);
	margin: 0 0 26px;
	text-wrap: balance;
}

/* Standfirst — der bold-italic Untertitel direkt unter H1, im Newsreader-Serif */
.bh-read-standfirst {
	font-family: var(--bh-read-font);
	font-size: 1.35rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
	color: #334155;
	margin: 0 0 36px;
	max-width: 620px;
	letter-spacing: -.005em;
}

/* Meta-Line — Datum · Lesezeit · Kategorie, sehr klein, Inter */
.bh-read-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--bh-ui-font);
	font-size: .82rem;
	color: var(--bh-read-muted);
	padding-top: 24px;
	border-top: 1px solid var(--bh-read-line);
}
.bh-read-meta-dot {
	width: 3px; height: 3px;
	border-radius: 50%;
	background: var(--bh-read-muted);
	opacity: .5;
}

/* Hero-Bild — full-bleed im Reading-Container, Editorial-Crop */
.bh-read-figure {
	max-width: 1100px;
	margin: 0 auto 64px;
	padding: 0 24px;
}
.bh-read-figure img {
	width: 100%;
	height: auto;
	max-height: 540px;
	object-fit: cover;
	border-radius: 4px; /* dezent — keine WordPress-Karten-Rundung */
}

/* ════════════════════════════════════════════════════════════
   BODY — die eigentliche Lesefläche
   ════════════════════════════════════════════════════════════ */

.bh-read-body {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 24px;
	font-family: var(--bh-read-font);
	font-size: 1.21rem;
	line-height: 1.78;
	color: var(--bh-read-text);
	letter-spacing: -.003em;
	font-variant-numeric: oldstyle-nums;
}

/* Drop-Cap — der erste Buchstabe des ersten Absatzes als großes
   Lettrines, klassischer Magazinanfang */
.bh-read-body > p:first-of-type::first-letter {
	font-family: var(--bh-display-font);
	font-weight: 900;
	font-size: 4.6em;
	line-height: .88;
	float: left;
	padding: 6px 14px 0 0;
	color: var(--bh-read-text);
	font-feature-settings: "kern", "liga";
}

/* Absätze */
.bh-read-body p {
	margin: 0 0 1.4em;
}

/* H2 — Section Marker, generöser Top-Space, ruhig */
.bh-read-body h2 {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: clamp(1.55rem, 2.6vw, 1.95rem);
	line-height: 1.22;
	letter-spacing: -.018em;
	color: var(--bh-read-text);
	margin: 88px 0 24px;
	text-wrap: balance;
}
/* Erstes H2 nicht so weit nach unten gedrückt */
.bh-read-body > h2:first-child {
	margin-top: 0;
}

.bh-read-body h3 {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: 1.32rem;
	line-height: 1.3;
	letter-spacing: -.012em;
	color: var(--bh-read-text);
	margin: 56px 0 16px;
}

.bh-read-body h4 {
	font-family: var(--bh-ui-font);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bh-read-muted);
	margin: 44px 0 14px;
}

/* Links — schwarze Unterstreichung mit Offset, Hover-Blau */
.bh-read-body a {
	color: var(--bh-read-text);
	text-decoration: underline;
	text-decoration-color: rgba(15, 23, 42, .35);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color .2s ease, text-decoration-color .2s ease;
}
.bh-read-body a:hover {
	color: var(--bh-read-accent);
	text-decoration-color: var(--bh-read-accent);
}

/* Strong — leicht goldener Akzent statt schwerem Schwarz */
.bh-read-body strong {
	color: var(--bh-read-text);
	font-weight: 600;
}

/* Listen */
.bh-read-body ul,
.bh-read-body ol {
	margin: 0 0 1.6em;
	padding-left: 1.5em;
}
.bh-read-body li {
	margin-bottom: .55em;
}
.bh-read-body ul li::marker {
	color: var(--bh-read-warm);
	font-size: 1.1em;
}
.bh-read-body ol li::marker {
	color: var(--bh-read-muted);
	font-family: var(--bh-ui-font);
	font-weight: 600;
}

/* Blockquote — Pull-Quote, kein Box, kein Hintergrund. Nur eine breite
   Linie links, deutlich größere Serif-Italic-Schrift. */
.bh-read-body blockquote {
	border-left: 2px solid var(--bh-read-warm);
	margin: 48px 0 48px -16px;
	padding: 4px 0 4px 28px;
	font-family: var(--bh-read-font);
	font-style: italic;
	font-size: 1.42rem;
	line-height: 1.45;
	color: #1e293b;
	letter-spacing: -.005em;
}
.bh-read-body blockquote p { margin-bottom: .5em; }
.bh-read-body blockquote p:last-child { margin-bottom: 0; }

/* Bilder im Body */
.bh-read-body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 40px auto;
	border-radius: 2px;
}

/* Tabellen — minimalistisch, nur dünne untere Linien */
.bh-read-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 40px 0;
	font-family: var(--bh-ui-font);
	font-size: .96rem;
}
.bh-read-body th,
.bh-read-body td {
	padding: 14px 4px;
	border-bottom: 1px solid var(--bh-read-line);
	text-align: left;
	vertical-align: top;
}
.bh-read-body th {
	font-weight: 700;
	color: var(--bh-read-text);
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding-bottom: 10px;
}

/* Inline-Code & Highlights */
.bh-read-body code {
	background: rgba(180, 83, 9, .08);
	color: var(--bh-read-warm);
	padding: 1px 6px;
	border-radius: 3px;
	font-size: .94em;
	font-family: 'SF Mono', Menlo, monospace;
}

/* Horizontale Trenner — fast unsichtbar, nur ein Symbol */
.bh-read-body hr {
	border: 0;
	height: auto;
	text-align: center;
	margin: 56px 0;
	color: var(--bh-read-muted);
}
.bh-read-body hr::after {
	content: "* * *";
	letter-spacing: 1em;
	font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   ARTIKEL-FOOTER — Quelle, Back-Link
   ════════════════════════════════════════════════════════════ */

.bh-read-foot {
	max-width: 680px;
	margin: 100px auto 0;
	padding: 40px 24px 0;
	border-top: 1px solid var(--bh-read-line);
}
.bh-read-foot-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}
.bh-read-source {
	margin: 0;
	font-family: var(--bh-ui-font);
	font-size: .85rem;
	color: var(--bh-read-muted);
	font-style: italic;
}
.bh-read-source a {
	color: var(--bh-read-text);
	text-decoration: underline;
	text-decoration-color: rgba(15, 23, 42, .25);
	text-underline-offset: 3px;
}
.bh-read-foot-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bh-read-accent);
	font-family: var(--bh-ui-font);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: gap .25s cubic-bezier(.2, .7, .2, 1);
}
.bh-read-foot-back:hover { gap: 12px; }

/* ════════════════════════════════════════════════════════════
   ERROR STATE
   ════════════════════════════════════════════════════════════ */

.bh-read-error {
	max-width: 600px;
	margin: 0 auto;
	padding: 120px 24px;
	text-align: center;
}
.bh-read-error h1 {
	font-family: var(--bh-display-font);
	font-size: 2.2rem;
	color: var(--bh-read-text);
	margin: 0 0 16px;
}
.bh-read-error p {
	font-family: var(--bh-read-font);
	font-size: 1.1rem;
	color: var(--bh-read-muted);
}
.bh-read-error a {
	color: var(--bh-read-accent);
}

/* ════════════════════════════════════════════════════════════
   MAGAZIN-INDEX (/ratgeber/)
   ════════════════════════════════════════════════════════════ */

.bh-index {
	max-width: 1080px;
	margin: 0 auto;
	padding: 80px 24px 120px;
}

.bh-index-head {
	max-width: 800px;
	margin: 0 0 80px;
}
.bh-index-kicker {
	display: block;
	font-family: var(--bh-ui-font);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--bh-read-warm);
	margin-bottom: 28px;
}
.bh-index-head h1 {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.08;
	letter-spacing: -.022em;
	color: var(--bh-read-text);
	margin: 0 0 28px;
	text-wrap: balance;
}
.bh-index-lede {
	font-family: var(--bh-read-font);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
	color: #334155;
	max-width: 620px;
	margin: 0;
	letter-spacing: -.005em;
}

/* ─── Leitartikel — featured, groß, Bild links, Text rechts ─── */
.bh-index-lead {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
	margin-bottom: 96px;
	padding-bottom: 96px;
	border-bottom: 1px solid var(--bh-read-line);
	text-decoration: none;
	color: inherit;
}
.bh-index-lead-img {
	overflow: hidden;
	border-radius: 2px;
	aspect-ratio: 5 / 4;
}
.bh-index-lead-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.bh-index-lead:hover .bh-index-lead-img img {
	transform: scale(1.04);
}
.bh-index-lead-tag {
	display: inline-block;
	font-family: var(--bh-ui-font);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bh-read-warm);
	margin-bottom: 22px;
}
.bh-index-lead-body h2 {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.16;
	letter-spacing: -.018em;
	color: var(--bh-read-text);
	margin: 0 0 20px;
	text-wrap: balance;
	transition: color .25s ease;
}
.bh-index-lead:hover .bh-index-lead-body h2 {
	color: var(--bh-read-accent);
}
.bh-index-lead-body p {
	font-family: var(--bh-read-font);
	font-size: 1.12rem;
	line-height: 1.6;
	color: #334155;
	margin: 0 0 26px;
}
.bh-index-lead-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--bh-ui-font);
	font-size: .85rem;
	color: var(--bh-read-muted);
}
.bh-index-meta-dot {
	width: 3px; height: 3px;
	border-radius: 50%;
	background: var(--bh-read-muted);
	opacity: .5;
}

/* ─── Editorial-Index — vertikale Liste mit dünnen Linien ─── */
.bh-index-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: idx;
}
.bh-index-list li {
	border-bottom: 1px solid var(--bh-read-line);
}
.bh-index-row {
	display: grid;
	grid-template-columns: 60px 1fr 80px;
	gap: 28px;
	align-items: baseline;
	padding: 36px 0;
	text-decoration: none;
	color: inherit;
	transition: padding-left .35s cubic-bezier(.2, .7, .2, 1);
}
.bh-index-row:hover {
	padding-left: 14px;
}
.bh-index-row-no {
	font-family: var(--bh-ui-font);
	font-size: .78rem;
	font-weight: 600;
	color: var(--bh-read-muted);
	letter-spacing: .08em;
	font-feature-settings: "tnum";
}
.bh-index-row-main h3 {
	font-family: var(--bh-display-font);
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 1.22;
	letter-spacing: -.012em;
	color: var(--bh-read-text);
	margin: 0 0 10px;
	transition: color .25s ease;
}
.bh-index-row:hover h3 {
	color: var(--bh-read-accent);
}
.bh-index-row-main p {
	font-family: var(--bh-read-font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--bh-read-muted);
	margin: 0;
}
.bh-index-row-date {
	font-family: var(--bh-ui-font);
	font-size: .8rem;
	color: var(--bh-read-muted);
	text-align: right;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════════════════════════════════
   MOBILE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
	.bh-read { padding: 32px 0 80px; }
	.bh-read-head { padding: 24px 20px 40px; }
	.bh-read-figure { margin-bottom: 40px; padding: 0; border-radius: 0; }
	.bh-read-figure img { border-radius: 0; max-height: 360px; }
	.bh-read-body { font-size: 1.13rem; padding: 0 22px; }
	.bh-read-body > p:first-of-type::first-letter { font-size: 4em; padding-right: 10px; }
	.bh-read-body h2 { margin-top: 60px; }
	.bh-read-body blockquote { margin-left: 0; font-size: 1.22rem; padding-left: 20px; }

	.bh-index { padding: 48px 20px 80px; }
	.bh-index-head { margin-bottom: 56px; }
	.bh-index-lead {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 64px;
		padding-bottom: 64px;
	}
	.bh-index-row {
		grid-template-columns: 40px 1fr;
		gap: 18px;
		padding: 28px 0;
	}
	.bh-index-row-date { display: none; }
	.bh-index-row:hover { padding-left: 0; }
}
