.sch-tabelle-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.sch-results-table {
	width: min(100%, 720px);
	margin: 32px auto 0;
	text-align: center;
}

body.page-id-325 .sch-tab[data-tab="tabelle"] {
	display: none !important;
}

body.page-id-325 .sch-tabs,
.sch-tabs.sch-tabs--table-only {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-id-325 .wp-site-blocks .sch-tabs {
	width: min(100%, 540px) !important;
	max-width: calc(100vw - 32px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.page-id-325 .sch-tabs.sch-tabs--table-only {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-id-325 #sch-section-ergebnisse.is-active {
	display: flex;
	justify-content: center;
}

.sch-results-table .sch-tabelle-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
	justify-content: center;
	margin-right: auto;
	margin-left: auto;
}

.sch-tabelle-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 16px;
	background: #0d1a2e;
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	border: 2px solid transparent;
	transition: border-color .2s, transform .15s;
	text-align: center;
}

.sch-tabelle-card:hover {
	border-color: #c8a84b;
	transform: translateY(-2px);
	color: #c8a84b;
	text-decoration: none;
}

.sch-tabelle-card__icon {
	font-size: 1.6rem;
	opacity: .7;
}

.sch-tabelle-card__name {
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.3;
}

.sch-tabelle-card__hint {
	font-size: .75rem;
	opacity: .6;
}

.sch-tabelle-list {
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.sch-tabelle-list__item {
	border-bottom: 1px solid #e5e5e5;
}

.sch-tabelle-list__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 8px;
	color: #0d1a2e;
	text-decoration: none;
	font-weight: 600;
	transition: color .2s;
}

.sch-tabelle-list__link:hover {
	color: #c8a84b;
	text-decoration: none;
}

.sch-tabelle-list__arrow {
	font-size: 1.1rem;
}

.sch-tabelle-card[hidden],
.sch-tabelle-list__item[hidden],
.sch-tabelle-empty[hidden] {
	display: none !important;
}

.sch-tabelle-empty {
	margin: 16px 0 0;
	color: #6b7280;
	font-weight: 600;
	text-align: center;
}

@media (max-width: 600px) {
	.sch-tabelle-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.sch-tabelle-card { padding: 16px 12px; }
	.sch-tabelle-card__icon { font-size: 1.3rem; }
	.sch-tabelle-card__name { font-size: .88rem; }
}

@media (max-width: 420px) {
	body.page-id-325 .sch-tabs,
	.sch-tabs.sch-tabs--table-only,
	body.page-id-325 .sch-tabs.sch-tabs--table-only {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 360px) {
	body.page-id-325 .sch-tabs,
	.sch-tabs.sch-tabs--table-only,
	body.page-id-325 .sch-tabs.sch-tabs--table-only,
	.sch-tabelle-grid { grid-template-columns: 1fr; }
}
