/* Three isolated homepage studies. Original V7 styles and content stay intact. */
html body.v7.v6-home-approved.mg-modern { --study-nav:#24354d; --study-nav-text:#f7f5ef; }
html body.v7.mg-modern .mg-nav-bar { background:var(--study-nav)!important; color:var(--study-nav-text); }
html body.v7.mg-modern .mg-nav-bar::before { background:var(--study-nav); box-shadow:0 0 0 100vmax var(--study-nav); }
html body.v7.mg-modern .mg-nav-bar::after { background:#a4925060; }
html body.v7.mg-modern .mg-nav-bar .mg-top-link { font:500 15px/1.5 'DM Sans',Arial,sans-serif; letter-spacing:.005em; color:var(--study-nav-text); }
html body.v7.mg-modern .mg-nav-bar :is(.mg-nav-location,.mg-nav-phone,.mg-search-open,.mg-mobile-menu) { color:var(--study-nav-text); }
html body.v7.mg-modern .mg-nav-phone { font-family:'DM Sans',Arial,sans-serif; }
html body.v7.mg-modern .study-nav-contact { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:10px 15px; border:1px solid #b8a76a; border-radius:4px; color:#17243c; background:#c4b47c; font:500 13px/1.4 'DM Sans',Arial,sans-serif; white-space:nowrap; text-decoration:none; }
html body.v7.mg-modern .study-nav-contact {transition:background-color .18s ease,color .18s ease,border-color .18s ease;}
html body.v7.mg-modern .study-nav-contact:is(:hover,:focus-visible) {background:#17243c!important;color:#fff!important;border-color:#17243c!important;}
html body.v7.mg-modern .mg-nav-contact-row { gap:12px; }
html body.v7.mg-modern #kontakt { scroll-margin-top:96px; }
html body.v7.mg-modern .mg-experience-heading { justify-content:flex-start; }
html body.v7.mg-modern .mg-main-links { gap:26px; }
html body.v7.mg-modern .mg-nav-bar .mg-top-link[aria-current] { border-bottom-width:2px; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] { border-color:#a4925060; border-radius:0!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero]::before { height:2px; top:-1px; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] [data-v7-copy] { padding:48px!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-site-logo { max-width:440px!important; padding:0!important; box-shadow:none; background:transparent!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-brand { margin-bottom:42px!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] h1 { font-size:clamp(48px,5.2vw,76px)!important; line-height:1.02!important; font-weight:500!important; letter-spacing:-.025em; margin-bottom:26px!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-subtitle { font:400 19px/1.65 'DM Sans',Arial,sans-serif!important; color:#d8dee7!important; margin-bottom:30px!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-cta { font:500 15px/1.4 'DM Sans',Arial,sans-serif!important; padding:15px 22px!important; min-height:54px!important; border-radius:4px!important; }
html body.v7.v6-home-approved.mg-modern .mg-home-visual { padding:56px 30px 30px 0; justify-content:center; align-content:center; }
html body.v7.v6-home-approved.mg-modern .mg-home-photo { border-radius:6px; }
html body.v7.v6-home-approved.mg-modern .mg-home-experience { font:400 24px/1.45 'DM Sans',Arial,sans-serif!important; text-align:left; min-height:0; padding:18px 0 0; margin:18px 0 0; border-top:1px solid #a4925070; text-wrap:pretty; }
html body.v7.mg-modern :is(.mg-experience-summary,.mg-experience-area) { border-radius:8px; }
html body.v7.v6-home-approved.mg-modern :is(.mg-home-practice-label,#team .v5-eyebrow,.mg-offer-intro>.v5-eyebrow) { font:500 12px/1.6 'DM Sans',Arial,sans-serif!important; letter-spacing:.14em; }
html body.v7.v6-home-approved.mg-modern :is(.mg-topic-card,.v5-person-card) { border-radius:8px!important; }
html body.v7.v6-home-approved.mg-modern .mg-topic-card { box-shadow:none!important; }
html body.v7.v6-home-approved.mg-modern :is(.mg-topic-overview,.v5-text-link,.mg-home-knowledge-button) { font-family:'DM Sans',Arial,sans-serif!important; font-size:15px!important; }
/* 02: a light navigation band above a navy, softly framed introduction. */
html body.v7.v6-home-approved.mg-modern.modern-02,
html body.v7.v6-home-approved.mg-modern.modern-03 { --study-nav:#fdfcf9; --study-nav-text:#17243c; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-home-hero[data-v7-hero] { border:0; border-radius:14px!important; box-shadow:none!important; clip-path:none!important; margin-block:28px!important; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-home-hero::before { display:none; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-home-hero[data-v7-hero] .mg-home-cta { background:#c4b47c!important; border-color:#c4b47c!important; color:#17243c!important; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-home-cta span { color:#17243c!important; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-home-photo { border-radius:10px; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-experience { background:#fff; border-top:1px solid #e7e3d9; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-experience-summary { background:#f2f3f4; color:#17243c; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-experience-summary .mg-counter-context { color:#596477; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-experience-summary .mg-counter+.mg-counter { border-color:#d7dce2; }
html body.v7.v6-home-approved.mg-modern.modern-02 .mg-experience-summary .mg-counter-plus { color:#89773b; }
/* 03: a pale editorial opening; navy continues in the following sections. */
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero[data-v7-hero] { background:#fbfaf7!important; color:#17243c!important; border:0; border-bottom:1px solid #c8bc97; box-shadow:none!important; clip-path:none!important; margin-block:24px 32px!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero::before { display:none; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero[data-v7-hero] h1 { color:#17243c!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero[data-v7-hero] h1 span { color:#8c793c!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero[data-v7-hero] .mg-home-subtitle { color:#556074!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-hero[data-v7-hero] .mg-home-cta { background:#17243c!important; color:#fff!important; border-color:#17243c!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-experience { color:#556074!important; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-home-photo { border-radius:2px; }
html body.v7.v6-home-approved.mg-modern.modern-03 .mg-experience-inner { padding-top:20px; }
html body.v7.v6-home-approved.mg-modern.modern-03 :is(.mg-experience-area,.mg-experience-summary,.mg-topic-card,.v5-person-card) { border-radius:2px!important; }
/* A small, separate review control; not part of the proposed public website. */
.study-switch { position:fixed; z-index:1300; bottom:14px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:4px; padding:5px; background:#fffdf9; border:1px solid #cfc5aa; border-radius:9px; box-shadow:0 6px 26px #17243c26; font:500 12px/1.4 'DM Sans',Arial,sans-serif; white-space:nowrap; }
.study-switch a { color:#17243c; padding:9px 12px; min-height:36px; text-decoration:none; border-radius:5px; }
.study-switch a[aria-current] { background:#17243c; color:#fff; }
.study-switch a:hover { outline:1px solid #a49250; }
.study-switch span { padding:0 8px; color:#65707f; }
html body.v7.mg-modern .mg-shared-footer { padding-bottom:90px; }
@media(max-width:1250px) and (min-width:951px) { html body.v7.mg-modern .mg-main-links { gap:16px; } html body.v7.mg-modern .mg-nav-bar .mg-top-link { font-size:14px; } }
@media(max-width:1400px) and (min-width:951px) {
 html body.v7.mg-modern .mg-nav-inner { grid-template-columns:0 minmax(0,1fr) auto; gap:12px; }
 html body.v7.mg-modern :is(.mg-nav-location,.mg-nav-logo) { display:none; }
 html body.v7.mg-modern .mg-main-links { gap:14px; justify-content:flex-start; }
}
@media(max-width:1100px) {
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] [data-v7-copy] { padding:36px!important; }
 html body.v7.v6-home-approved.mg-modern .mg-home-visual { padding:36px 24px 26px 0; }
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] h1 { font-size:clamp(42px,5vw,62px)!important; }
}
@media(max-width:950px) {
 html body.v7.mg-modern .mg-nav-inner { grid-template-columns:minmax(0,1fr) auto; }
 html body.v7.mg-modern .mg-nav-utility { grid-column:2; }
 html body.v7.mg-modern :is(.mg-nav-location,.mg-nav-logo) { display:none; }
 html body.v7.mg-modern .mg-main-links { gap:0; }
 html body.v7.mg-modern .mg-nav-bar.is-enhanced .mg-main-links { background:var(--study-nav); }
 html body.v7.mg-modern .mg-main-links>li { border-color:#a4925040; }
 html body.v7.mg-modern .mg-nav-bar .mg-top-link { font-size:16px; }
}
@media(max-width:760px) {
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] [data-v7-copy] { padding:30px 22px!important; }
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-brand { margin-bottom:30px!important; }
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] h1 { font-size:clamp(42px,10vw,60px)!important; }
 html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-subtitle { font-size:17px!important; }
 html body.v7.v6-home-approved.mg-modern .mg-home-visual { padding:0 22px 28px; }
 html body.v7.v6-home-approved.mg-modern .mg-home-experience { font-size:18px!important; min-height:0; padding:15px 0 0; }
 .study-switch { bottom:8px; max-width:calc(100% - 16px); gap:0; }
 .study-switch span { display:none; } .study-switch a { padding:9px 10px; }
}

@media(max-width:380px){body.mg-modern .study-switch a{padding-inline:6px!important;}}

/* Compact footer: a small firm signature and consistently aligned link columns. */
html body.v7.mg-modern .mg-shared-footer {padding-top:44px;padding-inline:max(40px,calc((100% - 1440px)/2));}
html body.v7.mg-modern .mg-shared-footer .mg-footer-main {grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(48px,6vw,96px);align-items:start;max-width:1120px;margin-inline:auto;}
html body.v7.mg-modern .mg-shared-footer .mg-footer-identity {max-width:none;text-align:left;}
html body.v7.mg-modern .mg-shared-footer .mg-footer-identity .mg-footer-logo {width:260px;max-width:100%;margin-left:0;margin-right:auto;}
html body.v7.mg-modern .mg-shared-footer .mg-footer-identity .mg-footer-contact {margin-top:24px;padding-top:0;}
html body.v7.mg-modern .mg-shared-footer :is(.mg-footer-navigation,.mg-footer-contact) {padding-top:6px;gap:12px;align-items:flex-start;text-align:left;}
html body.v7.mg-modern .mg-shared-footer :is(.mg-footer-navigation h2,.mg-footer-contact h2) {margin:0 0 12px;}
html body.v7.mg-modern .mg-shared-footer .mg-footer-contact address {gap:4px;margin:0;}
html body.v7.mg-modern .mg-shared-footer .mg-footer-bottom {margin-top:32px;}
@media(min-width:1101px){
 html body.v7.mg-modern .mg-shared-footer .mg-footer-main {--footer-outer-shift:clamp(0px,calc((100vw - 1200px)/2),48px);}
 html body.v7.mg-modern .mg-shared-footer .mg-footer-main>:first-child {position:relative;left:calc(-1 * var(--footer-outer-shift));}
 html body.v7.mg-modern .mg-shared-footer .mg-footer-main>:last-child {position:relative;left:var(--footer-outer-shift);}
}
@media(max-width:1100px){
 html body.v7.mg-modern .mg-shared-footer .mg-footer-main {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;}
 html body.v7.mg-modern .mg-shared-footer .mg-footer-identity {grid-column:1/-1;}
}
@media(max-width:700px){
 html body.v7.mg-modern .mg-shared-footer {padding:36px 24px 70px;}
 html body.v7.mg-modern .mg-shared-footer .mg-footer-main {grid-template-columns:minmax(0,1fr);gap:28px;}
 html body.v7.mg-modern .mg-shared-footer :is(.mg-footer-navigation,.mg-footer-contact) {padding-top:0;}
}

/* Consistent navy hover for the first consultation button in every variant. */
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-cta:is(:hover,:focus-visible) {
 background:#17243c!important;color:#fff!important;border-color:#c4b47c!important;
}
html body.v7.v6-home-approved.mg-modern .mg-home-hero[data-v7-hero] .mg-home-cta:is(:hover,:focus-visible) span {color:#fff!important;}
html body.v7.mg-modern .v6-field-icon .mg-family-icon {display:block;width:32px;height:32px;flex:none;}
