/* ==========================================================================
   Byteleit – Theme-Stile
   Farben, Schriften und Abstände kommen aus theme.json (Design → Editor → Stile).
   Hier steht alles, was Blöcke allein nicht ausdrücken können.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Grundlagen & Hell/Dunkel
   -------------------------------------------------------------------------- */
:root {
	--bl-ease: cubic-bezier(.22, .61, .36, 1);
	--bl-spring: cubic-bezier(.16, 1, .3, 1);
	--bl-header-h: 72px;
	--bl-grid-line: rgba(255, 255, 0, .055);
	--bl-glow: rgba(255, 255, 0, .20);
	--bl-veil: linear-gradient(180deg, rgba(10,10,10,0) 34%, rgba(10,10,10,.55) 78%, rgba(10,10,10,.88));
	--bl-shadow-card: 0 1px 0 rgba(255,255,255,.03), 0 18px 46px -22px rgba(0,0,0,.9);
	--bl-shadow-lift: 0 26px 70px -28px rgba(0,0,0,1);
	--bl-shadow-bar: 0 1px 0 0 rgba(255,255,255,.06) inset, 0 18px 40px -24px rgba(0,0,0,.9);
	--bl-logo-dark: block;
	--bl-logo-light: none;
	--bl-focus: var(--wp--preset--color--accent);
	--bl-bar-bg: color-mix(in srgb, var(--wp--preset--color--surface-1) 78%, transparent);
	--bl-arrow: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--bl-check: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.3l2.4 2.4 4.6-4.9'/%3E%3C/svg%3E");
	--bl-check-filled: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ffff00'/%3E%3Cpath d='M8.2 12.4l2.6 2.6 5-5.3' fill='none' stroke='%230a0a0a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	color-scheme: dark;
}
html[data-theme="light"] {
	--wp--preset--color--base: #ffffff;
	--wp--preset--color--contrast: #0a0a0a;
	--wp--preset--color--text-muted: #5c5c5c;
	--wp--preset--color--text-faint: #6e6e6e;
	--wp--preset--color--surface-1: #f7f7f5;
	--wp--preset--color--surface-2: #f1f1ee;
	--wp--preset--color--surface-3: #e8e8e4;
	--wp--preset--color--border: #e0e0da;
	--wp--preset--color--border-strong: #b0b0a8;
	--wp--preset--color--accent-soft: #e8e800;
	--bl-grid-line: rgba(10, 10, 10, .045);
	--bl-glow: rgba(255, 255, 0, .55);
	--bl-veil: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.45) 80%, rgba(255,255,255,.78));
	--bl-shadow-card: 0 1px 2px rgba(10,10,10,.04), 0 14px 34px -20px rgba(10,10,10,.24);
	--bl-shadow-lift: 0 28px 60px -26px rgba(10,10,10,.28);
	--bl-shadow-bar: 0 1px 0 0 rgba(255,255,255,.9) inset, 0 18px 40px -26px rgba(0,0,0,.3);
	--bl-logo-dark: none;
	--bl-logo-light: block;
	--bl-focus: #0a0a0a;
	--bl-bar-bg: rgba(255, 255, 255, .78);
	color-scheme: light;
}
html[data-theme="light"] .has-accent-color { color: var(--wp--preset--color--contrast) !important; }
html[data-theme="light"] .has-accent-background-color { color: #0a0a0a; }

body { transition: background-color .38s var(--bl-ease), color .38s var(--bl-ease); overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bl-header-h) + 40px); }
::selection { background: var(--wp--preset--color--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--bl-focus); outline-offset: 3px; border-radius: 4px; }
html[data-theme="light"] :focus-visible { box-shadow: 0 0 0 5px rgba(255, 255, 0, .6); }
img { max-width: 100%; height: auto; }
.wp-site-blocks { position: relative; z-index: 1; }
.bl-main { position: relative; }
.bl-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--wp--preset--color--accent); color: #0a0a0a !important; padding: 10px 16px; border-radius: 0 0 12px 0; font-weight: 700; }
.bl-skip:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   2. Pixel-Hintergrund (Bewegung im Stil des Logos)
   -------------------------------------------------------------------------- */
.bl-pixels { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.bl-pixels__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
	/* In der Mitte (wo der Text steht) dezenter, an den Rändern voll sichtbar */
	-webkit-mask-image: radial-gradient(ellipse 34% 42% at 50% 46%, rgba(0,0,0,.18), #000 92%);
	mask-image: radial-gradient(ellipse 34% 42% at 50% 46%, rgba(0,0,0,.18), #000 92%); }
@media (max-width: 700px) { .bl-pixels__canvas { -webkit-mask-image: none; mask-image: none; opacity: .7; } }
.bl-pixels__glow { position: absolute; display: block; border-radius: 50%; filter: blur(110px); opacity: .22; will-change: transform; }
.bl-pixels__glow:nth-of-type(1) { width: 62vw; height: 62vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(255,255,0,.30), transparent 64%); animation: blBgA 38s ease-in-out infinite alternate; }
.bl-pixels__glow:nth-of-type(2) { width: 54vw; height: 54vw; right: -12vw; top: 30vh; background: radial-gradient(circle, rgba(255,255,0,.18), transparent 66%); animation: blBgB 47s ease-in-out infinite alternate; }
@keyframes blBgA { to { transform: translate3d(16vw, 10vh, 0) scale(1.22); } }
@keyframes blBgB { to { transform: translate3d(-14vw, -12vh, 0) scale(.86); } }
html[data-theme="light"] .bl-pixels__glow { opacity: .40; filter: blur(120px); }
html[data-theme="light"] .bl-pixels__glow:nth-of-type(1) { background: radial-gradient(circle, rgba(255,255,0,.62), transparent 64%); }
html[data-theme="light"] .bl-pixels__glow:nth-of-type(2) { background: radial-gradient(circle, rgba(255,255,0,.42), transparent 66%); }
@media (max-width: 620px) { .bl-pixels__glow { filter: blur(80px); } }

/* --------------------------------------------------------------------------
   3. Kopfbereich – schwebende Leiste
   -------------------------------------------------------------------------- */
.bl-header-part { position: relative; z-index: 900; padding: 14px 14px 0; }
body.bl-sticky-header .bl-header-part { position: sticky; top: 0; }
body.admin-bar.bl-sticky-header .bl-header-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar.bl-sticky-header .bl-header-part { top: 46px; } }
@media (max-width: 600px) { body.admin-bar.bl-sticky-header .bl-header-part { top: 0; } }

.bl-bar {
	position: relative; max-width: 1400px; margin: 0 auto; height: var(--bl-header-h); box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 6px 8px 6px 22px; border-radius: 999px;
	background: var(--bl-bar-bg);
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 85%, transparent);
	box-shadow: var(--bl-shadow-bar);
	transition: height .35s var(--bl-ease), box-shadow .35s, border-color .3s, background .3s;
}
.bl-bar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 50%; border-radius: 999px 999px 0 0; background: linear-gradient(to bottom, rgba(255,255,255,.05), transparent); pointer-events: none; }
html[data-theme="light"] .bl-bar::before { background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); }
.bl-header-part.is-stuck .bl-bar { height: 64px; border-color: var(--wp--preset--color--border-strong); box-shadow: var(--bl-shadow-bar), 0 24px 50px -26px rgba(0,0,0,.9); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.bl-bar { background: var(--wp--preset--color--surface-1); }
}

/* Logo */
.bl-logo { display: inline-flex; align-items: center; line-height: 0; flex: 0 0 auto; text-decoration: none; }
.bl-logo__img { height: var(--bl-logo-h, 34px); width: auto; display: block; max-width: none; }
.bl-logo .bl-logo--dark { display: var(--bl-logo-dark); }
.bl-logo .bl-logo--light { display: var(--bl-logo-light); }
.bl-bar__logo .bl-logo__img { height: min(var(--bl-logo-h, 56px), 44px); transition: height .35s var(--bl-ease), transform .35s var(--bl-spring); }
.bl-bar__logo:hover .bl-logo__img { transform: scale(1.03); }
.bl-header-part.is-stuck .bl-bar__logo .bl-logo__img { height: min(var(--bl-logo-h, 56px), 38px); }

/* Hauptmenü */
.bl-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.bl-menu, .bl-menu ul, .bl-dmenu, .bl-dmenu ul, .bl-flinks { list-style: none; margin: 0; padding: 0; }
.bl-menu { display: flex; gap: 2px; align-items: center; }
.bl-menu > li { position: relative; display: flex; align-items: center; }
.bl-menu a {
	display: block; position: relative; padding: 9px 15px; border-radius: 999px; white-space: nowrap; text-decoration: none;
	font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .925rem; letter-spacing: -.005em;
	color: var(--wp--preset--color--text-muted);
	transition: color .22s, background-color .22s;
}
.bl-menu a:hover, .bl-menu li:focus-within > a { color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-3); }
.bl-menu > .is-current > a, .bl-menu > .is-ancestor > a { background: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-menu > .is-current > a:hover, .bl-menu > .is-ancestor > a:hover { background: var(--wp--preset--color--accent-soft); color: #0a0a0a; }
html[data-theme="light"] .bl-menu > .is-current > a:hover, html[data-theme="light"] .bl-menu > .is-ancestor > a:hover { background: #e8e800; }
.bl-menu > .has-sub > a { padding-right: 30px; }
.bl-subtoggle {
	position: absolute; right: 7px; top: 50%; width: 22px; height: 22px; margin-top: -11px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center;
	color: var(--wp--preset--color--text-muted); transition: transform .3s var(--bl-spring), color .2s;
}
.bl-menu > .is-current > .bl-subtoggle, .bl-menu > .is-ancestor > .bl-subtoggle { color: #0a0a0a; }
.bl-subtoggle svg { width: 13px; height: 13px; }
.bl-menu > li.has-sub:hover > .bl-subtoggle, .bl-menu > li.is-open > .bl-subtoggle { transform: rotate(180deg); }
.bl-menu .bl-sub {
	position: absolute; top: calc(100% + 12px); left: 50%; min-width: 236px; padding: 8px; z-index: 5;
	border-radius: 18px; background: color-mix(in srgb, var(--wp--preset--color--surface-1) 94%, transparent);
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-lift);
	opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .22s, transform .3s var(--bl-spring), visibility .22s;
}
html[data-theme="light"] .bl-menu .bl-sub { background: rgba(255,255,255,.96); }
.bl-menu .bl-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.bl-menu li:hover > .bl-sub, .bl-menu li:focus-within > .bl-sub, .bl-menu li.is-open > .bl-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.bl-menu .bl-sub li { display: block; }
.bl-menu .bl-sub a {
	display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: .92rem;
	color: var(--wp--preset--color--text-muted); background: none;
}
.bl-menu .bl-sub a::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 1.5px; background: var(--wp--preset--color--border-strong); transition: background .2s, transform .3s var(--bl-spring); }
.bl-menu .bl-sub a:hover { background: var(--wp--preset--color--surface-3); color: var(--wp--preset--color--contrast); }
.bl-menu .bl-sub a:hover::before, .bl-menu .bl-sub .is-current > a::before { background: var(--wp--preset--color--accent); transform: rotate(45deg); }
.bl-menu .bl-sub .is-current > a { color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-2); }
html[data-theme="light"] .bl-menu .bl-sub a:hover::before, html[data-theme="light"] .bl-menu .bl-sub .is-current > a::before { background: #0a0a0a; }

/* Werkzeuge rechts */
.bl-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.bl-iconbtn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--wp--preset--color--border-strong); background: transparent;
	color: var(--wp--preset--color--contrast); display: inline-grid; place-items: center; cursor: pointer; padding: 0;
	transition: border-color .2s, background .2s, transform .35s var(--bl-spring);
}
.bl-iconbtn svg { width: 20px; height: 20px; }
.bl-iconbtn:hover { border-color: var(--wp--preset--color--accent); }
.bl-burger {
	display: none; width: 48px; height: 48px; flex: none; padding: 0; cursor: pointer; place-items: center;
	border-radius: 50%; border: 1px solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--contrast); transition: border-color .25s, background .25s;
	touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.bl-burger:hover { border-color: var(--wp--preset--color--accent); }
