/* Lilit Core 3.5.6 – consolidated design layer.
   Replaces the stacked 3.5.1–3.5.5 overrides with one rule per concern.
   Palette only: Lilit red, wine, anthracite, white, beige, soft grey #f2f2f2. */
:root{--l-red:#c1002b;--l-wine:#7c1730;--l-ink:#29272a;--l-text:#302b2d;--l-muted:#51474a;--l-beige:#f3e8d2;--l-sand:#eee6da;--l-paper:#faf7f1;--l-white:#fffdf9;--l-grey:#f2f2f2;--l-line:#e5dbd0}

/* 1. Shared chrome on every template (home, blog, article, knowledge, contact, course, about). */
.contact-ribbon{background:var(--l-sand);color:#473e3f;border-bottom:1px solid #e3d8cb}
.contact-ribbon a{color:inherit}
.heritage-header{background:var(--l-white);border-bottom:1px solid var(--l-line)}
.heritage-nav>.lilit-knowledge-nav{color:#a5002b;text-underline-offset:5px}
.heritage-nav>a,.heritage-nav>details>summary{white-space:nowrap}
@media(min-width:1101px) and (max-width:1400px){.heritage-nav{gap:18px}.heritage-nav>a,.heritage-nav>details>summary{font-size:15px}}
@media(min-width:1101px) and (max-width:1250px){.heritage-header{gap:18px}.heritage-nav{gap:14px}.heritage-nav>a,.heritage-nav>details>summary{font-size:14px}}

.lilit-header-languages{display:flex;align-items:center;gap:4px}
.lilit-header-languages a,.lilit-footer-languages a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:44px;padding:0 3px;font-size:13px;color:inherit;text-decoration:none}
.lilit-header-languages a[aria-current=true],.lilit-footer-languages a[aria-current=true]{font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.lilit-header-languages a:focus-visible,.lilit-footer-languages a:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.heritage-footer{display:flex;align-items:center;flex-wrap:nowrap;gap:24px;background:var(--l-ink);color:#f5f2ef;border:0}
.heritage-footer>img{width:clamp(130px,12vw,190px);height:auto;flex-shrink:0}
.heritage-footer>p{flex:1 1 auto;min-width:0;line-height:1.5}
.heritage-footer p,.heritage-footer nav{color:#f5f2ef}
.heritage-footer>nav{display:flex;gap:12px;flex-shrink:0}
.heritage-footer .lilit-footer-languages{display:flex;flex:0 0 auto;align-items:center;gap:4px;margin:0;padding:0;border:0;color:#f5f2ef}
@media(max-width:1100px){.heritage-footer{flex-wrap:wrap}.heritage-footer>p{flex:1 1 100%;order:5}}
@media(max-width:760px){.heritage-footer{flex-direction:column;align-items:flex-start;gap:20px}.heritage-footer>p{order:0}.heritage-footer>nav{width:100%;flex-wrap:wrap}.heritage-footer .lilit-footer-languages{width:100%;border-top:1px solid #ffffff33;padding-top:12px}.lilit-header-languages{gap:0}.lilit-header-languages a{min-width:29px;font-size:12px}.heritage-header{gap:10px}.heritage-logo{width:clamp(112px,36vw,150px)}.heritage-logo img{height:auto;max-height:54px}.heritage-actions{gap:4px;flex-shrink:0}}

/* 2. Home base. */
.lilit-home-soft{background:var(--l-paper);color:var(--l-text)}
.lilit-home-soft .finder-heading h2,.lilit-home-soft .position-heading h2,.lilit-home-soft .concerns-heading h2,.lilit-home-soft .clients-intro h2,.lilit-home-soft .lilit-voices-heading h2,.lilit-home-soft .book-section h2,.lilit-home-soft .faq-intro h2,.lilit-home-soft .blog-preview-heading h2{font-weight:500;letter-spacing:-.03em;line-height:1.17}
.lilit-home-soft .concerns-grid h3{hyphens:auto;hyphenate-limit-chars:10 4 4;overflow-wrap:break-word}

/* 3. Hero: portrait with a layered, wave-shaped veil (see home-refinement.php). */
.lilit-home-soft .heritage-hero{background:var(--l-beige);min-height:680px}
.lilit-home-soft .heritage-hero-photo{left:48%;width:52%;border-radius:0;-webkit-mask-image:none;mask-image:none}
.lilit-home-soft .heritage-hero-wash{display:none}
.lilit-home-soft .heritage-hero-copy{--hero-title-size:clamp(40px,4.5vw,68px);width:50%;padding-block:64px;padding-inline-end:30px;border:0}
.lilit-home-soft .heritage-hero-copy h1{font-size:var(--hero-title-size);font-weight:500;line-height:1.13;letter-spacing:-.035em}
.lilit-home-soft .heritage-hero-copy .hero-subline{max-width:680px;margin:22px 0 0;color:var(--red);font-family:Georgia,'Times New Roman',serif;font-size:calc(var(--hero-title-size)*.47);font-weight:400;line-height:1.4;letter-spacing:-.018em;text-wrap:balance}
.lilit-hero-veil{position:absolute;inset-block:0;left:40%;width:27%;height:100%;z-index:1;pointer-events:none}
.lilit-hero-veil-mobile{display:none}
html[dir=rtl] .lilit-home-soft .heritage-hero-copy{border:0;padding-inline-start:clamp(25px,5.3vw,102px);padding-inline-end:30px}

/* 3.5.6: Arabic hero is mirrored – portrait on the left, text on the right, veil flipped. */
@media(min-width:761px){html[dir=rtl] .lilit-home-soft .heritage-hero-photo{left:0;right:auto}html[dir=rtl] .lilit-home-soft .lilit-hero-veil{left:33%;transform:scaleX(-1)}html[dir=rtl] .lilit-home-soft .heritage-hero-copy{margin-left:auto;margin-right:0}}

/* 4. Qualification band stays warm; it is not the grey workfield colour. */
.lilit-home-soft .award-band{background:var(--l-paper);border-block:1px solid var(--l-line);color:var(--l-text)}
.lilit-home-soft .award-band>div{min-height:126px;background:transparent;border-color:var(--l-line)}
.lilit-home-soft .award-band .award-primary{background:transparent;color:var(--l-text)}
.lilit-home-soft .award-band small,.lilit-home-soft .award-band .award-primary small{color:#65585b}
.lilit-home-soft .award-band svg,.lilit-home-soft .award-band .award-primary svg{color:#b6002e;stroke-width:1.4}
.lilit-home-soft .award-band strong{font-weight:600}

/* 5. Arbeitsfelder: soft grey #f2f2f2, dark heading, gentle lift on hover. */
.home-v7.lilit-home-soft .service-finder{background:var(--l-grey);color:var(--l-text)}
.home-v7.lilit-home-soft .service-finder .finder-heading h2{color:var(--l-text)}
.home-v7.lilit-home-soft .service-finder .finder-heading>p{color:var(--l-muted)}
.home-v7.lilit-home-soft .service-finder .kicker{color:#8d1734}
.lilit-home-soft .workfield-card.lilit-flip-card{border:1px solid var(--l-line);border-top:2px solid var(--field,var(--l-red));border-radius:12px;background:var(--l-white);transition:transform .2s ease,box-shadow .2s ease}
.lilit-home-soft .workfield-card.lilit-flip-card:hover,.lilit-home-soft .workfield-card.lilit-flip-card:focus-within{transform:translateY(-3px);box-shadow:0 8px 24px #49342b12}

.lilit-home-soft .position-section{background:#f3eee5}
.lilit-home-soft .lilit-voice{border-radius:12px}

/* 6. Blog preview: square frames (the square right-hand image is the reference), aligned bottoms. */
.lilit-home-soft .blog-preview-grid{align-items:stretch}
.lilit-home-soft .blog-preview-grid article{display:flex;flex-direction:column;height:100%}
.lilit-home-soft .blog-preview-grid .blog-image{display:block;flex:none;aspect-ratio:1;height:auto;overflow:hidden;padding:0;border:0;background:#f5f1eb}
.lilit-home-soft .blog-preview-grid .blog-image img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 30%;transform:none}
/* Focal points: keep faces inside the square crop. */
.lilit-home-soft .blog-preview-grid img[src*="blog-psychologische-sicherheit"]{object-position:center top}
.lilit-home-soft .blog-preview-grid .blog-card-copy{flex:1;display:flex;flex-direction:column;min-height:0;height:auto;padding:24px}
.lilit-home-soft .blog-preview-grid .blog-card-copy h3{font-size:clamp(22px,2vw,28px)}
.lilit-home-soft .blog-preview-grid .blog-card-copy p{margin-bottom:22px}
.lilit-home-soft .blog-preview-grid .blog-card-copy>a{margin-top:auto;padding-top:20px}

/* 7. Wissen & Praxis teaser on the home page. */
.lilit-home-knowledge{background:var(--l-paper);color:var(--l-text);padding-block:clamp(40px,5vw,72px)!important;min-height:0!important}
.lilit-home-knowledge-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.lilit-home-knowledge-heading>div{max-width:720px}
.lilit-home-knowledge-heading h2{font-family:Arial,'Helvetica Neue',sans-serif;font-size:clamp(30px,3.1vw,46px);font-weight:500;line-height:1.2;margin:10px 0 16px;letter-spacing:-.03em}
.lilit-home-knowledge-heading p:not(.kicker){font-family:Georgia,'Times New Roman',serif;color:var(--l-muted);font-size:18px;line-height:1.7;margin:0}
.lilit-home-knowledge-all{color:#a5002b;font-weight:700;flex-shrink:0;text-underline-offset:5px}
.lilit-home-knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lilit-home-knowledge-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:28px;background:var(--l-white);border:1px solid var(--l-line);border-top:2px solid var(--l-red);border-radius:12px;transition:transform .2s ease,box-shadow .2s ease}
.lilit-home-knowledge-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #49342b12}
.lilit-home-knowledge-card h3{font-family:Arial,'Helvetica Neue',sans-serif;font-size:22px;font-weight:700;line-height:1.35;letter-spacing:-.01em;margin:0 0 16px}
.lilit-home-knowledge-card h3 a{color:var(--l-text);text-decoration:none}
.lilit-home-knowledge-card h3 a:after{content:'';position:absolute;inset:0;border-radius:12px}
.lilit-home-knowledge-card h3 a:hover{color:#a5002b}
.lilit-home-knowledge-card p{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.7;color:var(--l-muted);margin:0 0 24px}
.lilit-home-knowledge-card>span{margin-top:auto;padding-top:16px;border-top:1px solid var(--l-line);color:#a5002b;font-family:Arial,sans-serif;font-size:15px;font-weight:700;display:flex;justify-content:space-between;gap:12px}
.lilit-home-knowledge a:focus-visible{outline:3px solid var(--l-red);outline-offset:5px}
.lilit-home-knowledge-card:focus-within{outline:2px solid var(--l-red);outline-offset:3px}

/* 8. Closing: red contact block, then the editorial profile and social links. */
.lilit-home-soft .heritage-cta{background:var(--red,#c1002b);color:#fff}
.lilit-home-soft .heritage-cta h2,.lilit-home-soft .heritage-cta .kicker,.lilit-home-soft .heritage-cta div>p:not(.kicker){color:#fff}
.lilit-home-soft .lilit-home-closing-note{min-height:0!important;border:0}
.lilit-home-soft .lilit-home-closing-note h2{color:var(--l-text);font-weight:500}
.lilit-home-soft .lilit-home-closing-note p{color:var(--l-muted);line-height:1.75}
.lilit-home-soft .lilit-home-closing-profile{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,70px);align-items:start;background:var(--l-white);padding-block:clamp(40px,5vw,64px)!important}
.lilit-home-soft .lilit-profile-title{border-inline-start:2px solid var(--l-red);padding-inline-start:24px}
.lilit-home-soft .lilit-profile-title h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3vw,40px);line-height:1.3;color:var(--l-text);max-width:22ch;margin:0}
.lilit-home-soft .lilit-profile-copy p{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.75;margin:0 0 18px}
.lilit-home-soft .lilit-profile-copy p:last-child{margin-bottom:0}
.lilit-home-soft .lilit-profile-copy h3{font-size:19px;color:var(--l-text);margin:24px 0 12px}
.lilit-home-soft .lilit-home-closing-social{background:var(--l-white);padding-block:22px!important;border-top:1px solid var(--l-line)}
.lilit-home-soft .lilit-home-closing-social h2{font-size:22px;margin:0}
/* Social row aligns with the profile columns above: title left, icons under the copy column. */
@media(min-width:761px){.lilit-home-soft .section.lilit-home-closing-social{flex-wrap:nowrap}.lilit-home-soft .section.lilit-home-closing-social>h2{flex:0 0 calc((100% - clamp(28px,5vw,70px))*.4 + clamp(28px,5vw,70px) - 18px)}}

/* 9. Blog, article and knowledge share one editorial identity. */
.blog-v18 .blog-editorial-hero,.wp-site-blocks .article-editorial-hero{background:#f7f4ee;min-height:0;padding-block:clamp(40px,5vw,72px);padding-inline:clamp(22px,6vw,96px);gap:clamp(32px,5vw,72px)}
.blog-v18 .blog-editorial-hero h1,.wp-site-blocks .article-editorial-hero h1,.lilit-knowledge-page .lilit-knowledge-intro h1{font-family:Arial,'Helvetica Neue',sans-serif;font-size:clamp(36px,4.2vw,64px);font-weight:600;line-height:1.15;letter-spacing:-.035em;color:var(--l-text)}
.wp-site-blocks .article-editorial-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.blog-v18 .blog-editorial-hero h1,.wp-site-blocks .article-editorial-hero h1,.lilit-knowledge-page .lilit-knowledge-intro h1{hyphens:auto;hyphenate-limit-chars:10 4 4;overflow-wrap:break-word}
.blog-v18 .blog-editorial-hero>div,.wp-site-blocks .article-hero-copy{border-inline-start:2px solid var(--l-red);padding-inline-start:24px}
.lilit-knowledge-page{background:#f7f4ee}
.lilit-knowledge-page .lilit-knowledge-layout{max-width:none!important;padding:clamp(40px,5vw,72px) clamp(22px,6vw,96px)!important}
.lilit-knowledge-article h2,.lilit-knowledge-article h3,.lilit-knowledge-service-links h2{font-family:Arial,'Helvetica Neue',sans-serif}
.lilit-knowledge-article p,.lilit-knowledge-article li{font-family:Georgia,'Times New Roman',serif}
.lilit-knowledge-article .eyebrow{font-family:Arial,'Helvetica Neue',sans-serif}
.lilit-knowledge-page .lilit-knowledge-lead{font-size:clamp(18px,1.4vw,21px);line-height:1.75;color:var(--l-muted)}
.lilit-knowledge-page .lilit-knowledge-article:not(.lilit-knowledge-index) .lilit-knowledge-intro{border-inline-start:2px solid var(--l-red);padding-inline-start:24px}
.lilit-knowledge-index{max-width:none;display:flex;flex-direction:column}
.lilit-knowledge-index>.lilit-knowledge-intro{order:-3;border-inline-start:2px solid var(--l-red);padding-inline-start:24px;max-width:1000px}
.lilit-knowledge-index>.lilit-knowledge-toc{display:none!important}
.lilit-knowledge-index>.lilit-knowledge-hub{order:-2}
.lilit-knowledge-index>.lilit-knowledge-section,.lilit-knowledge-index>.lilit-knowledge-author,.lilit-knowledge-index>.lilit-knowledge-sources,.lilit-knowledge-index>.lilit-knowledge-cta{max-width:850px}
.lilit-knowledge-index .lilit-knowledge-hub ul{grid-template-columns:repeat(3,minmax(0,1fr))}
.lilit-knowledge-hub li{position:relative;display:flex;flex-direction:column;border-radius:12px;background:var(--l-white);border-top:2px solid var(--l-red);transition:transform .2s ease,box-shadow .2s ease}
.lilit-knowledge-hub li:hover{transform:translateY(-3px);box-shadow:0 8px 24px #49342b12}
.lilit-knowledge-hub li>a{font-family:Arial,'Helvetica Neue',sans-serif;color:var(--l-text);text-decoration:none}
.lilit-knowledge-hub li>a:after{content:'';position:absolute;inset:0;border-radius:12px}
.lilit-knowledge-hub li:hover>a{color:#a5002b}
.lilit-knowledge-hub li:focus-within{outline:2px solid var(--l-red);outline-offset:3px}
.lilit-knowledge-page .lilit-knowledge-author{border-radius:12px}
html[dir=rtl] .lilit-knowledge-page :is(.lilit-knowledge-lead,.lilit-knowledge-article p,.lilit-knowledge-article li),html[dir=rtl] .lilit-home-knowledge :is(p,h2,h3){font-family:Arial,Tahoma,sans-serif}
html[dir=rtl] .lilit-home-knowledge-heading h2{letter-spacing:0}

/* 3.5.6: one editorial page-title style for contact, about, references and course heroes (as Blog/Wissen). */
.wp-site-blocks :is(.contact-hero-copy,.about-lilit-hero-copy,.course-hero-copy,.lilit-reference-intro) h1{font-family:Arial,'Helvetica Neue',sans-serif;font-size:clamp(36px,4.2vw,64px);font-weight:600;line-height:1.15;letter-spacing:-.035em;color:var(--l-text);hyphens:auto;hyphenate-limit-chars:10 4 4;overflow-wrap:break-word}

/* 3.5.6: course overview – the enquiry prompt moves under the text column so both columns end together. */
@media(min-width:901px){.course-overview:has(>aside>.course-profile-action){grid-template-areas:"label purpose" "facts purpose" "facts action";grid-template-rows:auto auto 1fr;row-gap:0}.course-overview:has(>aside>.course-profile-action)>aside{display:contents}.course-overview>aside>.eyebrow{grid-area:label}.course-overview>aside>dl{grid-area:facts}.course-overview>aside>.course-profile-action{grid-area:action;align-self:start;margin-top:32px}.course-overview:has(>aside>.course-profile-action)>.course-purpose{grid-area:purpose}}

@media(max-width:900px){
.blog-v18 .blog-editorial-hero,.wp-site-blocks .article-editorial-hero{grid-template-columns:1fr}
.lilit-home-knowledge-heading{display:block}.lilit-home-knowledge-all{display:inline-block;margin-top:22px}
.lilit-home-knowledge-grid{grid-template-columns:1fr}
.lilit-knowledge-index .lilit-knowledge-hub ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
.lilit-home-soft .heritage-hero{min-height:0}
.lilit-home-soft .heritage-hero-photo{top:0;left:0;width:100%;height:370px;object-position:70% 20%}
.lilit-hero-veil{display:none}
.lilit-hero-veil-mobile{display:block;position:absolute;left:0;right:0;top:270px;width:100%;height:101px;z-index:1;pointer-events:none}
.lilit-home-soft .heritage-hero-copy,html[dir=rtl] .lilit-home-soft .heritage-hero-copy{width:100%;padding:395px 22px 42px}
.lilit-home-soft .heritage-hero-copy{--hero-title-size:clamp(34px,9vw,44px)}
.lilit-home-soft .award-band>div{min-height:108px}
.lilit-home-knowledge-card{padding:24px}
.lilit-home-soft .lilit-home-closing-profile{grid-template-columns:1fr;gap:24px}
.lilit-home-soft .lilit-profile-title h2{max-width:none}}
@media(max-width:640px){.lilit-knowledge-index .lilit-knowledge-hub ul{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.lilit-home-soft .workfield-card.lilit-flip-card,.lilit-home-knowledge-card,.lilit-knowledge-hub li{transition:none}.lilit-home-soft .workfield-card.lilit-flip-card:hover,.lilit-home-soft .workfield-card.lilit-flip-card:focus-within,.lilit-home-knowledge-card:hover,.lilit-knowledge-hub li:hover{transform:none}}
