/* Tierlando Ersatzbezug-Konfigurator. Farben folgen den globalen Elementor-Farben des Shops. */

.teb-app,
.teb-hinweis,
.teb-teaser {
	--teb-akzent: var(--e-global-color-accent, var(--e-global-color-primary, #3f6f5a));
	--teb-akzent-text: #fff;
	--teb-text: var(--e-global-color-text, #2b2b2b);
	--teb-grau: #6f6a63;
	--teb-rand: #e4dfd7;
	--teb-flaeche: #f8f6f2;
	--teb-weiss: #fff;
	--teb-fehler: #b3261e;
	--teb-erfolg: #2f6b3b;
	--teb-radius: 12px;
	--teb-schatten: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 14px rgba(0, 0, 0, .05);
	color: var(--teb-text);
	box-sizing: border-box;
}

.teb-app *,
.teb-app *::before,
.teb-app *::after,
.teb-hinweis *,
.teb-hinweis *::before,
.teb-hinweis *::after,
.teb-teaser *,
.teb-teaser *::before,
.teb-teaser *::after {
	box-sizing: border-box;
}

.teb-app {
	max-width: 1100px;
	margin: 0 auto 40px;
	font-size: 16px;
	line-height: 1.5;
}

.teb-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Grundbausteine: Knöpfe neutralisieren, damit Theme-Stile nicht durchschlagen */
.teb-app button,
.teb-hinweis .teb-knopf,
.teb-teaser .teb-knopf {
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.3;
	box-shadow: none;
	cursor: pointer;
	/* Das Theme setzt bei Buttons "nowrap": in Kacheln, Größen und Farben muss Text umbrechen. */
	white-space: normal;
	overflow-wrap: break-word;
	height: auto;
}

.teb-app .teb-knopf,
.teb-hinweis .teb-knopf,
.teb-teaser .teb-knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid var(--teb-akzent);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: background-color .15s, color .15s, transform .1s;
}

.teb-app .teb-knopf--primaer,
.teb-hinweis .teb-knopf--primaer,
.teb-teaser .teb-knopf--primaer {
	background: var(--teb-akzent);
	color: var(--teb-akzent-text);
}

.teb-app .teb-knopf--primaer:hover,
.teb-hinweis .teb-knopf--primaer:hover,
.teb-teaser .teb-knopf--primaer:hover {
	filter: brightness(1.08);
	color: var(--teb-akzent-text);
}

.teb-app .teb-knopf--zweit {
	background: var(--teb-weiss);
	color: var(--teb-akzent);
}

.teb-app .teb-knopf--zweit:hover {
	background: var(--teb-flaeche);
	color: var(--teb-akzent);
}

.teb-app .teb-knopf--zurueck {
	background: transparent;
	color: var(--teb-grau);
	border-color: transparent;
	padding-left: 6px;
	padding-right: 6px;
}

.teb-app .teb-knopf--zurueck::before {
	content: "‹";
	font-size: 22px;
	line-height: 1;
}

.teb-app .teb-knopf--zurueck:hover {
	color: var(--teb-text);
	background: transparent;
}

.teb-app .teb-knopf--breit {
	width: 100%;
	margin: 8px 0 20px;
	border-style: dashed;
}

.teb-app .teb-knopf:disabled {
	opacity: .55;
	cursor: wait;
}

.teb-app .teb-knopf:active {
	transform: translateY(1px);
}

.teb-app .teb-link {
	background: none;
	border: 0;
	padding: 4px 0;
	color: var(--teb-akzent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.teb-app .teb-link--gefahr {
	color: var(--teb-fehler);
}

.teb-app :focus-visible,
.teb-hinweis :focus-visible {
	outline: 3px solid var(--teb-akzent);
	outline-offset: 2px;
}

.teb-app .teb-titel {
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.25;
	margin: 8px 0 12px;
	outline: none;
}

.teb-app .teb-untertitel {
	font-size: 18px;
	margin: 28px 0 10px;
}

.teb-app .teb-intro {
	font-size: 17px;
	color: var(--teb-grau);
	margin: 0 0 8px;
	max-width: 760px;
}

.teb-app .teb-hilfe,
.teb-app .teb-klein {
	color: var(--teb-grau);
	margin: 0 0 16px;
}

.teb-app .teb-klein {
	font-size: 13px;
}

.teb-app .teb-pflicht {
	color: var(--teb-fehler);
}

.teb-app .teb-vorschau {
	background: #fff4d6;
	border: 1px solid #f0d58a;
	color: #6a5200;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	margin-bottom: 12px;
}

.teb-laden {
	padding: 40px 0;
	color: #6f6a63;
	display: flex;
	align-items: center;
	gap: 10px;
}

.teb-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #e4dfd7;
	border-top-color: #6f6a63;
	border-radius: 50%;
	animation: teb-dreh .8s linear infinite;
}

@keyframes teb-dreh {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Fortschritt */
.teb-app .teb-fortschritt {
	display: flex;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	gap: 6px;
	counter-reset: none;
}

.teb-app .teb-fortschritt li {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	padding: 10px 0 0;
	border-top: 4px solid var(--teb-rand);
	color: var(--teb-grau);
	font-size: 14px;
}

.teb-app .teb-fortschritt li.ist-fertig {
	border-top-color: var(--teb-akzent);
}

.teb-app .teb-fortschritt li.ist-aktiv {
	border-top-color: var(--teb-akzent);
	color: var(--teb-text);
	font-weight: 600;
}

.teb-app .teb-fortschritt__nr {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--teb-flaeche);
	font-size: 13px;
	font-weight: 700;
}

.teb-app .ist-fertig .teb-fortschritt__nr,
.teb-app .ist-aktiv .teb-fortschritt__nr {
	background: var(--teb-akzent);
	color: var(--teb-akzent-text);
}

@media (max-width: 560px) {
	.teb-app .teb-fortschritt__text {
		display: none;
	}

	.teb-app .teb-fortschritt li.ist-aktiv .teb-fortschritt__text {
		display: inline;
	}
}

/* ---------- Schritt 1: Suche, Nummern, Kategorien, Karten */
.teb-app .teb-suche input {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px 12px 46px;
	border: 1px solid var(--teb-rand);
	border-radius: 999px;
	background: var(--teb-weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236f6a63' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
	font-size: 16px;
}

.teb-app .teb-nummern {
	margin: 12px 0 16px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-flaeche);
}

.teb-app .teb-nummern summary {
	cursor: pointer;
	padding: 12px 16px;
	font-weight: 600;
}

.teb-app .teb-nummern__raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	padding: 0 16px 16px;
}

.teb-app .teb-nummern__form {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.teb-app .teb-nummern__form label {
	font-weight: 600;
}

.teb-app .teb-nummern__form small {
	color: var(--teb-grau);
}

.teb-app .teb-nummern [data-bereich="nummern-meldung"] {
	padding: 0 16px;
}

.teb-app .teb-zeile {
	display: flex;
	gap: 8px;
}

.teb-app .teb-zeile input {
	flex: 1;
	min-width: 0;
}

.teb-app .teb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 16px;
}

.teb-app .teb-chip {
	border: 1px solid var(--teb-rand);
	background: var(--teb-weiss);
	color: var(--teb-text);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	min-height: 38px;
}

.teb-app .teb-chip.ist-aktiv,
.teb-app .teb-chip:hover {
	border-color: var(--teb-akzent);
	color: var(--teb-akzent);
	background: var(--teb-weiss);
}

.teb-app .teb-chip.ist-aktiv {
	background: var(--teb-akzent);
	color: var(--teb-akzent-text);
}

.teb-app .teb-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.teb-app .teb-karte {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	gap: 4px;
	padding: 10px 10px 14px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-weiss);
	color: var(--teb-text);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}

.teb-app .teb-karte:hover {
	border-color: var(--teb-akzent);
	box-shadow: var(--teb-schatten);
	transform: translateY(-2px);
	background: var(--teb-weiss);
	color: var(--teb-text);
}

.teb-app .teb-karte.ist-gewaehlt {
	border: 2px solid var(--teb-akzent);
}

.teb-app .teb-karte__bild {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: var(--teb-flaeche);
	margin-bottom: 6px;
}

.teb-app .teb-karte__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.teb-app .teb-karte__bild--symbol {
	display: grid;
	place-items: center;
	font-size: 48px;
	font-weight: 700;
	color: var(--teb-grau);
}

.teb-app .teb-karte,
.teb-app .teb-option,
.teb-app .teb-farbe {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.teb-app .teb-karte > span,
.teb-app .teb-option > span,
.teb-app .teb-farbe > span {
	white-space: normal;
	max-width: 100%;
}

.teb-app .teb-karte__name {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: .02em;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.teb-app .teb-karte__sub {
	font-size: 13px;
	color: var(--teb-grau);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.teb-app .teb-karte__preis {
	margin-top: auto;
	padding-top: 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--teb-akzent);
}

.teb-app .teb-karte__preis small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--teb-grau);
}

.teb-app .teb-karte--anderes {
	border-style: dashed;
}

.teb-app .teb-leer {
	grid-column: 1 / -1;
	color: var(--teb-grau);
	margin: 0;
}

/* ---------- Gewähltes Bett */
.teb-app .teb-gewaehlt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: var(--teb-radius);
	background: var(--teb-flaeche);
	margin-bottom: 8px;
}

