/* ==========================================================================
   KETTLER – Beiträge (News): Beitragsseite (.kb-single), Übersicht (.ka),
   Editor (.ke). Baut auf css/vermietung.css (.km, Buttons, Hero, Glas) auf.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Gemeinsam: Karten, Raster, Pills
   -------------------------------------------------------------------------- */

/* "hidden" muss gegen .km img { display:block } gewinnen */
.km [hidden] {
	display: none !important;
}

.kb-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.km a.kb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 10px;
	color: var(--km-black);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.km a.kb-card:hover,
.km a.kb-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 34px 70px rgba(0, 60, 55, 0.14);
}

.km a.kb-card:focus-visible {
	outline: 3px solid rgba(0, 155, 142, 0.45);
	outline-offset: 3px;
}

.kb-card-img {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(0, 155, 142, 0.18), rgba(0, 155, 142, 0.05));
}

.km .kb-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.km a.kb-card:hover .kb-card-img img {
	transform: scale(1.04);
}

.kb-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(0, 122, 112, 0.35);
	font-size: 3.4rem;
	font-weight: 900;
}

.kb-card-badges {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	gap: 6px;
}

.kb-card-badges span {
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: var(--km-white);
	background: rgba(12, 12, 12, 0.5);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.7rem;
	font-weight: 700;
}

.kb-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px 10px 10px;
}

.kb-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--km-grey-700);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.kb-pill {
	padding: 4px 11px;
	border: 1px solid rgba(0, 155, 142, 0.25);
	border-radius: 999px;
	color: var(--km-accent-dark);
	background: rgba(0, 155, 142, 0.08);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.kb-card-title {
	display: block;
	font-size: 1.08rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.32;
}

.kb-card-text {
	display: -webkit-box;
	overflow: hidden;
	color: var(--km-grey-700);
	font-size: 0.9rem;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.km .kb-card .kh-news-more {
	margin-top: auto;
}

/* Großer Top-Beitrag */
.km a.kb-card-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: stretch;
	padding: 12px;
}

.km .kb-card-featured .kb-card-img {
	aspect-ratio: auto;
	min-height: 400px;
	border-radius: 16px;
}

.km .kb-card-featured .kb-card-img img {
	position: absolute;
	inset: 0;
}

.km .kb-card-featured .kb-card-body {
	justify-content: center;
	gap: 14px;
	padding: clamp(24px, 3vw, 48px);
}

.km .kb-card-featured .kb-card-title {
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.km .kb-card-featured .kb-card-text {
	font-size: 1rem;
	-webkit-line-clamp: 5;
}

.km .kb-card-featured .kh-news-more {
	margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Übersicht (.ka)
   -------------------------------------------------------------------------- */

.ka .km-hero-grid,
.kb-single .km-hero-grid {
	min-height: clamp(500px, 66vh, 720px);
}

.ka .km-hero-content h1 {
	font-size: clamp(2rem, 3.2vw, 3rem);
}

.km section.ka-list {
	padding-top: 72px;
	padding-bottom: 100px;
}

.ka-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 34px;
}

.ka-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.km a.ka-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 999px;
	color: var(--km-black);
	background: rgba(255, 255, 255, 0.7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 0.86rem;
	font-weight: 700;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.km a.ka-chip span {
	min-width: 22px;
	padding: 2px 7px;
	border-radius: 999px;
	color: var(--km-grey-700);
	background: rgba(0, 0, 0, 0.06);
	font-size: 0.72rem;
	text-align: center;
}

.km a.ka-chip:hover {
	border-color: var(--km-accent);
}

.km a.ka-chip.is-active {
	border-color: var(--km-accent);
	color: var(--km-white);
	background: var(--km-accent);
}

.km a.ka-chip.is-active span {
	color: var(--km-white);
	background: rgba(255, 255, 255, 0.22);
}

.ka-search {
	position: relative;
	display: flex;
	align-items: center;
	width: min(100%, 340px);
}

.ka-search svg {
	position: absolute;
	left: 16px;
	color: var(--km-grey-700);
	pointer-events: none;
}

.km .ka-search input[type="search"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 42px 0 44px;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 999px !important;
	color: var(--km-black);
	background: rgba(255, 255, 255, 0.85) !important;
	box-shadow: none;
	font-size: 0.9rem;
	line-height: 46px;
}

.km .ka-search input[type="search"]:focus {
	border-color: var(--km-accent) !important;
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 155, 142, 0.15);
}

.km .ka-search-clear {
	position: absolute;
	right: 14px;
	color: var(--km-grey-700);
	font-size: 1.4rem;
	line-height: 1;
}

.km .ka-result {
	margin: -14px 0 24px;
	color: var(--km-grey-700);
	font-size: 0.9rem;
	font-weight: 700;
}

.ka-featured {
	margin-bottom: 30px;
}

.km .ka-empty {
	align-items: flex-start;
	gap: 6px;
	max-width: 620px;
	padding: 36px;
}

.km .ka-empty strong {
	font-size: 1.2rem;
}

.km .ka-empty p {
	color: var(--km-grey-700);
}

.ka-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 46px;
}

.km .ka-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 999px;
	color: var(--km-black);
	background: rgba(255, 255, 255, 0.8);
	font-size: 0.92rem;
	font-weight: 800;
}

.km a.ka-page:hover {
	border-color: var(--km-accent);
	color: var(--km-accent-dark);
}

.km .ka-page.is-active {
	border-color: var(--km-accent);
	color: var(--km-white);
	background: var(--km-accent);
}

.km .ka-gap {
	border-color: transparent;
	background: transparent;
}

/* --------------------------------------------------------------------------
   Beitragsseite (.kb-single)
   -------------------------------------------------------------------------- */

/* Beitrag ohne Beitragsbild: dunkle Fläche mit Glow */
.kb-hero-plain .km-hero-grid {
	min-height: clamp(380px, 50vh, 520px);
	background:
		radial-gradient(circle at 80% 20%, rgba(0, 155, 142, 0.45), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(0, 155, 142, 0.25), transparent 40%),
		#0b0f0f;
}

.km .kb-single .km-hero-content,
.km.kb-single .km-hero-content {
	width: min(760px, calc(100% - 4%));
}

.km.kb-single .km-hero-content h1 {
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	hyphens: auto;
}

.kb-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.km .kb-crumbs a {
	color: #4fd1c5;
}

.km .kb-crumbs a:hover {
	color: var(--km-white);
}

.kb-crumbs span {
	color: rgba(255, 255, 255, 0.4);
}

.kb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kb-meta span {
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.76rem;
	font-weight: 700;
}

.km section.kb-article {
	padding: 80px 24px 60px;
	background: var(--km-white);
}

.kb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: clamp(40px, 6vw, 88px);
}

.kb-content {
	min-width: 0;
	max-width: 780px;
}

/* Ohne Seitenleiste: Text mittig in angenehmer Lesebreite */
.kb-layout.kb-layout-single {
	display: block;
}

.kb-layout-single .kb-content {
	margin: 0 auto;
}

.km.kb-single section.kb-article {
	padding-bottom: 96px;
}

