/* =========================================================
   Lebenshilfe Region Stendal – Hauptgestaltung
   Farben laut CD-Manual 2022
   ========================================================= */

/* ---------- Grundlagen ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Archivo,sans-serif;font-size:17px;line-height:1.7;color:#111;background:#fff;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;height:auto}
a{color:#006400}
a:hover{color:#1e8200}
h1,h2,h3,h4,h5,h6{font-family:Archivo,sans-serif;font-weight:800;line-height:1.2;color:#111;text-shadow:none}
:focus-visible{outline:3px solid #50b400;outline-offset:2px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.lh-skip{position:absolute;left:-9999px;top:0;z-index:1000;background:#006400;color:#fff;padding:10px 16px;font-weight:700}
.lh-skip:focus{left:10px;top:10px;color:#fff}
.lh-container{max-width:1140px;margin:0 auto;padding:0 15px}
.lh-main{overflow-x:clip;min-height:50vh}

/* ---------- Kopfzeile ---------- */
.lh-header{background:#fff;position:relative;z-index:100}
.lh-header-in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:85px}
.lh-brand{flex:0 0 auto}
.lh-brand .custom-logo-link{display:block}
.lh-brand .custom-logo{display:block;max-height:80px;width:auto;height:auto}
.lh-brand-text{font-weight:900;font-size:22px;color:#006400;text-decoration:none}
.lh-nav{flex:1 1 auto;display:flex;justify-content:flex-end}
/* Einfaches Menü (falls Max Mega Menu nicht aktiv ist) */
.lh-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 4px}
.lh-menu li{position:relative}
.lh-menu>li>a{display:block;padding:8px 10px;font-weight:700;font-size:16px;color:#1a1a1a;text-decoration:none;line-height:24px}
.lh-menu>li>a:hover,.lh-menu>li.current-menu-item>a,.lh-menu>li.current-menu-ancestor>a{color:#006400;box-shadow:inset 0 -4px 0 #006400}
.lh-menu ul{display:none;position:absolute;right:0;top:100%;min-width:240px;list-style:none;margin:0;padding:12px 0;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.14);z-index:50}
.lh-menu li:hover>ul,.lh-menu li:focus-within>ul{display:block}
.lh-menu ul a{display:block;padding:6px 18px;color:#1a1a1a;text-decoration:none;font-size:15px;line-height:1.35}
.lh-menu ul a:hover{color:#006400;text-decoration:underline}
.lh-menu ul ul{position:static;box-shadow:none;padding:0 0 0 12px;display:block}

/* Max Mega Menu (Hauptmenü) */
#mega-menu-wrap-primary{background:none!important}
#mega-menu-wrap-primary #mega-menu-primary{white-space:nowrap}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link{padding-left:10px!important;padding-right:10px!important;color:#1a1a1a!important;background:none!important;box-shadow:none!important;transition:none!important;font-family:Archivo,sans-serif!important;font-weight:700!important;font-size:16px!important}
#mega-menu-wrap-primary #mega-menu-primary span.mega-indicator{display:none!important}
@media (min-width:1000px){#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu{width:1110px!important;max-width:calc(100vw - 40px)!important;left:auto!important;right:0!important}}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu{background:#fff!important;border-top:0!important;box-shadow:0 12px 28px rgba(0,0,0,.14)!important;padding:22px 26px 26px!important}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item{padding:0 14px 18px!important}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link{color:#006400!important;background:none!important;font-family:Archivo,sans-serif!important;font-weight:800!important;text-transform:none!important;font-size:16px!important;padding:0 0 6px!important;margin-bottom:6px!important;border:0!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important;white-space:normal!important}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu ul.mega-sub-menu{background:none!important;border:0!important}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu ul.mega-sub-menu a.mega-menu-link{color:#1a1a1a!important;background:none!important;font-family:Archivo,sans-serif!important;font-size:15px!important;font-weight:400!important;padding:4px 0!important;line-height:1.35!important;white-space:normal!important}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu a.mega-menu-link:hover,#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu a.mega-menu-link:focus{color:var(--lhmt,#006400)!important;text-decoration:underline!important;text-underline-offset:3px}
/* Bereichsfarben im Menü (CSS-Klassen lh-m-… an den Menüpunkten) */
#mega-menu-primary>li.lh-m-wir{--lhm:#006400;--lhmt:#006400}
#mega-menu-primary>li.lh-m-bd{--lhm:#d42a4c;--lhmt:#b8203f}
#mega-menu-primary>li.lh-m-arbeiten{--lhm:#004b91;--lhmt:#004b91}
#mega-menu-primary>li.lh-m-wohnen{--lhm:#dc9b6e;--lhmt:#a8633a}
#mega-menu-primary>li.lh-m-foerdern{--lhm:#ffb900;--lhmt:#9a6f00}
#mega-menu-primary>li.lh-m-kita{--lhm:#ff6e00;--lhmt:#9e4400}
#mega-menu-primary>li.lh-m-kontakt{--lhm:#1e8200;--lhmt:#1e8200}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"]:hover>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"]>a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"].mega-toggle-on>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"].mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"].mega-current-menu-ancestor>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item[class*="lh-m-"].mega-current-page-ancestor>a.mega-menu-link{color:var(--lhmt)!important;background:none!important;box-shadow:inset 0 -4px 0 var(--lhm)!important}

/* Handy-Menü */
.lh-navtoggle{display:none;align-items:center;gap:10px;background:#006400;color:#fff;border:0;border-radius:30px;padding:10px 18px;font:700 16px/1 Archivo,sans-serif;cursor:pointer}
.lh-burger{position:relative;width:20px;height:14px;display:inline-block}
.lh-burger::before,.lh-burger::after,.lh-burger span{content:"";position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
.lh-burger::before{top:0}.lh-burger span{top:6px}.lh-burger::after{top:12px}
.lh-navtoggle[aria-expanded="true"] .lh-burger::before{transform:translateY(6px) rotate(45deg)}
.lh-navtoggle[aria-expanded="true"] .lh-burger span{opacity:0}
.lh-navtoggle[aria-expanded="true"] .lh-burger::after{transform:translateY(-6px) rotate(-45deg)}
.lh-mnav{border-top:1px solid #e3e3e3;background:#fff;box-shadow:0 14px 24px rgba(0,0,0,.12)}
.lh-mnav[hidden]{display:none}
.lh-mmenu,.lh-mmenu ul{list-style:none;margin:0;padding:0}
.lh-mmenu>li{border-bottom:1px solid #eee;border-left:6px solid var(--lhm,#006400);position:relative;display:flex;flex-wrap:wrap;align-items:center}
.lh-mmenu>li.lh-m-bd{--lhm:#d42a4c}.lh-mmenu>li.lh-m-arbeiten{--lhm:#004b91}.lh-mmenu>li.lh-m-wohnen{--lhm:#dc9b6e}.lh-mmenu>li.lh-m-foerdern{--lhm:#ffb900}.lh-mmenu>li.lh-m-kita{--lhm:#ff6e00}.lh-mmenu>li.lh-m-kontakt{--lhm:#1e8200}
.lh-mmenu>li>a{flex:1 1 auto;display:block;padding:14px 18px;font-weight:700;font-size:18px;color:#1a1a1a;text-decoration:none}
.lh-mmenu>li.current-menu-item>a,.lh-mmenu>li.current-menu-ancestor>a{color:#006400}
.lh-mmenu ul{flex:0 0 100%;padding:0 0 10px 18px}
.lh-mmenu ul a{display:block;padding:8px 18px 8px 0;color:#1a1a1a;text-decoration:none;font-size:16px}
.lh-mmenu ul .current-menu-item>a{font-weight:700;color:#006400}
.lh-subtoggle{flex:0 0 52px;height:52px;border:0;border-left:1px solid #eee;background:none;cursor:pointer;position:relative}
.lh-subtoggle::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-right:2px solid #1a1a1a;border-bottom:2px solid #1a1a1a;transform:translate(-50%,-70%) rotate(45deg);transition:transform .2s}
.lh-subtoggle[aria-expanded="true"]::after{transform:translate(-50%,-30%) rotate(-135deg)}
@media (max-width:999px){
 .lh-nav{display:none}
 .lh-navtoggle{display:inline-flex}
 .lh-header-in{min-height:72px}
 .lh-brand .custom-logo{max-height:60px}
}
@media (min-width:1000px){.lh-mnav{display:none!important}}

/* ---------- Fußzeile ---------- */
.lh-footer{background:#1e8200;color:#fff;font-size:15px;line-height:1.7;margin-top:0}
.lh-footer a{color:#fff}
.lh-footer a:hover{color:#fff;text-decoration:none}
.lh-footer a[style]{font-family:inherit!important}
.lh-footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-top:56px;padding-bottom:40px}
.lh-ftitle,.lh-footer .widget-title,.lh-footer .wp-block-heading{color:#fff;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin:0 0 16px}
.lh-footer p{margin:0 0 12px}
.lh-fwidget{margin-bottom:18px}
.lh-flinks{list-style:none;margin:0;padding:0}
.lh-flinks li{margin:0 0 8px}
.lh-flinks a{font-weight:700;text-transform:uppercase;letter-spacing:2px;font-size:14px;text-decoration:none}
.lh-flinks a:hover{text-decoration:underline}
.lh-footer .search-form{display:flex;gap:8px}
.lh-footer .search-field{flex:1;min-width:0;padding:10px 12px;border:0;border-radius:4px;font:inherit}
.lh-footer .search-submit{background:#006400;color:#fff;border:0;border-radius:4px;padding:10px 16px;font:700 15px Archivo,sans-serif;cursor:pointer}
.lh-finfo{border-top:1px solid rgba(255,255,255,.25);padding:18px 0;font-size:13px}
@media (max-width:781px){.lh-footer-grid{grid-template-columns:1fr;gap:10px;padding-top:40px}}

/* ---------- Unterseiten: Bereichsfarben ----------
   --c   Bereichsfarbe      --ci  Schrift auf Bereichsfarbe
   --ch  Überschriften/Links auf Weiß   --cbt Schrift auf Schaltflächen */
.lh-sub{--c:#006400;--ci:#fff;--ch:#006400;--cbt:#fff;--grey:#f2f2f2;color:#111;display:flex;flex-direction:column}
.lh-sub.lh-c-wir{--c:#006400;--ch:#006400}
.lh-sub.lh-c-bd{--c:#d42a4c;--ch:#b8203f}
.lh-sub.lh-c-arbeiten{--c:#004b91;--ch:#004b91}
.lh-sub.lh-c-wohnen{--c:#dc9b6e;--ci:#111;--ch:#97582f;--cbt:#1a1a1a}
.lh-sub.lh-c-foerdern{--c:#ffb900;--ci:#fff;--ch:#8a6100;--cbt:#1a1a1a}
.lh-sub.lh-c-kita{--c:#ff6e00;--ci:#111;--ch:#9e4400;--cbt:#111}
.lh-sub.lh-c-kontakt{--c:#1e8200;--ch:#1e8200}
.lh-sub *{box-sizing:border-box}
.lh-sub :where(a:not([class])){color:var(--ch)}
.lh-sub .lh-full{width:min(100vw,1440px);margin-left:calc(50% - min(50vw,720px))}
.lh-sub .lh-bleed{width:100vw;margin-left:calc(50% - 50vw)}
.lh-sub h1{font-weight:900}
.lh-sub h2,.lh-sub h3{font-weight:800}

/* Kopfbild */
.lh-sub>.lh-shero{order:-2}
.lh-shero{position:relative;height:clamp(420px,78vh,820px);overflow:hidden;background:#ccc}
.lh-shero>img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}
.lh-shero.lh-shero-noimg{height:clamp(260px,40vh,380px);background:var(--c)}
.lh-shero-in{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 20px}
.lh-shero-in h1{margin:0;color:#fff;font-size:clamp(40px,6.5vw,92px);line-height:1;text-shadow:0 2px 14px rgba(0,0,0,.45);text-align:center;font-weight:900;hyphens:auto}
.lh-shero-noimg .lh-shero-in h1{color:var(--ci);text-shadow:none}
.lh-scircle{position:relative;border-radius:50%;background:var(--c);display:flex;align-items:center;justify-content:center}
.lh-scircle p{margin:0;color:var(--ci);font-weight:800;text-align:center}
.lh-shero-in:has(.lh-scircle){--S:clamp(210px,21vw,300px);flex-direction:row;align-items:center;justify-content:flex-end;padding:60px max(40px,calc(50% - 540px)) 130px 20px;gap:22px}
.lh-shero-in:has(.lh-scircle) h1{order:1;margin:0;font-size:clamp(48px,6vw,92px);letter-spacing:-.01em;text-shadow:0 2px 16px rgba(0,0,0,.35);text-align:right;z-index:2}
.lh-shero-in .lh-scircle{order:2;width:var(--S);height:var(--S);flex:0 0 var(--S);flex-direction:column;margin:0;padding:0}
.lh-shero-in .lh-scircle p{font-size:clamp(22px,2.4vw,34px);line-height:1.05;max-width:78%}
.lh-shero-in .lh-scircle img{position:absolute;top:-17%;right:-15%;width:48%;height:auto;margin:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.2))}
@media (max-width:1100px) and (min-width:782px){.lh-shero-in:has(.lh-scircle){--S:200px;padding-bottom:120px}.lh-shero-in:has(.lh-scircle) h1{font-size:54px}}

/* Brotkrümel */
.lh-crumb{font-size:14px;margin:22px 0 0;color:#555}
.lh-crumb a{color:#555;text-decoration:underline;text-underline-offset:2px}
.lh-crumb a:hover{color:var(--ch)}

/* Einleitung: farbiger Kasten über dem Kopfbild (erster Block der Seite) */
.lh-intro{max-width:860px;margin:34px 0 10px;font-size:19px;line-height:1.7}
.lh-intro p{margin:0 0 1em}
.lh-sub>.lh-crumb+.lh-intro{order:-1;position:relative;z-index:3;align-self:center;width:min(1110px,calc(100% - 20px));max-width:none;margin:-150px 0 0!important;min-height:150px;display:flex;flex-direction:column;justify-content:center;background:var(--c);color:var(--ci);padding:26px 40px 30px;box-shadow:0 12px 30px rgba(0,0,0,.22);font-size:16px;line-height:1.75}
.lh-sub>.lh-crumb+.lh-intro h2,.lh-sub>.lh-crumb+.lh-intro p,.lh-sub>.lh-crumb+.lh-intro strong,.lh-sub>.lh-crumb+.lh-intro li{color:var(--ci)!important}
.lh-sub>.lh-crumb+.lh-intro a{color:var(--ci)!important;text-decoration:underline}
.lh-sub>.lh-crumb+.lh-intro h2{font-size:17px!important;font-weight:700!important;margin:0 0 1em!important;line-height:1.5}
.lh-sub>.lh-crumb+.lh-intro p:last-child{margin-bottom:0}
.lh-sub.lh-c-wohnen>.lh-crumb+.lh-intro,.lh-sub.lh-c-foerdern>.lh-crumb+.lh-intro{--ci:#1a1a1a;text-shadow:none}
.lh-sub>.lh-shero-noimg+.lh-crumb+.lh-intro{margin-top:-60px!important;min-height:60px}

/* Frei geschriebene Blöcke direkt auf der Seite (ohne Vorlage) */
.lh-sub>:is(p,h2,h3,h4,ul,ol,.wp-block-list,.wp-block-quote,.wp-block-table,.wp-block-buttons,.wp-block-file,.wp-block-embed,.wp-block-image,.wp-block-gallery,.wp-block-separator,.wp-block-details,.wp-block-video,.wp-block-audio,.wp-block-pullquote,.wpcf7,.everest-forms){width:100%;max-width:860px;margin-left:auto;margin-right:auto}
.lh-sub>p{font-size:18px;line-height:1.7;margin-top:0;margin-bottom:1em}
.lh-sub>h2{font-size:30px;color:var(--ch);margin-top:1.4em;margin-bottom:.5em}
.lh-sub>h3{font-size:24px;color:var(--ch);margin-top:1.2em;margin-bottom:.4em}
.lh-sub>h4{font-size:20px;margin-top:1em;margin-bottom:.3em}
.lh-sub>.lh-crumb+:not(.lh-intro){margin-top:34px}
.lh-sub>.lh-crumb+.lh-intro+:is(p,h2,h3){margin-top:40px}
.lh-sub>.wp-block-image,.lh-sub>.wp-block-gallery,.lh-sub>.wp-block-embed,.lh-sub>.wp-block-video{margin-top:30px;margin-bottom:30px}
.lh-sub>.wp-block-image.alignwide,.lh-sub>.wp-block-gallery.alignwide{max-width:1110px}
.lh-sub>.alignfull{width:min(100vw,1440px);max-width:none;margin-left:calc(50% - min(50vw,720px))}
.lh-sub .wp-block-image img{display:block}
.lh-sub .wp-block-gallery img{border-radius:0}
.lh-sub>.wp-block-quote{border-left:6px solid var(--c);padding:6px 0 6px 24px;font-size:20px;font-style:italic;margin-top:30px;margin-bottom:30px}
.lh-sub>.wp-block-separator{border:0;border-top:2px solid #e3e3e3;margin-top:40px;margin-bottom:40px}
.lh-sub .wp-block-table table{border-collapse:collapse;width:100%}
.lh-sub .wp-block-table td,.lh-sub .wp-block-table th{border:1px solid #ddd;padding:8px 12px}

/* Listen */
.lh-sub .wp-block-list,.lh-sub>ul,.lh-sub>ol{margin-top:0;margin-bottom:1em;padding-left:1.3em}
.lh-sub .wp-block-list li{margin:0 0 .4em;line-height:1.6;font-size:17px}
.lh-sub li::marker{color:var(--c)}

/* Inhaltszeilen: Text mit Bild */
.lh-sub .wp-block-columns.lh-row{gap:48px;align-items:center;margin:56px 0!important}
.lh-sub .wp-block-columns.lh-row.lh-rev{flex-direction:row-reverse}
.lh-sub .lh-row h2{font-size:30px;line-height:1.2;margin:0 0 16px;color:var(--ch)}
.lh-sub .lh-row h3{font-size:22px;margin:24px 0 10px;color:var(--ch)}
.lh-sub .lh-row p{font-size:17px;line-height:1.75;margin:0 0 1em}
.lh-sub .lh-row .wp-block-image{margin:0;position:relative}
.lh-sub .lh-row .wp-block-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;box-shadow:14px 14px 0 var(--c)}

/* Textabschnitt */
.lh-sub .lh-text{width:100%;max-width:860px;margin:40px auto 10px;font-size:18px;line-height:1.7;color:#111}
.lh-sub .lh-text p{margin:0 0 1em}
.lh-sub .lh-text h2{font-size:30px;line-height:1.2;margin:0 0 16px;color:var(--ch)}
.lh-sub .lh-text h3{font-size:24px;margin:0 0 12px;color:var(--ch)}
.lh-sub .lh-text li{margin:.3em 0}
.lh-sub .lh-sec-title{text-align:center;font-size:34px;margin:56px auto 26px;color:#111}
.lh-sub .lh-contact{max-width:860px;margin:36px auto 10px}

/* Schaltflächen */
.lh-btns{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 30px}
.lh-b,.lh-sub .wp-block-button__link{display:inline-block;background:var(--c,#006400);color:var(--cbt,#fff)!important;font-weight:700;font-size:16px;line-height:1.3;padding:12px 24px;border:2px solid var(--c,#006400);border-radius:30px;text-decoration:none!important}
.lh-b:hover,.lh-b:focus-visible,.lh-sub .wp-block-button__link:hover{filter:brightness(1.1)}
.lh-b.lh-b2,.lh-sub .is-style-outline .wp-block-button__link{background:#fff;border:2px solid var(--c,#006400);color:var(--ch,#006400)!important}
.lh-sub .wp-block-buttons{margin-top:10px;margin-bottom:30px;gap:12px}

/* Kacheln der Unterseiten */
.lh-kids{padding:40px 0 30px}
.lh-kgrid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-flow:row dense;gap:14px}
.lh-kcard{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;text-decoration:none!important;background:#ddd}
.lh-kcard img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.lh-kcard span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font-weight:800;font-size:clamp(20px,2.2vw,30px);line-height:1.15;text-shadow:0 2px 10px rgba(0,0,0,.55);z-index:2;padding:10px;hyphens:auto}
.lh-kcard:hover img,.lh-kcard:focus-visible img{transform:scale(1.05)}
.lh-kcard:focus-visible{outline:3px solid var(--c);outline-offset:3px}
.lh-kcard.lh-kcard-noimg{background:color-mix(in srgb,var(--c) 70%,#000)}
.lh-ktitle{background:var(--c);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:18px;grid-column:2;grid-row:1/span 20}
.lh-ktitle::before{content:"";width:46%;aspect-ratio:1;background:var(--icon) center/contain no-repeat}
.lh-c-kontakt .lh-ktitle::before{content:none}
.lh-sub .lh-ktitle h2{color:var(--ci);margin:0;font-size:clamp(24px,3vw,42px);line-height:1.15;font-weight:900;hyphens:auto}
.lh-kgrid:has(>:nth-child(2):last-child){grid-template-columns:1fr 1fr}
.lh-kgrid:has(>:nth-child(2):last-child) .lh-ktitle{grid-column:2;grid-row:1}
.lh-kgrid:has(>:nth-child(3):last-child) .lh-ktitle{grid-row:1/span 1}
.lh-kgrid:has(>:nth-child(4):last-child) .lh-ktitle,.lh-kgrid:has(>:nth-child(5):last-child) .lh-ktitle{grid-row:1/span 2}
.lh-kgrid:has(>:nth-child(6):last-child) .lh-ktitle,.lh-kgrid:has(>:nth-child(7):last-child) .lh-ktitle{grid-row:1/span 3}
.lh-kgrid:has(>:nth-child(8):last-child) .lh-ktitle,.lh-kgrid:has(>:nth-child(9):last-child) .lh-ktitle{grid-row:1/span 4}
.lh-kgrid:has(>:nth-child(10):last-child) .lh-ktitle,.lh-kgrid:has(>:nth-child(11):last-child) .lh-ktitle{grid-row:1/span 5}
.lh-kgrid:has(>:nth-child(12):last-child) .lh-ktitle,.lh-kgrid:has(>:nth-child(13):last-child) .lh-ktitle{grid-row:1/span 6}

/* Kontaktleiste */
.lh-cta{background:var(--grey,#f2f2f2);padding:44px 20px;margin-top:40px;text-align:center}
.lh-cta p{font-size:22px;font-weight:700;margin:0 0 18px}
.lh-cta .lh-btns{justify-content:center;margin:0}

/* Bildergalerie (alt) */
.lh-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:40px 0}
.lh-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}

/* Personen */
.lh-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:34px 26px;margin:50px 0}
.lh-person{margin:0;text-align:center}
.lh-person .wp-block-image{margin:0}
.lh-person img{width:170px;height:170px;border-radius:0;object-fit:cover;object-position:center 25%;display:block;margin:0 auto 18px}
.lh-person strong{display:block;font-size:18px;margin-bottom:4px;color:#111}
.lh-person span,.lh-person p{display:block;font-size:15px;line-height:1.4;color:#444;margin:0}
.lh-person a{color:var(--ch)}
.lh-sub .lh-people.lh-people-lead{grid-template-columns:repeat(2,minmax(0,300px));justify-content:center;gap:34px 70px;margin:50px 0 10px;padding-bottom:40px;border-bottom:1px solid #e3e3e3}
.lh-sub .lh-people.lh-people-lead+.lh-people{margin-top:40px}
.lh-sub .lh-person.lh-lead img{width:250px;height:250px;margin-bottom:20px}
.lh-sub .lh-person.lh-lead strong{font-size:23px}
.lh-sub .lh-person.lh-lead span,.lh-sub .lh-person.lh-lead p{font-size:16px}

/* Adresse & Öffnungszeiten */
.lh-infobox{display:grid;grid-template-columns:1fr 1fr;gap:20px 40px;width:100%;max-width:860px;margin:40px auto 20px;padding:28px 34px;background:var(--grey,#f2f2f2);border-top:6px solid var(--c)}
.lh-infobox h3{margin:0 0 10px;font-size:20px;color:var(--ch)}
.lh-infobox p{margin:0;font-size:17px;line-height:1.6}
.lh-hours dl,.lh-sub .lh-hours dl{display:grid;grid-template-columns:auto auto;gap:2px 14px;margin:6px 0 0}
.lh-sub .lh-hours dt{font-weight:700}.lh-sub .lh-hours dd{margin:0}
.lh-sub .lh-hours .lh-hours-t{margin-left:auto}

/* Beiträge im alten Block "Neueste Beiträge" */
.lh-sub .lh-posts{margin:40px 0}
.lh-sub .lh-posts .wp-block-latest-posts{display:grid!important;grid-template-columns:repeat(3,1fr);gap:24px;padding:0;margin:0;list-style:none}
.lh-sub .lh-posts .wp-block-latest-posts li{margin:0!important;width:auto!important;background:var(--grey);padding:0 0 22px}
.lh-sub .lh-posts .wp-block-latest-posts__featured-image{margin:0 0 16px}
.lh-sub .lh-posts .wp-block-latest-posts__featured-image img{width:100%!important;height:210px!important;object-fit:cover;display:block}
.lh-sub .lh-posts .wp-block-latest-posts__post-title{display:block;padding:0 18px;font-weight:800;font-size:19px;line-height:1.3;color:#111}
.lh-sub .lh-posts .wp-block-latest-posts__post-title:hover{color:var(--ch)}
.lh-sub .lh-posts .wp-block-latest-posts__post-excerpt{padding:0 18px;margin-top:10px;font-size:15px;line-height:1.55}

/* Formulare */
.lh-sub .lh-form{max-width:760px;margin:40px auto 60px;background:var(--grey);padding:30px 34px;border-top:6px solid var(--c)}
.lh-sub .lh-form input:not([type=submit]):not([type=checkbox]),.lh-sub .lh-form textarea{width:100%;border:1px solid #bbb;padding:10px 12px;font-size:16px}
.lh-sub .lh-form input[type=submit]{background:var(--c);color:var(--cbt);border:0;border-radius:30px;padding:12px 28px;font-weight:700;cursor:pointer}

/* Icon-Raster */
.lh-sub .lh-icons{padding:50px 0 60px}
.lh-sub .lh-igrid{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 30px;max-width:900px;margin:0 auto}
.lh-sub .lh-icard{display:flex;flex-direction:column;align-items:center;gap:16px;text-decoration:none!important;color:#111!important;text-align:center;padding:10px;border-radius:6px}
.lh-sub .lh-icard img{height:88px;width:auto;max-width:130px;object-fit:contain;display:block;transition:transform .25s}
.lh-sub .lh-icard span{font-weight:700;font-size:19px;line-height:1.25}
.lh-sub .lh-icard:hover img,.lh-sub .lh-icard:focus-visible img{transform:scale(1.08)}
.lh-sub .lh-icard:hover span{color:var(--ch)}
.lh-sub .lh-icard:focus-visible{outline:3px solid var(--c);outline-offset:3px}

/* ---------- Läden (Flyer-Stil) ---------- */
.lh-shop .lh-shop-hero{position:relative;width:min(1110px,calc(100vw - 40px));margin:30px 0 0 calc(50% - min(555px,50vw - 20px));height:clamp(600px,60vw,740px)}
.lh-shop-photo{position:absolute;left:0;right:0;top:34%;bottom:0;overflow:hidden}
.lh-shop-photo img{width:100%;height:100%;object-fit:cover;display:block}
.lh-shop-panel{position:absolute;left:5%;top:0;width:44%;height:80%;background:#006400;border-bottom-right-radius:70px;z-index:1;display:flex;flex-direction:column;justify-content:flex-start;padding:clamp(250px,24vw,300px) 5% 6%}
.lh-shop .lh-shop-title{position:absolute;left:0;right:0;top:clamp(70px,8vw,100px);z-index:3;margin:0;line-height:.85;text-shadow:none!important}
.lh-shop-kicker{display:block;margin:0 0 .12em calc(5% + 4.5%);color:#fff;font-weight:900;font-size:clamp(28px,3.8vw,52px);letter-spacing:.02em;line-height:1;text-transform:uppercase}
.lh-shop-big{display:block;color:#50b400;font-weight:900;letter-spacing:-.035em;line-height:.85;white-space:nowrap}
.lh-shop-hours{position:relative;z-index:2}
.lh-shop-open{margin:0 0 18px;max-width:6.5em;color:#9ada5a!important;font-weight:900;font-size:clamp(24px,2.6vw,38px);line-height:1.02}
.lh-shop-hours dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:0;color:#fff;font-size:clamp(15px,1.5vw,20px);font-weight:600}
.lh-shop-hours dt,.lh-shop-hours dd,.lh-shopcard-body dt,.lh-shopcard-body dd{margin:0!important;padding:0!important;line-height:1.4!important}
.lh-shop-hours dt{font-weight:900}
.lh-shop .lh-shop-text,.lh-shop .lh-shop-offer{max-width:860px;margin:34px 0 0;font-size:18px;line-height:1.7}
.lh-shop .lh-shop-text h2{color:#006400!important;font-size:26px!important;margin:0 0 14px}
.lh-shop .lh-shop-offer h3{color:#006400;font-size:30px;margin:0 0 10px}
.lh-shop .wp-block-list li::marker{color:#006400}
.lh-shop-addr{display:flex;align-items:center;gap:40px;margin:50px 0 10px;flex-wrap:wrap}
.lh-shop-logo{width:230px;height:230px;border-radius:50%;background:#006400;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;text-align:center;font-weight:900;font-size:26px;line-height:1;transform:rotate(-8deg)}
.lh-shop-logo img{width:70px;height:auto}
.lh-shop-logo small{font-weight:600;font-size:16px}
.lh-shop-addr address{font-style:normal;color:#006400;font-size:22px;line-height:1.45}
.lh-shop-addr strong{font-weight:900}
.lh-sub .lh-shop-addr .lh-addr-brand{width:110px;height:110px;margin-left:auto;flex:0 0 auto;align-self:center}
.lh-shopcards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:40px 0 20px}
.lh-shopcard{display:flex;flex-direction:column;text-decoration:none!important;background:#006400;color:#fff!important;border-bottom-right-radius:50px;overflow:hidden;transition:transform .2s}
.lh-shopcard:hover,.lh-shopcard:focus-visible{transform:translateY(-3px)}
.lh-shopcard-img{position:relative;aspect-ratio:16/10;background:#ddd;overflow:hidden;flex:0 0 auto}
.lh-shopcard-img>img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.lh-shopcard-logo{position:absolute;left:14px;bottom:14px;max-width:45%;max-height:70px;background:#006400;padding:8px 12px}
.lh-shopcard-logo.is-round{background:none!important;padding:0!important;max-height:none!important;width:96px;border-radius:50%}
.lh-shopcard-body{padding:22px 28px 28px}
.lh-shopcard-body h2,.lh-shopcard-body h2 sup{color:#9ada5a!important;font-size:30px;margin:0 0 12px;font-weight:900!important}
.lh-shopcard-body dl{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:0 0 14px;font-size:16px}
.lh-shopcard-body dt{font-weight:900}.lh-shopcard-body dd{margin:0}
.lh-shopcard-body p{margin:0;font-size:16px;line-height:1.45}
.lh-shop-brand{position:absolute;right:2%;top:0;width:clamp(110px,15vw,200px);height:auto;z-index:2}
.lh-shop-kicker sup,.lh-shopcard-body h2 sup,.lh-shop-addr sup{font-size:.55em;vertical-align:super;line-height:0}
@media (min-width:782px){.lh-shop .lh-shop-big{font-size:min(calc(1180px / (var(--n) * .6)),13vw,160px)!important}.lh-shop-panel{padding-top:clamp(270px,25vw,310px)!important}}

/* ---------- Beiträge & Stellenanzeigen ---------- */
.lh-postgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0 20px}
.lh-pcard{margin:0}
.lh-pcard-link{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e3e3e3;text-decoration:none!important;color:#111!important;transition:box-shadow .2s,transform .2s}
.lh-pcard-link:hover,.lh-pcard-link:focus-visible{box-shadow:0 12px 26px rgba(0,0,0,.1);transform:translateY(-2px)}
.lh-pcard-img{aspect-ratio:16/10;background:#e9f0e6;overflow:hidden}
.lh-pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.lh-pcard-body{display:flex;flex-direction:column;flex:1;padding:18px 20px 22px}
.lh-pcard-meta{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#1e8200}
.lh-pcard-title{margin:0 0 10px;font-size:19px;line-height:1.3;color:#111}
.lh-pcard-excerpt{margin:0 0 14px;font-size:15px;line-height:1.55;color:#444}
.lh-pcard-more{margin-top:auto;font-weight:700;color:#006400}
.lh-pcard-job .lh-pcard-link{border-top:6px solid #1e8200}
.lh-news .lh-pcard-link{border:0}
.lh-pagination{margin:10px 0 40px;display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.lh-pagination .page-numbers{display:inline-block;min-width:42px;padding:8px 12px;text-align:center;border:2px solid #006400;border-radius:30px;color:#006400;text-decoration:none;font-weight:700}
.lh-pagination .page-numbers.current,.lh-pagination a.page-numbers:hover{background:#006400;color:#fff}
.lh-empty{font-size:18px;text-align:center;padding:20px 0 40px}

/* Einzelansicht */
.lh-post,.lh-list{padding-bottom:40px}
.lh-kicker{margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1e8200}
.lh-article{width:100%;max-width:860px;margin:0 auto}
.lh-article-head{margin:34px auto 26px;width:100%;max-width:860px}
.lh-list .lh-article-head{max-width:none}
.lh-article-head h1{font-size:clamp(30px,4.4vw,48px);line-height:1.1;margin:0;color:#111;hyphens:auto}
.lh-archive-desc{margin-top:12px;font-size:18px}
.lh-article-img{margin:0 0 30px}
.lh-article-img img{width:100%;height:auto;display:block}
.lh-article-body{font-size:18px;line-height:1.7}
.lh-article-body>*{margin-top:0;margin-bottom:1em}
.lh-article-body h2{font-size:26px;color:#006400;margin:1.5em 0 .5em}
.lh-article-body h3{font-size:21px;color:#006400;margin:1.3em 0 .4em}
.lh-article-body ul,.lh-article-body ol{padding-left:1.3em}
.lh-article-body li{margin:0 0 .35em}
.lh-article-body li::marker{color:#1e8200}
.lh-article-body .wp-block-image{margin:30px 0}
.lh-article-body a{color:#006400}
.lh-jobbox{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 40px;margin:40px 0 20px;padding:30px 34px;background:#006400;color:#fff}
.lh-jobbox h2{color:#fff;font-size:26px;margin:0 0 10px}
.lh-jobbox p{margin:0 0 8px}
.lh-jobbox address{font-style:normal;line-height:1.6}
.lh-jobbox a:not(.lh-b){color:#fff}
.lh-jobbox .lh-btns{margin:0}
.lh-jobbox .lh-b{--c:#fff;--cbt:#006400;background:#fff;color:#006400!important;border-color:#fff;text-align:center}
.lh-jobbox .lh-b.lh-b2{background:transparent;color:#fff!important;border-color:#fff}
.lh-article-nav{max-width:860px;width:100%;margin:10px auto 0}
.lh-searchbox{max-width:600px;margin:0 0 20px}
.lh-searchbox .search-form{display:flex;gap:8px}
.lh-searchbox .search-field{flex:1;padding:12px 14px;border:2px solid #ccc;border-radius:30px;font:inherit}
.lh-searchbox .search-submit{background:#006400;color:#fff;border:0;border-radius:30px;padding:12px 22px;font:700 16px Archivo,sans-serif;cursor:pointer}

/* Alte, von Hand gebaute Seiten */
.lh-legacy>.lh-sub,.lh-legacy>.wp-block-group{margin-top:0;margin-bottom:0}

/* ---------- Tablet / Handy ---------- */
@media (max-width:991px){.lh-postgrid{grid-template-columns:1fr 1fr}}
@media (max-width:781px){
 .lh-shero{height:560px}
 .lh-sub .lh-shero:not(:has(.lh-scircle)){height:380px}
 .lh-sub .lh-shero.lh-shero-noimg{height:240px}
 .lh-shero-in:has(.lh-scircle){--S:170px;flex-direction:column;justify-content:center;align-items:center;gap:52px;padding:20px 20px 90px}
 .lh-shero-in:has(.lh-scircle) h1{font-size:clamp(34px,10vw,44px);text-align:center}
 .lh-shero-in .lh-scircle img{top:-20%;right:-18%;width:50%}
 .lh-shero-in .lh-scircle p{font-size:19px}
 .lh-shero-in:not(:has(.lh-scircle)) h1{font-size:clamp(32px,9vw,42px)}
 .lh-sub>.lh-crumb+.lh-intro{margin-top:-70px!important;min-height:70px;width:calc(100% - 24px);padding:20px 20px 22px;font-size:15.5px}
 .lh-sub .wp-block-columns.lh-row{gap:24px;margin:34px 0!important}
 .lh-sub .lh-row .wp-block-image img{box-shadow:8px 8px 0 var(--c)}
 .lh-sub .lh-row h2,.lh-sub .lh-text h2,.lh-sub>h2{font-size:25px}
 .lh-sub .lh-text{font-size:17px;margin-top:30px}
 .lh-sub>p{font-size:17px}
 .lh-sub .lh-sec-title{font-size:27px;margin:36px auto 18px}
 .lh-gallery{grid-template-columns:1fr 1fr}
 .lh-intro{font-size:17px}
 .lh-kgrid{grid-template-columns:1fr 1fr}
 .lh-kgrid .lh-ktitle{grid-column:1/-1;grid-row:auto!important;padding:22px;gap:12px}
 .lh-ktitle::before{width:70px}
 .lh-sub .lh-ktitle h2{font-size:26px}
 .lh-kcard span{font-size:19px}
 .lh-sub .lh-posts .wp-block-latest-posts{grid-template-columns:1fr}
 .lh-sub .lh-igrid{grid-template-columns:1fr 1fr;gap:34px 16px}.lh-sub .lh-icard img{height:64px}.lh-sub .lh-icard span{font-size:17px}.lh-sub .lh-icons{padding:34px 0 40px}
 .lh-infobox{grid-template-columns:1fr;padding:22px}
 .lh-postgrid{grid-template-columns:1fr}
 .lh-jobbox{padding:24px 22px}
 .lh-cta p{font-size:19px}
 /* Läden */
 .lh-shop .lh-shop-hero{height:auto;display:flex;flex-direction:column;margin-top:16px;position:relative}
 .lh-shop .lh-shop-title,.lh-shop-panel,.lh-shop-photo{position:static;width:auto;height:auto}
 .lh-shop .lh-shop-title{order:1;background:#006400;margin:0 0 0 5%;padding:26px 0 6px;overflow:visible}
 .lh-shop-kicker{margin-left:6%}
 .lh-shop-big{margin-left:-6%;font-size:min(calc((100vw - 30px) / (var(--n) * .62)),120px)!important}
 .lh-shop-panel{order:2;margin-left:5%;border-bottom-right-radius:50px;padding:18px 7% 26px!important}
 .lh-shop-photo{order:3;aspect-ratio:4/3;margin-top:-20px}
 .lh-shop-addr{gap:24px}.lh-shop-logo{width:170px;height:170px;font-size:20px}.lh-shop-logo img{width:52px}
 .lh-shop-addr address{font-size:18px}
 .lh-shopcards{grid-template-columns:1fr}
 .lh-shop .lh-shop-text,.lh-shop .lh-shop-offer{font-size:16px}
 .lh-shop-brand{width:84px;right:10px;top:-8px}
 .lh-sub .lh-shop-addr .lh-addr-brand{width:80px;height:80px;margin:10px 0 0}
 .lh-sub .lh-hours .lh-hours-t{margin:10px 0 0}
}
@media (max-width:600px){
 .lh-sub .lh-people.lh-people-lead{grid-template-columns:1fr;gap:30px}
 .lh-sub .lh-person.lh-lead img{width:210px;height:210px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
