/* ==========================================================
   Shelframe – Haupt-Styles
   Farben, Größen und Schriften kommen als CSS-Variablen
   aus dem Customizer (inc/dynamic-css.php).
   ========================================================== */

:root {
	--bk-primary: #2563eb;
	--bk-on-primary: #fff;
	--bk-text: #374151;
	--bk-heading: #111827;
	--bk-link: #2563eb;
	--bk-link-hover: #1e40af;
	--bk-body-bg: #fff;
	--bk-alt-bg: #f6f7f9;
	--bk-border: #e5e7eb;
	--bk-muted: #6b7280;
	--bk-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--bk-font-heading: var(--bk-font-body);
	--bk-font-size: 17px;
	--bk-line-height: 1.7;
	--bk-heading-weight: 700;
	--bk-h1: 40px;
	--bk-h2: 32px;
	--bk-h3: 26px;
	--bk-h4: 21px;
	--bk-container: 1200px;
	--bk-gutter: 24px;
	--bk-sidebar-width: 30%;
	--bk-radius: 6px;
	--bk-gap: 40px;
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bk-body-bg);
	color: var(--bk-text);
	font-family: var(--bk-font-body);
	font-size: var(--bk-font-size);
	line-height: var(--bk-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

body.bk-panel-open {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1.6em 0 .6em;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading);
	font-weight: var(--bk-heading-weight);
	line-height: 1.25;
}

h1 { font-size: clamp(calc(var(--bk-h1) * .72), 5vw, var(--bk-h1)); }
h2 { font-size: clamp(calc(var(--bk-h2) * .78), 4vw, var(--bk-h2)); }
h3 { font-size: clamp(calc(var(--bk-h3) * .85), 3vw, var(--bk-h3)); }
h4 { font-size: var(--bk-h4); }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

p, ul, ol, dl, figure, table, blockquote, pre {
	margin: 0 0 1.4em;
}

a {
	color: var(--bk-link);
	text-underline-offset: .18em;
	transition: color .15s ease;
}

a:hover,
a:focus {
	color: var(--bk-link-hover);
}

img, video, iframe {
	max-width: 100%;
	height: auto;
}

hr {
	border: 0;
	border-top: 1px solid var(--bk-border);
	margin: 2.5em 0;
}

blockquote {
	margin-left: 0;
	padding: .2em 0 .2em 1.3em;
	border-left: 4px solid var(--bk-primary);
	font-size: 1.1em;
	color: var(--bk-heading);
}

pre, code, kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
}

pre {
	padding: 1em 1.2em;
	overflow: auto;
	background: var(--bk-alt-bg);
	border-radius: var(--bk-radius);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: .6em .8em;
	border-bottom: 1px solid var(--bk-border);
	text-align: left;
}

:focus-visible {
	outline: 2px solid var(--bk-primary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: #fff;
	color: #111;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.bk-icon {
	display: block;
	flex: none;
}

/* ---------- Formulare & Buttons ---------- */

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
	width: 100%;
	max-width: 100%;
	padding: .65em .85em;
	font: inherit;
	font-size: 16px;
	color: var(--bk-text);
	background: var(--bk-field-bg, #fff);
	border: 1px solid var(--bk-field-border, var(--bk-border));
	border-radius: var(--bk-radius);
	transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--bk-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bk-primary) 20%, transparent);
}

button, .bk-btn, input[type="submit"], input[type="button"], .wp-block-button__link {
	font: inherit;
	cursor: pointer;
}

.bk-btn,
input[type="submit"],
.wp-block-button__link,
.bk-comments .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	padding: var(--bk-btn-pad, .7em 1.35em);
	font-weight: var(--bk-btn-weight, 600);
	font-size: .95em;
	line-height: 1.2;
	text-transform: var(--bk-btn-transform, none);
	text-decoration: none;
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border: 2px solid var(--bk-primary);
	border-radius: var(--bk-radius);
	transition: background .15s, color .15s, border-color .15s, transform .15s;
}