/* Video-Kachel ohne Vorschaubild */
.km .kb-video:not([style]) {
	background:
		radial-gradient(circle at 75% 25%, rgba(0, 155, 142, 0.5), transparent 50%),
		radial-gradient(circle at 15% 85%, rgba(0, 155, 142, 0.25), transparent 45%),
		#0b0f0f;
}

.km .kb-notice {
	margin-bottom: 30px;
	padding: 14px 18px;
	border: 1px solid rgba(230, 160, 0, 0.35);
	border-radius: 12px;
	color: #6b4b00;
	background: #fff6dd;
	font-size: 0.9rem;
}

/* Fließtext */
.kb-prose {
	color: #2c2c2c;
	font-size: 1.06rem;
	line-height: 1.8;
}

.km .kb-prose > *:first-child {
	margin-top: 0;
}

.km .kb-prose p {
	margin: 0 0 1.35em;
}

.km .kb-prose h2 {
	margin: 1.8em 0 0.6em;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.km .kb-prose h3 {
	margin: 1.6em 0 0.5em;
	font-size: 1.25rem;
	line-height: 1.3;
}

.km .kb-prose h4 {
	margin: 1.4em 0 0.4em;
	font-size: 1.05rem;
	font-weight: 800;
}

.km .kb-prose a:not(.km-btn) {
	color: var(--km-accent-dark);
	text-decoration: underline;
	text-decoration-color: rgba(0, 155, 142, 0.4);
	text-underline-offset: 3px;
}

.km .kb-prose a:not(.km-btn):hover {
	text-decoration-color: currentColor;
}

.km .kb-prose ul,
.km .kb-prose ol {
	margin: 0 0 1.4em;
	padding: 0;
}

.km .kb-prose ul li,
.km .kb-prose ol li {
	position: relative;
	margin: 0 0 0.55em;
	padding-left: 30px;
	list-style: none;
}

.km .kb-prose ul li::before {
	position: absolute;
	top: 0.72em;
	left: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--km-accent);
	box-shadow: 0 0 0 4px rgba(0, 155, 142, 0.15);
	content: "";
}

.km .kb-prose ol {
	counter-reset: kb-ol;
}

.km .kb-prose ol li {
	counter-increment: kb-ol;
}

.km .kb-prose ol li::before {
	position: absolute;
	top: 0.25em;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	color: var(--km-white);
	background: var(--km-accent);
	content: counter(kb-ol);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.km .kb-prose blockquote {
	margin: 2em 0;
	padding: 26px 30px;
	border: 1px solid rgba(0, 155, 142, 0.25);
	border-left: 4px solid var(--km-accent);
	border-radius: 16px;
	color: var(--km-black);
	background: rgba(0, 155, 142, 0.06);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.6;
}

.km .kb-prose blockquote p:last-child {
	margin-bottom: 0;
}

.km .kb-prose img {
	height: auto;
	margin: 2em 0;
	border-radius: 16px;
}

.km .kb-prose .aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.km .kb-prose figure {
	margin: 2em 0;
}

.km .kb-prose figure img {
	margin: 0;
}

.km .kb-prose figcaption,
.km .kb-prose .wp-caption-text {
	margin-top: 10px;
	color: var(--km-grey-700);
	font-size: 0.85rem;
}

.km .kb-prose .wp-caption {
	max-width: 100%;
}

.km .kb-prose .kb-btn-row {
	margin: 2em 0;
}

.km .kb-prose table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.km .kb-prose th,
.km .kb-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
}

.km .kb-prose iframe {
	max-width: 100%;
	border: 0;
	border-radius: 16px;
}

/* Alte WPBakery-Beiträge: Abstände der Zeilen im Textfluss beruhigen */
.km .kb-prose .wpb_row,
.km .kb-prose .vc_row {
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Video-Kachel */
.km .kb-video {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	margin: 2.2em 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 20px;
	color: var(--km-white);
	background: #0b0f0f var(--kb-video-img, none) center / cover no-repeat;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	font-family: inherit;
}

.km .kb-video::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
	content: "";
	transition: background-color 0.3s ease;
}

.kb-video-play {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	padding-left: 5px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.kb-video-play svg {
	width: 30px;
	height: 30px;
}

.kb-video-label {
	position: relative;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(12, 12, 12, 0.45);
	font-size: 0.85rem;
	font-weight: 800;
}

.km .kb-video:hover .kb-video-play,
.km .kb-video:focus-visible .kb-video-play {
	background: var(--km-accent);
	transform: scale(1.06);
}

.km .kb-video:focus-visible {
	outline: 3px solid rgba(0, 155, 142, 0.5);
	outline-offset: 3px;
}

/* Galerie */
.kb-block {
	margin: 2.6em 0 0;
}

.km .kb-block-title {
	margin-bottom: 18px;
	font-size: 1.35rem;
}

.km .kb-prose .kb-gallery,
.kb-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 2em 0;
}

.kb-block .kb-gallery {
	margin: 0;
}

.km .kb-gallery.kb-gallery-2,
.km .kb-gallery.kb-gallery-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.km .kb-gallery.kb-gallery-1 {
	grid-template-columns: 1fr;
}

.km .kb-gallery-1 a.kb-gallery-item {
	aspect-ratio: 16 / 9;
}

.km a.kb-gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	background: var(--km-grey-100);
	text-decoration: none;
}

.km a.kb-gallery-item.is-wide {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: auto;
}

.km .kb-gallery-item img,
.km .kb-prose .kb-gallery-item img {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.kb-zoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--km-white);
	background: rgba(12, 12, 12, 0.5);
	opacity: 0;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: opacity 0.25s ease;
}

.km a.kb-gallery-item:hover img {
	transform: scale(1.05);
}

.km a.kb-gallery-item:hover .kb-zoom,
.km a.kb-gallery-item:focus-visible .kb-zoom {
	opacity: 1;
}

/* Lightbox */
.kb-lightbox {
	position: fixed;
	z-index: 1000001;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 80px;
	background: rgba(0, 0, 0, 0.88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	animation: km-fade 0.2s ease;
}

.kb-lightbox[hidden] {
	display: none;
}

.kb-lightbox figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
}

.kb-lightbox img {
	max-width: 100%;
	max-height: calc(100vh - 170px);
	border-radius: 14px;
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
	object-fit: contain;
}

.kb-lightbox figcaption {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	text-align: center;
}

.kb-lb-btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
}

.kb-lb-btn:hover {
	background: rgba(255, 255, 255, 0.22);
}

.kb-lb-close {
	top: 18px;
	right: 18px;
}

.kb-lb-prev {
	left: 18px;
}

.kb-lb-next {
	right: 18px;
}

.kb-lb-count {
	position: absolute;
	top: 30px;
	left: 24px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	font-weight: 700;
}

html.kb-lightbox-open,
html.kb-lightbox-open body {
	overflow: hidden !important;
}

/* Quelle */
/* Seitenleiste */
.kb-aside {
	position: sticky;
	top: calc(var(--km-scroll-offset, 110px) + 10px);
}

