/* ----------------------------------------------------------
   Grundlayout Wrapper
---------------------------------------------------------- */
.kb-stellenanzeigen-wrapper {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

/* ----------------------------------------------------------
   Jede Stellenanzeige
---------------------------------------------------------- */
.kb-stellenanzeige {
	border-radius: 15px;
	margin-bottom: 25px;
	overflow: hidden;
	background: #fff;
}

/* ----------------------------------------------------------
   Header (zugeklappter Bereich)
---------------------------------------------------------- */
.kb-stellenanzeige-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 35px 45px;
	cursor: pointer;
	position: relative;
}

.kb-stellenanzeige-header-left {
	width: 80%;
}

.kb-stellenanzeige-header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Titel */
.kb-stellen-title {
	font-size: 37px;
	margin: 0;
	padding-bottom: 10px;
	display: inline-block; /* statt flex */
}


.mwdbadge {
	font-weight: normal;
	font-size: 0.65em; /* statt fixe px → passt sich dem Titel an */
	margin-left: 6px;
}


/* Meta-Infos */
.kb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 35px;
	color: #fff;
}

.kb-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
}

.kb-meta-item img {
	width: 18px;
	height: 18px;
}


/* Logo im Header */
.kb-company-logo {
	width: 130px;
	height: auto;
}



/* ----------------------------------------------------------
   Aufgeklappter Bereich
---------------------------------------------------------- */
.kb-stellenanzeige-content {
	display: none;
	padding: 35px 45px;
	padding-top: 0;
}



/* ----------------------------------------------------------
   Farbvarianten (Typ-basiert)
---------------------------------------------------------- */
.kb-stelle .kb-stellenanzeige-header {
	background: #1E4995;
	color: #fff;
}

.kb-ausbildung .kb-stellenanzeige-header {
	background: #EEB66B;
	color: #000;
}

	.kb-stelle .kb-stellen-title,
	.kb-ausbildung .kb-stellen-title {
		color: #fff;
	}

/* Content Hintergründe */
.kb-stelle .kb-stellenanzeige-content {
	background: #F0F3F9;
	color: #1E4995;
}

.kb-ausbildung .kb-stellenanzeige-content {
	background: #FBEDDA;
}

/* ----------------------------------------------------------
   Benefits Grid (3 Spalten)
---------------------------------------------------------- */
.kb-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
	padding-top: 45px;
}

.kb-benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.kb-benefit-item img {
	width: 35px;
	height: 35px;
	margin-top: 3px;
}

.kb-benefit-item p {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}

/* ----------------------------------------------------------
   Trennlinie
---------------------------------------------------------- */
.kb-divider {
	border: 0;
	border-top: 2px solid #1E4995;
	margin: 50px 0;
}

.kb-ausbildung .kb-divider {
	border: 0;
	border-top: 2px solid #000;
	margin: 50px 0;
}

/* ----------------------------------------------------------
   Zwei-Spalten Block
---------------------------------------------------------- */
.kb-two-cols {
	display: flex;
	gap: 60px;
}

.kb-col-left,
.kb-col-right {
	width: 50%;
}


.kb-ausbildung .kb-two-cols h4 {
	color: #000;
}

.kb-col-right .kb-aufgaben-box {
	background: #1E4995;
	color: #fff;
	padding: 45px 35px 35px 35px;
	border-radius: 15px;
}

	.kb-ausbildung .kb-col-right .kb-aufgaben-box {
		background: #EEB66B;
		color: #fff;
		padding: 45px 35px 35px 35px;
		border-radius: 15px;
	}
	
