/*
Theme Name: Elementra Child Theme
Theme URI: https://elementra.themerex.net/
Description: Elementra is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 2.0.1
Tested up to: 7.0
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
Template: elementra
*/

html {
  -webkit-hyphens: auto;   /* Safari braucht weiterhin das Präfix */
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4; /* optional: erst ab 8 Zeichen, min. 4 vor/nach dem Trennstrich */
}

/* Bereiche, die nicht getrennt werden sollen */
h1, h2, nav, .btn, code, pre, a[href^="mailto:"] {
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* ==========================================================================
   Job-Portal (Plugin «Job Postings» von BlueGlass) – Stellen-Detailseite
   ========================================================================== */

/* Schriftfarbe der Seite */
body,
.job-post,
.job-post .jobs-row-label,
.job-post .jobs-row-input,
.job-post .jobs-row-input * {
	color: #151E20;
}

/* Zwischentitel (Beschreibung, Zuständigkeiten, Qualifikationen …):
   entspricht dem Theme-Stil h5 (Roboto, 23px / 600), keine Unterstreichung */
.job-post .jobs-row .jobs-row-label {
	font-family: Roboto, sans-serif;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}
.job-post .jobs-row .jobs-row-label span {
	border-bottom: 0;
	padding-bottom: 0;
	text-decoration: none;
}

/* Link «Als PDF exportieren» – gleiche Optik wie Button «Stelleninserat herunterladen» */
.job-post .job-pdf-export {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 12px 10px;
	border: 0;
	border-radius: 30px;
	background-color: #8b2928;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 25px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.5s ease;
}
.job-post .job-pdf-export:hover,
.job-post .job-pdf-export:focus {
	background-color: #6f2120;
	color: #fff;
	text-decoration: none;
}
/* Kein Icon */
.job-post .job-pdf-export svg,
.job-post .job-pdf-export img {
	display: none;
}

/* Alle Titel in Roboto (Sora nur im Fliesstext).
   Das Plugin setzt font-family per !important auf «inherit» → hier ebenfalls !important */
h1, h2, h3, h4, h5, h6,
.job-listing .job-preview .job-content h5,
.job-post .jobs-row .jobs-row-label,
.job-post .jobs-row.position_title .jobs-row-input,
.jobs-modal-form .modal-title,
.jobs-modal-form .modal-title-small,
.jobs-row-apply .jobs-modal-form h3,
.jobs-modal-form .jobs-section-row .jobs-section-heading {
	font-family: Roboto, sans-serif !important;
}

/* Aufzählungen: Bullets linksbündig mit den Zwischentiteln,
   umbrochene Zeilen sind eingerückt */
.job-post .jobs-row .jobs-row-input ul,
.job-post .jobs-row .jobs-row-input ol {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
.job-post .jobs-row .jobs-row-input li {
	position: relative;
	list-style: none;
	padding-left: 1.25em;
}
.job-post .jobs-row .jobs-row-input ul > li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	top: 0;
}

/* ==========================================================================
   Stellen-Detailseite: Layout an «Über uns» angelehnt
   (Hintergrund #e9e9e9, Container 1290px, 150px Abstand oben/unten)
   ========================================================================== */

body.jobs-template-default .page_content_wrap {
	background-color: #e9e9e9;
	padding-top: 150px;
	padding-bottom: 150px;
}

/* Inhalt linksbündig im 1290px-Container statt schmal zentriert */
body.jobs-template-default .page_content_wrap .content,
body.jobs-template-default:not(.expand_content) .page_content_wrap [class*="content_wrap"] > .content {
	width: 100%;
	max-width: 100%;
	float: none;
	margin-left: 0;
	margin-right: 0;
}
body.jobs-template-default .page_content_wrap .job-post {
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
}
/* Zweispaltiges Grid: Titel über die volle Breite, darunter Inhalt links und
   Seitenleiste rechts – so beginnt die Seitenleiste exakt auf Höhe von «Beschreibung».
   display: contents macht die Zeilen des Plugins zu direkten Grid-Elementen. */
body.jobs-template-default .page_content_wrap .job-post {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	column-gap: 80px;
	align-items: start;
}
body.jobs-template-default .job-post::before,
body.jobs-template-default .job-post::after {
	display: none; /* Clearfix des Plugins */
}
body.jobs-template-default .page_content_wrap .job-post .job-content,
body.jobs-template-default .page_content_wrap .job-post .job-content > .job-content-wrap {
	display: contents;
}
body.jobs-template-default .job-post > .clearfix,
body.jobs-template-default .job-post > .job-content-wrap:empty {
	display: none;
}
body.jobs-template-default .job-post .job-content .jobs-row,
body.jobs-template-default .job-post .job-content .jobs-row-apply {
	grid-column: 1;
}
body.jobs-template-default .job-post .job-content .jobs-row.position_title {
	grid-column: 1 / -1;
	grid-row: 1;
}

/* Zweiter Teil des Titels (m/w/d, Pensum, Ort) beginnt in einer neuen Zeile – siehe functions.php */
body.jobs-template-default .job-post .position_title .job-title-suffix {
	display: block;
}
body.jobs-template-default .page_content_wrap .job-post .job-content-wrap {
	padding: 0;
}

/* Textbreite für gute Lesbarkeit begrenzen, Titel darf voll ausladen */
body.jobs-template-default .job-post .jobs-row {
	max-width: 820px;
	margin: 0 0 40px;
}
body.jobs-template-default .job-post .jobs-row.position_title {
	max-width: none;
	margin-bottom: 30px;
}

/* «Stellenbezeichnung» als Eyebrow-Label (wie «DAS IST ELPROM») */
body.jobs-template-default .job-post .jobs-row.position_title .jobs-row-label {
	margin-bottom: 12px;
	font-family: Sora, sans-serif !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Stellentitel wie H1 auf «Über uns» */
body.jobs-template-default .job-post .jobs-row.position_title .jobs-row-input {
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 600;
	line-height: 1.1;
}

/* Buttons nicht über die volle Textbreite ziehen */
body.jobs-template-default .job-post .jobs-row-button,
body.jobs-template-default .job-post .jobs-row-inset,
body.jobs-template-default .job-post .jobs-row-apply {
	max-width: 420px;
}

/* Seitenleiste (Start, Dauer, Arbeitsort, Arbeitszeiten) einblenden –
   im Plugin ist sie per «.job-side { display: none }» ausgeblendet */
body.jobs-template-default .page_content_wrap .job-post .job-side {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	grid-column: 2;
	grid-row: 2 / span 20;
}
body.jobs-template-default .job-post .job-side .job-content-wrap {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}
body.jobs-template-default .job-post .job-side .jobs-row {
	max-width: none;
	margin: 0 0 28px;
}
/* Seitenleiste im Stil von elprom.ch: Icon oben, darunter der Wert.
   Reihenfolge: Anstellung (Koffer), Arbeitszeit (Uhr), Start (Rakete), Ort (Standort) */
body.jobs-template-default .job-post .job-side .job-content-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
body.jobs-template-default .job-post .job-side .jobs-row {
	margin: 0;
}
body.jobs-template-default .job-post .job-side .jobs-row::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}
body.jobs-template-default .job-post .job-side .position_employment_duration { order: 1; }
body.jobs-template-default .job-post .job-side .position_work_hours         { order: 2; }
body.jobs-template-default .job-post .job-side .position_employment_begining { order: 3; }
body.jobs-template-default .job-post .job-side .position_job_location       { order: 4; }

body.jobs-template-default .job-post .job-side .position_employment_duration::before  { background-image: url("/wp-content/uploads/2026/09/Icon_koffer.avif"); }
body.jobs-template-default .job-post .job-side .position_work_hours::before           { background-image: url("/wp-content/uploads/2026/09/Icon_uhr.avif"); }
body.jobs-template-default .job-post .job-side .position_employment_begining::before  { background-image: url("/wp-content/uploads/2026/09/Icon_Rakete.avif"); }
body.jobs-template-default .job-post .job-side .position_job_location::before         { background-image: url("/wp-content/uploads/2026/09/Icon_Standort.avif"); }

/* Labels nur noch für Screenreader, Plugin-eigene Inline-Icons ausblenden */
body.jobs-template-default .job-post .job-side .jobs-row .jobs-row-label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
body.jobs-template-default .job-post .job-side .jobs-row-input svg {
	display: none;
}

@media (max-width: 767px) {
	body.jobs-template-default .page_content_wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* «Leistungen der Anstellung»: kleine Sterne statt Bullet-Points */
body.jobs-template-default .job-post .position_job_benefits .jobs-row-input li {
	padding-left: 1.6em;
}
body.jobs-template-default .job-post .position_job_benefits .jobs-row-input ul > li::before {
	content: "\2605";
	color: #8b2928;
	font-size: 0.7em;
	line-height: inherit;
	top: 0.05em;
}

/* ==========================================================================
   Bewerbungs-Formular (Popup «Jetzt bewerben»)
   ========================================================================== */

/* Popup hellgrau, damit die weissen Felder leuchten */
body .jobs-modal .jobs-modal-content {
	background: #e9e9e9;
}

/* Schliessen-Button: kleines weisses X, mittig im roten Kreis */
body .jobs-modal .jobs-modal-content .modal-close {
	display: flex;
	align-items: center;
	justify-content: center;
}
body .jobs-modal .jobs-modal-content .modal-close img {
	display: block;
	width: 12px;
	height: 12px;
	filter: brightness(0) invert(1);
}

/* Textfelder: weiss, ohne Rahmen, Pill-Look */
body .jobs-modal .jobs-modal-form .modal-input-text {
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}
body .jobs-modal .jobs-modal-form textarea.modal-input-text {
	border-radius: 24px;
}
/* Fokus sichtbar lassen, da der Rahmen entfällt */
body .jobs-modal .jobs-modal-form .modal-input-text:focus {
	outline: 2px solid #8b2928;
	outline-offset: 2px;
}

/* Anhang-Felder («Motivationsschreiben», «Lebenslauf»): keine Box, nur der Button mit «+» */
body .jobs-modal .jobs-modal-form .modal-input-fileinput,
body .jobs-modal .jobs-modal-form .modal-input-fileinput.multiple {
	background: transparent;
	padding: 0;
	border: 0;
	border-radius: 0;
}
body .jobs-modal .jobs-modal-form .choose_file,
body .jobs-modal .jobs-modal-form .choose_file_multi_add {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1;
}
/* Einfaches «+» statt des Plugin-Icons */
body .jobs-modal .jobs-modal-form .choose_file::before,
body .jobs-modal .jobs-modal-form .choose_file_multi_add::before {
	content: "+";
	position: relative;
	top: -1px;
	margin-right: 10px;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
}
body .jobs-modal .jobs-modal-form .choose_file .add,
body .jobs-modal .jobs-modal-form .choose_file_multi_add .add {
	display: none;
}

/* «Bewerbung einreichen» linksbündig am Formular */
body .jobs-modal .jobs-modal-footer {
	text-align: left;
}

/* Datenschutzhinweis über «Bewerbung einreichen» (siehe functions.php) */
body .jobs-modal .jobs-modal-footer .job-privacy-notice {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #151e20;
}
body .jobs-modal .jobs-modal-footer .job-privacy-notice a {
	color: #8b2928;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body .jobs-modal .jobs-modal-footer .job-privacy-notice a:hover,
body .jobs-modal .jobs-modal-footer .job-privacy-notice a:focus-visible {
	color: #6f2120;
}

/* Popup-Titel: Umbruch vor m/w/d (siehe functions.php) */
.jobs-modal .modal-title .job-title-suffix {
	display: block;
}

/* Formular-Feinschliff: Abstand zu den Labels, dunklere Placeholder */
body .jobs-modal .jobs-modal-form .jobs-modal-input .input-label {
	margin-bottom: 10px;
}
body .jobs-modal .jobs-modal-form .modal-input-text::placeholder {
	color: #6b7375;
	opacity: 1;
}

/* «+ Anhängen»: Schrift und Breite wie «Bewerbung einreichen», Outline-Stil, beim Hover gefüllt */
body .jobs-modal .jobs-modal-form .choose_file,
body .jobs-modal .jobs-modal-form .choose_file_multi_add {
	justify-content: center;
	box-sizing: border-box;
	width: 255px;
	padding: 10px 35px;
	border: 2px solid #8b2928;
	background: transparent;
	color: #8b2928;
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
body .jobs-modal .jobs-modal-form .choose_file:hover,
body .jobs-modal .jobs-modal-form .choose_file_multi_add:hover,
body .jobs-modal .jobs-modal-form .choose_file:focus-within {
	background: #8b2928;
	color: #fff;
}
body .jobs-modal .jobs-modal-form .choose_file::before,
body .jobs-modal .jobs-modal-form .choose_file_multi_add::before {
	font-size: 24px;
	font-weight: 400;
	top: -1px;
}

/* Mehr Abstand zwischen den Formular-Elementen */
body .jobs-modal .jobs-modal-form .jobs-modal-input {
	margin-bottom: 32px;
}
/* Abstand vor «Bewerbung einreichen» = Abstand zwischen den Elementen (32px + 8px) */
body .jobs-modal .jobs-modal-footer {
	margin-top: 8px;
}

/* Textfelder gleich hoch wie die Buttons (49px), Schrift wie bei den Buttons (16px) */
body .jobs-modal .jobs-modal-form input.modal-input-text {
	box-sizing: border-box;
	height: 49px;
	padding: 12px 24px;
	font-size: 16px;
	line-height: 25px;
}
body .jobs-modal .jobs-modal-form textarea.modal-input-text {
	box-sizing: border-box;
	padding: 12px 24px;
	font-size: 16px;
	line-height: 25px;
}

/* ==========================================================================
   Formular-Zustände: Pflichtfelder, Fehler, angehängte Dateien, Laden, Erfolg
   ========================================================================== */

:root {
	--elprom-error: #c0342b;
}

/* Pflichtfeld nicht ausgefüllt: roter Ring statt Rahmen (Rahmen ist entfernt) */
body .jobs-modal .jobs-modal-form .modal-input-text.jobs-alert {
	box-shadow: 0 0 0 2px var(--elprom-error);
}
body .jobs-modal .jobs-modal-form .jobs-modal-input.jobs-alert .input-label {
	color: var(--elprom-error);
}
body .jobs-modal .jobs-modal-form .jobs-modal-input.jobs-alert .modal-input-fileinput .choose_file,
body .jobs-modal .jobs-modal-form .jobs-modal-input.jobs-alert .modal-input-fileinput .choose_file_multi_add {
	border-color: var(--elprom-error);
	color: var(--elprom-error);
}

/* Hinweise zu Dateien (Format/Grösse) und Absende-Fehler */
body .jobs-modal .jobs-modal-form .jobs-modal-input p.validation {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--elprom-error);
}
body .jobs-modal .jobs-modal-form .jobs-modal-input p.message {
	margin-top: 8px;
	font-size: 14px;
	color: #6b7375;
}
body .jobs-modal .jobs-submit-validation {
	margin: 20px 0 0;
}
body .jobs-modal .jobs-submit-error-msg {
	margin: 0 0 10px;
	padding: 12px 24px;
	border: 2px solid var(--elprom-error);
	border-radius: 24px;
	background: #fff;
	color: var(--elprom-error);
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
}

/* Angehängte Datei: langer Dateiname wird gekürzt, statt «+» ein Häkchen */
body .jobs-modal .jobs-modal-form .choose_file > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body .jobs-modal .jobs-modal-form .modal-input-fileinput:not([data-files="0"]) .choose_file::before {
	content: "\2713";
}

/* Weitere Dateien (Lebenslauf): angehängte Datei als weisse Pill mit Entfernen-Symbol */
body .jobs-modal .jobs-modal-form .choose_file_multi {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 255px;
	margin: 0 0 10px;
	padding: 12px 20px 12px 24px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #151e20;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
}
body .jobs-modal .jobs-modal-form .choose_file_multi:hover {
	background: #fff;
}
body .jobs-modal .jobs-modal-form .choose_file_multi .name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body .jobs-modal .jobs-modal-form .choose_file_multi .remove {
	flex: none;
	width: 16px;
	margin: 0 0 0 12px;
	cursor: pointer;
	filter: grayscale(1) brightness(0.45); /* Plugin-Icon (rot) dezent grau */
}

/* Sendet gerade: Ladeanzeige links statt zentriert */
body .jobs-modal .jobs-modal-form .jobs-sending {
	margin: 0;
}

/* Erfolgsmeldung nach dem Absenden */
body .jobs-modal #job-apply-confirmation {
	margin: 0;
	padding: 20px 0 0;
	font-size: 16px;
	line-height: 26px;
}
body .jobs-modal #job-apply-confirmation p {
	margin: 0 0 16px;
}

/* Mehrfach-Upload: Platzhalter-Chip nach Klick auf «+ Anhängen» */
body .jobs-modal .jobs-modal-form .choose_file_multi {
	margin-bottom: 10px;
	cursor: default;
}
body .jobs-modal .jobs-modal-form .choose_file_multi .remove {
	opacity: 0.7;
	transition: opacity 0.2s ease;
}
body .jobs-modal .jobs-modal-form .choose_file_multi .remove:hover {
	opacity: 1;
}

/* Popup: Aussenrand */
body .jobs-modal.open .jobs-modal-content {
	border-radius: 30px;
}

/* Job-Suche ausgeblendet (13.10.2026): bei wenigen Stellen nicht nötig, zudem filterte
   sie nicht. Es bleiben nur die Standort-Filter («Alle», «Pratteln», «Wallisellen»).
   Zum Wiedereinblenden diese Regel entfernen – die Regeln darunter gelten dann wieder. */
body .job-postings-filters .jobs-search {
	display: none !important;
}

/* Job-Suche: Lupe exakt vertikal mittig im Feld */
body .jobs-search form {
	position: relative;
}
body .jobs-search .job-search-submit {
	top: 0;
	bottom: 0;
	height: 100%;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
body .jobs-search .job-search-submit svg {
	display: block;
	width: 15px;
	height: 15px;
}

/* Elementor-Buttons auf volle Breite des Umgebungscontainers.
   Automatisch für alle «Referenz …»-Buttons (Link enthält /referenz-);
   für beliebige weitere Buttons: im Elementor beim Button unter
   Erweitert → CSS-Klassen «btn-full» eintragen. */
.elementor-widget-button .elementor-button.btn-full,
.elementor-widget-button .elementor-button[href*="/referenz-"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* Hauptmenü: Flyout (z. B. Referenzen) so breit wie der längste Eintrag – kein Zeilenumbruch */
.trx-addons-nav-menu .trx-addons-submenu {
	width: max-content !important;
	min-width: 210px;
}
.trx-addons-nav-menu .trx-addons-submenu a {
	white-space: nowrap;
}

/* Stellen-Detail: «Arbeitspensum / Full-time» ausblenden (Pensum steht bei «Arbeitszeiten») */
body.single-jobs .job-post .jobs-row.position_employment_type,
body.jobs-template-default .job-post .jobs-row.position_employment_type {
	display: none !important;
}

/* ==========================================================================
   Stellen-Detailseite: Tablet & Smartphone (Seitenleiste hat keinen Platz mehr)
   Reihenfolge: Titel, Eckdaten (2 × 2), Beschreibung, danach der übrige Inhalt.
   Desktop bleibt unverändert.
   ========================================================================== */
@media (max-width: 1024px) {
	body.jobs-template-default .page_content_wrap .job-post {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
	}
	body.jobs-template-default .job-post .job-content .jobs-row,
	body.jobs-template-default .job-post .job-content .jobs-row-apply {
		order: 3;
	}
	body.jobs-template-default .job-post .job-content .jobs-row.position_description {
		order: 2;
	}
	body.jobs-template-default .job-post .job-content .jobs-row.position_title {
		order: 0;
	}
	body.jobs-template-default .page_content_wrap .job-post .job-side {
		grid-column: 1;
		grid-row: auto;
		order: 1;
		max-width: 820px;
		margin: 0 0 40px;
	}
	body.jobs-template-default .job-post .job-side .job-content-wrap {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 40px;
		padding: 32px 0 !important;
		border-top: 1px solid rgba(21, 30, 32, 0.15) !important;
		border-bottom: 1px solid rgba(21, 30, 32, 0.15) !important;
	}
}

@media (max-width: 767px) {
	/* Buttons über die volle Breite, gut antippbar */
	body.jobs-template-default .job-post .jobs-row-button,
	body.jobs-template-default .job-post .jobs-row-inset,
	body.jobs-template-default .job-post .jobs-row-apply {
		max-width: none;
	}
	body.jobs-template-default .job-post a.button,
	body.jobs-template-default .job-post a.job-pdf-export,
	body.jobs-template-default .job-post .jp-apply-button {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}


/* Nummerierte Listen: Zahl in Akzentfarbe, gleiche Einrückung */
.job-post .jobs-row .jobs-row-input ol {
	counter-reset: jobli;
}
.job-post .jobs-row .jobs-row-input ol > li::before {
	counter-increment: jobli;
	content: counter(jobli) ".";
	position: absolute;
	left: 0;
	top: 0;
	color: #8b2928;
	font-weight: 600;
}

/* Bewerbungs-Popup immer über dem Seitenkopf (auf Smartphones sonst vom Header verdeckt) */
body .jobs-modal {
	z-index: 100001 !important;
}

/* ==========================================================================
   Blindbewerbung: Lightbox mit Contact Form 7 (siehe inc/blindbewerbung.php)
   Gleicher Stil wie das Bewerbungs-Popup der Stellen
   ========================================================================== */

body.elprom-modal-open {
	overflow: hidden;
}
.elprom-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	padding: 20px;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.6);
	font-family: Sora, sans-serif;
	color: #151e20;
}
.elprom-modal[hidden] {
	display: none;
}
.elprom-modal-content {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 650px;
	margin: auto;
	padding: 80px 60px 60px;
	border-radius: 30px;
	background: #e9e9e9;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
}
.elprom-modal-close {
	position: absolute;
	top: 30px;
	right: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 30px;
	background: #8b2928;
	cursor: pointer;
	transition: background-color 0.3s;
}
.elprom-modal-close:hover,
.elprom-modal-close:focus-visible {
	background: #6f2120;
}
.elprom-modal-title {
	margin: 0 0 30px;
	font-family: Roboto, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 26px;
	color: #151e20;
}

/* --- Formular (Contact Form 7) --- */
.elprom-modal .wpcf7-form p {
	margin: 0 0 32px;
}
.elprom-modal .wpcf7-form label {
	display: block;
	margin: 0;
	font-family: Sora, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #151e20;
}
.elprom-modal .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}
.elprom-modal .wpcf7-form input[type="text"],
.elprom-modal .wpcf7-form input[type="email"],
.elprom-modal .wpcf7-form input[type="tel"],
.elprom-modal .wpcf7-form input[type="url"],
.elprom-modal .wpcf7-form input[type="number"],
.elprom-modal .wpcf7-form input[type="date"],
.elprom-modal .wpcf7-form select,
.elprom-modal .wpcf7-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background-color: #fff;
	box-shadow: none;
	font-family: Sora, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
	color: #151e20;
}
.elprom-modal .wpcf7-form input[type="text"],
.elprom-modal .wpcf7-form input[type="email"],
.elprom-modal .wpcf7-form input[type="tel"],
.elprom-modal .wpcf7-form input[type="url"],
.elprom-modal .wpcf7-form input[type="number"],
.elprom-modal .wpcf7-form input[type="date"],
.elprom-modal .wpcf7-form select {
	height: 49px;
}
.elprom-modal .wpcf7-form textarea {
	height: 88px;
	min-height: 88px;
	border-radius: 24px;
	resize: vertical;
}
.elprom-modal .wpcf7-form select {
	appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b2928' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
}
.elprom-modal .wpcf7-form ::placeholder {
	color: #6b7375;
	opacity: 1;
}
.elprom-modal .wpcf7-form input:focus,
.elprom-modal .wpcf7-form select:focus,
.elprom-modal .wpcf7-form textarea:focus {
	outline: 2px solid #8b2928;
	outline-offset: 2px;
}