.km .kb-aside-card {
	gap: 22px;
	padding: 26px;
	border-color: rgba(0, 0, 0, 0.06);
	background: var(--km-grey-100);
	box-shadow: none;
}

.kb-facts {
	display: grid;
	gap: 14px;
	margin: 0;
}

.kb-facts div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.kb-facts dt {
	color: var(--km-grey-700);
	font-size: 0.82rem;
}

.kb-facts dd {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 800;
	text-align: right;
}

.kb-share-label {
	display: block;
	margin-bottom: 10px;
	color: var(--km-grey-700);
	font-size: 0.82rem;
}

.kb-share-row {
	display: flex;
	gap: 8px;
}

.km .kb-share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	color: var(--km-black);
	background: var(--km-white);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.km .kb-share-btn:hover,
.km .kb-share-btn:focus-visible {
	border-color: var(--km-accent);
	color: var(--km-white);
	background: var(--km-accent);
}

.kb-copy-hint {
	display: block;
	min-height: 1.2em;
	margin-top: 8px;
	color: var(--km-accent-dark);
	font-size: 0.8rem;
	font-weight: 700;
}

.km .kb-back {
	gap: 8px;
	width: 100%;
}

.km .kb-edit-link {
	align-self: center;
	color: var(--km-accent-dark);
	font-size: 0.85rem;
	font-weight: 800;
}

/* Älterer / neuerer Beitrag */
.kb-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 70px !important;
	padding-top: 34px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.km a.kb-pager-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 24px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.km a.kb-pager-link:hover {
	border-color: var(--km-accent);
	background: rgba(0, 155, 142, 0.04);
}

.kb-pager-next {
	text-align: right;
}

.kb-pager-dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--km-accent-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kb-pager-next .kb-pager-dir {
	justify-content: flex-end;
}

.kb-pager-link strong {
	font-size: 1rem;
	line-height: 1.35;
}

.km section.kb-related {
	background: #e8e9e9;
}

/* --------------------------------------------------------------------------
   Editor (.ke)
   -------------------------------------------------------------------------- */

.km section.ke-head {
	padding: 150px 2% 46px;
	color: var(--km-white);
	background:
		radial-gradient(circle at 85% 0%, rgba(0, 155, 142, 0.4), transparent 45%),
		#0b0f0f;
}

.ke-head .km-container,
.ke-body .km-container {
	width: min(100%, 1440px);
}

.ke-head-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.km .ke-head h1 {
	margin: 0;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.km .ke-head .km-eyebrow {
	color: #4fd1c5;
}

.ke-head-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.km .ke-head-actions .km-btn {
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px;
}

.km section.ke-body {
	padding: 40px 2% 100px;
}

.ke-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
	padding: 14px 20px;
	border: 1px solid rgba(0, 155, 142, 0.35);
	border-radius: 14px;
	color: var(--km-accent-dark);
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 14px 40px rgba(0, 60, 55, 0.1);
	font-weight: 800;
	animation: ke-in 0.4s ease;
}

@keyframes ke-in {
	from { opacity: 0; transform: translateY(-6px); }
}

.ke-alert {
	margin-bottom: 20px;
	padding: 14px 20px;
	border: 1px solid rgba(198, 40, 40, 0.3);
	border-radius: 14px;
	color: #8a1c1c;
	background: #fdeeee;
	font-size: 0.92rem;
}

.km .ke-alert ul {
	margin-top: 6px;
	padding-left: 18px;
}

.km .ke-alert li {
	list-style: disc;
}

.ke-alert-info {
	border-color: rgba(230, 160, 0, 0.35);
	color: #6b4b00;
	background: #fff6dd;
}

.km .ke-alert a {
	color: inherit;
	font-weight: 800;
	text-decoration: underline;
}

/* Anmeldung / Hinweise */
.km .ke-login {
	max-width: 520px;
	margin: 20px auto;
	padding: 36px;
}

.km .ke-login h2 {
	font-size: 1.6rem;
}

.km .ke-login p {
	color: var(--km-grey-700);
}

.km .ke-login form p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.km .ke-login label {
	color: var(--km-black);
	font-size: 0.82rem !important;
	font-weight: 700;
}

.km .ke-login .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.km .ke-login input[type="text"],
.km .ke-login input[type="password"] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(0, 0, 0, 0.14) !important;
	border-radius: 12px !important;
	background: var(--km-white) !important;
}

.km .ke-login input[type="submit"] {
	min-height: 50px;
	padding: 0 28px !important;
	border: 0;
	border-radius: var(--km-btn-radius) !important;
	color: var(--km-white) !important;
	background: var(--km-accent) !important;
	font-weight: 800;
	cursor: pointer;
}

