/*
 * Konfigurator (/bestellen/): Bestellübersicht #price-info, Gravity Forms, Auswahlkarten, Schritte,
 * Sondereinstellungen, Website-Tarife und -Pakete im Formular. Aus twentytwenty-child übernommen
 * (rem auf 16px umgerechnet), nur auf /bestellen/ geladen (functions.php).
 */

/*

Price board

*/

main.sw-main .post-inner {

	position: relative;
}

/*

Preis-Board (Bestellübersicht). Mobil eine Leiste am unteren Rand mit Anzahl der Anwendungen,
Monatspreis und "Details"; ein Tipp öffnet alle Angaben als Panel (#price-info.is-open,
js/custom.js board_expand). Ab 980 px eine Karte rechts neben dem Formular.

*/

#price-info {

	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	/* über dem Knopf "Nach oben" (90) */
	z-index: 95;

	display: flex;
	flex-direction: column;
	max-height: 85vh;
	padding-bottom: env(safe-area-inset-bottom);

	background-color: var(--sw-green-dark);
	color: #fff;
	font-family: var(--sw-font-body);
	line-height: 1.4;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

#price-info.is-open {
	overflow-y: auto;
	overscroll-behavior: contain;
}

#price-info section {
	padding-top: 0px;
	padding-bottom: 0px;
}

/* Leiste: Anzahl und Preis links, "Details" rechts; aufgeklappt bleibt sie oben stehen */
#price-board-header {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 10px 16px;
	background-color: var(--sw-green-dark);
	border-radius: 16px 16px 0 0;
	font-family: var(--sw-font-heading);
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

#price-board-header:focus-visible {
	outline: 2px solid var(--sw-green-light);
	outline-offset: -4px;
}

/* Titel der Karte nur auf dem Desktop */
.sw-board-title {
	display: none;
}

.sw-board-summary {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sw-board-count {
	font-family: var(--sw-font-body);
	font-size: 0.8125rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.78);
}

.sw-board-price {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--sw-green-light);
	white-space: nowrap;
}

.sw-board-price:empty {
	display: none;
}

.sw-board-price small {
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
}

.sw-board-toggle {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 999px;
	background-color: var(--sw-green-light);
	color: #0b242b;
	font-size: 0.875rem;
	white-space: nowrap;
}

.sw-board-toggle::after {
	content: "";
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%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='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.2s ease;
}

#price-info.is-open .sw-board-toggle::after {
	transform: rotate(180deg);
}

#price-board,
#price-board-country,
#price-board-amount-users,
#price-board-server,
#price-board-total {
	display: none;
	padding-left: 16px;
	padding-right: 16px;
}

#price-info.is-open #price-board,
#price-info.is-open #price-board-country,
#price-info.is-open #price-board-amount-users,
#price-info.is-open #price-board-server,
#price-info.is-open #price-board-total {
	display: block;
}

/* Trenner mit Abstand zum Rand wie auf dem Desktop */
#price-info.is-open #price-board,
#price-info.is-open #price-board-total {
	margin-left: 16px;
	margin-right: 16px;
	padding-left: 0;
	padding-right: 0;
}

#price-info.is-open #price-board-total {
	margin-top: 16px;
	margin-bottom: 16px;
}

/* abgedunkelter Hintergrund, solange das Panel offen ist; ein Tipp darauf schließt es */
body.sw-board-open {
	overflow: hidden;
}

body.sw-board-open::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 94;
	background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 979px){

	/* "Nach oben" und die kleinen Knöpfe unten links über der Leiste (Platz unter dem Formular:
	   style.css, .sw-order .post-inner) */
	.sw-to-top {
		bottom: calc(84px + env(safe-area-inset-bottom)) !important;
	}

	.brlbs-cmpnt-widget,
	saasweb-spam-shield {
		bottom: calc(76px + env(safe-area-inset-bottom)) !important;
	}

	/* bei offenem Panel nichts darüber; Borlabs setzt display inline mit !important, daher unsichtbar */
	body.sw-board-open .sw-to-top,
	body.sw-board-open saasweb-spam-shield {
		display: none !important;
	}

	html body.sw-board-open .brlbs-cmpnt-widget {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

/* Anwendungen und Upgrades; darunter der kräftige Trenner zu Standort, User und Server */
#price-board {
	padding-top: 4px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--sw-green-light);
}

