/* Shared frontend styles for JobMatch shortcodes (deliberately theme-neutral). */

.jobmatch-box {
	max-width: 560px;
	margin: 1.5em auto;
	padding: 1.5em;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.jobmatch-box h3 {
	margin-top: 0;
}

.jobmatch-login-section {
	padding: 1em 0;
	border-bottom: 1px solid #eee;
}

.jobmatch-login-section:last-of-type {
	border-bottom: none;
}

.jobmatch-box input[type="text"],
.jobmatch-box input[type="email"],
.jobmatch-box input[type="password"],
.jobmatch-box input[type="url"],
.jobmatch-box textarea,
.jobmatch-box select {
	width: 100%;
	max-width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1em;
	box-sizing: border-box;
}

.jobmatch-key-input {
	font-size: 1.6em !important;
	letter-spacing: 0.35em;
	text-align: center;
}

.jobmatch-btn {
	display: inline-block;
	padding: 0.65em 1.4em;
	border: none;
	border-radius: 999px;
	background: var(--jobmatch-accent, #1d4ed8);
	color: #fff !important;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}

.jobmatch-btn:hover {
	background: var(--jobmatch-accent-dark, #1e40af);
}

.jobmatch-btn-secondary {
	background: #64748b;
}

.jobmatch-btn-secondary:hover {
	background: #475569;
}

.jobmatch-error {
	padding: 0.8em 1em;
	margin-bottom: 1em;
	border-radius: 8px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.jobmatch-success {
	padding: 0.8em 1em;
	margin-bottom: 1em;
	border-radius: 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.jobmatch-hint {
	color: #666;
	font-size: 0.9em;
}

.jobmatch-key-display {
	font-size: 2.2em;
	font-weight: 700;
	letter-spacing: 0.35em;
	text-align: center;
	padding: 0.4em;
	background: #f1f5f9;
	border-radius: 12px;
	margin-bottom: 1em;
}

.jobmatch-qr {
	text-align: center;
	margin-bottom: 1em;
}

.jobmatch-qr img {
	image-rendering: pixelated;
}

.jobmatch-funding-notice {
	padding: 1.5em 1em;
	text-align: center;
	font-size: 0.85em;
	color: #555;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.jobmatch-funding-notice p {
	margin: 0 0 0.8em;
}

.jobmatch-funding-notice p:last-child,
.jobmatch-funding-notice > div:last-child {
	margin-bottom: 0;
}

.jobmatch-funding-notice .jobmatch-carrier {
	font-size: 1.05em;
}

/* Der Förderbalken ist sehr breit (ca. 9:1) – auf dem Handy skaliert er mit,
   am Desktop begrenzen wir ihn, damit er nicht die ganze Seite einnimmt. */
.jobmatch-funding-notice .jobmatch-funding-logo {
	display: inline-block;
	width: 100%;
	max-width: 640px;
	height: auto;
}

/* Status badges (used by the company dashboard). */
.jobmatch-badge {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
}

.jobmatch-badge-published { background: #dcfce7; color: #166534; }
.jobmatch-badge-pending   { background: #fef9c3; color: #854d0e; }
.jobmatch-badge-rejected  { background: #fee2e2; color: #991b1b; }
.jobmatch-badge-draft     { background: #e2e8f0; color: #334155; }

/* =========================================================================
 * Betriebsübersicht (Kacheln, Aufbau wie talent2maker)
 * ========================================================================= */

.jobmatch-directory-search {
	display: flex;
	gap: 0.6em;
	margin-bottom: 1em;
}

.jobmatch-directory-search input[type="text"] {
	flex: 1;
	padding: 0.7em 1.1em;
	border: 1px solid #d7dde5;
	border-radius: 999px;
	font-size: 1em;
}

.jobmatch-results-count {
	color: #64748b;
	font-size: 0.95em;
	margin: 0 0 1em 0.2em;
}

.jobmatch-employer-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1em;
	margin-bottom: 2em;
}

@media (max-width: 760px) {
	.jobmatch-employer-grid {
		grid-template-columns: 1fr;
	}
}

.jobmatch-employer-card {
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 1.1em 1.2em;
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 16px;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	min-width: 0;
}

.jobmatch-employer-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.jobmatch-employer-logo {
	flex: 0 0 84px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f8fa;
	border-radius: 12px;
	overflow: hidden;
}

.jobmatch-employer-logo img {
	max-width: 76px !important;
	max-height: 76px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

.jobmatch-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--jobmatch-accent, #1d4ed8);
	color: #fff;
	font-size: 1.6em;
	font-weight: 700;
}

.jobmatch-employer-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.jobmatch-employer-name {
	font-weight: 700;
	font-size: 1.05em;
	line-height: 1.3;
	color: #0f172a;
}

.jobmatch-employer-city {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: #64748b;
	font-size: 0.9em;
}

.jobmatch-employer-openjobs {
	flex-shrink: 0;
	align-self: center;
	font-size: 0.82em;
	color: #334155;
	background: var(--jobmatch-accent-tint, #eef2ff);
	border-radius: 999px;
	padding: 0.45em 1em;
	white-space: nowrap;
}

.jobmatch-employer-openjobs b {
	color: var(--jobmatch-accent, #1d4ed8);
}

@media (max-width: 480px) {
	.jobmatch-employer-openjobs {
		display: none;
	}
}

/* =========================================================================
 * Profilseiten (Unternehmen + Ausbildungsberuf): 2 Spalten + Sidebar
 * ========================================================================= */

.jobmatch-profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 1.5em;
	align-items: start;
}

@media (max-width: 860px) {
	.jobmatch-profile-grid {
		grid-template-columns: 1fr;
	}
	.jobmatch-profile-sidebar {
		order: -1;
	}
}

.jobmatch-panel {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 16px;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
	padding: 1.4em 1.6em;
	margin-bottom: 1.4em;
}

.jobmatch-panel-title {
	margin: 0 0 0.8em;
	font-size: 1.15em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid var(--jobmatch-accent-tint, #eef2ff);
}

.jobmatch-profile-cover {
	margin-bottom: 1.4em;
}

.jobmatch-profile-cover img {
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.jobmatch-profile-excerpt {
	font-size: 1.1em;
	font-weight: 600;
	color: #334155;
}

/* Impressionen gallery */
.jobmatch-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.7em;
}

.jobmatch-gallery-thumb {
	display: block;
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: #f6f8fa;
}

.jobmatch-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.jobmatch-gallery-thumb:hover img {
	transform: scale(1.05);
}

/* Lightbox */
.jobmatch-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(10, 14, 20, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
}

.jobmatch-lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	border-radius: 8px;
}

.jobmatch-lightbox button {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 1.3em;
	cursor: pointer;
}

.jobmatch-lightbox button:hover {
	background: rgba(255, 255, 255, 0.28);
}

.jobmatch-lightbox-close { top: 16px; right: 16px; }
.jobmatch-lightbox-prev  { left: 12px; top: 50%; transform: translateY(-50%); }
.jobmatch-lightbox-next  { right: 12px; top: 50%; transform: translateY(-50%); }

/* Videos */
.jobmatch-video {
	margin-bottom: 1em;
}

.jobmatch-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 12px;
	display: block;
}

.jobmatch-video-caption {
	margin-top: 0.4em;
	font-size: 0.9em;
	color: #64748b;
}

/* Link list */
.jobmatch-link-list {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.jobmatch-link-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	padding: 0.8em 1.1em;
	background: #f8fafc;
	border: 1px solid #e8edf3;
	border-radius: 12px;
	text-decoration: none !important;
	color: inherit !important;
}

.jobmatch-link-item:hover {
	border-color: #c7d2fe;
	background: var(--jobmatch-accent-tint, #eef2ff);
}

.jobmatch-link-label {
	font-weight: 600;
	color: #0f172a;
}

.jobmatch-link-url {
	font-size: 0.85em;
	color: var(--jobmatch-accent, #1d4ed8);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 45%;
}

/* Job cards (horizontal, wie t2m job-list) */
.jobmatch-job-list {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
}

.jobmatch-job-card {
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0.9em 1.1em;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 14px;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jobmatch-job-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.jobmatch-job-card-img {
	flex: 0 0 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f8fa;
	border-radius: 10px;
	overflow: hidden;
}

.jobmatch-job-card-img img {
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.jobmatch-job-card-img .jobmatch-initial {
	width: 40px;
	height: 40px;
	font-size: 1.1em;
}

.jobmatch-job-card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}

.jobmatch-job-card-title {
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.jobmatch-job-card-excerpt {
	font-size: 0.88em;
	color: #64748b;
}

.jobmatch-job-card-arrow {
	flex-shrink: 0;
	color: var(--jobmatch-accent, #1d4ed8);
	font-size: 1.3em;
}

/* Sidebar */
.jobmatch-sidebar-info {
	text-align: center;
	position: sticky;
	top: 1em;
}

.jobmatch-sidebar-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	margin-bottom: 0.8em;
}

.jobmatch-sidebar-logo img {
	max-height: 100px !important;
	max-width: 80%;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

.jobmatch-sidebar-name {
	font-size: 1.15em;
	font-weight: 700;
	margin-bottom: 0.3em;
}

.jobmatch-sidebar-name a {
	color: inherit;
	text-decoration: none;
}

.jobmatch-sidebar-openjobs {
	font-size: 0.9em;
	color: #64748b;
	margin-bottom: 1em;
}

.jobmatch-sidebar-row {
	display: flex;
	flex-direction: column;
	gap: 0.1em;
	padding: 0.7em 0;
	border-top: 1px solid #eef1f5;
	text-align: left;
}

.jobmatch-sidebar-row-title {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #94a3b8;
}

.jobmatch-sidebar-row-value {
	color: #0f172a;
	word-break: break-word;
}

.jobmatch-btn-block {
	display: block;
	text-align: center;
	margin-top: 1em;
}

/* =========================================================================
 * Formular-Widgets: Sterne, Galerie, Links
 * ========================================================================= */

.jobmatch-stars {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	white-space: nowrap;
}

.jobmatch-stars input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.jobmatch-stars-group {
	display: inline-flex;
	flex-direction: row-reverse;
}

.jobmatch-stars-group label {
	font-size: 1.55em;
	line-height: 1;
	color: #cbd5e1;
	cursor: pointer;
	padding: 0 0.06em;
	transition: color 0.1s ease, transform 0.1s ease;
}

.jobmatch-stars-group label:hover {
	transform: scale(1.15);
}

.jobmatch-stars-group label:hover,
.jobmatch-stars-group label:hover ~ label,
.jobmatch-stars-group input:checked ~ label {
	color: #f59e0b;
}

.jobmatch-stars-zero {
	font-size: 1em;
	color: #cbd5e1;
	cursor: pointer;
	padding: 0 0.25em;
	line-height: 1;
}

.jobmatch-stars-zero:hover {
	color: #dc2626;
}

.jobmatch-stars-zero-input:checked + .jobmatch-stars-zero {
	color: #dc2626;
}

.jobmatch-stars-text {
	font-size: 0.82em;
	color: #64748b;
	min-width: 8.5em;
}

@media (max-width: 560px) {
	.jobmatch-stars-text {
		display: none;
	}
}

/* Gallery field (dashboard) */
.jobmatch-gallery-current {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em;
	margin-bottom: 0.6em;
}

.jobmatch-gallery-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3em;
	font-size: 0.8em;
	color: #64748b;
}

.jobmatch-gallery-item img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
}

/* Links field (dashboard) */
.jobmatch-links-row {
	display: grid;
	grid-template-columns: 1fr 1.4fr auto;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.jobmatch-links-row .jobmatch-link-remove {
	padding: 0.3em 0.8em;
}

@media (max-width: 560px) {
	.jobmatch-links-row {
		grid-template-columns: 1fr;
	}
}

.jobmatch-gallery-field,
.jobmatch-links-field {
	border: 1px solid #e8edf3;
	border-radius: 12px;
	padding: 0.9em 1.1em;
	margin: 1em 0;
	background: #fbfcfe;
}

/* Weight tables in the company forms. */
.jobmatch-weights {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5em 0 1em;
}

.jobmatch-weights td,
.jobmatch-weights th {
	padding: 0.4em 0.5em;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.jobmatch-weights select {
	width: auto;
}

/* =========================================================================
 * Speeddating-Buchung
 * ========================================================================= */

.jobmatch-sd-blocks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.8em;
}

.jobmatch-sd-blockbtn {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	padding: 1em 1.2em;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	cursor: pointer;
	text-align: left;
	font-size: 1em;
	transition: border-color 0.12s ease, transform 0.12s ease;
}

.jobmatch-sd-blockbtn:hover {
	border-color: var(--jobmatch-accent, #1d4ed8);
	transform: translateY(-2px);
}

.jobmatch-sd-blockbtn span {
	color: #64748b;
	font-size: 0.9em;
}

.jobmatch-sd-mine ul {
	margin: 0.5em 0 0 1.2em;
}

.jobmatch-sd-cancel {
	background: none;
	border: none;
	color: #dc2626;
	cursor: pointer;
	font-size: 0.85em;
	text-decoration: underline;
	padding: 0 0.3em;
}

/* Betriebe als Karten – funktioniert ohne Querscrollen auch auf dem Handy. */
.jobmatch-sd-list {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	margin-top: 0.8em;
}

.jobmatch-sd-co-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 0.9em 1em;
}

.jobmatch-sd-co-rounds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 0.5em;
	margin-top: 0.7em;
}

.jobmatch-sd-company {
	display: flex;
	align-items: center;
	gap: 0.6em;
}

.jobmatch-sd-company img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 8px;
	background: #f6f8fa;
	flex-shrink: 0;
}

.jobmatch-sd-company span {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.jobmatch-sd-company small {
	color: #94a3b8;
}

.jobmatch-sd-company a,
.jobmatch-sd-company strong {
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
}

/* Runden-Buttons: groß genug für Daumen (min. 44px Höhe). */
.jobmatch-sd-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1em;
	padding: 0.5em 0.4em;
	min-height: 44px;
	border-radius: 12px;
	font-size: 0.85em;
	line-height: 1.3;
	border: none;
	font-family: inherit;
}

.jobmatch-sd-cell b {
	font-weight: 700;
}

.jobmatch-sd-cell small {
	font-weight: 400;
	opacity: 0.8;
}

.jobmatch-sd-cell span {
	font-weight: 600;
}

.jobmatch-sd-cell.is-free {
	background: #dcfce7;
	color: #166534;
	cursor: pointer;
	transition: transform 0.1s ease, background 0.1s ease;
}

.jobmatch-sd-cell.is-free:hover {
	transform: scale(1.04);
	background: #bbf7d0;
}

.jobmatch-sd-cell.is-busy {
	background: #fef9c3;
	color: #854d0e;
	cursor: wait;
}

.jobmatch-sd-cell.is-full {
	background: #f1f5f9;
	color: #94a3b8;
}

.jobmatch-sd-cell.is-blocked {
	background: #f1f5f9;
	color: #cbd5e1;
}

.jobmatch-sd-cell.is-mine {
	background: var(--jobmatch-accent, #1d4ed8);
	color: #fff;
}

@media (max-width: 480px) {
	.jobmatch-sd-co-rounds {
		grid-template-columns: 1fr 1fr;
	}
}

.jobmatch-sd-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 20px);
	background: #16a34a;
	color: #fff;
	padding: 0.8em 1.5em;
	border-radius: 999px;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 99999;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.jobmatch-sd-toast.is-error {
	background: #dc2626;
}

.jobmatch-sd-toast.show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* =========================================================================
 * Startseite: Hero, Feature-Karten, Schritte
 * ========================================================================= */

.jobmatch-hero {
	background: linear-gradient(135deg, var(--jobmatch-accent, #1d4ed8) 0%, var(--jobmatch-accent-light, #3b82f6) 60%, var(--jobmatch-accent-glow, #06b6d4) 100%);
	color: #fff;
	border-radius: 20px;
	padding: 3.2em 2em;
	text-align: center;
	margin-bottom: 1.6em;
	box-shadow: 0 12px 32px var(--jobmatch-accent-shadow, rgba(29, 78, 216, 0.25));
}

.jobmatch-hero h1 {
	color: #fff;
	font-size: clamp(1.7em, 4.5vw, 2.6em);
	margin: 0 0 0.4em;
}

.jobmatch-hero p {
	max-width: 620px;
	margin: 0 auto 0.6em;
	font-size: 1.1em;
	opacity: 0.94;
}

.jobmatch-hero-buttons {
	margin-top: 1.4em !important;
	display: flex;
	gap: 0.8em;
	justify-content: center;
	flex-wrap: wrap;
}

.jobmatch-btn-big {
	font-size: 1.1em;
	padding: 0.8em 1.8em;
}

.jobmatch-btn-light {
	background: #fff;
	color: var(--jobmatch-accent, #1d4ed8) !important;
}

.jobmatch-btn-light:hover {
	background: var(--jobmatch-accent-tint, #eef2ff);
}

.jobmatch-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2em;
	margin-bottom: 2em;
}

@media (max-width: 820px) {
	.jobmatch-features {
		grid-template-columns: 1fr;
	}
}

.jobmatch-feature {
	display: block;
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 16px;
	padding: 1.6em;
	text-align: center;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jobmatch-feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13);
}

.jobmatch-feature-icon {
	font-size: 2.4em;
	display: block;
	margin-bottom: 0.3em;
}

.jobmatch-feature h3 {
	margin: 0 0 0.4em;
	font-size: 1.1em;
}

.jobmatch-feature p {
	color: #64748b;
	font-size: 0.93em;
	margin: 0;
}

.jobmatch-steps {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #eef1f5;
	padding: 1.8em;
	margin-bottom: 2em;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
}

.jobmatch-steps h2 {
	text-align: center;
	margin: 0 0 1.2em;
}

.jobmatch-steps-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2em;
}

@media (max-width: 820px) {
	.jobmatch-steps-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.jobmatch-steps-row {
		grid-template-columns: 1fr;
	}
}

.jobmatch-step {
	text-align: center;
}

.jobmatch-step p {
	color: #475569;
	font-size: 0.93em;
	margin: 0;
}

.jobmatch-step-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--jobmatch-accent-tint, #eef2ff);
	color: var(--jobmatch-accent, #1d4ed8);
	font-weight: 800;
	font-size: 1.2em;
	margin-bottom: 0.5em;
}

/* =========================================================================
 * Globaler Feinschliff (Theme-Integration, Mobile)
 * ========================================================================= */

/* Panels wirken auf dem grauen Seitenhintergrund; Innencontainer entlüften */
.jobmatch-box,
.jobmatch-panel {
	border: 1px solid #eef1f5;
}

/* Seitentitel etwas kompakter */
.entry-header .entry-title,
.page-header h1 {
	margin-bottom: 0.4em;
}

/* Formular-Fokus sichtbar machen (visueller Cue) */
.jobmatch-box input:focus,
.jobmatch-box textarea:focus,
.jobmatch-box select:focus,
.jobmatch-directory-search input:focus {
	outline: none;
	border-color: var(--jobmatch-accent, #1d4ed8);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

/* Sanfte Einblendung für Karten */
@media (prefers-reduced-motion: no-preference) {
	.jobmatch-employer-card,
	.jobmatch-feature,
	.jobmatch-job-card {
		animation: jobmatch-fade-in 0.3s ease both;
	}
}

@keyframes jobmatch-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}

/* Mobile: engere Polster, volle Breite für Boxen */
@media (max-width: 560px) {
	.jobmatch-box {
		padding: 1.1em;
	}
	.jobmatch-panel {
		padding: 1.1em 1.2em;
	}
	.jobmatch-hero {
		padding: 2.2em 1.2em;
	}
	.jobmatch-directory-search {
		flex-wrap: wrap;
	}
	.jobmatch-directory-search input[type="text"] {
		flex-basis: 100%;
	}
	.jobmatch-key-display {
		font-size: 1.7em;
	}
}

/* Basis-Betrieb: Startseite zeigt nur den Plattform-Titel, mittig. */
.jobmatch-hero-minimal {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 55vh;
	text-align: center;
}
.jobmatch-hero-minimal h1 {
	margin: 0;
	font-size: clamp(1.8em, 5vw, 3.2em);
	line-height: 1.2;
}

/* Code-Eingabe auf der Speeddating-Seite (Login-Code vom QR-Zettel). */
.jobmatch-sdcode-form input[type="text"] {
	font-size: 1.3em;
	letter-spacing: 3px;
	text-align: center;
	text-transform: lowercase;
	max-width: 14em;
}

/* Betriebe-Kachel ohne Steckbrief-Link (Modul Steckbriefe aus). */
.jobmatch-employer-card-static,
.jobmatch-employer-card-static:hover {
	cursor: default;
	transform: none;
	box-shadow: none;
}

/* =========================================================================
 * Speeddating-Info-Seite [jobmatch_sd_info]
 * ========================================================================= */

.jobmatch-sdi-section {
	margin: 2.4em 0;
}

.jobmatch-sdi-section > h2 {
	font-size: 1.6em;
	margin: 0 0 0.4em;
}

.jobmatch-sdi-lead {
	color: #475569;
	max-width: 760px;
	margin: 0 0 1.2em;
}

.jobmatch-sdi-facts {
	font-size: 1.05em !important;
	opacity: 1 !important;
}

.jobmatch-sdi-intro {
	max-width: 680px;
	margin: 0.4em auto 0;
	text-align: left;
}

.jobmatch-sdi-intro p {
	font-size: 1em;
}

.jobmatch-sdi-notes {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 0.9em 1.2em;
	margin-bottom: 1.2em;
	max-width: 760px;
}

.jobmatch-sdi-notes p:last-child {
	margin-bottom: 0;
}

.jobmatch-sdi-days {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.2em;
}

.jobmatch-sdi-block {
	margin-bottom: 1.1em;
}

.jobmatch-sdi-block:last-child {
	margin-bottom: 0;
}

.jobmatch-sdi-block-head {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 0.3em;
}

.jobmatch-sdi-times {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.93em;
	margin: 0;
}

.jobmatch-sdi-times td {
	padding: 0.25em 0.4em;
	border: 0;
	border-top: 1px solid #f1f5f9;
	vertical-align: top;
}

.jobmatch-sdi-times td:first-child {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: #1e293b;
	font-weight: 600;
	width: 9.5em;
}

.jobmatch-sdi-toolbar {
	display: flex;
	gap: 0.8em;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 1.2em;
}

.jobmatch-sdi-toolbar input[type="search"] {
	flex: 1 1 260px;
	padding: 0.65em 0.9em;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 1em;
}

.jobmatch-sdi-toolbar select {
	padding: 0.5em 0.7em;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
}

.jobmatch-sdi-count {
	color: #64748b;
	font-size: 0.9em;
}

.jobmatch-sdi-companies {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1em;
}

.jobmatch-sdi-company {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 16px;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
	padding: 1.1em 1.2em;
	display: flex;
	flex-direction: column;
	gap: 0.6em;
	scroll-margin-top: 90px;
}

.jobmatch-sdi-company.is-highlight {
	border-color: var(--jobmatch-accent, #1d4ed8);
	box-shadow: 0 0 0 3px var(--jobmatch-accent-shadow, rgba(29, 78, 216, 0.18));
}

.jobmatch-sdi-company-head {
	display: flex;
	align-items: center;
	gap: 0.8em;
}

.jobmatch-sdi-company h3 {
	margin: 0;
	font-size: 1.05em;
	line-height: 1.25;
}

.jobmatch-sdi-city {
	color: #64748b;
	font-size: 0.88em;
	margin-top: 0.15em;
}

.jobmatch-sdi-platz {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4em;
	height: 2.4em;
	padding: 0 0.4em;
	border-radius: 999px;
	background: var(--jobmatch-accent, #1d4ed8);
	color: #fff;
	font-weight: 700;
	font-size: 0.95em;
}

.jobmatch-sdi-platz-wrap {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1em;
}

.jobmatch-sdi-platz-wrap small {
	font-size: 0.68em;
	color: #64748b;
	line-height: 1;
}

.jobmatch-sdi-platz-sm {
	min-width: 1.7em;
	height: 1.7em;
	font-size: 0.75em;
	margin-right: 0.35em;
}

.jobmatch-sdi-logo {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
}

.jobmatch-sdi-about {
	margin: 0;
	color: #475569;
	font-size: 0.92em;
}

.jobmatch-sdi-jobs {
	margin: 0;
	padding-left: 1.2em;
	font-size: 0.93em;
	line-height: 1.45;
}

.jobmatch-sdi-jobs li {
	margin: 0.1em 0;
}

.jobmatch-sdi-jobs a,
.jobmatch-sdi-job-name a {
	text-decoration: none;
	color: #0f172a;
	border-bottom: 1px dotted #94a3b8;
}

.jobmatch-sdi-jobs a:hover,
.jobmatch-sdi-job-name a:hover {
	color: var(--jobmatch-accent, #1d4ed8);
	border-bottom-color: currentColor;
}

.jobmatch-sdi-ext {
	font-size: 0.8em;
	color: #94a3b8;
}

.jobmatch-sdi-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 1em;
	font-size: 0.9em;
	margin-top: auto;
}

.jobmatch-sdi-links a {
	color: var(--jobmatch-accent, #1d4ed8);
	text-decoration: none;
	word-break: break-all;
}

.jobmatch-sdi-empty {
	color: #64748b;
	font-style: italic;
}

.jobmatch-sdi-joblist {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 16px;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
	padding: 0.4em 1.2em;
}

.jobmatch-sdi-letter {
	font-weight: 800;
	font-size: 1.1em;
	color: var(--jobmatch-accent, #1d4ed8);
	padding: 0.9em 0 0.3em;
	border-bottom: 2px solid var(--jobmatch-accent-tint, #eef2ff);
	margin-bottom: 0.2em;
}

.jobmatch-sdi-job {
	display: grid;
	grid-template-columns: minmax(200px, 2fr) 3fr;
	gap: 0.4em 1.2em;
	padding: 0.55em 0;
	border-bottom: 1px solid #f1f5f9;
	align-items: baseline;
}

.jobmatch-sdi-job:last-child {
	border-bottom: 0;
}

.jobmatch-sdi-job-name {
	font-weight: 600;
}

.jobmatch-sdi-job-companies {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em 0.9em;
	font-size: 0.9em;
}

.jobmatch-sdi-job-companies a {
	display: inline-flex;
	align-items: center;
	color: #334155;
	text-decoration: none;
}

.jobmatch-sdi-job-companies a:hover {
	color: var(--jobmatch-accent, #1d4ed8);
}

.jobmatch-sdi-signup {
	max-width: none;
	background: linear-gradient(135deg, var(--jobmatch-accent, #1d4ed8) 0%, var(--jobmatch-accent-light, #3b82f6) 60%, var(--jobmatch-accent-glow, #06b6d4) 100%);
	color: #fff;
	border-radius: 20px;
	box-shadow: 0 12px 32px var(--jobmatch-accent-shadow, rgba(29, 78, 216, 0.25));
	padding: 2.2em 2em;
}

.jobmatch-sdi-signup h1,
.jobmatch-sdi-signup h2,
.jobmatch-sdi-signup h3,
.jobmatch-sdi-signup p,
.jobmatch-sdi-signup .jobmatch-step p,
.jobmatch-sdi-signup .jobmatch-hint,
.jobmatch-sdi-signup-head .jobmatch-sdi-facts {
	color: #fff;
}

.jobmatch-sdi-signup .jobmatch-hint {
	opacity: 0.85;
}

.jobmatch-sdi-signup .jobmatch-step-no {
	background: #fff;
	color: var(--jobmatch-accent, #1d4ed8);
}

.jobmatch-sdi-signup .jobmatch-btn,
.jobmatch-sdi-signup a.jobmatch-btn {
	background: #fff;
	color: var(--jobmatch-accent, #1d4ed8) !important;
}

.jobmatch-sdi-signup .jobmatch-btn:hover,
.jobmatch-sdi-signup a.jobmatch-btn:hover {
	background: var(--jobmatch-accent-tint, #eef2ff);
	color: var(--jobmatch-accent, #1d4ed8) !important;
}

.jobmatch-sdi-signup {
	text-align: center;
}

.jobmatch-sdi-signup h2 {
	margin: 0 0 1.2em;
	font-size: 1.35em;
	font-weight: 600;
}

.jobmatch-sdi-signup-head h1 {
	font-size: clamp(1.7em, 4.5vw, 2.6em);
}

.jobmatch-sdi-signup-head {
	padding-bottom: 1.4em;
	margin-bottom: 1.6em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.jobmatch-sdi-signup .jobmatch-steps-row {
	max-width: 1040px;
	margin: 0 auto;
}

.jobmatch-sdi-signup .jobmatch-hint {
	text-align: center;
	margin: 1em auto 0;
}

.jobmatch-sdi-signup-head {
	text-align: center;
	margin-bottom: 1.4em;
}

.jobmatch-sdi-signup-head h1 {
	margin: 0 0 0.2em;
}

.jobmatch-sdi-signup-head .jobmatch-sdi-facts {
	color: #fff;
	opacity: 0.9;
	margin: 0;
}

.jobmatch-sdi-links-grid {
	margin-top: 1.6em;
	/* Kachelzahl variiert (Ablaufplan optional) – Zeile immer voll ausfüllen. */
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jobmatch-sd-jobs {
	color: #64748b !important;
	font-size: 0.8em;
	margin-top: 0.15em;
}

@media (max-width: 600px) {
	.jobmatch-sdi-job {
		grid-template-columns: 1fr;
		gap: 0.25em;
	}
	.jobmatch-sdi-times td:first-child {
		width: auto;
	}
}

/* =========================================================================
 * Matching: Meine Berufe [jobmatch_matching]
 * ========================================================================= */

.jobmatch-mm-section { margin: 2em 0; }
.jobmatch-mm-progress { color: #475569; }
.jobmatch-mm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1em; }
.jobmatch-mm-card { position: relative; background: #fff; border: 1px solid #eef1f5; border-radius: 16px; box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05); padding: 1.2em 1.3em 1.2em 3.4em; }
.jobmatch-mm-rank { position: absolute; left: 1em; top: 1.1em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--jobmatch-accent, #1d4ed8); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.jobmatch-mm-card h3 { margin: 0 0 0.2em; font-size: 1.1em; }
.jobmatch-mm-company { color: #64748b; font-size: 0.9em; margin-bottom: 0.6em; }
.jobmatch-mm-score { height: 8px; border-radius: 4px; background: var(--jobmatch-accent-tint, #eef2ff); overflow: hidden; }
.jobmatch-mm-score span { display: block; height: 100%; background: var(--jobmatch-accent, #1d4ed8); }
.jobmatch-mm-pct { font-size: 0.85em; color: #475569; margin: 0.3em 0 0.6em; }
.jobmatch-mm-skills small { color: #64748b; }
.jobmatch-mm-chip { display: inline-block; background: var(--jobmatch-accent-tint, #eef2ff); color: var(--jobmatch-accent-dark, #1e40af); border-radius: 999px; padding: 0.15em 0.6em; font-size: 0.82em; margin: 0.15em 0.25em 0.15em 0; }
.jobmatch-mm-links { margin-top: 0.7em; display: flex; flex-direction: column; gap: 0.2em; font-size: 0.9em; }
.jobmatch-mm-profile { background: #fff; border: 1px solid #eef1f5; border-radius: 16px; padding: 1em 1.3em; max-width: 680px; }
.jobmatch-mm-prow { display: grid; grid-template-columns: 14em 1fr 3.5em; align-items: center; gap: 0.8em; padding: 0.3em 0; }
.jobmatch-mm-pbar { height: 10px; border-radius: 5px; background: var(--jobmatch-accent-tint, #eef2ff); overflow: hidden; }
.jobmatch-mm-pbar span { display: block; height: 100%; background: var(--jobmatch-accent, #1d4ed8); }
.jobmatch-mm-pval { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.9em; }
@media (max-width: 600px) { .jobmatch-mm-prow { grid-template-columns: 1fr 3.5em; } .jobmatch-mm-plabel { grid-column: 1 / -1; } }
