.sv2026-course-list .sv2026-table,
.sv2026-partner-search {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

.sv2026-table th,
.sv2026-table td {
	border: 1px solid #ddd;
	padding: 0.6em 0.8em;
	text-align: left;
	vertical-align: top;
}

.sv2026-table th {
	background: #f5f5f5;
}

.sv2026-form p {
	margin-bottom: 0.8em;
}

.sv2026-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.2em;
}

.sv2026-form input[type="text"],
.sv2026-form input[type="email"],
.sv2026-form select,
.sv2026-form textarea {
	width: 100%;
	max-width: 480px;
	padding: 0.5em;
	box-sizing: border-box;
}

.sv2026-notice {
	padding: 1em 1.2em;
	margin-bottom: 1.5em;
	border-left: 4px solid #999;
}

.sv2026-notice-success {
	border-color: #2e7d32;
	background: #eaf6ea;
}

.sv2026-notice-error {
	border-color: #c62828;
	background: #fbeaea;
}

.sv2026-button {
	display: inline-block;
	padding: 0.5em 1em;
	background: #861f3f;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
}

.sv2026-partner-entry {
	border-bottom: 1px solid #eee;
	padding: 1em 0;
}

/* Grundsaetzlich alles auf schmalen Screens nie breiter als der Viewport. */
.sv2026-course-list,
.sv2026-partner-search,
.sv2026-registration,
.sv2026-partner-form {
	max-width: 100%;
	box-sizing: border-box;
}

.sv2026-table {
	table-layout: fixed;
}

.sv2026-form input,
.sv2026-form select,
.sv2026-form textarea,
.sv2026-form button {
	font-size: 16px; /* verhindert Auto-Zoom beim Fokussieren auf iOS */
}

/* Ab hier: Tabelle -> gestapelte Karten statt Horizontal-Scroll. */
@media (max-width: 640px) {
	.sv2026-table,
	.sv2026-table tbody,
	.sv2026-table tr,
	.sv2026-table td {
		display: block;
		width: 100%;
	}

	.sv2026-table thead {
		display: none;
	}

	.sv2026-table tr {
		margin-bottom: 1.2em;
		border: 1px solid #ddd;
		border-radius: 4px;
		overflow: hidden;
	}

	.sv2026-table td {
		border: none;
		border-bottom: 1px solid #eee;
		padding: 0.6em 0.8em;
	}

	.sv2026-table td:last-child {
		border-bottom: none;
	}

	.sv2026-table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-weight: 600;
		font-size: 0.85em;
		color: #666;
		margin-bottom: 0.2em;
	}

	.sv2026-form select,
	.sv2026-form input[type="text"],
	.sv2026-form input[type="email"] {
		max-width: 100%;
	}

	.sv2026-course-list form {
		display: flex;
		flex-direction: column;
		gap: 0.5em;
		align-items: stretch;
	}
}
