/* WERBAGO Jobs – Frontend */
.wbj {
	--wbj-text: #1d1d1f;
	--wbj-muted: #6b6b70;
	--wbj-line: #e6e6e9;
	--wbj-bg-soft: #f7f7f8;
	--wbj-radius: 14px;
	--wbj-danger: #d92d20;
	--wbj-ok: #12825a;
	color: var(--wbj-text);
	font-size: 16px;
	line-height: 1.6;
	padding: 32px 0 64px;
	background: #fff;
}
.wbj *, .wbj *::before, .wbj *::after { box-sizing: border-box; }
.wbj-container { max-width: var(--wbj-width, 1350px); margin: 0 auto; padding: 0 20px; }
.wbj-narrow { max-width: 860px; }
.wbj-ico { flex: 0 0 auto; width: 20px; height: 20px; color: var(--wbj-muted); }

.wbj-back { display: inline-flex; align-items: center; gap: 6px; color: var(--wbj-muted); text-decoration: none; font-size: 14px; margin-bottom: 24px; }
.wbj-back:hover { color: var(--wbj-text); }
.wbj-back .wbj-ico { width: 16px; height: 16px; }

.wbj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }

.wbj-company { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.wbj-company small { display: block; color: var(--wbj-muted); font-weight: 400; font-size: 14px; }
.wbj-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }

.wbj .wbj-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--wbj-text); }

.wbj-facts { list-style: none; margin: 0; padding: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; border-bottom: 1px solid var(--wbj-line); }
.wbj-facts li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }

.wbj-content { padding-top: 24px; }
.wbj-section { margin-bottom: 28px; }
.wbj .wbj-section h2, .wbj .wbj-others h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--wbj-text); }
.wbj .wbj-section h3 { font-size: 18px; margin: 18px 0 8px; }
.wbj .wbj-section h4 { font-size: 16px; margin: 14px 0 6px; }
.wbj-section ul, .wbj-section ol { padding-left: 1.3em; margin: 0 0 14px; }
.wbj-section li { margin: 4px 0; }
.wbj-section p { margin: 0 0 12px; }