.kb-aufgaben-box h4,
.kb-ausbildung .kb-aufgaben-box h4 {color: #fff;}


/* ----------------------------------------------------------
	   Spezial-Layout für Ausbildungsstellen
	   Reihenfolge tauschen + Breite anpassen
	---------------------------------------------------------- */
	
	.kb-ausbildung .kb-two-cols {
		display: flex;
		flex-direction: row-reverse; /* Rechts nach links */
	}
	
	.kb-ausbildung .kb-col-left {
		width: 25%; /* Qualifikationen */
	}
	
	.kb-ausbildung .kb-col-right {
		width: 75%; /* Das lernst du bei uns */
	}





/* LISTEN */
.kb-wysiwyg ul,
.kb-aufgaben-box.kb-wysiwyg ul {
	padding-left: 0;
}

	.kb-wysiwyg ul li {
		background: url("../stellenanzeigen/logos-grafiken/listenpunkt_blau.svg") no-repeat 0px 7px;
		background-size: 13px;
		padding-left: 27px;
		padding-bottom: 15px;
		list-style-type: none;
		font-size: 18px;
		line-height: 1.3;
	}
	
	.kb-aufgaben-box.kb-wysiwyg ul li {
		background: url("../stellenanzeigen/logos-grafiken/listenpunkt_white.svg") no-repeat 0px 7px;
		background-size: 13px;
		padding-left: 27px;
		padding-bottom: 15px;
		list-style-type: none;
		font-size: 18px;
		line-height: 1.3;
	}

/* ----------------------------------------------------------
   Buttons
---------------------------------------------------------- */
.kb-buttons {
	text-align: center;
	margin-top: 55px;
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.kb-btn {
	display: inline-block;
	padding: 20px 20px 18px 20px;
	border-radius: 10px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 1px;
}

.kb-btn-email,
.kb-btn-quick {
	background: #1E4995;
	color: #fff;
}

.kb-btn-email:focus,
.kb-btn-email:hover,
.kb-btn-quick:focus,
.kb-btn-quick:hover {
	background: #112a56;
	color: #fff;
}



/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 900px) {
	.kb-two-cols {
		flex-direction: column;
	}

	.kb-col-left,
	.kb-col-right {
		width: 100%;
	}
}

@media (max-width: 700px) {
	.kb-benefits-grid {
		grid-template-columns: 1fr;
	}

	.kb-stellenanzeige-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.kb-stellenanzeige-header-left {
		width: 100%;
	}

	.kb-stellenanzeige-header-right {
		width: 100%;
		margin-top: 15px;
		display: flex;
		justify-content: space-between;
	}

	.kb-company-logo {
		max-width: 60px;
	}

}


/* ----------------------------------------------
   MOBILE OPTIMIERUNG (Headline kleiner, Meta untereinander, Logo optional)
---------------------------------------------- */
@media (max-width: 700px) {

.kb-stellenanzeige {
	margin: 10px 10px 25px 10px;
}

.kb-stellenanzeige-header{
	padding: 25px;
}

	/* 1) Headline kleiner */
	.kb-stellen-title {
		font-size: 23px;   /* statt 37px */
		line-height: 1.2;
	}

	.kb-stellen-title .mwdbadge {
		font-size: 0.6em;
	}

	/* 2) Meta-Daten NICHT mehr in einer Zeile */
	.kb-meta {
		display: block; /* statt flex */
		margin-top: 10px;
	}

	.kb-meta-item {
		margin-bottom: 6px;
	}


.kb-stellenanzeige-content {
		padding: 10px 25px 40px 25px;
	}
	
	.kb-benefit-item p {
		font-size: 16px;
	}
	
	.kb-benefit-item img {
		width: 30px;
		height: 30px;
		margin-top: 2px;
	}
	
	.kb-wysiwyg ul li {
		background: url("../stellenanzeigen/logos-grafiken/listenpunkt_blau.svg") no-repeat 0px 3px;
		background-size: 11px;
		padding-left: 22px;
		font-size: 16px;
	}
	
	.kb-aufgaben-box.kb-wysiwyg ul li {
		background: url("../stellenanzeigen/logos-grafiken/listenpunkt_white.svg") no-repeat 0px 3px;
		background-size: 11px;
		padding-left: 22px;
		font-size: 16px;
	}
	

	/* OPTION A: Logo anzeigen, aber rechts fix */
	.kb-stellenanzeige-header-right {
		width: 100%;
		display: flex;
		justify-content: flex-end; /* Logo rechts */
		margin-top: 10px;
	}

	/* OPTION B (empfohlen): Logo mobil komplett ausblenden 
	.kb-company-logo {
		display: none;
	}*/
}
