/* ============================================================
   Berufshafen Jobbörse – Startseite, Jobliste, Stellenseite, Portal
   Baut auf bh-core.css auf. Bewusst flach: keine Verläufe, keine Rahmen.
   ============================================================ */

.bh-ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Sektionen ---------- */
.bh-jobs .bh-jsec { padding: 100px 0 190px; }
.bh-jsec--creme { background: var(--bh-creme); }
.bh-jsec--white { background: var(--bh-weiss); }
.bh-jsec--dark  { background: var(--bh-rot-dunkel); color: var(--bh-weiss); }
.bh-jsec--list  { padding-top: 64px; min-height: 40vh; }
.bh-jsec__more { text-align: center; margin-top: 48px; }
.bh-h2--small { font-size: clamp(22px, 3vw, 30px); margin-bottom: 24px; }

.bh-btn .bh-ico { width: 18px; height: 18px; }
.bh-btn--white { background: var(--bh-weiss); color: var(--bh-rot) !important; }
.bh-btn--white:hover { background: var(--bh-creme); transform: translateY(-3px); }

/* ---------- Hero mit Suche ---------- */
.bh-hero--jobs { min-height: 92vh; padding: 140px 0 220px; }
.bh-hero--jobs .bh-hero__title { margin-bottom: 40px; }

/* ---------- Suchleiste ---------- */
.bh-search {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 0;
	background: var(--bh-weiss);
	border-radius: 18px;
	padding: 8px;
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
	box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}
.bh-search .bh-search__field {
	position: relative;
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
	min-width: 0; margin: 0;
	padding: 12px 20px;
	border-radius: 12px;
	cursor: text;
	transition: background 0.25s ease;
}
.bh-search .bh-search__field + .bh-search__field::before {
	content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--bh-grau-hell);
}
.bh-search .bh-search__field:hover,
.bh-search .bh-search__field:focus-within,
.bh-search .bh-search__field.is-open { background: var(--bh-creme); }
.bh-search .bh-search__field:hover::before,
.bh-search .bh-search__field:focus-within::before,
.bh-search .bh-search__field.is-open::before,
.bh-search .bh-search__field:hover + .bh-search__field::before,
.bh-search .bh-search__field:focus-within + .bh-search__field::before,
.bh-search .bh-search__field.is-open + .bh-search__field::before { opacity: 0; }
.bh-search .bh-search__field--select { cursor: pointer; }

.bh-search .bh-search__label {
	display: block; margin: 0;
	font-size: 13px; font-weight: 700; letter-spacing: 0.2px; text-transform: none;
	color: var(--bh-grau);
}
.bh-search .bh-search__field input[type="text"] {
	display: block; width: 100%; height: 26px; margin: 0; padding: 0;
	border: 0 !important; border-radius: 0; box-shadow: none !important; outline: 0;
	background: transparent !important;
	font: 600 17px/26px var(--bh-font); color: var(--bh-dunkel);
	-webkit-appearance: none; appearance: none;
}
.bh-search .bh-search__field input[type="text"]::placeholder { color: #a39b94; font-weight: 500; opacity: 1; }

/* Fallback ohne JavaScript: natives Auswahlfeld, schlicht */
.bh-search select {
	display: block; width: 100%; height: 26px; margin: 0; padding: 0 22px 0 0;
	border: 0; outline: 0; background: transparent; border-radius: 0;
	font: 600 17px/26px var(--bh-font); color: var(--bh-dunkel);
	-webkit-appearance: none; appearance: none; cursor: pointer;
}
.bh-search.is-enhanced select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Eigenes Ausklapp-Menü (wird per JavaScript aus dem Auswahlfeld erzeugt) */
.bh-dd__btn {
	display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; height: 26px; margin: 0; padding: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
	font: 600 17px/26px var(--bh-font) !important; color: var(--bh-dunkel) !important;
	text-align: left; cursor: pointer;
}
.bh-dd__btn:focus { outline: none; }
.bh-dd__btn:focus-visible { outline: 2px solid var(--bh-rot); outline-offset: 4px; border-radius: 4px !important; }
.bh-dd__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-dd__chev { width: 16px; height: 16px; color: var(--bh-rot); flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.bh-search__field.is-open .bh-dd__chev { transform: rotate(180deg); }

.bh-dd__list {
	position: absolute; z-index: 50;
	top: calc(100% + 10px); left: 0;
	min-width: 100%; max-height: 300px; overflow-y: auto;
	margin: 0; padding: 8px; list-style: none;
	background: var(--bh-weiss);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(26, 18, 16, 0.22);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.25s;
}
.bh-search__field.is-open .bh-dd__list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
.bh-dd__opt {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 11px 14px; border-radius: 10px;
	font: 600 15px/1.3 var(--bh-font); color: var(--bh-dunkel);
	white-space: nowrap; cursor: pointer;
	transition: background 0.2s ease;
}
.bh-dd__opt:hover, .bh-dd__opt.is-active { background: var(--bh-creme); }
.bh-dd__opt[aria-selected="true"] { color: var(--bh-rot); }
.bh-dd__opt .bh-ico { width: 16px; height: 16px; color: var(--bh-rot); stroke-width: 2.6; visibility: hidden; }
.bh-dd__opt[aria-selected="true"] .bh-ico { visibility: visible; }

/* Suchen-Button: schwarz, weiße Schrift */
.bh-search .bh-search__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 64px; margin: 0; padding: 0 30px;
	border: 0 !important; border-radius: 12px !important;
	background: var(--bh-dunkel) !important; color: var(--bh-weiss) !important;
	font: 700 16px var(--bh-font); letter-spacing: 0.1px;
	cursor: pointer; white-space: nowrap; box-shadow: none;
	transition: background 0.3s ease;
}
.bh-search .bh-search__btn:hover, .bh-search .bh-search__btn:focus-visible { background: #000 !important; color: var(--bh-weiss) !important; }
.bh-search .bh-search__btn:focus { outline: none; }
.bh-search .bh-search__btn .bh-ico { width: 18px; height: 18px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.bh-search .bh-search__btn:hover .bh-ico { transform: scale(1.12); }
.bh-search--compact { box-shadow: none; margin: 0; }

/* Zähler unter der Suche */
.bh-hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bh-hero .bh-hero__stat,
.bh-hero .bh-hero__stat:visited,
.bh-hero .bh-hero__stat:hover {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 16px; border-radius: 999px;
	background: rgba(255,255,255,0.14);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: var(--bh-weiss) !important; text-decoration: none !important;
	font-size: 15px; font-weight: 500;
	transition: background 0.3s ease;
}
.bh-hero .bh-hero__stat:hover { background: rgba(255,255,255,0.24); }
.bh-hero__stat strong { font-weight: 800; }
.bh-hero__stat .bh-ico { width: 15px; height: 15px; opacity: 0.8; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.bh-hero__stat:hover .bh-ico { transform: translateX(3px); }

/* ---------- Kategorie-Kacheln ---------- */
.bh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bh-tile {
	display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
	background: var(--bh-weiss); border-radius: var(--bh-radius); padding: 24px;
	text-decoration: none; color: var(--bh-dunkel); min-height: 120px;
	transition: background 0.3s var(--bh-ease), color 0.3s var(--bh-ease);
}
.bh-tile__label { font-size: 19px; font-weight: 800; line-height: 1.25; }
.bh-tile__count { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--bh-grau); }
.bh-tile__count .bh-ico { color: var(--bh-rot); transition: transform 0.3s var(--bh-ease); }
.bh-tile:hover { background: var(--bh-rot); color: var(--bh-weiss); }
.bh-tile:hover .bh-tile__count, .bh-tile:hover .bh-tile__count .bh-ico { color: rgba(255,255,255,0.9); }
.bh-tile:hover .bh-tile__count .bh-ico { transform: translateX(4px); }

/* ---------- Jobkarten ---------- */
.bh-jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bh-job {
	display: flex; flex-direction: column;
	background: var(--bh-creme); border-radius: var(--bh-radius-lg); overflow: hidden;
	text-decoration: none; color: var(--bh-dunkel);
	transition: background 0.3s var(--bh-ease);
}
.bh-jsec--creme .bh-job { background: var(--bh-weiss); }
.bh-job:hover { background: #efe9e2; }
.bh-jsec--creme .bh-job:hover { background: #fbf9f6; }
.bh-job__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bh-rot); }
.bh-job__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--bh-ease); }
.bh-job:hover .bh-job__media img { transform: scale(1.04); }
.bh-job__media--empty { display: flex; align-items: center; justify-content: center; background: var(--bh-rot-dunkel); }
.bh-job__media--empty .bh-job__logo-big { width: 55%; height: 55%; object-fit: contain; background: var(--bh-weiss); border-radius: 12px; padding: 14px; }
.bh-job:hover .bh-job__media--empty .bh-job__logo-big { transform: none; }
.bh-job__badge {
	position: absolute; left: 14px; bottom: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--bh-weiss); color: var(--bh-rot);
	font-size: 12px; font-weight: 800; padding: 6px 12px 6px 10px; border-radius: 999px;
}
.bh-job__badge .bh-ico { width: 12px; height: 12px; }
.bh-job__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.bh-job__company { font-size: 13px; font-weight: 700; color: var(--bh-rot); }
.bh-job__title { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; color: var(--bh-dunkel); }
.bh-job__meta { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; color: var(--bh-grau); }
.bh-job__meta .bh-ico { width: 15px; height: 15px; color: var(--bh-rot); }