.product-info {
	padding: 3px 0;
	font-size: 0.95em;
}

/* Icons: Lucide (lucide.dev, MIT-Lizenz) als SVG-Maske, eingefärbt mit SaaS Green Light */
.product-info::before,
#price-board-country::before,
#price-board-amount-users::before,
#price-board-server::before,
.setup-fee::before,
.yearly-fee::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 1.05em;
	height: 1.05em;
	margin-right: 8px;
	vertical-align: -0.18em;
	background-color: var(--sw-green-light);
	-webkit-mask: var(--sw-icon) no-repeat center / contain;
	mask: var(--sw-icon) no-repeat center / contain;
}

.product-info::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* WordPress-Pakete: Add-ons unter der Zeile WordPress, eingerückt mit Plus */
.product-info.sw-wp-pack {
	padding-left: 1.625rem;
	font-size: 0.88em;
}

.product-info.sw-wp-pack::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
}

#price-board-country::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

#price-board-amount-users::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

#price-board-server::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='8' x='2' y='2' rx='2'/%3E%3Crect width='20' height='8' x='2' y='14' rx='2'/%3E%3Cline x1='6' x2='6.01' y1='6' y2='6'/%3E%3Cline x1='6' x2='6.01' y1='18' y2='18'/%3E%3C/svg%3E");
}

.yearly-fee::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3C/svg%3E");
}

.setup-fee::before {
	--sw-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

/* Standort, User, Server */
#price-board-country,
#price-board-amount-users,
#price-board-server {
	margin-top: 10px;
	font-size: 0.9em;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
}

/* Luft nach dem oberen Trenner */
#price-board-country {
	margin-top: 16px;
}

/* lange Zeilen (Server) laufen neben dem Icon um (display: flex ab 980 px) */
#price-board-server {
	align-items: flex-start;
}

#price-board-server::before {
	margin-top: 0.15em;
}


/* Summen; darüber der kräftige Trenner */
#price-board-total {
	padding-top: 14px;
	border-top: 2px solid var(--sw-green-light);
}

.sw-price-monthly {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	font-family: var(--sw-font-heading);
	font-weight: 600;
}

.sw-price-monthly .sw-price-value {
	font-size: 1.7em;
	font-weight: 700;
	color: var(--sw-green-light);
	white-space: nowrap;
}

.sw-price-line {
	margin-top: 4px;
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.85);
}


/* Hinweise (z. B. Jitsi über 10 User) auf dunklem Grund */
#price-info .sw-user-warning {
	background: rgba(219, 166, 23, 0.15);
	color: #fff;
}

@media (min-width: 980px){

	#price-info {

		position: absolute;
		left: auto;
		right: 20px;
		top: 80px;
		bottom: auto;

		display: block;
		max-height: none;
		color: #fff;

		width: 300px;
		/* wächst mit den Zeilen (Server, jährliche Kosten, Hinweise) */
		height: auto;

		padding: 20px 0;
		border-radius: 12px;
		box-shadow: 0 12px 32px rgba(23, 64, 75, 0.25);

		/* über den Icons der Formularkarten, wenn es eng wird */
		z-index: 30;
	}

	#price-board-header {
		position: static;
		display: block;
		min-height: 0;
		margin: 0 20px;
		padding: 0 0 6px 0;
		background: none;
		border-radius: 0;
		font-size: 0.8em;
		font-weight: 600;
		letter-spacing: 0.02em;
		color: rgba(255, 255, 255, 0.75);
		cursor: default;
	}

	.sw-board-title {
		display: inline;
	}

	.sw-board-summary,
	.sw-board-toggle {
		display: none;
	}

	#price-board,
	#price-board-country,
	#price-board-amount-users,
	#price-board-server,
	#price-board-total {
		display: block;
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Trenner nicht über die ganze Breite, sondern mittig mit Abstand zum Rand */
	#price-board,
	#price-board-total {
		margin-left: 20px;
		margin-right: 20px;
		padding-left: 0;
		padding-right: 0;
	}

	#price-board-total {
		position: static;
		/* Luft vor dem unteren Trenner */
		margin-top: 18px;
	}

	#price-board-server {
		display: flex;
	}

	#hidden-values {
		display: none;
	}

	#price-info.stay-sticky {

		position: fixed;
	}
}

