/* ffmedia Rückruf – schwebender Button unten links + Formular im UIkit-Modal */

.ffm-rr-fab {
	position: fixed;
	left: 30px;
	bottom: 30px;
	z-index: 980; /* unter dem UIkit-Modal (1010), über dem Seiteninhalt */
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d5b36a;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.ffm-rr-fab:hover,
.ffm-rr-fab:focus-visible {
	background: #c4a052;
	transform: translateY(-2px);
	outline: none;
}

.ffm-rr-fab:focus-visible {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px #d5b36a;
}

/* Leichter Puls: ein weicher Ring läuft alle vier Sekunden nach außen */
.ffm-rr-fab::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(213, 179, 106, 0.55);
	z-index: -1;
	animation: ffm-rr-pulse 4s ease-out infinite;
}

.ffm-rr-fab svg {
	animation: ffm-rr-ring 4s ease-in-out infinite;
	transform-origin: 50% 50%;
}

@keyframes ffm-rr-pulse {
	0%   { transform: scale(1);   opacity: 0.7; }
	45%  { transform: scale(1.7); opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}

@keyframes ffm-rr-ring {
	0%, 12%, 100% { transform: rotate(0); }
	2%  { transform: rotate(-12deg); }
	4%  { transform: rotate(12deg); }
	6%  { transform: rotate(-10deg); }
	8%  { transform: rotate(10deg); }
	10% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ffm-rr-fab {
		transition: none;
	}
	.ffm-rr-fab::before,
	.ffm-rr-fab svg {
		animation: none;
	}
	.ffm-rr-fab:hover,
	.ffm-rr-fab:focus-visible {
		transform: none;
	}
}

@media (max-width: 639px) {
	.ffm-rr-fab {
		left: 16px;
		bottom: 16px;
		width: 50px;
		height: 50px;
	}
}

/* Modal */

.ffm-rr-modal .uk-modal-dialog {
	max-width: 480px;
	text-align: left;
}

.ffm-rr-modal .ffm-rr-title {
	color: #d5b36a;
	margin-bottom: 8px;
}

.ffm-rr-modal .ffm-rr-intro {
	margin-top: 0;
}

.ffm-rr-modal .uk-form-label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.ffm-rr-modal .ffm-rr-optional {
	font-weight: 400;
	opacity: 0.7;
}

.ffm-rr-modal .uk-input,
.ffm-rr-modal .uk-select {
	background-color: #fff;
	border: 1px solid #cfcfcf;
	color: #333;
}

.ffm-rr-modal .uk-input:focus,
.ffm-rr-modal .uk-select:focus {
	border-color: #d5b36a;
	background-color: #fff;
}

.ffm-rr-modal .uk-input.ffm-rr-invalid {
	border-color: #c0392b;
}

.ffm-rr-modal .ffm-rr-field-error {
	color: #c0392b;
	font-size: 0.875rem;
	margin: 4px 0 0;
}

.ffm-rr-modal .ffm-rr-note {
	font-size: 0.8125rem;
	line-height: 1.5;
	opacity: 0.8;
	margin: 12px 0 16px;
}

.ffm-rr-modal .ffm-rr-submit {
	width: 100%;
}

.ffm-rr-modal .ffm-rr-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.ffm-rr-modal .ffm-rr-msg {
	margin: 12px 0 0;
	font-weight: 600;
}

.ffm-rr-modal .ffm-rr-msg.is-error {
	color: #c0392b;
}

.ffm-rr-modal .ffm-rr-msg.is-success {
	color: #2e7d32;
	font-size: 1.125rem;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.ffm-rr-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