.bl-burger__box { position: relative; display: block; width: 20px; height: 14px; }
.bl-burger__box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--bl-ease), top .3s var(--bl-ease), opacity .18s linear, width .3s var(--bl-ease); }
.bl-burger__box span:nth-child(1) { top: 0; }
.bl-burger__box span:nth-child(2) { top: 6px; width: 70%; }
.bl-burger__box span:nth-child(3) { top: 12px; }
.bl-burger:hover .bl-burger__box span:nth-child(2) { width: 100%; }
html.bl-menu-open .bl-burger__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
html.bl-menu-open .bl-burger__box span:nth-child(2) { opacity: 0; }
html.bl-menu-open .bl-burger__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Eigene Knöpfe */
.bl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; box-sizing: border-box;
	padding: 0 24px; border-radius: 999px; border: 1px solid var(--wp--preset--color--accent); cursor: pointer;
	background: var(--wp--preset--color--accent); color: #0a0a0a !important; text-decoration: none; white-space: nowrap;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .913rem; letter-spacing: -.005em; line-height: 1;
	transition: transform .22s var(--bl-ease), background .22s, box-shadow .28s;
}
.bl-btn:hover { transform: translateY(-2px); background: var(--wp--preset--color--accent-soft); box-shadow: 0 12px 34px -10px var(--bl-glow), 0 0 0 4px rgba(255,255,0,.14); }
.bl-btn:active { transform: none; }
.bl-btn--arrow::after { content: ""; width: 17px; height: 17px; flex: none; background: currentColor; -webkit-mask: var(--bl-arrow) center/contain no-repeat; mask: var(--bl-arrow) center/contain no-repeat; transition: transform .28s var(--bl-ease); }
.bl-btn--arrow:hover::after { transform: translateX(4px); }
.bl-btn--block { width: 100%; }
.bl-headcta { min-height: 46px; padding: 0 20px; font-size: .875rem; }

/* Umbruchpunkte */
@media (max-width: 1180px) {
	.bl-headcta { display: none; }
}
@media (max-width: 960px) {
	.bl-nav { display: none; }
	.bl-burger { display: inline-grid; }
	:root { --bl-header-h: 66px; }
}
@media (max-width: 600px) {
	.bl-header-part { padding: 8px 8px 0; }
	.bl-bar { padding-left: 16px; gap: 8px; }
	.bl-tools > .bl-theme-toggle { display: none; }
	.bl-bar__logo .bl-logo__img { height: 34px !important; }
}

/* Mobiles Menü */
.bl-drawer {
	position: fixed; inset: 0; z-index: 1500; display: flex; justify-content: flex-end; align-items: flex-start;
	padding: max(10px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) 10px 10px; box-sizing: border-box;
	background: rgba(0, 0, 0, .55);
	animation: blFade .16s ease-out both;
}
.bl-drawer[hidden] { display: none; }
.bl-drawer.is-closing { animation: blFadeOut .14s ease-in both; }
@keyframes blFadeOut { to { opacity: 0; } }
@keyframes blFade { from { opacity: 0; } }
.bl-drawer__panel {
	position: relative; width: min(410px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
	display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; padding: 14px 14px 18px;
	background: var(--wp--preset--color--surface-1);
	border: 1px solid var(--wp--preset--color--border); border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.45);
	transform-origin: top right; animation: blPopIn .24s var(--bl-spring) both; will-change: transform, opacity;
}
.bl-drawer.is-closing .bl-drawer__panel { animation: blPopOut .14s ease-in both; }
@keyframes blPopIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes blPopOut { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
.bl-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 10px 8px; }
.bl-drawer__close:hover { transform: rotate(90deg); background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-dmenu { display: grid; gap: 2px; counter-reset: blnav; }
.bl-dmenu > li { counter-increment: blnav; animation: blItemIn .26s var(--bl-spring) both; }
.bl-dmenu > li:nth-child(2) { animation-delay: .02s; }
.bl-dmenu > li:nth-child(3) { animation-delay: .04s; }
.bl-dmenu > li:nth-child(4) { animation-delay: .06s; }
.bl-dmenu > li:nth-child(n+5) { animation-delay: .08s; }
@keyframes blItemIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.bl-dmenu a {
	display: flex; flex: 1 1 auto; min-width: 0; box-sizing: border-box; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 16px; text-decoration: none;
	touch-action: manipulation; -webkit-tap-highlight-color: transparent;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.015em; line-height: 1.25;
	color: var(--wp--preset--color--contrast); transition: background-color .2s, color .2s;
}
.bl-dmenu > li > a::before, .bl-dmenu > li > .bl-drow > a::before { content: counter(blnav, decimal-leading-zero); font: 600 .7rem/1 var(--wp--preset--font-family--mono); letter-spacing: .06em; color: var(--wp--preset--color--text-faint); min-width: 20px; }
.bl-dmenu > li > a::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .3; transition: transform .25s var(--bl-spring), opacity .2s; }
@media (hover: hover) {
	.bl-dmenu a:hover { background: var(--wp--preset--color--surface-3); }
	.bl-dmenu a:hover::after { opacity: .8; transform: translateX(3px) rotate(45deg); }
}
.bl-dmenu a:focus-visible { background: var(--wp--preset--color--surface-3); }
.bl-dmenu .is-current > a, .bl-dmenu .is-current > .bl-drow > a { background: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-dmenu .is-current > a::before, .bl-dmenu .is-current > .bl-drow > a::before { color: rgba(0,0,0,.55); }
.bl-drow { display: flex; align-items: center; gap: 6px; }
.bl-dmenu > li.is-ancestor > .bl-drow > a { box-shadow: inset 3px 0 0 var(--wp--preset--color--accent); }
.bl-dsubbtn {
	width: 48px; height: 48px; flex: none; padding: 0; display: grid; place-items: center; cursor: pointer;
	border-radius: 14px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--contrast); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
	transition: background .2s, border-color .2s, color .2s;
}
.bl-dsubbtn svg { width: 18px; height: 18px; transition: transform .25s var(--bl-spring); }
.bl-dsubbtn[aria-expanded="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-dsubbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bl-dmenu .bl-sub { display: none; padding: 2px 0 6px 34px; }
.bl-dmenu li.is-open > .bl-sub { display: grid; gap: 2px; animation: blSubIn .2s var(--bl-ease) both; }
@keyframes blSubIn { from { opacity: 0; transform: translateY(-4px); } }
.bl-dmenu .bl-sub a { font-size: .95rem; font-weight: 600; padding: 10px 14px; color: var(--wp--preset--color--text-muted); }
.bl-dmenu .bl-sub a::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: color-mix(in srgb, var(--wp--preset--color--accent) 70%, transparent); flex: none; }
.bl-dmenu .bl-sub .is-current > a { color: #0a0a0a; }
.bl-drawer__foot { display: grid; gap: 12px; margin-top: 8px; padding: 14px; border-radius: 20px; background: var(--wp--preset--color--surface-2); border: 1px solid var(--wp--preset--color--border); animation: blItemIn .26s .08s var(--bl-spring) both; }
html.bl-menu-open .bl-pixels { visibility: hidden; }
.bl-drawer__tools { display: flex; justify-content: space-between; align-items: center; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .9rem; color: var(--wp--preset--color--text-muted); }
.bl-drawer__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: .875rem; }
.bl-drawer__contact a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--wp--preset--color--text-muted); }
.bl-drawer__contact a:hover { color: var(--wp--preset--color--contrast); }
.bl-drawer__contact svg { width: 16px; height: 16px; }
html.bl-menu-open body { overflow: hidden; }
@media (max-width: 480px) { .bl-drawer__panel { width: 100%; } }

