/*!
 * Siegelwerk24 Preisrechner
 * Alle Regeln sind auf .sw24-wrap / .sw24-calc begrenzt und setzen ihre Werte
 * ausdruecklich, damit Theme-Stile (Divi, WooCommerce) nichts verschieben.
 */

.sw24-wrap,
.sw24-calc {
	--sw24-orange: #cd4c00;
	--sw24-orange-soft: #fff6ef;
	--sw24-ink: #000;
	--sw24-text: #333;
	--sw24-muted: #666;
	--sw24-line: #a8a8a8;
	--sw24-line-soft: #d9d9d9;
	--sw24-bg: #f9f9f9;
	--sw24-dark: #616161;
	--sw24-grad-dark: linear-gradient(135deg, #000 0, #6b6b6b 100%);
	--sw24-grad-cta: linear-gradient(180deg, #29c4a9 0%, #2b87da 100%);
	--sw24-font: Arial, Helvetica, sans-serif;
}

.sw24-wrap {
	max-width: 1080px;
	margin: 0 auto;
	font-family: var(--sw24-font);
	text-align: left;
}

.sw24-wrap *,
.sw24-wrap *::before,
.sw24-wrap *::after,
.sw24-calc,
.sw24-calc *,
.sw24-calc *::before,
.sw24-calc *::after {
	box-sizing: border-box;
}

.sw24-calc [hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Einfuehrungstext                                                     */
/* ------------------------------------------------------------------ */

.sw24-wrap .sw24-intro {
	margin: 0 0 22px;
	padding: 16px 22px 18px;
	background: var(--sw24-bg);
	border: 2px solid var(--sw24-line);
	border-radius: 6px;
	color: var(--sw24-text);
	font-family: var(--sw24-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.sw24-wrap .sw24-intro strong,
.sw24-wrap .sw24-intro b,
.sw24-calc strong {
	font-weight: 700;
}

.sw24-wrap .sw24-intro h1,
.sw24-wrap .sw24-intro h2,
.sw24-wrap .sw24-intro h3 {
	margin: 0 0 10px;
	padding: 0;
	color: var(--sw24-orange);
	font-family: var(--sw24-font);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.sw24-wrap .sw24-intro h3 {
	color: var(--sw24-text);
	font-size: 19px;
	text-align: left;
}

.sw24-wrap .sw24-intro p {
	margin: 0 0 10px;
	padding: 0;
}

.sw24-wrap .sw24-intro ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.sw24-wrap .sw24-intro li {
	position: relative;
	margin: 0 0 6px;
	padding: 0 0 0 32px;
	list-style: none;
}

.sw24-wrap .sw24-intro li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	background: var(--sw24-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.6 3.6 7.4-8.2' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

/* Warnhinweis (z. B. kein Widerrufsrecht) mit Ausrufezeichen statt Haken */
.sw24-wrap .sw24-intro li.sw24-intro__warn::before {
	background: var(--sw24-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.5v7' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='15.2' r='1.6' fill='%23fff'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.sw24-wrap .sw24-intro > :last-child,
.sw24-wrap .sw24-intro li:last-child {
	margin-bottom: 0;
}

.sw24-wrap .sw24-intro a,
.sw24-calc a {
	color: var(--sw24-orange);
	text-decoration: underline;
}

/* Produktbilder im Einführungstext ({produktbilder}) */
.sw24-wrap .sw24-showcase {
	margin: 14px 0 16px;
}

.sw24-wrap .sw24-intro .sw24-showcase__title {
	margin: 0 auto 10px;
	max-width: 720px;
	color: var(--sw24-muted);
	font-size: 14.5px;
	line-height: 1.45;
	text-align: center;
}

.sw24-wrap .sw24-showcase__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin: 0 auto;
}

.sw24-wrap .sw24-intro .sw24-showcase__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 10px 10px 12px;
	background: #fff;
	border: 2px solid var(--sw24-line-soft);
	border-radius: 8px;
	color: var(--sw24-text);
	text-align: center;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.sw24-wrap .sw24-intro a.sw24-showcase__item:hover,
.sw24-wrap .sw24-intro a.sw24-showcase__item:focus-visible {
	border-color: var(--sw24-orange);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.sw24-wrap .sw24-showcase__media {
	position: relative;
	display: block;
	width: 100%;
	max-width: 170px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 8px;
}

.sw24-wrap .sw24-showcase__img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: opacity .4s ease;
}

/* Hover-Bild liegt über dem Produktbild und wird beim Überfahren eingeblendet */
.sw24-wrap .sw24-showcase__img--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.sw24-wrap .sw24-showcase__item.has-hover:hover .sw24-showcase__img--hover,
.sw24-wrap .sw24-showcase__item.has-hover:focus-visible .sw24-showcase__img--hover {
	opacity: 1;
}

.sw24-wrap .sw24-showcase__item.has-hover:hover .sw24-showcase__img:not(.sw24-showcase__img--hover),
.sw24-wrap .sw24-showcase__item.has-hover:focus-visible .sw24-showcase__img:not(.sw24-showcase__img--hover) {
	opacity: 0;
}

/* Text füllt die Karte nach unten; "Im Shop ansehen" sitzt dadurch bei allen Karten unten auf gleicher Höhe */
.sw24-wrap .sw24-showcase__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-self: stretch;
	min-width: 0;
}

.sw24-wrap .sw24-showcase__caption {
	display: block;
	color: var(--sw24-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.sw24-wrap .sw24-showcase__more {
	display: block;
	margin-top: auto;
	padding-top: 4px;
	color: var(--sw24-orange);
	font-size: 13px;
	text-decoration: underline;
}

/* Mit Shop-Kasten: Überschrift und Produktbilder links, Kasten rechts auf Höhe der Bilder */
.sw24-wrap .sw24-showcase.has-shop {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	grid-template-areas:
		"title ."
		"grid shop";
	column-gap: 24px;
	align-items: stretch;
}

.sw24-wrap .sw24-intro .sw24-showcase.has-shop .sw24-showcase__title {
	grid-area: title;
	max-width: none;
	margin: 0 0 10px;
	text-align: center;
}

.sw24-wrap .sw24-showcase.has-shop .sw24-showcase__grid {
	grid-area: grid;
	max-width: none;
	margin: 0;
}

.sw24-wrap .sw24-showcase__shop {
	grid-area: shop;
	display: flex;
	min-width: 0;
}

.sw24-wrap .sw24-intro .sw24-showcase__shop .sw24-shopbox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 14px 16px 18px;
	background: #fff;
	border: 2px solid var(--sw24-line);
	border-radius: 8px;
	text-align: center;
}

.sw24-wrap .sw24-intro .sw24-showcase__shop .sw24-shopbox__title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--sw24-orange);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.sw24-wrap .sw24-intro .sw24-showcase__shop .sw24-shopbox__text {
	margin: 0 0 14px;
	padding: 0;
	color: var(--sw24-text);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.sw24-wrap .sw24-intro .sw24-showcase__shop a.sw24-shopbox__btn {
	display: inline-block;
	align-self: center;
	padding: 8px 22px;
	background: linear-gradient(180deg, #ff0000 0%, #990000 100%);
	border: 2px solid #fff;
	border-radius: 19px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
	transition: filter .12s ease, transform .12s ease;
}

.sw24-wrap .sw24-intro .sw24-showcase__shop a.sw24-shopbox__btn:hover,
.sw24-wrap .sw24-intro .sw24-showcase__shop a.sw24-shopbox__btn:focus-visible {
	color: #fff;
	filter: brightness(1.1);
	transform: translateY(-1px);
}

@media (max-width: 860px) {
	.sw24-wrap .sw24-showcase.has-shop {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"title"
			"grid"
			"shop";
	}

	.sw24-wrap .sw24-showcase__shop {
		margin-top: 12px;
	}
}

/* Schmale Bildschirme: Karten untereinander, Bild links, Text rechts */
@media (max-width: 560px) {
	.sw24-wrap .sw24-showcase__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.sw24-wrap .sw24-intro .sw24-showcase__item {
		flex-direction: row;
		padding: 6px 12px 6px 6px;
		text-align: left;
	}

	.sw24-wrap .sw24-showcase__media {
		flex: none;
		width: 72px;
		max-width: 72px;
		margin: 0 12px 0 0;
	}

	.sw24-wrap .sw24-showcase__caption {
		font-size: 14.5px;
	}

	/* In der Zeilenansicht Text mittig neben dem Bild */
	.sw24-wrap .sw24-showcase__text {
		justify-content: center;
	}

	.sw24-wrap .sw24-showcase__more {
		margin-top: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Grundgeruest                                                         */
/* ------------------------------------------------------------------ */

.sw24-calc {
	container-type: inline-size;
	container-name: sw24;
	margin: 0;
	padding: 0;
	color: var(--sw24-text);
	font-family: var(--sw24-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.sw24-calc noscript {
	display: block;
	padding: 14px 18px;
	background: var(--sw24-bg);
	border: 2px solid var(--sw24-line);
	border-radius: 6px;
}

.sw24-calc .sw24-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.sw24-calc .sw24-steps {
	min-width: 0;
}

.sw24-calc .sw24-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Schritte                                                             */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-step {
	margin: 0 0 16px;
	padding: 16px 18px 18px;
	background: var(--sw24-bg);
	border: 2px solid var(--sw24-line);
	border-radius: 6px;
}

.sw24-calc .sw24-steps .sw24-step:last-child,
.sw24-calc .sw24-step--send {
	margin-bottom: 0;
}

.sw24-calc .sw24-step__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
}

.sw24-calc .sw24-step__no {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: var(--sw24-orange);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}

.sw24-calc .sw24-step__title,
.sw24-calc .sw24-sum__title,
.sw24-calc .sw24-success__title {
	margin: 0;
	padding: 0;
	color: var(--sw24-text);
	font-family: var(--sw24-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.sw24-calc .sw24-field {
	margin: 0 0 14px;
}

.sw24-calc .sw24-field:last-child {
	margin-bottom: 0;
}

.sw24-calc .sw24-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	color: var(--sw24-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.sw24-calc .sw24-optional {
	color: var(--sw24-muted);
	font-weight: 400;
}

.sw24-calc .sw24-hint {
	margin: 10px 0 0;
	padding: 0;
	color: var(--sw24-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

.sw24-calc .sw24-hint--strong {
	color: var(--sw24-text);
	font-size: 15px;
	font-weight: 700;
}

.sw24-calc .sw24-hint--tight {
	margin-top: 6px;
}

.sw24-calc .sw24-field--top {
	margin-top: 16px;
}

.sw24-calc .sw24-hint--center {
	text-align: center;
}

.sw24-calc .sw24-error {
	margin: 8px 0 0;
	padding: 0;
	color: #b00020;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.sw24-calc .sw24-error--soft {
	color: var(--sw24-orange);
}

.sw24-calc .sw24-error--box {
	margin: 14px 0 0;
	padding: 10px 12px;
	background: #fdecee;
	border: 1px solid #e8a5ae;
	border-left: 5px solid #b00020;
	border-radius: 4px;
}

.sw24-calc .sw24-panel {
	margin: 14px 0 0;
	padding: 14px 16px 16px;
	background: #fff;
	border: 1px solid var(--sw24-line-soft);
	border-left: 5px solid var(--sw24-orange);
	border-radius: 6px;
}

.sw24-calc .sw24-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	color: var(--sw24-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

.sw24-calc .sw24-list li {
	position: relative;
	margin: 0 0 4px;
	padding: 0 0 0 16px;
	list-style: none;
}

.sw24-calc .sw24-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sw24-orange);
}

.sw24-calc .sw24-list strong {
	color: var(--sw24-text);
}

/* Hinweisbox im Stil "Weitere Hinweise" der Produktseiten (hellblau, Info-Symbol).
   Abstände mit !important, weil Theme-Stile (Divi) sonst den unteren Innenabstand verändern. */
.sw24-calc .sw24-info {
	position: relative;
	margin: 12px 0 0 !important;
	padding: 12px 14px 12px 46px !important;
	background: #edf5fc;
	border: 0;
	border-radius: 4px;
	color: var(--sw24-text);
	font-size: 14px;
	line-height: 1.55;
}

.sw24-calc .sw24-info::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 13px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #2b87da url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 9v6' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='5' r='1.8' fill='%23fff'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.sw24-calc .sw24-info strong {
	color: var(--sw24-ink);
}

.sw24-calc .sw24-info u {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Dezent hervorgehobener Preis (Aufbereitung Bilddatei) */
.sw24-calc .sw24-mark {
	color: var(--sw24-ink);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: var(--sw24-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Eingabefelder                                                        */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-input {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 48px;
	margin: 0;
	padding: 8px 14px;
	background: #fff;
	border: 2px solid var(--sw24-line);
	border-radius: 10px;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, .08);
	color: var(--sw24-ink);
	font-family: var(--sw24-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}

.sw24-calc .sw24-input::placeholder {
	color: #8a8a8a;
	font-weight: 400;
	opacity: 1;
}

.sw24-calc .sw24-input:focus,
.sw24-calc .sw24-input:focus-visible {
	border-color: var(--sw24-orange);
	outline: 3px solid rgba(205, 76, 0, .25);
	outline-offset: 0;
}

.sw24-calc .sw24-input[aria-invalid="true"] {
	border-color: #b00020;
}

.sw24-calc .sw24-input--area {
	height: auto;
	min-height: 68px;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	resize: vertical;
}

.sw24-calc .sw24-input--notes {
	min-height: 108px;
}

.sw24-calc .sw24-input--select {
	width: auto;
	min-width: 170px;
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
	cursor: pointer;
}

.sw24-calc .sw24-input--wide {
	max-width: 440px;
}

.sw24-calc .sw24-counter {
	display: block;
	margin: 4px 0 0;
	color: var(--sw24-muted);
	font-size: 12.5px;
	text-align: right;
}

.sw24-calc .sw24-unit {
	display: flex;
	align-items: stretch;
}

.sw24-calc .sw24-unit .sw24-input {
	flex: 1 1 auto;
	min-width: 0;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	text-align: right;
}

.sw24-calc .sw24-unit__suffix {
	display: flex;
	align-items: center;
	flex: none;
	padding: 0 12px;
	background: var(--sw24-dark);
	border-radius: 0 10px 10px 0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.sw24-calc .sw24-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.sw24-calc .sw24-inline-note {
	color: var(--sw24-muted);
	font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* Auswahl-Schaltflaechen                                               */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.sw24-calc .sw24-choice__opt {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

.sw24-calc .sw24-choice__input {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.sw24-calc .sw24-choice__box {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	min-height: 50px;
	padding: 9px 14px;
	background: #fff;
	border: 2px solid var(--sw24-line);
	border-radius: 10px;
	color: var(--sw24-text);
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.sw24-calc .sw24-choice__opt:hover .sw24-choice__box {
	border-color: var(--sw24-muted);
}

.sw24-calc .sw24-choice__mark {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	background: #fff;
	border: 2px solid var(--sw24-line);
	border-radius: 5px;
}

.sw24-calc .sw24-choice__text {
	flex: 1 1 auto;
	min-width: 0;
}

.sw24-calc .sw24-choice__label {
	display: block;
	color: var(--sw24-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.sw24-calc .sw24-choice__desc {
	display: block;
	margin-top: 2px;
	color: var(--sw24-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.sw24-calc .sw24-choice__badge {
	flex: none;
	margin-left: auto;
	padding: 2px 9px;
	background: #ececec;
	border-radius: 20px;
	color: var(--sw24-text);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box {
	background: var(--sw24-orange-soft);
	border-color: var(--sw24-orange);
	box-shadow: 0 0 0 1px var(--sw24-orange);
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__mark {
	background: var(--sw24-orange);
	border-color: var(--sw24-orange);
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__mark::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__badge {
	background: var(--sw24-orange);
	color: #fff;
}

.sw24-calc .sw24-choice__input:focus-visible + .sw24-choice__box {
	outline: 3px solid rgba(43, 135, 218, .7);
	outline-offset: 2px;
}

/* Ja / Nein nebeneinander */
.sw24-calc .sw24-choice--row .sw24-choice__opt {
	flex: 1 1 180px;
	max-width: 280px;
}

/* Vier Auswahlfelder (Druckfarben): 2 x 2, bei genug Breite in einer Reihe */
.sw24-calc .sw24-choice--quad {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Karten fuer die Art der Siegel */
.sw24-calc .sw24-choice--cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.sw24-calc .sw24-choice--cards .sw24-choice__box {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	align-items: start;
	gap: 8px 10px;
	padding: 12px 14px;
}

.sw24-calc .sw24-choice--cards .sw24-choice__badge {
	grid-column: 2;
	justify-self: start;
	margin: 0;
}

/* Formauswahl mit Skizze */
.sw24-calc .sw24-choice--shapes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw24-calc .sw24-choice--shapes .sw24-choice__box {
	flex-wrap: wrap;
	align-items: center;
	padding: 10px 12px 12px;
}

.sw24-calc .sw24-choice__media {
	display: block;
	flex: 0 0 100%;
	margin: 0 0 4px;
}

.sw24-calc .sw24-shape__svg {
	display: block;
	width: 100%;
	max-width: 230px;
	height: auto;
	margin: 0 auto;
	overflow: visible;
}

/* Farbauswahl mit Farbfeld */
.sw24-calc .sw24-choice--swatches {
	gap: 8px;
}

.sw24-calc .sw24-choice--swatches .sw24-choice__opt {
	flex: 0 1 auto;
}

.sw24-calc .sw24-choice--swatches .sw24-choice__box {
	gap: 8px;
	min-height: 44px;
	padding: 6px 14px 6px 8px;
}

.sw24-calc .sw24-choice--swatches .sw24-choice__label {
	font-size: 15px;
}

.sw24-calc .sw24-choice__swatch {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
	border: 1px solid rgba(0, 0, 0, .3);
	border-radius: 50%;
	background-image: linear-gradient(135deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .1) 100%);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__swatch::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 3px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	filter: drop-shadow(0 0 1px rgba(0, 0, 0, .8));
}

/* Anordnung auf der Rolle: #1 bis #8 mit der Beschriftung aus der Grafik */
.sw24-calc .sw24-choice--chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 8px;
}

/* width: auto überschreibt die feste Breite älterer Versionen (z. B. aus dem "Used CSS" von WP Rocket) */
.sw24-calc .sw24-choice--chips .sw24-choice__box {
	justify-content: center;
	width: auto;
	min-height: 0;
	padding: 8px 6px 9px;
	text-align: center;
}

.sw24-calc .sw24-choice--chips .sw24-choice__mark {
	display: none;
}

.sw24-calc .sw24-choice--chips .sw24-choice__text {
	flex: 1 1 auto;
}

.sw24-calc .sw24-choice--chips .sw24-choice__label {
	font-size: 19px;
	line-height: 1.15;
}

.sw24-calc .sw24-choice--chips .sw24-choice__desc {
	margin-top: 3px;
	color: var(--sw24-text);
	font-size: 12.5px;
	line-height: 1.35;
	white-space: pre-line;
}

.sw24-calc .sw24-choice--chips .sw24-choice__input:checked + .sw24-choice__box {
	background: var(--sw24-orange);
}

.sw24-calc .sw24-choice--chips .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__label,
.sw24-calc .sw24-choice--chips .sw24-choice__input:checked + .sw24-choice__box .sw24-choice__desc {
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Stueckzahl                                                           */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-qty {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px 22px;
}

.sw24-calc .sw24-qty__slider {
	flex: 1 1 260px;
	min-width: 0;
	padding-top: 10px;
}

.sw24-calc .sw24-qty__field {
	flex: 0 1 210px;
}

.sw24-calc .sw24-range {
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.sw24-calc .sw24-range:focus {
	outline: none;
}

.sw24-calc .sw24-range::-webkit-slider-runnable-track {
	height: 10px;
	border-radius: 5px;
	background: linear-gradient(to right, var(--sw24-orange) 0, var(--sw24-orange) var(--sw24-fill, 0%), #d2d2d2 var(--sw24-fill, 0%), #d2d2d2 100%);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
}

.sw24-calc .sw24-range::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	margin-top: -8px;
	background: #fff;
	border: 4px solid var(--sw24-orange);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
	-webkit-appearance: none;
	appearance: none;
}

.sw24-calc .sw24-range::-moz-range-track {
	height: 10px;
	border-radius: 5px;
	background: #d2d2d2;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
}

.sw24-calc .sw24-range::-moz-range-progress {
	height: 10px;
	border-radius: 5px;
	background: var(--sw24-orange);
}

.sw24-calc .sw24-range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: #fff;
	border: 4px solid var(--sw24-orange);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

.sw24-calc .sw24-range:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 5px rgba(205, 76, 0, .3);
}

.sw24-calc .sw24-range:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 5px rgba(205, 76, 0, .3);
}

.sw24-calc .sw24-ticks {
	position: relative;
	height: 18px;
	margin: 2px 0 0;
	color: var(--sw24-muted);
	font-size: 12px;
	line-height: 18px;
}

.sw24-calc .sw24-ticks__item {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	white-space: nowrap;
}

.sw24-calc .sw24-ticks__item.is-first {
	left: 0 !important;
	transform: none;
}

.sw24-calc .sw24-ticks__item.is-last {
	left: auto !important;
	right: 0;
	transform: none;
}

/* ------------------------------------------------------------------ */
/* Groesse                                                              */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-size {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 16px;
}

.sw24-calc .sw24-size__field {
	flex: 0 1 auto;
}

.sw24-calc .sw24-size__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sw24-calc .sw24-size__row .sw24-unit {
	width: 150px;
}

.sw24-calc .sw24-size__cm {
	min-width: 72px;
	color: var(--sw24-muted);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.sw24-calc .sw24-size__times {
	padding: 0 2px 9px;
	color: var(--sw24-muted);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.sw24-calc .sw24-input--size {
	-moz-appearance: textfield;
}

/* ------------------------------------------------------------------ */
/* Rolle                                                                */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-figure {
	margin: 0 0 14px;
	padding: 0;
}

.sw24-calc .sw24-figure__img {
	display: block;
	width: 100%;
	max-width: 440px;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--sw24-line-soft);
	border-radius: 6px;
}

/* ------------------------------------------------------------------ */
/* Upload                                                               */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding: 20px 16px;
	background: #fff;
	border: 2px dashed var(--sw24-line);
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
	transition: border-color .15s ease, background-color .15s ease;
}

.sw24-calc .sw24-drop:hover,
.sw24-calc .sw24-drop.is-over {
	background: var(--sw24-orange-soft);
	border-color: var(--sw24-orange);
}

.sw24-calc .sw24-drop:focus-within {
	outline: 3px solid rgba(43, 135, 218, .7);
	outline-offset: 2px;
}

.sw24-calc .sw24-drop__input {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.sw24-calc .sw24-drop__icon {
	width: 36px;
	height: 36px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 24V7m0 0l-7 7m7-7l7 7M6 24v4a2 2 0 002 2h20a2 2 0 002-2v-4' fill='none' stroke='%23cd4c00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sw24-calc .sw24-drop__title {
	color: var(--sw24-ink);
	font-size: 16px;
	font-weight: 700;
}

.sw24-calc .sw24-drop__sub {
	color: var(--sw24-muted);
	font-size: 13.5px;
}

.sw24-calc .sw24-files {
	display: grid;
	gap: 8px;
	margin: 0 0 10px;
}

.sw24-calc .sw24-error__item {
	display: block;
}

.sw24-calc .sw24-error__item + .sw24-error__item {
	margin-top: 4px;
}

.sw24-calc .sw24-file {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	background: #fff;
	border: 2px solid var(--sw24-orange);
	border-radius: 10px;
}

.sw24-calc .sw24-file__thumb {
	flex: none;
	width: 56px;
	height: 56px;
	margin: 0;
	object-fit: contain;
	background: var(--sw24-bg);
	border: 1px solid var(--sw24-line-soft);
	border-radius: 6px;
}

.sw24-calc .sw24-file__thumb--ext {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sw24-dark);
	border: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.sw24-calc .sw24-file__text {
	flex: 1 1 auto;
	min-width: 0;
}

.sw24-calc .sw24-file__name {
	display: block;
	overflow: hidden;
	color: var(--sw24-ink);
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sw24-calc .sw24-file__meta {
	display: block;
	color: var(--sw24-muted);
	font-size: 13.5px;
}

.sw24-calc .sw24-link {
	flex: none;
	margin: 0;
	padding: 4px 2px;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--sw24-orange);
	cursor: pointer;
	font-family: var(--sw24-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: underline;
}

.sw24-calc .sw24-link:hover {
	color: var(--sw24-ink);
}

/* ------------------------------------------------------------------ */
/* Absenden                                                             */
/* ------------------------------------------------------------------ */

.sw24-calc .sw24-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sw24-calc .sw24-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
}

.sw24-calc .sw24-check__input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--sw24-orange);
	cursor: pointer;
}

.sw24-calc .sw24-check__label {
	margin: 0;
	padding: 0;
	color: var(--sw24-text);
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.sw24-calc .sw24-actions {
	margin: 20px 0 0;
	text-align: center;
}

.sw24-calc .sw24-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: auto;
	min-height: 54px;
	margin: 0;
	padding: 8px 36px;
	background: var(--sw24-grad-cta);
	border: 2px solid #fff;
	border-radius: 40px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .6);
	color: #fff;
	cursor: pointer;
	font-family: var(--sw24-font);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	text-transform: none;
	transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.sw24-calc .sw24-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.sw24-calc .sw24-btn:active {
	transform: translateY(1px);
	box-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.sw24-calc .sw24-btn:focus-visible {
	outline: 3px solid rgba(43, 135, 218, .8);
	outline-offset: 3px;
}

.sw24-calc .sw24-btn:disabled {
	cursor: progress;
	filter: saturate(.6);
	opacity: .85;
	transform: none;
}

.sw24-calc .sw24-btn.is-busy::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 3px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sw24-spin .8s linear infinite;
}

@keyframes sw24-spin {
	to {
		transform: rotate(360deg);
	}
}

.sw24-calc .sw24-success {
	padding: 6px 4px 2px;
	text-align: center;
}

.sw24-calc .sw24-success:focus {
	outline: none;
}

.sw24-calc .sw24-success__icon {
	display: block;
	width: 54px;
	height: 54px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #2e9e4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.6 3.6 7.4-8.2' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 34px 34px no-repeat;
}

.sw24-calc .sw24-success__title {
	margin: 0 0 8px;
	font-size: 20px;
}

.sw24-calc .sw24-success__text {
	margin: 0 0 8px;
	padding: 0;
	font-size: 15px;
	overflow-wrap: anywhere;
}

.sw24-calc .sw24-success__demo {
	display: inline-block;
	margin: 4px 0 8px;
	padding: 4px 10px;
	background: #fff6ef;
	border: 1px dashed var(--sw24-orange);
	border-radius: 4px;
	font-size: 13.5px;
	font-weight: 700;
}

.sw24-calc .sw24-success .sw24-link {
	display: block;
	margin: 6px auto 0;
}

/* ------------------------------------------------------------------ */
/* Zusammenfassung                                                      */
/* ------------------------------------------------------------------ */

/* position/top: Die Übersicht klebt nicht mehr selbst, sondern mit der Seitenspalte (.sw24-side). */
.sw24-calc .sw24-sum {
	position: relative;
	top: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--sw24-line);
	border-radius: 6px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.sw24-calc .sw24-sum__head {
	padding: 12px 18px;
	background: var(--sw24-grad-dark);
}

.sw24-calc .sw24-sum__title {
	color: #fff;
}

.sw24-calc .sw24-sum__body {
	padding: 8px 18px 18px;
}

.sw24-calc .sw24-line {
	padding: 9px 0;
	border-bottom: 1px solid var(--sw24-line-soft);
}

.sw24-calc .sw24-line__row,
.sw24-calc .sw24-line__detail {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.sw24-calc .sw24-line__label {
	min-width: 0;
	color: var(--sw24-text);
	font-size: 14.5px;
	line-height: 1.35;
}

.sw24-calc .sw24-line__amount {
	flex: none;
	color: var(--sw24-ink);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

.sw24-calc .sw24-line--main .sw24-line__label {
	color: var(--sw24-ink);
	font-size: 15.5px;
	font-weight: 700;
}

.sw24-calc .sw24-line--min .sw24-line__label,
.sw24-calc .sw24-line--min .sw24-line__amount {
	color: var(--sw24-orange);
}

.sw24-calc .sw24-line__detail {
	padding-top: 3px;
	color: var(--sw24-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	line-height: 1.35;
}

.sw24-calc .sw24-line__detail span:last-child {
	flex: none;
	white-space: nowrap;
}

.sw24-calc .sw24-sum__total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
	padding: 14px 0 0;
}

.sw24-calc .sw24-sum__total-label {
	color: var(--sw24-text);
	font-size: 16px;
	font-weight: 700;
}

.sw24-calc .sw24-sum__total-value {
	margin-left: auto;
	color: var(--sw24-orange);
	font-size: 30px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.sw24-calc .sw24-sum__net {
	margin: 4px 0 0;
	padding: 0;
	color: var(--sw24-muted);
	font-size: 13px;
	line-height: 1.4;
	text-align: right;
}

.sw24-calc .sw24-sum__unit {
	margin: 2px 0 14px;
	padding: 0;
	color: var(--sw24-muted);
	font-size: 12.5px;
	line-height: 1.4;
	text-align: right;
}

/* Nettobeträge in der Übersicht hervorheben */
.sw24-calc .sw24-sum__netval {
	color: var(--sw24-ink);
	font-weight: 700;
	white-space: nowrap;
}

.sw24-calc .sw24-sum__net .sw24-sum__netval {
	font-size: 14.5px;
}

/* Geplantes Lieferdatum als Plakette mit Kalendersymbol (Rechner und Einführungstext).
   Das Symbol kommt per ::before, weil das Skript den Text der Plakette ersetzt. */
.sw24-wrap .sw24-datebadge,
.sw24-calc .sw24-datebadge {
	display: inline-block;
	margin: 3px 0 0;
	padding: 2px 10px;
	background: var(--sw24-orange-soft);
	border: 1.5px solid var(--sw24-orange);
	border-radius: 14px;
	color: var(--sw24-ink);
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.sw24-wrap .sw24-datebadge::before,
.sw24-calc .sw24-datebadge::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	vertical-align: -2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cd4c00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Im Einführungstext: Plakette als Inline-Element, damit sie die Zeile nicht erhöht und
   Text und Häkchen auf einer Höhe bleiben (Innenabstand und Rahmen zählen dann nicht zur Zeilenhöhe). */
.sw24-wrap .sw24-intro .sw24-datebadge {
	display: inline;
	margin: 0;
	padding: 2px 10px;
	line-height: inherit;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.sw24-wrap .sw24-intro .sw24-delivery-note {
	margin-top: 6px;
}

/* Erklärung unter dem Lieferdatum */
.sw24-wrap .sw24-delivery-note,
.sw24-calc .sw24-delivery-note {
	display: block;
	margin-top: 4px;
	color: var(--sw24-muted);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.45;
}

.sw24-wrap .sw24-intro .sw24-delivery-note {
	font-size: 13.5px;
}

/* Geplantes Lieferdatum (Rechner und Einführungstext): Spanne nicht umbrechen */
.sw24-delivery {
	white-space: nowrap;
}

/* "einmalig" (Preisrechner und Einführungstext) */
.sw24-calc .sw24-emph,
.sw24-intro .sw24-emph {
	color: var(--sw24-ink);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--sw24-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.sw24-calc .sw24-notice {
	padding: 10px 12px;
	background: var(--sw24-orange-soft);
	border: 1px solid #f0c9ad;
	border-left: 5px solid var(--sw24-orange);
	border-radius: 4px;
	color: var(--sw24-text);
	font-size: 13.5px;
	line-height: 1.45;
}

.sw24-calc .sw24-notice--gap {
	margin-top: 12px;
}

.sw24-calc .sw24-sum__meta {
	margin: 12px 0 0;
	padding: 0;
	color: var(--sw24-text);
	font-size: 14px;
	line-height: 1.45;
}

.sw24-calc .sw24-side {
	min-width: 0;
}

/* Hinweis auf vorrätige Siegel im Shop */
.sw24-calc .sw24-shopbox {
	margin: 16px 0 0;
	padding: 14px 16px 18px;
	background: var(--sw24-bg);
	border: 2px solid var(--sw24-line);
	border-radius: 6px;
	text-align: center;
}

.sw24-calc .sw24-shopbox__title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--sw24-orange);
	font-family: var(--sw24-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.sw24-calc .sw24-shopbox__text {
	margin: 0 0 14px;
	padding: 0;
	color: var(--sw24-text);
	font-size: 13.5px;
	line-height: 1.5;
}

.sw24-calc a.sw24-shopbox__btn {
	display: inline-block;
	padding: 8px 22px;
	background: linear-gradient(180deg, #ff0000 0%, #990000 100%);
	border: 2px solid #fff;
	border-radius: 19px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
	color: #fff;
	font-family: var(--sw24-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
	transition: filter .12s ease, transform .12s ease;
}

.sw24-calc a.sw24-shopbox__btn:hover,
.sw24-calc a.sw24-shopbox__btn:focus-visible {
	color: #fff;
	filter: brightness(1.1);
	transform: translateY(-1px);
}

/* Kasten nur für Admins: Angebot statt unverbindlicher Preisberechnung */
.sw24-calc .sw24-admin {
	margin: 0 0 18px;
	padding: 12px 14px 4px;
	background: #fffbe6;
	border: 2px dashed #d9b400;
	border-radius: 6px;
}

.sw24-calc .sw24-admin__title {
	margin: 0 0 8px;
	padding: 0;
	color: #7a6200;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.sw24-calc .sw24-admin .sw24-input--address {
	min-height: 112px;
}

/* Bogen-Skizze */
.sw24-calc .sw24-sheet__figure {
	margin: 4px 0 6px;
}

.sw24-calc .sw24-sheet__svg {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
	margin: 0 auto;
}

/* "Beispiel" rechts unten in einer Auswahl */
.sw24-calc .sw24-choice__box.has-example {
	position: relative;
	padding-bottom: 24px;
}

.sw24-calc .sw24-choice--cards .sw24-choice__box.has-example {
	padding-bottom: 12px;
}

.sw24-calc .sw24-example {
	position: absolute;
	right: 10px;
	bottom: 5px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--sw24-muted);
	cursor: help;
	font-family: var(--sw24-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: underline;
	text-transform: none;
}

.sw24-calc .sw24-example:hover,
.sw24-calc .sw24-example:focus-visible {
	color: var(--sw24-orange);
	outline: none;
}

.sw24-calc .sw24-choice--cards .sw24-example {
	bottom: 12px;
}

.sw24-calc .sw24-choice__input:checked + .sw24-choice__box .sw24-example {
	color: var(--sw24-text);
}

/* Mitlaufende Preisleiste (nur einspaltige Ansicht) */
.sw24-calc .sw24-bar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	padding: 10px 16px;
	background: var(--sw24-grad-dark);
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
	color: #fff;
}

.sw24-calc .sw24-bar__label {
	font-size: 14px;
	font-weight: 700;
}

.sw24-calc .sw24-bar__value {
	font-size: 20px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Breitere Darstellung                                                 */
/* ------------------------------------------------------------------ */

@container sw24 (min-width: 620px) {
	.sw24-calc .sw24-choice--cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container sw24 (min-width: 620px) and (max-width: 899px) {
	.sw24-calc .sw24-choice--quad {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@container sw24 (min-width: 1200px) {
	.sw24-calc .sw24-choice--quad {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@container sw24 (min-width: 900px) {
	.sw24-calc .sw24-grid {
		grid-template-columns: minmax(0, 1fr) 350px;
		grid-template-areas:
			"steps sum"
			"send sum";
		align-items: start;
		gap: 16px 26px;
	}

	.sw24-calc .sw24-steps {
		grid-area: steps;
	}

	.sw24-calc .sw24-step--send {
		grid-area: send;
	}

	/* Preisübersicht und Shop-Hinweis laufen gemeinsam mit; bei wenig Bildschirmhöhe scrollbar */
	.sw24-calc .sw24-side {
		grid-area: sum;
		position: sticky;
		top: 16px;
		max-height: calc(100vh - 24px);
		margin: -6px -8px 0;
		padding: 6px 8px 14px;
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.sw24-calc .sw24-bar {
		display: none;
	}
}

@container sw24 (max-width: 440px) {
	.sw24-calc .sw24-step {
		padding: 14px 14px 16px;
	}

	.sw24-calc .sw24-choice--row .sw24-choice__opt {
		flex-basis: 100%;
		max-width: none;
	}

	.sw24-calc .sw24-size__times {
		display: none;
	}

	.sw24-calc .sw24-btn {
		width: 100%;
		padding-left: 16px;
		padding-right: 16px;
		font-size: 18px;
	}

	.sw24-calc .sw24-sum__total-value {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sw24-calc *,
	.sw24-calc *::before {
		transition: none !important;
		animation-duration: 1.6s !important;
	}
}

/* Vorschaufenster fuer Beispielbilder (liegt ausserhalb des Rechners direkt im body) */
.sw24-tip {
	position: fixed;
	z-index: 100000;
	box-sizing: border-box;
	width: 240px;
	margin: 0;
	padding: 6px;
	background: #fff;
	border: 2px solid #a8a8a8;
	border-radius: 6px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .3);
	font-family: Arial, Helvetica, sans-serif;
	pointer-events: none;
}

.sw24-tip[hidden] {
	display: none !important;
}

.sw24-tip__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #f9f9f9;
	border-radius: 4px;
}

.sw24-tip__caption {
	display: block;
	margin-top: 5px;
	color: #333;
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
}