/* Datei-Upload: Outline-Button wie «+ Anhängen» */
.elprom-modal .wpcf7-form input[type="file"] {
	width: 100%;
	font-family: Sora, sans-serif;
	font-size: 14px;
	color: #151e20;
}
.elprom-modal .wpcf7-form input[type="file"]::file-selector-button {
	box-sizing: border-box;
	min-width: 255px;
	margin: 0 16px 0 0;
	padding: 10px 35px;
	border: 2px solid #8b2928;
	border-radius: 999px;
	background: transparent;
	font-family: Sora, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	color: #8b2928;
	cursor: pointer;
	transition: color 0.3s, background-color 0.3s;
}
.elprom-modal .wpcf7-form input[type="file"]:hover::file-selector-button,
.elprom-modal .wpcf7-form input[type="file"]:focus-visible::file-selector-button {
	background: #8b2928;
	color: #fff;
}

/* Checkboxen, Radiobuttons, Einwilligung */
.elprom-modal .wpcf7-list-item {
	display: block;
	margin: 0 0 8px;
}
.elprom-modal .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400;
}
.elprom-modal .wpcf7-form input[type="checkbox"],
.elprom-modal .wpcf7-form input[type="radio"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: #8b2928;
}

/* Absenden-Button wie «Bewerbung einreichen» */
.elprom-modal .wpcf7-form input[type="submit"],
.elprom-modal .wpcf7-form .wpcf7-submit {
	box-sizing: border-box;
	min-width: 255px;
	margin: 8px 0 0;
	padding: 12px 35px;
	border: 0;
	border-radius: 35px;
	background: #8b2928;
	font-family: Sora, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	text-transform: none;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s;
}
.elprom-modal .wpcf7-form input[type="submit"]:hover,
.elprom-modal .wpcf7-form input[type="submit"]:focus-visible {
	background: #6f2120;
}
.elprom-modal .wpcf7-spinner {
	margin: 0 0 0 12px;
	vertical-align: middle;
}

