/* Partner & Kooperationen je Standort (inc/partner-seite.php). Nie die Kit-Klasse .btn verwenden. */

.nxp-raster,
.nxp-angebote {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
	gap: 20px;
	margin-top: 24px;
}

/* Karten (immer heller Grund, auch im dunklen Abschnitt) */
.nxp-karte, .nxp-angebot {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: 14px;
	background: #fff;
	color: #1b242f;
	box-shadow: 0 6px 22px rgba(17, 22, 29, .08);
	overflow: hidden;
}
.nxs--weiss .nxp-karte, .nxs--weiss .nxp-angebot { background: var(--nxs-light); box-shadow: none; }

.nxp-karte__bild { position: relative; aspect-ratio: 16 / 10; background: var(--nxs-line); }
.nxp-karte__bild > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nxp-karte__logo {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: flex;
	padding: 6px 10px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(17, 22, 29, .18);
}
.nxp-karte__logo img { display: block; max-width: 110px; max-height: 40px; object-fit: contain; }
.nxp-karte__nurlogo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid var(--nxs-line);
}
.nxp-karte__nurlogo img { display: block; max-width: 70%; max-height: 80px; object-fit: contain; }

.nxp-karte__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.nxp-karte__kat { margin: 0; color: #00539f; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nxs .nxp-karte__name { margin: 0; color: #11161d; font-size: 1.2rem; line-height: 1.25; }
.nxp-karte__text { margin: 0; color: #3d4c5c; font-size: .97rem; line-height: 1.5; }
.nxp-karte__mehr { font-size: .95rem; color: #3d4c5c; }
.nxp-karte__mehr summary { cursor: pointer; color: #00539f; font-weight: 600; }
.nxp-karte__mehr p { margin: 8px 0 0; line-height: 1.5; }
.nxp-karte__fakten { margin: 0; padding: 0; list-style: none; color: #556e83; font-size: .9rem; line-height: 1.45; }
.nxp-karte__link { margin-top: auto; align-self: flex-start; }
.nxp-karte__body > :nth-last-child(2) { margin-bottom: 6px; }

/* Kooperationen */
.nxp-angebot { gap: 8px; padding: 20px; }
.nxp-angebot__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; }
.nxp-art {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 999px;
	background: #e1f0ff;
	color: #00539f;
	font-size: .8rem;
	font-weight: 700;
}
.nxp-art--kombiticket { background: #00539f; color: #fff; }
.nxp-art--event { background: #11161d; color: #fff; }
.nxp-art--vorteil { background: #e3f7ea; color: #14622f; }
.nxp-angebot__zeit { color: #556e83; font-size: .88rem; }
.nxs .nxp-angebot__titel { margin: 4px 0 0; color: #11161d; font-size: 1.25rem; line-height: 1.25; }
.nxp-angebot__wer { margin: 0; color: #556e83; font-size: .93rem; }
.nxp-angebot__text { margin: 0; color: #3d4c5c; font-size: .97rem; line-height: 1.5; }
.nxp-angebot__preis { margin: 0; color: #11161d; font-weight: 700; }
.nxp-angebot__link { margin-top: auto; align-self: flex-start; }
.nxp-angebot > :nth-last-child(2) { margin-bottom: 8px; }
.nxp-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #556e83; font-size: .9rem; }
.nxp-code code {
	padding: 3px 9px;
	border: 1px dashed #8aa2b8;
	border-radius: 6px;
	background: #fff;
	color: #11161d;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .03em;
	overflow-wrap: anywhere;
}
.nxs .nxp-code__kopie {
	padding: 2px 8px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #00539f;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
.nxs .nxp-code__kopie:hover, .nxs .nxp-code__kopie:focus-visible { background: #e1f0ff; color: #00539f; }

/* Kategorien */
.nxp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nxs .nxp-chip {
	padding: 8px 16px;
	border: 1px solid var(--nxs-line);
	border-radius: 999px;
	background: #fff;
	color: #1b242f;
	font: inherit;
	font-size: .93rem;
	cursor: pointer;
}
.nxs .nxp-chip:hover, .nxs .nxp-chip:focus-visible { border-color: #0068c9; background: #fff; color: #00539f; }
.nxs .nxp-chip.is-aktiv, .nxs .nxp-chip.is-aktiv:hover { border-color: #0068c9; background: #0068c9; color: #fff; }
.nxp-gruppe { margin-top: 32px; }
.nxp-gruppe[hidden] { display: none; }
.nxs .nxp-gruppe__titel { margin: 0; font-size: 1.35rem; }
.nxp-gruppe .nxp-raster { margin-top: 14px; }
.nxp-alle { margin: 26px 0 0; text-align: center; }