.teb-app .teb-gewaehlt > div {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.teb-app .teb-gewaehlt span {
	font-size: 14px;
	color: var(--teb-grau);
}

.teb-app .teb-gewaehlt__bild {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	flex: none;
	background: var(--teb-weiss);
}

.teb-app .teb-gewaehlt__bild--leer {
	display: grid;
	place-items: center;
	font-weight: 700;
	color: var(--teb-grau);
}

/* ---------- Schritt 2: Größen */
.teb-app .teb-optionen {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.teb-app .teb-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 2px;
	padding: 16px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-weiss);
	color: var(--teb-text);
}

.teb-app .teb-option:hover {
	border-color: var(--teb-akzent);
	background: var(--teb-weiss);
	color: var(--teb-text);
}

.teb-app .teb-option.ist-gewaehlt {
	border: 2px solid var(--teb-akzent);
	background: var(--teb-flaeche);
}

.teb-app .teb-option__titel {
	font-size: 18px;
	font-weight: 700;
}

.teb-app .teb-option__code {
	font-size: 12px;
	color: var(--teb-grau);
	letter-spacing: .04em;
}

.teb-app .teb-option__preis {
	margin-top: 6px;
	font-weight: 600;
	color: var(--teb-akzent);
}

/* ---------- Schritt 3: Teile */
.teb-app .teb-teile {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.teb-app .teb-teil {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-weiss);
	cursor: pointer;
	margin: 0;
}