/* ---------- Leer-Zustand ---------- */
.bh-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 48px 24px; background: var(--bh-weiss); border-radius: var(--bh-radius-lg); color: var(--bh-grau); }
.bh-jsec--white .bh-empty { background: var(--bh-creme); }
.bh-empty__title { font-size: 20px; font-weight: 800; color: var(--bh-dunkel); margin: 0 0 8px; }
.bh-empty p { margin: 0; }
.bh-empty a { color: var(--bh-rot); }

/* ---------- So geht's ---------- */
.bh-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bh-how__step { background: var(--bh-weiss); border-radius: var(--bh-radius-lg); padding: 32px 28px; }
.bh-how__num { display: block; font-size: 44px; font-weight: 900; line-height: 1; color: var(--bh-rot); margin-bottom: 18px; letter-spacing: -0.015em; }
.bh-how__step h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--bh-dunkel); }
.bh-how__step p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--bh-grau); }

.bh-logos { margin-top: 72px; text-align: center; }
.bh-logos__title { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bh-grau); margin: 0 0 24px; }
.bh-logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.bh-logos__row a { display: flex; align-items: center; justify-content: center; width: 150px; height: 84px; padding: 16px; background: var(--bh-weiss); border-radius: var(--bh-radius); }
.bh-logos__row img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.bh-logos__row a:hover img { filter: none; opacity: 1; }

/* ---------- Teaser für Arbeitgeber ---------- */
.bh-employer-teaser { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.bh-employer-teaser .bh-text { margin: 0; }
.bh-employer-teaser__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 320px; justify-self: end; width: 100%; }

/* ---------- Kopfbereich Jobliste / Stelle / Portal ---------- */
.bh-jobs-head { position: relative; background: var(--bh-rot); color: var(--bh-weiss); padding: 150px 0 190px; overflow: hidden; }
.bh-jobs-head .bh-container { position: relative; z-index: 2; }
.bh-jobs-head__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.1; letter-spacing: -0.012em; margin: 0 0 28px; color: var(--bh-weiss); }
.bh-jobs-head--job .bh-jobs-head__title { margin-bottom: 0; }
.bh-jobs-head--portal { padding-bottom: 170px; }

.bh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bh-chip { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.12); color: var(--bh-weiss); text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.3s; }
.bh-chip:hover { background: rgba(255,255,255,0.22); }
.bh-chip.is-active { background: var(--bh-weiss); color: var(--bh-rot); }

.bh-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; color: var(--bh-grau); }
.bh-results-bar p { margin: 0; }
.bh-results-bar strong { color: var(--bh-dunkel); }
.bh-results-bar a { color: var(--bh-rot); font-weight: 600; }

.bh-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.bh-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bh-weiss); color: var(--bh-dunkel); text-decoration: none; font-weight: 700; padding: 0 12px; }
.bh-pagination .page-numbers.current { background: var(--bh-rot); color: var(--bh-weiss); }
.bh-pagination .dots { background: transparent; }

