.jpe-pdf-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 6px;
	background: #1e2b3c;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.jpe-pdf-button:hover:not(:disabled) {
	background: #2b3f57;
}

.jpe-pdf-button:disabled {
	cursor: default;
	opacity: 0.75;
}

.jpe-pdf-button__icon {
	display: inline-flex;
	align-items: center;
}

.jpe-pdf-button__spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
}

.jpe-pdf-button.is-loading .jpe-pdf-button__spinner {
	display: inline-block;
	animation: jpe-spin 0.8s linear infinite;
}

.jpe-pdf-button.is-loading .jpe-pdf-button__icon {
	display: none;
}

@keyframes jpe-spin {
	to {
		transform: rotate( 360deg );
	}
}

/* ---- Nur relevant für das unsichtbar gerenderte PDF-Layout ---- */

.jpe-print-wrapper {
	font-family: Arial, Helvetica, sans-serif;
	color: #1a1a1a;
	padding: 8px 4px;
}

.jpe-print-header {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 2px solid #1e2b3c;
}

.jpe-print-header--right {
	flex-direction: row-reverse;
	text-align: right;
}

.jpe-print-header--center {
	flex-direction: column;
	text-align: center;
}

.jpe-print-logo {
	max-height: 70px;
	max-width: 220px;
	object-fit: contain;
}

.jpe-print-company {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #5a6472;
	margin-bottom: 4px;
}

.jpe-print-jobtitle {
	font-size: 22px;
	font-weight: 700;
	color: #1e2b3c;
}

.jpe-print-content {
	padding-bottom: 30px;
}

.jpe-print-section {
	margin-bottom: 22px;
	break-inside: avoid;
}

/*
 * Sicherheitsnetz gegen "Erst beim Scrollen sichtbar"-Effekte von
 * Animations-Bibliotheken (Elementor Entrance Animations, AOS, WOW.js,
 * ScrollReveal u. Ä.), die geklonte Abschnitte sonst dauerhaft unsichtbar
 * lassen, weil ihr Scroll-Trigger für den unsichtbaren Export-Container
 * nie auslöst. Gilt ausschließlich innerhalb des PDF-Export-Containers,
 * beeinflusst also nicht das normale Erscheinungsbild der Seite.
 */
.jpe-print-wrapper,
.jpe-print-wrapper * {
	opacity: 1 !important;
	visibility: visible !important;
}