/* Fehler und Rückmeldungen */
.elprom-modal .wpcf7-not-valid {
	box-shadow: 0 0 0 2px var(--elprom-error, #c0342b) !important;
}
.elprom-modal .wpcf7-not-valid-tip {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--elprom-error, #c0342b);
}
.elprom-modal .wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 24px;
	border: 2px solid #8b2928;
	border-radius: 24px;
	background: #fff;
	font-size: 16px;
	line-height: 26px;
}
.elprom-modal .wpcf7 form.invalid .wpcf7-response-output,
.elprom-modal .wpcf7 form.failed .wpcf7-response-output,
.elprom-modal .wpcf7 form.unaccepted .wpcf7-response-output,
.elprom-modal .wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--elprom-error, #c0342b);
	color: var(--elprom-error, #c0342b);
}
.elprom-modal .wpcf7 form.sent .wpcf7-response-output {
	border-color: #3c7a4a;
	color: #151e20;
}

@media (max-width: 600px) {
	.elprom-modal {
		padding: 12px;
	}
	.elprom-modal-content {
		padding: 72px 24px 32px;
	}
	.elprom-modal-close {
		top: 20px;
		right: 20px;
	}
	.elprom-modal .wpcf7-form input[type="submit"],
	.elprom-modal .wpcf7-form input[type="file"]::file-selector-button {
		width: 100%;
	}
}