/* ---------- Stellenseite ---------- */
.bh-crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,0.7); }
.bh-crumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }
.bh-crumbs a:hover { color: var(--bh-weiss); }
.bh-jobhead { display: flex; align-items: center; gap: 22px; }
.bh-jobhead__logo { flex-shrink: 0; width: 88px; height: 88px; border-radius: 16px; background: var(--bh-weiss); display: flex; align-items: center; justify-content: center; padding: 12px; }
.bh-jobhead__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bh-jobhead__company { display: inline-block; margin-bottom: 6px; font-weight: 700; color: rgba(255,255,255,0.85); text-decoration: none; }
a.bh-jobhead__company:hover { color: var(--bh-weiss); }
.bh-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bh-facts li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.bh-facts a { color: var(--bh-weiss); }
.bh-facts .bh-ico { width: 16px; height: 16px; opacity: 0.85; }

.bh-jsec--job { padding-top: 56px; }
.bh-notice { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; background: var(--bh-weiss); border-left: 4px solid var(--bh-rot); border-radius: 10px; padding: 18px 22px; margin-bottom: 32px; }
.bh-notice a { color: var(--bh-rot); font-weight: 700; }

.bh-jobdetail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.bh-jobdetail__main > * + * { margin-top: 28px; }
.bh-jobdetail__intro { font-size: 18px; line-height: 1.7; color: var(--bh-dunkel); }
.bh-jobdetail__intro p { margin: 0 0 14px; }
.bh-jobdetail__block { background: var(--bh-weiss); border-radius: var(--bh-radius-lg); padding: 32px; }
.bh-jobdetail__block h2 { font-size: 22px; font-weight: 800; margin: 0 0 16px; color: var(--bh-dunkel); }
.bh-jobdetail__block p { color: var(--bh-grau); line-height: 1.7; }
.bh-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bh-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--bh-dunkel); }
.bh-ticks .bh-ico { width: 20px; height: 20px; color: var(--bh-rot); margin-top: 2px; stroke-width: 2.6; }
.bh-ticks--small li { font-size: 15px; }
.bh-company__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--bh-rot); font-weight: 700; text-decoration: none; }
.bh-company__link .bh-ico { width: 16px; height: 16px; }

.bh-jobdetail__aside { position: sticky; top: 110px; }
.bh-applycard { background: var(--bh-weiss); border-radius: var(--bh-radius-lg); padding: 28px; }
.bh-applycard__title { font-size: 22px; font-weight: 900; margin: 0 0 6px; }
.bh-applycard__text { font-size: 15px; color: var(--bh-grau); margin: 0 0 20px; line-height: 1.5; }
.bh-applycard__frist { font-size: 13px; color: var(--bh-grau); margin: 14px 0 0; text-align: center; }

/* Video */
.bh-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--bh-radius-lg); overflow: hidden; background: var(--bh-rot-tief); }
.bh-video--hoch { aspect-ratio: 9 / 16; max-width: 360px; }
.bh-video video, .bh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.bh-video__poster {
	position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	background-color: var(--bh-rot-dunkel); background-size: cover; background-position: center; color: var(--bh-weiss);
	font: 700 15px var(--bh-font);
}
.bh-video__poster::before { content: ''; position: absolute; inset: 0; background: rgba(26, 18, 16, 0.35); transition: background 0.3s; }
.bh-video__poster:hover::before { background: rgba(26, 18, 16, 0.2); }
.bh-video__play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--bh-weiss); color: var(--bh-rot); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--bh-ease); }
.bh-video__play .bh-ico { width: 28px; height: 28px; margin-left: 4px; }
.bh-video__poster:hover .bh-video__play { transform: scale(1.06); }
.bh-video__label { position: relative; }
.bh-video__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: var(--bh-rot-dunkel); color: var(--bh-weiss); }
.bh-video__consent[hidden], .bh-video__poster[hidden] { display: none; }
.bh-video__consent p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.55; }
.bh-video__consent a { color: var(--bh-weiss); }

/* Bewerbung */
.bh-apply { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.bh-apply__intro .bh-h2 { font-size: clamp(28px, 3.6vw, 40px); }
.bh-applyform { background: var(--bh-creme); border-radius: var(--bh-radius-lg); padding: 36px; }
.bh-applyform input[type="text"], .bh-applyform input[type="email"], .bh-applyform input[type="tel"], .bh-applyform textarea { background: var(--bh-weiss); border-color: transparent; }
.bh-optional { font-weight: 500; color: var(--bh-grau); }
.bh-label { font-size: 13px; font-weight: 700; color: var(--bh-dunkel); letter-spacing: 0.3px; }
.bh-file { position: relative; display: flex !important; align-items: center; gap: 14px; padding: 16px 18px; border: 2px dashed #d8d0c8; border-radius: 10px; background: var(--bh-weiss); cursor: pointer; font-weight: 500 !important; color: var(--bh-grau) !important; transition: border-color 0.3s; }
.bh-file:hover, .bh-file:focus-within { border-color: var(--bh-rot); }
.bh-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bh-file__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bh-creme); color: var(--bh-rot); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bh-file.has-file { border-style: solid; border-color: var(--bh-rot); color: var(--bh-dunkel) !important; }
.bh-form__row.has-error input, .bh-form__row.has-error textarea, .bh-form__row.has-error .bh-file { border-color: #a32319 !important; }
.bh-form__row.has-error .bh-check { color: #a32319; }
.bh-check a { color: var(--bh-rot); }

.bh-done { grid-column: 1 / -1; text-align: center; padding: 32px 8px; }
.bh-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--bh-rot); color: var(--bh-weiss); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; margin: 0 auto 18px; }
.bh-done__title { font-size: 24px; font-weight: 900; margin: 0 0 8px; color: var(--bh-dunkel); }
.bh-done p { color: var(--bh-grau); margin: 0; }

.bh-stickyapply { display: none; }

/* ---------- Unternehmensseite ---------- */
.bh-company-intro { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--bh-dunkel); margin-bottom: 48px; }

/* ---------- Portal ---------- */
.bh-portal__user { margin: -12px 0 0; color: rgba(255,255,255,0.8); font-size: 15px; }
.bh-portal__user a { color: var(--bh-weiss); }

