/*
 * Strompilot Core: Formular-Design.
 * Alles hängt an Klassen, die das Plugin selbst setzt: .spc-design (Grunddesign), .spc-m-<modul> (Modul an),
 * .spc-rolle-<rolle> (Feld mit dieser Rolle). Keine festen Feldnummern.
 */

/* ==========================================================================
   Grunddesign (Modul „design“), aus style.css des Child-Themes übernommen
   ========================================================================== */

.spc-design .wpforms-field-html {
	overflow: visible !important;
	height: auto !important;
	min-height: 0 !important;
}

/* Linien auf Seite 1 entfernen */
.spc-design .wpforms-page.wpforms-page-1,
.spc-design .wpforms-page-1 .wpforms-field-layout {
	border-top: none !important;
	box-shadow: none !important;
	background: none !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.spc-design .wpforms-page-1 .wpforms-field-layout::before,
.spc-design .wpforms-page-1 .wpforms-field-layout::after {
	display: none !important;
}
.spc-design .wpforms-field-layout > h3.wpforms-field-label {
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	padding-top: 10px !important;
	margin-top: 0 !important;
	margin-bottom: 15px !important;
	color: #444444 !important;
}
.spc-design .wpforms-field-container,
.spc-design.wpforms-container {
	border-top: none !important;
}

/* Eingabefelder */
.spc-design .wpforms-field input[type="text"],
.spc-design .wpforms-field input[type="number"],
.spc-design .wpforms-field input[type="email"],
.spc-design .wpforms-field input[type="tel"],
.spc-design .wpforms-field textarea {
	border-radius: 50px !important;
	padding: 12px 20px !important;
	border: 1px solid #dddddd !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	height: auto;
	color: #333333 !important;
	background-color: #ffffff !important;
}
.spc-design .wpforms-field textarea {
	border-radius: 20px !important;
}

/* Klassische Auswahllisten */
.spc-design .wpforms-field select {
	border-radius: 50px !important;
	padding: 12px 2.5rem 12px 20px !important;
	border: 1px solid #dddddd !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	height: 50px !important;
	color: #333333 !important;
	background-color: #ffffff !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 1.2rem center !important;
	background-size: 1em !important;
}

/* Moderne Auswahllisten (Choices.js) */
.spc-design .choices__inner {
	border-radius: 50px !important;
	border: 1px solid #dddddd !important;
	padding-left: 20px !important;
	padding-right: 35px !important;
	min-height: 50px !important;
	background-color: #ffffff !important;
	font-size: 15px !important;
	color: #333333;
	display: flex;
	align-items: center;
	position: relative;
}
.spc-design .choices__list--single .choices__item {
	font-size: 15px !important;
	color: #333333 !important;
	padding: 0 !important;
	background-color: transparent !important;
}
.spc-design .choices__list--dropdown {
	border-radius: 8px !important;
	border: 1px solid #c8c8c8 !important;
	margin-top: 3px !important;
	background-color: #ffffff !important;
	z-index: 999999 !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18) !important;
}
.spc-design .choices__list--dropdown .choices__list {
	max-height: 170px !important;
	overflow-y: auto !important;
	padding-top: 4px !important;
	padding-bottom: 18px !important;
	position: relative;
	background-color: #ffffff !important;
}
.spc-design .choices__list--dropdown .choices__item--choice {
	padding: 10px 15px !important;
	font-size: 14px !important;
	border-bottom: 1px solid #f5f5f5;
	background-color: #fff !important;
	color: #333 !important;
}
.spc-design .choices__list--dropdown .choices__item--choice:last-child {
	border-bottom: none !important;
}
.spc-design .choices__list--dropdown .choices__item--choice.is-highlighted {
	background-color: #0D4F78 !important;
	color: #ffffff !important;
}

/* Fokus */
.spc-design .wpforms-field input:focus,
.spc-design .wpforms-field textarea:focus,
.spc-design .wpforms-field select:focus,
.spc-design .choices.is-focused .choices__inner {
	border-color: #0D4F78 !important;
	box-shadow: 0 0 0 3px rgba(13, 79, 120, 0.15) !important;
	background-color: #ffffff !important;
	outline: none !important;
}