.bk-btn:hover, .bk-btn:focus,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	color: var(--bk-on-primary);
	background: color-mix(in srgb, var(--bk-primary) 85%, #000);
	border-color: color-mix(in srgb, var(--bk-primary) 85%, #000);
}

.bk-btn--outline {
	color: var(--bk-primary);
	background: transparent;
}

.bk-btn--outline:hover, .bk-btn--outline:focus {
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border-color: var(--bk-primary);
}

.bk-btn--text {
	padding-left: 0;
	padding-right: 0;
	color: var(--bk-primary);
	background: none;
	border-color: transparent;
}

.bk-btn--text:hover, .bk-btn--text:focus {
	color: var(--bk-link-hover);
	background: none;
	border-color: transparent;
}

/* Suchformular */
.bk-search-form {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 420px;
}

.bk-search-form__input {
	padding-right: 2.8em !important;
}

.bk-search-form__submit {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	padding: 0 .85em;
	color: var(--bk-muted);
	background: none;
	border: 0;
}

.bk-search-form__submit:hover {
	color: var(--bk-primary);
}

/* ---------- Container & Layout ---------- */

.bk-container,
.bk-hrow--contained .bk-hrow__inner,
.bk-frow--contained .bk-frow__inner {
	width: 100%;
	max-width: calc(var(--bk-container) + var(--bk-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--bk-gutter);
	padding-right: var(--bk-gutter);
}

.bk-hrow--full .bk-hrow__inner,
.bk-frow--full .bk-frow__inner {
	padding-left: var(--bk-gutter);
	padding-right: var(--bk-gutter);
}

.bk-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.bk-site-content {
	flex: 1 0 auto;
}

.bk-layout {
	display: flex;
	gap: var(--bk-gap);
	padding-top: var(--bk-cpad-t, 48px);
	padding-bottom: var(--bk-cpad-b, 64px);
}

.bk-layout.bk-container {
	padding-left: var(--bk-cpad-l, var(--bk-gutter));
	padding-right: var(--bk-cpad-r, var(--bk-gutter));
}

/* Abstand des Inhaltsbereichs je Seitentyp */
.bk-cspace-notop .bk-layout,
.bk-cspace-none .bk-layout {
	padding-top: 0;
}

.bk-cspace-nobottom .bk-layout,
.bk-cspace-none .bk-layout {
	padding-bottom: 0;
}

.bk-layout--full {
	display: block;
	padding: 0;
}

.bk-main {
	flex: 1 1 auto;
	min-width: 0;
}

.bk-sidebar {
	flex: 0 0 var(--bk-sidebar-width);
	min-width: 0;
}

.bk-layout--left .bk-sidebar,
.bk-layout--left-left .bk-sidebar,
.bk-layout--both .bk-sidebar--primary {
	order: -1;
}

/* Zwei Seitenleisten */
.bk-layout--left-left .bk-sidebar,
.bk-layout--both .bk-sidebar,
.bk-layout--right-right .bk-sidebar {
	flex-basis: calc(var(--bk-sidebar-width) * .75);
}

/* Seitenleiste mit vertikalem Rand */
.bk-sidebar-border .bk-layout {
	align-items: stretch;
}

.bk-sidebar-border .bk-layout--right .bk-sidebar,
.bk-sidebar-border .bk-layout--right-right .bk-sidebar,
.bk-sidebar-border .bk-layout--both .bk-sidebar--secondary {
	padding-left: var(--bk-gap);
	border-left: 1px solid var(--bk-border);
}

.bk-sidebar-border .bk-layout--left .bk-sidebar,
.bk-sidebar-border .bk-layout--left-left .bk-sidebar,
.bk-sidebar-border .bk-layout--both .bk-sidebar--primary {
	padding-right: var(--bk-gap);
	border-right: 1px solid var(--bk-border);
}

@media (max-width: 900px) {
	.bk-layout {
		flex-direction: column;
		padding-top: var(--bk-cpad-t, 32px);
		padding-bottom: var(--bk-cpad-b, 48px);
	}

	.bk-cspace-notop .bk-layout,
	.bk-cspace-none .bk-layout {
		padding-top: 0;
	}

	.bk-cspace-nobottom .bk-layout,
	.bk-cspace-none .bk-layout {
		padding-bottom: 0;
	}

	.bk-layout .bk-sidebar {
		order: 0;
		flex-basis: auto;
		padding-left: 0;
		padding-right: 0;
		border-left: 0;
		border-right: 0;
	}
}

@media (max-width: 600px) {
	:root {
		--bk-gutter: 18px;
	}
}

/* Elementor/Page-Builder: Inhalt ohne Rand */
.bk-full-width .bk-entry__content > *:not(.alignfull):not(.elementor):not(.alignwide) {
	max-width: none;
}

/* Breite Blöcke */
.bk-sidebar-none .alignwide {
	margin-left: calc((min(100vw, var(--bk-container) + 240px) - 100%) / -2);
	margin-right: calc((min(100vw, var(--bk-container) + 240px) - 100%) / -2);
	max-width: none;
}

.bk-sidebar-none .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Boxen-Darstellung */
.bk-content-boxed {
	--bk-body-bg-content: #fff;
	background: var(--bk-alt-bg);
}

.bk-content-boxed .bk-main > .bk-entry,
.bk-content-boxed .bk-sidebar .widget,
.bk-content-boxed .bk-comments,
.bk-content-boxed .bk-author-box,
.bk-content-boxed .bk-404,
.bk-content-boxed .bk-none {
	padding: clamp(20px, 4vw, 40px);
	background: var(--bk-body-bg);
	border-radius: calc(var(--bk-radius) * 1.5);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.bk-content-boxed .bk-card {
	background: var(--bk-body-bg);
}

/* ==========================================================
   Header
   ========================================================== */

.bk-header {
	position: relative;
	z-index: 50;
}

.bk-hrow {
	color: var(--bk-heading);
}

.bk-hrow--top {
	min-height: var(--bk-hrow-top-h, 40px);
	background: var(--bk-hrow-top-bg, #111827);
	color: var(--bk-hrow-top-color, #e5e7eb);
	font-size: .875em;
}

.bk-hrow--main {
	min-height: var(--bk-hrow-main-h, 80px);
	background: var(--bk-hrow-main-bg, #fff);
	color: var(--bk-hrow-main-color, var(--bk-heading));
}

.bk-hrow--bottom {
	min-height: var(--bk-hrow-bottom-h, 50px);
	background: var(--bk-hrow-bottom-bg, var(--bk-alt-bg));
	color: var(--bk-hrow-bottom-color, var(--bk-heading));
}

.bk-hrow.has-border {
	border-bottom: 1px solid var(--bk-border);
}

.bk-hrow--top.has-border {
	border-bottom-color: rgba(255, 255, 255, .12);
}

.bk-hrow__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: inherit;
}

.bk-hrow.has-center .bk-hrow__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
}

.bk-zone {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.bk-zone:empty {
	display: none;
}

.bk-hrow.has-center .bk-zone:empty {
	display: flex;
}

.bk-zone--center {
	justify-content: center;
}

.bk-zone--right {
	justify-content: flex-end;
	margin-left: auto;
}

.bk-hrow.has-center .bk-zone--right {
	margin-left: 0;
}

.bk-hrow a:not(.bk-btn) {
	color: inherit;
	text-decoration: none;
}

.bk-hrow a:not(.bk-btn):hover,
.bk-hrow a:not(.bk-btn):focus {
	color: var(--bk-primary);
}

.bk-hrow--top a:not(.bk-btn):hover {
	color: inherit;
	opacity: .75;
}

.bk-placeholder {
	font-size: .85em;
	opacity: .65;
	font-style: italic;
}

/* Logo */
.bk-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.bk-logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.bk-logo .custom-logo,
.bk-logo-alt img {
	display: block;
	width: var(--bk-logo-w, 180px);
	max-width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.bk-logo .custom-logo,
	.bk-logo-alt img {
		width: var(--bk-logo-w-t, var(--bk-logo-w, 160px));
	}
}

@media (max-width: 600px) {
	.bk-logo .custom-logo,
	.bk-logo-alt img {
		width: var(--bk-logo-w-m, var(--bk-logo-w-t, 130px));
	}
}

.bk-logo .custom-logo-link {
	max-width: 100%;
}

.bk-site-title {
	margin: 0;
	color: inherit;
	font-family: var(--bk-font-heading);
	font-size: 1.3em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.bk-site-tagline {
	margin: 2px 0 0;
	font-size: .8em;
	opacity: .7;
	line-height: 1.3;
}

/* Menüs (horizontal) */
.bk-nav .bk-menu,
.bk-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bk-nav:not(.bk-nav--vertical) > .bk-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--bk-menu-gap, 26px);
}

.bk-nav--secondary:not(.bk-nav--vertical) > .bk-menu {
	gap: 0 calc(var(--bk-menu-gap, 26px) * .7);
}

.bk-nav--primary {
	font-size: var(--bk-menu-size, 16px);
	font-weight: var(--bk-menu-weight, 500);
}

.bk-nav--upper {
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: .9em;
}

.bk-nav:not(.bk-nav--vertical) .menu-item {
	position: relative;
}

.bk-nav:not(.bk-nav--vertical) > .bk-menu > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: .45em 0;
}

.bk-nav:not(.bk-nav--vertical) > .bk-menu > .menu-item-has-children > a::after {
	content: "";
	width: .45em;
	height: .45em;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

/* Stil: unterstrichen */
.bk-nav--underline > .bk-menu > .menu-item > a {
	position: relative;
}

.bk-nav--underline > .bk-menu > .menu-item > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--bk-primary);
	transform: scaleX(0);
	transition: transform .2s ease;
}

.bk-nav--underline > .bk-menu > .menu-item > a:hover::before,
.bk-nav--underline > .bk-menu > .current-menu-item > a::before,
.bk-nav--underline > .bk-menu > .current-menu-ancestor > a::before {
	transform: scaleX(1);
}

/* Stil: Pille */
.bk-nav--pill > .bk-menu {
	gap: 0 calc(var(--bk-menu-gap, 26px) / 3) !important;
}

.bk-nav--pill > .bk-menu > .menu-item > a {
	padding: .45em .9em !important;
	border-radius: 999px;
	transition: background .15s, color .15s;
}

.bk-nav--pill > .bk-menu > .menu-item > a:hover,
.bk-nav--pill > .bk-menu > .current-menu-item > a,
.bk-nav--pill > .bk-menu > .current-menu-ancestor > a {
	background: color-mix(in srgb, var(--bk-primary) 12%, transparent);
	color: var(--bk-primary) !important;
}

.bk-nav:not(.bk-nav--underline):not(.bk-nav--pill) .current-menu-item > a,
.bk-nav:not(.bk-nav--underline):not(.bk-nav--pill) .current-menu-ancestor > a {
	color: var(--bk-primary);
}

/* Untermenüs */
.bk-nav:not(.bk-nav--vertical) .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	z-index: 60;
	min-width: var(--bk-sub-w, 230px);
	padding: 8px 0;
	font-size: var(--bk-sub-size, 15px);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bk-sub-color, var(--bk-text));
	background: var(--bk-sub-bg, #fff);
	border: 1px solid var(--bk-border);
	border-radius: calc(var(--bk-radius) + 2px);
	box-shadow: 0 12px 32px -8px rgba(17, 24, 39, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.bk-nav:not(.bk-nav--vertical) .sub-menu .sub-menu {
	top: -9px;
	left: 100%;
}

.bk-nav:not(.bk-nav--vertical) .menu-item:hover > .sub-menu,
.bk-nav:not(.bk-nav--vertical) .menu-item:focus-within > .sub-menu,
.bk-nav:not(.bk-nav--vertical) .menu-item.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bk-nav:not(.bk-nav--vertical) .sub-menu a {
	display: block;
	padding: .5em 1.1em;
	color: var(--bk-sub-color, var(--bk-text)) !important;
}

.bk-nav:not(.bk-nav--vertical) .sub-menu a:hover {
	color: var(--bk-sub-hover, var(--bk-primary)) !important;
	background: color-mix(in srgb, var(--bk-sub-hover, var(--bk-primary)) 7%, transparent);
}

.bk-nav--right-edge .sub-menu {
	left: auto;
	right: -16px;
}

/* Suche, Warenkorb, Konto, Burger */
.bk-search-toggle,
.bk-burger,
.bk-panel__close,
.bk-search-overlay__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	margin: -8px;
	color: inherit;
	background: none;
	border: 0;
	border-radius: var(--bk-radius);
}

.bk-search-toggle:hover,
.bk-burger:hover {
	color: var(--bk-primary);
}

.bk-burger__label {
	font-weight: 600;
	font-size: .95em;
}

.bk-cart,
.bk-account {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bk-cart__count {
	position: absolute;
	top: -7px;
	left: 14px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border-radius: 99px;
}

.bk-cart__count.is-empty {
	display: none;
}

.bk-cart__total {
	font-weight: 600;
	font-size: .92em;
}

.bk-hrow .bk-search-form {
	min-width: 220px;
}

.bk-hrow .bk-btn {
	padding: .6em 1.15em;
	font-size: .9em;
}

/* Social */
.bk-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--bk-social-size, 18px);
	line-height: 1;
}

.bk-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	transition: color .15s, background .15s, opacity .15s;
}

