.kltbst-sorte__art {
	margin: -0.5em 0 1.5em;
	font-size: 1.1em;
}

.kltbst-sorte__wiss {
	display: block;
	font-style: italic;
	opacity: 0.75;
}

/* Alternative Namen direkt unter der Art; Abstand nach oben fällt mit dem der Art zusammen. */
.kltbst-sorte__namen {
	margin: -1em 0 1.5em;
	font-size: 0.95em;
}

.kltbst-sorte__namen-label {
	display: block;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.6;
}

.kltbst-sorte__top {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	align-items: flex-start;
	margin-bottom: 1.5em;
}

.kltbst-sorte__galerie {
	flex: 1 1 320px;
	min-width: 0;
}

.kltbst-sorte__bild {
	margin: 0;
}

.kltbst-sorte__galerie .kltbst-sorte__bild img {
	touch-action: pan-y;
}

.kltbst-sorte__bild[hidden] {
	display: none;
}

.kltbst-sorte__bild figcaption {
	margin-top: 0.3em;
}

.kltbst-sorte__bildtitel {
	display: block;
	font-size: 0.85em;
}

.kltbst-sorte__galerie-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	margin-top: 0.5em;
}

.kltbst-sorte__galerie-btn {
	min-width: 2.5em;
	padding: 0.2em 0.6em;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
}

.kltbst-sorte__galerie-zaehler {
	font-size: 0.85em;
}

.kltbst-sorte__bild img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.kltbst-sorte__bildquelle {
	display: block;
	font-size: 0.75em;
	color: #999;
}

.kltbst-sorte__bildquelle a {
	color: inherit;
	text-decoration: none;
}

.kltbst-sorte__bildquelle a:hover {
	text-decoration: underline;
}

.kltbst-sorte__text ul {
	margin-left: 1.25em;
}

.kltbst-sorte__fakten {
	flex: 0 1 260px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.4em 1em;
	margin: 0;
	padding: 1em 1.25em;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.03);
}

.kltbst-sorte__fakten dt {
	font-weight: 600;
}

.kltbst-sorte__fakten dd {
	margin: 0;
}

.kltbst-sorte__text h3 {
	margin-top: 1.5em;
}

/* [kltbst_sorten_saison] – "Jetzt reif" auf anderen Seiten */
.kltbst-saison {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr));
	gap: 1.25em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kltbst-saison__sorte {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 16, 46, 0.08);
}

.kltbst-saison__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
	text-decoration: none;
}

.kltbst-saison__link img,
.kltbst-saison__ohne-bild {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #f4f5f7;
	transition: transform 0.3s ease;
}

.kltbst-saison__link:hover img {
	transform: scale(1.04);
}

.kltbst-saison__name {
	padding: 0.7em 0.9em 0;
	font-weight: 600;
	line-height: 1.25;
}

.kltbst-saison__link:hover .kltbst-saison__name {
	text-decoration: underline;
}

.kltbst-saison__info {
	padding: 0.2em 0.9em 0.8em;
	font-size: 0.85em;
	opacity: 0.75;
}

.kltbst-saison__nachweis {
	padding: 0 0.9em 0.7em;
	font-size: 0.68em;
	line-height: 1.3;
	color: #999;
}

.kltbst-saison__nachweis a {
	color: inherit;
}

/* Suchfeld über der Sortenliste */
.kltbst-sorten-suche {
	margin: 0 0 2em;
}

.kltbst-sorten-suche__label {
	display: block;
	margin-bottom: 0.4em;
	font-weight: 700;
}

.kltbst-sorten-suche input.kltbst-sorten-suche__feld {
	width: 100%;
	max-width: 560px;
	padding: 0.75em 1.1em;
	height: auto;
	border: 2px solid #1d1d1b;
	border-radius: 999px;
	background: #fff;
	color: #1d1d1b;
	font-size: 1.05rem;
}

.kltbst-sorten-suche input.kltbst-sorten-suche__feld:focus {
	border-color: #e61873;
	outline: none;
	box-shadow: 0 0 0 3px rgba(230, 24, 115, 0.25);
}

.kltbst-sorten-suche__arten {
	position: relative;
	display: inline-block;
	margin: 1em 0 0;
}

.kltbst-sorten-suche__arten summary {
	padding: 0.5em 1.1em;
	border: 2px solid #1d1d1b;
	border-radius: 999px;
	background: #fff;
	color: #1d1d1b;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.kltbst-sorten-suche__arten summary::-webkit-details-marker {
	display: none;
}

.kltbst-sorten-suche__arten summary::after {
	content: "▾";
	margin-left: 0.5em;
}

.kltbst-sorten-suche__arten[open] summary::after {
	content: "▴";
}

.kltbst-sorten-suche__arten summary:focus-visible {
	border-color: #e61873;
	outline: none;
	box-shadow: 0 0 0 3px rgba(230, 24, 115, 0.25);
}

.kltbst-sorten-suche__auswahl {
	font-weight: 700;
}

.kltbst-sorten-suche__menue {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.3em);
	left: 0;
	min-width: 16em;
	max-width: calc(100vw - 2em);
	max-height: 60vh;
	overflow-y: auto;
	padding: 0.6em 1em 0.8em;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
	color: #1d1d1b;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.kltbst-sorten-suche__knoepfe {
	display: flex;
	gap: 1em;
	margin: 0 0 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #eee;
}

.kltbst-sorten-suche__art {
	display: flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.25em 0;
	cursor: pointer;
	white-space: nowrap;
}

.kltbst-sorten-suche__art input {
	margin: 0;
	accent-color: #e61873;
}

.kltbst-sorten-suche__anzahl {
	color: #777;
	font-size: 0.85em;
}

.kltbst-sorten-suche__knoepfe button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}

.kltbst-sorten-suche__info {
	margin: 0.5em 0 0;
	font-size: 0.9em;
	opacity: 0.75;
}

.kltbst-sorten-gruppe[hidden],
.kltbst-sorten-liste li[hidden] {
	display: none;
}

/*
 * Alternative Namen hinter dem Sortennamen, grau und kursiv. Zu lange Listen
 * werden mit … gekürzt, auf schmalen Bildschirmen früher; der volle Text steht im title.
 */
.kltbst-sorten-liste__alt {
	display: inline-block;
	margin-left: 0.3em;
	color: #888;
	font-style: italic;
	font-weight: 400;
	white-space: nowrap;
}

.kltbst-sorten-liste__alt-text {
	display: inline-block;
	max-width: 50ch;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
}

@media (max-width: 1024px) {
	.kltbst-sorten-liste__alt-text {
		max-width: 32ch;
	}
}

@media (max-width: 600px) {
	.kltbst-sorten-liste__alt-text {
		max-width: 16ch;
	}
}
