#qe-floating-popup {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 380px;
	max-width: 90vw;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	z-index: 9999; /* Immer im Vordergrund */
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-top: 5px solid #a33017;
	font-family: Arial, sans-serif;

	/* Animation beim Einblenden */
	transform: translateY(150%);
	opacity: 0;
	animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Kopfzeile mit Logo und Schließen-Button */
#qe-floating-popup .popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background: #fdfdfd;
	border-bottom: 1px solid #f0f0f0;
}

#qe-floating-popup .popup-header img {
	height: 30px;
	width: auto;
}

#qe-floating-popup .popup-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #a33017;
	line-height: 1;
	transition: transform 0.2s;
}

#qe-floating-popup .popup-close:hover {
	transform: scale(1.2);
}

/* Inhalt / Body */
#qe-floating-popup .popup-body {
	padding: 20px;
	color: #333;
	max-height: 70vh;
	overflow-y: auto;
}

#qe-floating-popup .popup-body h2 {
	color: #a33017;
	font-size: 20px;
	margin-bottom: 15px;
	margin-top: 0;
}

#qe-floating-popup .popup-body .popup-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 15px;
	display: block;
}

/* Damit die Styles vom Rich-Text-Editor (Quill) richtig aussehen */
#qe-floating-popup .popup-content-text {
	line-height: 1.6;
}
#qe-floating-popup .popup-content-text p {
	margin-bottom: 10px;
}

/* Responsive für Handys: unten andocken */
@media (max-width: 500px) {
	#qe-floating-popup {
		bottom: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 20px 20px 0 0;
		border-top: 0;
	}
}
