/*
Theme Name: BSvH Rechtsanwälte
Theme URI: https://kanzlei-bsvh.de
Author: Bafteh Schönbrunn van Hattem Rechtsanwälte
Description: Eigenes Block-Theme für kanzlei-bsvh.de im vertrauten Stil: zentriertes Logo, gesperrte Großschrift, Stuckdecke als Leitmotiv, Bildbänder auf den Unterseiten. Ohne Page-Builder, Schrift selbst gehostet.
Version: 0.8.61
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietär – nur für kanzlei-bsvh.de
Text Domain: bsvh
*/

/* ============================================================
   Grundlagen
   ============================================================ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * + * { margin-block-start: 0; }
::selection { background: #141414; color: #fff; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 1px solid #141414; outline-offset: 4px; }
.skip-link.screen-reader-text:focus { background: #fff; color: #000; padding: .75rem 1rem; z-index: 100000; }

/* Gesperrte Großschrift – das Erkennungszeichen der Kanzlei */
.bsvh-caps, .bsvh-label, .is-style-eyebrow {
	text-transform: uppercase; letter-spacing: .18em; font-weight: 500;
}
.bsvh-label, .is-style-eyebrow { font-size: 11.5px !important; color: var(--wp--preset--color--muted); line-height: 1.5; }