/* Hell/Dunkel-Umschalter */
.bl-theme-toggle {
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	width: 60px; height: 32px; padding: 0; flex: none; cursor: pointer;
	border-radius: 999px; border: 1px solid var(--wp--preset--color--border-strong);
	background: var(--wp--preset--color--surface-2); transition: border-color .24s, background .24s;
}
.bl-theme-toggle:hover { border-color: var(--wp--preset--color--accent); }
.bl-theme-toggle__knob {
	position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--wp--preset--color--accent); display: grid; place-items: center;
	transition: transform .38s var(--bl-spring), background .3s;
}
html[data-theme="light"] .bl-theme-toggle__knob { transform: translateX(28px); background: #0a0a0a; }
.bl-theme-toggle__knob svg { width: 13px; height: 13px; color: #0a0a0a; }
html[data-theme="light"] .bl-theme-toggle__knob svg { color: #ffff00; }
.bl-theme-toggle .bl-icon-sun { display: none; }
html[data-theme="light"] .bl-theme-toggle .bl-icon-sun { display: block; }
html[data-theme="light"] .bl-theme-toggle .bl-icon-moon { display: none; }
.bl-theme-toggle__label { position: absolute; left: 70px; white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .84rem; color: var(--wp--preset--color--text-muted); }

/* Lesefortschritt & nach oben */
.bl-progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 0; z-index: 2000; background: var(--wp--preset--color--accent); transition: width .1s linear; }
html[data-theme="light"] .bl-progress { height: 3px; }
.bl-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 850; width: 46px; height: 46px; border-radius: 14px; border: 0;
	background: var(--wp--preset--color--accent); color: #0a0a0a; display: grid; place-items: center; cursor: pointer;
	box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
	opacity: 0; visibility: hidden; transform: translateY(12px) rotate(-8deg);
	transition: opacity .32s var(--bl-ease), transform .32s var(--bl-spring), visibility .32s, border-radius .3s;
}
.bl-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.bl-totop:hover { transform: translateY(-3px) rotate(45deg); border-radius: 10px; }
.bl-totop:hover svg { transform: rotate(-45deg); }
.bl-totop svg { width: 19px; height: 19px; transition: transform .3s; }
@media (max-width: 620px) { .bl-totop { right: 14px; bottom: 14px; } }

/* --------------------------------------------------------------------------
   4. Typografie-Helfer
   -------------------------------------------------------------------------- */
.bl-eyebrow { font-family: var(--wp--preset--font-family--mono); font-size: .719rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin-bottom: 1.25rem; line-height: 1.5; }
.bl-eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin-right: 10px; margin-bottom: 2px; border-radius: 2px; background: currentColor; box-shadow: -14px 0 0 -1px color-mix(in srgb, currentColor 45%, transparent), -25px 0 0 -2.5px color-mix(in srgb, currentColor 25%, transparent); margin-left: 25px; }
html[data-theme="light"] .bl-eyebrow { color: var(--wp--preset--color--contrast); }
html[data-theme="light"] .bl-eyebrow::before { background: var(--wp--preset--color--accent); box-shadow: -14px 0 0 -1px #0a0a0a, -25px 0 0 -2.5px rgba(10,10,10,.45); }
.bl-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--text-muted); line-height: 1.66; max-width: 62ch; }
.bl-lead.has-text-align-center { margin-inline: auto; }
.bl-accent { position: relative; z-index: 0; white-space: nowrap; color: var(--wp--preset--color--accent); }
.bl-accent::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .04em; height: .032em; border-radius: 2px; background: currentColor; opacity: .55; transform: scaleX(0); transform-origin: left; z-index: -1; animation: blAccentIn .85s .45s var(--bl-ease) forwards; }
@keyframes blAccentIn { to { transform: scaleX(1); } }
html[data-theme="light"] .bl-accent { color: var(--wp--preset--color--contrast); }
html[data-theme="light"] .bl-accent::after { height: .09em; opacity: 1; background: var(--wp--preset--color--accent); }
.bl-dot { color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-dot { color: #c9c900; }
.bl-kicker { font-family: var(--wp--preset--font-family--mono); font-size: .656rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); margin-bottom: .9rem; }
.bl-fine { font-family: var(--wp--preset--font-family--mono); font-size: .719rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-crumb { font-family: var(--wp--preset--font-family--mono); font-size: .719rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); margin-bottom: 1.25rem; }
.bl-crumb a { color: inherit; }
.bl-crumb a:hover { color: var(--wp--preset--color--contrast); }

/* --------------------------------------------------------------------------
   5. Hintergründe: Raster, Aurora, Lichtschein
   -------------------------------------------------------------------------- */
.bl-gridbg { position: relative; isolation: isolate; overflow: hidden; }
.bl-gridbg::before {
	content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
	background-image: linear-gradient(var(--bl-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--bl-grid-line) 1px, transparent 1px);
	background-size: 74px 74px;
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
	mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
}
body.bl-grid-motion .bl-gridbg::before { animation: blGridDrift 26s linear infinite; will-change: background-position; }
@keyframes blGridDrift { to { background-position: -74px 74px, -74px 74px; } }
.bl-aurora { position: relative; isolation: isolate; overflow: hidden; }
.bl-aurora::after { content: ""; position: absolute; z-index: -2; pointer-events: none; width: min(920px, 120vw); aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .5; left: -18%; top: -42%; background: radial-gradient(circle, rgba(255, 255, 0, .18), transparent 62%); animation: blAuroraA 24s ease-in-out infinite alternate; }
@keyframes blAuroraA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(14%, 12%, 0) scale(1.18); } }
html[data-theme="light"] .bl-aurora::after { background: radial-gradient(circle, rgba(255, 255, 0, .55), transparent 62%); opacity: .7; }
.bl-glow { position: relative; isolation: isolate; overflow: hidden; }
.bl-glow > .bl-glow__orb { display: none; }
.bl-hero.bl-glow::after { display: none; }
@media (prefers-reduced-motion: reduce) { .bl-gridbg::before, .bl-aurora::after { animation: none !important; } }
.bl-topline { border-top: 1px solid var(--wp--preset--color--border); }

/* Hero */
.bl-hero h1 { line-height: 1.02; }
.bl-hero .bl-lead { margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) {
	.bl-hero > * { animation: blRise .9s var(--bl-spring) both; }
	.bl-hero > :nth-child(2) { animation-delay: .08s; }
	.bl-hero > :nth-child(3) { animation-delay: .16s; }
	.bl-hero > :nth-child(4) { animation-delay: .24s; }
	.bl-hero > :nth-child(n+5) { animation-delay: .32s; }
}
@keyframes blRise { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 620px) {
	.bl-hero .wp-block-buttons .wp-block-button, .bl-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
}
.bl-phead { position: relative; border-bottom: 1px solid var(--wp--preset--color--border); }
.bl-phead h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
.bl-phead--center { text-align: center; }
.bl-phead--center .wp-block-post-title, .bl-phead--center h1 { margin-inline: auto; }

/* --------------------------------------------------------------------------
   6. Knöpfe (Gutenberg)
   -------------------------------------------------------------------------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: -.005em; white-space: nowrap; transition: transform .22s var(--bl-ease), background .22s, border-color .22s, color .22s, box-shadow .28s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link:active { transform: translateY(0); }
.wp-block-button:not(.is-style-outline):not(.is-style-bl-textlink) .wp-block-button__link:hover { box-shadow: 0 12px 34px -10px var(--bl-glow), 0 0 0 4px rgba(255,255,0,.14); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--border-strong); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-2); box-shadow: none; }
.wp-block-button.is-style-bl-textlink .wp-block-button__link { background: none; border: 0; border-bottom: 1.5px solid var(--wp--preset--color--border-strong); border-radius: 0; padding: 0 0 3px; min-height: 0; color: var(--wp--preset--color--contrast); font-size: .906rem; transition: border-color .24s, color .24s, gap .24s var(--bl-ease); }
.wp-block-button.is-style-bl-textlink .wp-block-button__link::after { content: ""; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: var(--bl-arrow) center/contain no-repeat; mask: var(--bl-arrow) center/contain no-repeat; }
.wp-block-button.is-style-bl-textlink .wp-block-button__link:hover { transform: none; box-shadow: none; gap: 13px; border-color: var(--wp--preset--color--accent); }
html[data-theme="light"] .wp-block-button.is-style-bl-textlink .wp-block-button__link:hover { border-bottom-width: 3px; }
.wp-block-button.is-style-bl-arrow .wp-block-button__link::after { content: ""; width: 17px; height: 17px; flex: none; background: currentColor; -webkit-mask: var(--bl-arrow) center/contain no-repeat; mask: var(--bl-arrow) center/contain no-repeat; transition: transform .28s var(--bl-ease); }
.wp-block-button.is-style-bl-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-buttons .wp-block-button__link { box-sizing: border-box; min-height: var(--bl-btn-h, 52px); padding-top: 0; padding-bottom: 0; }
.wp-block-buttons .wp-block-button.is-style-bl-textlink .wp-block-button__link { min-height: 0; }
.wp-block-buttons.is-content-justification-center { align-items: stretch; }
.wp-block-buttons .wp-block-button { display: flex; }
.wp-block-buttons .wp-block-button > .wp-block-button__link { width: 100%; }

/* --------------------------------------------------------------------------
   7. Karten, Listen, Bilder, Zitat
   -------------------------------------------------------------------------- */
