/* KOPATSCH, gemeinsames Layout: Kopfzeile, Footer, Rechtsseiten, Selbstcheck, Referenzen, Einblenden */

/* Kopfzeile */
.kh{position:sticky;top:0;z-index:50;background:rgba(0,0,0,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.07);font-family:'Montserrat','Helvetica Neue',Arial,sans-serif}
.kh *{box-sizing:border-box}
.kh-in{max-width:1200px;margin:0 auto;padding:0 40px;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.kh-logo{display:flex}
.kh-logo img{height:26px;width:auto;display:block}
.kh-desk{display:flex;align-items:center;gap:36px}
.kh-a{color:#EDEDED;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;padding:10px 0;background:none;border:0;cursor:pointer;font-family:inherit;display:flex;align-items:center;gap:8px}
.kh-a:hover,.kh-a.on{color:#D9A251}
.kh-dd{position:relative}
.kh-dd-menu{display:none;position:absolute;top:100%;left:-24px;width:340px;padding:14px 0;background:#0B0B0B;border:1px solid rgba(255,255,255,.10);border-radius:4px;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.kh-dd:hover .kh-dd-menu,.kh-dd:focus-within .kh-dd-menu,.kh-dd.open .kh-dd-menu{display:block}
.kh-dd-menu a{display:block;padding:10px 24px;color:#EDEDED;text-decoration:none;font-size:14px;font-weight:600;line-height:1.35}
.kh-dd-menu a:hover,.kh-dd-menu a[aria-current]{color:#D9A251;background:rgba(255,255,255,.04)}
.kh-sub{display:block;font-size:12px;font-weight:500;color:#8F8F8F;margin-top:2px}
.kh-sep{height:1px;background:rgba(255,255,255,.08);margin:8px 24px}
.kh-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:2px;background:#D9A251;color:#000;font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;text-decoration:none}
.kh-cta:hover{background:#E8BC77;color:#000}
.kh-burger{display:none;width:48px;height:48px;align-items:center;justify-content:center;background:none;border:1px solid rgba(255,255,255,.18);border-radius:2px;cursor:pointer}
.kh-mob{border-top:1px solid rgba(255,255,255,.08);background:#0B0B0B}
.kh-mob-in{max-width:1200px;margin:0 auto;padding:18px 22px 28px;display:flex;flex-direction:column}
.kh-mob-lab{font-size:12px;font-weight:700;letter-spacing:2.6px;color:#D9A251;text-transform:uppercase;padding:10px 0}
.kh-mob a{color:#EDEDED;text-decoration:none;font-size:16px;font-weight:600;padding:11px 0}
.kh-mob a[aria-current]{color:#D9A251}
.kh-mob .kh-cta{margin-top:18px;min-height:52px;font-size:13px;color:#000}
.kh-mob-sep{height:1px;background:rgba(255,255,255,.08);margin:14px 0}
@media (max-width:1100px){.kh-desk{display:none}.kh-burger{display:flex}}
@media (min-width:1101px){.kh-mob{display:none !important}}
@media (max-width:900px){.kh-in{padding:0 22px;min-height:72px}.kh-logo img{height:22px}}

/* Footer */
.kf{position:relative;overflow:hidden;background:#0B0B0B;border-top:1px solid rgba(255,255,255,.08);padding:88px 0 40px;font-family:'Montserrat','Helvetica Neue',Arial,sans-serif;color:#EDEDED}
.kf::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:url(../img/grain-gold.svg);background-size:200px 200px;opacity:.09}
.kf *{box-sizing:border-box}
.kf-in{position:relative;max-width:1200px;margin:0 auto;padding:0 40px}
.kf-grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:48px}
.kf-logo{height:22px;width:auto;display:block}
.kf-name{margin:22px 0 0;font-size:14px;font-weight:700;line-height:1.5;color:#EDEDED}
.kf-role{margin:8px 0 0;max-width:320px;font-size:13px;line-height:1.6;color:#BDBDBD}
.kf-adr{margin:22px 0 0;font-size:14px;line-height:1.65;color:#8F8F8F;font-style:normal}
.kf-h{margin:0;font-size:11px;font-weight:700;letter-spacing:2.6px;color:#D9A251;text-transform:uppercase}
.kf-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.kf a{color:#BDBDBD;text-decoration:none;font-size:14px;line-height:1.5}
.kf a:hover,.kf a[aria-current]{color:#D9A251}
.kf a.kf-cta{color:#D9A251;font-weight:600}
.kf a.kh-cta,.kf a.kh-cta:hover{color:#000}
.kf-bottom{margin-top:72px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#8F8F8F}
@media (max-width:900px){.kf-in{padding:0 22px}.kf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}}
@media (max-width:560px){.kf-grid{grid-template-columns:minmax(0,1fr)}}

/* Dezentes Einblenden */
.krv{opacity:0;transition:opacity .8s ease}
.krv.in{opacity:1}
.k h1,.k h2,.k h3,.kh,.kf{text-rendering:optimizeLegibility;font-kerning:normal}
@media (prefers-reduced-motion:reduce){.krv{opacity:1;transform:none;transition:none}}

/* Selbstcheck */
.sk-head{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:40px}
.sk-count{font-size:12px;font-weight:700;letter-spacing:1.6px;color:#555;text-transform:uppercase}
.sk-bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:16px}
.sk-bars span{height:3px;border-radius:1px;background:#E2DED5}
.sk-bars span.on{background:#D9A251}
.skq{border:0;margin:36px 0 0;padding:0;min-width:0}
.skq legend{padding:0;font-size:22px;font-weight:800;line-height:1.3;color:#111}
.skq-opts{display:flex;flex-direction:column;gap:12px;margin-top:24px}
html.js .skq:not(.is-on){display:none}
html:not(.js) .sk-head,html:not(.js) .sk-bars{display:none}
.sk-kick{font-size:12px;font-weight:700;letter-spacing:2.4px;color:#8A5C17;text-transform:uppercase}
.sk-title{margin:14px 0 0;font-size:clamp(22px,2.4vw,28px);font-weight:800;line-height:1.25;color:#111;text-wrap:balance}
.sk-detail{margin:16px 0 0;font-size:15.5px;line-height:1.65;color:#333}
.sk-next{margin:12px 0 0;font-size:15.5px;line-height:1.65;color:#111;font-weight:600}
.sk-more{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:#8A5C17;text-decoration:none}
.sk-more:hover{color:#111}
.sk-areas-h{margin:32px 0 0;padding-top:24px;border-top:1px solid #E2DED5;font-size:11px;font-weight:700;letter-spacing:2px;color:#555;text-transform:uppercase}
.sk-areas{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.sk-area{display:grid;grid-template-columns:minmax(0,1fr) 90px 52px;gap:14px;align-items:center;font-size:13.5px;font-weight:500;color:#555}
.sk-area.is-top{color:#111;font-weight:700}
.sk-lvl{font-size:12px;font-weight:600;color:#555;text-align:right}
.sk-area.is-top .sk-lvl{color:#8A5C17}
@media (max-width:560px){.sk-area{grid-template-columns:minmax(0,1fr) 52px}.sk-track{display:none}}
.sk-track{height:6px;background:#EAE6DE;border-radius:1px;overflow:hidden}
.sk-fill{display:block;height:100%;width:33%;background:#D9A251;transition:width .5s ease}

/* Referenzen */
.ref{margin:64px 0 0}
html.js .ref-stage{display:grid}
html.js .ref-stage>.ref{grid-area:1/1;transition:opacity .5s ease}
html.js .ref:not(.is-on){visibility:hidden;opacity:0}
html:not(.js) .ref-nav{display:none}
.ref blockquote{margin:0;max-width:860px;font-size:clamp(21px,2.3vw,29px);font-weight:600;line-height:1.45;color:#111;text-wrap:pretty}
.ref figcaption{margin-top:32px;display:flex;align-items:center;gap:14px;font-size:12px;font-weight:700;letter-spacing:2px;color:#555}
.ref figcaption::before{content:"";width:28px;height:1px;background:#D9A251}
.ref-dots{display:flex;gap:8px;margin-top:40px}
.ref-dots .dot{box-sizing:content-box;width:28px;height:3px;padding:10px 0;border:0;background:#CFCAC0;background-clip:content-box;cursor:pointer}
.ref-dots .dot.on{background-color:#D9A251}

/* Rechtsseiten */
.lg{background:#F4F2EE;color:#111;font-family:'Montserrat','Helvetica Neue',Arial,sans-serif}
.lg-in{max-width:820px;margin:0 auto;padding:96px 40px 128px;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.lg-in a{overflow-wrap:anywhere}
.lg .eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:2.6px;color:#8A5C17;text-transform:uppercase}
.lg h1{margin:18px 0 0;font-size:clamp(34px,4.4vw,48px);font-weight:800;line-height:1.1;letter-spacing:-.01em;color:#111}
.lg-line{width:90px;height:2px;background:#D9A251;margin:28px 0 36px}
.lg h2{margin:48px 0 0;font-size:22px;font-weight:800;line-height:1.3;color:#111}
.lg h3{margin:32px 0 0;font-size:17px;font-weight:700;line-height:1.4;color:#111}
.lg p,.lg li{font-size:16px;line-height:1.7;color:#333}
.lg p{margin:14px 0 0}
.lg ul,.lg ol{margin:14px 0 0;padding-left:22px}
.lg a{color:#8A5C17;text-decoration:underline;text-underline-offset:3px}
.lg table{display:block;overflow-x:auto;width:100%;border-collapse:collapse;margin-top:20px;font-size:14px}
.lg th,.lg td{text-align:left;vertical-align:top;padding:12px 10px;border-bottom:1px solid #DDD8CE;line-height:1.55}
.lg th{font-weight:700;background:#ECE8E0}
.lg mark{background:#FCE9B8;padding:0 3px}
.lg .meta{font-size:14px;color:#555}
.lg .download{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;margin-top:20px;background:#111;color:#FFF;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;border-radius:2px}
.lg .download:hover{background:#D9A251;color:#000}
.lg .toc{margin-top:32px;padding:24px 28px;background:#FFF;border:1px solid #E2DED5;border-radius:4px}
.lg .toc li{font-size:15px}
.lg .num,.lg .pnr{color:#8A5C17;font-weight:700;margin-right:6px}
@media (max-width:900px){.lg-in{padding:72px 22px 96px}}

/* Wissensmanagement, statisch verständlicher Ablauf mit einmaliger Hervorhebung */
.knowledge-flow{position:relative;margin:48px 0 0;padding:0}
.knowledge-flow__steps{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.knowledge-flow__steps::before{content:"";position:absolute;top:24px;left:10%;right:10%;height:1px;background:rgba(255,255,255,.20)}
.knowledge-flow__step{position:relative;z-index:1;display:flex;min-width:0;flex-direction:column;align-items:center;gap:10px;padding:0 8px;text-align:center;color:#BDBDBD}
.knowledge-flow__icon{display:grid;width:48px;height:48px;place-items:center;background:#000;color:#BDBDBD}
.knowledge-flow__icon svg{display:block;width:32px;height:32px;overflow:visible}
.knowledge-flow__label{font-size:14px;font-weight:700;line-height:1.35;color:inherit}
.knowledge-flow__detail{font-size:12px;line-height:1.5;color:#9A9A9A}
.knowledge-flow__step--result,.knowledge-flow__step--result .knowledge-flow__icon{color:#D9A251}
.knowledge-flow__caption{margin:28px 0 0;text-align:center;font-size:14px;line-height:1.6;color:#9A9A9A}
.knowledge-flow.is-visible .knowledge-flow__step:nth-child(1){animation:knowledge-step-focus .7s ease-out .1s both}
.knowledge-flow.is-visible .knowledge-flow__step:nth-child(2){animation:knowledge-step-focus .7s ease-out .85s both}
.knowledge-flow.is-visible .knowledge-flow__step:nth-child(3){animation:knowledge-step-focus .7s ease-out 1.6s both}
.knowledge-flow.is-visible .knowledge-flow__step:nth-child(4){animation:knowledge-step-focus .7s ease-out 2.35s both}
@keyframes knowledge-step-focus{0%,100%{color:#BDBDBD}45%{color:#D9A251}}
@media (max-width:767px){
  .knowledge-flow{margin-top:36px}
  .knowledge-flow__steps{grid-template-columns:minmax(0,1fr);gap:0}
  .knowledge-flow__steps::before{top:24px;bottom:24px;left:23px;right:auto;width:1px;height:auto}
  .knowledge-flow__step{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:2px;align-items:center;padding:12px 0;text-align:left}
  .knowledge-flow__icon{grid-row:1 / span 2;width:48px;height:48px}
  .knowledge-flow__label,.knowledge-flow__detail{grid-column:2}
  .knowledge-flow__caption{text-align:left;margin-left:62px}
}
@media (prefers-reduced-motion:reduce){.knowledge-flow.is-visible .knowledge-flow__step{animation:none}}


/* V13: drei Säulen in der Kopfzeile, Footer mit fünf Spalten, Selbstchecks */
.kh-in{max-width:1340px}
.kh-desk{gap:26px}
.kh-a{font-size:11.5px;letter-spacing:1px;white-space:nowrap}
.kh-cta{white-space:nowrap}
@media (max-width:1200px){.kh-desk{display:none}.kh-burger{display:flex}}
@media (min-width:1201px){.kh-mob{display:none !important}}
.kh-mob-lab{padding-top:16px}
.kf-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
.kf-grid5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:36px;margin-top:48px}
.kf-strong{font-size:14px;font-weight:700;color:#EDEDED}
.kf-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}
.kf-legal{display:flex;gap:20px}
.kf-legal a{font-size:12px}
@media (max-width:1000px){.kf-grid5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.kf-grid5{grid-template-columns:minmax(0,1fr)}}
.sc3-q{border:0;margin:0;padding:16px 0;border-top:1px solid #E2DED5;min-width:0}
.sc3-q legend{display:flex;gap:12px;padding:0;font-size:15.5px;font-weight:600;line-height:1.5;color:#111}
.sc3-n{flex:none;font-weight:800;color:#8A5C17}
.sc3-opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-left:34px}
.sc3-opts .sc-opt{width:auto;min-height:44px;padding:10px 18px;font-size:14px}
.sc3-res{margin-top:28px;padding-top:24px;border-top:2px solid #D9A251}
.sc3-links{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.sc3-links a{font-size:15px;font-weight:700;color:#8A5C17;text-decoration:none}
.sc3-links a:hover{color:#111}
.sc3-mail{margin-top:28px;padding:20px;background:#F4F2EE;border-radius:4px}
.sc3-mail-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 14px}
.sc3-mail-row label{font-size:12px;font-weight:600;color:#555}
.sc3-mail-row .sc-in{margin-top:6px}
.sc-in{width:100%;height:46px;padding:0 12px;border:1px solid #CFCAC0;border-radius:2px;font:inherit;font-size:15px;background:#FFF;color:#111}
.btn-ghost-d{border:1px solid #111;color:#111}.btn-ghost-d:hover{background:#111;color:#FFF}
@media (max-width:560px){.sc3-mail-row{grid-template-columns:minmax(0,1fr)}.sc3-opts{padding-left:0}}

/* Handy-Menü als Aufklappmenü (28.10.2026) */
.kh-mob-grp{border-bottom:1px solid rgba(255,255,255,.08)}
.kh-mob-btn{display:flex;width:100%;justify-content:space-between;align-items:center;padding:14px 0;background:none;border:0;color:#FFF;font:inherit;font-size:16px;font-weight:700;text-align:left;cursor:pointer}
.kh-mob-btn.on{color:#D9A251}
.kh-mob-btn svg{transition:transform .2s}
.kh-mob-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.kh-mob-list{display:flex;flex-direction:column;padding:0 0 10px 14px}
.kh-mob-list[hidden]{display:none}
.kh-mob-list a{font-size:15px;padding:9px 0}
.krv{transition:opacity .5s ease}

/* Kopfzeile volle Breite (28.10.2026): Logo ganz links, Erstgespräch ganz rechts. Unter 1360 px das Handy-Menü */
.kh-in{max-width:none !important;padding:0 48px}
@media (max-width:1360px){.kh-desk{display:none !important}.kh-burger{display:flex !important}nav.kh-mob:not([hidden]){display:block !important}}
@media (min-width:1361px){.kh-mob{display:none !important}}
@media (max-width:700px){.kh-in{padding:0 22px}}

/* Runde 17 (28.10.2026): Rückmeldungen vom Handy-Test */
@media (max-width:767px){
.hero-img{right:0 !important;width:100% !important;object-position:42% 0% !important}
.hero-v{background:linear-gradient(90deg,rgba(0,0,0,0.70) 0%,rgba(0,0,0,0.30) 55%,rgba(0,0,0,0.05) 100%) !important}
}
@media (max-width:560px){
.rr-l{font-size:10.5px !important;hyphens:manual}
.kz-l{font-size:9.5px !important;letter-spacing:0 !important;text-transform:none !important;hyphens:manual}
.au-cols{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
.au-cols>div>div:first-child{letter-spacing:0.4px !important}
.vl-grid{grid-template-columns:minmax(0,1fr) !important}
.vl-grid>div:first-child>div{hyphens:auto;overflow-wrap:break-word}
.d8 .hd{gap:10px !important;letter-spacing:1.4px !important}
.d8 .hd span{white-space:nowrap}
}

/* Runde 18 (29.10.2026): KI-Übersicht, Kästchen um das Firmenwissen auf sehr schmalen Handys kleiner */
@media (max-width:400px){.kig-l{padding:6px 8px !important;font-size:10px !important}}
@media (max-width:360px){.d8 .hd{font-size:10px !important;letter-spacing:.8px !important}}
@media (max-width:560px){.kig-box{height:440px !important}}

/* Runde 18: Hero-Foto mit weichen Rändern oben und links statt harter Kante */
.hero-img{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18%),linear-gradient(to right,transparent 0,#000 16%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent 0,#000 18%),linear-gradient(to right,transparent 0,#000 16%);mask-composite:intersect}
@media (max-width:560px){.kig-mitte{width:92px !important;height:92px !important}.kig-mitte svg{width:56px;height:56px}}
@media (max-width:400px){.kig-l{padding:5px 7px !important;font-size:9.5px !important}.kig-mitte{width:80px !important;height:80px !important}.kig-mitte svg{width:48px;height:48px}}
@media (max-width:340px){.kig-l{padding:4px 6px !important;font-size:9px !important}}
