/* ================= Formprinzip ================= */
.bvh-skew{clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),0 100%);}
.bvh-skew-sm{clip-path:polygon(0 0,100% 0,100% calc(100% - 18px),0 100%);}

.bvh-framed{position:relative;}
.bvh-frame{position:absolute;border:2px solid var(--bvh-brand);pointer-events:none;transition:opacity .7s var(--bvh-ease),transform .9s var(--bvh-ease);}
.bvh-js .bvh-frame{opacity:0;transform:translate(34px,34px);}
.bvh-js .bvh-framed.is-in .bvh-frame{opacity:1;transform:translate(0,0);}

/* ================= Hero ================= */
.bvh-hero{position:relative;background:var(--bvh-brand);}
.bvh-hero__media{position:absolute;inset:0;overflow:hidden;background:#0B4B4D;isolation:isolate;}
.bvh-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:grayscale(1) contrast(1.1);mix-blend-mode:screen;transform:scale(1.06);animation:bvh-zoom 24s var(--bvh-ease) forwards;}
.bvh-hero__media::after{content:"";position:absolute;inset:0;background:#A6F5EE;mix-blend-mode:multiply;}
@keyframes bvh-zoom{to{transform:scale(1);}}

.bvh-hero__inner{position:relative;padding-block:clamp(72px,9vw,120px);min-height:clamp(520px,68vh,700px);display:flex;align-items:center;}
.bvh-hero__wrap{position:relative;width:min(660px,100%);}
.bvh-hero__card{position:relative;z-index:1;background:#fff;clip-path:polygon(0 0,100% 0,100% calc(100% - 26px),0 100%);padding:clamp(38px,4vw,58px) clamp(34px,3.6vw,56px) clamp(58px,5.5vw,78px);}
.bvh-hero__wrap>.bvh-frame{inset:-56px auto auto -56px;width:100%;height:100%;z-index:0;}
.bvh-hero h1{margin:28px 0 24px;font-size:clamp(31px,3.5vw,44px);line-height:1.15;color:var(--bvh-brand);}
.bvh-hero__sub{font-size:clamp(17px,1.2vw,19px);line-height:1.7;color:var(--bvh-ink);margin:0 0 36px;max-width:36em;}
.bvh-hero__cta{display:flex;flex-wrap:wrap;gap:14px;}
@media(max-width:900px){
  .bvh-hero__inner{min-height:0;padding-block:56px 68px;}
  .bvh-hero__card{padding:32px 26px 46px;}
  .bvh-hero__wrap>.bvh-frame{inset:-24px auto auto -24px;width:100%;height:100%;}
}

/* ================= Finder: die zentrale Suche ================= */
.bvh-finder{position:relative;z-index:5;margin-top:-56px;padding-inline:var(--bvh-gutter);}
.bvh-finder__box{background:#fff;box-shadow:var(--bvh-shadow);border-top:4px solid var(--bvh-accent);padding:clamp(26px,3vw,40px);}
.bvh-finder__head{display:flex;flex-wrap:wrap;gap:16px;align-items:baseline;justify-content:space-between;margin-bottom:24px;}
.bvh-finder__head h2{margin:0;font-size:clamp(20px,1.7vw,24px);}
.bvh-finder__head p{margin:0;font-size:15px;color:var(--bvh-muted);}
.bvh-finder__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr auto;gap:16px;align-items:end;}
.bvh-finder__grid .bvh-btn{height:52px;}
@media(max-width:1100px){.bvh-finder__grid{grid-template-columns:1fr 1fr;}.bvh-finder__grid .bvh-btn{grid-column:1/-1;width:100%;}}
@media(max-width:620px){.bvh-finder__grid{grid-template-columns:1fr;}}
.bvh-finder__out{margin-top:32px;}
.bvh-finder__meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;font-size:15px;color:var(--bvh-muted);border-top:1px solid var(--bvh-line);padding-top:20px;margin-bottom:6px;}
.bvh-hits{display:grid;}
.bvh-hit{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding:20px 0 20px 18px;border-bottom:1px solid var(--bvh-line);border-left:3px solid transparent;text-decoration:none;color:inherit;transition:border-left-color .3s var(--bvh-ease),background .3s var(--bvh-ease);}
.bvh-hit:hover{border-left-color:var(--bvh-accent);background:var(--bvh-tint);}
.bvh-hit__av{width:56px;height:56px;background:var(--bvh-brand);color:#fff;display:grid;place-items:center;font-weight:700;font-size:18px;overflow:hidden;}
.bvh-hit__av img{width:100%;height:100%;object-fit:cover;}
.bvh-hit h3{margin:0 0 5px;font-size:19px;line-height:1.3;}
.bvh-hit p{margin:0;font-size:15px;color:var(--bvh-muted);}
.bvh-hit__go{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--bvh-muted);white-space:nowrap;}
@media(max-width:720px){.bvh-hit{grid-template-columns:auto minmax(0,1fr);}.bvh-hit__go{display:none;}}
.bvh-empty{padding:36px 0;color:var(--bvh-muted);}
.bvh-loading{padding:36px 0;color:var(--bvh-muted);}

/* ================= Schnellzugang ================= */
.bvh-quick{border-bottom:1px solid var(--bvh-line);padding-inline:var(--bvh-gutter);background:#fff;}
.bvh-quick__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.bvh-quick a{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;padding:34px 30px;text-decoration:none;color:var(--bvh-ink);border-left:1px solid var(--bvh-line);transition:background .3s var(--bvh-ease);}
.bvh-quick a:last-child{border-right:1px solid var(--bvh-line);}
.bvh-quick a:hover{background:var(--bvh-tint);}
.bvh-quick strong{display:block;font-size:18px;font-weight:700;line-height:1.3;color:var(--bvh-brand);}
.bvh-quick span.d{display:block;font-size:15px;color:var(--bvh-muted);margin-top:6px;line-height:1.5;}
.bvh-quick svg.ic{width:32px;height:32px;flex:none;stroke:var(--bvh-brand);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:1000px){.bvh-quick__grid{grid-template-columns:1fr 1fr;}.bvh-quick a{border-top:1px solid var(--bvh-line);}}
@media(max-width:620px){.bvh-quick__grid{grid-template-columns:1fr;}}

/* ================= Zielgruppenwege ================= */
.bvh-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:clamp(20px,2.2vw,32px);align-items:stretch;}
.bvh-path{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;text-decoration:none;color:inherit;background:#fff;padding:clamp(34px,3vw,48px) clamp(30px,3vw,46px) clamp(52px,4.5vw,68px);transition:background .35s var(--bvh-ease),transform .5s var(--bvh-ease);}
.bvh-path:hover{background:var(--bvh-green-tint);border-color:var(--bvh-green-tint);transform:translateY(-4px);}
.bvh-path h3{margin:22px 0 16px;font-size:clamp(21px,1.8vw,27px);color:var(--bvh-brand);line-height:1.25;}
.bvh-path p{margin:0 0 28px;color:var(--bvh-muted);max-width:42ch;font-size:17px;}
.bvh-path--lead{background:var(--bvh-brand);border-color:var(--bvh-brand);color:#fff;}
.bvh-path--lead:hover{background:var(--bvh-brand);}
.bvh-path--lead h3{color:#fff;font-size:clamp(24px,2.3vw,34px);}
.bvh-path--lead p{color:rgba(255,255,255,.82);}
.bvh-path--lead .bvh-link{color:#fff;}
.bvh-path__stack{display:grid;gap:clamp(24px,3vw,40px);grid-auto-rows:1fr;}
@media(max-width:820px){.bvh-paths{grid-template-columns:1fr;grid-auto-rows:auto;}}

/* ================= Musterschreiben-Editor ================= */
.bvh-editor{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(40px,5vw,80px);align-items:start;}
.bvh-editor__form{display:grid;gap:24px;}
.bvh-editor__row{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.bvh-editor__actions{display:flex;flex-wrap:wrap;gap:14px;}
.bvh-editor__cat{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:4px;}
.bvh-letter{position:relative;background:#fff;border:1px solid var(--bvh-line);box-shadow:var(--bvh-shadow);padding:clamp(30px,3.5vw,54px);font-size:14px;line-height:1.7;color:var(--bvh-ink);}
.bvh-letter__head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--bvh-line);margin-bottom:30px;}
.bvh-letter__sender{font-size:12px;line-height:1.6;color:var(--bvh-muted);}
.bvh-letter__sender strong{display:block;color:var(--bvh-ink);font-size:14px;font-weight:700;margin-bottom:3px;}
.bvh-letter__mark{display:flex;align-items:flex-start;gap:12px;font-size:12px;color:var(--bvh-brand);text-align:right;line-height:1.4;font-weight:600;}
.bvh-letter__mark svg{width:30px;height:30px;flex:none;}
.bvh-letter__to{margin-bottom:32px;white-space:pre-line;}
.bvh-letter__date{text-align:right;color:var(--bvh-muted);font-size:12px;margin-bottom:28px;}
.bvh-letter__subject{font-weight:700;margin-bottom:22px;}
.bvh-letter__body p{margin:0 0 15px;}
.bvh-letter__sign{margin-top:30px;}
.bvh-letter__foot{margin-top:28px;padding-top:14px;border-top:1px solid var(--bvh-line);font-size:11px;color:var(--bvh-muted);line-height:1.6;}
.bvh-letter mark{background:var(--bvh-accent-050);color:var(--bvh-accent-700);padding:0 4px;box-shadow:inset 0 -2px 0 var(--bvh-accent-150);}
@media(max-width:960px){.bvh-editor{grid-template-columns:1fr;}.bvh-editor__row{grid-template-columns:1fr;}}

/* ================= Vertrauensregister ================= */
.bvh-registerbar{display:grid;grid-template-columns:minmax(0,1fr) auto;background:transparent;max-width:none;}
.bvh-registerbar input{border:0;background:transparent;font-size:19px;padding:19px 22px;width:100%;color:var(--bvh-ink);font-family:inherit;}
.bvh-registerbar input:focus{outline:none;}
.bvh-registerbar .bvh-btn{border:0;}

.bvh-entries{margin-top:52px;border-top:1px solid var(--bvh-line);}
.bvh-entry{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:32px;align-items:center;padding:28px 0 28px 22px;border-bottom:1px solid var(--bvh-line);border-left:3px solid transparent;text-decoration:none;color:inherit;transition:background .3s var(--bvh-ease),border-left-color .3s var(--bvh-ease);}
.bvh-entry:hover{background:var(--bvh-tint);border-left-color:var(--bvh-brand);}
.bvh-entry--warn:hover{border-left-color:var(--bvh-signal);}
.bvh-entry__name{font-size:21px;font-weight:700;color:var(--bvh-brand);margin:0 0 7px;line-height:1.3;}
.bvh-entry__no{color:var(--bvh-muted);margin:0;font-size:14px;}
.bvh-entry__status{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;}
.bvh-entry__status::before{content:"";width:10px;height:10px;background:currentColor;flex:none;}
.bvh-entry__status--ok{color:var(--bvh-positive);}
.bvh-entry__status--warn{color:var(--bvh-signal);}
.bvh-entry__status--open{color:var(--bvh-link);}
.bvh-entry__meta{font-size:14px;color:var(--bvh-muted);margin:7px 0 0;}
.bvh-entry__go{color:var(--bvh-brand);font-size:14px;font-weight:600;white-space:nowrap;letter-spacing:.03em;}
@media(max-width:900px){.bvh-entry{grid-template-columns:1fr;gap:12px;}.bvh-entry__go{display:none;}}

/* ================= Anwaltssuche ================= */
.bvh-lawyer{display:grid;grid-template-columns:340px minmax(0,1fr);gap:clamp(32px,4vw,64px);align-items:start;}
.bvh-lawyer__filters{display:grid;gap:26px;background:var(--bvh-tint);padding:38px 34px;position:sticky;top:180px;}
.bvh-lawyer__results{border-top:1px solid var(--bvh-line);}
.bvh-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:26px;align-items:center;padding:26px 0;border-bottom:1px solid var(--bvh-line);text-decoration:none;color:inherit;transition:;}
.bvh-card:hover{}
.bvh-card__avatar{width:76px;height:76px;background:var(--bvh-brand);color:#fff;display:grid;place-items:center;font-weight:700;font-size:22px;overflow:hidden;flex:none;}
.bvh-card__avatar img{width:100%;height:100%;object-fit:cover;}
.bvh-card h3{margin:0 0 5px;font-size:20px;color:var(--bvh-brand);line-height:1.3;}
.bvh-card__meta{font-size:15px;color:var(--bvh-muted);margin:0;}
.bvh-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.bvh-tag{font-size:13px;color:var(--bvh-brand);border:1px solid var(--bvh-line);padding:5px 11px;background:#fff;}
@media(max-width:1000px){.bvh-lawyer{grid-template-columns:1fr;}.bvh-lawyer__filters{position:static;}.bvh-card{grid-template-columns:auto minmax(0,1fr);}.bvh-card__go{display:none;}}

/* ================= Teaser ================= */
.bvh-teasers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,2.4vw,32px);align-items:stretch;}
.bvh-teaser{display:flex;flex-direction:column;text-decoration:none;color:inherit;position:relative;}
.bvh-teaser__media{aspect-ratio:4/3;overflow:hidden;position:relative;background:#0B4B4D;isolation:isolate;}
.bvh-teaser__media img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.1);mix-blend-mode:screen;transition:transform .8s var(--bvh-ease);}
.bvh-teaser__media::after{content:"";position:absolute;inset:0;z-index:2;background:#9DF7EF;mix-blend-mode:multiply;}
.bvh-teaser:hover .bvh-teaser__media img{transform:scale(1.06);}
.bvh-teaser__cap{flex:1;display:flex;flex-direction:column;background:var(--bvh-wash);padding:24px 26px 44px;clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),0 100%);transition:background .35s var(--bvh-ease);}
.bvh-teaser:hover .bvh-teaser__cap{background:var(--bvh-accent-050);}
.bvh-teaser__cap p.bvh-kicker{margin:0 0 10px;color:var(--bvh-brand);}
.bvh-teaser__cap h3{margin:auto 0 0;font-size:19px;line-height:1.35;color:var(--bvh-brand);}
@media(max-width:1040px){.bvh-teasers{grid-template-columns:1fr 1fr;}}
@media(max-width:580px){.bvh-teasers{grid-template-columns:1fr;}}

/* ================= Redaktion ================= */
.bvh-editorial{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(32px,4vw,64px);align-items:start;}
.bvh-feature{display:block;text-decoration:none;color:inherit;}
.bvh-feature__media{aspect-ratio:16/10;overflow:hidden;margin-bottom:26px;background:#0B4B4D;isolation:isolate;position:relative;}
.bvh-feature__media img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.1);mix-blend-mode:screen;transition:transform .8s var(--bvh-ease);}
.bvh-feature__media::after{content:"";position:absolute;inset:0;background:#9DF7EF;mix-blend-mode:multiply;}
.bvh-feature:hover .bvh-feature__media img{transform:scale(1.05);}
.bvh-feature h3{font-size:clamp(22px,2vw,29px);line-height:1.25;margin:0 0 16px;color:var(--bvh-brand);}
.bvh-feature p{color:var(--bvh-muted);margin:0;max-width:46ch;font-size:17px;}
.bvh-list{display:grid;border-top:1px solid var(--bvh-line);}
.bvh-list a{display:block;padding:24px 0;border-bottom:1px solid var(--bvh-line);text-decoration:none;color:inherit;transition:;}
.bvh-list a:hover{}
.bvh-list h4{font-size:18px;font-weight:700;line-height:1.35;margin:0;color:var(--bvh-brand);}
@media(max-width:960px){.bvh-editorial{grid-template-columns:1fr;}}

/* ================= Mitgliedschaft ================= */
.bvh-join{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,5vw,80px);align-items:start;}
.bvh-benefits{list-style:none;margin:36px 0 0;padding:0;display:grid;}
.bvh-benefits li{display:grid;grid-template-columns:auto 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--bvh-line);font-size:17px;color:var(--bvh-ink);}
.bvh-benefits li::before{content:"";width:11px;height:11px;margin-top:11px;background:var(--bvh-brand);}
.bvh-calcwrap{position:relative;}
.bvh-calc{position:relative;z-index:1;background:var(--bvh-brand);color:#fff;padding:clamp(34px,3.5vw,50px);}
.bvh-calcwrap>.bvh-frame{inset:44px -44px auto auto;width:100%;height:100%;z-index:0;}
.bvh-calc h3{color:#fff;font-size:21px;margin:0 0 28px;}
.bvh-switch{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(255,255,255,.35);margin-bottom:30px;}
.bvh-switch button{background:transparent;border:0;color:rgba(255,255,255,.8);font-family:'Fira Sans',sans-serif;font-size:16px;font-weight:500;padding:16px 12px;cursor:pointer;transition:background .25s var(--bvh-ease),color .25s var(--bvh-ease);}
.bvh-switch button[aria-pressed="true"]{background:var(--bvh-green-tint);color:var(--bvh-brand);font-weight:600;}
.bvh-calc .bvh-field label{color:rgba(255,255,255,.85);}
.bvh-calc .bvh-field select{background-color:rgba(255,255,255,.10);border-color:rgba(255,255,255,.35);color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");}
.bvh-calc .bvh-field select option{color:var(--bvh-ink);}
.bvh-calc__out{margin-top:32px;padding-top:28px;border-top:1px solid rgba(255,255,255,.28);}
.bvh-calc__price{font-size:clamp(38px,4.4vw,52px);font-weight:700;line-height:1;color:#fff;margin:0;letter-spacing:-.01em;}
.bvh-calc__price span{font-size:18px;font-weight:400;color:rgba(255,255,255,.72);margin-left:12px;}
.bvh-calc__rows{margin-top:24px;display:grid;gap:12px;font-size:15px;color:rgba(255,255,255,.8);}
.bvh-calc__rows div{display:flex;justify-content:space-between;gap:16px;}
.bvh-calc .bvh-note{color:rgba(255,255,255,.7);}
@media(max-width:960px){.bvh-join{grid-template-columns:1fr;}}

/* ================= Abschlussband ================= */
.bvh-band{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(24px,4vw,56px);align-items:center;}
.bvh-band h2{margin:0;max-width:24ch;}
@media(max-width:960px){.bvh-band{grid-template-columns:1fr;}}

/* ================= Block-Integration ================= */
.wp-site-blocks>*,main.wp-block-group,main.wp-block-group>*,.bvh-section>*,.bvh-hero>*{max-width:none;}
.bvh-shell.bvh-shell{width:min(var(--bvh-shell),100%);max-width:none;margin-inline:auto;}
main.wp-block-group,main.wp-block-group>*{margin-block:0;}
.bvh-section>.bvh-shell>*{margin-block-start:0;}
.bvh-section>.bvh-shell>*+*{margin-block-start:clamp(44px,4vw,60px);}
.bvh-section>.bvh-shell>.bvh-sechead+*{margin-block-start:0;}
.bvh-hero .bvh-shell{position:relative;}
main.wp-block-group>*:last-child{margin-bottom:0;}
.bvh-footer{margin-top:0;}