.bl-card, .wp-block-group.is-style-bl-card {
	position: relative; overflow: hidden; border: 1px solid var(--wp--preset--color--border); border-radius: 20px;
	background: var(--wp--preset--color--surface-1); box-shadow: var(--bl-shadow-card);
	transition: border-color .3s, transform .38s var(--bl-ease), box-shadow .38s;
}
.wp-block-group.is-style-bl-card { padding: var(--wp--preset--spacing--40); }
.bl-card::before, .wp-block-group.is-style-bl-card::before {
	content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 0;
	background: radial-gradient(420px circle at var(--bl-mx, 50%) var(--bl-my, 0%), rgba(255,255,0,.10), transparent 62%); transition: opacity .4s;
}
html[data-theme="light"] .bl-card::before, html[data-theme="light"] .wp-block-group.is-style-bl-card::before { background: radial-gradient(420px circle at var(--bl-mx, 50%) var(--bl-my, 0%), rgba(255,255,0,.28), transparent 60%); }
.bl-card:hover::before, .wp-block-group.is-style-bl-card:hover::before { opacity: 1; }
.bl-card:hover, .wp-block-group.is-style-bl-card:hover { border-color: var(--wp--preset--color--border-strong); transform: translateY(-4px); box-shadow: var(--bl-shadow-lift); }
.bl-card > *, .wp-block-group.is-style-bl-card > * { position: relative; z-index: 1; }
.bl-card p:last-child { margin-bottom: 0; }
.bl-card.bl-card--accent { border-color: var(--wp--preset--color--accent); }
.bl-card--dashed { border-style: dashed; box-shadow: none; padding: 26px 28px; }
.bl-card--dashed:hover { transform: none; }
/* Pixel-Ecke wie im Logo */
.bl-card::after { content: ""; position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 1.5px; background: var(--wp--preset--color--accent); opacity: 0; transform: scale(.4); box-shadow: -10px 6px 0 -1px color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent), -4px 14px 0 -2px color-mix(in srgb, var(--wp--preset--color--contrast) 40%, transparent); transition: opacity .35s, transform .45s var(--bl-spring); z-index: 2; }
.bl-card:hover::after { opacity: 1; transform: scale(1); }
.bl-card--media::after, .bl-card--dashed::after { display: none; }
.bl-card--media { padding: 0 !important; }
.bl-card--media .wp-block-image { margin: 0; position: relative; }
.bl-card--media .wp-block-image::after { content: ""; position: absolute; inset: 0; background: var(--bl-veil); pointer-events: none; }
.bl-card--media .wp-block-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .8s var(--bl-ease); filter: saturate(.85); }
.bl-card--media:hover .wp-block-image img { transform: scale(1.055); }
.bl-card--media .wp-block-image figcaption { position: absolute; left: 16px; bottom: 14px; margin: 0; z-index: 2; font-family: var(--wp--preset--font-family--mono); font-size: .656rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); padding: 6px 11px; border-radius: 999px; }
.wp-block-image.is-style-bl-framed { position: relative; }
.wp-block-image.is-style-bl-framed img { border-radius: 28px; border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-lift); width: 100%; object-fit: cover; }
.wp-block-image.is-style-bl-framed::before { content: ""; position: absolute; left: -12px; top: 22px; width: 16px; height: 16px; border-radius: 3px; background: var(--wp--preset--color--accent); z-index: 2; box-shadow: -18px 22px 0 -4px color-mix(in srgb, var(--wp--preset--color--contrast) 70%, transparent), 4px 34px 0 -6px var(--wp--preset--color--accent); animation: blFloat 6s ease-in-out infinite; }
@keyframes blFloat { 50% { transform: translateY(-6px); } }
.wp-block-image.is-style-bl-framed figcaption { position: absolute; right: 18px; bottom: 18px; margin: 0; z-index: 2; max-width: 62%; background: var(--wp--preset--color--accent); color: #0a0a0a; border-radius: 14px; padding: 13px 17px; font-family: var(--wp--preset--font-family--display); font-weight: 800; line-height: 1.25; font-size: .82rem; text-align: left; box-shadow: 0 14px 34px -14px rgba(0,0,0,.7); }
.wp-block-image.is-style-bl-framed figcaption strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: 2px; }
.wp-block-list.is-style-bl-ticks { list-style: none; padding-left: 0; margin-top: 1.6rem; }
.wp-block-list.is-style-bl-ticks li { position: relative; padding-left: 37px; margin-bottom: .8rem; color: var(--wp--preset--color--text-muted); font-size: .96rem; line-height: 1.6; }
.wp-block-list.is-style-bl-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: var(--wp--preset--color--accent); -webkit-mask: var(--bl-check) center/contain no-repeat; mask: var(--bl-check) center/contain no-repeat; }
html[data-theme="light"] .wp-block-list.is-style-bl-ticks li::before { background: none; -webkit-mask: none; mask: none; background-image: var(--bl-check-filled); background-repeat: no-repeat; background-size: contain; }
.wp-block-list.is-style-bl-ticks li strong { color: var(--wp--preset--color--contrast); font-weight: 600; }
.wp-block-list.bl-ticks--inline { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: inherit; margin-top: 0; }
.wp-block-list.bl-ticks--inline li { margin-bottom: 0; font-size: .85rem; padding-left: 26px; }
.wp-block-list.bl-ticks--inline li::before { width: 17px; height: 17px; top: 3px; }
.has-text-align-center .wp-block-list.bl-ticks--inline, .wp-block-list.bl-ticks--inline.has-text-align-center { justify-content: center; }
.wp-block-quote.is-style-bl-quote { position: relative; overflow: hidden; border: 1px solid var(--wp--preset--color--border); border-radius: 28px; background: var(--wp--preset--color--surface-1); padding: clamp(30px, 4.5vw, 58px); border-left-width: 1px; }
.wp-block-quote.is-style-bl-quote::before { content: "”"; position: absolute; top: -42px; right: 24px; pointer-events: none; font-family: var(--wp--preset--font-family--display); font-size: 230px; line-height: 1; color: var(--wp--preset--color--accent); opacity: .10; }
html[data-theme="light"] .wp-block-quote.is-style-bl-quote::before { opacity: .85; }
.wp-block-quote.is-style-bl-quote p { font-size: clamp(1.24rem, 2.6vw, 1.86rem); max-width: 22ch; margin-bottom: 0; }
.wp-block-quote.is-style-bl-quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-family: var(--wp--preset--font-family--body); font-size: .875rem; color: var(--wp--preset--color--text-muted); font-weight: 400; }
.wp-block-quote.is-style-bl-quote cite strong { display: block; color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .94rem; }
.bl-ctaband { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-1); text-align: center; }
.bl-ctaband.bl-gridbg::before { -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 10%, transparent 72%); }
.bl-ctaband h2 { max-width: 20ch; margin-inline: auto; }
.bl-ctaband p { max-width: 56ch; margin-inline: auto; }
.bl-ctaband .bl-eyebrow { text-align: center; }
.bl-ctaband .wp-block-buttons { justify-content: center; }
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column > .bl-card,
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column > .is-style-bl-card,
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column > .bl-cbox,
.wp-block-columns:not(.are-vertically-aligned-center) > .wp-block-column > .bl-formcard { flex: 1 1 auto; }

/* Schritte */
.bl-steps { position: relative; }
.bl-steps::before { content: ""; position: absolute; left: 26px; top: 34px; bottom: 34px; width: 1px; background: linear-gradient(180deg, transparent, var(--wp--preset--color--border-strong) 12%, var(--wp--preset--color--border-strong) 88%, transparent); }
.bl-step { position: relative; padding-block: clamp(22px, 3vw, 30px); }
.bl-step + .bl-step { border-top: 1px solid var(--wp--preset--color--border); }
.bl-step .bl-step-n { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; position: relative; z-index: 1; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border-strong); font-family: var(--wp--preset--font-family--mono); font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--text-muted); transition: background .35s var(--bl-ease), color .35s, border-color .35s, transform .45s var(--bl-spring); margin: 0; }
.bl-step:hover .bl-step-n { background: var(--wp--preset--color--accent); color: #0a0a0a; border-color: var(--wp--preset--color--accent); transform: rotate(-8deg) scale(1.06); }
html[data-theme="light"] .bl-step .bl-step-n { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.bl-step-meta { font-family: var(--wp--preset--font-family--mono); font-size: .688rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); margin-bottom: 0; }
@media (max-width: 620px) { .bl-steps::before { left: 21.5px; } .bl-step .bl-step-n { width: 44px; height: 44px; font-size: .78rem; } }

/* Kontakt-Kästen */
.bl-cbox { border: 1px solid var(--wp--preset--color--border); border-radius: 20px; background: var(--wp--preset--color--surface-1); transition: border-color .3s, transform .3s var(--bl-ease), background .3s; }
a.bl-cbox:hover, .bl-cbox:has(a:hover) { border-color: var(--wp--preset--color--accent); transform: translateX(4px); background: var(--wp--preset--color--surface-2); }
html[data-theme="light"] .bl-cbox:has(a:hover) { box-shadow: inset 3px 0 0 var(--wp--preset--color--accent); }
.bl-cbox .bl-cbox-label { font-family: var(--wp--preset--font-family--mono); font-size: .656rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); margin-bottom: .25rem; }
.bl-cbox .bl-cbox-value { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .975rem; letter-spacing: -.01em; margin-bottom: .1rem; }
.bl-cbox .bl-cbox-sub { font-size: .875rem; color: var(--wp--preset--color--text-muted); margin-bottom: 0; }
.bl-formcard { border: 1px solid var(--wp--preset--color--border); border-radius: 28px; background: var(--wp--preset--color--surface-1); box-shadow: var(--bl-shadow-card); }

/* Rechtstexte & normale Seiten */
.bl-legal > .wp-block-post-content { max-width: 820px; margin-inline: auto; }
.bl-legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2.75rem; }
.bl-legal h3 { font-size: 1.06rem; margin-top: 1.6rem; }
.bl-legal p, .bl-legal li { color: var(--wp--preset--color--text-muted); font-size: .95rem; }
.bl-legal code { font-family: var(--wp--preset--font-family--mono); font-size: .85em; background: var(--wp--preset--color--surface-2); padding: 2px 6px; border-radius: 5px; }
.bl-legal a, .bl-pagebody .wp-block-post-content a:not(.wp-block-button__link) { text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-underline-offset: 3px; }
.bl-note { border: 1px solid var(--wp--preset--color--border); border-left: 3px solid var(--wp--preset--color--accent); border-radius: 14px; background: var(--wp--preset--color--surface-1); }
.bl-note p:last-child { margin-bottom: 0; }