/* Buttons */
.wbj .wbj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--wbj-accent, #1f1f1f); color: #fff !important; border: 1px solid transparent;
	border-radius: 10px; padding: 13px 22px; font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: filter .15s, transform .05s;
}
.wbj .wbj-btn:hover { filter: brightness(1.15); }
.wbj .wbj-btn:active { transform: translateY(1px); }
.wbj .wbj-btn-block { width: 100%; }
.wbj .wbj-btn-ghost { background: #fff; color: var(--wbj-text) !important; border-color: var(--wbj-line); }
.wbj .wbj-btn-ghost:hover { background: var(--wbj-bg-soft); filter: none; }
.wbj .wbj-btn-sm { padding: 8px 14px; font-size: 14px; }
.wbj .wbj-btn-icon { color: var(--wbj-text) !important; flex: 0 0 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wbj-line) !important; border-radius: 10px; background: #fff; cursor: pointer; padding: 0; }
.wbj .wbj-btn-icon:hover, .wbj .wbj-btn-icon:focus { background: var(--wbj-bg-soft) !important; border-color: var(--wbj-line) !important; }

/* Seitenleiste */
.wbj-sticky { position: sticky; top: 24px; border: 1px solid var(--wbj-line); border-radius: var(--wbj-radius); padding: 24px; background: #fff; }
.wbj-actions { display: flex; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--wbj-line); }
.wbj-box { padding: 18px 0; border-bottom: 1px solid var(--wbj-line); }
.wbj-box:last-child { border-bottom: 0; padding-bottom: 0; }
.wbj .wbj-box h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px; color: var(--wbj-text); }
.wbj-detail { list-style: none; margin: 0; padding: 0; }
.wbj-detail li { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 15px; }
.wbj-detail li:last-child { margin-bottom: 0; }
.wbj-person { display: flex; align-items: center; gap: 12px; }
.wbj-person strong { display: block; }
.wbj-person small { display: block; color: var(--wbj-muted); font-size: 13px; }
.wbj-avatar { width: 44px; height: 44px; border-radius: 50%; background: #c2410c; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }

.wbj-apply-mobile { display: none; padding-top: 20px; }
.wbj-cta-inline { margin: 8px 0 40px; }

/* Über uns */
.wbj-about { border: 1px solid var(--wbj-line); border-radius: var(--wbj-radius); padding: 24px; margin: 8px 0 40px; }
.wbj-about-text { margin-top: 16px; position: relative; }
.wbj-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.wbj-social a { display: inline-block; padding: 6px 12px; border: 1px solid var(--wbj-line); border-radius: 999px; font-size: 14px; color: var(--wbj-text); text-decoration: none; }
.wbj-social a:hover { background: var(--wbj-bg-soft); }

/* Jobkarten */
.wbj-jobcards { display: grid; gap: 12px; }
.wbj .wbj-jobcard { display: block; border: 1px solid var(--wbj-line); border-radius: var(--wbj-radius); padding: 18px 20px; text-decoration: none; color: var(--wbj-text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.wbj .wbj-jobcard:hover { border-color: #c9c9ce; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.wbj-jobcard-title { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.wbj-jobcard-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--wbj-muted); font-size: 14px; }
.wbj-jobcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.wbj-jobcard-meta .wbj-ico { width: 16px; height: 16px; }
.wbj-jobcard-initiative { border-style: dashed !important; }
.wbj-link { display: inline-block; margin-top: 16px; color: var(--wbj-text); font-weight: 600; }
.wbj-jobid { color: var(--wbj-muted); font-size: 13px; margin-top: 24px; }

/* Übersicht */
.wbj-archive-head { margin-bottom: 28px; }
.wbj-archive-intro { color: var(--wbj-muted); max-width: 720px; }
.wbj-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.wbj-search { position: relative; display: block; }
.wbj-search .wbj-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; }
.wbj .wbj-filters input, .wbj .wbj-filters select { width: 100%; height: 46px; border: 1px solid var(--wbj-line); border-radius: 10px; padding: 0 12px; font-size: 15px; background: #fff; color: var(--wbj-text); }
.wbj .wbj-search input { padding-left: 38px; }
.wbj-empty { color: var(--wbj-muted); padding: 24px 0; }

/* Bewerbungsformular */
.wbj-apply-head { margin-bottom: 24px; }
.wbj-apply-head .wbj-title { font-size: clamp(24px, 3.2vw, 32px); }
.wbj-card-section { border: 1px solid var(--wbj-line); border-radius: var(--wbj-radius); padding: 24px; margin-bottom: 16px; background: #fff; }
.wbj .wbj-card-section h2 { font-size: 20px; font-weight: 700; margin: 0 0 18px; color: var(--wbj-text); }
.wbj-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.wbj-field:last-child { margin-bottom: 0; }
.wbj-label, .wbj-field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.wbj-req { color: var(--wbj-danger); }
.wbj-opt { color: var(--wbj-muted); font-weight: 400; font-size: 14px; }
.wbj .wbj-field input[type="text"], .wbj .wbj-field input[type="email"], .wbj .wbj-field input[type="tel"],
.wbj .wbj-field input[type="url"], .wbj .wbj-field input[type="number"], .wbj .wbj-field input[type="date"], .wbj .wbj-field select {
	width: 100%; height: 48px; border: 1px solid #d4d4d8; border-radius: 10px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--wbj-text); box-shadow: none;
}
.wbj .wbj-field input:focus, .wbj .wbj-field select:focus { outline: 2px solid var(--wbj-accent, #1f1f1f); outline-offset: 1px; border-color: transparent; }
.wbj-mt { margin-top: 8px; }
.wbj-choice { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; font-weight: 400; cursor: pointer; }
.wbj-choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--wbj-accent, #1f1f1f); flex: 0 0 auto; }
.wbj-consent { font-size: 14px; color: var(--wbj-muted); }
.wbj-consent a { color: var(--wbj-text); }
.wbj-yesno { display: flex; gap: 10px; }
.wbj-pillchoice { position: relative; cursor: pointer; }
.wbj-pillchoice input { position: absolute; opacity: 0; pointer-events: none; }
.wbj-pillchoice span { display: inline-block; min-width: 90px; text-align: center; padding: 10px 18px; border: 1px solid #d4d4d8; border-radius: 10px; font-weight: 500; }
.wbj-pillchoice input:checked + span { background: var(--wbj-accent, #1f1f1f); color: #fff; border-color: transparent; }
.wbj-pillchoice input:focus-visible + span { outline: 2px solid var(--wbj-accent, #1f1f1f); outline-offset: 2px; }

.wbj-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border: 1.5px dashed #c9c9ce; border-radius: 12px; padding: 22px 16px; background: var(--wbj-bg-soft); cursor: pointer; transition: border-color .15s, background .15s; }
.wbj-drop:hover, .wbj-drop.is-over { border-color: var(--wbj-accent, #1f1f1f); background: #fff; }
.wbj-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wbj-drop small { color: var(--wbj-muted); }
.wbj-drop.has-file { border-style: solid; border-color: var(--wbj-ok); background: #f0fbf6; }
.wbj-drop.has-file .wbj-ico { color: var(--wbj-ok); }

.wbj-photo { position: relative; display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.wbj-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wbj-photo-preview { width: 64px; height: 64px; border-radius: 50%; background: var(--wbj-bg-soft); border: 1px solid var(--wbj-line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.wbj-photo-preview img { width: 100%; height: 100%; object-fit: cover; }

.wbj-error { display: block; color: var(--wbj-danger); font-size: 14px; margin-top: 6px; }
.wbj-error:empty { display: none; }
.wbj-field.has-error input:not([type="radio"]):not([type="checkbox"]), .wbj-field.has-error select, .wbj-field.has-error .wbj-drop { border-color: var(--wbj-danger); }
.wbj-alert { background: #fef3f2; border: 1px solid #fecdca; color: #912018; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; }
.wbj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wbj-submit { margin-top: 18px; position: relative; }
.wbj-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: wbj-spin .7s linear infinite; }
.wbj-submit.is-loading .wbj-spinner { display: inline-block; }
.wbj-submit.is-loading { pointer-events: none; opacity: .85; }
@keyframes wbj-spin { to { transform: rotate(360deg); } }

.wbj-success { text-align: center; border: 1px solid var(--wbj-line); border-radius: var(--wbj-radius); padding: 48px 24px; }
.wbj-success-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #e8f7f0; align-items: center; justify-content: center; margin-bottom: 12px; }
.wbj-success-icon .wbj-ico { width: 32px; height: 32px; color: var(--wbj-ok); }
.wbj .wbj-success h2 { font-size: 24px; margin: 0 0 8px; }
.wbj-success p { color: var(--wbj-muted); margin: 0 0 24px; }

.wbj-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1d1d1f; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; z-index: 9999; }

[hidden] { display: none !important; }

@media (max-width: 960px) {
	.wbj-layout { grid-template-columns: 1fr; gap: 24px; }
	.wbj-side { order: 2; }
	.wbj-sticky { position: static; }
	.wbj-apply-mobile { display: block; }
	.wbj-filters { grid-template-columns: 1fr 1fr; }
	.wbj-search { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.wbj { padding-top: 20px; }
	.wbj-container { padding: 0 16px; }
	.wbj-filters { grid-template-columns: 1fr; }
	.wbj-card-section, .wbj-about, .wbj-sticky { padding: 18px; }
	.wbj-facts { gap: 8px 18px; }
}

/* Terminbuchung */
.wbj-booking-desc p { margin: 0 0 10px; }
.wbj-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.wbj .wbj-day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 78px; padding: 10px 8px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; color: var(--wbj-text); cursor: pointer; font: inherit; }
.wbj .wbj-day span { font-size: 13px; color: var(--wbj-muted); }
.wbj .wbj-day small { font-size: 11px; color: var(--wbj-muted); }
.wbj .wbj-day.is-active { border-color: var(--wbj-accent, #1f1f1f); box-shadow: 0 0 0 1px var(--wbj-accent, #1f1f1f); }
.wbj-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 18px; }
.wbj-time { position: relative; cursor: pointer; margin: 0; }
.wbj-time input { position: absolute; opacity: 0; }
.wbj-time span { display: block; text-align: center; padding: 10px 0; border: 1px solid #d4d4d8; border-radius: 10px; font-weight: 500; }
.wbj-time input:checked + span { background: var(--wbj-accent, #1f1f1f); color: #fff; border-color: transparent; }
.wbj-time input:focus-visible + span { outline: 2px solid var(--wbj-accent, #1f1f1f); outline-offset: 2px; }
.wbj .wbj-book-btn:disabled { opacity: .5; cursor: not-allowed; }
.wbj-success form { margin-top: 18px; }

/* Bewerbungs- & Buchungsseite: volle Seitenbreite wie der Rest der Website */
@media (min-width: 900px) {
	.wbj-apply .wbj-form .wbj-card-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
	.wbj-apply .wbj-form .wbj-card-section > * { grid-column: 1 / -1; }
	.wbj-apply .wbj-form .wbj-card-section > .wbj-field:has(> input[type="text"], > input[type="email"], > input[type="tel"], > input[type="number"], > input[type="date"], > select) { grid-column: auto; }
	.wbj-apply .wbj-form .wbj-card-section > .wbj-field:last-child { margin-bottom: 18px; }
	.wbj-booking .wbj-days { flex-wrap: wrap; }
}

/* Theme-Button-Farben (Rosa) auf Plugin-Seiten neutralisieren */
.wbj .wbj-day:hover, .wbj .wbj-day:focus, .wbj .wbj-day:active { background: #fff; color: var(--wbj-text); border-color: var(--wbj-accent, #1f1f1f); outline: none; }
.wbj .wbj-day:focus-visible { box-shadow: 0 0 0 2px var(--wbj-accent, #1f1f1f); }
.wbj .wbj-btn:hover, .wbj .wbj-btn:focus { background-color: var(--wbj-accent, #1f1f1f); color: #fff; }
.wbj .wbj-btn-ghost:hover, .wbj .wbj-btn-ghost:focus { background-color: var(--wbj-bg-soft, #f4f4f5); color: var(--wbj-text); }

/* Kurzbewerbung */
.wbj-quick-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.wbj-quick-switch label { position: relative; cursor: pointer; margin: 0; }
.wbj-quick-switch input { position: absolute; opacity: 0; }
.wbj-quick-switch span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid #d4d4d8; border-radius: 12px; background: #fff; }
.wbj-quick-switch strong { font-size: 16px; color: var(--wbj-text); }
.wbj-quick-switch small { color: var(--wbj-muted); font-size: 13px; }
.wbj-quick-switch input:checked + span { border-color: var(--wbj-accent, #1f1f1f); box-shadow: 0 0 0 1px var(--wbj-accent, #1f1f1f); }
.wbj-quick-switch input:focus-visible + span { outline: 2px solid var(--wbj-accent, #1f1f1f); outline-offset: 2px; }
.wbj-form.is-quick .wbj-qhide { display: none !important; }
.wbj-form:not(.is-quick) [data-quick-only] { display: none !important; }
.wbj-form:not(.is-quick) .wbj-qreq, .wbj-form:not(.is-quick) .wbj-qnote { display: none; }
.wbj-form.is-quick [data-quick-required] .wbj-opt { display: none; }
.wbj-form.is-quick .wbj-qdocs h2::after { content: " (optional)"; font-weight: 400; color: var(--wbj-muted); font-size: 15px; }
.wbj-form.is-quick .wbj-qopt .wbj-req { display: none; }
.wbj-qnote { color: var(--wbj-muted); font-weight: 400; font-size: 13px; }
@media (max-width: 560px) { .wbj-quick-switch { grid-template-columns: 1fr; } }
/* Kategorie-Reiter (Start: „Alle Jobs“) */
.wbj-cats { margin: 0 0 18px; }
.wbj-cats-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wbj .wbj-cat { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 14px 0 16px; border: 1px solid var(--wbj-line); border-radius: 999px; background: #fff; color: var(--wbj-text); font: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; box-shadow: none; text-transform: none; letter-spacing: 0; transition: background .15s, border-color .15s, color .15s; }
.wbj .wbj-cat:hover, .wbj .wbj-cat:focus { background: var(--wbj-bg-soft); color: var(--wbj-text); border-color: #c9c9ce; outline: none; }
.wbj .wbj-cat:focus-visible { outline: 2px solid var(--wbj-accent, #1d1d1f); outline-offset: 2px; }
.wbj .wbj-cat.is-active, .wbj .wbj-cat.is-active:hover, .wbj .wbj-cat.is-active:focus { background: var(--wbj-accent, #1d1d1f); border-color: var(--wbj-accent, #1d1d1f); color: #fff; }
.wbj-cat-n { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--wbj-bg-soft); color: var(--wbj-muted); font-size: 12.5px; font-weight: 600; }
.wbj-cat.is-active .wbj-cat-n { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 640px) {
	.wbj-cats { margin: 0 0 14px; }
	.wbj-cats-row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.wbj-cats-row::-webkit-scrollbar { display: none; }
}