@media (min-width: 980px) and (max-width: 1279px){

	#price-info {
		width: 260px;
	}
}


/*

Gravity Forms

*/

/* Orbital: Farbe in den Feldern (Häkchen, Radio-Punkt) dunkelgrün statt Blau; die übrigen Farben
   setzt functions.php (saasweb_gform_default_styles). Spezifischer als die Inline-Regel von
   Gravity Forms (#gform_wrapper_1[data-form-index="0"].gform-theme). */
html body #gform_wrapper_1.gform-theme--orbital[data-form-index] {
	--gf-color-in-ctrl-primary: #17404b;
	--gf-color-in-ctrl-primary-rgb: 23, 64, 75;
	--gf-color-in-ctrl-primary-contrast: #fff;
	--gf-color-in-ctrl-primary-contrast-rgb: 255, 255, 255;
	--gf-color-in-ctrl-primary-darker: #000e19;
	--gf-color-in-ctrl-primary-lighter: #49727d;
}

/* Eigene Bausteine im Formular (js/custom.js, Klasse gform-theme__disable: ohne Reset und Stile von
   Orbital): Grundschrift wie die Felder statt der großen Fließtextgröße der Seite, Auswahlfelder
   dunkelgrün */
.gform_wrapper .gform-theme__disable:not(.sw-steps) {
	font-size: 1rem;
	line-height: 1.5;
}

.gform_wrapper .gform-theme__disable input:is([type="checkbox"], [type="radio"]) {
	accent-color: var(--sw-green-dark);
}

/* Checkboxen dort wie die Radios als Auswahlfeld des Browsers: Twenty Twenty blendet es aus
   (appearance: none) und zeichnet das Häkchen per ::before, das hier nicht erscheint */
.gform_wrapper .gform-theme__disable input[type="checkbox"] {
	-webkit-appearance: checkbox;
	appearance: auto;
	width: 1rem;
	height: 1rem;
	margin: 0 0.25rem 0 0;
	border: 0;
	background: none;
	vertical-align: -0.2rem;
}

.gform_wrapper .gform-theme__disable input[type="checkbox"]::before {
	content: none;
}

.gform_wrapper .sw-special-settings summary {
	font-size: 1.0625rem;
}

/* Hinweis neben dem gesperrten "Weiter" auf Schritt 1 (js/custom.js update_step1_next) */
.gform_wrapper .sw-next-hint {
	display: inline-block;
	margin-left: 0.75rem;
	color: rgba(23, 64, 75, 0.75);
	font-size: 0.875rem;
	vertical-align: middle;
}

/* Hinweise unter dem Land und in den Sondereinstellungen gleich groß */
.gform_wrapper .sw-server-hint,
.gform_wrapper .gform-theme__disable.sw-server-hint {
	font-size: 0.875rem;
}

form .gform_body .gfield .gfield_checkbox input,
form .gform_body .gfield .gfield_radio input  {
	margin-top: 0px !important;
}

form .gform_body .gfield .gfield_checkbox label {
	padding-top: 6px;
}

form .gform_body .gfield .gfield_radio label {
	padding-top: 2px;	
}

form .gform_body .ginput_container_radio {
	margin-top: 0px;
}

form .gform_body .ginput_container_radio .gfield_radio {
	padding-left: 12px;
}

form .gform_body .ginput_container_radio .gfield_radio .gchoice {
	margin-bottom: 0px !important;
}

form .gform_body input[type='radio'][disabled]+label{
	color: #dcd7ca;
}


/*
 * Auswahlkarten der Anwendungen (Seite 1) und Upgrades (Seite 3): weiße Karte, Name, Beschreibung,
 * Icon rechts; die ganze Karte ist anklickbar (label::after), ausgewählt = .checked-product
 * (js/custom.js).
 */
#gform_fields_1 .gfield_checkbox .gchoice,
#gform_fields_1_3 .gfield_checkbox .gchoice {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	min-height: 96px;
	margin: 0 0 12px 0 !important;
	padding: 16px 18px !important;
	background-color: #fff;
	border: 1px solid rgba(23, 64, 75, 0.14);
	border-radius: 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#gform_fields_1 .gfield_checkbox .gchoice:hover,
#gform_fields_1_3 .gfield_checkbox .gchoice:hover {
	border-color: var(--sw-green-light);
	box-shadow: 0 8px 22px rgba(23, 64, 75, 0.12);
}