/* Einblenden beim Scrollen */
html.bl-js .bl-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--bl-spring), transform .8s var(--bl-spring); }
html.bl-js .bl-reveal.is-in { opacity: 1; transform: none; }
html.bl-js.bl-no-reveal .bl-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .bl-reveal { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   8. Eigene Blöcke
   -------------------------------------------------------------------------- */
/* Icon */
.bl-icon { display: inline-grid; place-items: center; color: currentColor; line-height: 0; }
.bl-icon svg { width: 23px; height: 23px; }
.bl-icon--sm svg { width: 18px; height: 18px; }
.bl-icon--lg svg { width: 28px; height: 28px; }
.bl-icon--boxed { display: grid; width: 50px; height: 50px; border-radius: 14px; background: var(--wp--preset--color--surface-3); border: 1px solid var(--wp--preset--color--border); color: var(--wp--preset--color--contrast); transition: background .3s, color .3s, border-color .3s, transform .45s var(--bl-spring); }
.bl-icon--boxed.bl-icon--sm { width: 40px; height: 40px; border-radius: 11px; }
.bl-icon--boxed.bl-icon--lg { width: 58px; height: 58px; border-radius: 16px; }
.bl-card:hover .bl-icon--boxed, .is-style-bl-card:hover .bl-icon--boxed { background: var(--wp--preset--color--accent); color: #0a0a0a; border-color: var(--wp--preset--color--accent); transform: rotate(-6deg) scale(1.06); }
html[data-theme="light"] .bl-icon--boxed { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
html[data-theme="light"] .bl-card:hover .bl-icon--boxed, html[data-theme="light"] .is-style-bl-card:hover .bl-icon--boxed { background: #0a0a0a; border-color: #0a0a0a; color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-cbox:has(a:hover) .bl-icon--boxed { background: #0a0a0a; color: var(--wp--preset--color--accent); border-color: #0a0a0a; }

/* Laufband */
.bl-ticker { position: relative; overflow: hidden; padding: 17px 0; border-block: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-1); }
.bl-ticker::before, .bl-ticker::after { content: ""; position: absolute; inset-block: 0; width: 110px; z-index: 2; pointer-events: none; }
.bl-ticker::before { left: 0; background: linear-gradient(90deg, var(--wp--preset--color--surface-1), transparent); }
.bl-ticker::after { right: 0; background: linear-gradient(270deg, var(--wp--preset--color--surface-1), transparent); }
.bl-ticker__track { display: flex; width: max-content; animation: blTickerSlide var(--bl-ticker-speed, 34s) linear infinite; }
.bl-ticker:hover .bl-ticker__track { animation-play-state: paused; }
@keyframes blTickerSlide { to { transform: translateX(-50%); } }
.bl-ticker__item { display: inline-flex; align-items: center; gap: 11px; padding: 0 28px; white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .938rem; color: var(--wp--preset--color--text-muted); letter-spacing: -.01em; }
.bl-ticker__item::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 1.5px; background: var(--wp--preset--color--accent); }
.bl-ticker__item:nth-child(3n+2)::before { width: 5px; height: 5px; background: var(--wp--preset--color--contrast); opacity: .55; }
.bl-ticker--preview .bl-ticker__track { animation: none; }

/* Kennzahlen */
.bl-stats { display: grid; grid-template-columns: repeat(var(--bl-stats-cols, 4), 1fr); gap: 1px; background: var(--wp--preset--color--border); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; overflow: hidden; }
.bl-stat { background: var(--wp--preset--color--surface-1); text-align: center; padding: clamp(24px, 3vw, 36px); transition: background .3s; }
.bl-stat:hover { background: var(--wp--preset--color--surface-2); }
.bl-stat__value { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.15rem); line-height: 1; letter-spacing: -.035em; margin-bottom: .35rem; color: var(--wp--preset--color--contrast); }
.bl-stat__prefix { font-style: normal; color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-stat__prefix { color: var(--wp--preset--color--contrast); }
.bl-stat__label { display: block; font-size: .84rem; line-height: 1.45; color: var(--wp--preset--color--text-muted); font-family: var(--wp--preset--font-family--body); }
html[data-theme="light"] .bl-stats { border-top: 3px solid var(--wp--preset--color--accent); }
@media (max-width: 900px) { .bl-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bl-stats { grid-template-columns: 1fr; } }

/* Leistungsliste */
.bl-srv-list { border-top: 1px solid var(--wp--preset--color--border); }
.bl-srv-row { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: clamp(16px, 3vw, 34px); align-items: start; padding: clamp(22px, 2.8vw, 30px) clamp(8px, 1.5vw, 18px); border-bottom: 1px solid var(--wp--preset--color--border); transition: padding-left .35s var(--bl-ease), background .35s; }
.bl-srv-row::after { content: ""; position: absolute; left: 0; inset-block: 0; width: 2px; background: var(--wp--preset--color--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--bl-ease); }
.bl-srv-row:hover { background: var(--wp--preset--color--surface-1); padding-left: 26px; }
.bl-srv-row:hover::after { transform: scaleY(1); }
.bl-srv-row__idx { font-family: var(--wp--preset--font-family--mono); font-size: .75rem; color: var(--wp--preset--color--text-faint); letter-spacing: .08em; padding-top: 4px; transition: color .3s; }
.bl-srv-row:hover .bl-srv-row__idx { color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-srv-row:hover .bl-srv-row__idx { color: var(--wp--preset--color--contrast); }
.bl-srv-row__title { margin: 0 0 .45rem; }
.bl-srv-row__text { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .925rem; max-width: 70ch; }
.bl-srv-row__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: .75rem; }
.bl-tag { font-family: var(--wp--preset--font-family--mono); font-size: .656rem; letter-spacing: .06em; padding: 4px 9px; border-radius: 8px; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); color: var(--wp--preset--color--text-faint); }
@media (max-width: 620px) { .bl-srv-row { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; } .bl-srv-row__idx { padding-top: 0; } .bl-srv-row:hover { padding-left: clamp(8px, 1.5vw, 18px); } }

/* FAQ */
.bl-faq { border-top: 1px solid var(--wp--preset--color--border); }
.bl-faq-item { border-bottom: 1px solid var(--wp--preset--color--border); }
.bl-faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.16rem); letter-spacing: -.015em; line-height: 1.3; color: var(--wp--preset--color--contrast); transition: color .25s; }
.bl-faq-item__q:hover { color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-faq-item__q:hover { color: var(--wp--preset--color--contrast); }
html[data-theme="light"] .bl-faq-item__q:hover .bl-faq-item__sign { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-faq-item__sign { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 1px solid var(--wp--preset--color--border-strong); display: grid; place-items: center; transition: all .35s var(--bl-spring); }
.bl-faq-item__sign svg { width: 14px; height: 14px; transition: transform .35s var(--bl-spring); }
.bl-faq-item.is-open .bl-faq-item__sign { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; transform: rotate(-8deg); }
.bl-faq-item.is-open .bl-faq-item__sign svg { transform: rotate(45deg); }
.bl-faq-item__a { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .42s var(--bl-ease), visibility 0s linear .42s; }
.bl-faq-item.is-open .bl-faq-item__a { visibility: visible; transition: max-height .42s var(--bl-ease), visibility 0s; }
html:not(.bl-js) .bl-faq-item__a, .editor-styles-wrapper .bl-faq-item__a { visibility: visible; }
html:not(.bl-js) .bl-faq-item__a { max-height: none; }
.bl-faq-item__inner { padding: 0 4px 24px; }
.bl-faq-item__inner p { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .925rem; max-width: 76ch; }
.bl-faq-item__inner p + p { margin-top: .8rem; }
.editor-styles-wrapper .bl-faq-item__a { max-height: none !important; overflow: visible; }

/* Karte */
.bl-map { border: 1px solid var(--wp--preset--color--border); border-radius: 20px; overflow: hidden; aspect-ratio: 16/8; }
.bl-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.bl-map--gate { display: grid; place-items: center; text-align: center; padding: clamp(24px, 5vw, 44px); background: linear-gradient(color-mix(in srgb, var(--wp--preset--color--base) 62%, transparent), color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent)), repeating-linear-gradient(0deg, transparent 0 59px, var(--wp--preset--color--border) 59px 60px), repeating-linear-gradient(90deg, transparent 0 59px, var(--wp--preset--color--border) 59px 60px); }
.bl-map__gate { max-width: 40ch; }
.bl-map__gate-title { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.02rem; margin: 0 0 .5rem; color: var(--wp--preset--color--contrast); }
.bl-map__gate-text { font-size: .86rem; color: var(--wp--preset--color--text-muted); margin: 0 0 1.1rem; line-height: 1.55; }
.bl-map__gate-btn { border: 0; border-radius: 999px; cursor: pointer; padding: 0 22px; min-height: 44px; background: var(--wp--preset--color--accent); color: #0a0a0a; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: .875rem; transition: transform .22s var(--bl-ease), box-shadow .28s; }
.bl-map__gate-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--bl-glow); }
.bl-map__gate-alt { margin: .9rem 0 0; font-size: .78rem; }
.bl-map__gate-alt a { color: var(--wp--preset--color--text-muted); text-decoration: underline; }
.bl-map__note { margin-top: .8rem; margin-bottom: 0; text-transform: none; letter-spacing: 0; font-size: .76rem; }

/* --------------------------------------------------------------------------
   9. Kontaktformular
   -------------------------------------------------------------------------- */
