/*
 * UA Orte — Jobs (0.63.0): Stellenseite (`article.ua-stelle`), Übersicht
 * [ua_jobs] (`.ua-jobs`), Formular-Seite [ua_stelle_melden]
 * (`.ua-stelle-melden`; das Formular selbst gestaltet ua-orte-vertrieb.css
 * mit den Bauteilen von [ua_anfrage]). Lädt nur auf /jobs/, dem Formular
 * und den Stellen (includes/jobs.php), nach ua-orte.css.
 *
 * Aufbau nach dem Muster „Jobseite Vorlage“ (Artifact, Alex 18.11.2026).
 * Maßstab: h1 41,6 / 32, Abschnitt 28 / 22, Text 17, Klein 15, Kartentitel
 * 18,88 / 17, Rundung 10. Eine dunkle Fläche: der Bewerben-Kasten.
 *
 * FARBEN aus der Palette mit Rückfall. Palettenlos: `#cfdbe4` (die leise
 * Zeile im Navy-Kasten, derselbe Ton wie im Navy-Kasten des
 * Anfrageformulars, ua-orte-vertrieb.css), `#6b6b6b`
 * (Fuß, Zurück-Link) und Weiß `#fff` (Schrift auf Navy). Bei der Farbrunde
 * mitziehen, ebenso die Rückfälle.
 *
 * Regeln nennen ihr Tag oder sitzen am eigenen Element — die Body-Klasse
 * heißt `ua-stellenseite` (Hausregel 31.08.2026).
 */

/* ------------------------------------------------------------ Stelle */