.bk-social a:hover {
	color: var(--bk-primary);
}

.bk-social--circle a,
.bk-social--square a {
	width: 2.1em;
	height: 2.1em;
	font-size: .8em;
	background: color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 50%;
}

.bk-social--square a {
	border-radius: calc(var(--bk-radius) * .8);
}

.bk-social--circle a:hover,
.bk-social--square a:hover {
	color: var(--bk-on-primary) !important;
	background: var(--bk-primary);
}

.bk-social svg {
	width: 1em;
	height: 1em;
}

/* Suchleiste unter dem Header */
.bk-search-overlay {
	position: relative;
	z-index: 45;
	padding: 18px 0;
	background: var(--bk-hrow-main-bg, #fff);
	border-bottom: 1px solid var(--bk-border);
	box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .25);
	animation: bk-slide-down .18s ease;
}

.bk-search-overlay .bk-container {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bk-search-overlay .bk-search-form {
	max-width: none;
	flex: 1;
}

.bk-search-overlay__close {
	margin: 0;
}

@keyframes bk-slide-down {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Mobiles Panel ---------- */

.bk-panel-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(17, 24, 39, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.bk-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	width: min(var(--bk-panel-w, 320px), 88vw);
	color: var(--bk-panel-color, #111827);
	background: var(--bk-panel-bg, #fff);
	box-shadow: 0 0 40px rgba(0, 0, 0, .2);
	transition: transform .28s cubic-bezier(.4, 0, .2, 1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.bk-panel--right {
	right: 0;
	transform: translateX(105%);
}

.bk-panel--left {
	left: 0;
	transform: translateX(-105%);
}

.bk-panel.is-open {
	transform: none;
}

.bk-panel-overlay.is-open {
	opacity: 1;
}

.bk-panel__head {
	display: flex;
	justify-content: flex-end;
	padding: 18px 20px 4px;
}

.bk-panel__close {
	margin: 0;
}

.bk-panel__body {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 4px 24px 32px;
}

.bk-panel a:not(.bk-btn) {
	color: inherit;
	text-decoration: none;
}

.bk-panel .bk-search-form {
	max-width: none;
}

.bk-panel .bk-btn {
	width: 100%;
}

/* Vertikale Menüs (Panel) */
.bk-nav--vertical .bk-menu {
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.bk-nav--vertical .menu-item {
	position: relative;
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.bk-nav--vertical .sub-menu .menu-item:last-child {
	border-bottom: 0;
}

.bk-nav--vertical .menu-item > a {
	display: block;
	padding: .75em 3em .75em 0;
	font-weight: 500;
}

.bk-nav--vertical .sub-menu {
	display: none;
	padding-left: 1em;
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.bk-nav--vertical .sub-menu a {
	font-weight: 400;
	opacity: .9;
}

.bk-nav--vertical .menu-item.is-open > .sub-menu {
	display: block;
}

.bk-submenu-toggle {
	position: absolute;
	top: .35em;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4em;
	height: 2.4em;
	padding: 0;
	color: inherit;
	background: none;
	border: 0;
	border-radius: var(--bk-radius);
}

.bk-submenu-toggle .bk-icon {
	transition: transform .2s ease;
}

.menu-item.is-open > .bk-submenu-toggle .bk-icon {
	transform: rotate(180deg);
}

.bk-nav:not(.bk-nav--vertical) .bk-submenu-toggle {
	display: none;
}

.bk-nav--vertical .current-menu-item > a {
	color: var(--bk-primary) !important;
}

/* ==========================================================
   Titelleiste & Inhalt
   ========================================================== */

.bk-titlebar {
	padding: var(--bk-titlebar-padding, 48px) 0;
	color: var(--bk-titlebar-color, var(--bk-heading));
	background: var(--bk-titlebar-bg, var(--bk-alt-bg));
}

.bk-titlebar--center {
	text-align: center;
}

.bk-titlebar__title {
	margin: 0;
	color: inherit;
}

.bk-titlebar__desc {
	max-width: 760px;
	margin-top: .6em;
	opacity: .85;
}

.bk-titlebar--center .bk-titlebar__desc {
	margin-left: auto;
	margin-right: auto;
}

.bk-titlebar__desc p:last-child {
	margin-bottom: 0;
}

.bk-breadcrumbs {
	margin-bottom: .6em;
	font-size: .85em;
	opacity: .8;
}

.bk-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .2em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bk-titlebar--center .bk-breadcrumbs ol {
	justify-content: center;
}

.bk-breadcrumbs li + li::before {
	content: "/";
	margin: 0 .45em 0 .2em;
	opacity: .55;
}

.bk-breadcrumbs .sep {
	margin: 0 .45em;
	opacity: .55;
}

.bk-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.bk-breadcrumbs a:hover {
	text-decoration: underline;
}

.bk-page-header {
	margin-bottom: 32px;
}

.bk-page-title,
.bk-entry__title {
	margin-top: 0;
}

.bk-entry__header {
	margin-bottom: 28px;
}

.bk-entry__header .bk-entry__title {
	margin-bottom: .3em;
}

.bk-entry__image {
	margin: 0 0 32px;
}

.bk-entry__image img {
	display: block;
	width: 100%;
	border-radius: calc(var(--bk-radius) * 1.5);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.bk-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .2em .55em;
	margin-bottom: 12px;
	font-size: .85em;
	color: var(--bk-muted);
}

.bk-meta a {
	color: inherit;
	text-decoration: none;
}

.bk-meta a:hover {
	color: var(--bk-primary);
}

.bk-entry__footer {
	margin-top: 32px;
}

.bk-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bk-tags a {
	padding: .3em .8em;
	font-size: .82em;
	text-decoration: none;
	color: var(--bk-text);
	background: var(--bk-alt-bg);
	border-radius: 99px;
}

.bk-tags a:hover {
	color: var(--bk-on-primary);
	background: var(--bk-primary);
}

/* ---------- Beitragslisten ---------- */

.bk-posts {
	display: grid;
	gap: 36px;
}

.bk-posts--grid {
	grid-template-columns: repeat(var(--bk-cols, 3), minmax(0, 1fr));
	gap: 32px 28px;
}

.bk-posts--cols-1 { --bk-cols: 1; }
.bk-posts--cols-2 { --bk-cols: 2; }
.bk-posts--cols-3 { --bk-cols: 3; }
.bk-posts--cols-4 { --bk-cols: 4; }

.bk-sidebar-double .bk-posts--cols-2,
.bk-sidebar-double .bk-posts--cols-3,
.bk-sidebar-double .bk-posts--cols-4 {
	--bk-cols: 1;
}

.bk-sidebar-right .bk-posts--cols-3,
.bk-sidebar-left .bk-posts--cols-3,
.bk-sidebar-right .bk-posts--cols-4,
.bk-sidebar-left .bk-posts--cols-4 {
	--bk-cols: 2;
}

@media (max-width: 900px) {
	.bk-posts--grid { --bk-cols: 2 !important; }
}

@media (max-width: 600px) {
	.bk-posts--grid { --bk-cols: 1 !important; }
}

.bk-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-posts--grid .bk-card {
	border: 1px solid var(--bk-border);
	background: var(--bk-body-bg);
	transition: box-shadow .2s ease, transform .2s ease;
}

.bk-posts--grid .bk-card:hover {
	box-shadow: 0 14px 30px -14px rgba(17, 24, 39, .22);
	transform: translateY(-2px);
}

.bk-card__media {
	display: block;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 16 / 10;
	background: var(--bk-alt-bg);
}

.bk-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.bk-card:hover .bk-card__media img {
	transform: scale(1.03);
}

.bk-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}

.bk-posts--list .bk-card__body,
.bk-posts--classic .bk-card__body {
	padding: 0;
}

.bk-card__title {
	margin: 0 0 .4em;
	font-size: 1.3em;
}

.bk-posts--classic .bk-card__title {
	font-size: 1.7em;
}

.bk-card__title a {
	color: var(--bk-heading);
	text-decoration: none;
}

.bk-card__title a:hover {
	color: var(--bk-primary);
}

.bk-card__excerpt p {
	margin-bottom: .8em;
}

.bk-card__more {
	margin-top: auto;
	font-weight: 600;
	font-size: .92em;
	text-decoration: none;
}

/* Liste */
.bk-posts--list .bk-card {
	flex-direction: row;
	gap: 28px;
	align-items: flex-start;
	overflow: visible;
}

.bk-posts--list .bk-card__media {
	flex: 0 0 36%;
	border-radius: calc(var(--bk-radius) * 1.5);
}

@media (max-width: 600px) {
	.bk-posts--list .bk-card {
		flex-direction: column;
		gap: 16px;
	}

	.bk-posts--list .bk-card__media {
		flex-basis: auto;
		width: 100%;
	}
}

/* Klassisch */
.bk-posts--classic {
	gap: 56px;
}

.bk-posts--classic .bk-card {
	gap: 22px;
	overflow: visible;
}

.bk-posts--classic .bk-card__media {
	border-radius: calc(var(--bk-radius) * 1.5);
	aspect-ratio: 16 / 9;
}

/* Seitennavigation */
.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	text-decoration: none;
	color: var(--bk-text);
	border: 1px solid var(--bk-border);
	border-radius: var(--bk-radius);
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border-color: var(--bk-primary);
}

/* Autorenbox, Beitragsnavigation */
.bk-author-box {
	display: flex;
	gap: 20px;
	margin-top: 48px;
	padding: 24px;
	background: var(--bk-alt-bg);
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-author-box img {
	flex: none;
	border-radius: 50%;
}

.bk-author-box__name {
	margin: 0 0 .3em;
	font-weight: 700;
	color: var(--bk-heading);
}

.bk-author-box__bio {
	margin-bottom: .5em;
}

.post-navigation {
	margin-top: 48px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 16px 20px;
	text-decoration: none;
	border: 1px solid var(--bk-border);
	border-radius: calc(var(--bk-radius) * 1.5);
}

.post-navigation a:hover {
	border-color: var(--bk-primary);
}

.post-navigation .nav-next {
	text-align: right;
	grid-column: 2;
}

.bk-postnav__label {
	display: block;
	font-size: .8em;
	color: var(--bk-muted);
}

.bk-postnav__title {
	display: block;
	font-weight: 600;
	color: var(--bk-heading);
}

/* Kommentare */
.bk-comments {
	margin-top: 56px;
}

.bk-comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.bk-comment-list .children {
	list-style: none;
	padding-left: 28px;
}

.bk-comment-list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--bk-border);
}

.bk-comment-list .comment-author img {
	float: left;
	margin-right: 14px;
	border-radius: 50%;
}

.bk-comment-list .comment-metadata {
	font-size: .82em;
}

.bk-comment-list .comment-metadata a {
	color: var(--bk-muted);
	text-decoration: none;
}

.bk-comment-list .comment-content {
	clear: both;
	padding-top: 10px;
}

.comment-reply-title {
	margin-top: 0;
}

/* Widgets */
.widget {
	margin-bottom: 36px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	margin: 0 0 .9em;
	font-size: 1.05em;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: .35em 0;
}

.widget li a {
	text-decoration: none;
}

/* 404 & leer */
.bk-404 {
	text-align: center;
	padding: 40px 0;
}

.bk-404__code {
	margin: 0;
	font-size: clamp(64px, 14vw, 140px);
	font-weight: 800;
	line-height: 1;
	color: color-mix(in srgb, var(--bk-primary) 25%, transparent);
}

.bk-404 .bk-search-form {
	margin: 24px auto 0;
}

/* ==========================================================
   Footer
   ========================================================== */

.bk-footer {
	font-size: .94em;
}

.bk-frow {
	padding: var(--bk-pad, 40px) 0;
	color: var(--bk-fcolor, inherit);
	background: var(--bk-fbg, transparent);
}

.bk-frow--top {
	--bk-pad: var(--bk-frow-top-pad, 40px);
	--bk-fbg: var(--bk-frow-top-bg, var(--bk-alt-bg));
	--bk-fcolor: var(--bk-frow-top-color, var(--bk-text));
	--bk-flink: var(--bk-frow-top-link, var(--bk-link));
}

.bk-frow--main {
	--bk-pad: var(--bk-frow-main-pad, 56px);
	--bk-fbg: var(--bk-frow-main-bg, #111827);
	--bk-fcolor: var(--bk-frow-main-color, #d1d5db);
	--bk-flink: var(--bk-frow-main-link, #fff);
}

.bk-frow--bottom {
	--bk-pad: var(--bk-frow-bottom-pad, 18px);
	--bk-fbg: var(--bk-frow-bottom-bg, #0b1220);
	--bk-fcolor: var(--bk-frow-bottom-color, #9ca3af);
	--bk-flink: var(--bk-frow-bottom-link, #e5e7eb);
	font-size: .9em;
}

.bk-frow a:not(.bk-btn) {
	color: var(--bk-flink);
	text-decoration: none;
}

.bk-frow a:not(.bk-btn):hover {
	text-decoration: underline;
}

.bk-frow .widget-title,
.bk-frow h1, .bk-frow h2, .bk-frow h3, .bk-frow h4 {
	color: var(--bk-flink);
}

.bk-frow__inner {
	display: grid;
	grid-template-columns: repeat(var(--bk-fcols, 1), minmax(0, 1fr));
	gap: 32px 40px;
	align-items: start;
}

.bk-cols-1 { --bk-fcols: 1; }
.bk-cols-2 { --bk-fcols: 2; }
.bk-cols-3 { --bk-fcols: 3; }
.bk-cols-4 { --bk-fcols: 4; }
.bk-cols-5 { --bk-fcols: 5; }
.bk-cols-6 { --bk-fcols: 6; }

.bk-fcol {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.bk-frow--bottom .bk-frow__inner {
	align-items: center;
	gap: 12px 32px;
}

.bk-frow--bottom .bk-fcol:last-child:not(:first-child) {
	align-items: flex-end;
	text-align: right;
}

.bk-frow--bottom .bk-cols-3 .bk-fcol:nth-child(2) {
	align-items: center;
	text-align: center;
}

.bk-frow .bk-nav--footer .bk-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.bk-copyright p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.bk-cols-3, .bk-cols-4, .bk-cols-5, .bk-cols-6 { --bk-fcols: 2; }
}

@media (max-width: 600px) {
	.bk-frow__inner { --bk-fcols: 1 !important; }

	.bk-frow--bottom .bk-fcol,
	.bk-frow--bottom .bk-fcol:last-child:not(:first-child) {
		align-items: center;
		text-align: center;
	}
}

/* ---------- Druck ---------- */
@media print {
	.bk-header, .bk-footer, .bk-sidebar, .bk-panel, .bk-titlebar .bk-breadcrumbs {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}

/* Untermenü am rechten Rand nach links öffnen */
.bk-nav:not(.bk-nav--vertical) .is-flip > .sub-menu {
	left: auto;
	right: -16px;
}

.bk-nav:not(.bk-nav--vertical) .sub-menu .is-flip > .sub-menu {
	right: 100%;
	left: auto;
}

/* Block-Widgets (WordPress-Standard) */
.widget h2,
.widget .wp-block-heading {
	margin: 0 0 .9em;
	font-size: 1.05em;
}

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 6px;
}

.wp-block-search__button {
	margin: 0;
	padding: .6em 1em;
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border: 0;
	border-radius: var(--bk-radius);
}

.wp-block-search__label {
	display: block;
	margin-bottom: .4em;
	font-weight: 600;
	color: var(--bk-heading);
}

.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-archives,
.wp-block-categories {
	padding: 0;
	list-style: none;
}

/* Versteckte Bereiche wirklich verstecken */
.bk-panel[hidden],
.bk-panel-overlay[hidden],
.bk-search-overlay[hidden] {
	display: none !important;
}

/* ==========================================================
   Sticky Header
   ========================================================== */

.bk-site {
	position: relative;
}

.bk-hrow {
	transition: min-height .25s ease, background-color .25s ease;
}

.bk-header.is-stuck {
	position: fixed;
	top: var(--bk-stick-top, 0);
	left: 0;
	right: 0;
	z-index: 90;
	transition: transform .3s ease;
}

.bk-header.is-stuck.is-anim {
	animation: bk-stick-in .35s ease;
}

.bk-header.is-stuck.is-hidden {
	transform: translateY(-120%);
}

.bk-header.is-stuck.has-shadow {
	box-shadow: 0 8px 24px -10px rgba(17, 24, 39, .22);
}

.bk-header.is-stuck .bk-hrow:not(.is-sticky) {
	display: none;
}

.bk-header.is-stuck .bk-hrow--main,
.bk-header.is-stuck .bk-hrow--bottom {
	background: var(--bk-sticky-bg, #fff);
	color: var(--bk-sticky-color, var(--bk-heading));
}

.bk-header.is-stuck .bk-hrow--main {
	min-height: var(--bk-sticky-h, 64px);
}

.bk-header.is-stuck .bk-hrow.has-border {
	border-bottom-color: transparent;
}

.bk-header.is-stuck .custom-logo {
	width: auto;
	max-height: var(--bk-sticky-logo-h, 36px);
}

@keyframes bk-stick-in {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

/* Logo-Varianten */
.bk-logo-alt {
	display: none;
	line-height: 0;
}



.bk-header.is-stuck .bk-logo:has(.bk-logo-alt--sticky) .custom-logo-link,
.bk-header.is-stuck .bk-logo:has(.bk-logo-alt--sticky) .bk-logo-alt--transparent {
	display: none;
}

.bk-header.is-stuck .bk-logo-alt--sticky {
	display: block;
}

.bk-header.is-stuck .bk-logo-alt--sticky img {
	width: auto;
	max-height: var(--bk-sticky-logo-h, 36px);
}

/* ==========================================================
   Transparenter Header
   ========================================================== */

.bk-header-transparent #bk-header-area {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

.bk-header-transparent .bk-header:not(.is-stuck) .bk-hrow {
	background: transparent;
	color: var(--bk-transparent-color, #fff);
}

.bk-header-transparent .bk-header:not(.is-stuck) .bk-hrow.has-border {
	border-bottom-color: rgba(255, 255, 255, .18);
}

.bk-header-transparent .bk-header:not(.is-stuck) .bk-logo:has(.bk-logo-alt--transparent) .custom-logo-link {
	display: none;
}

.bk-header-transparent .bk-header:not(.is-stuck) .bk-logo-alt--transparent {
	display: block;
}

.bk-header-transparent .bk-titlebar {
	padding-top: calc(var(--bk-titlebar-padding, 48px) + var(--bk-header-h, 80px));
}

.bk-header-transparent .bk-search-overlay {
	position: absolute;
	top: var(--bk-header-h, 80px);
	left: 0;
	right: 0;
}


/* ==========================================================
   Mega-Menü, Symbole & Etiketten
   ========================================================== */

.bk-hrow__inner {
	position: relative;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega {
	position: static;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega > .sub-menu {
	left: var(--bk-gutter);
	right: var(--bk-gutter);
	display: grid;
	grid-template-columns: repeat(var(--bk-mega-cols, 4), minmax(0, 1fr));
	gap: 8px 28px;
	min-width: 0;
	padding: 26px 28px;
}

.bk-hrow--full .bk-nav:not(.bk-nav--vertical) .bk-mega:not(.bk-mega--full) > .sub-menu {
	left: 50%;
	right: auto;
	width: min(var(--bk-container), calc(100vw - 2 * var(--bk-gutter)));
	margin-left: calc(min(var(--bk-container), calc(100vw - 2 * var(--bk-gutter))) / -2);
}

.bk-nav:not(.bk-nav--vertical) .bk-mega--full > .sub-menu {
	left: 50%;
	right: auto;
	width: 100vw;
	margin-left: -50vw;
	padding-left: max(var(--bk-gutter), calc((100vw - var(--bk-container)) / 2));
	padding-right: max(var(--bk-gutter), calc((100vw - var(--bk-container)) / 2));
	border-radius: 0;
	border-left: 0;
	border-right: 0;
}

.bk-mega--cols-2 { --bk-mega-cols: 2; }
.bk-mega--cols-3 { --bk-mega-cols: 3; }
.bk-mega--cols-4 { --bk-mega-cols: 4; }
.bk-mega--cols-5 { --bk-mega-cols: 5; }
.bk-mega--cols-6 { --bk-mega-cols: 6; }

.bk-nav:not(.bk-nav--vertical) .bk-mega > .sub-menu > .menu-item > a {
	padding: .2em 0 .5em;
	font-weight: 700;
	color: var(--bk-heading) !important;
	background: none !important;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega > .sub-menu > .menu-item-has-children > a::after {
	display: none;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega .sub-menu .sub-menu a {
	padding: .35em 0;
	background: none !important;
}

.bk-nav:not(.bk-nav--vertical) .bk-mega-notitle > a {
	display: none !important;
}

.bk-menu-icon {
	display: inline-flex;
	margin-right: .45em;
	vertical-align: -.15em;
	opacity: .8;
}

.bk-menu-icon .bk-icon {
	display: inline-block;
}

.bk-nav .menu-item > a {
	align-items: center;
}

.bk-menu-badge {
	display: inline-block;
	margin-left: .5em;
	padding: .15em .5em;
	font-size: .7em;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--bk-on-primary);
	background: var(--bk-primary);
	border-radius: 99px;
	vertical-align: .1em;
}

.bk-menu-desc {
	display: block;
	margin-top: 2px;
	font-size: .85em;
	font-weight: 400;
	line-height: 1.4;
	color: var(--bk-muted);
	white-space: normal;
}

.bk-nav:not(.bk-nav--vertical) .sub-menu a {
	white-space: normal;
}

/* Kontaktinfo & Icon-Box */
.bk-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bk-contact--stacked {
	flex-direction: column;
}

.bk-contact li > * {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bk-contact .bk-icon {
	opacity: .75;
}

.bk-iconbox {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.bk-iconbox__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: none;
	color: var(--bk-primary);
	background: color-mix(in srgb, var(--bk-primary) 12%, transparent);
	border-radius: 50%;
}

.bk-iconbox__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.bk-iconbox__text strong {
	font-size: .95em;
}

.bk-iconbox__text small {
	font-size: .8em;
	opacity: .75;
}

/* Titelleiste mit Cover-Bild */
.bk-titlebar {
	position: relative;
}

.bk-titlebar.has-min-height {
	display: flex;
	align-items: center;
	min-height: var(--bk-titlebar-min-h, 0);
}

.bk-titlebar.has-min-height > .bk-container {
	width: 100%;
}

.bk-titlebar.has-cover {
	color: var(--bk-titlebar-cover-color, #fff);
	background-color: #111827;
	background-position: center;
	background-size: cover;
}

.bk-titlebar.has-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--bk-titlebar-overlay, #111827);
	opacity: var(--bk-titlebar-opacity, .55);
}

.bk-titlebar.has-cover > .bk-container {
	position: relative;
}

/* Nach-oben-Button */
.bk-to-top {
	position: fixed;
	bottom: var(--bk-stt-offset, 24px);
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bk-stt-size, 44px);
	height: var(--bk-stt-size, 44px);
	padding: 0;
	color: var(--bk-stt-color, #fff);
	background: var(--bk-stt-bg, var(--bk-primary));
	border: 0;
	border-radius: 50%;
	box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s;
}

.bk-to-top--right { right: var(--bk-stt-offset, 24px); }
.bk-to-top--left { left: var(--bk-stt-offset, 24px); }
.bk-to-top--square { border-radius: var(--bk-radius); }

.bk-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bk-to-top:hover {
	filter: brightness(1.1);
}

@media (max-width: 767px) {
	.bk-to-top--no-mobile { display: none; }
}

/* Cookie-Hinweis */
.bk-cookie {
	position: fixed;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 14px 24px;
	padding: 16px 20px;
	font-size: .9em;
	color: var(--bk-cookie-color, #f3f4f6);
	background: var(--bk-cookie-bg, #111827);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .18);
}

.bk-cookie[hidden] {
	display: none;
}

.bk-cookie--bar {
	left: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
}

.bk-cookie--left,
.bk-cookie--right {
	bottom: 16px;
	flex-direction: column;
	align-items: flex-start;
	max-width: 380px;
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-cookie--left { left: 16px; }
.bk-cookie--right { right: 16px; }

.bk-cookie__text {
	margin: 0;
}

.bk-cookie__text a {
	color: inherit;
	text-decoration: underline;
}

.bk-cookie .bk-btn {
	flex: none;
	padding: .55em 1.2em;
}

@media (max-width: 600px) {
	.bk-cookie {
		flex-direction: column;
		align-items: stretch;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		max-width: none;
		border-radius: 0;
	}
}

/* Mehr laden */
.bk-loadmore {
	display: flex;
	justify-content: center;
	margin: 40px 0 8px;
	clear: both;
}

.bk-loadmore__btn {
	min-width: 200px;
}

.bk-loadmore__btn.is-auto {
	border-color: transparent;
	background: none;
	color: var(--bk-muted);
}

/* ==========================================================
   Blog-Layouts (Masonry, seitlich, Kartenstile)
   ========================================================== */

.bk-posts--masonry {
	display: block;
	column-count: var(--bk-cols, 3);
	column-gap: 28px;
}

.bk-posts--masonry .bk-card {
	display: inline-flex;
	width: 100%;
	margin: 0 0 28px;
	break-inside: avoid;
	border: 1px solid var(--bk-border);
	background: var(--bk-body-bg);
}

.bk-sidebar-right .bk-posts--masonry,
.bk-sidebar-left .bk-posts--masonry,
.bk-sidebar-double .bk-posts--masonry {
	--bk-cols: 2;
}

@media (max-width: 900px) {
	.bk-posts--masonry { column-count: 2; }
}

@media (max-width: 600px) {
	.bk-posts--masonry { column-count: 1; }
}

/* Kartenstile für Raster & Masonry */
.bk-posts--style-shadow.bk-posts--grid .bk-card,
.bk-posts--style-shadow.bk-posts--masonry .bk-card {
	border-color: transparent;
	box-shadow: 0 4px 18px -6px rgba(17, 24, 39, .16);
}

.bk-posts--style-plain.bk-posts--grid .bk-card,
.bk-posts--style-plain.bk-posts--masonry .bk-card {
	border: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}

.bk-posts--style-plain .bk-card__media {
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-posts--style-plain.bk-posts--grid .bk-card__body,
.bk-posts--style-plain.bk-posts--masonry .bk-card__body {
	padding: 16px 0 0;
}

/* Bildformate */
.bk-posts--ratio-3-2 .bk-card__media { aspect-ratio: 3 / 2; }
.bk-posts--ratio-4-3 .bk-card__media { aspect-ratio: 4 / 3; }
.bk-posts--ratio-1-1 .bk-card__media { aspect-ratio: 1 / 1; }
.bk-posts--ratio-auto .bk-card__media { aspect-ratio: auto; }
.bk-posts--ratio-auto .bk-card__media img { height: auto; }
.bk-posts--masonry .bk-card__media { aspect-ratio: auto; }
.bk-posts--masonry .bk-card__media img { height: auto; }

/* Seitlich: Bild abwechselnd links und rechts */
.bk-posts--lateral {
	gap: 56px;
}

.bk-posts--lateral .bk-card {
	flex-direction: row;
	align-items: center;
	gap: 40px;
	overflow: visible;
}

.bk-posts--lateral .bk-card:nth-child(even) {
	flex-direction: row-reverse;
}

.bk-posts--lateral .bk-card__media {
	flex: 0 0 50%;
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-posts--lateral .bk-card__body {
	padding: 0;
}

.bk-posts--lateral .bk-card__title {
	font-size: 1.6em;
}

@media (max-width: 700px) {
	.bk-posts--lateral .bk-card,
	.bk-posts--lateral .bk-card:nth-child(even) {
		flex-direction: column;
		gap: 18px;
	}

	.bk-posts--lateral .bk-card__media {
		flex-basis: auto;
		width: 100%;
	}
}

/* Ähnliche Beiträge */
.bk-related {
	margin-top: 56px;
}

.bk-related__title {
	margin: 0 0 24px;
	font-size: 1.4em;
}

.bk-posts--related .bk-card__title {
	font-size: 1.1em;
}

.bk-posts--related .bk-card__excerpt {
	display: none;
}

/* ==========================================================
   Portfolio
   ========================================================== */

.bk-pf-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
}

.bk-pf-filter button {
	padding: .45em 1.1em;
	font-size: .92em;
	font-weight: 600;
	color: var(--bk-text);
	background: var(--bk-alt-bg);
	border: 1px solid transparent;
	border-radius: 99px;
	cursor: pointer;
	transition: background .15s, color .15s;
}

.bk-pf-filter button:hover {
	border-color: var(--bk-primary);
}

.bk-pf-filter button.is-active {
	color: var(--bk-on-primary);
	background: var(--bk-primary);
}

.bk-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(var(--bk-pf-cols, 3), minmax(0, 1fr));
	gap: 24px;
}

.bk-pf--cols-2 { --bk-pf-cols: 2; }
.bk-pf--cols-3 { --bk-pf-cols: 3; }
.bk-pf--cols-4 { --bk-pf-cols: 4; }

@media (max-width: 900px) {
	.bk-portfolio-grid { --bk-pf-cols: 2 !important; }
}

@media (max-width: 560px) {
	.bk-portfolio-grid { --bk-pf-cols: 1 !important; }
}

.bk-pf-item[hidden] {
	display: none;
}

.bk-pf-item__link {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
}

.bk-pf-item__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--bk-alt-bg);
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-pf--ratio-1-1 .bk-pf-item__media { aspect-ratio: 1 / 1; }
.bk-pf--ratio-3-4 .bk-pf-item__media { aspect-ratio: 3 / 4; }
.bk-pf--ratio-2-3 .bk-pf-item__media { aspect-ratio: 2 / 3; }
.bk-pf--ratio-16-9 .bk-pf-item__media { aspect-ratio: 16 / 9; }

.bk-pf-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.bk-pf-item:hover .bk-pf-item__media img {
	transform: scale(1.05);
}

.bk-pf-item__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bk-pf-item__title {
	font-weight: 700;
	font-size: 1.08em;
	color: var(--bk-heading);
}

.bk-pf-item__cats {
	font-size: .85em;
	color: var(--bk-muted);
}

.bk-pf--below .bk-pf-item__info {
	padding-top: 14px;
}

.bk-pf--overlay .bk-pf-item__info {
	position: absolute;
	inset: 0;
	justify-content: flex-end;
	padding: 22px;
	background: linear-gradient(to top, rgba(17, 24, 39, .82), rgba(17, 24, 39, 0) 65%);
	border-radius: calc(var(--bk-radius) * 1.5);
	opacity: 0;
	transition: opacity .3s ease;
}

.bk-pf--overlay .bk-pf-item__title,
.bk-pf--overlay .bk-pf-item__cats {
	color: #fff;
	transform: translateY(8px);
	transition: transform .3s ease;
}

.bk-pf--overlay .bk-pf-item:hover .bk-pf-item__info,
.bk-pf--overlay .bk-pf-item__link:focus-visible .bk-pf-item__info {
	opacity: 1;
}

.bk-pf--overlay .bk-pf-item:hover .bk-pf-item__title,
.bk-pf--overlay .bk-pf-item:hover .bk-pf-item__cats {
	transform: none;
}

@media (hover: none) {
	.bk-pf--overlay .bk-pf-item__info {
		opacity: 1;
	}

	.bk-pf--overlay .bk-pf-item__title,
	.bk-pf--overlay .bk-pf-item__cats {
		transform: none;
	}
}

/* Projekt-Einzelseite */
.bk-pf-single.has-details .bk-pf-single__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 48px;
	align-items: start;
}

.bk-pf-details {
	position: sticky;
	top: calc(var(--bk-stick-top, 0px) + 100px);
	padding: 24px;
	background: var(--bk-alt-bg);
	border-radius: calc(var(--bk-radius) * 1.5);
}

.bk-pf-details dl {
	margin: 0;
}

.bk-pf-details dt {
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--bk-muted);
}

.bk-pf-details dd {
	margin: 2px 0 16px;
	color: var(--bk-heading);
}

.bk-pf-details dd:last-child {
	margin-bottom: 0;
}

@media (max-width: 800px) {
	.bk-pf-single.has-details .bk-pf-single__body {
		grid-template-columns: 1fr;
	}

	.bk-pf-details {
		position: static;
	}
}

/* Sprachwechsler */
.bk-lang ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bk-lang a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: inherit;
}

.bk-lang__flag {
	display: inline-block;
	width: 18px;
	height: auto;
	border-radius: 2px;
}

.bk-lang--inline ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}

.bk-lang--inline a.is-current {
	font-weight: 700;
	color: var(--bk-primary);
}

.bk-lang__wrap {
	position: relative;
}

.bk-lang__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

.bk-lang__list {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 70;
	min-width: 150px;
	padding: 6px 0 !important;
	color: var(--bk-sub-color, var(--bk-text));
	background: var(--bk-sub-bg, #fff);
	border: 1px solid var(--bk-border);
	border-radius: calc(var(--bk-radius) + 2px);
	box-shadow: 0 12px 32px -8px rgba(17, 24, 39, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}

.bk-lang__list a {
	display: flex;
	padding: .45em 1em;
}

.bk-lang__list a:hover {
	color: var(--bk-primary);
	background: var(--bk-alt-bg);
}

.bk-lang--dropdown:hover .bk-lang__list,
.bk-lang--dropdown:focus-within .bk-lang__list,
.bk-lang--dropdown.is-open .bk-lang__list {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bk-frow .bk-lang__list {
	top: auto;
	bottom: 100%;
}

/* ==========================================================
   Website-Layout: eingepackt / eingerahmt, schmaler Inhalt
   ========================================================== */

.bk-site-boxed,
.bk-site-framed {
	background: var(--bk-outer-bg, #e5e7eb);
}

.bk-site-boxed .bk-site {
	max-width: calc(var(--bk-container) + var(--bk-gutter) * 2);
	margin: 0 auto;
	background: var(--bk-body-bg);
	box-shadow: 0 0 40px rgba(17, 24, 39, .08);
}

.bk-site-boxed .bk-header.is-stuck {
	left: max(0px, calc((100vw - var(--bk-container) - var(--bk-gutter) * 2) / 2));
	right: max(0px, calc((100vw - var(--bk-container) - var(--bk-gutter) * 2) / 2));
}

.bk-site-boxed .alignfull,
.bk-site-framed .alignfull {
	margin-left: 0;
	margin-right: 0;
	width: auto;
	max-width: none;
}

.bk-site-framed {
	padding: var(--bk-frame, 24px);
}

.bk-site-framed .bk-site {
	min-height: calc(100vh - var(--bk-frame, 24px) * 2);
	overflow: clip;
	background: var(--bk-body-bg);
	border-radius: calc(var(--bk-radius) * 2);
}

.bk-site-framed .bk-header.is-stuck {
	left: var(--bk-frame, 24px);
	right: var(--bk-frame, 24px);
}

@media (max-width: 600px) {
	.bk-site-framed {
		padding: 0;
	}

	.bk-site-framed .bk-site {
		min-height: 100vh;
		border-radius: 0;
	}

	.bk-site-framed .bk-header.is-stuck {
		left: 0;
		right: 0;
	}
}

.bk-layout.bk-layout--narrow {
	max-width: calc(var(--bk-narrow, 720px) + var(--bk-gutter) * 2);
}