.km .ke-lost {
	color: var(--km-accent-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

/* Liste */
.ke-toolbar {
	margin-bottom: 22px;
}

.km .ke-list {
	gap: 0;
	padding: 6px 0;
	overflow: hidden;
}

.ke-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px 190px 170px;
	align-items: center;
	gap: 16px;
	padding: 12px 22px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ke-row:first-child,
.ke-row-head + .ke-row {
	border-top: 0;
}

.ke-row:not(.ke-row-head):hover {
	background: rgba(0, 155, 142, 0.04);
}

.ke-row-head {
	padding-top: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--km-grey-700);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.km a.ke-row-main {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.ke-thumb {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 72px;
	height: 54px;
	border-radius: 10px;
	color: var(--km-accent-dark);
	background: rgba(0, 155, 142, 0.08);
}

.km .ke-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ke-row-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ke-row-text strong {
	overflow: hidden;
	font-size: 0.98rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ke-row-text small {
	color: var(--km-grey-700);
	font-size: 0.8rem;
}

.km a.ke-row-main:hover strong {
	color: var(--km-accent-dark);
}

.ke-date {
	color: var(--km-grey-700);
	font-size: 0.85rem;
}

.ke-row-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.km .ke-row-actions a:not(.ke-edit-btn) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	color: var(--km-grey-700);
}

.km .ke-row-actions a:not(.ke-edit-btn):hover {
	border-color: var(--km-accent);
	color: var(--km-accent-dark);
}

.km a.ke-edit-btn {
	padding: 9px 16px;
	border-radius: var(--km-btn-radius);
	color: var(--km-white);
	background: var(--km-accent);
	font-size: 0.82rem;
	font-weight: 800;
}

.km a.ke-edit-btn:hover {
	background: var(--km-accent-dark);
}

.ke-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	color: #555;
	background: rgba(0, 0, 0, 0.06);
	font-size: 0.75rem;
	font-weight: 800;
	white-space: nowrap;
}

.ke-status::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.ke-status-publish {
	color: var(--km-accent-dark);
	background: rgba(0, 155, 142, 0.12);
}

.ke-status-future {
	color: #1e5bb8;
	background: rgba(30, 91, 184, 0.1);
}

.ke-status-pending {
	color: #8a5a00;
	background: rgba(230, 160, 0, 0.16);
}

.ke-status-trash {
	color: #a12626;
	background: rgba(198, 40, 40, 0.1);
}

/* Formular */
.ke-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: 26px;
}

.ke-main,
.ke-side {
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.ke-side {
	position: sticky;
	top: calc(var(--km-scroll-offset, 100px) + 10px);
}

.km .ke-card {
	gap: 0;
	padding: 24px 26px;
}

.ke-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.ke-card-head .ke-label {
	margin: 0 !important;
}

.km .ke-label {
	display: block;
	margin: 18px 0 8px !important;
	color: var(--km-black) !important;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1.4 !important;
}

.km .ke-card > .ke-label:first-child,
.km .ke-card > input[type="hidden"] + .ke-label,
.km .ke-publish-head .ke-label {
	margin-top: 0 !important;
}

.km .ke-label small {
	color: var(--km-grey-700);
	font-size: 0.78rem;
	font-weight: 600;
}

.km .ke-form input[type="text"],
.km .ke-form input[type="url"],
.km .ke-form input[type="datetime-local"],
.km .ke-form input[type="date"],
.km .ke-form input[type="email"],
.km .ke-form select,
.km .ke-form textarea:not(.wp-editor-area) {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 15px !important;
	border: 1px solid rgba(0, 0, 0, 0.14) !important;
	border-radius: 12px !important;
	color: var(--km-black) !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.km .ke-form textarea:not(.wp-editor-area) {
	min-height: 96px;
	resize: vertical;
}

.km .ke-form input:focus,
.km .ke-form select:focus,
.km .ke-form textarea:focus {
	border-color: var(--km-accent) !important;
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 155, 142, 0.15) !important;
}

.km .ke-form .has-error {
	border-color: var(--km-error) !important;
	box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.12) !important;
}

.km .ke-form input.ke-title-input {
	min-height: 60px;
	font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ke-counter {
	display: block;
	margin-top: 6px;
	color: var(--km-grey-700);
	font-size: 0.76rem;
	text-align: right;
}

.ke-counter.is-near {
	color: #b06d00;
}

.km .ke-help {
	margin: 8px 0 0;
	color: var(--km-grey-700);
	font-size: 0.8rem;
	line-height: 1.5;
}

.km .ke-help.has-error-text {
	color: var(--km-error);
}

/* Text-Editor (TinyMCE) im Glas-Look */
.km .ke-editor-card .wp-editor-wrap {
	border-radius: 14px;
}

.km .mce-container,
.km .mce-container *,
.km .mce-widget,
.km .mce-widget *,
.km .wp-editor-tools,
.km .wp-editor-tools * {
	box-sizing: content-box;
}

.km .ke-editor-card .wp-editor-container {
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 14px;
	background: var(--km-white);
}

.km .ke-editor-card div.mce-toolbar-grp {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #f6f8f8;
}

.km .ke-editor-card .mce-top-part::before {
	box-shadow: none;
}

.km .ke-editor-card .mce-btn button {
	padding: 4px 6px !important;
	border: 0 !important;
	color: #333 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 20px !important;
}

.km .ke-editor-card .mce-btn:hover,
.km .ke-editor-card .mce-btn.mce-active {
	border-radius: 8px;
	background: rgba(0, 155, 142, 0.12) !important;
}

.km .ke-editor-card .mce-btn.mce-active i {
	color: var(--km-accent-dark);
}

.km .ke-editor-card .wp-editor-area {
	box-sizing: border-box;
	width: 100%;
	padding: 18px !important;
	border: 0 !important;
	font-family: Menlo, Consolas, monospace;
	font-size: 0.88rem;
}

.km .ke-editor-card .wp-editor-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 10px;
}

.km .ke-editor-card .wp-media-buttons .button,
.km .ke-editor-card .wp-switch-editor {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: auto !important;
	margin: 0 0 0 6px !important;
	padding: 7px 14px !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 999px !important;
	color: var(--km-black) !important;
	background: var(--km-white) !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 0.8rem !important;
	font-weight: 700;
	line-height: 1.3 !important;
	float: none !important;
}

.km .ke-editor-card .wp-media-buttons .button {
	margin-left: 0 !important;
}

.km .ke-editor-card .wp-media-buttons .button .wp-media-buttons-icon::before {
	color: var(--km-accent-dark);
}

.km .ke-editor-card .html-active .switch-html,
.km .ke-editor-card .tmce-active .switch-tmce {
	border-color: var(--km-accent) !important;
	color: var(--km-white) !important;
	background: var(--km-accent) !important;
}

.km .ke-editor-card .quicktags-toolbar {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #f6f8f8;
}

.km .ke-editor-card .quicktags-toolbar input.button {
	min-height: 0;
	margin: 2px;
	padding: 4px 10px !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 8px !important;
	color: var(--km-black) !important;
	background: var(--km-white) !important;
	font-size: 0.8rem !important;
}

/* Galerie im Editor */
.km .ke-small-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid rgba(0, 155, 142, 0.35);
	border-radius: 999px;
	color: var(--km-accent-dark);
	background: rgba(0, 155, 142, 0.06);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 800;
}

.km .ke-small-btn:hover {
	color: var(--km-white);
	background: var(--km-accent);
}

.km ul.ke-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
}

.km .ke-gallery li {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 12px;
	background: var(--km-grey-100);
	cursor: grab;
}

.km .ke-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.km .ke-gallery button {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0 0 2px;
	border: 0;
	border-radius: 50%;
	color: var(--km-white);
	background: rgba(12, 12, 12, 0.6);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}

.km .ke-gallery button:hover {
	background: var(--km-error);
}

.km .ke-gallery .ui-sortable-placeholder {
	visibility: visible !important;
	border: 2px dashed var(--km-accent);
	background: rgba(0, 155, 142, 0.06);
}

/* Seitenleiste */
.ke-publish-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ke-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

.km .ke-buttons .km-btn {
	width: 100%;
	min-height: 50px;
}

.km .ke-buttons .km-btn[disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

.km .ke-link-btn,
.km .ke-danger {
	align-self: center;
	margin: 4px 0 0;
	padding: 6px 4px;
	border: 0;
	color: var(--km-grey-700);
	background: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.km .ke-link-btn:hover {
	color: var(--km-accent-dark);
}

.km .ke-danger {
	color: #a12626;
}

.km .ke-danger.is-armed {
	padding: 6px 12px;
	border-radius: 999px;
	color: var(--km-white);
	background: var(--km-error);
	text-decoration: none;
}

.ke-publish-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.km .ke-publish-foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--km-accent-dark);
	font-size: 0.86rem;
	font-weight: 800;
}

.km .ke-publish-foot .ke-danger {
	align-self: auto;
	margin: 0;
}

.km .ke-saved {
	margin-top: 12px;
}

/* Beitragsbild */
.ke-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border: 2px dashed rgba(0, 155, 142, 0.35);
	border-radius: 14px;
	background: rgba(0, 155, 142, 0.04);
}

.ke-image.has-image {
	border-style: solid;
	border-color: transparent;
}

.km .ke-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.km .ke-image-pick {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--km-accent-dark);
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 800;
}

