/* Lesereise 1000 – Styles
   Warme, reflektierte Optik: Fraunces (Serife) für Titel/Zitate,
   Work Sans für den Rest. Funktioniert unabhängig vom Theme. */

.lb-wrap,
.lb-wand,
.lb-inline-zaehler,
.lb-card {
	--lb-bg: #FAF6EE;
	--lb-ink: #221F1A;
	--lb-muted: #6B6255;
	--lb-accent: #C98B5E;
	--lb-accent-2: #A9764F;
	--lb-dark: #221F1A;
	--lb-border: #E6DECD;
}

.lb-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 24px;
	font-family: 'Work Sans', system-ui, sans-serif;
	color: var(--lb-ink);
	box-sizing: border-box;
}

/* Grid mit Buch-Kacheln (Startseite & Archiv) */
.lb-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 32px;
	list-style: none !important;
	padding: 0;
	float: none !important;
}
.lb-grid > * {
	float: none !important;
}
@media (max-width: 900px) {
	.lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
	.lb-grid { grid-template-columns: 1fr !important; }
}

.lb-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}
.lb-card-cover {
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--lb-accent);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lb-card-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lb-card-cover-placeholder {
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	letter-spacing: 0.05em;
}
.lb-card-datum {
	font-size: 13px;
	color: var(--lb-accent-2);
	margin-top: 16px;
}
.lb-card-titel {
	font-family: 'Fraunces', serif;
	font-size: 19px;
	font-weight: 500;
	margin-top: 4px;
	line-height: 1.3;
}
.lb-card-autor {
	font-size: 14px;
	color: var(--lb-muted);
	margin-top: 2px;
}
.lb-card-sterne {
	font-size: 13px;
	color: var(--lb-accent-2);
	margin-top: 8px;
	letter-spacing: 1px;
}
.lb-card-zitat {
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-size: 14px;
	line-height: 1.5;
	color: #4A4438;
	margin-top: 10px;
}
.lb-card:hover .lb-card-titel {
	text-decoration: underline;
}
.lb-card-auszug {
	font-size: 14px;
	line-height: 1.6;
	color: var(--lb-muted);
	margin-top: 10px;
}

/* Blog-artiges Archiv: größere, zweispaltige Karten mit mehr Text */
.lb-grid--blog {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 48px;
}
@media (max-width: 700px) {
	.lb-grid--blog { grid-template-columns: 1fr !important; }
}
.lb-card--blog {
	flex-direction: column;
}
.lb-card--blog .lb-card-cover {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 3 / 4;
}
.lb-card--blog .lb-card-titel {
	font-size: 22px;
}

.lb-leer {
	text-align: center;
	color: var(--lb-muted);
	font-style: italic;
	padding: 40px 0;
}