/* ==========================================================================
   Lightbox (Responsive Lightbox / GLightbox): Pfeile ausblenden, wenn nicht
   geblättert werden kann (Einzelbild ohne Galerie)
   ========================================================================== */
.glightbox-container .gbtn.disabled,
.glightbox-container .gbtn.glightbox-button-hidden {
	display: none !important;
}

/* ==========================================================================
   Responsive-Korrekturen (30.09.2026)
   Ergänzt nach der Mobile-/Tablet-Prüfung. Layout, Abstände und
   Schriftgrössen werden in Elementor gepflegt – hier nur, was dort nicht geht.
   ========================================================================== */

/* Stellenliste: rechten Überstand auf Mobile entfernen
   (das Plugin «Job Postings» setzt auf .row eine negative Bootstrap-Marge von -20px) */
.job-listing.row {
	margin-left: 0;
	margin-right: 0;
}

/* Headlines ausbalancieren – verhindert Einzelwörter auf der letzten Zeile
   (z. B. «Nach uns die / Zukunft» → «Nach uns / die Zukunft»).
   Ältere Browser ignorieren die Regel einfach. */
.elementor-heading-title,
h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

/* Fliesstext: letzte Zeile nie mit nur einem Wort */
.elementor-widget-text-editor p {
	text-wrap: pretty;
}