.teb-app .teb-teil.ist-gewaehlt {
	border: 2px solid var(--teb-akzent);
	background: var(--teb-flaeche);
}

.teb-app .teb-teil.ist-enthalten {
	opacity: .6;
}

.teb-app .teb-teil input[type="checkbox"],
.teb-app .teb-radio input,
.teb-app .teb-bestaetigung input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--teb-akzent);
}

.teb-app .teb-teil__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0;
	float: none;
}

.teb-app .teb-teil__text small {
	color: var(--teb-grau);
	font-size: 14px;
}

.teb-app .teb-teil__preis {
	font-weight: 700;
	white-space: nowrap;
	margin-left: auto;
}

.teb-app .teb-teil--gruppe {
	flex-direction: column;
	cursor: default;
	min-width: 0;
}

.teb-app .teb-teil--gruppe legend {
	float: left;
	width: 100%;
	margin-bottom: 6px;
}

.teb-app .teb-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 6px 0;
	cursor: pointer;
	margin: 0;
}

.teb-app .teb-radio small {
	color: var(--teb-grau);
}

.teb-app .teb-menge {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 8px;
	font-weight: 600;
}

.teb-app .teb-menge small {
	font-weight: 400;
	color: var(--teb-grau);
	flex-basis: 100%;
}