/* Buttons */
.spc-design .wpforms-pagebreak-center {
	display: flex !important;
	justify-content: center !important;
	gap: 10px !important;
	margin-top: 8px !important;
	margin-bottom: 5px !important;
	padding: 0 !important;
	text-align: center !important;
}
.spc-design .wpforms-page-button,
.spc-design .wpforms-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #0D4F78 !important;
	color: #FFFFFF !important;
	padding: 1.5em 3em !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	border: none !important;
	border-radius: 999px !important;
	line-height: 1 !important;
	text-transform: none !important;
	height: auto !important;
	transition: background-color 0.2s ease-in-out !important;
}
.spc-design .wpforms-page-button:hover,
.spc-design .wpforms-submit:hover {
	background-color: #0f567f !important;
	color: #FFFFFF !important;
}
.spc-design .wpforms-page-button.wpforms-page-prev {
	background-color: #D1D1D1 !important;
	color: #FFFFFF !important;
}
.spc-design .wpforms-page-button.wpforms-page-prev:hover {
	background-color: #c1bfbf !important;
}

/* Fortschrittsbalken */
.spc-design .wpforms-page-indicator.progress .wpforms-page-indicator-page-progress-wrap {
	height: 10px !important;
	border-radius: 5px !important;
	background-color: #e9ecef !important;
}
.spc-design .wpforms-page-indicator.progress .wpforms-page-indicator-page-progress {
	height: 100% !important;
	border-radius: 5px !important;
	background-color: #f1c401 !important;
}

/* Feld-Beschriftungen */
.spc-design .wpforms-field-label {
	font-weight: 500 !important;
	margin-bottom: 8px !important;
	display: block !important;
	color: #444444 !important;
	background-color: transparent !important;
}

/* Vorschau vor dem Absenden: zweispaltig */
.spc-design .wpforms-entry-preview {
	max-width: 100%;
}
.spc-design .wpforms-entry-preview-item {
	display: grid;
	grid-template-columns: minmax(180px, 35%) 1fr;
	column-gap: 24px;
	padding: 8px 0;
	border-bottom: 1px solid #ececec;
}
.spc-design .wpforms-entry-preview-item:last-child {
	border-bottom: none;
}
.spc-design .wpforms-entry-preview-label {
	font-weight: 600;
	color: #333333;
}
.spc-design .wpforms-entry-preview-value {
	color: #555555;
	word-break: break-word;
}
@media (max-width: 600px) {
	.spc-design .wpforms-entry-preview-item {
		grid-template-columns: 1fr;
		row-gap: 2px;
	}
}

/* ==========================================================================
   Tarifkarten (Modul „tarifkarten“)
   ========================================================================== */

