/* UI 2027 Kit — Warmweiss / Ink / Markenakzent. Laedt NACH der Haupt-CSS. */
:root{--blue:#5C7A64;--blue-dark:#425a49;--blue-light:#EAF0EB;--blue-mid:#b9ccbf;--primary:#5C7A64;--primary-hover:#425a49;--primary-light:#EAF0EB;--primary-dark:#425a49;--accent-2:#425a49;
 --indigo:#5C7A64;--indigo-light:#EAF0EB;--purple:#5C7A64;--purple-light:#EAF0EB;
 --text:#182326;--bg:#FAFAF7;--bg-2:#F3F3EE;--bg-3:#ECECE6;--surface:#F3F3EE;--surface-2:#ECECE6;--border:#DDDED8;
 --radius:8px;--radius-sm:6px;--radius-md:10px;--radius-lg:12px;--ink:#182326;--serif:'Fraunces',Georgia,serif;--shadow-sm:none;}
body{background:var(--bg);color:var(--text)}
h1,h2,.section-title,.hero-v2 h1,.hero h1{font-family:var(--serif);font-weight:500;letter-spacing:-.015em}
h1 em,h1 .hl,h1 .hl-blue,h1 .hl-green,h1 .highlight,h1 .hero-hl,h1 .text-accent,h1 span.accent{font-style:italic;color:#5C7A64;background:none;-webkit-text-fill-color:#5C7A64}
.site-header{background:#FAFAF7;border-bottom:1px solid var(--border);backdrop-filter:none}
.logo-text,.site-logo .logo-text{font-family:var(--serif)}
.logo-icon,.logo-badge,.site-logo svg{filter:grayscale(1) brightness(.4)}
.btn{border-radius:8px}
.btn-primary,.btn-cta{background:#182326;border-color:#182326;color:#fff}
.btn-primary:hover,.btn-cta:hover{background:#5C7A64;border-color:#5C7A64;box-shadow:none}
.btn-outline,.btn-ghost{border-color:#182326;color:#182326;background:transparent}
.btn-outline:hover,.btn-ghost:hover{background:#182326;color:#fff;border-color:#182326}
.hero-badge,.hero-eyebrow{background:transparent!important;border:0!important;padding:0!important;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#626C69!important}
.site-footer{background:#182326!important;color:#c3cdca}
.site-footer a{color:#c3cdca}.site-footer a:hover{color:#fff}
[class*="-card"],.rechner-card,.card{border-radius:10px;box-shadow:none}

:root{--blue:#5C7A64;--blue-d:#425a49;--green:#5C7A64;--text:#182326;--muted:#626C69;--border:#DDDED8;--bg2:#F3F3EE;--bg3:#ECECE6;--radius:8px}
body{background:#FAFAF7}
.hero{background:#FAFAF7!important;position:relative;overflow:hidden;padding:64px 20px 72px}
.hero::before{content:"";position:absolute;top:0;bottom:0;right:0;left:52%;background:url(/assets/img/ui-hero.webp) center 45%/cover no-repeat}
.hero::after{content:"";position:absolute;top:0;bottom:0;right:0;left:52%;background:linear-gradient(90deg,#FAFAF7 0,rgba(250,250,247,0) 24%)}
.hero-inner{position:relative;z-index:2}
.hero h1{color:#182326;font-family:var(--serif);font-weight:500;font-size:clamp(38px,4.4vw,60px);line-height:1.06;letter-spacing:-.015em}
.hero-sub{color:#626C69}
.hero-label{background:transparent!important;border:0!important;color:#626C69!important;padding:0!important;letter-spacing:.12em}
.btn-primary{background:#182326;color:#fff;border-color:#182326}.btn-primary:hover{background:#5C7A64;border-color:#5C7A64}
.hero .btn-outline{background:transparent;color:#182326;border-color:#182326}.hero .btn-outline:hover{background:#182326;color:#fff;border-color:#182326}
.hero-card{background:#fff;border:1px solid #DDDED8;border-radius:12px;box-shadow:0 18px 44px rgba(24,35,38,.16)}
.hero-video-bg,.hero-bg-video{display:none}
@media(max-width:900px){.hero::before,.hero::after{top:auto;left:0;height:200px;opacity:.3}}

@media(max-width:700px){.header-actions .btn,.header-actions .btn-primary{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.site-footer .logo-icon,.site-footer .logo-badge,.site-footer svg,.logo-light svg{filter:none}


/* UI 2027 generischer Mega-Menue-Panel */
.ui-megax{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #DDDED8;border-bottom:1px solid #DDDED8;box-shadow:0 24px 48px rgba(24,35,38,.12);z-index:1200}
.ui-megax[hidden]{display:none}
.ui-megax-grid{max-width:1240px;margin:0 auto;padding:26px 24px 30px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:26px}
.ui-megax-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.ui-megax-h{font-family:'Fraunces',Georgia,serif;font-size:18px;font-weight:600;color:#182326}
.ui-megax-l{font-size:14.5px;color:#4a5a5e;line-height:1.4}
.ui-megax-l:hover,.ui-megax-h:hover{color:var(--blue,var(--primary,var(--accent,#2F5D46)))}
.ui-megax-btn{display:inline-block;background:#182326;color:#fff!important;padding:12px 18px;border-radius:8px;text-align:center;font-weight:600}
.ui-megax-cta{justify-content:flex-end}
@media(max-width:1099px){.ui-megax{display:none!important}}

/* UI 2027 Inhaltsverzeichnis */
.ui-toc{margin:1.5rem 0 2rem;border:1px solid #DDDED8;border-radius:10px;background:#F7F7F3}
.ui-toc summary{cursor:pointer;padding:14px 18px;font-weight:700;font-size:15px;color:#182326;list-style:none}
.ui-toc ol{margin:0;padding:0 18px 16px 38px;display:grid;gap:6px;font-size:15px}
.ui-toc a{color:#2c3b3f}.ui-toc a:hover{text-decoration:underline}
html{scroll-padding-top:90px}
