/* Dorfstüble Stellenangebote – im Stil von dorfstueble.com */
.sta-liste,
.sta-detail {
	--sta-dark: #2b2b26;
	--sta-green: #3a5a40;
	--sta-muted: #7a7267;
	--sta-line: #e4ded3;
	--sta-bg-soft: #f7f4ef;
	--sta-amber: #9c6b1f;
	color: var(--sta-dark);
	line-height: 1.6;
}

/* ---------- Liste ---------- */
.sta-liste-titel {
	font-size: 1.5em;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--sta-dark);
}

.sta-karte {
	border: 1px solid var(--sta-line);
	border-left: 3px solid var(--sta-green);
	border-radius: 4px;
	padding: 20px 22px;
	margin-bottom: 16px;
	background: #fff;
	transition: box-shadow .18s ease, transform .18s ease;
}
.sta-karte:hover {
	box-shadow: 0 3px 14px rgba(0,0,0,.06);
	transform: translateY(-1px);
}
.sta-karte.sta-besetzt {
	border-left-color: var(--sta-line);
	opacity: .72;
}

.sta-karte-titel {
	font-size: 1.2em;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.3;
}
.sta-karte-titel a {
	color: var(--sta-dark);
	text-decoration: none;
}
.sta-karte-titel a:hover {
	color: var(--sta-green);
}

.sta-badge {
	display: inline-block;
	margin-left: 8px;
	background: var(--sta-muted);
	color: #fff;
	font-size: .62em;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	vertical-align: middle;
}

.sta-teaser {
	margin: 10px 0 14px;
	color: #4a4a42;
}

.sta-mehr {
	font-weight: 600;
	color: var(--sta-green);
	text-decoration: none;
	font-size: .95em;
}
.sta-mehr:hover { text-decoration: underline; }

.sta-leer {
	background: var(--sta-bg-soft);
	border: 1px solid var(--sta-line);
	border-radius: 4px;
	padding: 18px 20px;
	color: #4a4a42;
	margin: 0;
}

/* ---------- Merkmale ---------- */
.sta-merkmale {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 14px;
}
.sta-tag {
	display: inline-block;
	background: var(--sta-bg-soft);
	border: 1px solid var(--sta-line);
	border-radius: 999px;
	padding: 3px 12px;
	font-size: .85em;
	color: #55524a;
	white-space: nowrap;
}

/* ---------- Detailseite ---------- */
.sta-detail .sta-h3 {
	font-size: 1.15em;
	font-weight: 600;
	color: var(--sta-green);
	margin: 28px 0 10px;
}

.sta-punkte {
	margin: 0 0 4px;
	padding-left: 1.25em;
	list-style: none;
}
.sta-punkte li {
	position: relative;
	margin-bottom: 7px;
	padding-left: 2px;
}
.sta-punkte li::before {
	content: "";
	position: absolute;
	left: -1em;
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sta-green);
}

.sta-hinweis-besetzt {
	background: var(--sta-bg-soft);
	border-left: 3px solid var(--sta-amber);
	border-radius: 4px;
	padding: 12px 16px;
	margin: 0 0 20px;
	color: #4a4a42;
}

.sta-bewerbung {
	margin-top: 32px;
	padding: 22px 24px;
	background: var(--sta-bg-soft);
	border: 1px solid var(--sta-line);
	border-radius: 4px;
}
.sta-bewerbung .sta-h3 { margin-top: 0; }

.sta-button {
	display: inline-block;
	background: var(--sta-green);
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	padding: 11px 26px;
	border-radius: 3px;
	margin: 6px 0 12px;
	transition: background .18s ease;
}
.sta-button:hover { background: #2d4732; }

.sta-kontaktzeile {
	margin: 0;
	font-size: .95em;
	color: var(--sta-muted);
}
.sta-kontaktzeile a {
	color: var(--sta-green);
	text-decoration: none;
}
.sta-kontaktzeile a:hover { text-decoration: underline; }
.sta-punkt { margin: 0 6px; color: var(--sta-line); }

@media (max-width: 600px) {
	.sta-karte { padding: 16px 18px; }
	.sta-bewerbung { padding: 18px 18px; }
	.sta-button { display: block; text-align: center; }
}

/* ---------- Aufklappbare Details in der Liste ---------- */
.sta-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: .95em;
	font-weight: 600;
	color: var(--sta-green);
	cursor: pointer;
	line-height: 1.4;
}
.sta-toggle:hover { text-decoration: underline; }
.sta-toggle:focus-visible {
	outline: 2px solid var(--sta-green);
	outline-offset: 3px;
	border-radius: 2px;
}
.sta-pfeil {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
	margin-top: -3px;
}
.sta-karte.sta-offen .sta-pfeil { transform: rotate(-135deg); margin-top: 2px; }

.sta-details {
	overflow: hidden;
	transition: max-height .22s ease;
}
.sta-details > *:first-child { margin-top: 18px; }

.sta-karte.sta-offen {
	border-left-color: var(--sta-green);
	box-shadow: 0 3px 14px rgba(0,0,0,.05);
}

.sta-fliesstext { margin-bottom: 4px; }
.sta-fliesstext p:last-child { margin-bottom: 0; }

.sta-h4 {
	font-size: 1.02em;
	font-weight: 600;
	color: var(--sta-green);
	margin: 20px 0 8px;
}

/* ---------- Einzelseite auf lesbare Breite begrenzen ---------- */
.sta-single {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* ---------- Beitragsbild in der Karte ---------- */
.sta-karte-kopf {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}
.sta-karte-text {
	flex: 1 1 auto;
	min-width: 0;
}
.sta-bild {
	flex: 0 0 170px;
	max-width: 170px;
	border-radius: 3px;
	overflow: hidden;
	line-height: 0;
}
.sta-bild img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	display: block;
	border-radius: 3px;
}
.sta-karte.sta-besetzt .sta-bild img { filter: grayscale(1); opacity: .75; }

@media (max-width: 560px) {
	.sta-karte-kopf { flex-direction: column; gap: 14px; }
	.sta-bild { flex: 1 1 auto; max-width: 100%; width: 100%; }
	.sta-bild img { height: 170px; }
}

/* ---------- Beitragsbild auf der Einzelseite ---------- */
.sta-single-bild {
	margin: 0 0 20px;
	line-height: 0;
}
.sta-single-bild img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

/* ---------- Schliessen am Ende der Details ---------- */
.sta-schliessen-zeile {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--sta-line);
	text-align: right;
}
.sta-schliessen {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	padding: 4px 2px;
	margin: 0;
	font: inherit;
	font-size: .92em;
	font-weight: 600;
	color: var(--sta-muted);
	cursor: pointer;
}
.sta-schliessen:hover { color: var(--sta-green); }
.sta-schliessen:focus-visible {
	outline: 2px solid var(--sta-green);
	outline-offset: 3px;
	border-radius: 2px;
}
.sta-pfeil-hoch {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-135deg);
	margin-top: 3px;
}
