/*
 * Angebotskarten auf der Profilseite ([sichtwechsel_angebote],
 * includes/angebotskarten.php). Auftrag „Angebotskarten auf dem Profil"
 * V1, 26.11.2026. Werte aus dem Entwurf
 * (knowledge-base/claude/entwurf-profil-angebote/angebote-karten.entwurf.html).
 *
 * Nur auf Profilseiten geladen. Schriften der Website: Fliesstext erbt
 * (Outfit), Titel und Preis in der Überschriften-Schrift (Young Serif).
 */

.sw-angebote {
	--sw-ak-text: #283f1a;
	--sw-ak-leise: #4b5843;
	--sw-ak-fuss: #5d6b52;
	--sw-ak-gruen: #3c4c24;
	--sw-ak-hell: #fbfaf5;
	--sw-ak-beige: #f1eee6;
	--sw-ak-spar: #e6ecdc;
	--sw-ak-linie: #eceae9;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
	max-width: 1104px;
	margin: 0 auto;
	color: var(--sw-ak-text);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.5;
}

.sw-angebote__karte {
	flex: 1 1 340px;
	max-width: 540px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: 26px;
	background: #ffffff;
}

.sw-angebote__etikett {
	align-self: flex-start;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--sw-ak-beige);
	font-size: 14px;
	font-weight: 500;
}

.sw-angebote__kopf {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sw-angebote__titel {
	margin: 0;
	font-family: 'Young Serif', serif;
	font-weight: 400;
	font-size: clamp(24px, 2.4vw, 28px);
	line-height: 1.2;
	color: var(--sw-ak-text);
}

.sw-angebote__passt {
	margin: 0;
	color: var(--sw-ak-leise);
	font-weight: 400;
}

.sw-angebote__eckdaten {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 16px;
	font-weight: 400;
	color: var(--sw-ak-leise);
}

.sw-angebote__eckdaten span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sw-angebote__bekommst {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--sw-ak-linie);
}

.sw-angebote__bekommst-titel {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}

.sw-angebote__punkte {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sw-angebote__punkt {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
}

.sw-angebote__haken {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--sw-ak-gruen);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sw-angebote__preisblock {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	padding-top: 8px;
}

.sw-angebote__preiszeile {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.sw-angebote__preis {
	margin: 0;
	font-family: 'Young Serif', serif;
	font-size: 44px;
	line-height: 1.1;
}

.sw-angebote__sparen {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--sw-ak-spar);
	font-size: 15px;
	font-weight: 500;
}

.sw-angebote__preishinweis {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--sw-ak-fuss);
}

/* Beide Knöpfe gleich stark (Regel 6). */
.sw-angebote__knopf {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--sw-ak-gruen);
	color: var(--sw-ak-hell);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.sw-angebote__knopf:hover,
.sw-angebote__knopf:focus-visible {
	background: var(--sw-ak-text);
	color: var(--sw-ak-hell);
}

.sw-angebote__knopf:focus-visible,
.sw-angebote__wahl:focus-visible {
	outline: 2px solid var(--sw-ak-text);
	outline-offset: 3px;
}

.sw-angebote__fussnote {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--sw-ak-fuss);
	text-align: center;
}

/* Umschalter 5/10 (Regel 5). */
.sw-angebote__umschalter {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border-radius: 16px;
	background: var(--sw-ak-beige);
}

.sw-angebote__wahl {
	min-height: 48px;
	padding: 8px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--sw-ak-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	cursor: pointer;
}

.sw-angebote__wahl[aria-pressed='true'] {
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(40, 63, 26, 0.14);
}

.sw-angebote__paketteil {
	display: flex;
	flex-direction: column;
	gap: 18px;
	flex: 1 1 auto;
}

.sw-angebote__paketteil[hidden] {
	display: none;
}

/* Admin-Vorschau. */
.sw-angebote-vorschau {
	margin: 0 0 48px;
}

.sw-angebote-vorschau__titel {
	margin: 0 0 12px;
	font-size: 14px;
}

@media (max-width: 720px) {
	.sw-angebote__karte {
		flex-basis: 100%;
		max-width: none;
	}
}