.teb-app .teb-menge output {
	min-width: 28px;
	text-align: center;
	font-size: 18px;
}

.teb-app .teb-menge__knopf {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--teb-rand);
	background: var(--teb-weiss);
	color: var(--teb-text);
	font-size: 20px;
	padding: 0;
	display: inline-grid;
	place-items: center;
}

.teb-app .teb-menge__knopf:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.teb-app .teb-hinweise {
	list-style: none;
	margin: 20px 0;
	padding: 14px 16px;
	border-left: 4px solid var(--teb-akzent);
	background: var(--teb-flaeche);
	border-radius: 0 var(--teb-radius) var(--teb-radius) 0;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.teb-app .teb-hinweise li {
	margin: 0;
}

/* ---------- Schritt 4: Farben */
.teb-app .teb-farben {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 12px;
}

.teb-app .teb-farbe {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 8px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-weiss);
	color: var(--teb-text);
}

.teb-app .teb-farbe:hover {
	border-color: var(--teb-akzent);
	background: var(--teb-weiss);
	color: var(--teb-text);
}

.teb-app .teb-farbe.ist-gewaehlt {
	border: 2px solid var(--teb-akzent);
	background: var(--teb-flaeche);
}

.teb-app .teb-farbe__muster {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.teb-app .teb-farbe.ist-gewaehlt .teb-farbe__muster {
	box-shadow: 0 0 0 3px var(--teb-weiss), 0 0 0 5px var(--teb-akzent);
}

.teb-app .teb-farbe__name {
	font-size: 14px;
	text-align: center;
	line-height: 1.3;
}

/* ---------- Übersicht */
.teb-app .teb-positionen {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 12px;
}

.teb-app .teb-pos {
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	padding: 14px 16px;
	background: var(--teb-weiss);
}

.teb-app .teb-pos__kopf {
	display: flex;
	gap: 12px;
	align-items: center;
}

.teb-app .teb-pos__kopf > div {
	display: flex;
	flex-direction: column;
}

.teb-app .teb-pos__kopf span {
	color: var(--teb-grau);
	font-size: 14px;
}

.teb-app .teb-pos__bild img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.teb-app .teb-pos__zeilen {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.teb-app .teb-pos__zeilen li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-top: 1px solid var(--teb-rand);
	margin: 0;
	font-size: 15px;
}

.teb-app .teb-pos__zeilen li span:last-child {
	white-space: nowrap;
	font-weight: 600;
}

.teb-app .teb-pos__aktionen {
	display: flex;
	gap: 18px;
	margin-top: 6px;
}

.teb-app .teb-summe {
	margin: 12px 0 4px;
	padding: 14px 16px;
	background: var(--teb-flaeche);
	border-radius: var(--teb-radius);
}

.teb-app .teb-summe div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
}

.teb-app .teb-summe dt,
.teb-app .teb-summe dd {
	margin: 0;
	font-weight: 400;
}

.teb-app .teb-summe__rabatt dd {
	color: var(--teb-erfolg);
}

.teb-app .teb-summe__gesamt {
	border-top: 1px solid var(--teb-rand);
	margin-top: 6px;
	padding-top: 8px !important;
	font-size: 19px;
}

.teb-app .teb-summe__gesamt dt,
.teb-app .teb-summe__gesamt dd {
	font-weight: 700;
}

.teb-app .teb-kurzliste {
	margin-bottom: 16px;
}

.teb-app .teb-kurzliste summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 8px;
}

/* ---------- Formular */
.teb-app .teb-formular fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
	min-width: 0;
}

.teb-app .teb-formular legend {
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 10px;
	padding: 0;
}

.teb-app .teb-felder {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px 14px;
}

.teb-app .teb-feld {
	display: flex;
	flex-direction: column;
	gap: 4px;
	grid-column: span 6;
	margin-bottom: 12px;
}

.teb-app .teb-felder .teb-feld {
	margin-bottom: 0;
}

.teb-app .teb-feld--halb {
	grid-column: span 3;
}

.teb-app .teb-feld--gross {
	grid-column: span 4;
}

