/* Novaura Widerrufsbutton – Frontend-Styles
   Kontraste/Schriftgrößen orientieren sich an WCAG/BFSG (Barrierefreiheit). */

.nw-button {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 6px;
	padding: 0.7em 1.4em;
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.nw-button--inline,
.nw-button--primary {
	background-color: #6247aa; /* Novaura-Lila, AA-Kontrast zu Weiß */
	color: #ffffff;
}

.nw-button--inline:hover,
.nw-button--primary:hover,
.nw-button--inline:focus,
.nw-button--primary:focus {
	background-color: #4f3a89;
	color: #ffffff;
}

.nw-button--secondary {
	background-color: #ffffff;
	color: #1d1d1d;
	border-color: #767676;
}

.nw-button--secondary:hover,
.nw-button--secondary:focus {
	background-color: #f0f0f0;
}

.nw-button:focus-visible,
.nw-footer-bar__link:focus-visible {
	outline: 3px solid #b892ff;
	outline-offset: 2px;
}

/* Footer-Button – am Seitenende auf jeder Seite sichtbar und hervorgehoben */
.nw-footer-bar {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75em 1.25em;
	text-align: center;
	padding: 1.4em 1em;
	background-color: #6247aa; /* kräftiges Novaura-Lila */
	border-top: 4px solid #b892ff;
}

.nw-footer-bar__text {
	margin: 0;
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
}

/* Weißer Button mit Lila-Schrift – hoher Kontrast, gut sichtbar */
.nw-footer-bar__link {
	display: inline-block;
	background-color: #ffffff;
	color: #4f3a89 !important;
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.7em 1.6em;
	border-radius: 6px;
	border: 2px solid #ffffff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nw-footer-bar__link:hover,
.nw-footer-bar__link:focus {
	background-color: #b892ff;
	color: #ffffff !important;
	border-color: #b892ff;
}

/* Formular */
.nw-widerruf {
	max-width: 640px;
	margin: 0 auto;
	color: #1d1d1d;
	font-size: 1rem;
	line-height: 1.55;
}

.nw-form__title {
	margin-top: 0;
	font-size: 1.6rem;
}

.nw-form__intro {
	margin-bottom: 1.5em;
}

.nw-field {
	margin-bottom: 1.25em;
}

.nw-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.nw-field input[type="text"],
.nw-field input[type="email"],
.nw-field textarea {
	width: 100%;
	box-sizing: border-box;
	font-size: 1rem;
	padding: 0.6em 0.7em;
	border: 2px solid #767676;
	border-radius: 6px;
	background-color: #ffffff;
	color: #1d1d1d;
}

.nw-field input:focus,
.nw-field textarea:focus {
	border-color: #6247aa;
	outline: none;
	box-shadow: 0 0 0 3px rgba(98, 71, 170, 0.25);
}

.nw-fieldset {
	border: 1px solid #c7c7c7;
	border-radius: 6px;
	padding: 0.9em 1em;
}

.nw-fieldset legend {
	font-weight: 600;
	padding: 0 0.4em;
}

.nw-radio {
	display: block;
	font-weight: 400;
	margin-bottom: 0.4em;
}

.nw-req {
	color: #b32d2e;
}

.nw-optional {
	color: #555;
	font-weight: 400;
	font-size: 0.9em;
}

.nw-hint {
	display: block;
	color: #555;
	margin-top: 0.3em;
	font-size: 0.88rem;
}

.nw-actions {
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
	margin-top: 1.5em;
}

.nw-error {
	margin-top: 1em;
	color: #b32d2e;
	font-weight: 600;
}

.nw-notice {
	padding: 0.9em 1em;
	background: #fff8e1;
	border: 1px solid #e0c040;
	border-radius: 6px;
}

/* Honeypot ausblenden */
.nw-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Zusammenfassung Schritt 2 */
.nw-summary {
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 1em 1.2em;
	margin: 0 0 1em;
}

.nw-summary dt {
	font-weight: 600;
	margin-top: 0.6em;
}

.nw-summary dt:first-child {
	margin-top: 0;
}

.nw-summary dd {
	margin: 0.1em 0 0;
}

.nw-success {
	background: #e9f7ec;
	border: 1px solid #1a7f37;
	border-radius: 6px;
	padding: 1.2em 1.4em;
}

.nw-success-ref {
	font-weight: 600;
}

.nw-button[disabled] {
	opacity: 0.6;
	cursor: progress;
}