.bl-form { display: grid; gap: 18px; }
.bl-form__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 601px) { .bl-form__grid { grid-template-columns: 1fr 1fr; column-gap: 16px; } .bl-form__grid > .bl-field:not(.bl-field--half) { grid-column: 1 / -1; } }
.bl-field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.bl-field > label:not(.bl-check), .bl-field legend { font-family: var(--wp--preset--font-family--mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--contrast); padding: 0; }
.bl-field legend { margin-bottom: 8px; }
.bl-req { color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-req { color: var(--wp--preset--color--contrast); }
.bl-field input:not([type=checkbox]), .bl-field textarea, .bl-field select {
	width: 100%; box-sizing: border-box; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--wp--preset--color--border-strong);
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body); font-size: 1.02rem; line-height: 1.4; box-shadow: none; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.bl-field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.bl-field input::placeholder, .bl-field textarea::placeholder { color: var(--wp--preset--color--text-faint); opacity: 1; }
.bl-field textarea { min-height: 140px; line-height: 1.6; resize: vertical; }
.bl-field input:not([type=checkbox]):focus, .bl-field textarea:focus, .bl-field select:focus { outline: none; border-color: var(--bl-focus); box-shadow: 0 0 0 3px rgba(255,255,0,.20); }
html[data-theme="light"] .bl-field input:not([type=checkbox]):focus, html[data-theme="light"] .bl-field textarea:focus, html[data-theme="light"] .bl-field select:focus { box-shadow: 0 0 0 4px rgba(255,255,0,.6); }
.bl-field.is-invalid input, .bl-field.is-invalid textarea, .bl-field--check.is-invalid .bl-check { border-color: #ff5c5c; }
html[data-theme="light"] .bl-field.is-invalid input, html[data-theme="light"] .bl-field.is-invalid textarea { border-color: #c92a2a; }
.bl-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--wp--preset--color--border); border-radius: 14px; background: var(--wp--preset--color--base); cursor: pointer; font-size: .92rem; line-height: 1.55; color: var(--wp--preset--color--contrast); }
.bl-check { position: relative; transition: border-color .2s, background .2s; }
.bl-check:hover { border-color: var(--wp--preset--color--border-strong); }
.bl-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bl-check__box {
	width: 24px; height: 24px; flex: none; margin-top: 1px; box-sizing: border-box; display: grid; place-items: center;
	border-radius: 7px; border: 2px solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--surface-2);
	color: #0a0a0a; transition: background .2s, border-color .2s, transform .3s var(--bl-spring);
}
.bl-check__box svg { width: 15px; height: 15px; opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .18s, transform .32s var(--bl-spring); }
.bl-check input:checked + .bl-check__box { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); transform: rotate(-6deg); }
.bl-check input:checked + .bl-check__box svg { opacity: 1; transform: none; }
.bl-check input:focus-visible + .bl-check__box { outline: 2px solid var(--bl-focus); outline-offset: 3px; }
.bl-check:has(input:checked) { border-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, var(--wp--preset--color--border)); }
html[data-theme="light"] .bl-check input:checked + .bl-check__box { border-color: #0a0a0a; }
.bl-field--check.is-invalid .bl-check__box { border-color: #ff5c5c; }
.bl-check a { color: var(--wp--preset--color--accent); text-decoration: underline; }
html[data-theme="light"] .bl-check a { color: var(--wp--preset--color--contrast); text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; }
.bl-form__submit { min-height: 58px; font-size: 1.02rem; margin-top: 4px; }
.bl-form__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.bl-form__submit.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 3px; animation: blSpin .8s linear infinite; }
@keyframes blSpin { to { transform: rotate(360deg); } }
.bl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bl-alert { padding: 14px 18px; border-radius: 14px; font-size: .95rem; line-height: 1.55; border: 1px solid; }
.bl-alert--ok { background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, var(--wp--preset--color--surface-2)); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.bl-alert--err { background: color-mix(in srgb, #ff5c5c 12%, var(--wp--preset--color--surface-2)); border-color: #ff5c5c; color: var(--wp--preset--color--contrast); }
.bl-form__status:empty { display: none; }
.bl-form.is-sent .bl-form__grid, .bl-form.is-sent .bl-field--check, .bl-form.is-sent .bl-form__submit { display: none; }

/* --------------------------------------------------------------------------
   10. Stellenangebote
   -------------------------------------------------------------------------- */
.bl-jobs { display: grid; gap: 16px; }
.bl-job { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 32px); }
.bl-job__title { margin: 0 0 .4rem; font-size: var(--wp--preset--font-size--x-large); }
.bl-job__title a { text-decoration: none; }
.bl-job__intro { color: var(--wp--preset--color--text-muted); font-size: .94rem; margin: 0 0 .8rem; max-width: 64ch; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border-strong); color: var(--wp--preset--color--text-muted); }
.bl-chip.is-accent { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
@media (max-width: 700px) { .bl-job { flex-direction: column; align-items: flex-start; } }
.bl-jobhead { padding: var(--wp--preset--spacing--70) clamp(20px, 5vw, 40px) var(--wp--preset--spacing--50); }
.bl-jobhead__in { max-width: 1240px; margin-inline: auto; }
.bl-jobhead h1 { max-width: 22ch; }
.bl-jobhead .bl-chips { margin-top: 1.2rem; }
.bl-jobdetail { max-width: 1240px; margin: 0 auto; padding: var(--wp--preset--spacing--50) clamp(20px, 5vw, 40px) var(--wp--preset--spacing--60); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bl-jobblock h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.2rem 0 .4rem; }
.bl-jobdetail__side { display: grid; gap: 16px; position: sticky; top: calc(var(--bl-header-h) + 40px); }
.bl-jobdetail__side .bl-card { padding: 24px; }
.bl-side-title { font-size: 1.15rem; margin: 0 0 .6rem; }
.bl-kv { margin: 0; display: grid; gap: 14px; }
.bl-kv dt { font-family: var(--wp--preset--font-family--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-kv dd { margin: 2px 0 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; }
@media (max-width: 900px) { .bl-jobdetail { grid-template-columns: 1fr; } .bl-jobdetail__side { position: static; } }

/* --------------------------------------------------------------------------
   11. Fußbereich
   -------------------------------------------------------------------------- */
.bl-footer-part { position: relative; z-index: 1; }
.bl-footer { margin-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-1); border-radius: 30px 30px 0 0; overflow: hidden; position: relative; }
.bl-footer::before { content: ""; position: absolute; top: 0; left: 50%; width: min(520px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--wp--preset--color--accent), transparent); opacity: .6; }
.bl-footer__inner { max-width: 1440px; margin: 0 auto; padding: var(--wp--preset--spacing--50) clamp(20px, 5vw, 40px) 0; }
.bl-fgrid { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--40); }
.bl-fcol .bl-logo { margin-bottom: var(--wp--preset--spacing--30); }
.bl-footer__text { font-size: .9rem; color: var(--wp--preset--color--text-muted); max-width: 42ch; }
.bl-foot-head { font-family: var(--wp--preset--font-family--mono) !important; font-size: .675rem !important; font-weight: 600 !important; letter-spacing: .16em !important; text-transform: uppercase; color: var(--wp--preset--color--text-faint) !important; margin: 0 0 var(--wp--preset--spacing--20) !important; line-height: 1.5 !important; }
.bl-flinks li { margin-bottom: .45rem; }
.bl-flinks a, .bl-footer__contact a, .bl-fbot a { color: var(--wp--preset--color--text-muted); font-size: .906rem; text-decoration: none; display: inline-block; transition: color .22s, transform .22s var(--bl-ease); }
.bl-flinks a:hover, .bl-footer__contact a:hover, .bl-fbot a:hover { color: var(--wp--preset--color--contrast); transform: translateX(4px); }
.bl-footer__contact { font-size: .9rem; line-height: 1.85; color: var(--wp--preset--color--text-muted); margin: 0; }
.bl-socials { list-style: none; margin: var(--wp--preset--spacing--30) 0 0; padding: 0; display: flex; gap: 10px; }
.bl-socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--wp--preset--color--border); display: grid; place-items: center; color: var(--wp--preset--color--text-muted); transition: all .3s var(--bl-spring); }
.bl-socials a:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; transform: translateY(-3px) rotate(-6deg); }
.bl-fbot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--wp--preset--spacing--30); padding-block: var(--wp--preset--spacing--30); }
.bl-fbot p { margin: 0; font-size: .825rem; color: var(--wp--preset--color--text-faint); }
.bl-fbot a { font-size: .825rem; color: var(--wp--preset--color--text-faint); }
.bl-fseo { padding: var(--wp--preset--spacing--20) 0 var(--wp--preset--spacing--30); }
.bl-seo-text { font-size: .76rem; color: var(--wp--preset--color--text-faint); line-height: 1.75; margin: 0; }
.bl-seo-text strong { color: var(--wp--preset--color--text-muted); font-weight: 600; }
@media (max-width: 900px) { .bl-fgrid { grid-template-columns: 1fr 1fr; } .bl-fcol--brand { grid-column: 1 / -1; } .bl-footer { border-radius: 24px 24px 0 0; } }
@media (max-width: 560px) { .bl-fgrid { grid-template-columns: 1fr; } .bl-footer { border-radius: 20px 20px 0 0; } .bl-fcol .bl-logo .bl-logo__img { height: 42px; } }

/* Abfrage-Schleife (Aktuelles) */
.wp-block-post-template .bl-card { height: 100%; box-sizing: border-box; }
.wp-block-post-excerpt__excerpt { color: var(--wp--preset--color--text-muted); font-size: .94rem; }
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--40); }

/* 404 */
.bl-404 { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; }