/* Kicker (H6): etwas mehr Zeilenhöhe, falls sie auf kleinen Geräten umbrechen */
h6.elementor-heading-title {
	line-height: 1.3;
}

/* Mobile: keine automatische Silbentrennung in Headlines
   (das Theme setzt hyphens: auto → «zwi-schen», «selbst-verständlich»).
   Funktioniert sauber zusammen mit den reduzierten Mobile-Schriftgrössen
   (Section-H1 30px). Zu lange Einzelwörter gezielt mit &shy; trennen. */
@media (max-width: 767px) {
	.elementor-heading-title,
	h1, h2, h3, h4, h5, h6 {
		-webkit-hyphens: manual;
		hyphens: manual;
	}
	/* Mehrzeilige Hero-Titel (Widget «Advanced Title» von ThemeREX): das Theme setzt
	   dort hyphens: auto mit höherer Spezifität → «selbstver-ständlich» auf Kompetenzen.
	   Geprüft (13.10.2026): auf 390px läuft danach kein Titel über. */
	.trx-addons-advanced-title,
	.trx-addons-advanced-title * {
		-webkit-hyphens: manual !important;
		hyphens: manual !important;
	}
}

/* ==========================================================================
   Schriftgrössen Responsive (05.10.2026)
   Die Section-Headlines beziehen ihre Grösse aus den Theme-Variablen
   (--theme-font-hX_font-size aus den Theme-Optionen). Diese werden hier pro
   Breakpoint überschrieben – Headlines mit eigener Grösse im Elementor-Widget
   (Hero-Zeilen, Counter-Zahlen) sind davon nicht betroffen.
   Breakpoints wie Elementor: Tablet bis 1279px, Mobile bis 767px.
   ========================================================================== */