.km .ke-image.has-image .ke-image-pick {
	color: var(--km-white);
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.km .ke-image.has-image:hover .ke-image-pick,
.km .ke-image.has-image .ke-image-pick:focus-visible {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.kb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ke-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.ke-row {
		grid-template-columns: minmax(0, 1fr) 130px 150px;
	}

	.ke-row > .ke-date,
	.ke-row-head > span:nth-child(3) {
		display: none;
	}
}

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

	.kb-content {
		max-width: none;
	}

	.kb-aside {
		position: static;
	}

	.km a.kb-card-featured {
		grid-template-columns: 1fr;
	}

	.km .kb-card-featured .kb-card-img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.ke-grid {
		grid-template-columns: 1fr;
	}

	.ke-side {
		position: static;
	}
}

@media (max-width: 680px) {
	.kb-grid,
	.km .kb-prose .kb-gallery,
	.kb-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kb-grid {
		grid-template-columns: 1fr;
	}

	.km a.kb-gallery-item.is-wide {
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}

	.km section.kb-article {
		padding: 48px 5% 40px;
	}

	.kb-prose {
		font-size: 1rem;
		line-height: 1.75;
	}

	.kb-pager {
		grid-template-columns: 1fr;
	}

	.kb-pager-next {
		text-align: left;
	}

	.kb-pager-next .kb-pager-dir {
		justify-content: flex-start;
	}

	.ka-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ka-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -5%;
		padding: 2px 5% 6px;
		scrollbar-width: none;
	}

	.ka-chips::-webkit-scrollbar {
		display: none;
	}

	.km a.ka-chip {
		flex: 0 0 auto;
	}

	.ka-search {
		width: 100%;
	}

	.km section.ka-list {
		padding: 48px 5% 72px;
	}

	.kb-lightbox {
		padding: 60px 12px;
	}

	.kb-lb-prev,
	.kb-lb-next {
		top: auto;
		bottom: 18px;
	}

	.kb-lb-prev {
		left: calc(50% - 58px);
	}

	.kb-lb-next {
		right: calc(50% - 58px);
	}

	.km section.ke-head {
		padding: 120px 5% 32px;
	}

	.km section.ke-body {
		padding: 28px 5% 72px;
	}

	.ke-row {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 12px 14px;
	}

	.ke-row-head {
		display: none;
	}

	.ke-row > span:nth-child(2) {
		display: none;
	}

	.ke-thumb {
		width: 56px;
		height: 44px;
	}

	.km .ke-card {
		padding: 20px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.km a.kb-card,
	.km a.kb-card:hover,
	.km a.kb-card:hover .kb-card-img img,
	.km a.kb-gallery-item:hover img,
	.kb-video-play,
	.ke-toast {
		transform: none;
		transition: none;
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Beitragsseite: Kopf geteilt – links Hintergrund mit Text, rechts Beitragsbild
   -------------------------------------------------------------------------- */

.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "text media";
	min-height: clamp(460px, 62vh, 660px);
	background:
		radial-gradient(circle at 15% 20%, rgba(0, 155, 142, 0.35), transparent 45%),
		radial-gradient(circle at 45% 95%, rgba(0, 155, 142, 0.18), transparent 40%),
		#0b0f0f;
}

.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
	grid-area: media;
	min-height: 100%;
	background-position: center;
	background-size: cover;
}

.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
	grid-area: text;
	align-self: center;
	justify-self: center;
	width: calc(100% - 8%);
	max-width: 640px;
	margin: 48px 0;
}

@media (max-width: 980px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-grid {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "text";
		min-height: 0;
		padding-bottom: 5vw;
	}

	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		width: 90%;
		max-width: none;
		margin: -70px 5% 0;
	}
}

@media (max-width: 680px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		margin-top: -48px;
	}
}

/* Beitragsbild als abgerundete Karte auf dem Hintergrund */
.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
	align-self: center;
	height: calc(100% - 96px);
	min-height: 360px;
	margin: 48px 40px 48px 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

@media (max-width: 980px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
		height: auto;
		min-height: 0;
		margin: 32px 5% 0;
		border-radius: 20px;
	}

	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		margin-top: -40px;
	}
}

@media (max-width: 680px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image {
		margin-top: 20px;
		border-radius: 18px;
	}

	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		margin-top: -32px;
	}
}

/* Kompaktere Abstände vor und nach dem Beitragstext */
.km.kb-single section.kb-article {
	padding-top: 48px;
	padding-bottom: 48px;
}

.km.kb-single section.kb-related {
	padding-top: 64px;
}

.km.kb-single .kb-prose > *:last-child,
.km.kb-single .kb-content > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 680px) {
	.km.kb-single section.kb-article {
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.km.kb-single section.kb-related {
		padding-top: 48px;
	}
}

/* Video-Kachel im Beitrag: Salient rundet alle <button> stark ab – eigene Ecken erzwingen */
.km button.kb-video {
	border-radius: 20px !important;
}


/* Übersicht: Presse/Karriere-Karten im hellen Bereich */
.ka-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	margin-top: 70px;
}

.km .ka-cta-card {
	align-items: flex-start;
	gap: 0;
	padding: clamp(28px, 3.4vw, 44px);
}

.km .ka-cta-card h2 {
	margin-bottom: 12px;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.km .ka-cta-card p {
	margin-bottom: 24px;
	color: var(--km-grey-700);
}

.km .ka-cta-card .km-btn {
	margin-top: auto;
}

.km .ka-cta-main {
	border-color: rgba(0, 155, 142, 0.35);
	background:
		radial-gradient(circle at 100% 0%, rgba(0, 155, 142, 0.14), transparent 55%),
		rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
	.ka-cta-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 48px;
	}
}


/* Beitragsseite: Glas-Karte im Kopf links bündig (2 % Rand wie auf den anderen Seiten) */
.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
	justify-self: start;
	width: calc(100% - 2vw - 40px);
	max-width: 680px;
	margin-left: 2vw;
	margin-right: 40px;
}

/* Kompaktere Abstände über und unter dem Beitragstext */
.km.kb-single section.kb-article {
	padding-top: 32px;
	padding-bottom: 32px;
}

.km.kb-single .kb-prose > .wpb_row:first-child,
.km.kb-single .kb-prose > .vc_row:first-child,
.km.kb-single .kb-prose > p:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.km.kb-single .kb-prose > .wpb_row:last-child,
.km.kb-single .kb-prose > .vc_row:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

@media (max-width: 980px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		width: 90%;
		max-width: none;
		margin-right: 5%;
		margin-left: 5%;
	}
}

@media (max-width: 680px) {
	.km.kb-single section.kb-article {
		padding-top: 24px;
		padding-bottom: 24px;
	}
}

/* Beitragsseite: Glas-Karte unten bündig mit dem Beitragsbild */
@media (min-width: 981px) {
	.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-content {
		align-self: end;
		margin-top: 48px;
		margin-bottom: 48px;
	}
}

/* ==========================================================================
   Beitragsseite – schmaler Kopf (nur Glas-Box) + Beitragsbild über dem Text
   ========================================================================== */
.km.kb-single .kb-hero-slim .km-hero-grid {
	display: block;
	min-height: 0;
	padding: clamp(36px, 5vw, 64px) 2%;
}

