/* v9 family on retained dynamic project and official legal content. */
body.ck-v9-family{--ck-v9-paper:#f5f3ee;--ck-v9-cream:#f2e8cf;--ck-v9-brown:#634d38;--ck-v9-ink:#2a2a2a;--ck-v9-line:#d9d1c4}
body.ck-v9-family :is(.projectscopy,.projectsingle,.cklegal-page){font-family:Arial,Helvetica,sans-serif;color:var(--ck-v9-ink);background:var(--ck-v9-paper)}
body.ck-v9-family :is(.projectscopy-title,.projectsingle__title,.cklegal-title){font-weight:400!important;letter-spacing:-.05em!important;line-height:1.06!important;color:var(--ck-v9-brown)!important;font-size:clamp(40px,5.4vw,86px)!important;text-wrap:balance}
body.ck-v9-family :is(.projectscopy-heading,.projectsingle__heading,.cklegal-heading){font-weight:400!important;letter-spacing:-.035em!important;line-height:1.12!important;color:var(--ck-v9-brown)!important;font-size:clamp(29px,3.5vw,53px)!important;text-wrap:balance}
body.ck-v9-family :is(.projectscopy-hero,.projectsingle__hero,.cklegal-hero){background:var(--ck-v9-cream)!important;border:0!important;padding-top:clamp(48px,6vw,95px)!important;padding-bottom:clamp(48px,6vw,95px)!important}
body.ck-v9-family :is(.projectscopy-shell,.projectsingle__shell,.cklegal-shell){max-width:1380px!important;width:88%!important;margin-inline:auto!important}
body.ck-v9-family :is(.projectscopy-section,.cklegal-section){padding-block:clamp(48px,6vw,90px)!important}
body.ck-v9-family :is(.projectscopy-eyebrow,.projectsingle__eyebrow,.cklegal-eyebrow,.cklegal-kicker,.cklegal-card-kicker){font-size:11px!important;letter-spacing:.13em!important;text-transform:uppercase;color:var(--ck-v9-brown)!important}
body.ck-v9-family :is(.projectscopy-lead,.projectsingle__intro,.cklegal-lead){font-size:clamp(17px,1.4vw,20px)!important;line-height:1.75!important;color:#625846!important}
body.ck-v9-family :is(.projectscopy-button,.projectsingle__button,.cklegal-button){border-radius:1px!important;box-shadow:none!important;padding:16px 23px!important;font-weight:400!important;min-height:48px}
body.ck-v9-family :is(.projectscopy-button--primary,.projectsingle__button--primary,.cklegal-button--primary){background:var(--ck-v9-brown)!important;border-color:var(--ck-v9-brown)!important;color:#fff!important}
body.ck-v9-family :is(.projectscopy-button--secondary,.projectsingle__button--secondary,.cklegal-button--secondary){background:transparent!important;border:1px solid var(--ck-v9-brown)!important;color:var(--ck-v9-brown)!important}
body.ck-v9-family :is(.cklegal-card,.cklegal-panel,.cklegal-linkcard,.cklegal-document-wrap,.projectscopy-filter-card,.projectscopy-stat,.projectscopy-proofitem){border:1px solid var(--ck-v9-line)!important;background:#fffdf8!important;border-radius:2px!important;box-shadow:none!important}
body.ck-v9-family :is(.cklegal-section--soft,.projectscopy-section--light){background:#ede8dd!important}
body.ck-v9-family :is(.cklegal-copy,.cklegal-detail-list,.cklegal-document-wrap){font-size:16px;line-height:1.8}
body.ck-v9-family :is(.cklegal-copy,.cklegal-document-wrap) a{text-decoration:underline;text-underline-offset:3px}
body.ck-v9-family :is(.projectsingle__media-frame,.projectsingle__gallery-grid img,.projectscopy-hero-main,.projectscopy-hero-submedia){border-radius:2px!important;box-shadow:none!important}
body.ck-v9-family .projectsingle__meta{border-block:1px solid var(--ck-v9-line);padding-block:16px;color:#635541}
body.ck-v9-family :is(.projectsingle__cta-section,.projectscopy-section--accent){background:var(--ck-v9-cream)!important}
body.ck-v9-family :is(.projectsingle,.projectscopy,.cklegal-page) [data-aos]{opacity:1!important;transform:none!important}
body.ck-v9-family.page-id-1360 .entry-content{background:var(--ck-v9-cream);padding:65px 5%;margin:0}
body.ck-v9-family.page-id-1360 h1{font-size:clamp(38px,5vw,70px);font-weight:400;letter-spacing:-.05em;color:var(--ck-v9-brown)}
body.ck-v9-family.page-id-1360 .wp-block-button__link{border-radius:1px;background:var(--ck-v9-brown);color:#fff}
@media(max-width:767px){body.ck-v9-family :is(.projectscopy-shell,.projectsingle__shell,.cklegal-shell){width:90%!important}body.ck-v9-family :is(.projectscopy-title,.projectsingle__title,.cklegal-title){font-size:clamp(33px,8vw,48px)!important;overflow-wrap:anywhere}}

/* Existing templates place their content below an out-of-flow Blocksy header. */
body.ck-v9-family:not(.ck-v9-content) :is(.projectscopy-hero,.projectsingle__hero,.cklegal-hero){padding-top:calc(var(--header-height,90px) + clamp(48px,6vw,95px))!important}
body.ck-v9-family.page-id-1360 .entry-content{padding-top:calc(var(--header-height,90px) + 65px)}

/* B2: Size the long German privacy heading against its actual grid column. */
body.ck-v9-family.page-id-901 .cklegal-hero-copy{container-type:inline-size;min-width:0}
body.ck-v9-family.page-id-901 .cklegal-title{font-size:clamp(33px,9cqi,70px)!important;overflow-wrap:anywhere;hyphens:auto}

/* r9: shared full-width frame only. Do not broaden page content or alter scene geometry. */
body.ck-v9-family{--ck-v9-frame-gutter:clamp(20px,3vw,96px)}
body.ck-v9-family #header [data-row]>.ct-container-fluid,
body.ck-v9-family #header [data-row]>.ct-container{
 width:calc(100% - 2 * var(--ck-v9-frame-gutter))!important;
 max-width:none!important;margin-inline:auto!important;padding-inline:0!important;
}
body.ck-v9-family #header .site-branding{margin-inline:0!important}
body.ck-v9-family #header nav[data-id="menu"]{margin-inline:0!important}
body.ck-v9-family #footer.ct-footer{
 width:100%!important;max-width:none!important;margin-inline:0!important;
 padding-inline:var(--ck-v9-frame-gutter)!important;
}
body.ck-v9-family #footer>[data-row],
body.ck-v9-family #footer>[data-row]>.ct-container-auto{
 width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;
}

/* CK frame integration candidate, fresh r12b base, 2026-11-06.
 * Presentation only: retained Blocksy header, r9 gutter and real footer widgets.
 * No scene, dialog, page-content, sticky geometry or consent selectors. */
body.ck-v9-family #header [data-row="middle"] {
 background:#f5f0e4!important;
 box-shadow:inset 0 -1px 0 rgba(99,77,56,.19)!important;
}
body.ck-v9-family #header .ct-menu-link,
body.ck-v9-family #offcanvas .ct-menu-link {color:#4d3c2c!important}
body.ck-v9-family #header .ct-menu-link:hover,
body.ck-v9-family #offcanvas .ct-menu-link:hover {color:#6c512a!important}
body.ck-v9-family #offcanvas .ct-menu-link[aria-current="page"] {color:#634d38!important;text-decoration:underline;text-decoration-color:#92703c;text-underline-offset:7px;text-decoration-thickness:1px}
body.ck-v9-family #header nav .sub-menu,
body.ck-v9-family #offcanvas .ct-panel-inner {background:#f5f0e4!important;color:#4d3c2c;--theme-link-initial-color:#4d3c2c;--theme-link-hover-color:#6c512a}
body.ck-v9-family #header nav .sub-menu {border:1px solid #d9d1c4;box-shadow:0 8px 24px rgba(50,38,24,.1)!important}
body.ck-v9-family #header .ct-header-trigger,
body.ck-v9-family #offcanvas :is(.ct-toggle-close,.ct-toggle-dropdown-mobile) {color:#634d38!important;--theme-icon-color:#634d38;--theme-icon-hover-color:#4d3c2c}
body.ck-v9-family :is(#header,#offcanvas,#footer) :is(a,button):focus-visible {outline:2px solid #634d38!important;outline-offset:4px!important}

/* Keep all links/content. Replace equal-width, tall columns with a compact grid. */
body.ck-v9-family #footer.ct-footer {background:#eee7d8!important;border-top:1px solid #d5c6ac;color:#4d3c2c;--theme-text-color:#4d3c2c;--theme-link-initial-color:#4d3c2c;--theme-link-hover-color:#634d38}
body.ck-v9-family #footer>[data-row]>.ct-container-auto {padding-block:24px 18px!important;grid-template-columns:minmax(0,1fr)!important}
body.ck-v9-family #footer #block-13 .wp-block-columns {display:grid!important;grid-template-columns:minmax(125px,.7fr) minmax(0,1.5fr) minmax(235px,1fr);gap:32px!important;align-items:start;margin:0!important}
body.ck-v9-family #footer #block-13 .wp-block-column {width:auto!important;min-width:0;margin:0!important}
body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:0}
body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2)>h3 {grid-column:1/-1}
body.ck-v9-family #footer #block-13 h3 {font-family:inherit!important;font-size:12px!important;font-weight:600!important;letter-spacing:.09em;line-height:1.5!important;text-transform:uppercase;margin:0 0 9px!important;color:#634d38!important}
body.ck-v9-family #footer :is(p,a) {font-size:14px!important;line-height:1.5!important;color:#4d3c2c!important}
body.ck-v9-family #footer p {margin:0!important;min-width:0}
body.ck-v9-family #footer #block-13 p>a {display:inline-block;padding-block:3px;max-width:100%;overflow-wrap:anywhere}
body.ck-v9-family #footer a:hover {text-decoration:underline;text-underline-offset:4px;color:#634d38!important}
body.ck-v9-family #footer #block-13 figure {margin:0!important}
body.ck-v9-family #footer #block-13 img {width:130px!important;height:auto!important}
body.ck-v9-family #footer #block-14 {margin-top:18px!important;padding-top:12px;border-top:1px solid #d5c6ac}
body.ck-v9-family #footer #block-14>.wp-block-group {display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap}
body.ck-v9-family #footer #block-14 :is(p,a) {font-size:12px!important;line-height:1.6!important}
@media(min-width:1000px){
 body.ck-v9-family #footer #block-14 p:last-child {padding-right:44px}
 body.ck-v9-family #footer #block-13 .wp-block-columns {grid-template-columns:minmax(115px,.55fr) minmax(0,1.25fr) minmax(360px,1.2fr)}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(3) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(3)>h3 {grid-column:1/-1}
}
@media(min-width:601px) and (max-width:999px){
 body.ck-v9-family #footer #block-13 .wp-block-columns {grid-template-columns:120px minmax(0,1fr);gap:20px 28px!important}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2) {grid-column:2;grid-row:1}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(3) {grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(3)>h3 {grid-column:1/-1}
}
/* Small screens: independent brand/contact group first, then wrapping navigation.
   Original DOM/reading order and all links are retained. */
@media(max-width:600px){
 body.ck-v9-family #footer>[data-row]>.ct-container-auto {padding-block:20px 18px!important}
 body.ck-v9-family #footer #block-13 .wp-block-columns {grid-template-columns:90px minmax(0,1fr);gap:14px 20px!important}
 body.ck-v9-family #footer #block-13 img {width:90px!important}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(3) {display:block;grid-column:2;grid-row:1}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2) {display:flex;flex-wrap:wrap;column-gap:16px;row-gap:0;grid-column:1/-1;grid-row:2}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2)>h3 {flex-basis:100%;margin-bottom:5px!important}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2)>p {width:auto}
 body.ck-v9-family #footer #block-13 :is(p,a) {font-size:13px!important}
 body.ck-v9-family #footer #block-13 p>a {padding-block:2px}
 body.ck-v9-family #footer #block-13 .wp-block-column:nth-child(2)>p>a {overflow-wrap:normal}
 body.ck-v9-family #footer #block-14 {margin-top:12px!important;padding-top:9px}
 body.ck-v9-family #footer #block-14>.wp-block-group {gap:5px}
}
@media(max-width:359px){
 body.ck-v9-family #footer #block-13 .wp-block-columns {grid-template-columns:70px minmax(0,1fr);column-gap:12px!important}
 body.ck-v9-family #footer #block-13 img {width:70px!important}
}
/* Retained drawer, with usable text width on phones (r11 word-wrap stays as fallback). */
@media(max-width:999px){
 body.ck-v9-family #offcanvas .ct-panel-inner {width:min(420px,calc(100vw - 40px))!important;max-width:calc(100vw - 40px)!important}
}
body.ck-v9-family #offcanvas :is(.ct-toggle-close,.ct-toggle-dropdown-mobile) .ct-icon {fill:currentColor!important}