.teb-app .teb-feld--klein {
	grid-column: span 2;
}

.teb-app .teb-feld label {
	font-weight: 600;
	font-size: 14px;
}

.teb-app .teb-feld small {
	color: var(--teb-grau);
	font-weight: 400;
}

.teb-app input[type="text"],
.teb-app input[type="email"],
.teb-app input[type="search"],
.teb-app input[type="file"],
.teb-app select,
.teb-app textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cfc9bf;
	border-radius: 8px;
	background-color: var(--teb-weiss);
	color: var(--teb-text);
	font: inherit;
	font-size: 16px;
}

.teb-app .teb-suche input[type="search"] {
	border-radius: 999px;
	padding-left: 46px;
	border-color: var(--teb-rand);
}

.teb-app textarea {
	min-height: 90px;
	resize: vertical;
}

.teb-app [aria-invalid="true"] {
	border-color: var(--teb-fehler) !important;
}

.teb-app .teb-fotos {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.teb-app .teb-fotos li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid var(--teb-rand);
	margin: 0;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.teb-app .teb-bestaetigung {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	margin: 10px 0;
	cursor: pointer;
}

.teb-app .teb-falle {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.teb-app .teb-feld--halb,
	.teb-app .teb-feld--gross,
	.teb-app .teb-feld--klein {
		grid-column: span 6;
	}
}

/* ---------- Navigation, Meldungen, Danke */
.teb-app .teb-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 24px 0 8px;
	flex-wrap: wrap;
}

.teb-app .teb-nav--ende {
	justify-content: flex-end;
}

.teb-app .teb-nav--mitte {
	justify-content: center;
}

.teb-app .teb-meldung {
	border-radius: 8px;
	padding: 10px 14px;
	margin: 10px 0;
	font-size: 15px;
}

.teb-app .teb-meldung--fehler {
	background: #fdecea;
	color: var(--teb-fehler);
	border: 1px solid #f5c2bd;
}

.teb-app .teb-meldung--erfolg {
	background: #eaf4ec;
	color: var(--teb-erfolg);
	border: 1px solid #c3dfc9;
}

.teb-app .teb-meldung--info {
	background: var(--teb-flaeche);
	border: 1px solid var(--teb-rand);
}

.teb-app .teb-danke {
	text-align: center;
	max-width: 640px;
	margin: 20px auto;
}

.teb-app .teb-danke__haken {
	width: 72px;
	height: 72px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--teb-akzent);
	color: var(--teb-akzent-text);
	display: grid;
	place-items: center;
	font-size: 36px;
}

/* ---------- Preisleiste */
.teb-app .teb-leiste {
	position: sticky;
	bottom: 0;
	z-index: 20;
	margin-top: 24px;
}

.teb-app .teb-leiste:empty {
	display: none;
}

.teb-app .teb-leiste__innen {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--teb-weiss);
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius) var(--teb-radius) 0 0;
	box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
}

.teb-app .teb-leiste__links,
.teb-app .teb-leiste__rechts {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.teb-app .teb-leiste__rechts {
	align-items: flex-end;
	text-align: right;
}

.teb-app .teb-leiste__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--teb-grau);
}

.teb-app .teb-leiste__text {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.teb-app .teb-leiste__preis {
	font-size: 22px;
	font-weight: 800;
	white-space: nowrap;
}

.teb-app .teb-leiste__klein {
	font-size: 12px;
	color: var(--teb-grau);
}

/* ---------- Abschnitt auf der Produktseite und Hinweis auf der Kontaktseite */
.teb-hinweis {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin: 28px 0;
	padding: 20px 22px;
	border-radius: 14px;
	background: #f8f6f2;
	border: 1px solid #e4dfd7;
}

.teb-hinweis__icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--teb-akzent);
}

.teb-hinweis__text p {
	margin: 0 0 10px;
}

.teb-hinweis .teb-hinweis__titel {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.3;
}

.teb-hinweis__klein {
	font-size: 14px;
	color: #6f6a63;
}

.teb-hinweis .teb-knopf {
	margin-top: 4px;
}