/* Die 1000er-Wand */
.lb-wand {
	padding: 64px 24px;
	box-sizing: border-box;
	border-radius: 8px;
}
.lb-wand--dunkel {
	background: var(--lb-dark);
	color: #FAF6EE;
}
.lb-wand-grid {
	display: grid !important;
	grid-template-columns: repeat(25, minmax(0, 1fr)) !important;
	gap: 6px;
	max-width: 900px;
	margin: 0 auto;
	list-style: none !important;
	padding: 0;
}
.lb-wand-grid > * {
	float: none !important;
}
@media (max-width: 700px) {
	.lb-wand-grid { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
}
.lb-feld {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
}
.lb-wand:not(.lb-wand--dunkel) .lb-feld {
	border-color: rgba(34, 31, 26, 0.2);
}
.lb-feld--voll {
	background: var(--lb-accent);
	border-color: var(--lb-accent);
}

.lb-wand-zaehler {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 44px;
	flex-wrap: wrap;
}
.lb-zahl-block {
	text-align: center;
}
.lb-zahl {
	font-family: 'Fraunces', serif;
	font-size: 30px;
	font-weight: 600;
}
.lb-zahl--offen {
	color: #6B7F72;
}
.lb-zahl-label {
	font-size: 12px;
	color: #9C9284;
	letter-spacing: 0.06em;
}
.lb-trenner {
	width: 1px;
	height: 32px;
	background: rgba(255, 255, 255, 0.15);
}
.lb-wand:not(.lb-wand--dunkel) .lb-trenner {
	background: rgba(34, 31, 26, 0.15);
}

.lb-inline-zaehler {
	font-weight: 500;
	color: var(--lb-accent-2);
}

.lb-wand-cta {
	text-align: center;
	margin-top: 32px;
}
.lb-button {
	display: inline-block;
	padding: 14px 32px;
	border: 1px solid var(--lb-accent);
	color: #F3DCC0;
	font-size: 14px;
	border-radius: 2px;
	text-decoration: none;
}
.lb-wand:not(.lb-wand--dunkel) .lb-button {
	color: var(--lb-accent-2);
}
.lb-button:hover {
	background: var(--lb-accent);
	color: #221F1A;
}

/* Die vollständige 1000er-Übersichtsseite */
.lb-alle {
	display: grid !important;
	grid-template-columns: repeat(var(--lb-spalten, 40), minmax(0, 1fr)) !important;
	gap: 4px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style: none !important;
	float: none !important;
}
@media (max-width: 900px) {
	.lb-alle { grid-template-columns: repeat(20, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
	.lb-alle { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
}
.lb-alle > * {
	min-width: 0;
	float: none !important;
	clear: none !important;
}
.lb-feld-buch,
.lb-feld-leer {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	aspect-ratio: 1;
	border-radius: 3px;
	overflow: hidden;
	text-decoration: none;
	margin: 0 !important;
	float: none !important;
}
.lb-feld-buch {
	background: var(--lb-accent);
}
.lb-feld-buch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lb-feld-nummer {
	font-size: 9px;
	color: rgba(255, 255, 255, 0.8);
}
.lb-feld-leer {
	background: transparent;
	border: 1px solid rgba(34, 31, 26, 0.15);
}
.lb-feld-buch:hover {
	outline: 2px solid var(--lb-accent-2);
	outline-offset: 1px;
}
.lb-alle-zaehler {
	text-align: center;
	margin-top: 32px;
	font-size: 14px;
	color: var(--lb-muted);
}

/* Einzelansicht eines Buches */
.lb-single-kopf {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin: 32px 0 48px;
}
.lb-single-cover {
	width: 260px;
	aspect-ratio: 3 / 4;
	background: var(--lb-accent);
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lb-single-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lb-single-datum {
	font-size: 13px;
	color: var(--lb-accent-2);
}
.lb-single-titel {
	font-family: 'Fraunces', serif;
	font-size: 36px;
	font-weight: 500;
	margin: 8px 0 4px;
	line-height: 1.2;
}
.lb-single-autor {
	font-size: 16px;
	color: var(--lb-muted);
}
.lb-single-sterne {
	font-size: 16px;
	color: var(--lb-accent-2);
	margin-top: 12px;
	letter-spacing: 2px;
}
.lb-single-zitat {
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-size: 18px;
	line-height: 1.6;
	margin-top: 20px;
	color: #4A4438;
}
.lb-single-text {
	font-size: 16px;
	line-height: 1.7;
}
.lb-zurueck {
	font-size: 14px;
	color: var(--lb-accent-2);
	text-decoration: none;
}
.lb-zurueck:hover {
	text-decoration: underline;
}

/* Archiv */
.lb-archiv-kopf {
	text-align: center;
	margin-bottom: 56px;
}
.lb-archiv-label {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lb-accent-2);
}
.lb-archiv-titel {
	font-family: 'Fraunces', serif;
	font-size: 36px;
	font-weight: 500;
	margin: 10px 0 16px;
}
.lb-archiv-jahr {
	font-family: 'Fraunces', serif;
	font-size: 24px;
	font-weight: 500;
	margin: 56px 0 24px;
	border-bottom: 1px solid var(--lb-border);
	padding-bottom: 12px;
}
.lb-archiv-paginierung {
	margin-top: 56px;
	text-align: center;
}