#gform_fields_1 .gfield_checkbox .gchoice.checked-product,
#gform_fields_1_3 .gfield_checkbox .gchoice.checked-product {
	border: 2px solid var(--sw-green-dark);
	padding: 15px 17px !important; /* 1 px mehr Rand */
	background-color: rgba(178, 195, 0, 0.1);
}

#gform_fields_1 .gfield_checkbox .gchoice input,
#gform_fields_1_3 .gfield_checkbox .gchoice input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 10px 0 0 !important;
	accent-color: var(--sw-green-dark);
	cursor: pointer;
}

#gform_fields_1 .gfield_checkbox .gchoice label,
#gform_fields_1_3 .gfield_checkbox .gchoice label {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding-top: 0 !important;
	padding-right: 48px; /* Platz für das Icon */
	color: var(--sw-green-dark);
	font-family: var(--sw-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
}

/* ganze Karte anklickbar */
#gform_fields_1 .gfield_checkbox .gchoice label::after,
#gform_fields_1_3 .gfield_checkbox .gchoice label::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
}

.product-short-description {
	flex: 1 0 100%;
	box-sizing: border-box;
	min-width: 0;
	margin: 14px 0 0 0; /* unter dem Icon */
	padding: 0 0 0 30px; /* bündig mit dem Namen neben der Checkbox */
	color: rgba(23, 64, 75, 0.75);
	font-size: 0.9062rem;
	line-height: 1.45;
}

.function-icon {
	position: absolute;
	right: 14px;
	top: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.function-icon img {
	max-width: 100%;
	max-height: 100%;
}

/* Anwendungen ab 700 px zweispaltig */
@media (min-width: 700px){

	#gform_fields_1 .gfield_checkbox {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	#gform_fields_1 .gfield_checkbox .gchoice {
		margin: 0 !important;
	}
}

/* Bestellseite: breiterer Inhalt, rechts Platz für die Bestellübersicht */
.sw-order-page .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 47.5rem;
}

@media (min-width: 980px){

	.sw-order-page .post-inner .entry-content {
		padding-right: 300px;
	}
}

@media (min-width: 1280px){

	.sw-order-page .post-inner .entry-content {
		padding-right: 340px;
	}
}

/*

On this third page, labels are empty and should be not displayed

*/

#gform_page_1_3 .gfield .gfield_label {

	display: none;
}

/* Hint of a product from a number of users (e.g. Jitsi above 10 users); hint at Single Sign On
   for applications that cannot be connected to Keycloak (js/custom.js update_sso_compatibility) */
.sw-user-warning,
.sw-sso-info {
	margin-top: 8px;
	padding: 8px 12px;
	border-left: 4px solid #dba617;
	background: #fcf9e8;
	color: #3c3c3c;
	font-size: 0.85em;
	line-height: 1.4;
}

.sw-user-warning p,
.sw-sso-info p {
	margin: 0;
}

/* Single Sign On nicht wählbar (keine gewählte Anwendung lässt sich an Keycloak anbinden) */
.gchoice.sw-choice-disabled {
	opacity: 0.55;
}

.gchoice.sw-choice-disabled label {
	cursor: not-allowed;
}

.sw-user-warning p + p,
.sw-sso-info p + p {
	margin-top: 6px;
}

/* Special settings of the order form (provider, dedicated server) */
.sw-special-settings details {
	margin-top: 8px;
}

.sw-special-settings summary {
	cursor: pointer;
	font-weight: 600;
}

.sw-special-settings fieldset {
	border: none;
	margin: 8px 0 0 0;
	padding: 0;
}

.sw-special-settings legend {
	font-size: 0.9em;
	margin-bottom: 4px;
}

.sw-special-settings label {
	display: block;
	font-size: 0.9em;
	margin: 4px 0;
}

/* Not offered in the selected country (js/custom.js update_server_availability) */
.sw-special-settings label.sw-unavailable {
	color: #8c8f94;
	cursor: not-allowed;
}

.sw-server-hint:empty {
	display: none;
}

.sw-server-hint {
	margin-top: 8px;
	padding: 8px 12px;
	border-left: 4px solid #dba617;
	background: #fcf9e8;
	color: #3c3c3c;
	font-size: 0.85em;
	line-height: 1.4;
}

