.reference {
	padding: 0px 6px;
	height: 22px;
	opacity: 0.9;
}

/* Für alle Scrollbereiche auf der Website */
* {

	scrollbar-width: thin;
	/* Für Firefox */
	/* Farbe des Scrollbalkens für Firefox */
}

/* Für Webkit-Browser (Chrome, Edge, Safari) */
::-webkit-scrollbar {
	width: 4px;
	/* Breite des vertikalen Scrollbalkens */
	height: 4px;
	/* Höhe des horizontalen Scrollbalkens */
}

::-webkit-scrollbar-track {
	background: transparent;
	/* Hintergrund der Scrollspur */
}

::-webkit-scrollbar-thumb {
	/* Farbe des Scrollbalkens */
	border-radius: 10px;
	/* Abgerundete Ecken */
}

.meme:hover {
	filter: grayscale(60%);
}

body {
	scrollbar-width: auto;
	/* Für Firefox */
	scrollbar-color: initial;
	scrollbar-width: auto;
	/* Standardfarbe */
}

body::-webkit-scrollbar {
	width: 12px;
	/* Standardbreite, anpassbar */
}

[data-bs-theme="dark"] {

	/* Weitere Farben... */
}

/* Custom Farben für Light Mode */
[data-bs-theme="light"] {

	body {
		background: linear-gradient(180deg,
				#d5d5d5 0%,
				#ffffff 45%,
				#d5d5d5 55%,
				#ffffff 100%);
		background-attachment: fixed;
		min-height: 100vh;
	}

	/* Weitere Farben...
	
	--bs-body-bg: #d5d5d5;
	*/
}

.cursor-pointer {
	cursor: pointer;
}

.nav-tabs-wrapper {
	position: relative;
	overflow: hidden;
}

.nav-tabs-wrapper .nav-link {
	white-space: nowrap;
}

.nav-tabs {
	-webkit-overflow-scrolling: touch;
	/* Für besseres Scrolling auf iOS */
}

/* Optional: Scrollbar verstecken (für cleanen Look) */
.nav-tabs::-webkit-scrollbar {
	display: none;
}

.list-enter-active,
.list-leave-active {
	transition: all 0.5s ease;
}

.list-enter-from {
	opacity: 0;
	transform: translateX(30px);
}

.list-leave-to {
	opacity: 0;
	transform: translateX(-30px);
}

/* Ensure items maintain their grid position during transition */
.list-move {
	transition: transform 0.5s;
}

.card-title.teaserDesc {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card-title.teaser {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

*:focus {
	outline: none !important;
	box-shadow: none !important;
}

body {

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}

.social-nav * {
	text-decoration: none !important;
}

.social-nav {
	transition: all 0.3s ease;
	text-decoration: none !important;
}

.social-item {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
}

.social-item:hover {

	opacity: 0.8;
	text-decoration: none !important;
}

.social-label:hover {
	text-decoration: none !important;

}

.social-label {
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;

}

p>.inlineQuote {

	font-feature-settings: "salt", "ss01";
	letter-spacing: 0.02em;
	font-weight: 450;
	padding: 0px 8px 2px 4px;
	border-radius: 10px;
	background: #00000024;
}

.card-body {
	display: block;
}

.card:not([class*=bg-]) .card-header {
	/* color: #3b3b3b !important; */
}

.buttonSource span:nth-child(3) {
	font-size: 0.8em;
	display: block;
	margin: 3px 0 0 27px;
}

/* CSS3 Animation für sanftes Einblenden */
.dropdown-menu {
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform: translateY(-10px);
	opacity: 0;
	pointer-events: none;
}

.dropdown-menu.show {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.card {
	box-shadow: var(--bs-box-shadow) !important;
	--bs-card-border-width: 0 !important;
}

/* Hover effects */
.card-body .quote:hover {
	transform: translateY(-2px);
	/* 	box-shadow:
		0 6px 8px rgba(0, 0, 0, 0.08),
		0 2px 4px rgba(0, 0, 0, 0.12); */
}


.quote p {
	font-style: italic;
}



.quote {
	/* Modern spacing */
	margin: 1.5rem 0;
	padding: 1.25rem;
	background: #6666661a;
	/* Cleaner background with gradient */
	/* background: linear-gradient(145deg, #f5f5f5, #ffffff); */

	/* Improved border styling */
	/* 	border: 1px solid rgba(0, 0, 0, 0.08); */
	border-left: 4px solid #3b82f6 !important;
	border-radius: 8px;

	/* Enhanced shadow for depth */
	/* 	box-shadow:
		0 4px 6px rgba(0, 0, 0, 0.05),
		0 1px 3px rgba(0, 0, 0, 0.1); */

	/* Typography improvements */
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	/* 
	color: #374151; */

	/* Smooth transitions */
	transition: all 0.2s ease;
}



.reference {
	float: right;
	top: 9px;
	position: relative;
	font-style: normal !important;
	padding: 1px 8px;
	font-size: 0.75em;
}


.bookSources {
	margin-top: 7px;
	display: flex;
	justify-content: flex-end;
	text-align: right;
}

.joinTitle div {}

.joinTitle div span:after {
	content: ':';
}

.joinTitle div span {

	margin-right: 21px;
	font-weight: 500;
}

.bookSources span.ref {
	/* 	background: #0f0f0f14;
	color: #00000091; */
	padding: 1px 6px;
	/* font-weight: 500; */
	border-radius: 9px;
	margin-right: 8px;
	cursor: pointer;
}

.search-input {
	font-size: 1.25rem;
	padding: 1rem;
	/* 
	border: none; */
	border-radius: .75rem;
	/* 	box-shadow: 0 3px 8px rgb(0 0 0 / 32%); */
	transition: box-shadow 0.3s ease;
}

.search-input.focused {
	/* 	box-shadow: 0 0 12px rgba(0, 123, 255, 0.4); */
}

.card {
	border: none;
	border-radius: .75rem;
	/* 
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */
}

.card-header {
	border-top-left-radius: .75rem;
	border-top-right-radius: .75rem;

	font-weight: 500;
}

.accordion-button {

	font-size: 1rem;
	border-radius: .5rem;
}

.accordion-button:not(.collapsed) {
	/* 
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.125); */
}

.accordion-body {
	/* 
	background-color: #fff; */
	border-radius: .5rem;
}

.navbar {
	/* 
	background: #404040;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
}

.navbar-brand {

	color: #ffffff;
}

.navbar-brand:hover {
	/* 
	color: #e0e0e0; */
}

small,
.small {
	font-size: 0.55em;
	font-weight: 400;
}

.navbar-brand small {
	/* 
	color: #888; */
}

.nav-link {
	/* 
	color: #b0b0b0; */
	margin: 0 5px;
	transition: all 0.3s ease;
}

.bg-dark {
	background-color: rgb(50 57 65) !important;
}

.nav-link:hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.navbar-toggler {
	border-color: #444;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

footer {
	background-color: #1c1c1e;
}

.accordion-wrapper {
	position: relative;
}

.placeholder {
	display: block;
	margin-bottom: 0.5rem;
}

.translate-section {
	margin-bottom: 1rem;
}

.accordion-wrapper:not(.expanded)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	background: linear-gradient(transparent, white);
	pointer-events: none;
}

.gradient-text {
	background: linear-gradient(90deg, #833ab4, #fd1d1d);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Variante 2: Bunter Regenbogen-Gradient */
.rainbow-text {
	background: linear-gradient(90deg,
			#ff3366,
			#ff6b6b,
			#4ecdc4,
			#45b7d1,
			#96c93d);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


.platinum-text {
	background: linear-gradient(90deg,
			#e5e5e5,
			#ffffff,
			#b7b7b7,
			#ffffff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


/* Zusätzlicher Inset-Effekt */
.platinum-text ::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	background: linear-gradient(90deg,
			#d4a088,
			#f7e0d4,
			#d4a088);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: blur(1px);
	opacity: 0.7;
}


.list-enter-active {
	transition: all 0.6s ease;
	transition-delay: calc(0.1s * v-bind('index'));
	/* Verzögerter Start für jedes Item */
}

.list-leave-active {
	transition: all 0.3s ease;
}

.list-enter-from {
	opacity: 0;
	transform: scale(0.95);
	filter: blur(4px);
}

.list-leave-to {
	opacity: 0;
	transform: scale(0.95);
	filter: blur(4px);
}

.list-move {
	transition: transform 0.5s;
}

.col:not(.nots):hover {
	transform: translateY(-5px);
	transition: transform 0.3s ease;
}




/*loading*/
.loading-container {
	background-color: #f8f9fa19;
	transition: all 0.3s ease;
}

.loading-container:hover {
	box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15) !important;
}

/*loading end*/


.modal-content {
	border: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Unterstützung für Dark/Light Mode durch CSS-Variablen */
:root {
	--chapter-highlight: rgba(var(--bs-primary-rgb), 0.1);
}

[data-bs-theme="dark"] .bg-body-tertiary {
	background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Responsive Textgrößen */
@media (max-width: 576px) {
	.modal-body .lead {
		font-size: 1rem;
	}
}

/* Scroll-Verhalten optimieren */
.modal-body {
	overflow-y: auto;
	padding-right: 1rem;
	padding-left: 1rem;
}

/* Hover-Effekt für Navigation */
.btn-outline-secondary:hover {
	background-color: var(--bs-secondary-bg-subtle);
}

/* Aktive Kapitel-Hervorhebung */
.current-paragraph {
	background-color: var(--chapter-highlight);
	border-radius: 0.375rem;
}

/* Verbesserte Absatz-Gestaltung */
.collapse-para-btn {
	transition: all 0.2s ease;
}

.collapse-para-btn:not(.collapsed) .bi-chevron-up {
	transform: rotate(180deg);
}

/* Meta-Daten für nachfolgende Paragraphen */
.para-meta {
	font-size: 0.75rem;
	color: var(--bs-secondary-color);
	display: flex;
	gap: 0.75rem;
}

/* Verbesserungen für kleinere Bildschirme */
@media (max-width: 576px) {
	.modal-footer {
		flex-wrap: nowrap;
	}

	.badge {
		font-size: 0.65rem;
	}
}