.km.kb-single .kb-hero-slim .km-hero-content {
	width: min(820px, 100%);
	max-width: none;
	margin: 0;
	padding: clamp(26px, 2.6vw, 38px) clamp(26px, 3vw, 42px);
}

.km.kb-single .kb-hero-slim .km-hero-content h1 {
	margin-bottom: 14px;
}

/* Beitragsbild vor dem Text */
.km .kb-featured {
	width: min(100%, 1040px);
	margin: 0 auto 36px;
}

.km .kb-featured img {
	width: 100%;
	height: auto;
	max-height: 640px;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.km .kb-featured figcaption {
	margin-top: 10px;
	color: var(--km-grey-700);
	font-size: 0.85rem;
	text-align: center;
}

.km.kb-single section.kb-article {
	padding-top: 40px;
}

@media (max-width: 999px) {
	/* Platz für die schwebende Glas-Leiste auf dem Handy */
	body.kmn-ready .km.kb-single .kb-hero-slim .km-hero-grid {
		padding-top: 112px;
	}
}

@media (max-width: 680px) {
	.km.kb-single .kb-hero-slim .km-hero-grid {
		display: block;
		padding: 28px 5%;
	}

	.km.kb-single .kb-hero-slim .km-hero-content {
		width: 100%;
		margin: 0;
		padding: 22px 20px;
	}

	.km .kb-featured {
		margin-bottom: 24px;
	}

	.km .kb-featured img {
		border-radius: 14px;
	}

	.km.kb-single section.kb-article {
		padding-top: 24px;
	}
}

/* Beitragsseite: Beitragsbild links, Text rechts (Desktop) */
@media (min-width: 981px) {
	.km .kb-layout.has-featured {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
		gap: clamp(36px, 4.5vw, 72px);
		width: min(100%, 1320px);
	}

	.km .kb-layout.has-featured .kb-featured {
		position: sticky;
		top: calc(var(--km-scroll-offset, 110px) + 16px);
		width: 100%;
		margin: 0;
	}

	.km .kb-layout.has-featured .kb-featured img {
		max-height: calc(100vh - 180px);
	}

	.km .kb-layout.has-featured .kb-content {
		max-width: 720px;
		margin: 0;
	}
}

/* Beitragsbild: linksbündig (2 % Rand wie der Kopf), ohne Schatten, scrollt normal mit */
@media (min-width: 981px) {
	.km.kb-single section.kb-article {
		padding-right: 2%;
		padding-left: 2%;
	}

	.km .kb-layout.has-featured {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.km .kb-layout.has-featured .kb-featured {
		position: static;
	}

	.km .kb-layout.has-featured .kb-featured img {
		max-height: none;
	}
}

.km .kb-featured img {
	box-shadow: none;
}

/* Beitragsseite: Überschrift "Weitere Beiträge" kleiner */
.km.kb-single .kb-related .kh-news-head h2 {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	letter-spacing: -0.02em;
}

.km.kb-single .kb-related .kh-news-head {
	align-items: center;
	margin-bottom: 26px;
}

/* Beitragsseite: "Weitere Beiträge" links bündig und über die volle Breite (2 % Rand wie Kopf und Bild) */
@media (min-width: 981px) {
	.km.kb-single section.kb-related {
		padding-right: 2%;
		padding-left: 2%;
	}

	.km.kb-single .kb-related .km-container {
		width: 100%;
		max-width: none;
	}
}

/* ==========================================================================
   Beitragsseite – Überschrift rechts über dem Text, Bild links
   ========================================================================== */
.km.kb-single section.kb-article {
	padding-top: clamp(32px, 3.6vw, 56px);
}

.km .kb-head {
	margin: 0 0 clamp(24px, 2.6vw, 34px);
	padding-bottom: clamp(22px, 2.4vw, 30px);
	border-bottom: 1px solid rgba(18, 18, 18, 0.1);
}

.km .kb-layout-single:not(.has-featured) .kb-head {
	width: min(820px, 100%);
}

.km .kb-head .kb-crumbs { margin-bottom: 14px; }
.km .kb-head .kb-crumbs a { color: #009b8e; }
.km .kb-head .kb-crumbs a:hover { color: var(--km-black); }
.km .kb-head .kb-crumbs span { color: rgba(18, 18, 18, 0.35); }
.km .kb-head .kb-crumbs .kb-crumb-current { color: var(--km-grey-700); }

.km .kb-head h1 {
	margin: 0 0 18px;
	color: var(--km-black);
	font-size: clamp(1.6rem, 2.3vw, 2.3rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	hyphens: auto;
}

.km .kb-head > p {
	margin: 0 0 18px;
	color: var(--km-grey-900);
	font-size: 1.05rem;
}

.km .kb-head .kb-meta span {
	border-color: rgba(0, 155, 142, 0.22);
	color: var(--km-grey-900);
	background: rgba(0, 155, 142, 0.07);
}

@media (min-width: 981px) {
	.km .kb-layout.has-featured {
		grid-template-areas: "bild kopf" "bild text";
		grid-template-rows: auto 1fr;
		row-gap: 0;
	}

	.km .kb-layout.has-featured .kb-featured { grid-area: bild; }
	.km .kb-layout.has-featured .kb-head { grid-area: kopf; max-width: 720px; }
	.km .kb-layout.has-featured .kb-content { grid-area: text; }

	/* Oberkante der Rubrik bündig mit der Bildkante */
	.km .kb-layout.has-featured .kb-head .kb-crumbs { margin-top: -0.2em; }

	.km .kb-layout.has-featured .kb-prose > :first-child,
	.km .kb-layout.has-featured .kb-prose > :first-child > :first-child {
		margin-top: 0 !important;
	}
}

@media (max-width: 980px) {
	/* Handy/Tablet: Überschrift, dann Bild, dann Text */
	.km .kb-layout.has-featured {
		display: flex;
		flex-direction: column;
	}

	.km .kb-layout.has-featured .kb-head { order: 1; }
	.km .kb-layout.has-featured .kb-featured { order: 2; }
	.km .kb-layout.has-featured .kb-content { order: 3; }
}

@media (max-width: 999px) {
	body.kmn-ready .km.kb-single section.kb-article {
		padding-top: 112px;
	}
}

@media (max-width: 680px) {
	body.kmn-ready .km.kb-single section.kb-article {
		padding-top: 104px;
	}

	.km .kb-head h1 {
		font-size: clamp(1.45rem, 6.4vw, 1.8rem);
	}

	.km .kb-head {
		margin-bottom: 20px;
		padding-bottom: 20px;
	}
}

@media (max-width: 980px) {
	.km .kb-layout.has-featured { gap: 0; }
	.km .kb-layout.has-featured .kb-featured { margin: 0 0 24px; }
}

/* Beitragsseite: Quelle am Ende */
.km .kb-source {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: row;
	justify-content: flex-start;
	gap: 10px 14px;
	margin: clamp(28px, 3vw, 40px) 0 0;
	text-align: left;
	padding-top: 20px;
	border-top: 1px solid rgba(18, 18, 18, 0.1);
	color: var(--km-grey-900);
	font-size: 0.95rem;
}

.km .kb-source-lbl {
	color: var(--km-grey-700);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.km .kb-source a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #009b8e;
	font-size: inherit;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 155, 142, 0.35);
}

.km .kb-source a:hover {
	color: var(--km-black);
	border-bottom-color: var(--km-black);
}

/* ==========================================================================
   Beitragsseite – Magazin-Layout: Titel, dann Bild, dann Text (eine Spalte, zentriert)
   ========================================================================== */
.km.kb-single section.kb-article {
	padding-right: 5%;
	padding-left: 5%;
}

.km .kb-layout.kb-layout-single,
.km .kb-layout.has-featured {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 0;
	width: 100%;
	max-width: none;
	margin: 0 auto;
}

.km .kb-layout .kb-head { order: 1; }
.km .kb-layout .kb-featured { order: 2; }
.km .kb-layout .kb-content { order: 3; }

.km .kb-layout .kb-head,
.km .kb-layout.has-featured .kb-head {
	width: min(860px, 100%);
	max-width: none;
	margin: 0 0 clamp(28px, 3.4vw, 48px);
	padding: 0;
	border: 0;
	text-align: center;
}

.km .kb-head .kb-crumbs,
.km .kb-head .kb-meta {
	justify-content: center;
}

.km .kb-layout.has-featured .kb-head .kb-crumbs { margin-top: 0; }

.km .kb-head h1 {
	max-width: none;
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.1;
}

.km .kb-head > p {
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
	font-size: 1.12rem;
}

.km .kb-layout .kb-featured,
.km .kb-layout.has-featured .kb-featured {
	position: static;
	width: min(1200px, 100%);
	margin: 0 0 clamp(32px, 3.6vw, 52px);
}

.km .kb-layout .kb-featured img {
	width: 100%;
	max-height: 680px;
	object-fit: cover;
}

.km .kb-layout .kb-content,
.km .kb-layout.has-featured .kb-content {
	width: min(720px, 100%);
	max-width: none;
	margin: 0;
}

@media (max-width: 680px) {
	.km .kb-layout .kb-head,
	.km .kb-layout.has-featured .kb-head {
		margin-bottom: 22px;
	}

	.km .kb-head h1 {
		font-size: clamp(1.45rem, 6.4vw, 1.8rem);
	}

	.km .kb-head > p {
		font-size: 1rem;
	}

	.km .kb-layout .kb-featured,
	.km .kb-layout.has-featured .kb-featured {
		margin-bottom: 24px;
	}
}

@media (min-width: 681px) {
	.km .kb-layout .kb-featured {
		width: min(1100px, 100%);
	}

	.km .kb-layout .kb-featured img {
		aspect-ratio: 16 / 9;
		max-height: none;
	}
}

/* ==========================================================================
   Beitragsseite – heller Hintergrund hinter Titel und oberer Bildhälfte
   ========================================================================== */
.km.kb-single {
	--kb-band: #eef3f2;
}

.km.kb-single section.kb-article {
	overflow-x: clip;
	padding-top: 0 !important;
}

/* Titelbereich: Fläche über die volle Breite */
.km .kb-layout .kb-head,
.km .kb-layout.has-featured .kb-head {
	position: relative;
	margin-bottom: 0;
	padding-top: clamp(40px, 4.4vw, 64px);
	padding-bottom: clamp(28px, 3.4vw, 48px);
	background: var(--kb-band);
	box-shadow: 0 0 0 100vmax var(--kb-band);
	clip-path: inset(0 -100vmax);
}

/* Ohne Beitragsbild: Abstand zum Text */
.km .kb-layout-single:not(.has-featured) .kb-head {
	margin-bottom: clamp(32px, 3.6vw, 52px);
}

/* Fläche läuft bis zur Bildmitte weiter */
.km .kb-layout .kb-featured,
.km .kb-layout.has-featured .kb-featured {
	position: relative;
	top: 0;
	isolation: isolate;
}

@media (min-width: 681px) {
	.km .kb-layout.has-featured .kb-featured {
		width: min(1100px, 100%);
	}
}

.km .kb-layout .kb-featured::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 50%;
	width: 200vw;
	height: 50%;
	background: var(--kb-band);
	transform: translateX(-50%);
}

.km .kb-layout .kb-featured img {
	position: relative;
	box-shadow: 0 24px 60px rgba(0, 60, 55, 0.12);
}

@media (max-width: 999px) {
	body.kmn-ready .km.kb-single .kb-layout .kb-head {
		padding-top: 112px;
	}
}

@media (max-width: 680px) {
	body.kmn-ready .km.kb-single .kb-layout .kb-head {
		padding-top: 104px;
	}

	.km .kb-layout .kb-head,
	.km .kb-layout.has-featured .kb-head {
		padding-bottom: 22px;
	}
}

/* ==========================================================================
   Beitragsseite – Teilen-Button neben dem Bild
   ========================================================================== */
.km .kb-sharebox {
	position: absolute;
	z-index: 5;
	top: 16px;
	right: 16px;
}

.km .kb-share-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 30px !important;
	color: var(--km-black);
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.km .kb-share-toggle:hover,
.km .kb-sharebox.is-open .kb-share-toggle {
	border-color: #009b8e;
	color: #fff;
	background: #009b8e;
}

.km .kb-share-toggle:focus-visible {
	outline: 2px solid #009b8e;
	outline-offset: 3px;
}

.km .kb-share-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: flex;
	flex-direction: column;
	min-width: 210px;
	padding: 8px;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
	text-align: left;
}

.km .kb-share-menu a,
.km .kb-share-menu button {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px !important;
	color: var(--km-black);
	background: none;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.km .kb-share-menu a:hover,
.km .kb-share-menu button:hover,
.km .kb-share-menu a:focus-visible,
.km .kb-share-menu button:focus-visible {
	color: #009b8e;
	background: rgba(0, 155, 142, 0.08);
	outline: none;
}

.km .kb-share-menu svg {
	flex: 0 0 auto;
	color: #009b8e;
}

.km .kb-share-menu button {
	margin-top: 4px;
	border-top: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 0 0 10px 10px !important;
}

.km .kb-share-menu button.is-done {
	color: #009b8e;
}

/* Breite Bildschirme: runder Button links neben dem Bild (wie bei Magazinen) */
@media (min-width: 1280px) {
	.km .kb-layout .kb-featured .kb-sharebox {
		top: 0;
		right: auto;
		left: -76px;
	}

	.km .kb-layout .kb-featured .kb-share-toggle {
		flex-direction: column;
		gap: 6px;
		width: 56px;
		padding: 0;
		border: 0;
		color: var(--km-black);
		background: none;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		font-size: 0.72rem;
	}

	.km .kb-layout .kb-featured .kb-share-toggle svg {
		box-sizing: content-box;
		padding: 15px;
		border: 1px solid rgba(18, 18, 18, 0.12);
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 10px 26px rgba(0, 60, 55, 0.1);
		transition: background 0.2s, color 0.2s, border-color 0.2s;
	}

	.km .kb-layout .kb-featured .kb-share-toggle:hover,
	.km .kb-layout .kb-featured .kb-sharebox.is-open .kb-share-toggle {
		color: #009b8e;
		background: none;
	}

	.km .kb-layout .kb-featured .kb-share-toggle:hover svg,
	.km .kb-layout .kb-featured .kb-sharebox.is-open .kb-share-toggle svg {
		border-color: #009b8e;
		color: #fff;
		background: #009b8e;
	}

	.km .kb-layout .kb-featured .kb-share-menu {
		top: 0;
		right: auto;
		left: calc(100% + 12px);
	}
}

/* Ohne Beitragsbild: Button unter Datum/Lesezeit */
.km .kb-head .kb-sharebox {
	position: relative;
	top: auto;
	right: auto;
	display: inline-block;
	margin-top: 16px;
}

.km .kb-head .kb-share-menu {
	right: 50%;
	transform: translateX(50%);
}

/* Karten: Datum ebenfalls als Pille (neutral) */
.km .kb-pill-date {
	border-color: rgba(18, 18, 18, 0.12);
	color: var(--km-grey-900);
	background: rgba(18, 18, 18, 0.04);
	font-variant-numeric: tabular-nums;
}

/* Aktuell: Platzhalter-Headerbild – Hinweis auch auf dem Handy sichtbar */
.km .ka-hero-platzhalter .km-hero-image {
	background-position: 70% center;
}

/* ==========================================================================
   Stellenangebot – Detailseite (.kj)
   ========================================================================== */
.km.kj section.kj-head {
	padding: clamp(40px, 5vw, 72px) 2%;
	background:
		radial-gradient(circle at 90% 0%, rgba(0, 155, 142, 0.14), transparent 45%),
		#eef3f2;
}

.km .kj-head-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

.km .kj-head .kb-crumbs { margin-bottom: 16px; }
.km .kj-head .kb-crumbs a { color: #009b8e; }
.km .kj-head .kb-crumbs span { color: rgba(18, 18, 18, 0.35); }

.km .kj-head h1 {
	margin: 0 0 18px;
	color: var(--km-black);
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
	hyphens: auto;
}

.km .kj-intro {
	max-width: 60ch;
	margin: 20px 0 0;
	color: var(--km-grey-900);
	font-size: 1.08rem;
}

.km .kj-head-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.km .kj-head-img {
	margin: 0;
}

.km .kj-head-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 24px 60px rgba(0, 60, 55, 0.12);
}

.km.kj section.kj-body {
	padding: clamp(40px, 5vw, 72px) 2%;
	background: #fff;
}

.km .kj-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	align-items: start;
	gap: clamp(28px, 4vw, 64px);
}

.km .kj-main { max-width: 820px; }

.km .kj-block + .kj-block { margin-top: clamp(32px, 3.6vw, 48px); }

.km .kj-block h2 {
	margin: 0 0 16px;
	font-size: clamp(1.3rem, 1.9vw, 1.6rem);
	letter-spacing: -0.02em;
}

.km .kj-block p {
	color: var(--km-grey-900);
	font-size: 1.02rem;
	line-height: 1.75;
}

.km .kj-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.km .kj-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid rgba(0, 155, 142, 0.14);
	border-radius: 14px;
	color: var(--km-grey-900);
	background: rgba(0, 155, 142, 0.04);
	line-height: 1.55;
}