/* Abschnittstitel wie auf der bisherigen Seite: zentriert, ruhig */
.bsvh-section-title { font-size: 24px !important; font-weight: 400; letter-spacing: .045em; line-height: 1.25; text-align: center; margin: 0; color: #1b1b1b; }
.bsvh-section-intro { text-align: center; max-width: 50rem; margin-left: auto !important; margin-right: auto !important; color: #5e5e5e; font-size: 18px; line-height: 1.5; }

/* Feine Linie unter Abschnittstiteln */
.bsvh-rule { width: 48px; height: 1px; background: var(--wp--preset--color--contrast); margin: 1.4rem auto 0 !important; border: 0; }

/* Textlinks in Großschrift */
.bsvh-link a, a.bsvh-link { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.bsvh-link a:hover { color: var(--wp--preset--color--muted); }

/* Konturbutton */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid currentColor; background: transparent; padding: calc(1.05rem - 1px) calc(2rem - 1px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: #fff; border-color: var(--wp--preset--color--contrast); }

/* ============================================================
   Kopfzeile – zentriert wie bisher
   ============================================================ */
.bsvh-header { position: relative; background: #fff; z-index: 30; }
.bsvh-header .bsvh-logo { margin: 0 auto !important; }
.bsvh-header .bsvh-logo img { display: block; height: auto; max-width: min(230px, 64vw); }
.bsvh-header .wp-block-navigation { font-size: 16px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 1100px) { .bsvh-header .wp-block-navigation { font-size: 14px; letter-spacing: .16em; } }
.bsvh-header .wp-block-navigation .wp-block-navigation-item__content { padding-bottom: 6px; border-bottom: 1px solid transparent; }
.bsvh-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.bsvh-header .wp-block-navigation .wp-block-navigation-item__content:hover { border-bottom-color: currentColor; }
.bsvh-header .wp-block-navigation__submenu-container {
	border: 0 !important; box-shadow: 0 18px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
	padding: .8rem 0 !important; min-width: 280px !important; margin-top: 0 !important;
	text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 400;
}
/* Unsichtbare Brücke zwischen Menüpunkt und Untermenü, damit es beim Hinüberfahren offen bleibt */
.bsvh-header .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.bsvh-header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
.bsvh-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container { visibility: visible; opacity: 1; width: auto; height: auto; overflow: visible; min-width: 280px; }
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1.5rem !important; border: 0 !important; }
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--soft); }
.bsvh-topline { font-size: 11.5px; letter-spacing: .12em; color: var(--wp--preset--color--muted); display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; margin: 0 auto !important; }
.bsvh-lang { display: inline-flex; gap: .15rem; font-weight: 600; }
.bsvh-lang > * { padding: .15rem .35rem; }
.bsvh-lang span[aria-current] { color: #1b1b1b; border-bottom: 1px solid #1b1b1b; }
.bsvh-lang a { color: #8a8a8a !important; font-weight: 600; }
.bsvh-lang a:hover { color: #1b1b1b !important; }
.bsvh-topline a { text-decoration: none; color: var(--wp--preset--color--contrast); font-weight: 600; }

/* Mobiles Menü */
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 1.75rem 2rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: center !important; padding-top: 3.5rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: center !important; gap: 1.4rem !important; font-size: 13px; letter-spacing: .2em; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: center !important; text-align: center; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: .9rem 0 .3rem !important; gap: .7rem !important; text-transform: none; letter-spacing: .02em; font-size: 15px; }

/* ============================================================
   Startseite – Stuckdecke
   ============================================================ */
.bsvh-stuck { position: relative; overflow: hidden; background: #d9d9d9; }
.wp-block-group .bsvh-stuck.alignwide { max-width: 1232px !important; margin-left: auto !important; margin-right: auto !important; }
.bsvh-stuck img.bsvh-stuck__img { display: block; width: 100%; height: auto; aspect-ratio: 1232 / 500; min-height: 340px; object-fit: cover; object-position: 50% 50%; } /* Ausschnitt und Format wie auf der bisherigen Website (1232 × 500, mittig) */
.bsvh-stuck__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
	background: rgba(243,243,243,.8);
	display: flex; flex-direction: column; justify-content: center; padding: 40px;
}
.bsvh-stuck__kicker { font-size: 18px; letter-spacing: .125em; text-transform: uppercase; line-height: 1.25; margin: 0 0 1rem; color: #000; }
.bsvh-stuck__title { font-size: 24px; font-weight: 400; letter-spacing: .125em; text-transform: uppercase; line-height: 1.25; margin: 0; color: #000; }
.bsvh-stuck__links { margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.bsvh-stuck__links a { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #141414; border-bottom: 1px solid #141414; padding-bottom: 3px; }
.bsvh-stuck__links a:hover { color: #555; border-color: #555; }
@media (max-width: 781px) {
	.bsvh-stuck img.bsvh-stuck__img { aspect-ratio: auto; height: 300px; min-height: 0; object-position: 50% 50%; }
	.bsvh-stuck__panel { position: static; width: auto; background: #fff; backdrop-filter: none; padding: 2rem 0 0; text-align: center; align-items: center; }
	.bsvh-stuck__links { justify-content: center; }
}

/* Rechtsgebiete als Bildkacheln */
.bsvh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bsvh-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #222; text-decoration: none; }
.bsvh-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s ease, opacity .4s ease; opacity: .72; }
.bsvh-tile span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }
.bsvh-tile:hover img { transform: scale(1.04); opacity: .55; }
.bsvh-tile.is-light { background: var(--wp--preset--color--soft); }
.bsvh-tile.is-light span { color: #141414; flex-direction: column; gap: .8rem; }
.bsvh-tile.is-light small { font-size: 13px; letter-spacing: .02em; text-transform: none; font-weight: 400; color: #555; max-width: 15rem; }
@media (max-width: 1000px) { .bsvh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .bsvh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .bsvh-tile span { font-size: 11px; letter-spacing: .14em; } }

/* Team */
.bsvh-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.bsvh-person { text-align: center; text-decoration: none; color: inherit; display: block; }
.bsvh-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: grayscale(1); margin-bottom: 1.25rem; transition: opacity .3s ease; }
.bsvh-person:hover img { opacity: .88; }
.bsvh-person strong { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: .03em; }
.bsvh-person em { display: block; font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-top: .4rem; }
.bsvh-person small { display: block; font-size: 13px; color: var(--wp--preset--color--muted); margin-top: .5rem; line-height: 1.55; }
@media (max-width: 900px) { .bsvh-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Beitragskarten */
.bsvh-post-card { text-align: left; }
.bsvh-post-card .wp-block-post-featured-image { margin: 0 0 1.25rem; overflow: hidden; }
.bsvh-post-card .wp-block-post-featured-image img { filter: grayscale(1); aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease; }
.bsvh-post-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.bsvh-post-card .wp-block-post-terms, .bsvh-post-card .wp-block-post-date { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.bsvh-post-card .wp-block-post-terms a { text-decoration: none; color: inherit; }
.bsvh-post-card .wp-block-post-title { font-size: 1.125rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em; margin: .6rem 0 0; }
.bsvh-post-card .wp-block-post-title a { text-decoration: none; }
.bsvh-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--muted); }
.bsvh-post-card .wp-block-post-excerpt { font-size: .875rem; line-height: 1.65; color: var(--wp--preset--color--muted); margin-top: .5rem; }
.bsvh-post-card .wp-block-post-excerpt__excerpt { margin: 0; }
.bsvh-post-card .wp-block-post-excerpt__more-link { display: none; }
.bsvh-ph a { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: #ececec; position: relative; text-decoration: none; }
.bsvh-ph a::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(0,0,0,.12); }
.bsvh-ph span { position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #141414; }

/* Kontakt-Band */
.bsvh-cta .wp-block-buttons { justify-content: center; }

/* ============================================================
   Unterseiten: Bildband mit Titel
   ============================================================ */
.bsvh-banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(190px, 19vw, 280px); background: #3a3a3a center / cover no-repeat; text-align: center; padding: 3rem 1.5rem; }
.bsvh-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.34); }
.bsvh-banner { width: 100%; max-width: var(--wp--style--global--wide-size); margin-inline: auto; box-sizing: border-box; }
.bsvh-banner.is-content { max-width: var(--wp--style--global--content-size); }
.bsvh-banner.is-content h1 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.bsvh-banner::before { z-index: 1; }
.bsvh-banner.is-stuck::before { background: rgba(255,255,255,.18); }
.bsvh-banner h1 { z-index: 2; }
.bsvh-banner.is-stuck h1 { background: rgba(255,255,255,.74); padding: .95em 2.2em .95em 2.5em; font-size: clamp(.9375rem, 1.3vw, 1.125rem) !important; letter-spacing: .3em; font-weight: 400; }
.bsvh-banner h1 { position: relative; margin: 0; color: #fff; font-size: clamp(1.375rem, 2.6vw, 2.125rem); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; max-width: 60rem; }
.bsvh-banner.is-stuck h1 { color: #141414; }
.bsvh-banner .bsvh-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.bsvh-breadcrumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.bsvh-breadcrumbs a { color: inherit; text-decoration: none; }
.bsvh-breadcrumbs a:hover { color: var(--wp--preset--color--contrast); }
.bsvh-breadcrumbs .sep { margin: 0 .7em; opacity: .5; }

/* Beitragskopf */
.bsvh-post-head { text-align: center; }
.bsvh-post-head .wp-block-post-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; letter-spacing: .01em; line-height: 1.25; text-transform: none; max-width: 22ch; margin-left: auto; margin-right: auto; }
.bsvh-post-head .wp-block-post-terms, .bsvh-post-head .wp-block-post-date { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.bsvh-post-head .wp-block-post-terms a { text-decoration: none; color: inherit; }
.bsvh-single-hero img { filter: grayscale(1); width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* Lesetext */
.bsvh-prose { font-size: 1.125rem; line-height: 1.75; }
.bsvh-prose :where(p, li) { hyphens: auto; -webkit-hyphens: auto; }
.bsvh-prose h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: .03em; margin-top: 4.75rem; margin-bottom: 0; }
.bsvh-prose h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: .02em; margin-top: 3.25rem; margin-bottom: 0; }
.bsvh-prose > :is(h2, h3) + *, .bsvh-prose :is(h2, h3) + :is(p, ul, ol) { margin-block-start: .7rem; }
.bsvh-prose > p + p { margin-block-start: 1.35rem; }
.bsvh-prose > .bsvh-toc:first-child + h2, .bsvh-prose > :first-child { margin-top: 0; }
.bsvh-prose a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.bsvh-prose ul, .bsvh-prose ol { padding-left: 1.2rem; }
.bsvh-prose li { margin: .3rem 0; }
.bsvh-prose li::marker { color: #9a9a9a; }
.bsvh-prose strong { font-weight: 600; color: #141414; }
.bsvh-prose .wp-block-image img { height: auto; }
.bsvh-prose .wp-block-image.alignright { margin: .4rem 0 1.5rem 2.5rem; }
.bsvh-prose .wp-block-image.alignright img, .bsvh-prose .wp-block-image img { filter: grayscale(1); }
.bsvh-prose .wp-block-quote { margin: 3rem 0; }
.bsvh-prose .wp-block-quote p { font-size: inherit; }
.bsvh-prose .wp-block-quote cite { display: block; margin-top: 1rem; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--muted); font-style: normal; }
.bsvh-prose .wp-block-details { border-top: 1px solid var(--wp--preset--color--line); padding: 1.15rem 0; margin: 0; }
.bsvh-prose .wp-block-details:last-of-type { border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-prose .wp-block-details summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 2rem; }
.bsvh-prose .wp-block-details summary::-webkit-details-marker { display: none; }
.bsvh-prose .wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: -.15rem; font-size: 1.4rem; font-weight: 300; }
.bsvh-prose .wp-block-details[open] summary::after { content: "–"; }
.bsvh-prose .wp-block-details[open] summary { margin-bottom: .75rem; }
.bsvh-prose .wp-block-separator { margin: 3rem auto; }
.bsvh-prose .wp-block-buttons { margin: 2rem 0; }
@media (max-width: 600px) {
	.bsvh-prose .wp-block-image.alignright { float: none; margin: 1rem 0 1.5rem; }
	.bsvh-prose .wp-block-image.alignright img { width: 100% !important; max-width: 320px; }
}

/* Kategorie-Navigation */
.bsvh-catnav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; }
.bsvh-catnav a { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.bsvh-catnav a:hover, .bsvh-catnav a[aria-current] { color: var(--wp--preset--color--contrast); border-bottom-color: currentColor; }

/* Pagination */
.wp-block-query-pagination { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.5rem; }
.wp-block-query-pagination a { text-decoration: none; }
.wp-block-query-pagination-numbers .page-numbers { padding: 0 .6rem; }
.wp-block-query-pagination-numbers .current { border-bottom: 1px solid currentColor; }

/* ============================================================
   Fußzeile
   ============================================================ */
.bsvh-footer { text-align: center; }
.bsvh-footer a { text-decoration: none; }
.bsvh-footer a:hover { color: var(--wp--preset--color--muted); }
.bsvh-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-footer-nav--sites { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--wp--preset--color--line); font-weight: 500; color: var(--wp--preset--color--muted); }
.bsvh-footer-nav--sites a { color: inherit; }

/* Schnellkontakt-Leiste (mobil) */
.bsvh-mobile-bar { display: none; }
@media (max-width: 781px) {
	.bsvh-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #141414; }
	.bsvh-mobile-bar a { flex: 1; text-align: center; padding: 1rem .5rem; color: #fff; text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
	.bsvh-mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.18); }
	body { padding-bottom: 50px; }
	.bsvh-topline__tel, .bsvh-topline__portal { display: none !important; }
	.bsvh-topline { justify-content: flex-end; }
}
.bsvh-header .wp-block-navigation .bsvh-nav-mobileonly { display: none !important; }
.bsvh-header .wp-block-navigation__responsive-container.is-menu-open .bsvh-nav-mobileonly { display: flex !important; }
html.has-modal-open .bsvh-mobile-bar { display: none; }

/* Überschriften: lange Wörter mobil trennen */
@media (max-width: 600px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }

/* Inhaltsverzeichnis */
.bsvh-toc { margin: 2rem 0 2.5rem; padding: 1.25rem 1.5rem; background: var(--wp--preset--color--soft); font-size: .875rem; }
.bsvh-toc__title { margin: 0 0 .75rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-toc ol { margin: 0; padding-left: 1.25rem; }
.bsvh-toc li { margin: .3rem 0; padding-left: .25rem; }
.bsvh-toc a { color: var(--wp--preset--color--text); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-toc a:hover { color: var(--wp--preset--color--contrast); border-color: currentColor; }
.bsvh-prose h2[id], .bsvh-prose h3[id] { scroll-margin-top: 1.5rem; }

/* Kontaktseite (0.8.45): Formular links, Kanzleidaten rechts, Karte darunter – angelehnt an die bisherige Seite */
.bsvh-kp.alignwide { max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; }
.bsvh-map.alignwide { max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; }
body:has(.bsvh-prose--kontakt) .bsvh-breadcrumbs, .bsvh-prose--kontakt + .bsvh-portal, body:has(.bsvh-prose--kontakt) main .bsvh-portal { max-width: 1100px !important; }
.bsvh-kp { gap: clamp(2.5rem, 6vw, 5.5rem) !important; margin: 0 0 1rem !important; align-items: flex-start !important; }
.bsvh-kp > .wp-block-column:first-child { flex-basis: 58% !important; }
.bsvh-kp > .wp-block-column:last-child { flex-basis: 42% !important; }
.bsvh-kp h2 { margin: 0 0 .5rem !important; }
.bsvh-kp__aside > * + * { margin-top: 1.25rem; }
.bsvh-kp__aside p { margin: 0; }
.bsvh-kp__aside h3 { margin: 2rem 0 .6rem !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .18em !important; text-transform: uppercase; }
.bsvh-kp__aside h3:first-of-type { margin-top: 1.75rem !important; }
.bsvh-kp__aside .wp-block-buttons { margin-top: 1.25rem; }
.bsvh-kp__wa .wp-block-button__link { display: inline-flex; align-items: center; gap: .6rem; }
.bsvh-kp__wa .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--bsvh-wa) center / contain no-repeat; mask: var(--bsvh-wa) center / contain no-repeat; }
.bsvh-hours { margin: 0 !important; }
.bsvh-hours table { border-collapse: collapse; width: auto; }
.bsvh-prose .bsvh-hours td, .bsvh-hours td { border: 0 !important; padding: .15rem 2rem .15rem 0; }
.bsvh-hours td:first-child { color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .bsvh-kp > .wp-block-column { flex-basis: 100% !important; } .bsvh-kp__aside { padding-top: 2rem; border-top: 1px solid var(--wp--preset--color--line); } }

/* Kontaktformular: Unterstrich-Felder mit mitlaufender Beschriftung */
.bsvh-kf { margin: 1.25rem 0 0; scroll-margin-top: 1.5rem; }
.bsvh-kf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.bsvh-kf__field { position: relative; margin: 0 0 1.5rem; display: flex; flex-direction: column; }
.bsvh-kf__field--wide { grid-column: 1 / -1; }
.bsvh-kf__req { color: var(--wp--preset--color--muted); font-weight: 400; }
.bsvh-kf input[type=text], .bsvh-kf input[type=email], .bsvh-kf input[type=tel], .bsvh-kf select, .bsvh-kf textarea {
	font: inherit; color: var(--wp--preset--color--contrast); background: transparent; width: 100%; box-sizing: border-box;
	border: 0; border-bottom: 1px solid #b9b9b9; border-radius: 0; padding: 1.45rem 0 .45rem; transition: border-color .15s;
}
.bsvh-kf__field > :is(input, select, textarea) + label { position: absolute; left: 0; top: 1.45rem; margin: 0; pointer-events: none; color: #6e6e6e; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transform-origin: 0 0; transition: transform .15s ease, color .15s ease; }
.bsvh-kf__field > :is(input, select, textarea):focus + label,
.bsvh-kf__field > :is(input, textarea):not(:placeholder-shown) + label,
.bsvh-kf__field > select.has-value + label { transform: translateY(-1.3rem) scale(.78); color: var(--wp--preset--color--contrast); }
.bsvh-kf input::placeholder, .bsvh-kf textarea::placeholder { color: transparent; }
.bsvh-kf select { appearance: none; -webkit-appearance: none; padding-right: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23141414'/%3E%3C/svg%3E") no-repeat right .2rem center; cursor: pointer; }
.bsvh-kf__field--area { margin-top: .5rem; }
.bsvh-kf textarea { border: 1px solid #b9b9b9; padding: 1.9rem .9rem .8rem; resize: vertical; min-height: 10rem; }
.bsvh-kf__field--area > textarea + label { left: .9rem; top: .85rem; }
.bsvh-kf__field--area > textarea:focus + label, .bsvh-kf__field--area > textarea:not(:placeholder-shown) + label { transform: translateY(-.3rem) scale(.78); }
.bsvh-kf :is(input, select, textarea):focus { outline: none; border-color: var(--wp--preset--color--contrast); box-shadow: 0 1px 0 0 var(--wp--preset--color--contrast); }
.bsvh-kf textarea:focus { box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast); }
.bsvh-kf [aria-invalid=true] { border-color: #8a1c1c !important; }
.bsvh-kf__label, .bsvh-kf legend { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--contrast); margin-bottom: .7rem; }
.bsvh-kf__radios { border: 0; padding: 0; margin: .25rem 0 1.75rem; flex-direction: row; flex-wrap: wrap; gap: .4rem 2rem; }
.bsvh-kf__radios legend { width: 100%; padding: 0; }
.bsvh-kf__radios label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; cursor: pointer; }
.bsvh-kf input[type=radio] { appearance: none; -webkit-appearance: none; width: 1rem; height: 1rem; border: 1px solid #8f8f8f; border-radius: 50%; margin: 0; display: grid; place-content: center; }
.bsvh-kf input[type=radio]::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--wp--preset--color--contrast); transform: scale(0); transition: transform .12s; }
.bsvh-kf input[type=radio]:checked::before { transform: scale(1); }
.bsvh-kf input[type=radio]:focus-visible { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 2px; }
.bsvh-kf__hint { display: block; color: var(--wp--preset--color--muted); margin-top: .45rem; line-height: 1.5; }
.bsvh-kf__drop { position: relative; display: block; text-align: center; padding: 1.5rem 1.25rem; border: 1px dashed #a9a9a9; background: var(--wp--preset--color--soft); cursor: pointer; transition: border-color .15s, background .15s; margin: 0; }
.bsvh-kf__drop:hover, .bsvh-kf__drop.is-over { border-color: var(--wp--preset--color--contrast); background: #ececec; }
.bsvh-kf__drop:focus-within { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: 2px; }
.bsvh-kf__drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.bsvh-kf__drop-text strong { font-weight: 600; border-bottom: 1px solid currentColor; }
.bsvh-kf__filelist { list-style: none; margin: .6rem 0 0; padding: 0; }
.bsvh-kf__filelist li { padding: .35rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-kf__filelist li.is-bad, .bsvh-kf__filelist li.is-msg, .bsvh-kf__error { color: #8a1c1c; }
.bsvh-kf__filelist li.is-msg { border: 0; }
.bsvh-kf__error { margin: .45rem 0 0; }
.bsvh-kf__summary { border-left: 2px solid #8a1c1c; background: #faf3f3; padding: .9rem 1.2rem; margin: 0 0 2rem; }
.bsvh-kf__summary p { margin: .2rem 0; }
.bsvh-kf__summary:focus { outline: none; }
.bsvh-kf__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bsvh-kf__legal { line-height: 1.6; color: var(--wp--preset--color--muted); margin: .5rem 0 1.5rem; }
.bsvh-kf__legal p { margin: 0 0 .5rem; }
.bsvh-kf__legal a { color: inherit; }
.bsvh-kf__submit { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; margin: 0; }
.bsvh-kf__submit button { cursor: pointer; border: 0; width: 100%; padding: 1.05rem 1.5rem; background: #141414; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border-radius: 0; transition: background-color .15s; }
.bsvh-kf__submit button:hover, .bsvh-kf__submit button:focus-visible { background: #3a3a3a; }
.bsvh-kf__submit button[disabled] { opacity: .6; cursor: wait; }
.bsvh-kf__req-note { color: var(--wp--preset--color--muted); }
.bsvh-kf--done { padding: 2rem 2.25rem; background: var(--wp--preset--color--soft); border-left: 2px solid var(--wp--preset--color--contrast); }
.bsvh-kf--done:focus { outline: none; }
.bsvh-kf__done-title { font-size: 1.1875rem; margin: 0 0 .5rem; color: var(--wp--preset--color--contrast); }
@media (max-width: 700px) { .bsvh-kf__grid { grid-template-columns: 1fr; } }

/* Karte (nach Einwilligung) */
.bsvh-map { margin: 4rem 0 0; }
.bsvh-map__frame { position: relative; aspect-ratio: 16 / 6; min-height: 320px; background: #ececec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23dedede'/%3E%3C/svg%3E"); }
.bsvh-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.bsvh-map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.5rem; text-align: center; }
.bsvh-map__ph p { margin: 0; max-width: 34rem; color: #4a4a4a; }
.bsvh-map__ph button { font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: #141414; color: #fff; border: 0; padding: .85rem 1.4rem; cursor: pointer; }
.bsvh-map__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: .8rem; color: var(--wp--preset--color--muted); }
.bsvh-map__foot a { color: var(--wp--preset--color--contrast); }
@media (max-width: 700px) { .bsvh-map__frame { aspect-ratio: 4 / 3; min-height: 0; } }

/* WhatsApp-Schaltfläche, dauerhaft sichtbar */
:root { --bsvh-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E"); }
.bsvh-wa { position: fixed; right: 28px; bottom: 28px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease; }
.bsvh-wa:hover, .bsvh-wa:focus-visible { transform: scale(1.07); box-shadow: 0 6px 22px rgba(0,0,0,.3); }
.bsvh-wa:focus-visible { outline: 2px solid #141414; outline-offset: 3px; }
.bsvh-wa svg { width: 30px; height: 30px; fill: currentColor; }
html.has-modal-open .bsvh-wa, html.bsvh-search-open .bsvh-wa { display: none; }
@media (max-width: 781px) { .bsvh-wa { right: 14px; bottom: 64px; width: 52px; height: 52px; } .bsvh-wa svg { width: 28px; height: 28px; } }
@media print { .bsvh-wa { display: none !important; } }

/* Prüfmarkierungen in Entwürfen (Impressum/Datenschutz) – vor Livegang entfernen */
mark.bsvh-todo { background: #fff1b8; color: #5a4a00; padding: .05em .3em; font-size: .875em; }

/* Tabellen im Text */
.bsvh-prose .wp-block-table { margin: 2rem 0; overflow-x: auto; }
.bsvh-prose .wp-block-table table { border-collapse: collapse; width: 100%; font-size: .9375rem; line-height: 1.55; }
.bsvh-prose .wp-block-table :is(table, thead, tbody, tfoot, tr) { border: 0; }
.bsvh-prose .wp-block-table th { border: 0; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--wp--preset--color--contrast); }
.bsvh-prose .wp-block-table td { vertical-align: top; padding: .75rem .75rem .75rem 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-prose .wp-block-table .has-text-align-right { text-align: right; white-space: nowrap; }
.bsvh-prose .bsvh-table td:last-child { font-size: .8125rem; color: var(--wp--preset--color--muted); }
.bsvh-prose .bsvh-table td:last-child a { color: inherit; }
@media (max-width: 700px) { .bsvh-prose .bsvh-table table { font-size: .875rem; } }

/* Lange Wörter und Links auf schmalen Bildschirmen umbrechen */
.bsvh-prose, .bsvh-post-head, .wp-block-post-title { overflow-wrap: break-word; }
.bsvh-prose a { overflow-wrap: anywhere; }
.bsvh-banner h1, .wp-block-post-title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.bsvh-banner h1 { letter-spacing: .1em; font-size: 1.125rem; }
	.bsvh-banner.is-stuck h1 { letter-spacing: .2em; padding: .8em 1.2em .8em 1.4em; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.bsvh-stuck__panel { width: 40%; padding: 32px; }
	.bsvh-stuck__kicker { font-size: 16px; }
	.bsvh-stuck__title { font-size: 21px; }
}

/* ============================================================
   Schlichte Seiten (Rechtsanwälte, Rechtsgebiete, Impressum, Datenschutz)
   ============================================================ */
.bsvh-schlicht__title { text-align: center; font-size: 24px !important; font-weight: 400; letter-spacing: .125em; text-transform: uppercase; line-height: 1.3; margin: 0; color: #1b1b1b; }
.bsvh-schlicht .bsvh-intro { margin-top: 2rem !important; text-align: center; max-width: 40rem; margin-inline: auto; color: #5e5e5e; font-size: 1.0625rem; line-height: 1.7; }
@media (max-width: 600px) { .bsvh-schlicht__title { font-size: 19px !important; letter-spacing: .1em; } }

/* Anwaltskarten */
.bsvh-lawyers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 3rem !important; margin-bottom: 0 !important; }
.bsvh-lawyer { display: flex; flex-direction: column; background: #f3f3f3; color: #1b1b1b; text-decoration: none; transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease; }
.bsvh-lawyer__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.bsvh-lawyer__img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s ease; }
.bsvh-lawyer__body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; padding: 1.6rem 1.25rem 1.5rem; }
.bsvh-lawyer__name, .bsvh-area__text strong { color: inherit !important; }
.bsvh-lawyers, .bsvh-areas, .bsvh-lawyers *, .bsvh-areas * { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.bsvh-schlicht__rule { margin-top: 1.4rem !important; }
.bsvh-lawyer__name { font-size: 17px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; }
.bsvh-lawyer__role { margin-top: .5rem; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #6b6b6b; line-height: 1.5; }
.bsvh-lawyer__areas { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.1rem; padding-top: 1.1rem; position: relative; font-size: 14px; line-height: 1.45; color: #444; }
.bsvh-lawyer__areas::before { content: ""; position: absolute; top: 0; left: 50%; width: 32px; height: 1px; background: #1b1b1b; transform: translateX(-50%); }
.bsvh-lawyer__more { margin-top: auto; padding-top: 1.5rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #1b1b1b; }
.bsvh-lawyer__more { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease; padding-bottom: 3px; }
.bsvh-lawyer:hover, .bsvh-lawyer:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.09); background: #efefef; }
.bsvh-lawyer:hover .bsvh-lawyer__img img { transform: scale(1.035); }
.bsvh-lawyer:hover .bsvh-lawyer__more { background-size: 100% 1px; }
.bsvh-teamfoto { margin-top: 4.5rem !important; }
.bsvh-teamfoto img { filter: grayscale(1); width: 100%; height: auto; display: block; }
.bsvh-teamfoto figcaption { text-align: center; font-size: 12px; letter-spacing: .08em; color: #6b6b6b; margin-top: .9rem; }
@media (max-width: 1000px) { .bsvh-lawyers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto !important; } }
@media (max-width: 520px) { .bsvh-lawyers { grid-template-columns: 1fr; max-width: 340px; } }

/* Rechtsgebiete-Übersicht */
.bsvh-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 3rem !important; }
.bsvh-area { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1b1b1b; color: #fff; text-decoration: none; }
.bsvh-area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .62; transition: transform .9s ease, opacity .4s ease; }
.bsvh-area::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.0); transition: border-color .4s ease, inset .4s ease; pointer-events: none; }
.bsvh-area__text { text-shadow: 0 1px 10px rgba(0,0,0,.45); position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1.75rem; text-align: center; }
.bsvh-area__text strong { font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.bsvh-area__text strong::after { content: ""; display: block; width: 28px; height: 1px; background: currentColor; margin: .85rem auto 0; opacity: .8; }
.bsvh-area__text small { font-size: 13.5px; line-height: 1.55; max-width: 17rem; opacity: .92; }
.bsvh-area:hover img, .bsvh-area:focus-visible img { transform: scale(1.05); opacity: .42; }
.bsvh-area:hover::after, .bsvh-area:focus-visible::after { border-color: rgba(255,255,255,.55); inset: 12px; }
.bsvh-area.is-light { background: #f3f3f3; color: #1b1b1b; }
.bsvh-area.is-light .bsvh-area__text { text-shadow: none; }
.bsvh-area.is-light small { color: #555; opacity: 1; }
.bsvh-area.is-light em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: .4rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.bsvh-area.is-light:hover::after { border-color: rgba(0,0,0,.25); }
@media (max-width: 900px) { .bsvh-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 560px) {
	.bsvh-areas { grid-template-columns: 1fr; gap: 10px; }
	.bsvh-area { aspect-ratio: 16 / 9; }
	.bsvh-area__text strong { font-size: 14px; }
}

/* Fußzeile: Adressblock */
.bsvh-footer-address { margin-top: 2.5rem !important; line-height: 1.9; }
.bsvh-footer-address p { margin: 0; }
.bsvh-footer-address p + p { margin-top: 1.1rem; }

/* Hinweis-Leiste (Cookies/Datenschutz) */
.bsvh-notice { position: fixed; left: 24px; bottom: 24px; z-index: 60; max-width: 380px; background: #fff; color: #1b1b1b; box-shadow: 0 12px 40px rgba(0,0,0,.16); border-top: 2px solid #1b1b1b; padding: 1.25rem 1.4rem 1.2rem; font-size: 13.5px; line-height: 1.6; transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.bsvh-notice.is-visible { transform: none; opacity: 1; }
.bsvh-notice[hidden] { display: none; }
.bsvh-notice__title { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .45rem; }
.bsvh-notice p { margin: 0; }
.bsvh-notice a { color: inherit; }
.bsvh-notice__actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.bsvh-notice button { font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: #1b1b1b; color: #fff; border: 0; padding: .75rem 1.4rem; cursor: pointer; }
.bsvh-notice button:hover, .bsvh-notice button:focus-visible { background: #444; }
@media (max-width: 781px) { .bsvh-notice { left: 12px; right: 12px; bottom: 62px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .bsvh-notice, .bsvh-lawyer, .bsvh-area img, .bsvh-lawyer__img img { transition: none; } }
.bsvh-schlicht > .wp-block-post-content { margin-top: 3rem !important; }

/* Menü: dritte Ebene (Themen je Rechtsgebiet) als Flyout rechts */
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { top: -.8rem !important; left: 100% !important; margin-left: 0 !important; min-width: 300px !important; }
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before { top: 0; bottom: 0; left: -10px; right: auto; width: 10px; height: auto; }
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation-submenu__toggle { padding-right: 1.25rem; }
.bsvh-header .wp-block-navigation__submenu-container .has-child > .wp-block-navigation-item__content { padding-right: 2.25rem !important; }
.bsvh-header .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { display: none !important; }
.bsvh-header .wp-block-navigation__submenu-container .has-child { position: relative; }
.bsvh-header .wp-block-navigation__submenu-container .has-child > .wp-block-navigation-item__content::after { content: "›"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-52%); font-size: 18px; line-height: 1; color: #777; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { display: none !important; }

/* Suche (Lupe) im Menü */
.bsvh-header .bsvh-search { margin: 0; }
.bsvh-header .bsvh-search .wp-block-search__inside-wrapper { border: 0; padding: 0; align-items: center; }
.bsvh-header .bsvh-search .wp-block-search__button { background: transparent !important; color: var(--wp--preset--color--contrast); border: 0; padding: 0 0 6px; margin: 0; min-width: 0; box-shadow: none; }
.bsvh-header .bsvh-search .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }
.bsvh-header .bsvh-search .wp-block-search__input { border: 0; border-bottom: 1px solid currentColor; border-radius: 0; font-size: 14px; letter-spacing: .02em; text-transform: none; padding: 2px 6px 4px; width: 200px; background: transparent; }
.bsvh-header .bsvh-search.wp-block-search__searchfield-hidden .wp-block-search__input { width: 0; padding: 0; border: 0; }
.wp-block-navigation__responsive-container.is-menu-open .bsvh-search .wp-block-search__input { width: 220px !important; padding: 2px 6px 4px !important; border-bottom: 1px solid currentColor !important; }

/* Themenübersicht und „Mehr erfahren“-Links in Bereichsseiten */
.bsvh-subnav { margin: 2.25rem 0 2.75rem; border-top: 1px solid #1b1b1b; }
.bsvh-subnav__group { margin: 1.6rem 0 .2rem !important; font-size: .8125rem; font-weight: 600; color: #6b6b6b; }
.bsvh-subnav__title { margin: 1.1rem 0 .4rem !important; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-subnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.bsvh-subnav li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-subnav a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; font-size: 1rem; line-height: 1.4; text-decoration: none !important; color: #1b1b1b; transition: padding .25s ease, color .25s ease; }
.bsvh-subnav a:hover { padding-left: .4rem; color: #555; }
.bsvh-subnav__arrow { font-size: .9rem; transition: transform .25s ease; }
.bsvh-subnav a:hover .bsvh-subnav__arrow { transform: translateX(3px); }
@media (max-width: 640px) { .bsvh-subnav ul { grid-template-columns: 1fr; } }
.bsvh-prose .bsvh-more { margin-top: .6rem; }
.bsvh-prose .bsvh-more a { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bsvh-prose .bsvh-more a::after { content: " →"; }

/* Inhaltsseiten mit Seitenleiste */
.bsvh-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; column-gap: 56px; justify-content: center; padding-inline: var(--wp--style--root--padding-left, 1.5rem); }
.bsvh-layout__main { min-width: 0; }
.bsvh-layout__main .bsvh-banner.is-content { max-width: 100%; margin-inline: 0; }
.bsvh-layout__main .bsvh-breadcrumbs { margin-top: 2rem; }
.bsvh-layout__main .alignwide, .bsvh-layout__main .alignfull { max-width: 100% !important; margin-inline: 0 !important; }
.bsvh-layout__main .bsvh-prose > * { max-width: 100%; }
.bsvh-layout__side { min-width: 0; }
.bsvh-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.admin-bar .bsvh-side { top: 56px; }
.bsvh-side-toc { background: #f6f6f6; border: 1px solid #e6e6e6; padding: 1.1rem 1.1rem 1rem; font-size: 13.5px; line-height: 1.45; }
.bsvh-side-toc__title { margin: 0 0 .6rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-side-toc ol { list-style: none; margin: 0; padding: 0; max-height: max(140px, calc(100vh - 560px)); overflow: auto; }
.bsvh-side-toc li { margin: 0; }
.bsvh-side-toc a { display: block; padding: .32rem 0 .32rem .7rem; border-left: 2px solid transparent; color: #444; text-decoration: none; }
.bsvh-side-toc a:hover { color: #1b1b1b; border-left-color: #bbb; }
.bsvh-side-toc a[aria-current] { color: #1b1b1b; border-left-color: #1b1b1b; font-weight: 500; }
.bsvh-mini { background: #fff; border: 1px solid #e6e6e6; border-top: 2px solid #1b1b1b; padding: 1.1rem 1.1rem 1rem; font-size: 13.5px; line-height: 1.5; scroll-margin-top: 1.5rem; }
.bsvh-mini__head { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.bsvh-mini__sub { margin: .25rem 0 .8rem; color: #5e5e5e; font-size: 13px; }
.bsvh-mini__form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.bsvh-mini input[type=text], .bsvh-mini input[type=tel], .bsvh-mini select, .bsvh-mini textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; padding: .6rem .7rem; border: 1px solid #cfcfcf; border-radius: 0; background: #fff; color: #1b1b1b; }
.bsvh-mini select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23141414'/%3E%3C/svg%3E") no-repeat right .7rem center; padding-right: 1.8rem; color: #555; }
.bsvh-mini textarea { resize: vertical; min-height: 3.6rem; }
.bsvh-mini input:focus, .bsvh-mini select:focus, .bsvh-mini textarea:focus { outline: 2px solid #1b1b1b; outline-offset: -1px; border-color: #1b1b1b; }
.bsvh-mini button { margin-top: 2px; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: #1b1b1b; color: #fff; border: 0; padding: .85rem 1rem; cursor: pointer; }
.bsvh-mini button:hover, .bsvh-mini button:focus-visible { background: #444; }
.bsvh-mini__legal { margin: .2rem 0 0; font-size: 11.5px; line-height: 1.45; color: #777; }
.bsvh-mini__legal a, .bsvh-mini__tel a { color: inherit; }
.bsvh-mini__tel { margin: .7rem 0 0; font-size: 13px; color: #5e5e5e; }
.bsvh-mini__tel a { color: #1b1b1b; font-weight: 600; text-decoration: none; }
.bsvh-mini__error { margin: 0 0 .6rem; padding: .5rem .7rem; background: #fbeaea; color: #8a1f1f; font-size: 13px; }
.bsvh-mini__done { margin: .6rem 0 0; padding: .7rem .8rem; background: #f3f3f3; font-weight: 500; }
@media (min-width: 1081px) { .bsvh-layout .bsvh-toc--inline { display: none; } }
@media (max-width: 1080px) {
	.bsvh-layout { grid-template-columns: minmax(0, 760px); }
	.bsvh-layout__side { margin-top: 3rem; }
	.bsvh-side { position: static; }
	.bsvh-side-toc { display: none; }
}

.bsvh-mini__form > * { margin: 0 !important; }
.bsvh-layout > * { margin-block: 0 !important; }
@media (max-width: 1080px) { .bsvh-layout > .bsvh-layout__side { margin-top: 3.5rem !important; } }

/* Schlichter Seitentitel (ohne Bild) */
.bsvh-pagehead { text-align: center; padding: clamp(2rem, 4vw, 3.5rem) 0 .5rem; max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.bsvh-pagehead h1 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: .125em; text-transform: uppercase; line-height: 1.3; color: #1b1b1b; }
.bsvh-pagehead .bsvh-rule { margin-top: 1.4rem !important; }
.bsvh-layout__main .bsvh-pagehead { text-align: left; padding-top: 1.5rem; }
.bsvh-layout__main .bsvh-pagehead .bsvh-rule { margin-left: 0 !important; }
@media (max-width: 600px) { .bsvh-pagehead h1 { font-size: 19px; letter-spacing: .1em; } }

/* Ansprechpartner auf Rechtsgebietsseiten */
.bsvh-contacts { margin: 3.5rem 0 2rem; padding-top: 1.1rem; border-top: 1px solid #1b1b1b; display: grid; gap: 14px; }
.bsvh-contacts__title { margin: 0 0 .3rem !important; font-size: 11px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-contact-card { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; background: #f3f3f3; text-decoration: none !important; color: #1b1b1b; transition: background-color .25s ease; }
.bsvh-contact-card:hover { background: #ececec; }
.bsvh-contact-card img { width: 96px; height: 120px; object-fit: cover; filter: grayscale(1); display: block; }
.bsvh-contact-card span { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem .9rem 0; font-size: 14px; line-height: 1.45; }
.bsvh-contact-card strong { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bsvh-contact-card em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; }
.bsvh-contact-card small { font-size: 13px; color: #555; }
.bsvh-contact-card b { margin-top: .3rem; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.bsvh-contact-card b::after { content: " →"; }

/* Anwaltsprofil */
.bsvh-profile-hero { background: #f3f3f3; padding: clamp(2rem, 4vw, 3.5rem) var(--wp--style--root--padding-left, 1.5rem); }
.bsvh-profile-hero__inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.bsvh-profile-hero__img { margin: 0; position: relative; }
.bsvh-profile-hero__img::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid #1b1b1b; z-index: 0; }
.bsvh-profile-hero__img img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.bsvh-profile-hero__role { margin: 0 0 .9rem; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6b6b6b; }
.bsvh-profile-hero h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: #1b1b1b; }
.bsvh-profile-hero .bsvh-rule { margin: 1.4rem 0 0 !important; }
.bsvh-profile-hero__label { margin: 1.6rem 0 .7rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bsvh-chips li { margin: 0; padding: .45rem .85rem; background: #fff; border: 1px solid #ddd; font-size: 14px; line-height: 1.3; }
.bsvh-profile-hero__actions { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bsvh-btn { display: inline-block; padding: .95rem 1.5rem; background: #1b1b1b; color: #fff !important; text-decoration: none !important; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border: 1px solid #1b1b1b; transition: background-color .2s ease, color .2s ease; }
.bsvh-btn:hover { background: #444; border-color: #444; }
.bsvh-btn.is-outline { background: transparent; color: #1b1b1b !important; }
.bsvh-btn.is-outline:hover { background: #1b1b1b; color: #fff !important; }
@media (max-width: 760px) {
	.bsvh-profile-hero__inner { grid-template-columns: 1fr; }
	.bsvh-profile-hero__img { max-width: 300px; margin: 0 auto; }
	.bsvh-profile-hero__text { text-align: center; }
	.bsvh-profile-hero .bsvh-rule { margin-inline: auto !important; }
	.bsvh-chips, .bsvh-profile-hero__actions { justify-content: center; }
}
.bsvh-profile__text > p { font-size: 1.0625rem; line-height: 1.75; color: #1b1b1b; }
.bsvh-profile__text .wp-block-details { margin-top: 0; }
.bsvh-colleagues { margin-top: 4.5rem !important; padding-top: 1.1rem; border-top: 1px solid #1b1b1b; max-width: var(--wp--style--global--wide-size) !important; }
.bsvh-colleagues__title { margin: 0 0 1.2rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-colleagues > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bsvh-colleague { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; background: #f3f3f3; text-decoration: none !important; color: #1b1b1b; }
.bsvh-colleague:hover { background: #ececec; }
.bsvh-colleague img { width: 72px; height: 90px; object-fit: cover; filter: grayscale(1); display: block; }
.bsvh-colleague span { display: flex; flex-direction: column; gap: .2rem; padding-right: .8rem; }
.bsvh-colleague strong { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.bsvh-colleague em { font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; }
@media (max-width: 800px) { .bsvh-colleagues > div { grid-template-columns: 1fr; } }

/* Aufklappbereiche (Vita, FAQ) einheitlich */
.bsvh-prose .wp-block-details { border-top: 1px solid var(--wp--preset--color--line); padding: 0; margin: 0 !important; }
.bsvh-prose .wp-block-details:last-of-type, .bsvh-prose .wp-block-details:has(+ :not(.wp-block-details)) { border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-prose .wp-block-details > summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
.bsvh-prose .wp-block-details > summary::-webkit-details-marker { display: none; }
.bsvh-prose .wp-block-details > summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform .25s ease; }
.bsvh-prose .wp-block-details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.bsvh-prose .wp-block-details > :not(summary) { margin-top: 0; }
.bsvh-prose .wp-block-details[open] { padding-bottom: 1.2rem; }

/* Suche als Einblendung (keine Verschiebung der Seite) */
.bsvh-header .bsvh-search .wp-block-search__input { display: none !important; }
.bsvh-search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.97); display: flex; align-items: flex-start; justify-content: center; padding: 18vh 1.5rem 0; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.bsvh-search-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
.bsvh-search-overlay form { width: min(720px, 100%); }
.bsvh-search-overlay label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.bsvh-search-overlay .bsvh-search-row { display: flex; border-bottom: 2px solid #1b1b1b; }
.bsvh-search-overlay input[type=search] { flex: 1; border: 0; background: transparent; font: inherit; font-size: clamp(22px, 3vw, 32px); padding: .4rem 0; color: #1b1b1b; outline: none; min-width: 0; }
.bsvh-search-overlay button[type=submit] { border: 0; background: transparent; cursor: pointer; padding: 0 .25rem; }
.bsvh-search-overlay button[type=submit] svg { width: 28px; height: 28px; }
.bsvh-search-overlay__close { position: absolute; top: 1.5rem; right: 1.75rem; border: 0; background: transparent; font-size: 34px; line-height: 1; cursor: pointer; color: #1b1b1b; font-weight: 300; }
.bsvh-search-overlay__hint { margin-top: .9rem; font-size: 13px; color: #6b6b6b; }
html.bsvh-search-open { overflow: hidden; }

/* Schnellkontakt: kompakt bei wenig Bildschirmhöhe */
@media (min-width: 1081px) and (max-height: 900px) {
	.bsvh-side { gap: 12px; }
	.bsvh-side-toc { padding: .8rem .9rem; font-size: 13px; }
	.bsvh-side-toc a { padding: .22rem 0 .22rem .6rem; }
	.bsvh-side-toc ol { max-height: max(110px, calc(100vh - 470px)); }
	.bsvh-mini { padding: .85rem .9rem .8rem; }
	.bsvh-mini__head { font-size: 14px; }
	.bsvh-mini__sub { display: none; }
	.bsvh-mini__head { margin-bottom: .6rem; }
	.bsvh-mini__form { gap: 6px; }
	.bsvh-mini input[type=text], .bsvh-mini input[type=tel], .bsvh-mini select, .bsvh-mini textarea { padding: .45rem .6rem; font-size: 13px; }
	.bsvh-mini textarea { min-height: 2.4rem; height: 2.4rem; }
	.bsvh-mini button { padding: .65rem 1rem; }
	.bsvh-mini__legal { font-size: 11px; }
	.bsvh-mini__tel { margin-top: .45rem; }
}
@media (min-width: 1081px) and (max-height: 740px) {
	.bsvh-mini textarea, .bsvh-mini__legal { display: none; }
	.bsvh-side-toc ol { max-height: max(90px, calc(100vh - 400px)); }
}
.bsvh-areapage .bsvh-prose > p:first-of-type { font-size: 1.25rem; line-height: 1.65; color: #1b1b1b; }
.bsvh-areapage .bsvh-prose h2 { margin-top: 4.25rem; }
.bsvh-areapage .bsvh-prose h3 { margin-top: 2.75rem; }

/* Mobil: Logo kleiner */
@media (max-width: 781px) { .bsvh-header .bsvh-logo img { max-width: 170px !important; width: 170px !important; } }

/* Mobiles Menü: Untermenüs per Plus aufklappen (Akkordeon) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .is-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .has-child { flex-direction: column; }
.wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation-item__content { display: inline-flex !important; }
.bsvh-subtoggle { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .bsvh-subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -.35rem 0 0 .35rem; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #1b1b1b; font-size: 18px; line-height: 1; cursor: pointer; vertical-align: middle; }
.wp-block-navigation__responsive-container.is-menu-open .bsvh-subrow { display: flex; align-items: center; justify-content: center; }
.wp-block-navigation__responsive-container.is-menu-open .is-sub-open > .bsvh-subrow .bsvh-subtoggle { transform: rotate(45deg); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { display: none !important; padding-top: .6rem !important; font-size: 14px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .is-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .has-child > .wp-block-navigation-item__content::after { content: none !important; }
.bsvh-header .bsvh-subrow { display: contents; }
.wp-block-navigation__responsive-container.is-menu-open .bsvh-subrow { display: flex; }
.bsvh-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .has-child > .bsvh-subrow > .wp-block-navigation-item__content::after { content: "›"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-52%); font-size: 18px; line-height: 1; color: #777; }
.bsvh-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .has-child > .bsvh-subrow > .wp-block-navigation-item__content { padding-right: 2.25rem !important; flex: 1 1 auto; width: 100%; }

/* Einwilligungs-Einblendung: zwei Schaltflächen */
.bsvh-notice__actions { gap: 8px; flex-wrap: wrap; }
.bsvh-notice button.is-secondary { background: transparent; color: #1b1b1b; border: 1px solid #1b1b1b; }
.bsvh-notice button.is-secondary:hover { background: #f3f3f3; }

/* Bewertungen */
.bsvh-ratings { background: transparent; padding: clamp(1rem, 3vw, 2rem) var(--wp--style--root--padding-left, 1.5rem) clamp(3.5rem, 6vw, 5rem) var(--wp--style--root--padding-left, 1.5rem); text-align: center; margin-top: 1rem; }
.bsvh-ratings__title { font-size: 24px !important; font-weight: 400; letter-spacing: .125em; text-transform: uppercase; margin: 0 auto 2.75rem; color: #1b1b1b; }
.bsvh-ratings__title::after { content: ""; display: block; width: 48px; height: 1px; background: #1b1b1b; margin: 1.4rem auto 0; }
.bsvh-ratings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin: 0 auto; text-align: left; }
.bsvh-ratings.is-single .bsvh-ratings__grid { grid-template-columns: minmax(0, 320px); justify-content: center; }
.bsvh-rating { background: #fff; border: 1px solid #d1d5db; border-radius: 12px; padding: 18px 20px 16px; display: flex; flex-direction: column; align-items: stretch; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bsvh-rating h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #1b1b1b; }
.bsvh-rating__body { flex: 1; width: 100%; display: flex; align-items: center; min-height: 64px; }
.bsvh-rating__slot { width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.bsvh-rating__slot.is-parsed .bsvh-anw-raw { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.bsvh-rating__ph p { margin: 0 0 .75rem; font-size: 13px; color: #4b5563; line-height: 1.5; }
.bsvh-rating__ph .bsvh-btn { cursor: pointer; font-family: inherit; }
.bsvh-rating__actions { margin: 14px 0 0; }
.bsvh-rating .bsvh-btn.is-outline, .bsvh-rating__ph .bsvh-btn { display: inline-block; padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #1b1b1b; line-height: 1.4; }
.bsvh-rating .bsvh-btn.is-outline:hover, .bsvh-rating__ph .bsvh-btn:hover { border-color: #1b1b1b; background: #fff; color: #1b1b1b; }
.bsvh-rating__foot { margin: 10px 0 0; font-size: 11px; color: #6b7280; letter-spacing: 0; }
.bsvh-gr { display: flex; align-items: center; gap: 12px; }
.bsvh-gr__score { font-size: 34px; font-weight: 600; line-height: 1; color: #1b1b1b; min-width: 2.2ch; }
.bsvh-gr__col { display: flex; flex-direction: column; gap: 4px; }
.bsvh-gr__stars { position: relative; display: inline-block; font-size: 19px; letter-spacing: 1px; line-height: 1; }
.bsvh-gr__stars .bg { color: #e5e7eb; }
.bsvh-gr__stars .fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f59e0b; width: 0; }
.bsvh-gr__meta { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #4b5563; }
@media (max-width: 700px) { .bsvh-ratings__grid { grid-template-columns: 1fr; } }

.bsvh-disclaimer { margin-top: var(--wp--preset--spacing--50) !important; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); font-size: .875rem; }

.bsvh-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bsvh-hide-title .bsvh-schlicht__head { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.bsvh-hide-title .bsvh-schlicht > .wp-block-post-content { margin-top: 0 !important; }
.bsvh-hide-title .bsvh-lawyers { margin-top: 1rem !important; }

/* Beitragsliste: Beiträge links, Themen rechts */
.bsvh-bloglayout { display: grid !important; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 56px; max-width: calc(1200px + 2 * var(--wp--style--root--padding-left, 1.5rem)); margin-inline: auto !important; padding-inline: var(--wp--style--root--padding-left, 1.5rem) !important; align-items: start; }
.bsvh-bloglayout > * { max-width: none !important; margin-inline: 0 !important; }
.bsvh-bloglayout > .bsvh-catnav { grid-column: 2; grid-row: 1; position: sticky; top: 24px; margin-top: 0 !important; }
.bsvh-bloglayout > .wp-block-query { grid-column: 1; grid-row: 1; margin-top: 0 !important; }
.bsvh-catnav__title { margin: 0 0 .9rem; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-bottom: .7rem; border-bottom: 1px solid #1b1b1b; }
.bsvh-bloglayout .bsvh-catnav ul { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start; gap: .55rem; }
.bsvh-bloglayout .bsvh-catnav a { letter-spacing: .14em; line-height: 1.5; display: inline-block; }
.bsvh-bloglayout .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { .bsvh-bloglayout .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) {
	.bsvh-bloglayout { grid-template-columns: minmax(0, 1fr); }
	.bsvh-bloglayout > .bsvh-catnav, .bsvh-bloglayout > .wp-block-query { grid-column: 1; grid-row: auto; position: static; }
	.bsvh-bloglayout .bsvh-catnav { margin-bottom: 2rem !important; }
	.bsvh-bloglayout .bsvh-catnav ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 1.2rem; padding-bottom: .5rem; }
	.bsvh-bloglayout .bsvh-catnav a { white-space: nowrap; }
}
@media (max-width: 600px) { .bsvh-bloglayout .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; } }

/* Mandantenportal */
.bsvh-portal { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.25rem; align-items: start; background: #f4f4f4; border-top: 2px solid #1b1b1b; padding: 2rem 2rem 1.75rem; margin: 2.5rem 0; text-align: left; }
.bsvh-portal__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #1b1b1b; }
.bsvh-portal__title { margin: 0 0 .5rem !important; font-size: 13px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-portal__text { margin: 0 !important; font-size: 1rem !important; line-height: 1.65; color: #333; }
.bsvh-portal__actions { margin: 1.25rem 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; }
.bsvh-portal__actions .bsvh-btn { cursor: pointer; font-family: inherit; }
.bsvh-portal__alt { font-size: 12px; color: #6b6b6b !important; }
.bsvh-portal__note { margin: 1rem 0 0 !important; font-size: 11.5px !important; line-height: 1.5; color: #8a8a8a; }
.bsvh-portal__note a { color: inherit !important; }
.bsvh-portal.is-compact { padding: 1.25rem 1.25rem 1.1rem; grid-template-columns: 44px minmax(0, 1fr); }
.bsvh-portal.is-compact .bsvh-portal__icon { width: 44px; height: 44px; }
.bsvh-portal.is-compact .bsvh-portal__text { font-size: .9rem !important; }
@media (max-width: 560px) { .bsvh-portal { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; } }
.bsvh-topline__portal { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; color: #1b1b1b !important; border: 1px solid #1b1b1b; padding: .3rem .6rem; }
.bsvh-topline__portal:hover { background: #1b1b1b; color: #fff !important; }
.bsvh-layout__main + * .bsvh-portal, main > .bsvh-portal { max-width: var(--wp--style--global--content-size); margin-inline: auto; }
.bsvh-legal-note { background: #f4f4f4; padding: .9rem 1.1rem; font-size: .9rem !important; color: #555; }

/* Mandantenportal – direkt eingebettet */
.bsvh-portal-inline { margin: 2rem 0 2.5rem; }
.bsvh-portal-inline__frame { border: 1px solid #e2e2e2; border-top: 2px solid #1b1b1b; border-radius: 0; background: #fff; overflow: hidden; }
.bsvh-portal-inline__frame iframe { display: block; width: 100%; height: min(980px, calc(100vh - 120px)); min-height: 640px; border: 0; background: #fff; }
.bsvh-portal-inline__frame.is-sized iframe { min-height: 0; }
.bsvh-portal-inline__ph { text-align: center; padding: 3rem 1.5rem 2.75rem; background: #f7f7f7; }
.bsvh-portal-inline__ph .bsvh-portal__icon { margin: 0 auto 1rem; }
.bsvh-portal-inline__ph > p:not(.bsvh-portal__title):not(.bsvh-portal__actions) { max-width: 30rem; margin: 0 auto !important; font-size: .95rem; line-height: 1.6; color: #444; }
.bsvh-portal-inline__ph .bsvh-portal__actions { justify-content: center; }
.bsvh-portal-inline > .bsvh-portal__note { text-align: center; }
@media (max-width: 600px) { .bsvh-portal-inline__frame iframe { height: calc(100vh - 140px); min-height: 560px; } }

/* Normzitate & Gesetzestext-Fenster */
a.bsvh-norm { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
a.bsvh-norm:hover, a.bsvh-norm:focus-visible { text-decoration-style: solid; color: #000; }
html.bsvh-nov-open, html.bsvh-nov-open body { overflow: hidden; }
.bsvh-nov { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.bsvh-nov[hidden] { display: none; }
.bsvh-nov__backdrop { position: absolute; inset: 0; background: rgba(20,20,20,.55); }
.bsvh-nov__card { position: relative; background: #fff; width: min(680px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; padding: 2rem 2rem 1.25rem; border-top: 3px solid #1b1b1b; box-shadow: 0 20px 60px rgba(0,0,0,.25); font-family: var(--wp--preset--font-family--body, inherit); }
.bsvh-nov__x { position: absolute; top: .6rem; right: .7rem; width: 38px; height: 38px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #1b1b1b; }
.bsvh-nov__x:hover { background: #f2f2f2; }
.bsvh-nov__law { margin: 0 2.5rem .35rem 0 !important; font-size: 10.5px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6b6b6b; }
.bsvh-nov__h { margin: 0 2.5rem 0 0 !important; font-size: 1.6rem !important; font-weight: 500; letter-spacing: .01em; line-height: 1.25; }
.bsvh-nov__t { margin: .3rem 0 0 !important; font-size: .95rem !important; color: #555; }
.bsvh-nov__body { margin-top: 1.1rem; padding: 1rem 1.1rem 0 0; border-top: 1px solid #e5e5e5; overflow-y: auto; font-size: .95rem; line-height: 1.65; color: #222; overscroll-behavior: contain; }
.bsvh-nov__body:focus { outline: none; }
.bsvh-nov__body .abs { margin: 0 0 .85rem !important; padding: .15rem 0 .15rem .75rem; border-left: 2px solid transparent; }
.bsvh-nov__body .abs.is-cited { border-left-color: #1b1b1b; background: #f5f5f5; }
.bsvh-nov__body ol.nl { list-style: none; margin: .4rem 0 .85rem .75rem !important; padding: 0; }
.bsvh-nov__body ol.nl li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: .25rem; margin: 0 0 .35rem; }
.bsvh-nov__body ol.nl ol.nl { margin-top: .35rem !important; }
.bsvh-nov__body table.nt { border-collapse: collapse; font-size: .85rem; margin: .5rem 0 1rem; }
.bsvh-nov__body table.nt td { border: 1px solid #ddd; padding: .3rem .5rem; vertical-align: top; }
.bsvh-nov__lang { font-size: .8rem !important; color: #6b6b6b; font-style: italic; }
.bsvh-nov__load { color: #6b6b6b; }
.bsvh-nov__foot { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #e5e5e5; font-size: 11.5px; line-height: 1.5; color: #7a7a7a; }
.bsvh-nov__foot p { margin: 0 0 .35rem !important; }
.bsvh-nov__foot a { color: #1b1b1b !important; font-weight: 600; }
@media (max-width: 600px) { .bsvh-nov { padding: 0; align-items: flex-end; } .bsvh-nov__card { max-height: 88vh; padding: 1.6rem 1.25rem 1rem; } .bsvh-nov__h { font-size: 1.3rem !important; } }

/* Anwaltsprofil: Vita, Veröffentlichungen & Co. */
.bsvh-cv { margin-top: 3.5rem !important; }
.bsvh-cv__sec { border-top: 1px solid #dcdcdc; }
.bsvh-cv__sec:last-child { border-bottom: 1px solid #dcdcdc; }
.bsvh-cv__sec:first-child { border-top-color: #1b1b1b; }
.bsvh-cv__h { display: flex; align-items: center; gap: .9rem; padding: 1.35rem .25rem; margin: 0; cursor: pointer; list-style: none; user-select: none; }
.bsvh-cv__h::-webkit-details-marker { display: none; }
.bsvh-cv__h::marker { content: ""; }
.bsvh-cv__label { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #1b1b1b; }
.bsvh-cv__count { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #6b6b6b; background: #f1f1f1; border-radius: 999px; padding: .15rem .55rem; }
.bsvh-cv__icon { margin-left: auto; position: relative; width: 30px; height: 30px; border: 1px solid #cfcfcf; border-radius: 50%; flex: none; transition: background .15s, border-color .15s; }
.bsvh-cv__icon::before, .bsvh-cv__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: #1b1b1b; transform: translate(-50%, -50%); transition: transform .2s; }
.bsvh-cv__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.bsvh-cv__sec[open] .bsvh-cv__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.bsvh-cv__h:hover .bsvh-cv__icon { border-color: #1b1b1b; }
.bsvh-cv__sec[open] .bsvh-cv__icon { background: #1b1b1b; border-color: #1b1b1b; }
.bsvh-cv__sec[open] .bsvh-cv__icon::before, .bsvh-cv__sec[open] .bsvh-cv__icon::after { background: #fff; }
.bsvh-cv__body { padding: .4rem .25rem 2.25rem; }
.bsvh-cv__sub { margin: 1.8rem 0 .9rem !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; }
.bsvh-cv__sub:first-child { margin-top: 0 !important; }
.bsvh-cv ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.bsvh-cv li { margin: 0; }
/* Zeitleiste */
.bsvh-tl { position: relative; }
.bsvh-tl::before { content: ""; position: absolute; left: 9.25rem; top: .55rem; bottom: .55rem; width: 1px; background: #d9d9d9; }
.bsvh-tl__item { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; padding: 0 0 1.15rem; }
.bsvh-tl__item::before { content: ""; position: absolute; left: calc(9.25rem - 4px); top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid #1b1b1b; }
.bsvh-tl__when { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #1b1b1b; text-align: right; padding-top: .15rem; line-height: 1.5; }
.bsvh-tl__what { padding-left: .9rem; font-size: 1rem; line-height: 1.6; color: #2b2b2b; }
/* Veröffentlichungen */
.bsvh-pubs { display: grid; gap: .75rem; }
.bsvh-pubs__item { padding: 1rem 1.2rem; background: #f6f6f6; border-left: 2px solid #1b1b1b; }
.bsvh-pubs__title { display: block; font-size: 1rem; font-weight: 500; line-height: 1.5; color: #1b1b1b; }
.bsvh-pubs__meta { display: block; margin-top: .3rem; font-size: 13px; color: #6b6b6b; }
.bsvh-pubs__meta em { font-style: normal; }
/* Beiträge */
.bsvh-arts__item { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 0; border-bottom: 1px solid #ececec; }
.bsvh-arts__item:first-child { border-top: 1px solid #ececec; }
.bsvh-arts__item a { color: #1b1b1b !important; text-decoration: none !important; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.bsvh-arts__item a::after { content: " ↗"; color: #9a9a9a; font-size: .85em; }
.bsvh-arts__item a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.bsvh-arts__meta { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.bsvh-cv__collapsible.is-collapsed .is-more { display: none; }
.bsvh-cv__more { margin-top: 1.25rem; padding: .7rem 1.2rem; background: #fff; border: 1px solid #1b1b1b; font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; color: #1b1b1b; }
.bsvh-cv__more:hover { background: #1b1b1b; color: #fff; }
/* Auszeichnungen */
.bsvh-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; }
.bsvh-awards__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; background: #f6f6f6; }
.bsvh-awards__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #1b1b1b; }
.bsvh-awards__text { font-size: 1rem; line-height: 1.5; font-weight: 500; color: #1b1b1b; }
.bsvh-awards__text a { display: block; margin-top: .3rem; font-size: 12px; font-weight: 400; color: #6b6b6b !important; text-decoration: none !important; }
/* Vorträge */
.bsvh-talks__item { position: relative; padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid #ececec; font-size: 1rem; line-height: 1.6; color: #2b2b2b; }
.bsvh-talks__item::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .6rem; height: 1px; background: #1b1b1b; }
.bsvh-talks__item em { font-style: normal; color: #1b1b1b; font-weight: 500; }
.bsvh-cv figure { margin: 2rem 0 1rem; }
@media (max-width: 640px) {
	.bsvh-tl::before { left: 4px; }
	.bsvh-tl__item { grid-template-columns: 1fr; gap: .15rem; padding-left: 1.4rem; }
	.bsvh-tl__item::before { left: 0; top: .35rem; }
	.bsvh-tl__when { text-align: left; padding-top: 0; }
	.bsvh-tl__what { padding-left: 0; }
}

/* Infografik-Bausteine (Unterseiten): Fakten, Ablauf, Zahlen, Vergleich, Hinweis */
.bsvh-ico { display: inline-block; flex: 0 0 auto; width: 30px; height: 30px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.bsvh-ico--frist { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E"); }
.bsvh-ico--kalender { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.bsvh-ico--kosten { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.6a4.2 4.2 0 1 0 0 6.8M7.2 10.8h6M7.2 13.4h6'/%3E%3C/svg%3E"); }
.bsvh-ico--geld { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='1.5'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
.bsvh-ico--gericht { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M7.5 20h9M5 7h14M5 7l-2.8 6.2a2.8 2.8 0 0 0 5.6 0zM19 7l-2.8 6.2a2.8 2.8 0 0 0 5.6 0z'/%3E%3C/svg%3E"); }
.bsvh-ico--dokument { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3h7.5l4 4v14h-11.5z'/%3E%3Cpath d='M14 3v4h4M9.5 12h5.5M9.5 15.5h5.5'/%3E%3C/svg%3E"); }
.bsvh-ico--warnung { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.8 2.6 20h18.8z'/%3E%3Cpath d='M12 10v4.5M12 17v.4'/%3E%3C/svg%3E"); }
.bsvh-ico--info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10.8v5.7M12 7.4v.4'/%3E%3C/svg%3E"); }
.bsvh-ico--check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.4 2.8 2.8 5.4-5.6'/%3E%3C/svg%3E"); }
.bsvh-ico--person { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20.5c.8-3.7 3.6-5.6 7-5.6s6.2 1.9 7 5.6'/%3E%3C/svg%3E"); }
.bsvh-ico--auto { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 16.5V13L5.8 8h12.4l2.3 5v3.5z'/%3E%3Ccircle cx='7.5' cy='16.8' r='1.9'/%3E%3Ccircle cx='16.5' cy='16.8' r='1.9'/%3E%3Cpath d='M3.5 13h17'/%3E%3C/svg%3E"); }
.bsvh-ico--schild { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5.6c0 4.3 3 7.6 7 9.4 4-1.8 7-5.1 7-9.4V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.2 10'/%3E%3C/svg%3E"); }
.bsvh-ico--schloss { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5M12 14.5v2.2'/%3E%3C/svg%3E"); }
.bsvh-ico--behoerde { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20.5h18M5.5 20.5v-9M10 20.5v-9M14 20.5v-9M18.5 20.5v-9M2.8 10.5 12 4.5l9.2 6z'/%3E%3C/svg%3E"); }
.bsvh-ico--gespraech { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9.5L5 19.8V16H4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E"); }
.bsvh-ico--handy { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.8' width='10' height='18.4' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.bsvh-ico--code { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 8-4 4 4 4M15 8l4 4-4 4M13.2 6l-2.4 12'/%3E%3C/svg%3E"); }
.bsvh-ico--marke { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.2V4h8.2l8.8 8.8-8.2 8.2z'/%3E%3Ccircle cx='8' cy='8.5' r='1.4'/%3E%3C/svg%3E"); }
.bsvh-ico--baum { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 6.2 10.8h3.1L5 17h14l-4.3-6.2h3.1z'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E"); }
.bsvh-ico--ziel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Cpath d='M12 2v4.2M12 17.8V22M2 12h4.2M17.8 12H22'/%3E%3C/svg%3E"); }
.bsvh-ico--vertrag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3h11v18h-11z'/%3E%3Cpath d='M9.2 7.5h5.6M9.2 11h5.6M9.2 14.5h3M12.5 18.2c1-1.3 1.8-1.3 2.4 0'/%3E%3C/svg%3E"); }
.bsvh-ico--gesundheit { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.2 3.5h5.6v5.7h5.7v5.6h-5.7v5.7H9.2v-5.7H3.5V9.2h5.7z'/%3E%3C/svg%3E"); }
.bsvh-ico--arbeit { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='1.5'/%3E%3Cpath d='M9 7V4.5h6V7M3 12.5h18M11 12.5v2h2v-2'/%3E%3C/svg%3E"); }
.bsvh-ico--globus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.6 2.6 3.8 5.6 3.8 9s-1.2 6.4-3.8 9c-2.6-2.6-3.8-5.6-3.8-9s1.2-6.4 3.8-9z'/%3E%3C/svg%3E"); }

.bsvh-ig { margin: 2.25rem 0 2.5rem; color: #1b1b1b; }
.bsvh-ig__title { margin: 0 0 1rem !important; font-size: 11px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-ig ul, .bsvh-ig ol { list-style: none; margin: 0; padding: 0; }
.bsvh-ig li { margin: 0; }
/* Auf einen Blick */
.bsvh-facts { background: #f3f3f3; padding: 1.4rem 1.5rem 1.5rem; border-top: 2px solid #1b1b1b; }
.bsvh-facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; }
.bsvh-facts li { display: flex; gap: .9rem; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.bsvh-facts li strong { display: block; margin-bottom: .1rem; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
/* Ablauf */
.bsvh-steps ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.25rem; counter-reset: st; }
.bsvh-steps li { position: relative; counter-increment: st; padding-top: 3.2rem; font-size: 14px; line-height: 1.5; }
.bsvh-steps li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #1b1b1b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.bsvh-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -.75rem; border-top: 1px solid #1b1b1b; }
.bsvh-steps li strong { display: block; margin-bottom: .3rem; font-size: 15px; font-weight: 600; }
.bsvh-steps li span { color: #444; hyphens: auto; -webkit-hyphens: auto; }
.bsvh-steps li strong, .bsvh-facts li, .bsvh-figures li { hyphens: auto; -webkit-hyphens: auto; }
/* Zahlen */
.bsvh-figures ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid #1b1b1b; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-figures li { padding: 1.3rem 1.25rem 1.3rem 0; display: flex; flex-direction: column; gap: .35rem; font-size: 14px; line-height: 1.45; color: #444; }
.bsvh-figures li + li { padding-left: 1.25rem; border-left: 1px solid var(--wp--preset--color--line); }
.bsvh-figures li strong { font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 300; line-height: 1.1; color: #1b1b1b; letter-spacing: -.01em; }
.bsvh-figures--4 li strong { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
/* Vergleich */
.bsvh-compare { overflow-x: auto; }
.bsvh-compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.bsvh-compare thead th { text-align: left; padding: .7rem .9rem; background: #1b1b1b; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bsvh-compare tbody th { text-align: left; font-weight: 600; width: 28%; }
.bsvh-compare tbody th, .bsvh-compare td { padding: .75rem .9rem; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.bsvh-compare tbody tr:nth-child(even) { background: #f7f7f7; }
/* Hinweis */
.bsvh-note { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.3rem; border-left: 3px solid #1b1b1b; background: #f3f3f3; font-size: 15px; line-height: 1.55; }
.bsvh-note .bsvh-ico { width: 26px; height: 26px; margin-top: .1rem; }
.bsvh-note p { margin: 0 0 .5rem !important; }
.bsvh-note p:last-child { margin-bottom: 0 !important; }
.bsvh-note .bsvh-ig__title { margin-bottom: .35rem !important; }
@media (max-width: 781px) {
	.bsvh-facts ul { grid-template-columns: 1fr; }
	.bsvh-steps ol { grid-auto-flow: row; gap: 0; }
	.bsvh-steps li { padding: 0 0 1.3rem 3.3rem; min-height: 2.6rem; }
	.bsvh-steps li:not(:last-child)::after { top: 2.5rem; bottom: .2rem; left: 1.15rem; right: auto; border-top: 0; border-left: 1px solid #1b1b1b; }
	.bsvh-figures ul { grid-auto-flow: row; }
	.bsvh-compare thead { display: none; }
	.bsvh-compare table, .bsvh-compare tbody, .bsvh-compare tr, .bsvh-compare th, .bsvh-compare td { display: block; width: auto; }
	.bsvh-compare tr { border-top: 2px solid #1b1b1b; margin-bottom: 1rem; background: none !important; }
	.bsvh-compare tbody th { width: auto; padding: .7rem 0 .4rem; border-bottom: 0; font-size: 15px; }
	.bsvh-compare td { display: grid; grid-template-columns: 42% 1fr; gap: .8rem; padding: .55rem 0; }
	.bsvh-compare td::before { content: attr(data-label); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6e6e6e; padding-top: .15rem; }
	.bsvh-figures li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--wp--preset--color--line); }
}
@media print { .bsvh-facts, .bsvh-note { background: none; border: 1px solid #999; } .bsvh-steps li::before { color: #000; background: none; border: 1px solid #000; } }


/* Fotos, Merksätze und Checklisten in den Unterseiten (0.8.22) */
.bsvh-photo { margin: 3rem 0 3.25rem; }
.bsvh-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(1); }
.bsvh-pull { margin: 3.25rem 0; padding: 0; }
.bsvh-pull blockquote { margin: 0; padding: .2rem 0 .2rem 1.6rem; border-left: 3px solid #1b1b1b; }
.bsvh-pull p { margin: 0 !important; font-size: 1.45rem; font-weight: 300; line-height: 1.45; letter-spacing: .005em; color: #1b1b1b; }
.bsvh-check { border: 1px solid var(--wp--preset--color--line); padding: 1.5rem 1.6rem 1.4rem; }
.bsvh-check ul { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 2rem; }
.bsvh-check li { position: relative; padding-left: 2rem; font-size: 15px; line-height: 1.5; }
.bsvh-check li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #1b1b1b; }
.bsvh-check li::after { content: ""; position: absolute; left: .45rem; top: .32rem; width: .32rem; height: .6rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bsvh-areapage .bsvh-prose { counter-reset: bsvh-h2; }
.bsvh-areapage .bsvh-prose > h2 { counter-reset: bsvh-h3; }
.bsvh-areapage .bsvh-prose > h3 { counter-increment: bsvh-h3; display: flex; gap: .85rem; align-items: baseline; }
.bsvh-areapage .bsvh-prose > h3::before { content: counter(bsvh-h3, decimal-leading-zero); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--wp--preset--color--muted); flex: none; min-width: 1.6rem; }
@media (max-width: 700px) {
	.bsvh-check ul { grid-template-columns: 1fr; }
	.bsvh-pull p { font-size: 1.25rem; }
	.bsvh-photo img { aspect-ratio: 3 / 2; }
}
@media print { .bsvh-photo { display: none; } }

/* Typografie Fließtext (0.8.25): kleinerer Text, deutlicher abgesetzte Überschriften, vor allem mobil */
.bsvh-prose { font-size: 1.0625rem; line-height: 1.75; }
.bsvh-prose h2 { font-size: 1.75rem; line-height: 1.3; }
.bsvh-prose h3 { font-size: 1.3125rem; line-height: 1.35; }
.bsvh-areapage .bsvh-prose > p:first-of-type { font-size: 1.1875rem; }
@media (max-width: 700px) {
	.bsvh-prose { font-size: .9375rem; line-height: 1.7; }
	.bsvh-prose h2 { font-size: 1.5rem; letter-spacing: .02em; margin-top: 3.5rem; }
	.bsvh-areapage .bsvh-prose h2 { margin-top: 3.25rem; }
	.bsvh-prose h3 { font-size: 1.1875rem; margin-top: 2.5rem; }
	.bsvh-areapage .bsvh-prose h3 { margin-top: 2.25rem; }
	.bsvh-areapage .bsvh-prose > p:first-of-type { font-size: 1rem; line-height: 1.65; }
	.bsvh-prose .wp-block-details > summary { font-size: .9375rem; }
	.bsvh-pull p { font-size: 1.1875rem; }
}

/* Rechtsgebiete als Verzeichnis statt Bildkacheln (0.8.26) */
.bsvh-register { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4.5rem; margin-top: 3.5rem !important; border-top: 1px solid #1b1b1b; }
.bsvh-reg { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2rem; align-content: start; padding: 2rem 0 2.2rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-reg > * { grid-column: 2; }
.bsvh-reg__no { grid-column: 1; grid-row: 1; padding-top: .3rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--wp--preset--color--muted); }
.bsvh-register .bsvh-reg__title { grid-row: 1; margin: 0 !important; font-size: 1.1875rem !important; font-weight: 500; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
.bsvh-register .bsvh-reg__title::before { display: none; }
.bsvh-reg__title a { color: #1b1b1b; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease; }
.bsvh-reg__title a:hover, .bsvh-reg__title a:focus-visible { background-size: 100% 1px; }
.bsvh-register .bsvh-reg__desc { margin: .55rem 0 0 !important; font-size: .9375rem; line-height: 1.55; color: #444; }
.bsvh-register .bsvh-reg__list { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem .5rem; margin: 1.1rem 0 0 !important; padding: 0; }
.bsvh-reg__list li { margin: 0; }
.bsvh-reg__list a { display: inline-block; padding: .32rem .7rem; border: 1px solid var(--wp--preset--color--line); font-size: .8125rem; line-height: 1.4; color: #1b1b1b; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.bsvh-reg__list a:hover, .bsvh-reg__list a:focus-visible { background: #1b1b1b; border-color: #1b1b1b; color: #fff; }
.bsvh-reg__list .is-more a { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; color: var(--wp--preset--color--muted); }
.bsvh-reg__list .is-more a:hover { background: none; color: #1b1b1b; }
.bsvh-register .bsvh-reg__who { margin: 1.1rem 0 0 !important; font-size: .8125rem; color: var(--wp--preset--color--muted); }
.bsvh-reg__who a { color: inherit; text-underline-offset: 3px; }
.bsvh-reg__go { grid-column: 3; grid-row: 1; justify-self: end; font-size: 1.35rem; line-height: 1; color: #1b1b1b; text-decoration: none; transition: transform .3s ease; }
.bsvh-reg:hover .bsvh-reg__go { transform: translateX(5px); }
.bsvh-reg-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem !important; padding: 1.8rem 2.2rem; background: #1b1b1b; color: #fff; }
.bsvh-reg-cta p { margin: 0 !important; font-size: 1rem; line-height: 1.55; }
.bsvh-reg-cta strong { font-weight: 600; color: #fff; }
.bsvh-reg-cta a { flex: none; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #fff; padding-bottom: 3px; }
@media (max-width: 900px) {
	.bsvh-register { grid-template-columns: 1fr; }
	.bsvh-reg { grid-template-columns: 2.4rem minmax(0, 1fr) 1.5rem; padding: 1.6rem 0 1.8rem; }
	.bsvh-register .bsvh-reg__title { font-size: 1.0625rem !important; letter-spacing: .1em; }
	.bsvh-reg-cta { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.5rem 1.4rem; }
}

/* Abstand H2 → Text etwas größer (0.8.28) */
.bsvh-prose > h2 + *, .bsvh-prose h2 + :is(p, ul, ol) { margin-block-start: 1rem; }
/* Seiten ohne sichtbaren Titel: Einleitung direkt unter der Navigation (0.8.29) */
.bsvh-hide-title .bsvh-schlicht > .wp-block-post-content > .bsvh-intro:first-child { margin-top: 0 !important; }

/* Hinweis auf bonnstrafverteidiger.de (0.8.29) */
.bsvh-ext { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; margin: 3rem 0 3.5rem; background: #1b1b1b; color: #fff; }
.bsvh-ext__logo { display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: #121212; border-right: 1px solid rgba(255,255,255,.08); }
.bsvh-prose .bsvh-ext__logo { border-bottom: 0; text-decoration: none; }
.bsvh-ext__logo img { display: block; width: 100%; height: auto; }
.bsvh-ext__logo.is-bafteh img { max-width: 168px; }
.bsvh-ext__logo.is-sozialbetrug img { max-width: 116px; }
.bsvh-ext__logo.is-dismissal img { max-width: 160px; }
.bsvh-ext__body { padding: 2rem 2.2rem 1.8rem; }
.bsvh-prose .bsvh-ext p { margin: 0; color: #fff; }
.bsvh-prose .bsvh-ext .bsvh-ext__kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.bsvh-prose .bsvh-ext .bsvh-ext__title { margin-top: .6rem; font-size: 1.5rem; font-weight: 400; line-height: 1.3; letter-spacing: .02em; }
.bsvh-prose .bsvh-ext .bsvh-ext__text { margin-top: .8rem; font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.bsvh-prose .bsvh-ext .bsvh-ext__btn { display: inline-block; margin-top: 1.3rem; padding: .75rem 1.2rem; background: #fff; color: #1b1b1b; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 0; transition: background-color .2s ease; }
.bsvh-prose .bsvh-ext .bsvh-ext__btn:hover { background: #e6e6e6; }
.bsvh-prose .bsvh-ext .bsvh-ext__tel { margin-top: 1.2rem; font-size: .8125rem; color: rgba(255,255,255,.7); }
.bsvh-prose .bsvh-ext .bsvh-ext__tel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
	.bsvh-ext { grid-template-columns: 1fr; }
	.bsvh-ext__logo { padding: 2rem 1.3rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.bsvh-ext__logo.is-bafteh img { max-width: 150px; }
	.bsvh-ext__logo.is-sozialbetrug img { max-width: 96px; }
	.bsvh-ext__logo.is-dismissal img { max-width: 140px; }
	.bsvh-ext__body { padding: 1.5rem 1.3rem 1.4rem; }
	.bsvh-prose .bsvh-ext .bsvh-ext__title { font-size: 1.25rem; }
}

/* Beitragsliste statt Kacheln (0.8.33) */
.wp-block-post-template.bsvh-postlist { display: block; margin: 0; padding: 0; border-top: 1px solid #1b1b1b; }
.bsvh-postlist > li { margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-postlist .bsvh-post-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 2.25rem; align-items: start; padding: 2.1rem 0; }
.bsvh-postlist .bsvh-post-card > * { grid-column: 2; margin-block: 0; }
.bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
.bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image img { aspect-ratio: 3 / 2; }
.bsvh-postlist .bsvh-post-card .wp-block-post-title { margin-top: .55rem; font-size: 1.3125rem; line-height: 1.35; }
.bsvh-postlist .bsvh-post-card .wp-block-post-excerpt { margin-top: .6rem; font-size: .9375rem; color: #444; }
.bsvh-postlist .bsvh-post-card .wp-block-post-excerpt__more-text { margin: .75rem 0 0; }
.bsvh-postlist .bsvh-post-card .wp-block-post-excerpt__more-link { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #1b1b1b; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bsvh-postlist .bsvh-post-card .wp-block-post-excerpt__more-link::after { content: " →"; }
@media (max-width: 700px) {
	.bsvh-postlist .bsvh-post-card { grid-template-columns: 1fr; padding: 1.6rem 0; }
	.bsvh-postlist .bsvh-post-card > * { grid-column: 1; }
	.bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image { grid-row: auto; margin-bottom: 1rem; }
	.bsvh-postlist .bsvh-post-card .wp-block-post-title { font-size: 1.125rem; }
}
.bsvh-schlicht .wp-block-post-content > .bsvh-register:first-child { margin-top: 0 !important; }

/* Glossar (0.8.39) */
.bsvh-gl { margin-top: 2rem; }
.bsvh-gl__search { display: block; position: sticky; top: 0; z-index: 2; background: #fff; padding: .75rem 0 .5rem; }
.bsvh-gl__search input { width: 100%; box-sizing: border-box; padding: .85rem 1rem; font: inherit; font-size: 1rem; border: 1px solid #1b1b1b; border-radius: 0; background: #fff; }
.bsvh-gl__search input:focus { outline: 2px solid #1b1b1b; outline-offset: 1px; }
.bsvh-prose .bsvh-gl__count { margin: .25rem 0 0; min-height: 1.2em; font-size: .8125rem; color: #6b6b6b; }
.bsvh-gl__az { display: flex; flex-wrap: wrap; gap: .15rem; margin: 1rem 0 2rem; }
.bsvh-gl__az a, .bsvh-gl__az span { display: inline-block; min-width: 1.9rem; padding: .3rem 0; text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.bsvh-prose .bsvh-gl__az a { color: #1b1b1b; text-decoration: none; border: 1px solid #d9d9d9; }
.bsvh-prose .bsvh-gl__az a:hover { background: #1b1b1b; color: #fff; }
.bsvh-gl__az span { color: #c4c4c4; border: 1px solid transparent; }
.bsvh-gl__group { border-top: 1px solid #1b1b1b; padding-top: .6rem; margin-top: 2.2rem; scroll-margin-top: 5rem; }
.bsvh-prose .bsvh-gl__letter { margin: 0 0 .4rem; font-size: 1.75rem; font-weight: 300; letter-spacing: .08em; color: #9a9a9a; }
.bsvh-gl__item { padding: 1rem 0 1.1rem; border-bottom: 1px solid #e6e6e6; scroll-margin-top: 5rem; }
.bsvh-gl__item:last-child { border-bottom: 0; }
.bsvh-prose .bsvh-gl__term { margin: 0 0 .45rem !important; font-size: 1.125rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.bsvh-prose .bsvh-gl__def { margin: 0; }
.bsvh-gl__item.is-hit .bsvh-gl__term { text-decoration: underline; text-underline-offset: 4px; }
.bsvh-gl__item:target { background: #f4f4f4; box-shadow: -.75rem 0 0 #f4f4f4, .75rem 0 0 #f4f4f4; }

/* Rechner (0.8.40) */
.bsvh-r { margin: 2.5rem 0; border: 1px solid #1b1b1b; padding: 1.5rem 1.5rem 1.25rem; background: #fff; }
.bsvh-prose .bsvh-r__title { margin: 0 0 1.1rem !important; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-r__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.bsvh-r__f { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.bsvh-r__f label { font-size: .875rem; font-weight: 600; line-height: 1.35; }
.bsvh-r__f input, .bsvh-r__f select { width: 100%; box-sizing: border-box; padding: .65rem .75rem; font: inherit; font-size: 1rem; border: 1px solid #b5b5b5; border-radius: 0; background: #fff; color: #1b1b1b; min-height: 2.75rem; }
.bsvh-r__f input:focus, .bsvh-r__f select:focus { outline: 2px solid #1b1b1b; outline-offset: 0; border-color: #1b1b1b; }
.bsvh-r__f small { font-size: .78rem; line-height: 1.4; color: #6b6b6b; }
.bsvh-r__f--check { grid-column: 1 / -1; }
.bsvh-r__f--check label { flex-direction: row; display: flex; gap: .55rem; align-items: center; font-weight: 500; }
.bsvh-r__f--check input { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; accent-color: #1b1b1b; }
.bsvh-r__out { margin-top: 1.5rem; border-top: 1px solid #1b1b1b; padding-top: 1.25rem; }
.bsvh-prose .bsvh-r__empty, .bsvh-prose .bsvh-r__err { margin: 0; color: #6b6b6b; font-size: .9375rem; }
.bsvh-prose .bsvh-r__err { color: #8a1c1c; }
.bsvh-r__main { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
.bsvh-r__main span { font-size: .8125rem; color: #6b6b6b; }
.bsvh-r__main strong { font-size: 1.75rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.bsvh-r__main em { font-style: normal; font-size: .875rem; color: #4a4a4a; }
.bsvh-prose .bsvh-r__tab { width: 100%; border-collapse: collapse; margin: 0; font-size: .9rem; }
.bsvh-prose .bsvh-r__tab th, .bsvh-prose .bsvh-r__tab td { text-align: left; vertical-align: top; padding: .55rem .75rem .55rem 0; border: 0; border-bottom: 1px solid #e6e6e6; line-height: 1.45; }
.bsvh-prose .bsvh-r__tab th { width: 42%; font-weight: 500; color: #4a4a4a; }
.bsvh-r__tab small { display: block; font-size: .78rem; color: #6b6b6b; }
.bsvh-r__tab tr.is-sum td { font-weight: 600; }
.bsvh-r__tab tr.is-bad td { color: #8a1c1c; }
.bsvh-r__tab tr.is-warn td { color: #7a4d00; }
.bsvh-r__tab tr.is-ok td::before { content: "✓ "; }
.bsvh-prose .bsvh-r__hints { margin: 1rem 0 0; padding-left: 1.1rem; font-size: .84rem; color: #4a4a4a; }
.bsvh-prose .bsvh-r__hints li { margin: 0 0 .4rem; }
.bsvh-prose .bsvh-r__note { margin: 1.1rem 0 0; font-size: .75rem; line-height: 1.5; color: #7a7a7a; }
@media (max-width: 640px) {
	.bsvh-r { padding: 1.1rem 1rem 1rem; margin-left: -.25rem; margin-right: -.25rem; }
	.bsvh-r__form { grid-template-columns: 1fr; }
	.bsvh-prose .bsvh-r__tab th, .bsvh-prose .bsvh-r__tab td { display: block; width: auto; padding: .15rem 0; border: 0; }
	.bsvh-prose .bsvh-r__tab tr { display: block; padding: .5rem 0; border-bottom: 1px solid #e6e6e6; }
}
@media print { .bsvh-r__form, .bsvh-r__note { display: none; } }

/* Glossar-Overlay in Fachartikeln (0.8.41) */
a.bsvh-gl-term { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: help; }
a.bsvh-gl-term:hover, a.bsvh-gl-term:focus-visible, a.bsvh-gl-term[aria-expanded="true"] { text-decoration-style: solid; color: #000; }
.bsvh-glp { position: absolute; z-index: 9000; width: min(380px, calc(100vw - 24px)); box-sizing: border-box; background: #fff; border-top: 3px solid #1b1b1b; box-shadow: 0 14px 40px rgba(0,0,0,.18); padding: 1.1rem 1.25rem 1rem; font-size: .9rem; line-height: 1.55; color: #1b1b1b; outline: none; }
.bsvh-glp[hidden] { display: none; }
.bsvh-glp p { margin: 0; }
.bsvh-glp__kicker { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7a7a7a; margin-bottom: .35rem !important; }
.bsvh-glp__t { font-size: 1.05rem; font-weight: 600; margin-bottom: .45rem !important; padding-right: 1.5rem; }
.bsvh-glp__d a, .bsvh-glp__more a { color: #1b1b1b; text-underline-offset: .2em; }
.bsvh-glp__more { margin-top: .8rem !important; padding-top: .65rem; border-top: 1px solid #e6e6e6; font-size: .82rem; }
.bsvh-glp__more a { text-decoration: none; font-weight: 600; }
.bsvh-glp__x { position: absolute; top: .45rem; right: .55rem; border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #555; padding: .2rem .35rem; }
.bsvh-glp__x:hover { color: #000; }
@media (max-width: 640px) { .bsvh-glp { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-height: 70vh; overflow: auto; padding: 1.2rem 1.25rem 1.4rem; box-shadow: 0 -10px 40px rgba(0,0,0,.2); } }
@media print { .bsvh-glp { display: none !important; } a.bsvh-gl-term { text-decoration: none; } }

/* Autorenschaft Beiträge (0.8.43) */
.bsvh-byline { display: flex; justify-content: center; align-items: center; gap: .75rem; margin: 1.1rem auto 0; max-width: 760px; }
.bsvh-byline__img { display: inline-flex; flex: none; }
.bsvh-byline__img img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); border: 2px solid #fff; }
.bsvh-byline__img img + img { margin-left: -10px; }
.bsvh-byline__txt { margin: 0 !important; display: flex; flex-wrap: wrap; column-gap: .9rem; row-gap: .1rem; font-size: .8125rem; line-height: 1.5; color: #555; }
.bsvh-byline__txt > span + span::before { content: "·"; margin-right: .9rem; color: #aaa; }
.bsvh-byline__who a { color: #1b1b1b; font-weight: 600; text-decoration: none; }
.bsvh-byline__who a:hover { text-decoration: underline; }
.bsvh-autor { margin: 3rem 0 1.5rem; border-top: 1px solid #1b1b1b; padding-top: 1.1rem; }
.bsvh-autor p { margin: 0; }
.bsvh-autor__title { font-size: 11px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem !important; }
.bsvh-autor__p { display: grid; grid-template-columns: 88px 1fr; gap: 1.1rem; align-items: start; padding: .2rem 0 1.1rem; }
.bsvh-autor__p + .bsvh-autor__p { border-top: 1px solid #e6e6e6; padding-top: 1.1rem; }
.bsvh-autor__img img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); display: block; }
.bsvh-autor__name { font-size: 1.05rem; font-weight: 600; }
.bsvh-autor__name a, .bsvh-autor__more a { color: #1b1b1b; text-decoration: none; }
.bsvh-autor__role, .bsvh-autor__focus { font-size: .875rem; color: #4a4a4a; line-height: 1.5; }
.bsvh-autor__more { margin-top: .4rem !important; font-size: .8125rem; font-weight: 600; }
.bsvh-autor__date { font-size: .8125rem; color: #6b6b6b; border-top: 1px solid #e6e6e6; padding-top: .7rem; }
@media (max-width: 640px) { .bsvh-byline { flex-direction: column; gap: .5rem; } .bsvh-byline__txt { justify-content: center; text-align: center; } .bsvh-autor__p { grid-template-columns: 64px 1fr; } .bsvh-autor__img img { width: 64px; height: 64px; } }
.bsvh-lawposts { margin: 4.5rem auto 1rem; border-top: 1px solid #1b1b1b; padding-top: 1.1rem; }
.bsvh-prose .bsvh-lawposts__h, .bsvh-lawposts__h { font-size: 11px !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.4rem !important; }
.bsvh-lawposts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.5rem; }
.bsvh-lawposts p { margin: 0; }
.bsvh-lawposts__who { font-size: 1rem; font-weight: 600; margin-bottom: .6rem !important; }
.bsvh-lawposts__who a, .bsvh-lawposts__all a { color: #1b1b1b; text-decoration: none; }
.bsvh-lawposts ul { list-style: none; margin: 0; padding: 0; }
.bsvh-lawposts li { padding: .6rem 0; border-bottom: 1px solid #e6e6e6; display: flex; flex-direction: column; gap: .15rem; }
.bsvh-lawposts li a { color: #1b1b1b; font-size: .9375rem; line-height: 1.4; text-decoration: none; }
.bsvh-lawposts li a:hover { text-decoration: underline; }
.bsvh-lawposts time { font-size: .75rem; color: #7a7a7a; }
.bsvh-lawposts__all { margin-top: .7rem !important; font-size: .8125rem; font-weight: 600; }

/* ==========================================================================
   Typografie-System (0.8.45): eine Schriftgrößen-Skala für alle Seiten.
   Fließtext 17 px, Kästen/Tabellen 15 px, Hinweise 13 px, Etiketten 11 px,
   H2 24 px, H3 19 px. Kein vergrößerter Einleitungsabsatz mehr.
   ========================================================================== */
:root {
	--bsvh-fs-body: 1.0625rem;  /* 17 px */
	--bsvh-fs-small: .9375rem;  /* 15 px */
	--bsvh-fs-meta: .8125rem;   /* 13 px */
	--bsvh-fs-h2: 1.5rem;       /* 24 px */
	--bsvh-fs-h3: 1.1875rem;    /* 19 px */
	--bsvh-lh-body: 1.75;
}
@media (max-width: 700px) {
	:root { --bsvh-fs-body: 1rem; --bsvh-fs-small: .9375rem; --bsvh-fs-h2: 1.3125rem; --bsvh-fs-h3: 1.0625rem; --bsvh-lh-body: 1.7; }
}
/* Fließtext */
.bsvh-prose, .bsvh-prose--kontakt { font-size: var(--bsvh-fs-body); line-height: var(--bsvh-lh-body); }
.bsvh-areapage .bsvh-prose > p:first-of-type,
.bsvh-prose > p:first-of-type { font-size: inherit !important; line-height: inherit !important; color: inherit; }
.bsvh-prose .wp-block-details > summary { font-size: var(--bsvh-fs-body) !important; }
.bsvh-section-intro, .bsvh-schlicht .bsvh-intro, .bsvh-profile__text > p, .bsvh-portal__text { font-size: var(--bsvh-fs-body) !important; line-height: var(--bsvh-lh-body); }
/* Überschriften */
.bsvh-prose h2, .bsvh-prose--kontakt h2, .bsvh-section-title, .bsvh-ratings__title { font-size: var(--bsvh-fs-h2) !important; font-weight: 400; line-height: 1.3; }
.bsvh-prose h3 { font-size: var(--bsvh-fs-h3) !important; font-weight: 500; line-height: 1.35; }
.bsvh-prose h4 { font-size: var(--bsvh-fs-body); font-weight: 600; }
/* Kästen, Tabellen, Rechner, Formulare */
.bsvh-facts li, .bsvh-steps li, .bsvh-steps li strong, .bsvh-figures li, .bsvh-note, .bsvh-check li,
.bsvh-compare table, .bsvh-prose .wp-block-table table, .bsvh-r__tab, .bsvh-prose .bsvh-r__tab,
.bsvh-r__f label, .bsvh-r__f input, .bsvh-r__f select, .bsvh-prose .bsvh-r__empty, .bsvh-prose .bsvh-r__err,
.bsvh-glp, .bsvh-map__ph p, .bsvh-ig p:not(.bsvh-ig__title), .bsvh-ig li,
.bsvh-lawyer__areas, .bsvh-contact-card span, .bsvh-chips li, .bsvh-disclaimer, .bsvh-map__foot { font-size: var(--bsvh-fs-small) !important; }
.bsvh-prose .bsvh-table td:last-child, .bsvh-kf__hint, .bsvh-kf__legal, .bsvh-kf__req-note, .bsvh-kf__error,
.bsvh-r__f small, .bsvh-r__main span, .bsvh-prose .bsvh-r__hints, .bsvh-prose .bsvh-r__note, .bsvh-r__tab small,
.bsvh-glp__more, .bsvh-prose .bsvh-gl__count, .bsvh-contact-card small, .bsvh-person small { font-size: var(--bsvh-fs-meta) !important; }
.bsvh-kf, .bsvh-kp__aside, .bsvh-hours table { font-size: var(--bsvh-fs-body); }
.bsvh-kf__drop-text, .bsvh-kf__radios label { font-size: var(--bsvh-fs-small); }
.bsvh-prose .bsvh-kp__aside h3, .bsvh-prose .bsvh-kontaktdaten h3 { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .18em !important; text-transform: uppercase; }
/* Merksatz: hervorgehoben durch Linie und Schnitt, nicht durch Größe */
.bsvh-pull p { font-size: 1.25rem !important; }
@media (max-width: 700px) { .bsvh-pull p { font-size: 1.125rem !important; } }
.bsvh-prose .bsvh-gl__term { font-size: var(--bsvh-fs-h3) !important; font-weight: 600; }

/* Live-Suche (0.8.45) */
.bsvh-search-overlay input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.bsvh-search-overlay { background: #fff !important; overflow-y: auto; padding-top: 14vh; padding-bottom: 3rem; }
.bsvh-ls__tips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.1rem; }
.bsvh-ls__tips[hidden] { display: none; }
.bsvh-ls__tips span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; margin-right: .4rem; }
.bsvh-ls__chip { font: inherit; font-size: var(--bsvh-fs-meta); background: #fff; border: 1px solid #cfcfcf; padding: .35rem .8rem; cursor: pointer; color: #1b1b1b; }
.bsvh-ls__chip:hover, .bsvh-ls__chip:focus-visible { border-color: #1b1b1b; }
.bsvh-ls__n { margin: 1.1rem 0 .3rem; font-size: var(--bsvh-fs-meta); color: #6b6b6b; min-height: 1.2em; }
.bsvh-search-overlay.is-loading .bsvh-ls__n { opacity: .5; }
.bsvh-ls__r a { display: block; padding: .85rem .75rem; margin: 0 -.75rem; border-bottom: 1px solid #e6e6e6; text-decoration: none; color: #1b1b1b; }
.bsvh-ls__r a:hover, .bsvh-ls__r a.is-sel { background: #f3f3f3; }
.bsvh-ls__ty { display: inline-block; margin-right: .6rem; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; vertical-align: 1px; }
.bsvh-ls__r b { font-weight: 500; font-size: var(--bsvh-fs-body); }
.bsvh-ls__sn { display: block; margin-top: .25rem; font-size: var(--bsvh-fs-meta); line-height: 1.5; color: #555; }
.bsvh-ls__r mark { background: #fff1b8; color: inherit; padding: 0; }
.bsvh-ls__r a.bsvh-ls__all { border-bottom: 0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-top: 1rem; }
.bsvh-search-overlay__hint { font-size: var(--bsvh-fs-meta); }
.bsvh-gl__term mark { background: #fff1b8; color: inherit; padding: 0; }

/* Mobil: Blogliste ohne Überbreite, Kategorien-Leiste scrollt innerhalb der Spalte (0.8.51) */
@media (max-width: 900px) {
	.bsvh-bloglayout > * { min-width: 0; }
	.bsvh-bloglayout .bsvh-catnav { max-width: 100% !important; overflow: hidden; }
	.bsvh-bloglayout .bsvh-catnav ul { max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image, .bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image a { display: block; width: 100%; }
	.bsvh-postlist .bsvh-post-card > .wp-block-post-featured-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; }
}

/* Mobil: kompakte Schnellkontakt-Leiste über die volle Breite, keine Überbreite (0.8.51) */
@media (max-width: 781px) {
	html, body { overflow-x: clip; }
	.bsvh-mobile-bar { left: 0; right: 0; width: 100%; max-width: 100vw; box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom, 0); }
	.bsvh-mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: .55rem .5rem; font-size: 10px; letter-spacing: .16em; line-height: 1; box-sizing: border-box; }
	body { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
	.bsvh-wa { bottom: calc(52px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
	.bsvh-wa svg { width: 26px; height: 26px; }
	.bsvh-breadcrumbs { overflow-wrap: break-word; }
	.bsvh-breadcrumbs span, .bsvh-breadcrumbs a { white-space: normal; }
}
@media (max-width: 600px) {
	.bsvh-pagehead h1 { font-size: clamp(16px, 4.9vw, 19px); letter-spacing: .06em; }
	.bsvh-breadcrumbs [aria-current="page"], .bsvh-breadcrumbs .sep:nth-last-child(2) { display: none; }
}

/* Abstände Überschrift/Text in Beiträgen (0.8.53) */
.bsvh-prose h2 + h3 { margin-top: 1.6rem; }
.bsvh-prose h2 + .wp-block-details, .bsvh-prose h2 + details { margin-top: 1.25rem !important; }

/* Startseite: kurzer Einführungstext unter „Expertise“ (0.8.56) */
.bsvh-home-text { max-width: 46rem; margin: 2rem auto 0; color: #333; }
.bsvh-home-text p { font-size: var(--bsvh-fs-body); line-height: var(--bsvh-lh-body); margin: 0 0 1rem; }
.bsvh-home-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
