/* REWRK Verfügbarkeitsalarm */

.rewrk-alert {
	margin: 24px auto 0;
	max-width: 1024px;
	padding: 24px;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.rewrk-alert__title {
	display: block;
	font-size: 18px;
	margin-bottom: 6px;
}

.rewrk-alert__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
}

.rewrk-alert__row {
	display: flex;
	gap: 10px;
}

.rewrk-alert__row input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	font-size: 15px;
	background: #fff;
}

.rewrk-alert__row input[type="email"]:focus {
	border-color: #111;
	outline: none;
}

/* Gleicher Stil wie die Elementor-Buttons im Service-Block ("Reparatur anfragen", "Jetzt verkaufen").
   Höhere Spezifität + !important: Rey setzt Buttons global zurück (transparent, padding 0). */
.rewrk-alert .rewrk-alert__form .rewrk-alert__btn {
	flex: 0 0 auto;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: #69727D !important;
	color: #fff !important;
	font-weight: 500;
	font-size: 15px;
	line-height: 15px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.rewrk-alert .rewrk-alert__form .rewrk-alert__btn:hover {
	opacity: 0.85;
}

.rewrk-alert .rewrk-alert__form .rewrk-alert__btn:disabled {
	opacity: 0.5;
	cursor: default;
}

.rewrk-alert__consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.45;
	color: #666;
}

.rewrk-alert__consent input {
	margin-top: 2px;
	flex: 0 0 auto;
}

.rewrk-alert__consent a {
	text-decoration: underline;
}

/* Honeypot */
.rewrk-alert__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.rewrk-alert__msg {
	margin: 12px 0 0;
	font-size: 14px;
	min-height: 1em;
}

.rewrk-alert__msg.is-ok {
	color: #1a7f37;
}

.rewrk-alert__msg.is-error {
	color: #c62828;
}

.rewrk-alert.is-done .rewrk-alert__row,
.rewrk-alert.is-done .rewrk-alert__consent {
	opacity: 0.5;
}

/* Hinweis nach Bestätigungs-/Abmeldelink */
.rewrk-alert-notice {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 99999;
	display: flex;
	gap: 16px;
	align-items: center;
	max-width: calc(100% - 32px);
	padding: 14px 18px;
	border-radius: 5px;
	background: #111;
	color: #fff;
	font-size: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rewrk-alert-notice.is-error {
	background: #c62828;
}

.rewrk-alert-notice button {
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 600px) {
	.rewrk-alert {
		padding: 18px;
	}

	.rewrk-alert__row {
		flex-direction: column;
	}
}