.spc-m-tarifkarten .spc-rolle-tarif-layout {
	margin: 25px 15px 0 15px !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout > .wpforms-field-label {
	display: none !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-layout-columns,
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-row {
	display: flex !important;
	gap: 20px !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column {
	border: 2px solid #0d4f78 !important;
	border-radius: 20px !important;
	padding: 25px !important;
	transition: all 0.3s ease-in-out !important;
	background-color: #fff !important;
	cursor: pointer !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	box-sizing: border-box;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column:not(.spc-gewaehlt):hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column.spc-gewaehlt {
	border-color: #23c62b !important;
	border-width: 6px !important;
	transform: none !important;
	box-shadow: none !important;
}
@media (max-width: 767px) {
	.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-layout-columns,
	.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-row {
		flex-direction: column !important;
	}
}

/* Inhalt der Karten (HTML-Felder) */
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-html {
	padding: 0 !important;
	flex-grow: 1 !important;
}
.spc-m-tarifkarten .strompilot-tarif-card {
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	text-align: left !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
}
.spc-m-tarifkarten .strompilot-tarif-card h3 {
	font-family: inherit !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #1a202c !important;
	margin-top: 0 !important;
	margin-bottom: 15px !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}
.spc-m-tarifkarten .strompilot-tarif-card .tarif-icon-img {
	height: 36px !important;
	width: auto !important;
}
.spc-m-tarifkarten .strompilot-tarif-card .price-breakdown,
.spc-m-tarifkarten .strompilot-tarif-card .highlight-price-wrapper,
.spc-m-tarifkarten .strompilot-tarif-card .benefits-list {
	margin-bottom: 15px !important;
	border-top: 1px solid #f3f4f6 !important;
	padding-top: 15px !important;
}
.spc-m-tarifkarten .strompilot-tarif-card .price-row { margin-bottom: 8px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; font-size: 15px !important; color: #718096 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .price-row:last-child { margin-bottom: 0 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .price-label { font-weight: 500 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .price-value { font-weight: 600 !important; color: #2d3748 !important; white-space: nowrap !important; }
.spc-m-tarifkarten .strompilot-tarif-card .highlight-price { font-size: 30px !important; font-weight: 800 !important; color: #0d4f78 !important; line-height: 1.1 !important; margin-bottom: 2px !important; }
.spc-m-tarifkarten .strompilot-tarif-card .highlight-price-label { font-size: 14px !important; color: #718096 !important; margin-bottom: 0 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .highlight-price-wrapper .highlight-price-label:not(:last-of-type) { margin-bottom: 12px !important; }
.spc-m-tarifkarten .strompilot-tarif-card .benefits-list { list-style: none !important; padding-left: 0 !important; margin: 0 !important; font-size: 14px !important; color: #2d3748 !important; flex-grow: 1 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .benefits-list li { margin-bottom: 10px !important; display: flex !important; align-items: center !important; line-height: 1.4 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .benefits-list li:last-child { margin-bottom: 0 !important; }
.spc-m-tarifkarten .strompilot-tarif-card .benefits-list li::before { content: '✓' !important; color: #0d4f78 !important; font-size: 16px !important; margin-right: 10px !important; font-weight: bold !important; }

/* Auswahl als Button „Tarif wählen“ */
/* :not(#spc-nie) zählt wie eine ID: die style.css des Themes zeigt mit „#wpforms-22066 .wpforms-field-label“ alle Beschriftungen an. */
.spc-m-tarifkarten .spc-rolle-tarif-strom .wpforms-field-label:not(#spc-nie),
.spc-m-tarifkarten .spc-rolle-tarif-gas .wpforms-field-label:not(#spc-nie),
.spc-m-tarifkarten .spc-rolle-tarif-einspeisung .wpforms-field-label:not(#spc-nie) {
	display: none !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-checkbox {
	padding: 25px 0 0 0 !important;
	margin: 0 auto !important;
	text-align: center !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-image-choices-image,
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-image-choices-label {
	display: none !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-image-choices-item,
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-checkbox li {
	width: auto !important;
	display: inline-block !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-checkbox label.wpforms-field-label-inline {
	display: inline-block !important;
	background-color: #eef2f5 !important;
	color: #0d4f78 !important;
	text-align: center !important;
	padding: 12px 30px !important;
	border-radius: 50px !important;
	border: none !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	transition: all 0.3s ease-in-out !important;
	font-size: 0 !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column:not(.spc-gewaehlt) .wpforms-field-checkbox label.wpforms-field-label-inline:hover {
	background-color: #0d4f78 !important;
	color: #fff !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column.spc-gewaehlt .wpforms-field-checkbox label.wpforms-field-label-inline {
	background-color: #23c62b !important;
	color: #fff !important;
	cursor: default !important;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-checkbox label.wpforms-field-label-inline::before {
	content: 'Tarif wählen';
	font-size: 16px;
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-layout-column.spc-gewaehlt .wpforms-field-checkbox label.wpforms-field-label-inline::before {
	content: '✓ Ausgewählt';
}
.spc-m-tarifkarten .spc-rolle-tarif-layout .wpforms-field-checkbox input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none !important;
}

/* ==========================================================================
   „Weiter“ erst nach Tarifwahl (Modul „weiter_sperre“)
   ========================================================================== */

.spc-m-weiter-sperre .wpforms-page-next.spc-gesperrt {
	background-color: #d1d5db !important;
	color: #6b7280 !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
}
.spc-m-weiter-sperre .wpforms-page-next.spc-wackeln {
	animation: spcWackeln 0.4s ease-in-out 1;
}
@keyframes spcWackeln {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

/* ==========================================================================
   Button-Animation nach Tarifwahl (Modul „cta“)
   ========================================================================== */

.spc-m-cta .wpforms-page-next {
	transition: transform .25s ease, box-shadow .25s ease;
}
.spc-m-cta .wpforms-page-next.spc-cta-an {
	position: relative;
	overflow: hidden;
	z-index: 2;
	will-change: transform, box-shadow;
	animation: spcCtaGlow 2.8s ease-in-out infinite;
}
.spc-m-cta .wpforms-page-next.spc-cta-an.spc-cta-pop {
	animation: spcCtaPop .55s ease-out 1, spcCtaGlow 2.8s ease-in-out .55s infinite;
}
.spc-m-cta .wpforms-page-next.spc-cta-an::after {
	content: "";
	position: absolute;
	top: 0;
	left: -70%;
	width: 40%;
	height: 100%;
	background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.30) 50%, rgba(255,255,255,0) 100%);
	transform: skewX(-20deg);
	pointer-events: none;
	animation: spcCtaShine 4.2s ease-in-out infinite;
}
@keyframes spcCtaGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(29,99,175,.40), 0 6px 16px rgba(15,42,80,.16); transform: scale(1); }
	50%      { box-shadow: 0 0 0 10px rgba(29,99,175,0), 0 10px 22px rgba(15,42,80,.20); transform: scale(1.018); }
}
@keyframes spcCtaPop {
	0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); }
}
@keyframes spcCtaShine {
	0% { left: -70%; } 45% { left: 130%; } 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
	.spc-m-cta .wpforms-page-next.spc-cta-an,
	.spc-m-cta .wpforms-page-next.spc-cta-an.spc-cta-pop {
		animation: none;
		box-shadow: 0 0 0 3px rgba(29,99,175,.25), 0 6px 16px rgba(15,42,80,.14);
	}
	.spc-m-cta .wpforms-page-next.spc-cta-an::after { animation: none; display: none; }
}

/* ==========================================================================
   Kontaktdaten vierspaltig (Modul „kontaktblock“)
   ========================================================================== */

.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-field-layout-rows,
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-field-layout-columns {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0 20px;
}
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-layout-row,
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-layout-column {
	display: contents !important;
}
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-layout-column > .wpforms-field {
	flex: 0 0 calc(25% - 15px);
	width: calc(25% - 15px);
	max-width: calc(25% - 15px);
	box-sizing: border-box;
}
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-field input,
.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-field .choices {
	width: 100% !important;
	max-width: 100% !important;
}
@media (max-width: 1024px) {
	.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-layout-column > .wpforms-field {
		flex-basis: calc(50% - 10px);
		width: calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
}
@media (max-width: 600px) {
	.spc-m-kontaktblock .spc-rolle-kontaktblock .wpforms-layout-column > .wpforms-field {
		flex-basis: 100%;
		width: 100%;
		max-width: 100%;
	}
}

/* ==========================================================================
   Buttons am Handy (Modul „handy_buttons“)
   ========================================================================== */

@media (max-width: 600px) {
	.spc-m-handy-buttons .wpforms-pagebreak-center {
		display: flex !important;
		align-items: center !important;
		gap: 10px !important;
	}
	.spc-m-handy-buttons .wpforms-pagebreak-center .wpforms-page-next {
		width: 100% !important;
		margin: 0 !important;
		justify-content: center !important;
		order: 2 !important;
	}
	.spc-m-handy-buttons .wpforms-pagebreak-center .wpforms-page-prev {
		width: 52px !important;
		height: 52px !important;
		min-width: 52px !important;
		padding: 0 !important;
		margin: 0 !important;
		order: 1 !important;
		flex-shrink: 0 !important;
		position: relative !important;
		overflow: hidden !important;
		text-indent: -9999px !important;
	}
	.spc-m-handy-buttons .wpforms-pagebreak-center .wpforms-page-prev::after {
		content: '' !important;
		position: absolute !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		width: 20px !important;
		height: 20px !important;
		background-color: #52525b !important;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
		transition: background-color 0.3s ease !important;
	}
	.spc-m-handy-buttons .wpforms-pagebreak-center .wpforms-page-prev:hover::after {
		background-color: #fff !important;
	}
}

/* ==========================================================================
   Abschluss-Button letzte Seite (Modul „abschluss_button“)
   Das Skript verschiebt den echten „Zurück“-Button in die Absende-Zeile. Der Absende-Button wird nie versteckt.
   ========================================================================== */

.spc-m-abschluss-button .wpforms-submit-container.spc-abschluss {
	position: relative !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	min-height: 50px;
	margin-top: 30px !important;
	padding-bottom: 20px !important;
}
.spc-m-abschluss-button .wpforms-submit-container.spc-abschluss[style*="display: none"],
.spc-m-abschluss-button .wpforms-submit-container.spc-abschluss[style*="display:none"] {
	display: none !important;
}
@media (min-width: 601px) {
	.spc-m-abschluss-button .spc-abschluss .spc-zurueck {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		margin: 0 !important;
	}
}
@media (max-width: 600px) {
	.spc-m-abschluss-button .wpforms-submit-container.spc-abschluss {
		flex-direction: column !important;
		gap: 15px !important;
	}
	.spc-m-abschluss-button .spc-abschluss .wpforms-submit {
		width: 100% !important;
		min-height: 52px !important;
		line-height: 1.3 !important;
		padding: 0 10px !important;
		order: 1 !important;
	}
	.spc-m-abschluss-button .spc-abschluss .spc-zurueck {
		order: 2 !important;
		background: none !important;
		color: #718096 !important;
		text-decoration: underline !important;
		font-size: 15px !important;
		font-weight: 500 !important;
		padding: 4px 8px !important;
		width: auto !important;
		height: auto !important;
		text-indent: 0 !important;
		box-shadow: none !important;
	}
	.spc-m-abschluss-button .spc-abschluss .spc-zurueck::after {
		display: none !important;
	}
}

/* ==========================================================================
   Servicegebühr erklären (Modul „gebuehr_hinweise“), aus der functions.php übernommen (Stand 05.11.2026, 17:31 Uhr)
   ========================================================================== */
.spc-haupt .sp-sg-karte,
.spc-haupt .sp-sg-karte * {
	word-break: normal !important;
	overflow-wrap: normal !important;
	hyphens: manual !important;
}
/* Höhere Spezifität als die Regeln der Tarifkarten weiter oben in der functions.php (die mit nowrap) */
.spc-haupt .strompilot-tarif-card .sp-sg-karte .price-row {
	gap: 6px !important;
	font-size: 14px !important;
}
.spc-haupt .strompilot-tarif-card .sp-sg-karte .price-value {
	white-space: normal !important;
	text-align: right;
}
.spc-haupt .sp-sg-karte small {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: #a0aec0;
	margin-top: 2px;
}
.spc-haupt .sp-sg-erklaerung {
	background: #fff;
	border: 1px solid #d9e6ef;
	border-radius: 18px;
	padding: 24px 26px 20px 26px;
	margin: 10px 0 5px 0;
	color: #353535;
}
.spc-haupt .sp-sg-kopfzeile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 6px 0;
}
.spc-haupt .sp-sg-erklaerung h3 {
	font-size: 20px;
	font-weight: 700;
	color: #0D4F78;
	margin: 0;
	padding: 0;
	border: none;
	line-height: 1.3;
}
.spc-haupt .sp-sg-marke {
	flex: 0 0 auto;
	background: #EAF7FF;
	color: #0D4F78;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.spc-haupt .sp-sg-erklaerung p {
	margin: 0 0 16px 0;
	font-size: 15px;
	line-height: 1.55;
	color: #4a5568 !important;
}
.spc-haupt .sp-sg-nutzen {
	list-style: none !important;
	margin: 0 0 18px 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
}
.spc-haupt .sp-sg-nutzen li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px;
	line-height: 1.45;
	color: #1a202c;
	list-style: none !important;
	hyphens: manual !important;
	-webkit-hyphens: manual !important;
}
.spc-haupt .sp-sg-nutzen li::before {
	content: none !important;
}
.spc-haupt .sp-sg-haken {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #EAF7FF;
	color: #0D4F78;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	margin-top: 1px;
}
.spc-haupt .sp-sg-erklaerung p.sp-sg-einleitung {
	margin-bottom: 10px !important;
}
.spc-haupt .sp-sg-tabelle {
	border-top: 1px solid #e2e8f0;
	margin: 0 0 14px 0;
}
.spc-haupt .sp-sg-tabelle:empty {
	display: none;
}
.spc-haupt .sp-sg-spalten {
	display: flex;
	justify-content: space-between;
	padding: 10px 0 6px 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #718096;
}
.spc-haupt .sp-sg-posten {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #edf2f7;
}
.spc-haupt .sp-sg-posten-name {
	font-size: 16px;
	font-weight: 600;
	color: #1a202c;
	line-height: 1.35;
}
.spc-haupt .sp-sg-posten-name small,
.spc-haupt .sp-sg-posten-betrag small {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #718096;
	margin-top: 2px;
}
.spc-haupt .sp-sg-posten-betrag {
	font-size: 16px;
	font-weight: 600;
	color: #1a202c;
	white-space: nowrap;
	text-align: right;
	line-height: 1.35;
}
.spc-haupt .sp-sg-gesamt {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0 4px 0;
	border-top: 2px solid #0D4F78;
}
.spc-haupt .sp-sg-gesamt .sp-sg-posten-name {
	font-size: 18px;
	font-weight: 700;
	color: #0D4F78;
}
.spc-haupt .sp-sg-gesamt .sp-sg-posten-betrag {
	font-size: 22px;
	font-weight: 800;
	color: #0D4F78;
}
.spc-haupt .sp-sg-info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #EAF7FF;
	border-radius: 12px;
	padding: 12px 14px;
	margin: 0 0 12px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #1a202c;
}
.spc-haupt .sp-sg-info strong {
	color: #0D4F78;
}
.spc-haupt .sp-sg-info-zeichen {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #0D4F78;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
	line-height: 20px;
	text-align: center;
	margin-top: 1px;
}
/* Preisfelder und Zusammenfassung von WPForms: nur optisch ausgeblendet, sie rechnen und speichern weiter.
   Meldet WPForms dort einen Fehler, werden sie wieder sichtbar. */
.spc-haupt .sp-sg-versteckt:not(:has(.wpforms-error)) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.spc-haupt .sp-sg-erklaerung p.sp-sg-klein {
	font-size: 13px !important;
	color: #718096 !important;
	margin-bottom: 0 !important;
}
@media (max-width: 600px) {
	.spc-haupt .sp-sg-erklaerung { padding: 18px 16px 16px 16px; }
	.spc-haupt .sp-sg-kopfzeile { align-items: flex-start; }
	.spc-haupt .sp-sg-nutzen { grid-template-columns: 1fr; }
	.spc-haupt .sp-sg-posten-name, .spc-haupt .sp-sg-posten-betrag { font-size: 15px; }
	.spc-haupt .sp-sg-gesamt .sp-sg-posten-betrag { font-size: 20px; }
}

/* Mehrzeiliges Feld (zum Beispiel „Möchten Sie uns etwas mitteilen?“): nicht pillenrund wie die einzeiligen Felder. */
.spc-design .wpforms-field-textarea textarea:not(#spc-nie) {
	border-radius: 16px !important;
	min-height: 130px !important;
	padding: 14px 20px !important;
	line-height: 1.5 !important;
	resize: vertical !important;
}