.km .kj-li-ico {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	color: #fff;
	background: #009b8e;
}

.km .kj-side {
	position: sticky;
	top: calc(var(--km-scroll-offset, 110px) + 16px);
}

.km .kj-card {
	padding: 28px;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 60, 55, 0.1);
}

.km .kj-facts {
	display: grid;
	gap: 0;
	margin: 6px 0 22px;
}

.km .kj-facts div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.km .kj-facts dt {
	color: var(--km-grey-700);
	font-size: 0.88rem;
}

.km .kj-facts dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	text-align: right;
}

.km .kj-person {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.km .kj-person img,
.km .kj-person-ini {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.km .kj-person-ini {
	display: grid;
	place-items: center;
	color: #009b8e;
	background: rgba(0, 155, 142, 0.1);
	font-weight: 800;
}

.km .kj-person small {
	display: block;
	color: var(--km-grey-700);
	font-size: 0.8rem;
}

.km .kj-person strong { font-size: 1.02rem; }

.km .kj-contact {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.km .kj-contact li { margin: 4px 0; }

.km .kj-contact a {
	color: #009b8e;
	font-size: 0.93rem;
	font-weight: 600;
	word-break: break-all;
}

.km .kj-apply {
	justify-content: center;
	width: 100%;
}

.km .kj-apply-note {
	margin: 10px 0 0;
	color: var(--km-grey-700);
	font-size: 0.8rem;
	text-align: center;
}

.km.kj section.kj-more {
	padding: clamp(48px, 6vw, 88px) 0;
	background: #eef3f2;
}

.km .kj-more h2 {
	margin: 0;
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

@media (max-width: 980px) {
	.km .kj-head-grid,
	.km .kj-grid { grid-template-columns: 1fr; }
	.km .kj-head-img { order: -1; }
	.km .kj-side { position: static; }
}

@media (max-width: 999px) {
	body.kmn-ready .km.kj section.kj-head { padding-top: 112px; }
}

@media (max-width: 680px) {
	.km.kj section.kj-head,
	.km.kj section.kj-body { padding-right: 5%; padding-left: 5%; }
	body.kmn-ready .km.kj section.kj-head { padding-top: 104px; }
	.km .kj-card { padding: 22px; }
}

/* Stellen-Editor */
.km .kj-row3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.km .kj-list-input { font-size: 0.95rem; line-height: 1.6; }

.km .kj-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0 18px;
	cursor: pointer;
	font-size: 0.92rem;
	font-weight: 600;
}

.km .kj-check input { width: auto; margin-top: 3px; }
.km .kj-check small { color: var(--km-grey-700); font-weight: 400; }

.km .kj-editor .kj-person { margin: 14px 0 4px; }
.km .kj-editor .kj-person > div { flex: 1; }

.km .kj-foto {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 64px;
	height: 64px;
	padding: 0;
	overflow: hidden;
	border: 1px dashed rgba(0, 155, 142, 0.5);
	border-radius: 50% !important;
	color: #009b8e;
	background: rgba(0, 155, 142, 0.06);
	cursor: pointer;
}

.km .kj-foto img { width: 100%; height: 100%; object-fit: cover; }
.km .kj-foto.has-image { border-style: solid; }

.km .ke-status-abgelaufen {
	color: #8a5a00;
	background: rgba(255, 170, 0, 0.14);
}

.km .kj-migrate {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

@media (max-width: 680px) {
	.km .kj-row3 { grid-template-columns: 1fr; }
}

/* Stellenseite: "Weitere Stellen" bündig mit dem übrigen Inhalt */
.km.kj section.kj-more { padding-left: 2%; padding-right: 2%; }
.km.kj section.kj-more .kk-wide { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0; }
@media (max-width: 680px) {
	.km.kj section.kj-more { padding-left: 5%; padding-right: 5%; }
}