/* Bestellseite: kein Seitentitel "Bestellen" (das Formular hat seine eigene Überschrift) */
.sw-order-page .entry-header {
	display: none;
}

/* Schritte des Bestellformulars statt des Fortschrittsbalkens (js/custom.js display_form_steps) */
.sw-steps + .gf_progressbar_wrapper {
	display: none;
}

.sw-steps {
	margin: 0 0 1.875rem 0;
}

.sw-steps ol {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sw-step {
	position: relative;
	flex: 1 1 0;
	margin: 0;
	text-align: center;
}

/* Verbindungslinie zum vorigen Schritt */
.sw-step + .sw-step::before {
	content: "";
	position: absolute;
	top: 1.0625rem;
	right: calc(50% + 1.25rem);
	left: calc(-50% + 1.25rem);
	height: 2px;
	background: rgba(23, 64, 75, 0.2);
}

.sw-step-done + .sw-step::before,
.sw-step-done + .sw-step-current::before {
	background: var(--sw-green-light);
}

.sw-step button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(23, 64, 75, 0.55);
	font-family: var(--sw-font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	cursor: default;
}

.sw-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.125rem;
	height: 2.125rem;
	border: 2px solid rgba(23, 64, 75, 0.25);
	border-radius: 50%;
	background: #fff;
	font-family: var(--sw-font-heading);
	font-weight: 700;
	line-height: 1;
}

.sw-step-current button {
	color: var(--sw-green-dark);
	font-weight: 600;
}

.sw-step-current .sw-step-number {
	border-color: var(--sw-green-dark);
	background: var(--sw-green-dark);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(178, 195, 0, 0.35);
}

/* erledigt: Haken statt Zahl, anklickbar */
.sw-step-done button {
	color: var(--sw-green-dark);
	cursor: pointer;
}

.sw-step-done .sw-step-number {
	border-color: var(--sw-green-light);
	background: var(--sw-green-light);
	color: transparent;
	position: relative;
}

.sw-step-done .sw-step-number::after {
	content: "";
	position: absolute;
	inset: 0.5rem;
	background-color: var(--sw-green-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%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='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

.sw-step-done button:hover .sw-step-name,
.sw-step-done button:focus-visible .sw-step-name {
	text-decoration: underline;
}

.sw-step-done button:focus-visible .sw-step-number {
	outline: 2px solid var(--sw-green-dark);
	outline-offset: 2px;
}

/* schmal: nur der Name des aktuellen Schritts */
@media (max-width: 599px){

	.sw-step-name {
		display: none;
	}

	.sw-step-current .sw-step-name {
		display: block;
		font-size: 0.8125rem;
	}
}


/* Server-Zeile im Preis-Board erst, wenn ein Server feststeht (sonst stünde nur das Icon da) */
#price-board-server:empty {
	display: none !important;
}

/* Website: Tarif an der Karte (über der Klickfläche der Karte) und WordPress-Pakete auf Seite 3 */
.sw-website-tariff {
	position: relative;
	z-index: 2;
	flex: 1 0 100%;
	margin: 12px 0 0 0;
	padding: 10px 0 0 30px;
	border-top: 1px solid rgba(23, 64, 75, 0.14);
}

.sw-website-tariff label,
.sw-wp-packages label {
	display: block;
	margin: 4px 0;
	color: var(--sw-green-dark);
	font-family: var(--sw-font-body);
	font-size: 0.9062rem;
	font-weight: 400;
	cursor: pointer;
}

.sw-website-tariff input,
.sw-wp-packages input {
	accent-color: var(--sw-green-dark);
	margin-right: 6px;
}

.sw-wp-packages {
	margin: 0 0 12px 0;
	padding: 16px 18px !important;
	background: #fff;
	border: 1px solid rgba(23, 64, 75, 0.14);
	border-radius: 12px;
	list-style: none;
}

.sw-wp-packages-title {
	margin-bottom: 8px;
	color: var(--sw-green-dark);
	font-family: var(--sw-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
}

.sw-wp-packages fieldset {
	margin: 10px 0 0 0;
	padding: 0;
	border: 0;
}

.sw-wp-packages legend {
	margin-bottom: 4px;
	color: var(--sw-green-dark);
	font-size: 0.9062rem;
	font-weight: 600;
}

.sw-wp-package input:disabled + .sw-wp-package-title {
	opacity: 0.75;
}

.sw-wp-package-price {
	color: rgba(23, 64, 75, 0.7);
}

/* Paketzeile: Auswahl mit Name und Kurzsatz, rechts der Info-Knopf, darunter die Details
   (js/custom.js website_package_row) */
.sw-wp-package-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 0.625rem;
	align-items: start;
	padding: 6px 0;
}

.sw-wp-packages .sw-wp-package-row label {
	margin: 0;
}

.sw-wp-package-title {
	font-weight: 600;
}

.sw-wp-package-summary {
	display: block;
	margin: 2px 0 0 1.375rem; /* bündig mit dem Namen neben dem Auswahlfeld */
	color: rgba(23, 64, 75, 0.75);
	font-size: 0.8438rem;
	line-height: 1.45;
}

.gform_wrapper .sw-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.875rem;
	height: 1.875rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--sw-green-dark);
	cursor: pointer;
}