article.ua-stelle {
	max-width: 920px;
	margin: 0 auto;
	color: var(--ua-navy, #184058);
	font-family: var(--ua-sans);
	font-size: var(--ua-t-fliess, 17px);
	line-height: 1.55;
}

.ua-stelle .ua-stelle__zurueck,
.ua-stelle-melden__zurueck a {
	font-size: var(--ua-t-klein, 15px);
	color: #6b6b6b;
	text-decoration: none;
}

.ua-stelle .ua-stelle__zurueck:hover,
.ua-stelle-melden__zurueck a:hover {
	color: var(--ua-navy, #184058);
	text-decoration: underline;
}

.ua-stelle .ua-stelle__kicker {
	margin: 18px 0 6px;
	font-size: var(--ua-t-kicker, 12px);
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ua-amber-schrift, #8a5c08);
}

.ua-stelle h1.ua-stelle__titel,
.ua-jobs h1.ua-jobs__titel,
.ua-stelle-melden h1.ua-stelle-melden__titel {
	margin: 0 0 8px;
	font-family: var(--ua-serif);
	font-size: var(--ua-t-h1, 2.6rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ua-navy, #184058);
}

.ua-stelle .ua-stelle__betrieb {
	margin: 0 0 22px;
}

.ua-stelle .ua-stelle__betrieb a {
	color: var(--ua-navy, #184058);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--ua-amber, #e8a020);
	text-underline-offset: 3px;
}

/* Foto + Kurzfakten: am Desktop zwei Spalten, sonst untereinander. */
.ua-stelle .ua-stelle__oben {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

@media (min-width: 900px) {
	.ua-stelle .ua-stelle__oben {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 24px;
	}

	.ua-stelle .ua-stelle__oben--ohne-foto {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Doppelte Klasse gegen `.entry-content img { height: auto }` des Themes. */
.ua-stelle img.ua-stelle__foto.ua-stelle__foto {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.ua-stelle ul.ua-stelle__fakten {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ua-stelle .ua-stelle__fakten li {
	display: grid;
	grid-template-columns: 7px minmax(0, 1fr);
	column-gap: 12px;
	align-items: baseline;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--ua-sand, #d9cdb8);
}

.ua-stelle .ua-stelle__fakten li:last-child {
	border-bottom: 0;
}

.ua-stelle .ua-stelle__punkt {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ua-amber, #e8a020);
	position: relative;
	top: -2px;
}

.ua-stelle .ua-stelle__fakt b {
	font-weight: 700;
	margin-right: 4px;
}

.ua-stelle .ua-stelle__fakt small {
	display: block;
	font-size: var(--ua-t-klein, 15px);
	color: var(--ua-text-weich, #3d4753);
}

/* Am Handy: der Sprung zum Bewerben direkt nach Foto und Fakten. */
.ua-stelle .ua-stelle__springen {
	margin: 20px 0 0;
}

@media (min-width: 900px) {
	.ua-stelle .ua-stelle__springen {
		display: none;
	}
}

/* TAG IM SELEKTOR (0.63.1, Abnahme B2): Kadence setzt
   `.single-content h2:first-child { margin-top: 0 }` (0-2-1) und lädt
   später — „Über uns“ klebte am Foto, die Köpfe an der Liste davor.
   Mit article/div stehen wir bei 0-2-2. */
article.ua-stelle .ua-stelle__abschnitt h2,
article.ua-stelle .ua-stelle__bewerben h2,
div.ua-jobs .ua-jobs__betriebe h2 {
	margin: 34px 0 10px;
	font-family: var(--ua-serif);
	font-size: var(--ua-t-zwischenkopf, 28px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ua-navy, #184058);
}

.ua-stelle .ua-stelle__abschnitt p {
	margin: 0 0 12px;
}

.ua-stelle ul.ua-stelle__punkte {
	margin: 0;
	padding-left: 20px;
}

.ua-stelle .ua-stelle__punkte li {
	margin: 4px 0;
}

.ua-stelle .ua-stelle__punkte li::marker {
	color: var(--ua-amber, #e8a020);
}

@media (min-width: 900px) {
	.ua-stelle .ua-stelle__spalten {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 32px;
	}
}

/* Der Navy-Kasten — die eine dunkle Fläche der Seite. */
.ua-stelle .ua-stelle__bewerben {
	margin-top: 36px;
	padding: 26px 28px;
	border-radius: 10px;
	background: var(--ua-navy, #184058);
	color: #fff;
	scroll-margin-top: calc(var(--ua-kopf-hoehe, 80px) + 16px);
}

article.ua-stelle .ua-stelle__bewerben h2 {
	margin-top: 0;
	color: #fff;
}

.ua-stelle .ua-stelle__bewerben p {
	margin: 0 0 14px;
}

.ua-stelle .ua-stelle__wege {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 16px;
}

.ua-stelle a.ua-stelle__weg,
.ua-stelle a.ua-stelle__weg:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border: 1.5px solid var(--ua-hellblau, #80a8b8);
	border-radius: 10px;
	background: transparent;
	color: #fff;
	font-size: var(--ua-t-fliess, 17px); /* 0.64.0: 17 statt 16 (Maßstab) */
	font-weight: 700;
	text-decoration: none;
}

.ua-stelle a.ua-stelle__weg:hover,
.ua-stelle a.ua-stelle__weg:focus-visible {
	border-color: #fff;
	color: #fff;
}

.ua-stelle a.ua-stelle__weg--mail,
.ua-stelle a.ua-stelle__weg--mail:visited {
	border-color: var(--ua-amber, #e8a020);
	background: var(--ua-amber, #e8a020);
	color: var(--ua-navy, #184058);
}

.ua-stelle a.ua-stelle__weg--mail:hover,
.ua-stelle a.ua-stelle__weg--mail:focus-visible {
	border-color: var(--ua-amber-tief, #cf8a12);
	background: var(--ua-amber-tief, #cf8a12);
	color: var(--ua-navy, #184058);
}

.ua-stelle a.ua-stelle__weg:focus-visible {
	outline: 2px solid var(--ua-amber, #e8a020);
	outline-offset: 2px;
}

.ua-stelle .ua-stelle__symbol {
	flex: none;
	width: 20px;
	height: 20px;
}

.ua-stelle .ua-stelle__bewerben .ua-stelle__klein {
	margin: 0;
	font-size: var(--ua-t-klein, 15px);
	color: #cfdbe4;
}

.ua-stelle .ua-stelle__teilen {
	margin-top: 16px;
}

/* 0.64.0: „Die Bewerbung geht direkt an …“ unter dem Kasten. */
.ua-stelle .ua-stelle__direkt {
	margin: 10px 0 0;
	font-size: var(--ua-t-klein, 15px);
	color: #6b6b6b;
}

.ua-stelle .ua-stelle__fuss a {
	color: var(--ua-navy, #184058);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--ua-amber, #e8a020);
	text-underline-offset: 3px;
}

.ua-stelle .ua-stelle__fuss {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--ua-sand, #d9cdb8);
	font-size: var(--ua-t-klein, 15px);
	color: #6b6b6b;
}

@media (max-width: 599.98px) {
	.ua-stelle .ua-stelle__bewerben {
		padding: 22px 20px;
	}

	.ua-stelle a.ua-stelle__weg {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* ------------------------------------------------------------ Übersicht */

.ua-jobs {
	max-width: 920px;
	margin: 0 auto;
	color: var(--ua-navy, #184058);
	font-family: var(--ua-sans);
}

.ua-jobs .ua-jobs__unterzeile {
	/* Rand: Block „0.64.1“ am Dateiende. */
	font-size: var(--ua-t-fliess, 17px);
	color: var(--ua-text-weich, #3d4753);
}

.ua-jobs .ua-jobs__leer {
	/* Rand: Block „0.64.1“ am Dateiende. */
	font-size: var(--ua-t-fliess, 17px);
}

/* Kartentyp Liste (gestaltung-massstab.md): Bild 80 / Handy 72, Linie unten. */
.ua-jobs .ua-jobs__liste {
	margin: 0 0 32px;
	border-top: 1px solid var(--ua-sand, #d9cdb8);
}

.ua-jobs a.ua-jobs-eintrag {
	display: grid;
	grid-template-columns: var(--ua-karte-liste-bild-handy, 72px) minmax(0, 1fr) auto;
	column-gap: 14px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--ua-sand, #d9cdb8);
	color: var(--ua-navy, #184058);
	text-decoration: none;
}

.ua-jobs a.ua-jobs-eintrag:hover,
.ua-jobs a.ua-jobs-eintrag:focus-visible {
	color: var(--ua-navy, #184058);
	text-decoration: none;
}

.ua-jobs a.ua-jobs-eintrag:hover .ua-jobs-eintrag__titel {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ua-jobs a.ua-jobs-eintrag:focus-visible {
	outline: 2px solid var(--ua-navy, #184058);
	outline-offset: 2px;
}

.ua-jobs .ua-jobs-eintrag__bild {
	display: block;
	width: var(--ua-karte-liste-bild-handy, 72px);
	height: var(--ua-karte-liste-bild-handy, 72px);
	border-radius: 10px;
	overflow: hidden;
	background: var(--ua-warm, #ede6d8);
}

.ua-jobs img.ua-jobs-eintrag__img.ua-jobs-eintrag__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ua-jobs .ua-jobs-eintrag__text,
.ua-jobs .ua-jobs-eintrag__kicker,
.ua-jobs .ua-jobs-eintrag__titel,
.ua-jobs .ua-jobs-eintrag__zeile {
	display: block;
	min-width: 0;
	margin: 0;
}

/* Ohne Etikett (kein Umfang, kein Ortsteil, keine Job-der-Woche-Woche)
   bleibt der Kicker leer — das Skript setzt `hidden`. */
.ua-jobs .ua-jobs-eintrag__kicker[hidden] {
	display: none;
}

.ua-jobs .ua-jobs-eintrag__kicker {
	margin-bottom: 3px;
	font-size: var(--ua-t-kicker-klein, 11px);
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ua-amber-schrift, #8a5c08);
}

.ua-jobs .ua-jobs-eintrag__titel {
	font-family: var(--ua-serif);
	font-size: var(--ua-t-kartentitel, 1.18rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ua-navy, #184058);
}

.ua-jobs .ua-jobs-eintrag__zeile {
	margin-top: 2px;
	font-size: var(--ua-t-klein, 15px); /* 0.64.0: 15 statt 14 (Maßstab) */
	font-weight: 600;
	line-height: 1.4;
}

.ua-jobs .ua-jobs-eintrag__pfeil {
	font-size: 22px;
	color: var(--ua-amber-schrift, #8a5c08);
}

@media (min-width: 900px) {
	.ua-jobs a.ua-jobs-eintrag {
		grid-template-columns: var(--ua-karte-liste-bild, 80px) minmax(0, 1fr) auto;
	}

	.ua-jobs .ua-jobs-eintrag__bild {
		width: var(--ua-karte-liste-bild, 80px);
		height: var(--ua-karte-liste-bild, 80px);
	}

	.ua-jobs .ua-jobs-eintrag__kicker {
		font-size: var(--ua-t-kicker, 12px);
	}

	.ua-jobs .ua-jobs-eintrag__zeile {
		font-size: var(--ua-t-klein, 15px);
	}
}

/* Für Betriebe — Creme, ein Rand, kein Schatten. */
.ua-jobs .ua-jobs__betriebe {
	padding: 20px 24px 24px;
	border: 1px solid var(--ua-sand, #d9cdb8);
	border-radius: 10px;
	background: var(--ua-cream, #f7f2ea);
}

/* 0.64.0: Text links, die drei Wege rechts — ab 900 px zwei Spalten. */
@media (min-width: 900px) {
	.ua-jobs .ua-jobs__betriebe {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 40px;
		align-items: start;
	}
}

/* Kicker in Amber-Schrift: Amber und Amber tief tragen auf hellem Grund
   keine Schrift (Gestaltungsregel seit 14.11.2026). */
.ua-jobs .ua-jobs__betriebe .ua-jobs__kicker { /* 0-3-0: schlägt `.ua-jobs .ua-jobs__betriebe p` (Gegenlesung A1) */
	margin: 0 0 6px;
	font-size: var(--ua-t-kicker, 12px);
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ua-amber-schrift, #8a5c08);
}

/* Die h2 des Kastens auf Bandtitel-Stufe (22 / 17), Playfair (Alex). */
div.ua-jobs .ua-jobs__betriebe h2 {
	margin: 0 0 12px;
	font-size: var(--ua-t-bandtitel, 22px);
	line-height: 1.25;
}

.ua-jobs .ua-jobs__betriebe .ua-jobs__naehe {
	margin: 0 0 4px;
}

.ua-jobs .ua-jobs__betriebe .ua-jobs__quelle {
	margin: 0 0 16px;
	font-size: var(--ua-t-klein, 15px);
	color: #6b6b6b;
}

.ua-jobs ul.ua-jobs__wege {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.ua-jobs .ua-jobs__wege li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--ua-sand, #d9cdb8);
	font-size: var(--ua-t-fliess, 17px);
	line-height: 1.4;
}

.ua-jobs .ua-jobs__wege li:first-child {
	padding-top: 0;
}

.ua-jobs .ua-jobs__icon {
	display: flex;
	width: 24px;
	height: 24px;
	color: var(--ua-navy, #184058);
}

.ua-jobs .ua-jobs__icon svg {
	width: 24px;
	height: 24px;
}

/* Das Handy im Online-Icon deckt den Monitor ab — auf der Preisseite füllt
   es ua-orte-vertrieb.css, hier fehlt dieser Vorfahr (Gegenlesung B1). */
.ua-jobs .ua-jobs__icon .uapp-hg {
	fill: var(--ua-cream, #f7f2ea);
}

.ua-jobs .ua-jobs__betriebe .ua-jobs__preis {
	margin: 0 0 16px;
	font-weight: 600;
	color: var(--ua-navy, #184058);
}

.ua-jobs .ua-jobs__betriebe p {
	margin: 0 0 16px;
	font-size: var(--ua-t-fliess, 17px);
}

.ua-jobs .ua-jobs__betriebe .ua-jobs__knopf {
	margin: 0;
}

/* ------------------------------------------------------------ Formular-Seite */

.ua-stelle-melden {
	max-width: 760px;
	margin: 0 auto;
	color: var(--ua-navy, #184058);
}

.ua-stelle-melden .ua-stelle-melden__zurueck {
	margin: 0 0 18px;
}

.ua-stelle-melden .ua-stelle-melden__kopf {
	margin: 0 0 8px;
	font-size: var(--ua-t-fliess, 17px);
}

.ua-stelle-melden input[type="file"] {
	display: block;
	min-height: 44px;
	margin: 4px 0;
	font-size: var(--ua-t-klein, 15px);
}

@media (max-width: 599.98px) {
	article.ua-stelle .ua-stelle__abschnitt h2 {
		margin-top: 28px;
	}

	.ua-jobs .ua-jobs__betriebe {
		padding: 16px 18px 20px;
	}
}

/* 0.64.0: Kästchen (Bildrechte, Buchung) und Datum im Formular „Stelle
   melden“. Das Formular-Stylesheet (ua-orte-vertrieb.css) kennt nur
   Kästchen im Raster und keine Datumsfelder — hier, nur für diese Seite. */
.ua-stelle-melden .ua-anfrage__haken label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	line-height: 1.45;
}

.ua-stelle-melden .ua-anfrage__haken input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--ua-navy, #184058);
}

.ua-stelle-melden .ua-anfrage__feld > span.ua-anfrage__hinweis {
	display: block;
	margin: 4px 0 0;
}

.ua-stelle-melden input[type="date"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--ua-sand, #d9cdb8);
	border-radius: 8px;
	background: #fff;
	color: var(--ua-navy, #184058);
	font: inherit;
}

@media (max-width: 599.98px) {
	.ua-stelle-melden .ua-anfrage__feld--halb {
		max-width: none;
	}
}

/* 0.64.1 (Abnahme B2): Abstände um den Leerzustand. Die Unterzeile ist das
   letzte Kind im Kopf, und Kadence nimmt letzten Absätzen den Rand nach
   unten — gemessen 0 px statt 24. Mit Tag im Selektor (wie die h2 in
   0.63.1) stehen wir darüber: 24 px nach der Unterzeile, 24 px nach dem
   Leerzustand bis zum Kasten. */
div.ua-jobs header.ua-jobs__kopf p.ua-jobs__unterzeile {
	margin: 0 0 24px;
}

div.ua-jobs p.ua-jobs__leer {
	margin: 0 0 24px;
}

/* 0.67.0: Kopfbild unter der Unterzeile (das Beitragsbild der Seite
   /jobs/, ua_orte_jobs_kopfbild_html()). Volle Inhaltsbreite, 21:9, am
   Handy 4:3, Rundung 10, kein Schatten. Bildunterschrift Klein 15 in Grau
   #6b6b6b, 6 px darüber; 24 px bis zum Leerzustand bzw. zur Liste. Mit Tag
   im Selektor wie der Block darüber — Kadence setzt figure/img-Ränder. */
div.ua-jobs figure.ua-jobs__kopfbild {
	margin: 0 0 24px;
	padding: 0;
}

div.ua-jobs figure.ua-jobs__kopfbild img.ua-jobs__kopfbild-img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: var(--ua-radius, 10px);
	box-shadow: none;
}

div.ua-jobs figure.ua-jobs__kopfbild figcaption {
	margin: 6px 0 0;
	padding: 0;
	color: #6b6b6b;
	font-size: var(--ua-t-klein, 15px);
	line-height: 1.4;
	text-align: left;
}

@media (max-width: 599.98px) {
	div.ua-jobs figure.ua-jobs__kopfbild img.ua-jobs__kopfbild-img {
		aspect-ratio: 4 / 3;
	}
}