.bh-login { max-width: 460px; margin: 0 auto; background: var(--bh-weiss); border-radius: var(--bh-radius-lg); padding: 40px; }
.bh-login h2 { font-size: 26px; font-weight: 900; margin: 0 0 8px; }
.bh-login > p { color: var(--bh-grau); margin: 0 0 20px; }
.bh-login form p { margin: 0 0 14px; }
.bh-login label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.bh-login input[type="text"], .bh-login input[type="password"] { width: 100%; padding: 14px 16px; border: 2px solid var(--bh-grau-hell); border-radius: 10px; font: 500 16px var(--bh-font); background: var(--bh-creme-warm); }
.bh-login input[type="text"]:focus, .bh-login input[type="password"]:focus { outline: none; border-color: var(--bh-rot); background: var(--bh-weiss); }
.bh-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--bh-grau); }
.bh-login .login-remember input { accent-color: var(--bh-rot); }
.bh-login input[type="submit"] { width: 100%; padding: 16px; border: 0; border-radius: 12px; background: var(--bh-rot); color: var(--bh-weiss); font: 700 16px var(--bh-font); cursor: pointer; transition: background 0.3s; }
.bh-login input[type="submit"]:hover { background: var(--bh-rot-hell); }
.bh-login__error { background: #fdecea; color: #a32319; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.bh-login__links { font-size: 14px; }
.bh-login__links a, .bh-login__hint a { color: var(--bh-rot); }
.bh-login__hint { font-size: 13px; color: var(--bh-grau); margin: 18px 0 0; }
.bh-portal__pick { display: flex; gap: 10px; }
.bh-portal__pick select { flex: 1; padding: 12px; border-radius: 10px; border: 2px solid var(--bh-grau-hell); font: 500 15px var(--bh-font); }

.bh-portal__stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 48px; }
.bh-stat { display: flex; flex-direction: column; gap: 8px; background: var(--bh-weiss); border-radius: var(--bh-radius); padding: 20px 22px; text-decoration: none; color: var(--bh-dunkel); transition: background 0.3s; }
.bh-stat:hover { background: #fbf9f6; }
.bh-stat.is-active { box-shadow: inset 0 0 0 2px var(--bh-rot); }
.bh-stat__state { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.bh-stat__state--on { background: #e6f4ea; color: #1e6b32; }
.bh-stat__state--off { background: var(--bh-creme); color: var(--bh-grau); }
.bh-stat__title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.bh-stat__nums { display: flex; gap: 18px; font-size: 14px; color: var(--bh-grau); }
.bh-stat__nums strong { color: var(--bh-dunkel); font-size: 18px; }

.bh-portal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bh-portal__bar h2 { font-size: 26px; font-weight: 900; margin: 0; display: flex; align-items: center; gap: 12px; }
.bh-pill { font-size: 13px; font-weight: 800; background: var(--bh-rot); color: var(--bh-weiss); padding: 4px 12px; border-radius: 999px; }
.bh-portal__filter { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-portal__filter select { padding: 10px 14px; border-radius: 10px; border: 0; background: var(--bh-weiss); font: 600 14px var(--bh-font); color: var(--bh-dunkel); cursor: pointer; }

.bh-apps { display: grid; gap: 10px; }
.bh-app { background: var(--bh-weiss); border-radius: var(--bh-radius); overflow: hidden; transition: opacity 0.3s; }
.bh-app__head { width: 100%; display: grid; grid-template-columns: 12px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--bh-dunkel); }
.bh-app__head:hover { background: #fbf9f6; }
.bh-app__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bh-grau-hell); }
.bh-app__dot--neu { background: var(--bh-rot); }
.bh-app__dot--gespraech { background: #c27c0e; }
.bh-app__dot--eingestellt { background: #1e6b32; }
.bh-app__dot--abgesagt { background: #b9b2ab; }
.bh-app__who { display: flex; flex-direction: column; min-width: 0; }
.bh-app__who strong { font-size: 16px; }
.bh-app__who span { font-size: 14px; color: var(--bh-grau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-app[data-status="neu"] .bh-app__who strong::after { content: 'Neu'; margin-left: 8px; font-size: 11px; font-weight: 800; background: var(--bh-rot); color: var(--bh-weiss); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.bh-app__status { font-size: 13px; font-weight: 700; color: var(--bh-grau); }
.bh-app__date { font-size: 13px; color: var(--bh-grau); white-space: nowrap; }
.bh-app__body { padding: 4px 22px 24px; }
.bh-app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 18px; border-top: 1px solid var(--bh-creme); }
.bh-app__contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bh-app__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--bh-dunkel); text-decoration: none; font-weight: 600; }
.bh-app__contact a .bh-ico { color: var(--bh-rot); }
.bh-app__contact a:hover { color: var(--bh-rot); }
.bh-app__cv { background: var(--bh-creme); padding: 10px 14px; border-radius: 10px; }
.bh-app__nocv { font-size: 14px; color: var(--bh-grau); }
.bh-app__msg { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--bh-dunkel); background: var(--bh-creme); padding: 14px 16px; border-radius: 10px; width: 100%; }
.bh-app__msg span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--bh-grau); margin-bottom: 4px; }
.bh-app__edit { display: flex; flex-direction: column; gap: 14px; }
.bh-app__edit label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.bh-app__edit select, .bh-app__edit textarea { padding: 12px 14px; border: 2px solid var(--bh-grau-hell); border-radius: 10px; font: 500 15px var(--bh-font); background: var(--bh-creme-warm); color: var(--bh-dunkel); }
.bh-app__edit textarea { resize: vertical; }
.bh-app__edit select:focus, .bh-app__edit textarea:focus { outline: none; border-color: var(--bh-rot); background: var(--bh-weiss); }
.bh-app__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bh-app__save { padding: 12px 24px; box-shadow: none; }
.bh-app__delete { background: none; border: 0; padding: 0; color: var(--bh-grau); font: 600 14px var(--bh-font); cursor: pointer; text-decoration: underline; }
.bh-app__delete:hover, .bh-app__delete.is-armed { color: #a32319; }
.bh-app__msgline { font-size: 14px; color: #1e6b32; font-weight: 600; }
.bh-portal__note { margin-top: 32px; font-size: 13px; color: var(--bh-grau); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bh-jobs-grid { grid-template-columns: repeat(2, 1fr); }
	.bh-jobdetail { grid-template-columns: 1fr; }
	.bh-jobdetail__aside { display: none; }
	.bh-apply { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
	.bh-search { grid-template-columns: 1fr 1fr; gap: 6px; }
	.bh-search .bh-search__field { background: var(--bh-creme); }
	.bh-search .bh-search__field:first-child { grid-column: 1 / -1; }
	.bh-search .bh-search__field + .bh-search__field::before { display: none; }
	.bh-search .bh-search__btn { grid-column: 1 / -1; min-height: 56px; }
	.bh-employer-teaser { grid-template-columns: 1fr; gap: 28px; }
	.bh-employer-teaser__actions { justify-self: start; }
	.bh-how { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.bh-jobs .bh-jsec { padding: 72px 0 150px; }
	.bh-jsec--list, .bh-jsec--job { padding-top: 40px; }
	.bh-hero--jobs { min-height: 0; padding: 130px 0 170px; }
	.bh-jobs-head { padding: 120px 0 160px; }
	.bh-jobs-grid { grid-template-columns: 1fr; }
	.bh-jobhead { flex-direction: column; align-items: flex-start; gap: 14px; }
	.bh-jobhead__logo { width: 64px; height: 64px; border-radius: 12px; padding: 8px; }
	.bh-facts li { font-size: 14px; padding: 8px 14px; }
	.bh-jobdetail__block { padding: 24px 20px; }
	.bh-applyform { padding: 24px 18px; }
	.bh-video--hoch { max-width: 100%; }
	.bh-stickyapply { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; transform: translateY(140%); transition: transform 0.35s var(--bh-ease); }
	.bh-stickyapply.is-visible { transform: none; }
	.bh-stickyapply .bh-btn { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
	.bh-login { padding: 28px 22px; }
	.bh-app__head { grid-template-columns: 10px 1fr auto; gap: 12px; padding: 16px; }
	.bh-app__date { display: none; }
	.bh-app__body { padding: 4px 16px 20px; }
	.bh-app__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
	.bh-search { grid-template-columns: 1fr; }
	.bh-search .bh-search__field:first-child { grid-column: auto; }
	.bh-dd__list { left: 0; right: 0; }
	.bh-results-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Formular-Feinschliff */
.bh-applyform > button[type="submit"] { grid-column: 1 / -1; }
.bh-form .bh-check { font-weight: 500; }
@media (max-width: 768px) {
	.bh-video--hoch { max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Okt 2026 – Feedback: linksbündig, ruhigere Schrift
   ============================================================ */

/* Hero linksbündig */
.bh-hero--jobs .bh-hero__content { max-width: 1240px; text-align: left; }
.bh-hero--jobs .bh-hero__title { text-align: left; max-width: 880px; }
.bh-hero--jobs .bh-hero__title-line + .bh-hero__title-line { margin-top: 10px; }
.bh-hero--jobs .bh-hero__hl { transform: rotate(-1deg); margin-left: -4px; }
.bh-hero--jobs .bh-hero__title-sub { margin-top: 22px; }
.bh-hero--jobs .bh-search { margin: 0; }

/* Abschnitt "Neu an Bord": alles linksbündig */
.bh-jsec--left .bh-section__head { text-align: left; margin-left: 0; max-width: none; margin-bottom: 40px; }
.bh-jsec--left .bh-jsec__more { text-align: left; }
.bh-jsec--left .bh-empty { text-align: left; margin-left: 0; }

/* Kicker in der Jobbörse: normale Schreibweise statt Versalien */
.bh-jobs .bh-kicker { font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; padding-left: 0; margin-bottom: 10px; }
.bh-jobs .bh-kicker::before { display: none; }

/* ============================================================
   Okt 2026 – Bereiche im Hero, weniger Luft an den Wellen
   ============================================================ */
.bh-hero--jobs { min-height: 0; padding: 140px 0 160px; }
.bh-jobs .bh-jsec { padding: 56px 0 150px; }
.bh-jsec--list, .bh-jsec--job { padding-top: 48px; }
.bh-jobs-head { padding-bottom: 150px; }
.bh-jobs-head--portal { padding-bottom: 150px; }

.bh-cats { margin-top: 40px; }
.bh-cats__title { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.bh-cats__viewport { container-type: inline-size; overflow: hidden; --per: 5; --gap: 12px; }
.bh-cats__track { display: flex; gap: var(--gap); width: max-content; }
.bh-cat {
	flex: 0 0 calc((100cqw - (var(--per) - 1) * var(--gap)) / var(--per));
	display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
	min-height: 84px; padding: 14px 16px; border-radius: 14px;
	background: rgba(255,255,255,0.12);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: var(--bh-weiss) !important; text-decoration: none !important;
	transition: background 0.3s ease, color 0.3s ease;
}
.bh-cat__label { font-size: 15px; font-weight: 700; line-height: 1.3; }
.bh-cat__count { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; opacity: 0.8; }
.bh-cat__count .bh-ico { width: 15px; height: 15px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.bh-cat:hover, .bh-cat:focus-visible { background: var(--bh-weiss); color: var(--bh-dunkel) !important; outline: none; }
.bh-cat:hover .bh-cat__count { opacity: 1; color: var(--bh-rot); }
.bh-cat:hover .bh-ico { transform: translateX(3px); }

/* Mehr Bereiche als Platz: langsam durchlaufen lassen, bei Hover anhalten */
.bh-cats.is-sliding .bh-cats__viewport {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.bh-cats.is-sliding .bh-cats__track { padding-right: var(--gap); animation: bh-cats-slide var(--dur, 30s) linear infinite; }
.bh-cats.is-sliding:hover .bh-cats__track,
.bh-cats.is-sliding:focus-within .bh-cats__track { animation-play-state: paused; }
@keyframes bh-cats-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.bh-cats.is-sliding .bh-cats__track { animation: none; }
	.bh-cats.is-sliding .bh-cats__viewport { overflow-x: auto; }
}
@media (max-width: 1000px) { .bh-cats__viewport { --per: 3; } }
@media (max-width: 600px)  { .bh-cats__viewport { --per: 2; --gap: 10px; } }
@media (max-width: 768px) {
	.bh-hero--jobs { padding: 120px 0 130px; }
	.bh-jobs .bh-jsec { padding: 40px 0 130px; }
	.bh-jsec--list, .bh-jsec--job { padding-top: 32px; }
	.bh-jobs-head { padding: 120px 0 130px; }
	.bh-cats { margin-top: 32px; }
}

/* ============================================================
   Portal: Selbstverwaltung (Okt 2026)
   ============================================================ */
.bh-jobs-head .bh-portal__user { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 0; color: rgba(255,255,255,0.85); font-size: 15px; }
.bh-jobs-head .bh-portal__logout,
.bh-jobs-head .bh-portal__logout:visited {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 20px; border-radius: 12px;
	background: rgba(255,255,255,0.14); color: var(--bh-weiss) !important; text-decoration: none !important;
	font-size: 15px; font-weight: 700; transition: background 0.3s ease;
}
.bh-jobs-head .bh-portal__logout:hover { background: var(--bh-weiss); color: var(--bh-rot) !important; }
.bh-portal__logout svg { width: 18px; height: 18px; }

.bh-ptabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 32px; padding: 6px; background: var(--bh-weiss); border-radius: 14px; width: fit-content; max-width: 100%; }
.bh-ptabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--bh-dunkel) !important; text-decoration: none !important; transition: background 0.25s ease; }
.bh-ptabs a:hover { background: var(--bh-creme); }
.bh-ptabs a.is-active { background: var(--bh-rot); color: var(--bh-weiss) !important; }
.bh-ptabs__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a100; }

.bh-flash { margin: 0 0 28px; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.bh-flash--ok { background: #e6f4ea; color: #1e6b32; }
.bh-flash--error { background: #fdecea; color: #a32319; }
.bh-flash--info { background: #fff4d6; color: #7a5300; }

.bh-pblock + .bh-pblock { margin-top: 64px; }
.bh-portal__baractions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bh-pcount { font-size: 15px; font-weight: 700; color: var(--bh-grau); background: var(--bh-weiss); border-radius: 999px; padding: 2px 12px; }
.bh-kont { font-size: 14px; color: var(--bh-grau); background: var(--bh-weiss); padding: 9px 14px; border-radius: 10px; }
.bh-kont strong { color: var(--bh-dunkel); }
.bh-btn--sm { padding: 11px 20px; font-size: 15px; }
.bh-psub { margin: 40px 0 14px; font-size: 18px; font-weight: 700; }
.bh-pinfo, .bh-portal__hint { font-size: 14px; color: var(--bh-grau); margin: 0 0 20px; }
.bh-portal__hint { margin: 18px 0 0; }
.bh-empty--left { text-align: left; margin: 0; max-width: none; padding: 28px; }

.bh-plist { display: grid; gap: 12px; }
.bh-prow { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--bh-weiss); border-radius: var(--bh-radius); padding: 20px 22px; }
.bh-prow--off { background: rgba(255,255,255,0.6); }
.bh-prow__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 320px; }
.bh-prow__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.bh-prow__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--bh-grau); }
.bh-prow__meta strong { color: var(--bh-dunkel); }
.bh-prow__meta a { color: var(--bh-grau); text-decoration: none; }
.bh-prow__meta a:hover { color: var(--bh-rot); }
.bh-prow__meta .is-soon, .bh-prow__meta .is-soon strong { color: #a35a00; }
.bh-prow__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bh-prow__actions form { margin: 0; }

.bh-pbtn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 9px 14px; border-radius: 10px; border: 0;
	background: var(--bh-creme); color: var(--bh-dunkel) !important; text-decoration: none !important;
	font: 600 14px var(--bh-font); cursor: pointer; white-space: nowrap; list-style: none;
	transition: background 0.25s ease, color 0.25s ease;
}
.bh-pbtn::-webkit-details-marker { display: none; }
.bh-pbtn:hover { background: #ebe5de; }
.bh-pbtn--dark { background: var(--bh-dunkel); color: var(--bh-weiss) !important; }
.bh-pbtn--dark:hover { background: #000; }
.bh-pbtn--quiet { background: transparent; color: var(--bh-grau) !important; }
.bh-pbtn--quiet:hover { background: var(--bh-creme); color: var(--bh-rot) !important; }
.bh-pbtn.is-armed { background: #fdecea; color: #a32319 !important; }

.bh-pcode { position: relative; }
.bh-pcode[open] > summary { background: var(--bh-dunkel); color: var(--bh-weiss) !important; }
.bh-pcode .bh-pcode__form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; gap: 8px; padding: 10px; background: var(--bh-weiss); border-radius: 12px; box-shadow: 0 14px 40px rgba(26,18,16,0.18); }
.bh-pcode__form input, .bh-pcodebox input {
	width: 170px; padding: 9px 12px; border: 2px solid var(--bh-grau-hell); border-radius: 10px;
	font: 600 14px var(--bh-font); letter-spacing: 0.5px; text-transform: uppercase; background: var(--bh-creme-warm);
}
.bh-pcode__form input:focus, .bh-pcodebox input:focus { outline: none; border-color: var(--bh-rot); background: var(--bh-weiss); }
.bh-pcode__form--inline { display: flex; gap: 8px; min-width: 0; }
.bh-pcode__form--inline input { min-width: 0; }

/* Formulare im Portal */
.bh-pform { background: var(--bh-weiss); border-radius: var(--bh-radius-lg); padding: 36px; }
.bh-pform .bh-form__row--split { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.bh-pform .bh-form__row--split > div { display: flex; flex-direction: column; gap: 6px; }
.bh-pform input[type="file"] { font: 500 14px var(--bh-font); color: var(--bh-grau); }
.bh-pform input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 14px; border: 0; border-radius: 10px; background: var(--bh-creme); color: var(--bh-dunkel); font: 600 14px var(--bh-font); cursor: pointer; }
.bh-hintinline { font-size: 13px; font-weight: 500; color: var(--bh-grau); letter-spacing: 0; }
.bh-pform .bh-check { margin-top: 6px; }
.bh-pimg { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.bh-pimg img { width: 140px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--bh-creme); }
.bh-pimg--logo img { width: 90px; height: 90px; object-fit: contain; padding: 8px; }
.bh-pcodebox { background: var(--bh-creme); border-radius: 14px; padding: 18px 20px; }
.bh-pcodebox__hint { margin: 0; font-size: 14px; color: var(--bh-grau); }
.bh-pcodebox input { width: 220px; }
.bh-pform__actions { flex-direction: row; align-items: center; gap: 12px; margin-top: 8px; }
.bh-pstate { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--bh-grau); }

.bh-chipset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bh-chipset legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.3px; color: var(--bh-dunkel); }
.bh-chipset__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-chipset label { position: relative; margin: 0; cursor: pointer; font-weight: 600; }
.bh-chipset input { position: absolute; opacity: 0; pointer-events: none; }
.bh-chipset span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--bh-creme); font-size: 14px; color: var(--bh-dunkel); transition: background 0.25s ease, color 0.25s ease; }
.bh-chipset label:hover span { background: #ebe5de; }
.bh-chipset input:checked + span { background: var(--bh-rot); color: var(--bh-weiss); }
.bh-chipset input:focus-visible + span { outline: 2px solid var(--bh-rot); outline-offset: 2px; }

.bh-plog { margin-top: 40px; }
.bh-plog ol { list-style: none; margin: 0; padding: 0; background: var(--bh-weiss); border-radius: var(--bh-radius); }
.bh-plog li { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; padding: 14px 20px; font-size: 14px; border-top: 1px solid var(--bh-creme); }
.bh-plog li:first-child { border-top: 0; }
.bh-plog__when { color: var(--bh-grau); }
.bh-plog__who { color: var(--bh-grau); text-align: right; }

@media (max-width: 768px) {
	.bh-pform { padding: 24px 18px; }
	.bh-prow { padding: 18px; }
	.bh-prow { display: grid; grid-template-columns: minmax(0, 1fr); }
	.bh-prow__main { flex: none; }
	.bh-prow__actions { width: 100%; min-width: 0; }
	.bh-prow__actions > form.bh-pcode__form--inline { flex: 1 1 100%; min-width: 0; }
	.bh-portal__filter { width: 100%; }
	.bh-portal__filter select { flex: 1 1 0; min-width: 0; max-width: 100%; }
	.bh-pcode { position: static; }
	.bh-pcode .bh-pcode__form { left: 12px; right: 12px; }
	.bh-pcode__form input { flex: 1; width: auto; min-width: 0; }
	.bh-pcode__form--inline { width: 100%; }
	.bh-plog li { grid-template-columns: 1fr; gap: 2px; }
	.bh-plog__who { text-align: left; }
	.bh-ptabs { width: 100%; }
	.bh-ptabs a { flex: 1; justify-content: center; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
}

/* Job-ID / Kurzlink */
.bh-shortlink {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; margin-top: 14px; padding: 10px 14px; border: 0; border-radius: 10px;
	background: var(--bh-creme); color: var(--bh-dunkel); font: 600 14px var(--bh-font);
	cursor: pointer; text-align: left; transition: background 0.25s ease;
}
.bh-shortlink:hover { background: #ebe5de; }
.bh-shortlink__state { font-size: 13px; font-weight: 600; color: var(--bh-rot); white-space: nowrap; }
.bh-shortlink.is-copied .bh-shortlink__state { color: #1e6b32; }
.bh-shortlink--small { width: auto; margin: 2px 0 0; padding: 4px 10px; font-size: 13px; font-weight: 500; color: var(--bh-grau); align-self: flex-start; }
.bh-notice--soft { margin-bottom: 20px; }

/* ============================================================
   Admin-Bereich im Portal
   ============================================================ */
.bh-adminbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 20px; padding: 12px 18px; border-radius: 12px; background: var(--bh-dunkel); color: var(--bh-weiss); font-size: 14px; }
.bh-adminbar span { flex: 1 1 280px; }
.bh-adminbar a { color: var(--bh-weiss) !important; font-weight: 600; text-decoration: none !important; opacity: 0.85; }
.bh-adminbar a:hover { opacity: 1; text-decoration: underline !important; }

.bh-aback { display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--bh-grau) !important; text-decoration: none !important; }
.bh-aback:hover { color: var(--bh-rot) !important; }
.bh-ah2 { margin: 0 0 18px; font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.bh-portal__bar .bh-ah2 { margin: 0; }
.bh-portal__bar--spaced { margin-top: 40px; }
.bh-ahint { font-size: 13px; color: var(--bh-grau); margin: 0; }

.bh-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.bh-kpi { display: flex; flex-direction: column; gap: 2px; padding: 20px; background: var(--bh-weiss); border-radius: var(--bh-radius); }
.bh-kpi__label { font-size: 13px; font-weight: 600; color: var(--bh-grau); min-height: 2.8em; }
.bh-kpi__num { font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--bh-dunkel); }
.bh-kpi__sub { font-size: 12px; color: var(--bh-grau); }
.bh-kpi:nth-child(-n+2) .bh-kpi__num { color: var(--bh-rot); }

.bh-aalert { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 16px 20px; border-radius: var(--bh-radius); background: #fff4d6; color: #5c3f00 !important; text-decoration: none !important; font-size: 15px; transition: background 0.25s ease; }
.bh-aalert:hover { background: #ffecb8; }
.bh-aalert .bh-ico { width: 22px; height: 22px; flex-shrink: 0; }
.bh-aalert span:nth-child(2) { flex: 1; }
.bh-aalert__go { font-weight: 700; white-space: nowrap; }

.bh-atiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.bh-atile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; min-height: 150px; background: var(--bh-weiss); border-radius: var(--bh-radius); color: var(--bh-dunkel) !important; text-decoration: none !important; transition: background 0.3s ease, color 0.3s ease; }
.bh-atile__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 12px; background: var(--bh-creme); color: var(--bh-rot); transition: background 0.3s ease, color 0.3s ease; }
.bh-atile__icon .bh-ico { width: 22px; height: 22px; }
.bh-atile__title { margin-top: 18px; font-size: 17px; font-weight: 700; }
.bh-atile__desc { font-size: 13px; color: var(--bh-grau); transition: color 0.3s ease; }
.bh-atile__badge { position: absolute; top: 18px; right: 18px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: #e0a100; color: var(--bh-weiss); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.bh-atile:hover { background: var(--bh-rot); color: var(--bh-weiss) !important; }
.bh-atile:hover .bh-atile__icon { background: rgba(255,255,255,0.16); color: var(--bh-weiss); }
.bh-atile:hover .bh-atile__desc { color: rgba(255,255,255,0.8); }

.bh-agrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.bh-acard { background: var(--bh-weiss); border-radius: var(--bh-radius); padding: 24px; }
.bh-acard h3 { margin: 0 0 18px; font-size: 17px; font-weight: 700; }
.bh-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 170px; margin-bottom: 14px; }
.bh-chart__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bh-chart__val { font-size: 11px; font-weight: 600; color: var(--bh-grau); }
.bh-chart__bar { width: 100%; max-width: 28px; background: #e6d6d4; border-radius: 6px 6px 2px 2px; }
.bh-chart__col.is-today .bh-chart__bar { background: var(--bh-rot); }
.bh-chart__day { font-size: 11px; color: var(--bh-grau); }
.bh-alist { list-style: none; margin: 0; padding: 0; }
.bh-alist li + li { border-top: 1px solid var(--bh-creme); }
.bh-alist a { display: flex; flex-direction: column; padding: 10px 0; color: var(--bh-dunkel) !important; text-decoration: none !important; }
.bh-alist a:hover strong { color: var(--bh-rot); }
.bh-alist strong { font-size: 15px; font-weight: 600; }
.bh-alist span { font-size: 13px; color: var(--bh-grau); }

/* Änderungswünsche */
.bh-wish + .bh-wish { margin-top: 14px; }
.bh-wish__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bh-wish__head h3 { margin: 0 0 2px; }
.bh-wish__actions { display: flex; gap: 8px; }
.bh-wish__actions form { margin: 0; }
.bh-diff__row { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--bh-creme); font-size: 14px; }
.bh-diff__label { font-weight: 700; }
.bh-diff__old { color: var(--bh-grau); text-decoration: line-through; text-decoration-color: rgba(107,101,96,0.4); }
.bh-diff__new { background: #eaf6ec; border-radius: 8px; padding: 2px 8px; }
.bh-diff img { width: 64px; height: 64px; object-fit: contain; background: var(--bh-creme); border-radius: 8px; }

/* Formulare, Tabellen, Filter */
.bh-aform { margin-bottom: 8px; }
.bh-pform select, .bh-afilter select, .bh-afilter input, .bh-asearch input, .bh-anewuser input, .bh-adminfields select, .bh-adminfields input {
	width: 100%; padding: 12px 14px; border: 2px solid var(--bh-grau-hell); border-radius: 10px;
	background: var(--bh-creme-warm); font: 500 15px var(--bh-font); color: var(--bh-dunkel);
}
.bh-pform select:focus, .bh-afilter input:focus, .bh-asearch input:focus, .bh-anewuser input:focus { outline: none; border-color: var(--bh-rot); background: var(--bh-weiss); }
.bh-pform input[type="number"], .bh-pform input[type="date"], .bh-pform input[type="search"] { width: 100%; padding: 14px 16px; border: 2px solid var(--bh-grau-hell); border-radius: 10px; font: 500 15px var(--bh-font); background: var(--bh-creme-warm); }
.bh-pform .bh-form__row--split2 { grid-template-columns: 1fr 1fr; }
.bh-asearch input { width: 220px; padding: 10px 14px; background: var(--bh-weiss); border-color: transparent; }
.bh-afilter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.bh-afilter input, .bh-afilter select { width: auto; flex: 1 1 180px; padding: 10px 14px; background: var(--bh-weiss); border-color: transparent; }
.bh-atable { overflow-x: auto; background: var(--bh-weiss); border-radius: var(--bh-radius); }
.bh-atable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bh-atable th { text-align: left; padding: 14px 16px; font-size: 12px; font-weight: 700; color: var(--bh-grau); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--bh-creme); white-space: nowrap; }
.bh-atable td { padding: 12px 16px; border-top: 1px solid var(--bh-creme); vertical-align: middle; }
.bh-atable tr:first-child td { border-top: 0; }
.bh-atable code { font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.5px; background: var(--bh-creme); padding: 5px 8px; border-radius: 6px; }
.bh-atable form { margin: 0; }
.bh-atable__actions { white-space: nowrap; text-align: right; }
.bh-ptabs--small { margin: 0; padding: 4px; }
.bh-ptabs--small a { padding: 7px 14px; font-size: 14px; }
.bh-newcodes { margin-bottom: 20px; }
.bh-newcodes pre { margin: 0 0 6px; padding: 16px; border-radius: 10px; background: var(--bh-creme); font: 700 17px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; white-space: pre-wrap; }

.bh-prow__main--logo { flex-direction: row; align-items: center; gap: 16px; }
.bh-alogo { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--bh-creme); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bh-alogo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bh-anewuser { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; background: rgba(255,255,255,0.6); }
.bh-adminfields { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bh-adminfields select { width: auto; }
.bh-adminfields__date { display: inline-flex; align-items: center; gap: 8px; font-weight: 600 !important; }
.bh-adminfields__date input { width: auto; }
.bh-pcodebox--admin { background: #efe9ff; }

/* Mail-Editor */
.bh-mailedit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bh-mailedit__form { grid-template-columns: 1fr; }
.bh-mailedit__preview { position: sticky; top: 96px; }
.bh-mailedit__preview iframe { width: 100%; height: 640px; margin-top: 8px; border: 0; border-radius: var(--bh-radius); background: var(--bh-creme); }
.bh-vars { margin-top: 6px; }
.bh-vars .bh-pbtn { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

.bh-pwform input[type="submit"] { margin-top: 6px; }
.bh-pwform__show { margin: -4px 0 12px; }
.bh-login .bh-flash { margin: 0 0 18px; font-size: 14px; }

@media (max-width: 1100px) {
	.bh-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bh-atiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-agrid, .bh-mailedit { grid-template-columns: 1fr; }
	.bh-mailedit__preview { position: static; }
}
@media (max-width: 600px) {
	.bh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bh-kpi { padding: 16px; }
	.bh-kpi__num { font-size: 28px; }
	.bh-atiles { gap: 8px; }
	.bh-atile { min-height: 130px; padding: 16px; }
	.bh-atile__title { font-size: 15px; }
	.bh-diff__row { grid-template-columns: 1fr; gap: 4px; }
	.bh-anewuser { grid-template-columns: 1fr; }
	.bh-asearch input { width: 100%; }
	.bh-chart { gap: 3px; }
	.bh-chart__val { display: none; }
	.bh-pform .bh-form__row--split2 { grid-template-columns: 1fr; }
}

/* Startseite: kleinere Unterzeile im Hero */
.bh-hero--jobs .bh-hero__title-sub--small { font-size: clamp(17px, 2vw, 22px); font-weight: 500; line-height: 1.45; letter-spacing: 0; max-width: 620px; margin-top: 24px; opacity: 0.92; }
.bh-employer-teaser .bh-text + .bh-text { margin-top: 14px; }