.gform_wrapper .sw-info:hover,
.gform_wrapper .sw-info:focus-visible,
.gform_wrapper .sw-info[aria-expanded="true"] {
	background: rgba(23, 64, 75, 0.08);
}

.gform_wrapper .sw-info:focus-visible {
	outline: 2px solid var(--sw-green-light);
	outline-offset: 1px;
}

.sw-wp-package-details {
	grid-column: 1 / -1;
	margin: 8px 0 4px 1.375rem;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(23, 64, 75, 0.05);
	color: var(--sw-green-dark);
	font-size: 0.8438rem;
	line-height: 1.5;
}

.sw-wp-package-details[hidden] {
	display: none;
}

.sw-wp-package-details > :first-child {
	margin-top: 0;
}

.sw-wp-package-details > * {
	margin: 0.6em 0 0 0;
}


/* Tarif-Labels in der Website-Karte: nicht wie der Kartenname und ohne die Klickfläche der Karte */
#gform_fields_1 .gfield_checkbox .gchoice .sw-website-tariff label {
	display: block;
	flex: none;
	margin: 4px 0;
	padding: 0 !important;
	font-family: var(--sw-font-body);
	font-size: 0.9062rem;
	font-weight: 400;
	line-height: 1.4;
}

#gform_fields_1 .gfield_checkbox .gchoice .sw-website-tariff label::after {
	content: none;
}

#gform_fields_1 .gfield_checkbox .gchoice .sw-website-tariff input {
	width: auto;
	height: auto;
	margin: 0 6px 0 0 !important;
	vertical-align: -1px;
}

.sw-website-tariff .sw-tariff-name {
	font-weight: 600;
}

.sw-website-tariff .sw-tariff-features {
	display: block;
	margin-left: 22px;
	color: rgba(23, 64, 75, 0.75);
	font-size: 0.8438rem;
}

/*
 * BlueSpice Free oder Pro in der Karte des Upgrades (inc/order-form.php): wie die Tarife der
 * Website, über der Klickfläche der Karte; nur solange das Upgrade gewählt ist.
 */
.sw-bluespice-variant {
	position: relative;
	z-index: 2;
	flex: 1 0 100%;
	margin: 12px 0 0 0;
	padding: 10px 0 0 30px;
	border-top: 1px solid rgba(23, 64, 75, 0.14);
}

#gform_fields_1_3 .gfield_checkbox .gchoice:not(.checked-product) .sw-bluespice-variant {
	display: none;
}

#gform_fields_1_3 .gfield_checkbox .gchoice .sw-bluespice-variant label {
	display: block;
	flex: none;
	margin: 4px 0;
	padding: 0 !important;
	color: var(--sw-green-dark);
	font-family: var(--sw-font-body);
	font-size: 0.9062rem;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}

#gform_fields_1_3 .gfield_checkbox .gchoice .sw-bluespice-variant label::after {
	content: none;
}

#gform_fields_1_3 .gfield_checkbox .gchoice .sw-bluespice-variant input {
	width: auto;
	height: auto;
	margin: 0 6px 0 0 !important;
	vertical-align: -1px;
	accent-color: var(--sw-green-dark);
}

.sw-bluespice-variant .sw-tariff-name {
	font-weight: 600;
}

.sw-bluespice-variant .sw-tariff-features {
	display: block;
	margin-left: 22px;
	color: rgba(23, 64, 75, 0.75);
	font-size: 0.8438rem;
}
