/* Übertragung der freigegebenen Vorschau auf die vorhandenen CMS-Abschnitte. */
html[data-design-system] .vg-reference-home{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);column-gap:32px;width:min(1160px,calc(100% - 48px));margin:auto;background:var(--vg-page);overflow:visible;color:var(--vg-text)}
html[data-design-system] .vg-reference-home>.hero{grid-column:1/-1;grid-row:1;position:relative;display:block;min-height:520px;width:100vw;margin-left:calc(50% - 50vw);padding:72px max(24px,calc((100vw - 1160px)/2)) 100px;background:linear-gradient(90deg,#052314df,#05231455 65%,#05231415),url('../uploads/tenant-content/am_ostbach/about-main.webp') center 55%/cover;color:white}
html[data-design-system] .vg-reference-home>.hero::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:78px;background:url('../images/design/home-wave.svg') center bottom/100% 100% no-repeat}
html[data-design-system] .vg-reference-home .hero-left{padding:0;max-width:800px;display:block;background:transparent;position:relative;z-index:1}
html[data-design-system] .vg-reference-home .hero-headline{font-family:Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(38px,5vw,65px);line-height:1.15;letter-spacing:-.035em;margin:20px 0 24px;color:white}
html[data-design-system] .vg-reference-home .hero-headline em{color:white;font-style:inherit}
html[data-design-system] .vg-reference-home .hero-motto{color:#f2f7ed;font-size:20px;line-height:1.6;max-width:610px}
html[data-design-system] .vg-reference-home .hero-eyebrow{color:#dfebd5;font-size:12px;text-transform:uppercase;letter-spacing:.12em}
html[data-design-system] .vg-reference-home .hero-eyebrow .line{display:none}
html[data-design-system] .vg-reference-home .hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:28px}
html[data-design-system] .vg-reference-home .hero-actions a{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:1px solid #afcba4;border-radius:999px;background:#307b39;color:white;font:600 16px/1.5 var(--vg-font-body);text-decoration:none}
html[data-design-system] .vg-reference-home .hero-actions a.btn-secondary{background:#062a1d55;border-color:#ffffffb3}
html[data-design-system] .vg-reference-home .hero-stats{display:flex;gap:28px;margin-top:28px;padding:0;border:0;color:white}
html[data-design-system] .vg-reference-home .stat-num{font-size:23px;color:white}.vg-reference-home .stat-label{color:#e1ebdc;font-size:12px}
/* Das alte rechte Bild ist durch das identische Motiv als Hintergrund ersetzt. */
html[data-design-system] .vg-reference-home .hero-right,html[data-design-system] .vg-reference-home>.wave-divider{display:none}
html[data-design-system] .vg-home-quick{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 52px}
html[data-design-system] .vg-home-quick a{display:flex;flex-direction:column;padding:24px;background:var(--vg-soft);border:1px solid var(--vg-border);border-radius:8px;text-decoration:none;color:var(--vg-primary)}
html[data-design-system] .vg-home-quick a:hover{background:#e0ecdd}.vg-home-quick strong{font-size:19px;margin:12px 0 4px}.vg-home-quick a>span:last-child{font-size:14px;line-height:1.6}
.vg-home-icon{display:grid;place-items:center;width:44px;height:44px;background:var(--vg-primary);color:white;border-radius:50%;font-size:28px}
html[data-design-system] .vg-reference-home>.section-about{grid-column:1;grid-row:3;padding:8px 0 32px;background:transparent}
html[data-design-system] .vg-reference-home .container{width:100%;max-width:none;padding:0;margin:0}
html[data-design-system] .vg-reference-home .about-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);gap:24px}
html[data-design-system] .vg-reference-home .section-label{font:700 12px/1.5 var(--vg-font-body);text-transform:uppercase;letter-spacing:.1em;color:var(--vg-primary);margin-bottom:12px}
html[data-design-system] .vg-reference-home .section-label .line{display:none}
html[data-design-system] .vg-reference-home .about-headline{font:700 34px/1.2 var(--vg-font-heading);margin:0 0 24px;color:var(--vg-primary)}
html[data-design-system] .vg-reference-home .about-headline em{font-style:normal;color:inherit}
html[data-design-system] .vg-reference-home .about-text{font:17px/1.7 var(--vg-font-body);color:var(--vg-muted)}
html[data-design-system] .vg-reference-home .about-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
html[data-design-system] .vg-reference-home .highlight-card{background:var(--vg-soft);border:1px solid var(--vg-border);border-radius:8px;padding:16px}
html[data-design-system] .vg-reference-home .highlight-title{font-size:15px;font-weight:700}.vg-reference-home .highlight-desc{font-size:13px;line-height:1.6}
html[data-design-system] .vg-reference-home .about-images{display:flex;flex-direction:column;gap:16px;min-height:0}
html[data-design-system] .vg-reference-home .about-img-main{min-height:300px;width:100%;border-radius:8px;background:url('../uploads/tenant-content/am_ostbach/hero-sign.webp') center/cover}
html[data-design-system] .vg-reference-home .about-img-secondary{min-height:180px;width:100%;border-radius:8px;background:url('../uploads/tenant-content/am_ostbach/about-main.webp') center/cover;position:static;box-shadow:none;border:0}
html[data-design-system] .vg-home-news{grid-column:2;grid-row:3;align-self:start;padding:28px;background:var(--vg-soft);border:1px solid var(--vg-border);border-radius:8px;margin-bottom:32px}
.vg-home-news h2{font-size:24px;margin:0 0 24px}.vg-home-news h3{font-size:18px;margin:0 0 16px}.vg-home-news h4{font-size:16px;margin:6px 0}.vg-home-news article{padding:16px 0;border-top:1px solid var(--vg-border)}.vg-home-news p{font-size:14px;color:var(--vg-muted)}.vg-home-news time{font-size:12px;color:var(--vg-muted)}.vg-home-news section+section{margin-top:28px}.vg-home-news a{color:var(--vg-primary);text-underline-offset:4px}.vg-home-textlink{font-size:14px;font-weight:600}.vg-home-eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--vg-primary);margin:0 0 10px}
html[data-design-system] .vg-reference-home>:is(.section-values,.section-cta,.section-contact,.cms-main-content){grid-column:1/-1;margin:24px 0;padding:32px;border-radius:10px;background:var(--vg-soft);border:1px solid var(--vg-border);color:var(--vg-text)}
html[data-design-system] .vg-reference-home .values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.vg-reference-home .value-title{font-size:20px}.vg-reference-home .value-desc{font-size:16px}
html[data-design-system] .vg-reference-home :is(.cta-headline,.contact-headline,.values-headline){font-size:30px;color:var(--vg-primary)}
html[data-design-system] .vg-reference-home :is(.cta-text,.contact-sub,.cta-eyebrow,.values-subline){color:var(--vg-muted);font-family:var(--vg-font-body)}
html[data-design-system] .vg-reference-home .cta-inner{text-align:left;max-width:none}.vg-reference-home .cta-buttons{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}
html[data-design-system] .vg-reference-home :is(.btn-white,.btn-outline-white){display:inline-flex;padding:10px 22px;min-height:46px;align-items:center;border:1px solid var(--vg-primary);border-radius:999px;background:var(--vg-primary);color:white;font:600 15px/1.5 var(--vg-font-body);text-decoration:none}
html[data-design-system] .vg-reference-home .btn-outline-white{background:transparent;color:var(--vg-primary)}
html[data-design-system] .vg-reference-home .contact-inner{display:grid;grid-template-columns:1.4fr 1fr;gap:32px}.vg-reference-home .contact-item{padding:8px 0;font-size:15px}
html[data-design-system] body .vg-footer-brand{display:flex;gap:16px;align-items:center;text-decoration:none;flex-basis:100%;font-size:19px;padding-bottom:20px;border-bottom:1px solid #ffffff26}
.vg-footer-brand img{object-fit:contain;background:white;border-radius:50%;padding:4px}
@media(max-width:1000px){html[data-design-system] .vg-reference-home{grid-template-columns:1fr}.vg-home-news{grid-column:1!important;grid-row:4!important}.vg-reference-home .about-grid{grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr)!important}}
@media(max-width:650px){html[data-design-system] .vg-reference-home{width:calc(100% - 32px);gap:0}html[data-design-system] .vg-reference-home>.hero{padding:40px 16px 70px;min-height:470px}.vg-reference-home .hero-headline{font-size:39px!important}.vg-reference-home .hero-motto{font-size:17px!important}.vg-reference-home .hero-stats{gap:20px!important}.vg-home-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:28px!important}.vg-home-quick a{padding:16px!important}.vg-home-quick strong{font-size:16px}.vg-home-quick a>span:last-child{font-size:12px}.vg-reference-home .about-grid{display:block!important}.vg-reference-home .about-images{margin-top:24px}.vg-reference-home .about-img-main{min-height:220px!important}.vg-reference-home .about-img-secondary{display:none}.vg-reference-home .values-grid,.vg-reference-home .contact-inner{grid-template-columns:1fr!important}.vg-home-news{padding:22px!important}.vg-reference-home>:is(.section-values,.section-cta,.section-contact){padding:24px!important;margin:16px 0!important}}
/* Gleiche Komposition für Demo, mit neutralem Motiv und mandanteneigenen Tokens. */
html[data-design-system] .homepage-builder:has(.vg-demo-hero){width:min(1160px,calc(100% - 48px));padding-top:0}
.vg-demo-hero{position:relative;width:100vw;margin-left:calc(50% - 50vw);min-height:510px;overflow:hidden;background:#e5ebf0;display:flex;align-items:center;padding:64px max(24px,calc((100vw - 1160px)/2)) 100px}
.vg-demo-hero>.vg-neutral-art{position:absolute;inset:0;margin:0;border-radius:0;opacity:.8}.vg-demo-hero .vg-neutral-art img{height:100%;max-height:none;object-fit:cover;object-position:70% center}
.vg-demo-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7f8faf2,#f7f8fa9e 55%,transparent)}
.vg-demo-hero-copy{position:relative;z-index:1;max-width:680px}.vg-demo-hero-copy h1{font:500 italic clamp(38px,5vw,65px)/1.15 Georgia,serif;letter-spacing:-.035em;margin:20px 0 24px}.vg-demo-hero-copy>p{font-size:20px}.vg-demo-hero-copy .vg-home-eyebrow{font-size:12px}
.vg-demo-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:28px}.vg-demo-actions a{display:inline-flex;align-items:center;min-height:48px;padding:10px 24px;border:1px solid var(--vg-primary);border-radius:999px;background:var(--vg-primary);color:white;text-decoration:none;font-weight:600;font-size:16px}.vg-demo-actions a+a{background:transparent;color:var(--vg-primary)}
.vg-demo-wave{position:absolute;bottom:-1px;left:0;width:100%;height:78px;z-index:2}
html[data-design-variant="neutral"] .vg-home-quick a:hover{background:#e1e8ef}
@media(max-width:650px){html[data-design-system] .homepage-builder:has(.vg-demo-hero){width:calc(100% - 32px)}.vg-demo-hero{padding:40px 16px 80px;min-height:440px}.vg-demo-hero-copy h1{font-size:39px}.vg-demo-hero-copy>p{font-size:17px}.vg-demo-wave{height:48px}}
/* Eigenständiges Startseitenlayout: keine Abhängigkeit mehr vom alten Landingpage-CSS. */
html[data-design-system] body.am-ostbach-homepage.is-homepage-route .app-main .app-shell{width:100%;max-width:none;padding-left:0!important;padding-right:0!important}
html[data-design-system] .vg-reference-home{box-sizing:border-box;line-height:1.65}
html[data-design-system] .vg-reference-home *{box-sizing:border-box}
html[data-design-system] body .app-main .vg-reference-home .hero-headline{color:#fff}
html[data-design-system] .vg-reference-home .hero-motto strong{color:inherit;font-weight:700}
html[data-design-system] .vg-reference-home :is(.hero-eyebrow,.section-label){display:flex;align-items:center;gap:12px}
html[data-design-system] .vg-reference-home .stat-item{display:flex;flex-direction:column;gap:2px}.vg-reference-home .stat-num{font-weight:700;line-height:1.2}.vg-reference-home .stat-label{line-height:1.5}
html[data-design-system] .vg-reference-home .about-images{position:static;height:auto;align-self:start}
html[data-design-system] .vg-reference-home .about-img-main{position:static;inset:auto;height:340px;min-height:0;box-shadow:none;border:0}
html[data-design-system] .vg-reference-home .about-img-secondary{position:static;inset:auto;height:180px;min-height:0}
html[data-design-system] .vg-reference-home .highlight-icon{font-size:22px;margin-bottom:8px}
html[data-design-system] .vg-reference-home :is(.highlight-title,.highlight-desc){color:var(--vg-text)}
html[data-design-system] .vg-reference-home .highlight-title{margin-bottom:6px}
html[data-design-system] .vg-reference-home :is(.values-header,.cta-inner){margin-bottom:24px}
html[data-design-system] .vg-reference-home .value-card{background:var(--vg-surface);border:1px solid var(--vg-border);border-radius:8px;padding:24px;color:var(--vg-text);box-shadow:none}
html[data-design-system] .vg-reference-home .value-title{color:var(--vg-primary);font-weight:700;margin:12px 0}
html[data-design-system] .vg-reference-home .value-desc{color:var(--vg-muted);line-height:1.65}
html[data-design-system] .vg-reference-home .value-icon-wrap{font-size:26px;line-height:1.3}
html[data-design-system] .vg-reference-home :is(.values-subline,.contact-sub){font-size:17px;line-height:1.65}
html[data-design-system] .vg-reference-home .contact-details{display:flex;flex-direction:column;justify-content:center;gap:8px}
html[data-design-system] .vg-reference-home .contact-details a{color:var(--vg-primary);text-underline-offset:4px}
html[data-design-system] .vg-reference-home :is(.section-values,.section-cta,.section-contact)::before,html[data-design-system] .vg-reference-home :is(.section-values,.section-cta,.section-contact)::after{content:none}
@media(max-width:650px){html[data-design-system] .vg-reference-home .about-img-main{height:230px}.vg-reference-home .about-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}
