/*
Theme Name: INCOPE
Theme URI: https://incope.eu/
Author: INCOPE
Description: Schlankes Block-Theme für Infrastructura Cognitiva Personalis.
Version: 0.5.3
Requires at least: 7.1
Requires PHP: 8.2
Text Domain: incope
*/


/* INCOPE v0.2 */
.incope-header{
  background:#062635;
  border-bottom:1px solid rgba(184,137,47,.65);
  margin:0 !important;
  padding:0 !important;
}
.incope-header-inner{
  max-width:1440px;
  margin:0 auto;
  min-height:104px;
  padding:10px 34px;
  box-sizing:border-box;
}
.incope-brand{display:block;line-height:0;flex:0 0 auto}
.incope-brand img{display:block;width:300px;height:auto;max-width:34vw}
.incope-main-nav{font-size:16px}
.incope-main-nav a{color:#f5f3ee !important;text-decoration:none}
.incope-main-nav a:hover{color:#c99a3d !important}
.incope-header + *{margin-top:0 !important}

/* Tighten first-screen hero without making it cramped. */
.incope-hero{
  min-height:610px !important;
  padding-top:92px !important;
  padding-bottom:84px !important;
  margin-top:0 !important;
}
.incope-hero h1{
  font-size:clamp(2.6rem,4vw,4.15rem) !important;
  line-height:1.08 !important;
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
.incope-hero .wp-block-paragraph,
.incope-hero p{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:900px){
  .incope-header-inner{min-height:82px;padding:8px 20px}
  .incope-brand img{width:230px;max-width:64vw}
  .incope-hero{min-height:auto !important;padding-top:64px !important;padding-bottom:64px !important}
}

/* Legal pages */
.incope-legal{max-width:860px;margin:0 auto;padding:72px 28px 96px}
.incope-legal h1{margin-bottom:36px}
.incope-legal h2{margin-top:42px}
.incope-legal p,.incope-legal li{line-height:1.72}
.incope-footer-links{gap:22px}
.incope-footer-links a{color:inherit;text-decoration:none}
.incope-footer-links a:hover{color:#c99a3d}


/* INCOPE v0.3.1 visual pass */
.incope-legal-page .incope-template-title{display:none}
.incope-legal-page .incope-page-shell{padding-top:34px !important}

.incope-header{background:#062635 !important;border-bottom:1px solid rgba(184,137,47,.55)}
.incope-header-inner{min-height:112px !important;max-width:1440px;margin:auto;padding:12px 32px !important}
.incope-brand-lockup{display:flex;flex-direction:column;width:335px;max-width:35vw;color:#f5f3ee;text-decoration:none;line-height:1}
.incope-brand-name{font-size:38px;font-weight:700;letter-spacing:.16em}
.incope-brand-rule{height:1px;background:#b8892f;margin:8px 0 7px;position:relative}
.incope-brand-rule:after{content:"";width:8px;height:8px;background:#b8892f;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(45deg)}
.incope-brand-sub{font-family:Georgia,"Times New Roman",serif;font-size:10px;letter-spacing:.24em;white-space:nowrap}
.incope-main-nav{font-size:16px !important}

.incope-hero{min-height:520px !important;padding:72px 24px 70px !important}
.incope-hero h1{font-size:clamp(2.5rem,3.5vw,3.75rem) !important;line-height:1.08 !important}
.incope-hero-deck{font-size:clamp(1.35rem,1.8vw,1.8rem) !important;line-height:1.55;max-width:880px !important}

.incope-concept{background:#f4f1e9;color:#17242b;padding:88px 28px}
.incope-concept h2{color:#0a2938}
.incope-concept-copy{font-size:1.35rem;line-height:1.7;max-width:620px}
.incope-concept a,.incope-card a{color:#9a7022;text-decoration:none;font-weight:600}
.incope-concept-columns{gap:76px}

.incope-architecture{height:390px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0a2938}
.arch-human,.arch-raic{font-size:.82rem;font-weight:700;letter-spacing:.2em}
.arch-core{width:128px;height:128px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0a3545;color:#fff;font-weight:700;font-size:1.4rem;letter-spacing:.1em;box-shadow:0 0 0 1px #b8892f,0 0 0 18px rgba(184,137,47,.08)}
.arch-line.vertical{width:1px;height:40px;background:#b8892f}
.arch-orbit{width:100%;max-width:480px;display:flex;justify-content:space-between;align-items:center;margin:24px 0;font-size:.7rem;letter-spacing:.12em;color:#52636a}
.arch-orbit span{border:1px solid #c9c2b2;padding:10px 12px;background:#faf8f2}

.incope-pillars{padding:72px 28px !important}
.incope-card{height:100%;box-sizing:border-box;background:#fff !important;color:#26363c !important;border-top:3px solid #b8892f;padding:30px 32px !important;box-shadow:0 10px 30px rgba(6,38,53,.06)}
.incope-card h3{color:#0a2938}
.incope-card-index{font-size:.75rem;font-weight:700;letter-spacing:.15em;margin-bottom:22px}

.incope-lab-home{padding:84px 28px 92px}
.incope-lab-home .incope-card{margin-top:16px}

@media(max-width:1100px){
 .incope-brand-lockup{width:270px}
 .incope-brand-name{font-size:31px}
 .incope-brand-sub{font-size:8px}
 .incope-main-nav{font-size:14px !important}
}
@media(max-width:900px){
 .incope-header-inner{min-height:86px !important;padding:10px 20px !important}
 .incope-brand-lockup{width:230px;max-width:68vw}
 .incope-brand-name{font-size:27px}
 .incope-brand-sub{font-size:7px}
 .incope-concept{padding:64px 22px}
 .incope-concept-columns{gap:24px}
 .incope-architecture{height:330px}
}


/* =========================================================
   INCOPE v0.3.2 CRITICAL OVERRIDES
   Deliberately high-specificity rules to beat WP global styles.
   ========================================================= */

body.incope-theme-v032 header.incope-header,
body.incope-theme-v032 .wp-site-blocks > header.incope-header {
    background:#062635 !important;
    color:#f5f3ee !important;
    border-bottom:1px solid rgba(184,137,47,.72) !important;
    margin:0 !important;
    padding:0 !important;
}
body.incope-theme-v032 .incope-header .incope-header-inner {
    width:min(1440px, calc(100% - 48px)) !important;
    max-width:1440px !important;
    min-height:118px !important;
    margin:0 auto !important;
    padding:12px 0 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:44px !important;
    box-sizing:border-box !important;
}
body.incope-theme-v032 a.incope-brand-lockup {
    display:flex !important;
    flex:0 0 360px !important;
    width:360px !important;
    max-width:360px !important;
    flex-direction:column !important;
    color:#f5f3ee !important;
    text-decoration:none !important;
    line-height:1 !important;
}
body.incope-theme-v032 a.incope-brand-lockup:hover { text-decoration:none !important; }
body.incope-theme-v032 .incope-brand-name {
    display:block !important;
    color:#f5f3ee !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:38px !important;
    font-weight:700 !important;
    letter-spacing:.17em !important;
    text-decoration:none !important;
}
body.incope-theme-v032 .incope-brand-rule {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:1px !important;
    margin:9px 0 8px !important;
    background:#b8892f !important;
}
body.incope-theme-v032 .incope-brand-rule::after {
    content:"" !important;
    display:block !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:8px !important;
    height:8px !important;
    background:#b8892f !important;
    transform:translate(-50%,-50%) rotate(45deg) !important;
}
body.incope-theme-v032 .incope-brand-sub {
    display:block !important;
    color:#f5f3ee !important;
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:10px !important;
    letter-spacing:.20em !important;
    white-space:nowrap !important;
    text-decoration:none !important;
}
body.incope-theme-v032 .incope-header .wp-block-navigation {
    flex:1 1 auto !important;
    margin:0 !important;
}
body.incope-theme-v032 .incope-header .wp-block-navigation__container {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:30px !important;
}
body.incope-theme-v032 .incope-header .wp-block-navigation-item,
body.incope-theme-v032 .incope-header .wp-block-navigation-item__content {
    white-space:nowrap !important;
}
body.incope-theme-v032 .incope-header .wp-block-navigation-item__content {
    color:#f5f3ee !important;
    font-size:16px !important;
    text-decoration:none !important;
}

/* Concept section: enforce the intended paper surface. */
body.incope-theme-v032 .incope-concept {
    background:#f4f1e9 !important;
    color:#26363c !important;
    padding:88px 28px !important;
    margin:0 !important;
}
body.incope-theme-v032 .incope-concept h2 { color:#0a2938 !important; }
body.incope-theme-v032 .incope-concept .incope-concept-columns {
    display:flex !important;
    gap:72px !important;
    align-items:center !important;
}
body.incope-theme-v032 .incope-concept .wp-block-column {
    flex:1 1 0 !important;
}
body.incope-theme-v032 .incope-concept-copy {
    font-size:1.28rem !important;
    line-height:1.7 !important;
}
body.incope-theme-v032 .incope-concept a {
    color:#8f671d !important;
    font-weight:650 !important;
}

/* Architecture visual: all properties explicit. */
body.incope-theme-v032 .incope-architecture {
    min-height:390px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    color:#0a2938 !important;
}
body.incope-theme-v032 .incope-architecture .arch-human,
body.incope-theme-v032 .incope-architecture .arch-raic {
    display:block !important;
    font-size:.78rem !important;
    font-weight:700 !important;
    letter-spacing:.20em !important;
}
body.incope-theme-v032 .incope-architecture .arch-core {
    display:flex !important;
    width:126px !important;
    height:126px !important;
    min-width:126px !important;
    border-radius:50% !important;
    align-items:center !important;
    justify-content:center !important;
    background:#0a3545 !important;
    color:#fff !important;
    font-weight:700 !important;
    font-size:1.35rem !important;
    letter-spacing:.1em !important;
    box-shadow:0 0 0 1px #b8892f,0 0 0 18px rgba(184,137,47,.10) !important;
}
body.incope-theme-v032 .incope-architecture .arch-line {
    display:block !important;
    width:1px !important;
    height:38px !important;
    background:#b8892f !important;
}
body.incope-theme-v032 .incope-architecture .arch-orbit {
    width:100% !important;
    max-width:470px !important;
    display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:10px !important;
    margin:24px 0 !important;
}
body.incope-theme-v032 .incope-architecture .arch-orbit span {
    display:block !important;
    background:#faf8f2 !important;
    color:#52636a !important;
    border:1px solid #c9c2b2 !important;
    padding:10px 12px !important;
    font-size:.68rem !important;
    letter-spacing:.10em !important;
    white-space:nowrap !important;
}

/* Pillars/cards: enforce surface, spacing and gold rule. */
body.incope-theme-v032 .incope-pillars {
    padding:72px 28px !important;
    margin:0 !important;
}
body.incope-theme-v032 .incope-pillars .wp-block-columns {
    gap:28px !important;
}
body.incope-theme-v032 .incope-pillars .incope-card {
    display:block !important;
    height:100% !important;
    box-sizing:border-box !important;
    background:#f8f7f2 !important;
    color:#26363c !important;
    border-top:3px solid #b8892f !important;
    padding:30px 32px !important;
    box-shadow:0 10px 30px rgba(6,38,53,.08) !important;
}
body.incope-theme-v032 .incope-pillars .incope-card h3 {
    color:#0a2938 !important;
}
body.incope-theme-v032 .incope-pillars .incope-card a {
    color:#8f671d !important;
}

/* Legal duplicate-title fix, stronger than WP global styles. */
body.incope-theme-v032.incope-legal-page .incope-template-title {
    display:none !important;
}

/* Responsive */
@media (max-width:1180px) {
 body.incope-theme-v032 .incope-header .incope-header-inner { gap:24px !important; }
 body.incope-theme-v032 a.incope-brand-lockup { flex-basis:300px !important; width:300px !important; max-width:300px !important; }
 body.incope-theme-v032 .incope-brand-name { font-size:32px !important; }
 body.incope-theme-v032 .incope-brand-sub { font-size:8px !important; }
 body.incope-theme-v032 .incope-header .wp-block-navigation__container { gap:19px !important; }
 body.incope-theme-v032 .incope-header .wp-block-navigation-item__content { font-size:14px !important; }
}
@media (max-width:900px) {
 body.incope-theme-v032 .incope-header .incope-header-inner { min-height:86px !important; }
 body.incope-theme-v032 a.incope-brand-lockup { flex-basis:235px !important; width:235px !important; max-width:68vw !important; }
 body.incope-theme-v032 .incope-brand-name { font-size:27px !important; }
 body.incope-theme-v032 .incope-brand-sub { font-size:7px !important; }
 body.incope-theme-v032 .incope-concept .incope-concept-columns { flex-direction:column !important; gap:28px !important; }
}


/* =========================================================
   INCOPE v0.4.0 — homepage refinement
   ========================================================= */
body.incope-theme-v040 .incope-header-inner{width:min(1440px,calc(100% - 48px))!important;max-width:1440px!important;min-height:122px!important;margin:0 auto!important;padding:10px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:42px!important}
body.incope-theme-v040 .incope-brand-image{display:block!important;flex:0 0 auto!important;line-height:0!important;text-decoration:none!important}
body.incope-theme-v040 .incope-brand-image img{display:block!important;width:310px!important;max-width:34vw!important;height:auto!important;border:0!important}
body.incope-theme-v040 .incope-header .wp-block-navigation__container{display:flex!important;flex-wrap:nowrap!important;gap:30px!important}
body.incope-theme-v040 .incope-header .wp-block-navigation-item__content{white-space:nowrap!important;color:#f5f3ee!important;text-decoration:none!important}
body.incope-theme-v040 .incope-header .wp-block-navigation-item__content:hover{color:#d5a63e!important}

body.incope-theme-v040 .incope-hero{min-height:510px!important;padding:68px 24px 70px!important}
body.incope-theme-v040 .incope-hero .incope-kicker{font-size:1.02rem!important;letter-spacing:.24em!important;font-weight:700!important}

body.incope-theme-v040 .incope-concept{background:#1e1c0f!important;color:#d8d4cb!important;padding:78px 28px!important}
body.incope-theme-v040 .incope-concept h2{color:#f1eee8!important}
body.incope-theme-v040 .incope-concept-copy{font-size:1.12rem!important;line-height:1.65!important;color:#d8d4cb!important}
body.incope-theme-v040 .incope-concept-copy + p{max-width:650px;color:#d8d4cb}

.incope-architecture-v040{position:relative;min-height:330px;display:grid;grid-template-columns:1fr 140px 1fr;grid-template-rows:1fr 140px 1fr;align-items:center;justify-items:center;color:#f0ede6}
.incope-architecture-v040 .arch-core{grid-column:2;grid-row:2;width:112px;height:112px;border-radius:50%;background:#073447;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;letter-spacing:.08em;border:1px solid #c6922d;box-shadow:0 0 0 16px rgba(198,146,45,.08);z-index:2}
.incope-architecture-v040 .arch-human{grid-column:2;grid-row:1;align-self:end;margin-bottom:20px}
.incope-architecture-v040 .arch-raic{grid-column:2;grid-row:3;align-self:start;margin-top:20px}
.incope-architecture-v040 .arch-node{border:1px solid rgba(198,146,45,.45);padding:10px 14px;font-size:.72rem;letter-spacing:.08em;background:rgba(5,33,44,.25);z-index:2}
.incope-architecture-v040 .arch-memory{grid-column:1;grid-row:2;justify-self:end;margin-right:18px}
.incope-architecture-v040 .arch-models{grid-column:1;grid-row:3;justify-self:end;align-self:start;margin:12px 18px 0 0}
.incope-architecture-v040 .arch-tools{grid-column:3;grid-row:2;justify-self:start;margin-left:18px}
.incope-architecture-v040 .arch-governance{grid-column:3;grid-row:3;justify-self:start;align-self:start;margin:12px 0 0 18px}
.incope-architecture-v040 svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible}
.incope-architecture-v040 line{stroke:#b8892f;stroke-width:1.2}
.incope-architecture-v040 .arch-label{font-size:.78rem;font-weight:700;letter-spacing:.2em;color:#f0ede6;z-index:2}

body.incope-theme-v040 .incope-pillars{background:#22272a!important;padding:62px 28px 74px!important}
body.incope-theme-v040 .incope-pillars-title{max-width:1240px;margin:0 auto 26px!important;color:#d6a33b!important;text-transform:uppercase;letter-spacing:.24em;font-size:.9rem!important;font-weight:700!important}
body.incope-theme-v040 .incope-pillars-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;max-width:1240px!important;margin:0 auto!important}
body.incope-theme-v040 .incope-pillars-grid .incope-card{background:#1e1c0f!important;color:#d8d4cb!important;border:1px solid rgba(198,146,45,.28)!important;border-top:2px solid #b8892f!important;box-shadow:none!important;padding:26px 30px!important;min-height:220px!important}
body.incope-theme-v040 .incope-pillars-grid .incope-card h3{color:#f1eee8!important;margin-top:0!important}
body.incope-theme-v040 .incope-pillars-grid .incope-card p{line-height:1.6!important}
body.incope-theme-v040 .incope-pillars-grid .incope-card a{color:#d6a33b!important}

@media(max-width:900px){
 body.incope-theme-v040 .incope-brand-image img{width:240px!important;max-width:65vw!important}
 body.incope-theme-v040 .incope-header-inner{min-height:92px!important;width:calc(100% - 32px)!important;gap:16px!important}
 body.incope-theme-v040 .incope-pillars-grid{grid-template-columns:1fr!important}
 .incope-architecture-v040{grid-template-columns:1fr 110px 1fr;grid-template-rows:1fr 110px 1fr;min-height:300px}
 .incope-architecture-v040 .arch-core{width:92px;height:92px}
 .incope-architecture-v040 .arch-node{font-size:.62rem;padding:8px}
}

/* =========================================================
   INCOPE v0.4.1 — precision repair pass
   ========================================================= */
body.incope-theme-v041 .incope-header-inner{width:min(1440px,calc(100% - 64px))!important;max-width:1440px!important;min-height:112px!important;margin:0 auto!important;padding:10px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:44px!important}
body.incope-theme-v041 .incope-brand-v041{display:flex!important;align-items:center!important;gap:18px!important;flex:0 0 auto!important;line-height:0!important;text-decoration:none!important}
body.incope-theme-v041 .incope-brand-signet{display:block!important;width:68px!important;height:68px!important;object-fit:contain!important}
body.incope-theme-v041 .incope-brand-wordmark{display:block!important;width:300px!important;height:auto!important;max-height:86px!important;object-fit:contain!important}
body.incope-theme-v041 .incope-header .wp-block-navigation__container{display:flex!important;flex-wrap:nowrap!important;gap:30px!important}
body.incope-theme-v041 .incope-header .wp-block-navigation-item__content{white-space:nowrap!important;color:#f5f3ee!important;text-decoration:none!important}

body.incope-theme-v041 .incope-hero .incope-kicker{font-size:2.04rem!important;line-height:1.2!important;letter-spacing:.18em!important;font-weight:700!important;margin-bottom:28px!important}

body.incope-theme-v041 .incope-concept{background:#1e1c0f!important;color:#d8d4cb!important;padding:64px 28px!important}
body.incope-theme-v041 .incope-concept-columns{gap:60px!important;align-items:center!important}
body.incope-theme-v041 .incope-architecture-v041{position:relative;min-height:360px;display:grid;grid-template-columns:1fr 132px 1fr;grid-template-rows:1fr 132px 1fr;gap:14px 26px;align-items:center;color:#f0ede6}
body.incope-theme-v041 .arch-core-v041{grid-column:2;grid-row:2;width:112px;height:112px;border-radius:50%;display:flex;align-items:center;justify-content:center;justify-self:center;background:#073447;color:#fff;font-weight:700;font-size:1.3rem;letter-spacing:.08em;border:1px solid #d0a039;box-shadow:0 0 0 16px rgba(208,160,57,.08);z-index:3}
body.incope-theme-v041 .arch-box{position:relative;display:flex;gap:14px;align-items:flex-start;min-width:210px;padding:14px 16px;border:1px solid rgba(208,160,57,.72);border-radius:3px;background:rgba(5,25,29,.22);box-sizing:border-box;z-index:2}
body.incope-theme-v041 .arch-box strong{display:block;color:#f5f3ee;font-size:.92rem;margin-bottom:5px}
body.incope-theme-v041 .arch-box small{display:block;color:#d8d4cb;font-size:.72rem;line-height:1.45}
body.incope-theme-v041 .arch-icon{color:#e0ac3b;font-size:1.7rem;line-height:1}
body.incope-theme-v041 .arch-person{grid-column:1;grid-row:1;align-self:end}.incope-architecture-v041 .arch-memory{grid-column:3;grid-row:1;align-self:end}.incope-architecture-v041 .arch-models{grid-column:1;grid-row:3;align-self:start}.incope-architecture-v041 .arch-tools{grid-column:3;grid-row:3;align-self:start}
body.incope-theme-v041 .arch-human-label{position:absolute;left:50%;top:0;transform:translateX(-50%);font-size:.72rem;font-weight:700;letter-spacing:.22em;color:#f5f3ee}
body.incope-theme-v041 .arch-raic-label{position:absolute;left:50%;bottom:0;transform:translateX(-50%);text-align:center;color:#f5f3ee;white-space:nowrap}
body.incope-theme-v041 .arch-raic-label strong{display:block;font-size:.78rem;letter-spacing:.22em;margin-bottom:4px}.incope-architecture-v041 .arch-raic-label small{font-size:.68rem;color:#d8d4cb}
/* connector lines, symmetric around AIRS */
body.incope-theme-v041 .arch-person:after,body.incope-theme-v041 .arch-models:after{content:"";position:absolute;right:-73px;width:74px;height:1px;background:#d0a039;transform-origin:left center;z-index:1}
body.incope-theme-v041 .arch-memory:before,body.incope-theme-v041 .arch-tools:before{content:"";position:absolute;left:-73px;width:74px;height:1px;background:#d0a039;transform-origin:right center;z-index:1}
body.incope-theme-v041 .arch-person:after{bottom:2px;transform:rotate(28deg)}body.incope-theme-v041 .arch-memory:before{bottom:2px;transform:rotate(-28deg)}body.incope-theme-v041 .arch-models:after{top:2px;transform:rotate(-28deg)}body.incope-theme-v041 .arch-tools:before{top:2px;transform:rotate(28deg)}

body.incope-theme-v041 .incope-pillars{padding:58px 28px 70px!important}
body.incope-theme-v041 .incope-pillars-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-rows:1fr!important;gap:22px!important;align-items:stretch!important}
body.incope-theme-v041 .incope-pillars-grid>.incope-card{margin:0!important;width:100%!important;height:100%!important;min-height:245px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;padding:28px 30px!important}
body.incope-theme-v041 .incope-pillars-grid>.incope-card p:last-child{margin-top:auto!important;padding-top:12px!important}

@media(max-width:1050px){body.incope-theme-v041 .incope-brand-signet{width:54px!important;height:54px!important}body.incope-theme-v041 .incope-brand-wordmark{width:245px!important}body.incope-theme-v041 .incope-brand-v041{gap:12px!important}body.incope-theme-v041 .incope-header .wp-block-navigation__container{gap:18px!important}.incope-architecture-v041 .arch-box{min-width:180px;padding:12px}.incope-architecture-v041{grid-template-columns:1fr 112px 1fr!important}.incope-architecture-v041 .arch-core-v041{width:94px!important;height:94px!important}}
@media(max-width:900px){body.incope-theme-v041 .incope-hero .incope-kicker{font-size:1.35rem!important}.incope-architecture-v041{min-height:520px!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto auto 120px auto!important}.incope-architecture-v041 .arch-person{grid-column:1;grid-row:1}.incope-architecture-v041 .arch-memory{grid-column:2;grid-row:1}.incope-architecture-v041 .arch-models{grid-column:1;grid-row:4}.incope-architecture-v041 .arch-tools{grid-column:2;grid-row:4}.incope-architecture-v041 .arch-core-v041{grid-column:1/3;grid-row:3}.incope-architecture-v041 .arch-box:before,.incope-architecture-v041 .arch-box:after{display:none!important}body.incope-theme-v041 .incope-pillars-grid{grid-template-columns:1fr!important}body.incope-theme-v041 .incope-brand-wordmark{width:205px!important}body.incope-theme-v041 .incope-brand-signet{width:46px!important;height:46px!important}}

/* INCOPE v0.4.2 — visual refinement */
body.incope-theme-v041 .incope-brand-wordmark{
  content:url('/wp-content/themes/incope-theme/assets/incope-header-wordmark-transparent.png?v=043')!important;
  width:310px!important;height:auto!important;object-fit:contain!important;background:transparent!important;
}
body.incope-theme-v041 .incope-brand-signet{background:transparent!important}
body.incope-theme-v041 .incope-architecture-v041 .arch-human-label,
body.incope-theme-v041 .incope-architecture-v041 .arch-raic-label{display:none!important}

/* Clearer, still restrained separation of the three lower homepage zones */
body.incope-theme-v041 .incope-intro{
  background:linear-gradient(105deg,#19170d 0%,#1c1a0e 58%,#17170f 100%)!important;
  border-top:1px solid rgba(184,137,47,.10)!important;
  border-bottom:1px solid rgba(184,137,47,.16)!important;
}
body.incope-theme-v041 .incope-pillars{
  background:linear-gradient(105deg,#242b2f 0%,#20272b 52%,#252d31 100%)!important;
  border-top:1px solid rgba(255,255,255,.025)!important;
  border-bottom:1px solid rgba(255,255,255,.035)!important;
}
body.incope-theme-v041 .incope-lab{
  background:linear-gradient(105deg,#17190f 0%,#1c1e12 52%,#16180f 100%)!important;
  border-top:1px solid rgba(184,137,47,.10)!important;
}

/* v0.4.4 — clean transparent header lockup from original artwork */
body.incope-theme-v041 .incope-brand-v041{display:flex!important;align-items:center!important;gap:18px!important;background:transparent!important}
body.incope-theme-v041 .incope-brand-signet{content:url('/wp-content/themes/incope-theme/assets/incope-signet-clean.png?v=044')!important;width:68px!important;height:68px!important;object-fit:contain!important;background:transparent!important}
body.incope-theme-v041 .incope-brand-wordmark{content:url('/wp-content/themes/incope-theme/assets/incope-header-wordmark-clean.png?v=044')!important;width:300px!important;height:auto!important;max-height:86px!important;object-fit:contain!important;background:transparent!important}
@media(max-width:1050px){body.incope-theme-v041 .incope-brand-signet{width:54px!important;height:54px!important}body.incope-theme-v041 .incope-brand-wordmark{width:245px!important}}
@media(max-width:900px){body.incope-theme-v041 .incope-brand-signet{width:46px!important;height:46px!important}body.incope-theme-v041 .incope-brand-wordmark{width:205px!important}}

/* =========================================================
   INCOPE v0.4.5 — Wissen / Glossar
   ========================================================= */
.incope-glossary{max-width:980px;margin:0 auto}
.incope-glossary-lead{max-width:760px;font-size:1.12rem;line-height:1.7;color:#cfcac1;margin:0 0 48px}
.incope-glossary h2{margin-top:54px;margin-bottom:20px;color:#f1eee8;border-bottom:1px solid rgba(184,137,47,.45);padding-bottom:10px}
.incope-glossary dl{display:grid;grid-template-columns:minmax(150px,230px) minmax(0,1fr);column-gap:32px;row-gap:0;margin:0}
.incope-glossary dt,.incope-glossary dd{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.incope-glossary dt{font-weight:700;color:#d5a63e;letter-spacing:.015em}
.incope-glossary dd{margin:0;color:#d8d4cb;line-height:1.65}
.incope-glossary dd strong{color:#f1eee8;font-weight:650}
.incope-architecture-tree{padding:24px 28px;background:#111711;border:1px solid rgba(184,137,47,.45);border-left:3px solid #b8892f;color:#f1eee8;line-height:1.6;overflow:auto}
.incope-glossary-note{margin-top:34px;padding:20px 22px;background:rgba(184,137,47,.08);border-left:3px solid #b8892f;color:#d8d4cb}
body.single-knowledge .incope-meta::after{content:" · WISSEN"}
@media(max-width:700px){.incope-glossary dl{grid-template-columns:1fr}.incope-glossary dt{padding-bottom:4px;border-bottom:0}.incope-glossary dd{padding-top:0}}


/* INCOPE v0.4.9 — Leistungen */
.incope-services-home {
  background:#27333a !important;
  color:#f4f1e9 !important;
  padding:78px 28px 84px !important;
  margin:0 !important;
}
.incope-services-home .incope-services-inner { max-width:1240px; margin:0 auto; }
.incope-services-home h2 { color:#fff !important; margin-top:.25em; }
.incope-services-home .incope-services-copy { max-width:900px; font-size:1.16rem; line-height:1.72; color:#e2e3df; }
.incope-services-home .wp-block-button__link { background:#b8892f !important; color:#fff !important; }
.incope-services-home .wp-block-button__link:hover { background:#c89a3d !important; }
.incope-services-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:36px 0 32px; }
.incope-service-chip { border-top:2px solid #b8892f; background:rgba(255,255,255,.045); padding:18px 20px; min-height:76px; }
.incope-service-chip strong { display:block; color:#fff; margin-bottom:5px; }
.incope-service-chip span { color:#cbd0d1; font-size:.92rem; line-height:1.45; }
@media(max-width:1000px){ .incope-services-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:620px){ .incope-services-grid{grid-template-columns:1fr;} }


/* INCOPE v0.5.0 contact */
.incope-contact-mail a{
  color:inherit;
  text-decoration:none;
}
.incope-contact-mail a:hover{
  color:#b8892f;
}

/* v0.5.1 Leistungen mirrors the opening hero */
body .incope-services-home {
 background:#062635 !important; color:#f5f3ee !important;
 text-align:center !important; padding-top:84px !important;
 padding-bottom:88px !important; margin:0 !important;
}
body .incope-services-home > * {margin-left:auto !important;margin-right:auto !important;}
body .incope-services-home h1,body .incope-services-home h2,body .incope-services-home h3,body .incope-services-home p {
 color:#f5f3ee !important;text-align:center !important;
}
body .incope-services-home .incope-kicker,body .incope-services-home .has-gold-color {color:#b8892f !important;}
body .incope-services-home .wp-block-columns {justify-content:center !important;text-align:center !important;}
body .incope-services-home .wp-block-column {text-align:center !important;}
body .incope-services-home a:not(.wp-block-button__link) {color:#d2a64c !important;}


/* INCOPE v0.5.2 – final services/footer treatment */
body .incope-services-home {
    border-bottom: 1px solid rgba(184,137,47,.42) !important;
    margin-bottom: 0 !important;
}

/* Center the "Leistungen ansehen" CTA. */
body .incope-services-home .wp-block-buttons {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .incope-services-home .wp-block-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Remove the dark strip between services and footer. */
body .incope-services-home + *,
body footer.wp-block-template-part,
body .wp-site-blocks > footer {
    margin-top: 0 !important;
}
body footer.wp-block-template-part,
body .wp-site-blocks > footer {
    border-top: 0 !important;
}

/* Match the separator to the thin, subdued gold line used at the hero/header boundary. */
body .incope-services-home::after {
    display: none !important;
}


/* INCOPE v0.5.3 – remove obsolete thick footer rule */
body footer.wp-block-template-part .wp-block-separator,
body .wp-site-blocks > footer .wp-block-separator,
body footer.wp-block-template-part hr,
body .wp-site-blocks > footer hr {
    display: none !important;
    border: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* The sole separator between services and footer: same restrained line as hero. */
body .incope-services-home {
    border-bottom: 1px solid rgba(184,137,47,.42) !important;
}
