/*
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.0
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; }
.bsvh-stuck img.bsvh-stuck__img { display: block; width: 100%; height: clamp(340px, 40vw, 500px); object-fit: cover; object-position: 44% 50%; }
.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 { height: 300px; object-position: 46% 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: var(--wp--preset--color--soft) url("assets/img/stuck-detail.webp") center / cover; position: relative; text-decoration: none; }
.bsvh-ph a::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.62); }
.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: 3.25rem; margin-bottom: 1rem; }
.bsvh-prose h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: .02em; margin-top: 2.25rem; margin-bottom: .5rem; }
.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; }

/* 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 { display: none !important; }
	.bsvh-topline { justify-content: flex-end; }
}
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 */
.bsvh-kontaktdaten { gap: 3rem; margin: 2.5rem 0 1rem; padding: 2rem 0; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.bsvh-kontaktdaten h3 { margin-top: 0 !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .18em !important; text-transform: uppercase; }
.bsvh-kontaktdaten p { font-size: .9375rem; line-height: 1.8; }
.bsvh-hours table { border-collapse: collapse; font-size: .9375rem; width: auto; }
.bsvh-hours td { border: 0; padding: .2rem 2rem .2rem 0; }
.bsvh-hours td:first-child { color: var(--wp--preset--color--muted); }

/* Kontaktformular */
.bsvh-kf { margin: 1.5rem 0 0; font-size: .9375rem; line-height: 1.6; scroll-margin-top: 1.5rem; }
.bsvh-kf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.bsvh-kf__field { margin: 0 0 1.6rem; display: flex; flex-direction: column; }
.bsvh-kf label, .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: .55rem; }
.bsvh-kf__req { color: var(--wp--preset--color--muted); font-weight: 400; }
.bsvh-kf input[type=text], .bsvh-kf input[type=email], .bsvh-kf select, .bsvh-kf textarea {
	font: inherit; color: var(--wp--preset--color--text); background: #fff; width: 100%; box-sizing: border-box;
	border: 0; border-bottom: 1px solid #b9b9b9; border-radius: 0; padding: .55rem 0; transition: border-color .15s;
}
.bsvh-kf textarea { border: 1px solid #b9b9b9; padding: .8rem .9rem; resize: vertical; min-height: 10rem; }
.bsvh-kf select { appearance: none; -webkit-appearance: none; padding-right: 1.5rem; 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 .2rem center; cursor: pointer; }
.bsvh-kf input::placeholder, .bsvh-kf textarea::placeholder { color: #a4a4a4; }
.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__radios { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: .4rem 2rem; }
.bsvh-kf__radios legend { width: 100%; padding: 0; }
.bsvh-kf__radios label { font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--text); 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; font-size: .8125rem; 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.75rem 1.25rem; border: 1px dashed #a9a9a9; background: var(--wp--preset--color--soft); cursor: pointer; transition: border-color .15s, background .15s; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: .9375rem !important; color: var(--wp--preset--color--text) !important; margin: 0 !important; }
.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; font-size: .875rem; }
.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 { font-size: .8125rem; 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 { font-size: .8125rem; line-height: 1.6; color: var(--wp--preset--color--muted); margin: .5rem 0 1.75rem; }
.bsvh-kf__legal p { margin: 0 0 .5rem; }
.bsvh-kf__legal a { color: inherit; }
.bsvh-kf__submit { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin: 0; }
.bsvh-kf__submit button { cursor: pointer; border: 0; }
.bsvh-kf__submit button[disabled] { opacity: .6; cursor: wait; }
.bsvh-kf__req-note { font-size: .8125rem; 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.25rem; margin: 0 0 .5rem; color: var(--wp--preset--color--contrast); }
@media (max-width: 700px) {
	.bsvh-kf__grid { grid-template-columns: 1fr; }
	.bsvh-kontaktdaten { gap: 1rem; }
}

/* 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__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:first-of-type { font-size: 1.25rem; line-height: 1.65; 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; }
.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: 3rem; }
.bsvh-areapage .bsvh-prose h3 { margin-top: 2rem; }

/* 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 { max-width: 1000px; margin: 0 auto; padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-left, 1.5rem); text-align: center; }
.bsvh-ratings__title { font-size: 24px !important; font-weight: 400; letter-spacing: .125em; text-transform: uppercase; margin: 0 0 2.5rem; color: #1b1b1b; }
.bsvh-ratings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bsvh-ratings.is-single .bsvh-ratings__grid { grid-template-columns: minmax(0, 480px); justify-content: center; }
.bsvh-rating { background: #f3f3f3; padding: 1.75rem 1.5rem 1.25rem; display: flex; flex-direction: column; align-items: center; }
.bsvh-rating h3 { margin: 0 0 1.25rem; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.bsvh-rating__body { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.bsvh-rating__slot { width: 100%; display: flex; justify-content: center; }
.bsvh-rating__ph p { margin: 0 0 1rem; font-size: 13.5px; color: #555; max-width: 22rem; margin-inline: auto; }
.bsvh-rating__ph .bsvh-btn { cursor: pointer; font-family: inherit; }
.bsvh-rating__actions { margin: 1.25rem 0 0; }
.bsvh-rating__foot { margin: .9rem 0 0; font-size: 11px; color: #888; letter-spacing: .04em; }
.bsvh-gr { display: grid; grid-template-columns: auto auto; column-gap: 1rem; align-items: center; justify-content: center; }
.bsvh-gr__score { grid-row: span 2; font-size: 44px; font-weight: 500; line-height: 1; }
.bsvh-gr__stars { position: relative; display: inline-block; font-size: 22px; letter-spacing: 2px; line-height: 1; text-align: left; }
.bsvh-gr__stars .bg { color: #cfcfcf; }
.bsvh-gr__stars .fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e3a400; width: 0; }
.bsvh-gr__meta { font-size: 13px; color: #555; text-align: left; }
@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-ratings { padding-top: 1rem; }