@media (max-width: 560px) {
	.teb-hinweis {
		flex-direction: column;
		padding: 18px;
	}

	.teb-app .teb-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.teb-app .teb-nav .teb-knopf--primaer {
		flex: 1;
	}

	.teb-app .teb-leiste__preis {
		font-size: 19px;
	}
}

/* ---------- Hinweis-Block auf der Startseite */
.teb-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 40px;
	margin: 36px 0;
	padding: 32px 40px;
	border-radius: 18px;
	background: #f8f6f2;
	border: 1px solid #e4dfd7;
	color: var(--teb-text);
}

.teb-teaser .teb-teaser__dach {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--teb-akzent);
}

.teb-teaser .teb-teaser__titel {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.2;
}

.teb-teaser .teb-teaser__beschreibung {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.55;
	max-width: 640px;
}

.teb-teaser__aktion {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.teb-teaser__preis {
	font-size: 15px;
	color: #6f6a63;
}

.teb-teaser__preis strong {
	color: var(--teb-text);
	font-size: 18px;
}

.teb-teaser__bild {
	display: flex;
	justify-content: center;
}

.teb-teaser__bild img {
	width: 100%;
	max-width: 320px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 14px;
	background: #fff;
	display: block;
}

@media (max-width: 767px) {
	.teb-teaser {
		grid-template-columns: 1fr;
		padding: 24px 20px;
		margin: 24px 0;
	}

	.teb-teaser__bild {
		order: -1;
	}

	.teb-teaser__bild img {
		max-width: 200px;
	}

	.teb-teaser .teb-knopf {
		width: 100%;
	}
}

/* ---------- Direktkauf und Anfrage */
.teb-app .teb-marke {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: normal;
	vertical-align: middle;
}

.teb-app .teb-marke--anfrage {
	background: #f3ece1;
	color: #7a5a2b;
	border: 1px solid #e6d7bf;
}

.teb-app .teb-karte > .teb-marke {
	align-self: flex-start;
	margin: 0 0 2px;
}

.teb-app .teb-karte--alt .teb-karte__bild img {
	filter: grayscale(.35);
}

.teb-app .teb-gewaehlt .teb-marke {
	margin-top: 4px;
	align-self: flex-start;
}

.teb-app .teb-option--anders {
	border-style: dashed;
}

.teb-app .teb-option--anders .teb-option__titel {
	font-size: 16px;
}

.teb-app .teb-option--anders .teb-option__preis {
	color: var(--teb-grau);
	font-weight: 500;
}

.teb-app .teb-feld--anders {
	margin-top: 16px;
	max-width: 520px;
}

.teb-app .teb-feld--anders small {
	display: block;
	margin-top: 4px;
	color: var(--teb-grau);
}

.teb-app .teb-farbe--anders {
	border-style: dashed;
}

.teb-app .teb-farbe__muster--anders {
	display: grid;
	place-items: center;
	background: var(--teb-flaeche);
	font-size: 24px;
	font-weight: 700;
	color: var(--teb-grau);
}

.teb-app .teb-pos__zeilen .teb-marke {
	margin-left: 6px;
}

.teb-app .teb-abschluss {
	margin-top: 24px;
	padding: 18px 18px 6px;
	border: 1px solid var(--teb-rand);
	border-radius: var(--teb-radius);
	background: var(--teb-weiss);
}

.teb-app .teb-abschluss + .teb-abschluss {
	margin-top: 16px;
}

.teb-app .teb-abschluss .teb-untertitel {
	margin-top: 0;
}

.teb-app .teb-meldung__link {
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

/* ---------- Zeilenabstände gegen Vorgaben des Themes absichern */
.teb-app .teb-teil__text strong {
	line-height: 1.3;
}

.teb-app small,
.teb-app .teb-teil__text small {
	line-height: 1.4;
}

.teb-app label,
.teb-app legend {
	line-height: 1.4;
}

.teb-app .teb-leiste__text {
	white-space: normal;
	text-overflow: clip;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
	.teb-app *,
	.teb-hinweis *,
	.teb-teaser * {
		transition: none !important;
		animation: none !important;
	}
}