/* Druck */
@media print {
	.bl-header-part, .bl-totop, .bl-progress, .bl-ticker, .bl-theme-toggle, .bl-pixels { display: none !important; }
	body { background: #fff; color: #000; }
	.bl-card, .bl-formcard, .wp-block-quote { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   12. Öffnungsstatus
   -------------------------------------------------------------------------- */
.bl-open { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .7rem; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--wp--preset--color--text-muted); background: var(--wp--preset--color--surface-2); border: 1px solid var(--wp--preset--color--border); }
.bl-open[hidden] { display: none; }
.bl-open__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--wp--preset--color--text-faint); flex: none; }
.bl-open.is-open { color: var(--wp--preset--color--contrast); }
.bl-open.is-open .bl-open__dot { background: #2fd36b; box-shadow: 0 0 0 0 rgba(47,211,107,.6); animation: blPulse 2s infinite; }
@keyframes blPulse { 70% { box-shadow: 0 0 0 7px rgba(47,211,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,211,107,0); } }
.bl-drawer__foot .bl-open { margin: 0; justify-self: start; }

/* Initiativbewerbung */
.bl-initiative { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.bl-initiative__title { margin: 0 0 .3rem; font-size: 1.15rem; }
.bl-initiative p { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .94rem; }
.bl-btn--ghost { background: transparent; color: var(--wp--preset--color--contrast) !important; border-color: var(--wp--preset--color--border-strong); }
.bl-btn--ghost:hover { background: var(--wp--preset--color--surface-2); border-color: var(--wp--preset--color--contrast); box-shadow: none; }
@media (max-width: 700px) { .bl-initiative { flex-direction: column; align-items: flex-start; } }

/* Gelber Bereich (Blockstil für Gruppen) */
.wp-block-group.is-style-bl-yellow { background: var(--wp--preset--color--accent); color: #0a0a0a; border-radius: 28px; position: relative; overflow: hidden; isolation: isolate; }
.wp-block-group.is-style-bl-yellow :where(h1, h2, h3, h4, p, li, a:not(.wp-block-button__link)) { color: #0a0a0a; }
.wp-block-group.is-style-bl-yellow .bl-eyebrow, .wp-block-group.is-style-bl-yellow .bl-kicker, .wp-block-group.is-style-bl-yellow .has-text-muted-color, .wp-block-group.is-style-bl-yellow .bl-lead { color: rgba(10,10,10,.72) !important; }
.wp-block-group.is-style-bl-yellow .bl-accent, .wp-block-group.is-style-bl-yellow .bl-dot { color: #0a0a0a; }
.wp-block-group.is-style-bl-yellow .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #0a0a0a; color: #ffff00; border-color: #0a0a0a; }
.wp-block-group.is-style-bl-yellow .wp-block-button.is-style-outline .wp-block-button__link { color: #0a0a0a; border-color: rgba(10,10,10,.45); }
.wp-block-group.is-style-bl-yellow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(10,10,10,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%); }

/* Kundenstimmen, Logos, Team, Pakete (Muster) */
.bl-quote-card { display: flex; flex-direction: column; gap: 14px; }
.bl-quote-card .bl-quote-card__text { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.05rem; line-height: 1.5; letter-spacing: -.01em; color: var(--wp--preset--color--contrast); }
.bl-quote-card .bl-quote-card__text::before { content: "“"; display: block; font-size: 2.6rem; line-height: .8; color: var(--wp--preset--color--accent); margin-bottom: 6px; }
.bl-quote-card .bl-quote-card__who { margin-top: auto; font-size: .86rem; color: var(--wp--preset--color--text-muted); }
.bl-quote-card .bl-quote-card__who strong { display: block; color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--display); }
.bl-logos { align-items: center; }
.bl-logos .wp-block-image { margin: 0; text-align: center; }
.bl-logos img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; transition: opacity .3s, filter .3s; }
html[data-theme="light"] .bl-logos img { filter: grayscale(1); }
.bl-logos img:hover { opacity: 1; filter: none; }
.bl-team .wp-block-image img { aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; width: 100%; filter: saturate(.9); }
.bl-team .bl-team__role { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); margin: 0; }
.bl-price { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.03em; line-height: 1; margin: .2rem 0 .1rem; }
.bl-price small { font-size: .9rem; font-weight: 600; color: var(--wp--preset--color--text-muted); letter-spacing: 0; }
.bl-card--featured { border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 1px var(--wp--preset--color--accent), var(--bl-shadow-lift); }
.bl-badge { display: inline-block; font-family: var(--wp--preset--font-family--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--wp--preset--color--accent); color: #0a0a0a; margin: 0 0 .6rem; }

/* Größere Tippfläche für den Untermenü-Pfeil */
.bl-subtoggle { width: 30px; height: 30px; margin-top: -15px; right: 3px; }
.bl-menu > .has-sub > a { padding-right: 34px; }

/* 404-Suche */
.bl-404 .wp-block-search { max-width: 460px; margin: var(--wp--preset--spacing--40) auto 0; }
.wp-block-search__input { border-radius: 999px !important; border: 1px solid var(--wp--preset--color--border-strong) !important; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); padding: 12px 18px !important; }
.wp-block-search__button { border-radius: 999px !important; }

/* ------------------------------------------------------------------ */
/* Ansprechpartner (Block „Person“)                                      */
/* ------------------------------------------------------------------ */
.bl-person { padding: clamp(56px, 8vw, 110px) 0; scroll-margin-top: calc(var(--bl-header-h) + 24px); }
.bl-person__in { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.bl-person__media { position: relative; }
.bl-person__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--wp--preset--color--surface-2); border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-lift); }
.bl-person__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(10,10,10,.45)); pointer-events: none; }
.bl-person .bl-person__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 20%; border-radius: 0; margin: 0; }
.bl-person__noimg { display: grid; place-items: center; font: 800 6rem/1 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--text-faint); }
.bl-person__badge { position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--wp--preset--color--surface-1) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--wp--preset--color--border); }
.bl-person__badge b { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1rem; color: var(--wp--preset--color--contrast); }
.bl-person__badge small { display: block; font-size: .82rem; color: var(--wp--preset--color--text-muted); }
.bl-person__dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 5px rgba(61,220,132,.18); }
.bl-person .bl-person__name { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 10px; color: var(--wp--preset--color--contrast); }
.bl-person__role { font-size: 1.05rem; color: var(--wp--preset--color--text-muted); margin: 0 0 28px; }
.bl-person__role strong { color: var(--wp--preset--color--contrast); font-weight: 600; }
.bl-person__text { font-size: 1.08rem; line-height: 1.7; color: var(--wp--preset--color--text-muted); margin: 0 0 26px; }
.bl-person .bl-person__quote { margin: 0 0 30px; padding: 4px 0 4px 22px; border: 0; border-left: 3px solid var(--wp--preset--color--accent); background: none; }
.bl-person .bl-person__quote p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-style: normal; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; letter-spacing: -.015em; color: var(--wp--preset--color--contrast); }
html[data-theme="light"] .bl-person .bl-person__quote { border-left-color: #0a0a0a; box-shadow: inset 3px 0 0 var(--wp--preset--color--accent); }
.bl-person__certs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.bl-person__certs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-2); border: 1px solid var(--wp--preset--color--border); }
.bl-person__certs li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--wp--preset--color--accent); flex: 0 0 auto; }
.bl-person__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.bl-person__facts li { margin: 0; padding: 16px; border-radius: 16px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border); }
.bl-person__facts b { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--wp--preset--color--contrast); }
.bl-person__facts span { font-size: .85rem; color: var(--wp--preset--color--text-muted); }
.bl-person__lang { font-size: .9rem; color: var(--wp--preset--color--text-muted); margin: 0 0 28px; }
.bl-person__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-person__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--border-strong); transition: border-color .2s, transform .2s var(--bl-spring), background .2s; }
.bl-person__btn:hover { border-color: var(--wp--preset--color--accent); transform: translateY(-2px); }
.bl-person__btn--primary { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #0a0a0a; }
.bl-person__btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 860px) {
	.bl-person__in { grid-template-columns: 1fr; }
	.bl-person__media { max-width: 420px; }
	.bl-person__facts li { padding: 12px; }
	.bl-person__facts b { font-size: 1.2rem; }
}
/* Kompakte Karte (z. B. Startseite) */
.bl-pmini { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; padding: 12px 18px 12px 12px; border-radius: 20px; background: color-mix(in srgb, var(--wp--preset--color--surface-1) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-lift); text-decoration: none; transition: transform .25s var(--bl-spring), border-color .2s; box-sizing: border-box; }
.bl-pmini:hover { transform: translateY(-3px); border-color: var(--wp--preset--color--accent); }
.bl-pmini .bl-pmini__img { width: 58px; height: 58px; max-width: none; border-radius: 16px; object-fit: cover; object-position: 50% 18%; flex: 0 0 auto; outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; margin: 0; }
.bl-pmini__txt { display: block; min-width: 0; }
.bl-pmini__txt small { display: block; font-family: var(--wp--preset--font-family--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin-bottom: 3px; }
html[data-theme="light"] .bl-pmini__txt small { color: var(--wp--preset--color--text-muted); }
.bl-pmini__txt b { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--wp--preset--color--contrast); }
.bl-pmini__txt span { display: block; font-size: .82rem; color: var(--wp--preset--color--text-muted); }
.bl-pmini .bl-pmini__arrow { margin-left: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--accent); color: #0a0a0a; flex: 0 0 auto; }
.bl-pmini .bl-pmini__arrow svg { width: 16px; height: 16px; }
@media (min-width: 782px) {
	:where(.wp-block-column, .wp-block-group):has(> .bl-pmini--float) { position: relative; }
	.bl-pmini--float { position: absolute; left: -22px; top: -26px; z-index: 3; margin: 0 !important; }
}
@media (max-width: 781px) { .bl-pmini--float { margin-bottom: 16px !important; } }

