/* New modules are portable. Existing page chrome changes only with the explicit theme. */
.lm-section { position:relative; padding:clamp(54px,7vw,96px) 0; color:var(--ink); background:#fff; overflow-wrap:break-word; }
.lm-section .wrap { max-width:1280px; }
.lm-section h2 { font-size:clamp(30px,3.4vw,46px); line-height:1.15; font-weight:450; letter-spacing:-.025em; text-wrap:balance; }
.lm-section h3 { font-size:clamp(23px,2.1vw,29px); line-height:1.2; font-weight:500; }
.lm-section .eyebrow { margin-bottom:16px; font-size:11px; line-height:1.5; letter-spacing:.12em; }
.lm-head { max-width:780px; margin-bottom:34px; }
.lm-lead { max-width:700px; margin:18px 0 0; font-size:17px; line-height:1.7; color:var(--ink-2); }
.lm-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:34px; }
.lm-head-row .lm-head { margin-bottom:0; }
.lm-head-row>.lm-link { flex-shrink:0; }
.lm-link { display:inline-flex; align-items:center; gap:14px; min-height:44px; font-size:15px; font-weight:600; line-height:1.4; color:var(--green-deep); text-decoration:none; text-underline-offset:5px; }
.lm-link:hover { text-decoration:underline; }
.lm-link>span[aria-hidden] { font-size:22px; }
.lm-section a:focus-visible,.lm-section summary:focus-visible { outline:2px solid var(--green-deep); outline-offset:5px; }
.lm-section,.lm-anchor,.lm-section a,.lm-section summary { scroll-margin-top:110px; }
.lm-anchor { position:absolute; top:0; }
.lm-services { padding-top:clamp(42px,5vw,70px); }
.lm-services__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.lm-service { display:flex; flex-direction:column; position:relative; padding:30px; border:1px solid var(--line); border-top:3px solid var(--green); background:#fff; min-width:0; }
.lm-service__index { color:var(--green-deep); font-size:13px; font-weight:600; margin-bottom:24px; }
.lm-service h3 { margin:0 0 16px; font-size:clamp(30px,3vw,40px); }
.lm-service h3 a { text-decoration:none; }
.lm-service h3 a:hover { color:var(--green-deep); }
.lm-service p { margin:0 0 22px; color:var(--ink-2); font-size:16px; line-height:1.65; flex:1; }
.lm-service>.lm-link { align-self:flex-start; }
.lm-articles { background:var(--paper); }
.lm-articles__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.lm-articles .post-card { min-width:0; border:1px solid var(--line); background:#fff; box-shadow:none; opacity:1; transform:none; }
.lm-articles .post-card:hover { border-color:var(--green-deep); }
.lm-articles .post-card h3 { font-size:24px; line-height:1.25; }
.lm-articles .post-card__body { padding:24px; gap:15px; }
.lm-articles .post-card__meta { flex-wrap:wrap; gap:8px 12px; }
.lm-articles .post-card__meta .tag { font-size:11px; }
.lm-articles .post-card__img { aspect-ratio:16/10; }
.lm-articles .post-card p { font-size:15px; line-height:1.65; }
.lm-newsletter { display:flex; justify-content:space-between; align-items:center; gap:26px; margin-top:32px; padding-top:28px; border-top:1px solid var(--line); }
.lm-newsletter h3 { font-size:21px; }
.lm-newsletter p { margin:8px 0 0; font-size:15px; color:var(--ink-2); }
.lm-newsletter>.lm-link { flex-shrink:0; }
.lm-empty { grid-column:1/-1; margin:0; color:var(--muted); }
.lm-image-text__grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,80px); align-items:center; }
.lm-image-text__frame { aspect-ratio:4/3; margin:0; overflow:hidden; background:var(--paper); min-width:0; }
.lm-image-text__frame img { width:100%; height:100%; object-fit:cover; object-position:center; }
.lm-image-text--vollstaendig .lm-image-text__frame { aspect-ratio:auto; }
.lm-image-text--vollstaendig .lm-image-text__frame img { display:block; height:auto; object-fit:contain; }
.lm-image-text__body { min-width:0; }
.lm-image-text__body .lm-head { margin-bottom:22px; }
.lm-image-text__body .prose { font-size:17px; line-height:1.75; max-width:none; }
.lm-image-text__body .prose p { margin:0 0 18px; }
.lm-image-text--rechts .lm-image-text__frame { grid-column:2; grid-row:1; }
.lm-image-text--rechts .lm-image-text__body { grid-column:1; grid-row:1; }
.lm-image-text+.lm-image-text { padding-top:12px; }
/* Opt-in editorial compositions. Existing modules retain their original geometry. */
.lm-image-text--editorial { padding-block:clamp(48px,5vw,72px); }
.lm-image-text--editorial .lm-image-text__grid { align-items:start; gap:clamp(40px,5vw,72px); padding-top:32px; border-top:1px solid var(--line); }
.lm-image-text--editorial .lm-image-text__body { padding-top:20px; }
.lm-image-text--editorial .lm-head { max-width:620px; margin-bottom:24px; }
.lm-image-text--editorial h2 { max-width:17ch; font-size:clamp(32px,3.5vw,48px); line-height:1.12; letter-spacing:-.035em; text-wrap:balance; }
.lm-image-text--editorial .eyebrow { margin-bottom:22px; }
.lm-image-text--editorial .prose { max-width:58ch; font-size:18px; line-height:1.7; }
.lm-image-text--editorial .prose p:last-child { margin-bottom:0; }
.lm-image-text--editorial .lm-link { margin-top:24px; }
.lm-image-text--editorial-portraet .lm-image-text__grid { grid-template-columns:minmax(0,4fr) minmax(0,7fr); }
.lm-image-text--editorial-portraet.lm-image-text--rechts .lm-image-text__grid { grid-template-columns:minmax(0,7fr) minmax(0,4fr); }
.lm-image-text--editorial-portraet .lm-image-text__frame { width:100%; max-width:390px; aspect-ratio:3/4; }
.lm-image-text--editorial-portraet.lm-image-text--rechts .lm-image-text__frame { justify-self:end; }
.lm-image-text--editorial-panorama .lm-image-text__grid { grid-template-columns:minmax(0,7fr) minmax(0,5fr); }
.lm-image-text--editorial-panorama.lm-image-text--rechts .lm-image-text__grid { grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
.lm-image-text--editorial-panorama .lm-image-text__frame { width:100%; aspect-ratio:16/10; }
.lm-image-text--editorial-panorama .lm-image-text__body { padding-top:8px; }
.lm-image-text--editorial-panorama .lm-head { max-width:470px; }
.lm-image-text--editorial-panorama h2 { font-size:clamp(30px,3vw,42px); }
/* Both intrinsic dimensions stay automatic, so the height limit never crops a full photo. */
.lm-image-text--editorial.lm-image-text--vollstaendig .lm-image-text__frame { display:flex; align-items:flex-start; aspect-ratio:auto; background:transparent; }
.lm-image-text--editorial.lm-image-text--vollstaendig.lm-image-text--rechts .lm-image-text__frame { justify-content:flex-end; }
.lm-image-text--editorial.lm-image-text--vollstaendig .lm-image-text__frame img { width:auto; height:auto; max-width:100%; max-height:540px; object-fit:contain; }
.lm-image-text--editorial-panorama.lm-image-text--vollstaendig .lm-image-text__frame img { max-height:400px; }
.lm-image-text--editorial+.lm-image-text--editorial { padding-top:0; }
@media(max-width:1000px) {
 .lm-image-text--editorial.lm-image-text .lm-image-text__grid { grid-template-columns:minmax(0,1fr); gap:28px; padding-top:26px; }
 .lm-image-text--editorial .lm-image-text__body { padding-top:0; }
 .lm-image-text--editorial.lm-image-text--rechts .lm-image-text__body { grid-column:auto; grid-row:auto; }
 .lm-image-text--editorial .lm-image-text__frame,.lm-image-text--editorial.lm-image-text--rechts .lm-image-text__frame { grid-column:auto; grid-row:auto; justify-self:center; }
 .lm-image-text--editorial-portraet .lm-image-text__frame { max-width:315px; }
 .lm-image-text--editorial.lm-image-text--vollstaendig .lm-image-text__frame img { max-height:435px; margin-inline:auto; }
 .lm-image-text--editorial-panorama.lm-image-text--vollstaendig .lm-image-text__frame img { max-height:400px; }
 .lm-image-text--editorial h2 { font-size:clamp(30px,4.5vw,40px); }
 .lm-image-text--editorial .prose { font-size:17px; }
}
.lm-numbers { background:var(--ink); color:#fff; padding-block:clamp(38px,5vw,64px); }
.lm-numbers__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:24px 0; margin:0; }
.lm-number { min-width:0; padding:0 24px; border-left:1px solid #ffffff35; }
.lm-number:first-child { padding-left:0; border-left:0; }
.lm-number dt { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px; }
.lm-number strong { font:450 clamp(58px,7vw,96px)/1.1 var(--serif); color:#fff; letter-spacing:-.03em; }
.lm-number dt>span { color:#bce28c; font-size:25px; }
.lm-number dd { margin:12px 0 0; font-size:clamp(18px,2vw,23px); line-height:1.5; color:#e3e9e1; }
.lm-faq { background:#fafbf8; }
.lm-faq__grid { display:grid; grid-template-columns:4fr 6fr; gap:clamp(30px,6vw,80px); align-items:start; }
.lm-faq .lm-head { margin:0; }
.lm-faq__list { min-width:0; border-top:1px solid var(--line); }
.lm-faq__list details { border-bottom:1px solid var(--line); }
.lm-faq__list summary { position:relative; padding:23px 38px 23px 0; font-size:18px; font-weight:500; line-height:1.45; }
.lm-faq__list summary::after { content:'+'; position:absolute; right:4px; top:20px; font-size:25px; font-weight:400; color:var(--green-deep); }
.lm-faq__list details[open]>summary::after { content:'−'; }
.lm-faq__list .prose { font-size:16px; line-height:1.7; padding:0 32px 20px 0; }
.lm-faq__list .prose p { margin-top:0; }
.lm-location__grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,6vw,80px); align-items:center; }
.lm-location .lm-head { margin-bottom:0; }
.lm-location__card { display:grid; grid-template-columns:48px minmax(0,1fr); gap:18px 24px; border:1px solid var(--line); background:var(--paper); padding:clamp(26px,4vw,44px); }
.lm-location__icon { width:48px; height:48px; color:var(--green-deep); }
.lm-location address { margin:0; font-style:normal; font-size:18px; line-height:1.65; }
.lm-location__card>.lm-link { grid-column:2; }

/* A calmer, familiar structure. Never changes the filmic preset. */
body.layout-klassisch-modern { --wrap:1280px; --gutter:clamp(20px,4vw,48px); background:#fff; }
body.layout-klassisch-modern .nav { position:sticky; top:0; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); box-shadow:none; backdrop-filter:none; padding:20px var(--gutter); gap:26px; transform:none; }
body.layout-klassisch-modern .nav.is-hidden { transform:none; }
body.layout-klassisch-modern .nav .logo--light { display:none; }
body.layout-klassisch-modern .nav .logo--dark { display:block; }
body.layout-klassisch-modern .nav__links { gap:24px; }
body.layout-klassisch-modern .nav__meta { gap:18px; }
body.layout-klassisch-modern .nav__links>a,body.layout-klassisch-modern .mega__toggle { white-space:nowrap; }
body.layout-klassisch-modern .hero { position:relative; top:auto; height:min(76svh,800px); min-height:560px; --hp:0!important; }
body.layout-klassisch-modern .hero__media { transform:none; }
body.layout-klassisch-modern .hero__content { bottom:84px; transform:none; opacity:1; }
body.layout-klassisch-modern .hero__scroll { opacity:1; }
body.layout-klassisch-modern .hero__shade { opacity:1; }
body.layout-klassisch-modern .hero__shade::after { opacity:0; }
body.layout-klassisch-modern .hero__title { font-size:clamp(38px,5vw,74px); }
body.layout-klassisch-modern .hero__title .line,body.layout-klassisch-modern .hero__title .line>span,body.layout-klassisch-modern .hero .eyebrow,body.layout-klassisch-modern .hero__lead,body.layout-klassisch-modern .hero__cta { opacity:1; transform:none; }
body.layout-klassisch-modern .hero__cue { font-size:clamp(34px,4.9vw,72px); }
body.layout-klassisch-modern .hero__cue--intro>strong { font-size:clamp(62px,10vw,140px); }
body.layout-klassisch-modern .hero--page { height:58svh; min-height:440px; }
body.layout-klassisch-modern .hero--text { height:auto; min-height:0; padding:80px 0 64px; }
body.layout-klassisch-modern .hero--text .hero__content { position:relative; inset:auto; margin:0 auto; padding:0 var(--gutter); max-width:1280px; }
body.layout-klassisch-modern .curtain { box-shadow:none; }
body.layout-klassisch-modern .section { padding-block:clamp(54px,7vw,96px); }
body.layout-klassisch-modern .section h2 { font-size:clamp(30px,3.4vw,46px); line-height:1.15; font-weight:450; }
body.layout-klassisch-modern .section__head { margin-bottom:36px; }
body.layout-klassisch-modern .contact { padding-block:clamp(64px,8vw,110px); }
body.layout-klassisch-modern .contact h2 { font-size:clamp(34px,4vw,52px); }
body.layout-klassisch-modern .footer { padding-top:48px; }
body.layout-klassisch-modern .footer__base { color:#bdc6bd; }
body.layout-klassisch-modern .footer__login { color:#bdc6bd; }
@media (min-width:1001px) and (max-width:1250px) {
 body.layout-klassisch-modern .nav { gap:18px; }
 body.layout-klassisch-modern .nav__links { gap:16px; }
 body.layout-klassisch-modern .nav__links>a,body.layout-klassisch-modern .mega__toggle { font-size:14px; }
 body.layout-klassisch-modern .nav__meta { gap:14px; }
}
@media (max-width:1000px) {
 .lm-services__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
 .lm-service { padding:24px 20px; }
 .lm-articles__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .lm-image-text__grid,.lm-faq__grid,.lm-location__grid { grid-template-columns:1fr; gap:30px; }
 .lm-image-text--rechts .lm-image-text__frame,.lm-image-text--rechts .lm-image-text__body { grid-column:auto; grid-row:auto; }
 .lm-image-text__frame { max-height:560px; }
 .lm-image-text__body .lm-head { max-width:none; }
 .lm-faq .lm-head { max-width:680px; }
 body.layout-klassisch-modern .nav { padding-block:18px; gap:18px; }
 body.layout-klassisch-modern .nav__links { gap:18px; }
 body.layout-klassisch-modern .hero { height:74svh; min-height:540px; }
 body.layout-klassisch-modern .hero--page { height:55svh; min-height:400px; }
 body.layout-klassisch-modern .hero--text { height:auto; min-height:0; padding:60px 0 50px; }
}
@media (max-width:640px) {
 .lm-section { padding-block:48px; }
 .lm-head { margin-bottom:28px; }
 .lm-head-row { display:block; margin-bottom:26px; }
 .lm-head-row>.lm-link { margin-top:14px; }
 .lm-services__grid,.lm-articles__grid { grid-template-columns:1fr; gap:18px; }
 .lm-service { padding:24px; }
 .lm-service__index { margin-bottom:14px; }
 .lm-service p { margin-bottom:14px; }
 .lm-service h3 { margin-bottom:12px; }
 .lm-newsletter { display:block; margin-top:26px; padding-top:24px; }
 .lm-newsletter>.lm-link { margin-top:12px; }
 .lm-image-text__body .prose { font-size:16px; }
 .lm-image-text__grid { gap:26px; }
 .lm-numbers__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 0; }
 .lm-number { padding:0 18px; }
 .lm-number:nth-child(odd) { padding-left:0; border-left:0; }
 .lm-number strong { font-size:clamp(52px,13vw,72px); }
 .lm-faq__list summary { font-size:17px; }
 .lm-location__card { grid-template-columns:32px minmax(0,1fr); padding:24px 20px; gap:16px; }
 .lm-location__icon { width:32px; height:32px; }
 .lm-location address { font-size:16px; }
 body.layout-klassisch-modern .nav__logo img { max-width:156px; height:auto; }
 body.layout-klassisch-modern .hero__content { bottom:78px; }
 body.layout-klassisch-modern .hero__cue { font-size:clamp(28px,8vw,42px); }
 body.layout-klassisch-modern .hero__cue--intro>strong { font-size:clamp(54px,17vw,86px); }
 body.layout-klassisch-modern .hero--page .hero__content { bottom:58px; }
 body.layout-klassisch-modern .hero--text .hero__content { bottom:auto; }
}
/* If scripts are unavailable, show real links instead of a non-working menu button. */
@media (max-width:1000px) {
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav { position:relative; flex-wrap:wrap; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav__burger { display:none; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav__links { display:flex; flex-flow:row wrap; order:5; width:100%; margin:0; gap:6px 20px; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav__links>a { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; font-size:15px; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega { order:5; width:100%; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega__toggle { display:none; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega__panel { display:block; position:static; transform:none; opacity:1; visibility:visible; pointer-events:auto; box-shadow:none; border:0; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega__inner { display:flex; flex-wrap:wrap; gap:16px; padding:12px 0 0; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega__col { flex:1 1 90px; min-width:0; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .mega__col ul { display:none; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav .mega__head { min-height:44px; margin:0; font-size:20px; }
 html:not(.motion):not(.no-motion) body.layout-klassisch-modern .nav .mega__head span { font-size:10px; letter-spacing:.04em; line-height:1.4; min-height:2.8em; white-space:normal; overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) {
 .lm-section *,.lm-section *::before,.lm-section *::after { transition:none!important; animation:none!important; }
}

/* Legal documents retain a reading hierarchy instead of marketing-size headings. */
body.layout-klassisch-modern .prose--legal h2 { font-size:clamp(24px,2.2vw,30px); line-height:1.3; margin:1.6em 0 .65em; }
body.layout-klassisch-modern .prose--legal h3 { font-size:21px; line-height:1.35; margin:1.4em 0 .55em; }