/* Desktop: Section-Headline H1 57px → 52px */
html:root {
	--theme-font-h1_font-size: 52px;
}

/* Tablet */
@media (max-width: 1279px) {
	html:root {
		--theme-font-h1_font-size: 40px;	/* bisher 45px */
		--theme-font-h2_font-size: 32px;	/* bisher 36px – z. B. «Sie haben Fragen?» */
		--theme-font-h4_font-size: 20px;	/* bisher 22px – Wertetitel */
	}

	/* Counter-Labels (Home): «Kompetenzbereiche» bricht sonst bei 768px mitten im Wort um */
	.trx-addons-counter-title {
		font-size: 16px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	html:root {
		--theme-font-h1_font-size: 30px;	/* bisher 36px – längste Wörter passen auf eine Zeile */
		--theme-font-h1_line-height: 1.15em;
		--theme-font-h2_font-size: 28px;	/* bisher 31px */
		--theme-font-h4_font-size: 20px;	/* bisher 22px */
		--theme-font-h5_font-size: 18px;	/* bisher 19px – Kachel-/Kartentitel */
	}

	/* Stellentitel in der Stellenliste (Plugin setzt fix 20px) */
	body .job-listing .job-preview .job-content h5 {
		font-size: 18px;
		line-height: 1.25;
	}

	/* Counter-Labels (Home): «Kompetenzbereiche» passt sonst nicht in die Spalte */
	.trx-addons-counter-title {
		font-size: 15px;
	}
}

/* Hero-Headlines (zweizeilig, klein/gross)
   Wirkt nur, wenn im Elementor-Widget unter «Erweitert → CSS-Klassen» die
   Klasse eingetragen UND die eigene Schriftgrösse im Widget (alle Geräte)
   geleert wird. Zeile 1 = ep-hero-l1, Zeile 2 = ep-hero-l2. */
.ep-hero-l1 .elementor-heading-title {
	font-size: 50px;
	line-height: 1.1;
}
.ep-hero-l2 .elementor-heading-title {
	font-size: 80px;
	line-height: 1.05;
}
@media (max-width: 1279px) {
	.ep-hero-l1 .elementor-heading-title { font-size: 40px; }
	.ep-hero-l2 .elementor-heading-title { font-size: 64px; }
}
@media (max-width: 767px) {
	.ep-hero-l1 .elementor-heading-title { font-size: 26px; line-height: 1.15; }
	.ep-hero-l2 .elementor-heading-title { font-size: 40px; }
}

/* ==========================================================================
   Stellenliste: Button «Ansehen» (12.10.2026)
   Das Plugin setzt den Button auf volle Spaltenbreite und in Versalien.
   Hier: so breit wie der Text, normale Schreibweise, Stil wie die übrigen
   Buttons der Seite (z. B. «Spontanbewerbung starten»).
   Die Beschriftung selbst kommt aus Jobs → Einstellungen → «Preview CTA text».
   ========================================================================== */
body .job-listing .job-preview .job-cta .apply-btn {
	display: inline-block;
	width: auto;
	padding: 15px 40px;
	text-transform: none;
	font-weight: 600;
	white-space: nowrap;
}

/* Mobile (Plugin-Breakpoint 560px): Button unter dem Titel, linksbündig mit ihm */
@media screen and (max-width: 560px) {
	body .job-listing .job-preview .job-cta {
		text-align: left;
		padding-left: 25px;
	}
	body .job-listing .job-preview .job-cta .apply-btn {
		margin: 0;
	}
}

/* ==========================================================================
   Jobs & Karriere: Box «Du passt zu uns, aber keine Stelle passt zu dir?»
   (12.10.2026)
   Der Container hat in Elementor einen Innenabstand von 17vw oben / 15vw unten.
   Auf grossen Bildschirmen wird die Box dadurch über 1100px hoch. Hier: Abstand
   mitwachsend, aber begrenzt auf 80–140px.
   Bezieht sich auf das Elementor-Element d0f79c8 auf Seite 1421 – wird der
   Container in Elementor neu angelegt, muss die ID hier nachgeführt werden.
   ========================================================================== */
body .elementor-1421 .elementor-element.elementor-element-d0f79c8 {
	--padding-top: clamp(80px, 6vw, 140px);
	--padding-bottom: clamp(80px, 6vw, 140px);
}

/* ==========================================================
   Jobs & Karriere: Box «Du passt zu uns…» auch auf Tablet & Mobile (12.10.2026)
   Die Box ist in Elementor auf Tablet/Mobil ausgeblendet (inkl. Theme-Regeln
   mit !important) – hier wieder eingeblendet und kompakter gestaltet.
   ========================================================== */
@media (max-width: 1279px) {
	body .elementor-1421 .elementor-element.elementor-element-d0f79c8 {
		display: flex !important;
		--padding-top: 70px;
		--padding-bottom: 70px;
		--padding-left: 40px;
		--padding-right: 40px;
		border-radius: 30px;
	}
	body .elementor-1421 .elementor-element-d0f79c8 > .e-con-inner > * {
		max-width: 100%;
	}
	body .elementor-1421 .elementor-element-d0f79c8 .e-paragraph-base {
		width: 100%;
		line-height: 1.6;
	}
}
@media (max-width: 767px) {
	body .elementor-1421 .elementor-element.elementor-element-d0f79c8 {
		--padding-top: 50px;
		--padding-bottom: 50px;
		--padding-left: 20px;
		--padding-right: 20px;
		border-radius: 24px;
	}
	body .elementor-1421 .elementor-element-d0f79c8 .e-paragraph-base {
		font-size: 16px;
		-webkit-hyphens: manual;
		hyphens: manual;
	}
	body .elementor-1421 .elementor-element-d0f79c8 .elementor-button {
		white-space: nowrap;
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* ==========================================================================
   Home, Zähler «1000+ Projekte»: «+» optisch mittig zur Zahl (13.10.2026)
   Das Widget (ThemeREX Counter) setzt das Suffix auf die Grundlinie, Elementor
   bietet keine Einstellung dafür. Versatz berechnet aus den Schriftgrössen:
   Desktop Zahl 100px / «+» 65px, Tablet 65/65, Mobil 48/53.
   Werden die Grössen im Widget geändert, müssen die Werte nachgeführt werden.
   ========================================================================== */
.trx-addons-counter .trx-addons-counter-number-suffix {
	position: relative;
	top: -14px;
}
@media (max-width: 1279px) {
	.trx-addons-counter .trx-addons-counter-number-suffix {
		top: -2px;
	}
}
@media (max-width: 767px) {
	.trx-addons-counter .trx-addons-counter-number-suffix {
		top: 0;
	}
}

/* ==========================================================================
   Referenzen: Bilder-Slider «Weitere Referenz-Projekte» (13.10.2026)
   Elementor-Widget «Bild-Karussell» 2911bae auf Seite /referenzen/.
   - Bilder bündig mit der Inhaltsbreite, Pfeile ausserhalb der Stage
     (Elementor macht den Slider bei «Pfeile aussen» sonst 60px schmaler)
   - Abstand Bild → Punkte 40px, Punkte 12px, inaktiv als Outline
   - einheitliches Seitenverhältnis 3:2 (wie die 4 Bilder weiter oben),
     unabhängig von der geladenen Bildgrösse → Bildgrösse «Large» wählbar
   - bis 1279px (Tablet/Mobil) ohne Pfeile: dafür fehlt seitlich der Platz,
     geblättert wird per Wischen oder über die Punkte
   Wird das Widget neu angelegt, die ID hier nachführen.
   ========================================================================== */
.elementor-element-2911bae {
	--ep-dot: 12px;
	--ep-dot-gap: 40px;
	--ep-arrow-offset: 45px;	/* Pfeilbreite 25px + 20px Abstand zur Bildkante */
}
.elementor-element-2911bae.elementor-arrows-position-outside .swiper {
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.elementor-element-2911bae .swiper {
	padding-bottom: calc(var(--ep-dot-gap) + var(--ep-dot)) !important;
}
/* Pfeile vertikal mittig zum Bild (ohne den Bereich der Punkte) */
.elementor-element-2911bae .elementor-swiper-button {
	top: calc((100% - var(--ep-dot-gap) - var(--ep-dot)) / 2) !important;
}
.elementor-element-2911bae .elementor-swiper-button-prev {
	left: calc(-1 * var(--ep-arrow-offset)) !important;
	right: auto !important;
}
.elementor-element-2911bae .elementor-swiper-button-next {
	right: calc(-1 * var(--ep-arrow-offset)) !important;
	left: auto !important;
}
/* Punkte */
.elementor-element-2911bae .swiper-pagination {
	bottom: 0 !important;
	top: auto !important;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	height: var(--ep-dot);
	line-height: 0;
}
.elementor-element-2911bae .swiper-pagination .swiper-pagination-bullet {
	box-sizing: border-box;
	width: var(--ep-dot) !important;
	height: var(--ep-dot) !important;
	margin: 0 !important;
	border: 1.5px solid #151e20;
	background: transparent !important;
	opacity: 1 !important;
}
.elementor-element-2911bae .swiper-pagination .swiper-pagination-bullet-active {
	background: #151e20 !important;
}
/* Einheitliches Seitenverhältnis, Bild wird bei Bedarf beschnitten */
.elementor-element-2911bae .swiper-slide-image {
	display: block;
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: opacity 0.4s ease;
}
/* Während des Ladens: kein Dateiname (Alt-Text), stattdessen eine hellgraue
   Fläche in Bildgrösse; das Bild blendet ein, sobald es geladen ist */
.elementor-element-2911bae .swiper-slide {
	border-radius: 30px;
	background-color: #e4e4e4;
}
.elementor-element-2911bae .swiper-slide-image.swiper-lazy:not(.swiper-lazy-loaded) {
	opacity: 0;
	color: transparent;
	transition: none;
}
@media (max-width: 1279px) {
	.elementor-element-2911bae .elementor-swiper-button {
		display: none !important;
	}
}

/* ==========================================================
   Referenzen: Slider-Punkte auf Mobile rund statt oval (19.10.2026)
   23 Punkte à 12px passen auf dem Smartphone nicht in eine Zeile –
   Flexbox hat sie horizontal zusammengedrückt. Kleinere Punkte, kein Schrumpfen.
   ========================================================== */
@media (max-width: 767px) {
	.elementor-element-2911bae {
		--ep-dot: 8px;
		--ep-dot-gap: 30px;
	}
	.elementor-element-2911bae .swiper-pagination {
		gap: 5px;
	}
	.elementor-element-2911bae .swiper-pagination .swiper-pagination-bullet {
		flex-shrink: 0;
		border-width: 1px;
	}
}

/* ==========================================================
   Referenzen: Logo-Slider 746d51b (20.10.2026)
   - Pfeile gleich positioniert wie beim Bilder-Slider 2911bae darüber
     (Logos bündig mit der Inhaltsbreite, Pfeile ausserhalb)
   - Logos mit 30 % Deckkraft (wie auf der Home), beim Hover voll (schwarz)
   Wird das Widget neu angelegt, die ID hier nachführen.
   ========================================================== */
.elementor-element-746d51b {
	--ep-arrow-offset: 45px;
}
.elementor-element-746d51b.elementor-arrows-position-outside .swiper {
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.elementor-element-746d51b .elementor-swiper-button-prev {
	left: calc(-1 * var(--ep-arrow-offset)) !important;
	right: auto !important;
}
.elementor-element-746d51b .elementor-swiper-button-next {
	right: calc(-1 * var(--ep-arrow-offset)) !important;
	left: auto !important;
}
.elementor-element-746d51b .swiper-slide-image {
	opacity: 0.3;
	transition: opacity 0.3s ease;
}
.elementor-element-746d51b .swiper-slide:hover .swiper-slide-image,
.elementor-element-746d51b a:focus-visible .swiper-slide-image {
	opacity: 1;
}
@media (max-width: 1279px) {
	.elementor-element-746d51b .elementor-swiper-button {
		display: none !important;
	}
}

/* ==========================================================
   Jobs & Karriere: schwarze Trennlinie über den Stellenlisten ausblenden (20.10.2026)
   Elementor-«Divider»-Elemente (hr.e-divider-base) unter den Titeln
   «Unsere aktuellen Stellenangebote» und «Ausbildungsplätze …».
   Alternativ in Elementor direkt löschen – dann ist diese Regel überflüssig.
   ========================================================== */
.page-id-1421 hr.e-divider-base[data-interaction-id="38af5a5"],
.page-id-1421 hr.e-divider-base[data-interaction-id="1b58875"] {
	display: none;
}
