.elementor-kit-9{--e-global-color-primary:#3E5566;--e-global-color-secondary:#5B7282;--e-global-color-text:#2E3439;--e-global-color-accent:#334757;--e-global-color-eb_muted:#646B72;--e-global-color-eb_lead:#454C52;--e-global-color-eb_sand:#F2F3F5;--e-global-color-eb_sand2:#E8EAED;--e-global-color-eb_line:#E1E4E8;--e-global-color-eb_white:#FFFFFF;--e-global-typography-primary-font-family:"EB Garamond";--e-global-typography-primary-font-weight:500;--e-global-typography-primary-line-height:1.15em;--e-global-typography-secondary-font-family:"Source Sans 3";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Source Sans 3";--e-global-typography-text-font-size:1.06rem;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.65em;--e-global-typography-accent-font-family:"Source Sans 3";--e-global-typography-accent-font-size:0.98rem;--e-global-typography-accent-font-weight:700;--e-global-typography-accent-line-height:1.2em;background-color:#FFFFFF;color:#2E3439;font-family:"Source Sans 3", Sans-serif;font-size:1.06rem;font-weight:400;line-height:1.65em;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-kit-9 a{color:#3E5566;}.elementor-kit-9 a:hover{color:#5B7282;}.elementor-kit-9 h1{color:#2E3439;font-family:"EB Garamond", Sans-serif;font-weight:500;}.elementor-kit-9 h2{color:#2E3439;font-family:"EB Garamond", Sans-serif;font-weight:500;}.elementor-kit-9 h3{color:#2E3439;font-family:"EB Garamond", Sans-serif;font-weight:500;}.elementor-kit-9 h4{font-family:"Source Sans 3", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1160px;}.e-con{--container-max-width:1160px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:900px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:560px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --eb-primary:#3e5566; --eb-primary-hover:#334757; --eb-accent:#5b7282; --eb-text:#2e3439; --eb-muted:#646b72; --eb-lead:#454c52; --eb-sand:#f2f3f5; --eb-sand2:#e8eaed; --eb-line:#e1e4e8; --eb-white:#ffffff; --eb-serif:EB Garamond; --eb-sans:Source Sans 3; --eb-max:1160px; --eb-gutter-x:max(20px, calc((100% - 1160px) / 2)); --eb-section-y:96px; --eb-section-y-sm:72px; --eb-radius:10px; --eb-radius-btn:5px; --eb-fs-h1:clamp(2.6rem, 6vw, 4.6rem); --eb-fs-h1-sub:clamp(2.4rem, 5vw, 3.8rem); --eb-fs-h2:clamp(1.9rem, 3.4vw, 2.75rem); --eb-fs-h2-sm:clamp(1.7rem, 2.8vw, 2.2rem); --eb-fs-h3:1.45rem; --eb-fs-body:1.06rem; --eb-fs-lead:1.18rem; --eb-fs-kicker:0.8rem; --eb-fs-quote:clamp(1.5rem, 2.4vw, 1.95rem); }
/* Start custom CSS *//* EB-1 Header: Theme Builder <header> wrapper out of flow so the sticky header row sticks for the whole page */
.elementor-location-header{display:contents}
/* EB-2 Anchor offset = sticky header row + "Auf dieser Seite" row (replaces site.js offset logic) */
html{scroll-behavior:smooth;scroll-padding-top:125px}
@media(max-width:1000px){html{scroll-padding-top:159px}}
@media(max-width:560px){html{scroll-padding-top:153px}}
/* EB-3 Footer reveal: page content scrolls over the standing footer */
main.site-main{position:relative;z-index:1;background:#fff;box-shadow:0 12px 30px rgba(46,52,57,.08)}
.elementor-location-footer{position:sticky;bottom:0;z-index:0}
/* EB-4 Context rules a global class cannot express */
.elementor .eb-section--sand .eb-cta{background-color:#fff}
.elementor .eb-tile:hover .eb-tile-img,.elementor .eb-tile:focus-within .eb-tile-img{filter:none;transform:scale(1.02)}
.elementor .eb-page-hero:hover .eb-hero-bg{filter:none}
.elementor .eb-subnav-link.is-active{color:#2e3439;border-bottom-color:#2e3439}
/* EB-4b Typography refinement from site.css (no V4 control for text-wrap) */
.eb-h1,.eb-h2,.eb-h3,.eb-tile-title{text-wrap:balance}.e-paragraph-base{text-wrap:pretty}.elementor .eb-band-title{text-wrap:wrap}
/* EB-4c Card headings hyphenate like site.css (.card h3) – no V4 control for hyphens */
.elementor .eb-card .eb-h3{hyphens:auto;overflow-wrap:break-word}
/* EB-5 Hero arrow animation keyframes (used by the hero arrow element) */
@keyframes ebHeroBlink{0%,100%{opacity:1;transform:translate(-50%,0)}50%{opacity:.25;transform:translate(-50%,6px)}}
/* EB-6 Touch + reduced motion */
@media(hover:none){.elementor .eb-tile-img,.elementor .eb-hero-bg{filter:none}#kosten-teaser{background-attachment:scroll}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.elementor-location-footer{position:static}#start,.elementor .eb-page-hero{position:relative}#kosten-teaser{background-attachment:scroll}}
/* EB-7 (Phase F, WCAG 2.4.7) Hello reset draws a white ring + currentColor outline on focus; white-text buttons would get an invisible white focus ring on white backgrounds → primary-coloured outline for keyboard focus only */
.elementor .eb-btn--primary:focus-visible,.elementor .elementor-button:focus-visible{outline:3px solid #3e5566;outline-offset:2px}

/* EB-A11Y (G3, owner-approved 2026-11-05) – WCAG 2.2 SC 1.4.3 contrast
   F1 subnav label: opacity 0.8 -> 1 (3.55 -> 5.40:1)
   F2 kicker on sand2 in the home comparison column: #5b7282 -> #566c7c (4.17 -> 4.55:1) */
body .elementor .subnav-label-s{opacity:1}
.elementor-159 .eb-kicker[data-id="compare-a-kicker"]{color:#566c7c}

/* EB-TAB-ICON (G3, owner-approved 2026-11-05) – KONTAKT tab envelope as in the source: white, upright.
   The tab is rotated 180deg for the vertical text, so the icon is pre-rotated 180deg; a background SVG cannot inherit currentColor, so the stroke is white. */
body .elementor .contact-tab-s,body .elementor .contact-tab-s:hover,body .elementor .contact-tab-s:focus-visible{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(180 12 12)'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/g%3E%3C/svg%3E")}
body .elementor .contact-tab-s:hover,body .elementor .contact-tab-s:focus-visible{color:var(--eb-white)} /* EB-TAB-ICON: keep the KONTAKT label white on hover/focus (overrides the Kit link-hover colour) */

/* EB-SUBNAV-SCROLLBAR (G3, owner request 2026-11-05) – hide the secondary-menu scrollbar as in the source (.menu ul{scrollbar-width:none}); links are 47px in a 46px bar */
body .elementor .subnav-s{overflow-y:hidden;scrollbar-width:none}
body .elementor .subnav-s::-webkit-scrollbar{display:none}
/* EB-MOBILE-HEADER (G3, owner request 2026-11-05) – mobile ≤767px: logo · phone number · hamburger (widget mobile-nav), full-width CTA, main links; secondary menu hidden */
@media(max-width:767px){
body .elementor .header-row-s{column-gap:8px;row-gap:14px;align-items:center;z-index:95}
body .elementor .header-cta-s{display:contents}
body .elementor .logo-s{order:1;margin-right:auto}
body .elementor .header-tel-s{order:2;width:auto;height:auto;font-size:.85rem;line-height:1.3;padding:0 0 0 23px;background-position:left center;background-size:18px 18px;white-space:nowrap}
body .elementor .header-cta-btn-s{order:4;display:flex;justify-content:center;width:100%}
body .elementor .elementor-element.elementor-element-main-nav{order:5}
body .elementor .elementor-element-mobile-nav .elementor-menu-toggle{font-size:26px}
body .elementor .subnav-s{display:none}
/* EB-MOBILE-NO-MAINNAV (owner request 2026-11-05): main links row hidden on mobile – all pages via the hamburger */
body .elementor .elementor-element.elementor-element-main-nav{display:none}
body .elementor .header-row-s{padding-bottom:16px}
}
@media(max-width:379px){body .elementor .header-tel-s{font-size:0;width:22px;height:22px;padding:0;background-size:22px 22px}}

/* EB-FOOTER-STATIC (owner request 2026-11-05) – footer reveal (sticky bottom) off where the footer is taller than the screen: ≤900px wide or ≤640px high */
@media(max-width:900px),(max-height:640px){body .elementor-location-footer{position:static}}
/* EB-FOOTER-TABLET (owner request 2026-11-05) – footer grid 2 columns on tablet (768–900px); mobile stays 1 column, >900px stays 4 */
@media(min-width:768px) and (max-width:900px){body .elementor .footer-grid-s{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* EB-SOCKET (owner request 2026-11-05) – socket links white on hover/focus (overrides the Kit link-hover colour; underline as in the source .socket a:hover); centred on mobile */
body .elementor .socket-s a:hover,body .elementor .socket-s a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){body .elementor .socket-s{justify-content:center;text-align:center}body .elementor .socket-s .socket-nav-s{justify-content:center}}
/* EB-HEADER-1024 (owner request 2026-11-05) – header row fits at 1001–1200px (CTA overflowed ~5px at 1024px): tighter gaps and nav item spacing */
@media(min-width:1001px) and (max-width:1200px){body .elementor .header-row-s{column-gap:16px}body .elementor .header-cta-s{column-gap:14px}body .elementor .elementor-element.elementor-element-main-nav{--e-nav-menu-horizontal-menu-item-margin:calc(20px / 2)}}
/* EB-ACCORDION (owner request 2026-11-05) – no border around accordion answers (Elementor nested-accordion default; the source .faq p has none) – all accordions */
body .elementor-widget-n-accordion .e-n-accordion-item > .e-con{border:0}
/* EB-POPUP-FIXED (owner request 2026-11-05) – popup is fixed full-screen from the first frame; Elementor lazy-loads dialog.min.css on first open, until then the modal sat at the page bottom and focusing its close button scrolled the page down */
.elementor-popup-modal.dialog-type-lightbox{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}

/* EB-HERO-TRUST (owner request 2026-11-17): first trust item alone on row 1, the other two share row 2 */
body .elementor .hero-trust-s > [data-id="trust-1"]{flex-basis:100%;text-align:center}
/* EB-LEI-TITLE-WIDTH (owner request 2026-11-17): wider measure for the Leistungen section heading only (eb-measure = 820px) */
body .elementor [data-id="lei-title"]{max-width:1100px}

/* EB-MOBILE-HEADER-FIT (owner request 2026-11-17): at 380-400 px (esp. desktop browsers with a classic scrollbar) logo + phone + burger needed exactly the full row and the burger wrapped; slightly smaller logo frees ~19 px */
@media(max-width:400px){body .elementor .logo-name-s{font-size:24px}body .elementor .logo-tag-s{letter-spacing:1.7px}}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'EB Garamond';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://www.erbschaft-bayern.de/wp-content/uploads/2026/11/eb-garamond-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'EB Garamond';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://www.erbschaft-bayern.de/wp-content/uploads/2026/11/eb-garamond-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'EB Garamond';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://www.erbschaft-bayern.de/wp-content/uploads/2026/11/eb-garamond-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'EB Garamond';
	font-style: italic;
	font-weight: 400;
	font-display: auto;
	src: url('https://www.erbschaft-bayern.de/wp-content/uploads/2026/11/eb-garamond-italic-latin.woff2') format('woff2');
}
/* End Custom Fonts CSS */