/* Karte neben dem Kontaktformular */
.bl-pcontact { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-card); }
.bl-pcontact .bl-pcontact__img { width: 72px; height: 72px; max-width: none; border-radius: 18px; object-fit: cover; object-position: 50% 18%; flex: 0 0 auto; outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; margin: 0; }
.bl-pcontact__body p { margin: 0; }
.bl-pcontact .bl-pcontact__title { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--wp--preset--color--contrast); margin-bottom: 2px; }
.bl-pcontact__name { font-size: .9rem; color: var(--wp--preset--color--text-muted); }
.bl-pcontact__name b { color: var(--wp--preset--color--contrast); font-weight: 600; }
.bl-pcontact .bl-pcontact__text { font-size: .88rem; color: var(--wp--preset--color--text-muted); margin-top: 6px; line-height: 1.5; }
.bl-pcontact { margin-block-end: 28px; }
.bl-person__facts span { display: block; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 520px) {
	.bl-person__facts { gap: 8px; }
	.bl-person__facts li { padding: 12px 10px; }
	.bl-person__facts span { font-size: .76rem; }
	.bl-person__btn { padding: 12px 18px; }
}
/* Porträt mit Namensleiste darunter (kompakte Karte „inset“) */
:where(.wp-block-column, .wp-block-group):has(> .bl-pmini--inset) { position: relative; }
:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed { margin: 0; border-radius: 28px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border); box-shadow: var(--bl-shadow-lift); }
:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed img { aspect-ratio: 4 / 4.2; object-position: 50% 14%; border: 0; border-radius: 27px 27px 0 0; box-shadow: none; display: block; }
:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption { position: static; max-width: none; margin: 0; padding: 18px 22px 20px; background: none; box-shadow: none; border-radius: 0 0 27px 27px; color: var(--wp--preset--color--text-muted); font-family: inherit; font-weight: 500; font-size: .86rem; padding-right: 240px; min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption strong { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; margin: 0; }
html[data-theme="light"] :where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption strong { color: var(--wp--preset--color--contrast); }
.bl-pmini--inset { position: absolute; right: 18px; bottom: 16px; z-index: 3; margin: 0 !important; padding: 8px 8px 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: right; }
.bl-pmini--inset:hover { transform: none; }
.bl-pmini--inset:hover .bl-pmini__arrow { transform: translateX(3px); }
.bl-pmini--inset .bl-pmini__arrow { transition: transform .25s var(--bl-spring); width: 30px; height: 30px; }
.bl-pmini--inset .bl-pmini__img, .bl-pmini--inset .bl-pmini__txt small { display: none; }
.bl-pmini--inset .bl-pmini__txt b { font-size: 1rem; }
.bl-pmini--inset .bl-pmini__txt span { font-size: .8rem; }
@media (max-width: 600px) {
	:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption { padding: 14px 176px 16px 18px; font-size: .78rem; min-height: 58px; }
	:where(.wp-block-column):has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption strong { font-size: 1.15rem; }
	.bl-pmini--inset { right: 12px; bottom: 12px; gap: 10px; }
	.bl-pmini--inset .bl-pmini__txt b { font-size: .9rem; }
	.bl-pmini--inset .bl-pmini__txt span { font-size: .74rem; }
	.bl-pmini--inset .bl-pmini__arrow { width: 28px; height: 28px; margin-left: 0; }
}

/* ------------------------------------------------------------------ */
/* Website-Suche                                                       */
/* ------------------------------------------------------------------ */
.bl-searchbtn { width: 44px; height: 44px; }
.bl-search { position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center; align-items: flex-start; padding: clamp(16px, 9vh, 110px) 16px 16px; }
.bl-search[hidden] { display: none; }
.bl-search__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
html[data-theme="light"] .bl-search__backdrop { background: rgba(240,240,236,.7); }
.bl-search__panel { position: relative; width: min(680px, 100%); max-height: min(78vh, 720px); display: flex; flex-direction: column; border-radius: 24px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border-strong); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85); overflow: hidden; transform: translateY(-10px) scale(.985); opacity: 0; transition: transform .22s var(--bl-spring), opacity .18s; }
.bl-search.is-open .bl-search__backdrop, .bl-search.is-open .bl-search__panel { opacity: 1; }
.bl-search.is-open .bl-search__panel { transform: none; }
.bl-search__form { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--wp--preset--color--border); }
.bl-search__form > svg { width: 22px; height: 22px; flex: none; color: var(--wp--preset--color--accent); }
html[data-theme="light"] .bl-search__form > svg { color: var(--wp--preset--color--contrast); }
.bl-search.is-loading .bl-search__form > svg { animation: blPulse 1s ease-in-out infinite; }
@keyframes blPulse { 50% { opacity: .35; } }
.bl-search .bl-search__input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; outline: none; padding: 8px 0 !important; font: 500 1.15rem/1.3 var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); }
.bl-search__input::-webkit-search-cancel-button { display: none; }
.bl-search__close { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-2); color: var(--wp--preset--color--text-muted); border-radius: 10px; padding: 6px 8px; cursor: pointer; }
.bl-search__close svg { width: 16px; height: 16px; display: none; }
.bl-search kbd { font: 600 .7rem/1 var(--wp--preset--font-family--mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--surface-2); color: var(--wp--preset--color--text-muted); }
.bl-search__close kbd { border: 0; background: none; padding: 0; }
.bl-search__body { overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.bl-search__results { list-style: none; margin: 0; padding: 0; }
.bl-search__item { margin: 0; }
.bl-search__item a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.bl-search__item.is-active a { background: var(--wp--preset--color--surface-2); border-color: var(--wp--preset--color--border); }
.bl-search__title { grid-column: 1; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1rem; color: var(--wp--preset--color--contrast); }
.bl-search__type { grid-column: 2; grid-row: 1; align-self: center; font: 600 .66rem/1 var(--wp--preset--font-family--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-search__snip { grid-column: 1 / -1; font-size: .86rem; line-height: 1.5; color: var(--wp--preset--color--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-search mark, .bl-sresults mark { background: color-mix(in srgb, var(--wp--preset--color--accent) 32%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
html[data-theme="light"] .bl-search mark, html[data-theme="light"] .bl-sresults mark { background: var(--wp--preset--color--accent); }
.bl-search__status { margin: 0; padding: 4px 14px 10px; font-size: .86rem; color: var(--wp--preset--color--text-muted); }
.bl-search__status:empty { display: none; }
.bl-search__suggest { padding: 8px 14px 14px; }
.bl-search__label { margin: 0 0 10px; font: 600 .68rem/1 var(--wp--preset--font-family--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-search__chip { cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-2); color: var(--wp--preset--color--contrast); font: 600 .84rem/1 var(--wp--preset--font-family--body); transition: border-color .2s; }
.bl-search__chip:hover, .bl-search__chip:focus-visible { border-color: var(--wp--preset--color--accent); }
.bl-search__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--wp--preset--color--border); font-size: .78rem; color: var(--wp--preset--color--text-faint); }
.bl-search__foot span { display: inline-flex; align-items: center; gap: 4px; }
html.bl-search-open { overflow: hidden; }
@media (max-width: 600px) {
	.bl-search { padding: 0; align-items: stretch; }
	.bl-search__panel { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; }
	.bl-search__foot { display: none; }
	.bl-search__close kbd { display: none; }
	.bl-search__close svg { display: block; }
	.bl-search .bl-search__input { font-size: 1.05rem; }
}

/* Ergebnisseite */
.bl-sresults { max-width: 820px; margin: 0 auto; }
.bl-sresults__form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border-strong); margin-bottom: 28px; }
.bl-sresults__form svg { width: 20px; height: 20px; flex: none; color: var(--wp--preset--color--text-muted); }
.bl-sresults__form input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; padding: 10px 0 !important; font-size: 1.05rem; color: var(--wp--preset--color--contrast); outline: none; }
.bl-sresults__count, .bl-sresults__none { color: var(--wp--preset--color--text-muted); }
.bl-sresults__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bl-sresults__item { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--preset--color--border); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--bl-spring); }
.bl-sresults__item:hover { border-color: var(--wp--preset--color--accent); transform: translateY(-2px); }
.bl-sresults__type { font: 600 .66rem/1 var(--wp--preset--font-family--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-sresults__title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.15rem; color: var(--wp--preset--color--contrast); }
.bl-sresults__snip { font-size: .92rem; color: var(--wp--preset--color--text-muted); line-height: 1.55; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.bl-booking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--wp--preset--color--border); }
.bl-booking__text { color: var(--wp--preset--color--text-muted); font-size: .95rem; }
@media (max-width: 960px) { .bl-searchbtn { width: 48px; height: 48px; background: var(--wp--preset--color--surface-2); } }

/* Links im Beitragstext deutlich erkennbar */
.single-post .wp-block-post-content :is(p, li) a:not(.wp-element-button) {
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.single-post .wp-block-post-content :is(p, li) a:not(.wp-element-button):hover {
	text-decoration-thickness: 3px;
}

/* Neueste Beiträge */
.bl-latest { padding: 0 var(--wp--style--root--padding-right, 24px) var(--wp--preset--spacing--60) var(--wp--style--root--padding-left, 24px); }
.bl-latest__in { max-width: var(--wp--style--global--wide-size, 1200px); margin-inline: auto; }
.bl-latest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--wp--preset--spacing--50); }
.bl-latest__head h2 { margin: 0; }
.bl-latest__head .bl-eyebrow { margin-bottom: .9rem; }
.bl-latest__all { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-weight: 600; color: var(--wp--preset--color--contrast); text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--accent); padding-bottom: 3px; }
.bl-latest__all svg { width: 18px; height: 18px; transition: transform .3s var(--bl-ease); }
.bl-latest__all:hover svg, .bl-latest__card:hover .bl-latest__more svg { transform: translateX(4px); }
.bl-latest__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30, 24px); }
.bl-latest__grid--1 { grid-template-columns: minmax(0, 1fr); }
.bl-latest__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-latest__item { margin: 0; display: flex; }
.bl-latest__card { display: flex; flex-direction: column; width: 100%; }
.bl-latest__media { display: block; position: relative; overflow: hidden; border-bottom: 1px solid var(--wp--preset--color--border); }
.bl-latest__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--bl-ease); }
.bl-latest__card:hover .bl-latest__img { transform: scale(1.04); }
.bl-latest__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.bl-latest__date { font-family: var(--wp--preset--font-family--mono); font-size: .719rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--text-faint); }
.bl-latest__title { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.bl-latest__title a { color: inherit; text-decoration: none; }
.bl-latest__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.bl-latest__title a:focus-visible { outline: none; }
.bl-latest__card:has(.bl-latest__title a:focus-visible) { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.bl-latest__ex { margin: 0; color: var(--wp--preset--color--text-muted); font-size: .95rem; line-height: 1.6; }
.bl-latest__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--wp--preset--color--contrast); }
.bl-latest__more svg { width: 16px; height: 16px; color: var(--wp--preset--color--accent); transition: transform .3s var(--bl-ease); }
html[data-theme="light"] .bl-latest__more svg { color: var(--wp--preset--color--contrast); }
/* Ein einzelner Beitrag: Bild links, Text rechts */
.bl-latest__grid--1 .bl-latest__card { flex-direction: row; }
.bl-latest__grid--1 .bl-latest__media { flex: 0 0 52%; border-bottom: 0; border-right: 1px solid var(--wp--preset--color--border); }
.bl-latest__grid--1 .bl-latest__img { height: 100%; }
.bl-latest__grid--1 .bl-latest__body { justify-content: center; padding: 36px 40px; }
.bl-latest__grid--1 .bl-latest__title { font-size: 1.6rem; }
@media (max-width: 960px) {
	.bl-latest__grid, .bl-latest__grid--2 { grid-template-columns: minmax(0, 1fr); }
	.bl-latest__grid--1 .bl-latest__card { flex-direction: column; }
	.bl-latest__grid--1 .bl-latest__media { border-right: 0; border-bottom: 1px solid var(--wp--preset--color--border); }
	.bl-latest__grid--1 .bl-latest__body { padding: 24px 26px 26px; }
	.bl-latest__grid--1 .bl-latest__title { font-size: 1.25rem; }
}
@media (max-width: 600px) {
	.bl-latest__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Porträt-Karte kompakt: kleiner, mittig, Name unter dem Text */
.wp-block-column:has(> .bl-pmini--inset) { max-width: 360px; margin-inline: auto !important; width: 100%; }
.wp-block-column:has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed img { aspect-ratio: 1 / 1; object-position: 50% 16%; }
.wp-block-column:has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption { padding: 16px 20px 82px; min-height: 0; font-size: .82rem; line-height: 1.45; }
.wp-block-column:has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption strong { font-size: 1.2rem; }
.bl-pmini--inset { left: 20px; right: 20px; bottom: 14px; width: auto; justify-content: space-between; text-align: left; padding: 12px 0 0; border-top: 1px solid var(--wp--preset--color--border); }
@media (max-width: 600px) {
	.wp-block-column:has(> .bl-pmini--inset) { max-width: 270px; }
	.wp-block-column:has(> .bl-pmini--inset) .wp-block-image.is-style-bl-framed figcaption { padding: 14px 18px 76px; font-size: .78rem; min-height: 0; }
	.bl-pmini--inset { left: 18px; right: 18px; bottom: 12px; }
}
