/* erzeugt aus css/src/*.css – dort ändern */
/* Kestrel – Theme-Stile. Alle Maße aus references/vermessung.md (gemessen), Farben nur über theme.json-Variablen.
   Breakpoints: Desktop ab 1200 px, Tablet 810–1199.98 px, Phone bis 809.98 px. */

@font-face { font-family: "TASA Orbiter"; src: url(../fonts/tasa-orbiter-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TASA Orbiter"; src: url(../fonts/tasa-orbiter-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "TASA Orbiter"; src: url(../fonts/tasa-orbiter-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hedvig Letters Serif"; src: url(../fonts/hedvig-letters-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url(../fonts/quattrocento-sans-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ks-paper: var(--wp--preset--color--paper);
  --ks-ink: var(--wp--preset--color--ink);
  --ks-night: var(--wp--preset--color--night);
  --ks-coal: var(--wp--preset--color--coal);
  --ks-umber: var(--wp--preset--color--umber);
  --ks-stone: var(--wp--preset--color--stone);
  --ks-pebble: var(--wp--preset--color--pebble);
  --ks-taupe: var(--wp--preset--color--taupe);
  --ks-mist: var(--wp--preset--color--mist);
  --ks-frost: var(--wp--preset--color--frost);
  --ks-snow: var(--wp--preset--color--snow);
  --ks-white: var(--wp--preset--color--white);
  --ks-sans: var(--wp--preset--font-family--sans);
  --ks-serif: var(--wp--preset--font-family--serif);
  --ks-label: var(--wp--preset--font-family--label);
  --ks-line-dark: rgba(255, 255, 255, 0.2);
  --ks-line-light: rgba(22, 35, 27, 0.16);
  --ks-line-grey: rgba(115, 115, 114, 0.2);
  --ks-ffs: "blwf", "cv03", "cv04", "cv09", "cv11";
  --ks-pad: 40px;
}
@media (max-width: 1199.98px) { :root { --ks-pad: 40px; } }
@media (max-width: 809.98px) { :root { --ks-pad: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ks-paper); color: var(--ks-ink);
  font-family: var(--ks-sans); font-size: 12px; line-height: 1.2; font-feature-settings: var(--ks-ffs);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, figure { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
p, h1, h2, h3, h4, h5, h6, blockquote { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ks-ph { display: block; width: 100%; height: 100%; background: #2b2a27; }  /* neutraler Medien-Platzhalter */
.ks-ph--light { background: #c9c7c2; }
.ks-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); text-wrap: nowrap; }

/* ---------- Schriftstile ---------- */
.ks-t-label { font-family: var(--ks-label); font-size: 13px; line-height: 16.9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.ks-t-body { font-size: 17px; line-height: 23.8px; }
.ks-t-small { font-size: 15px; line-height: 19.5px; }
.ks-t-meta { font-size: 14px; line-height: 18.2px; }
.ks-t-tab { font-size: 17px; line-height: 22.1px; font-weight: 500; letter-spacing: -0.17px; }
.ks-t-card { font-size: 22px; line-height: 28.6px; font-weight: 500; letter-spacing: -0.22px; }
.ks-t-num { font-size: 12px; line-height: 15.6px; }
.ks-t-h1 { font-family: var(--ks-serif); font-size: 48px; line-height: 57.6px; letter-spacing: -0.96px; }
.ks-t-h2 { font-family: var(--ks-serif); font-size: 62px; line-height: 74.4px; letter-spacing: -0.62px; }
.ks-t-h3 { font-family: var(--ks-serif); font-size: 32px; line-height: 38.4px; letter-spacing: -0.32px; }
.ks-t-h4 { font-family: var(--ks-serif); font-size: 24px; line-height: 31.2px; letter-spacing: -0.24px; }
.ks-t-big { font-family: var(--ks-serif); font-size: 106px; line-height: 137.8px; letter-spacing: -3.18px; }
.ks-t-stat { font-family: var(--ks-serif); font-size: 36px; line-height: 46.8px; letter-spacing: -0.36px; }
.ks-t-reveal { font-family: var(--ks-serif); font-size: 42px; line-height: 50.4px; letter-spacing: 0; font-feature-settings: normal; }

/* ---------- Bausteine ---------- */
.ks-wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--ks-pad); }

/* Abschnitts-Label mit Linie oben (Linie als ::after, nimmt keinen Platz) */
.ks-eyebrow { position: relative; display: flex; align-items: center; padding-top: 30px; width: 100%; color: var(--ks-stone); }
.ks-eyebrow::after { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--ks-line-light); pointer-events: none; }
.ks-eyebrow > p { text-wrap: wrap; flex: 1 0 0; min-width: 0; }
.ks-eyebrow--dark { color: var(--ks-pebble); }
.ks-eyebrow--dark::after { border-top-color: var(--ks-line-dark); }

/* Button mit Pfeil, der beim Hover diagonal ausgetauscht wird */
.ks-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 13px 20px 11px;
  font-size: 14px; line-height: 18.2px; font-weight: 500; text-wrap: nowrap; overflow: clip; flex: none;
  transition: background-color .48s cubic-bezier(.44, 0, .56, 1); }
.ks-btn--light { background: var(--ks-paper); color: var(--ks-coal); }
.ks-btn--dark { background: var(--ks-ink); color: var(--ks-paper); }
.ks-btn--dark:hover { background: rgba(13, 13, 13, 0.8); }
.ks-btn__icon { position: relative; flex: none; width: 15px; height: 15px; overflow: hidden; }
.ks-btn__icon svg { position: absolute; width: 9px; height: 9px; transition: left .74s cubic-bezier(.44, 0, .56, 1), top .74s cubic-bezier(.44, 0, .56, 1), transform .74s cubic-bezier(.44, 0, .56, 1); }
.ks-btn__icon svg:first-child { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ks-btn__icon svg:last-child { left: -10px; top: 16px; }
.ks-btn:hover .ks-btn__icon svg:first-child { left: 16px; top: -10px; transform: none; }
.ks-btn:hover .ks-btn__icon svg:last-child { left: 3px; top: 3px; }

/* ---------- Navigation ---------- */
.ks-nav { position: fixed; top: 0; left: 50%; z-index: 10; width: 100%; transform: translateX(-50%) translateY(0);
  transition: transform 1s cubic-bezier(.25, .1, .25, 1) .2s; }
.ks-nav.is-hidden { transform: translateX(-50%) translateY(-90px); }
.ks-nav__bar { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 16px 40px; color: var(--ks-paper);
  background: rgba(8, 8, 8, 0); transition: background-color .3s cubic-bezier(.44, 0, .56, 1); }
.ks-nav.is-dark .ks-nav__bar { background: var(--ks-night); }
.ks-nav--light .ks-nav__bar { color: var(--ks-ink); }
.ks-nav__logo, .ks-nav__right { flex: 1 0 0; display: flex; align-items: center; }
.ks-nav__right { justify-content: flex-end; }
.ks-logo { display: block; width: 116px; height: 14.33px; color: currentColor; }
.ks-logo svg { display: block; width: 100%; height: 100%; }
.ks-nav__menu { display: flex; align-items: center; gap: 26px; }
.ks-nav__link { text-wrap: nowrap; display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 18.2px; font-weight: 500; transition: color .19s; }
.ks-nav__link:hover { color: rgba(255, 252, 245, 0.5); }
.ks-nav__chev { width: 12px; height: 12px; opacity: .9; transition: transform .6s cubic-bezier(.44, 0, .56, 1); }
.ks-nav__burger { display: none; }

/* ---------- Hero (Tabs) ---------- */
.ks-hero { position: relative; display: flex; flex-direction: column; width: 100%; height: 100vh; background: #000; overflow: hidden; }
.ks-hero__trigger { position: absolute; top: 180px; left: calc(50% - 600px); width: 1200px; height: 50px; pointer-events: none; }
.ks-hero__stage { position: relative; flex: 1 0 0; display: flex; justify-content: center; background: var(--ks-mist); }
.ks-hero__media { position: absolute; inset: 0; background: var(--ks-ink); overflow: hidden; }
.ks-hero__img { position: absolute; inset: 0; opacity: 0; transition: opacity .75s cubic-bezier(.44, 0, .56, 1); }
.ks-hero__img.is-on { opacity: 1; }
.ks-hero__shade { position: absolute; inset: 0; mix-blend-mode: darken; pointer-events: none; }
.ks-hero__shade--bottom { background: linear-gradient(0deg, rgb(15, 15, 15) 0%, rgba(15, 15, 15, 0) 25%); opacity: .8; }
.ks-hero__shade--side { background: linear-gradient(90deg, rgb(15, 15, 15) 20%, rgba(15, 15, 15, 0) 66%); opacity: .9; }
.ks-hero__shade--dim { background: #000; opacity: .2; }
.ks-hero__inner { position: relative; z-index: 1; flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between;
  max-width: 1600px; height: 100%; padding: 0 40px 40px; }
.ks-hero__spacer { flex: 1 0 0; width: 80px; }
.ks-hero__titles { flex: 1 0 0; display: grid; align-items: center; width: 100%; }
.ks-hero__panel { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; visibility: hidden; }
.ks-hero__panel.is-on { visibility: visible; }
.ks-hero__panel > * { opacity: 0; transform: translateY(10px); }
.ks-hero__panel.is-on > * { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1); }
.ks-hero__panel.is-on > :nth-child(2) { transition-delay: .05s; }
.ks-hero__panel.is-on > :nth-child(3) { transition-delay: .1s; }
.ks-hero__panel.is-on > :nth-child(4) { transition-delay: .15s; }
.ks-hero__panel > p, .ks-hero__panel > h1 { text-wrap: balance; }
.ks-hero__label { max-width: 680px; width: 100%; color: var(--ks-pebble); }
.ks-hero__h1 { max-width: 680px; width: 100%; color: var(--ks-paper); }
.ks-hero__sub { max-width: 500px; width: 100%; color: var(--ks-frost); }
.ks-hero__tabs { flex: 1 0 0; display: flex; align-items: flex-end; gap: 32px; width: 100%; }
.ks-tab { flex: 1 0 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; background: none; border: 0; padding: 0; color: var(--ks-paper);
  font: inherit; text-align: start; cursor: pointer; }
.ks-tab__line { position: relative; width: 100%; height: 1px; background: var(--ks-line-dark); overflow: hidden; }
.ks-tab__bar { position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--ks-frost); transition: width 50ms linear; }
.ks-tab__title { max-width: 500px; opacity: .6; transition: opacity .4s cubic-bezier(.44, 0, .56, 1); }
.ks-tab:hover .ks-tab__title { opacity: .8; }
.ks-tab.is-on .ks-tab__title { opacity: 1; }

/* ---------- Welcome (Text Reveal, Kennzahlen) ---------- */
.ks-welcome { display: flex; flex-direction: column; align-items: center; padding-top: 98px; background: var(--ks-paper); }
.ks-welcome__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; padding-bottom: 80px; }
.ks-welcome__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; width: 100%; }
.ks-reveal { text-align: left; width: 100%; color: var(--ks-ink); }
.ks-reveal__inner { text-wrap: wrap; position: sticky; top: 0; width: 100%; }
.ks-reveal__w { display: inline-block; margin-right: .25em; transition: filter .2s ease-out, opacity .2s ease-out; }
.ks-welcome__text { text-wrap: balance; max-width: 640px; width: 100%; color: var(--ks-umber); }
.ks-metrics { display: flex; align-items: center; gap: 32px; width: 100%; padding: 60px 0 40px; }
.ks-metric { position: relative; flex: 1 0 0; display: flex; justify-content: center; align-items: flex-start; gap: 30px; padding: 0 20px 10px; }
.ks-metric::after { content: ""; position: absolute; inset: 0; border-left: 1px solid var(--ks-pebble); pointer-events: none; }
.ks-metric__no { text-wrap: nowrap; flex: none; color: var(--ks-stone); }
.ks-metric__body { flex: 1 0 0; display: flex; flex-direction: column; gap: 114px; min-width: 0; }
.ks-metric__val { color: var(--ks-ink); text-align: left; }
.ks-metric__val > span { display: inline-block; }
.ks-metric__title { color: var(--ks-stone); }
.ks-words > span { display: inline-block; }

/* ---------- Expertise ---------- */
.ks-expertise { display: flex; justify-content: center; background: var(--ks-night); }
.ks-expertise__wrap { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 98px var(--ks-pad) 124px; }
.ks-expertise__content { display: flex; flex-direction: column; align-items: flex-end; gap: 98px; width: 100%; }
.ks-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 68px; width: 100%; }
.ks-intro__h2 { max-width: 900px; width: 100%; color: var(--ks-paper); }
.ks-intro__row { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.ks-intro__text { flex: 1 0 0; max-width: 640px; color: var(--ks-frost); }
.ks-cards3 { display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); gap: 32px; width: 100%; }
.ks-scard { display: flex; flex-direction: column; align-items: center; width: 100%; align-self: start; }
.ks-scard__img { width: 100%; aspect-ratio: 1.77778 / 1; position: relative; overflow: hidden; }
.ks-scard__img > * { position: absolute; inset: 0; transition: transform .67s cubic-bezier(.44, 0, .56, 1); }
.ks-scard:hover .ks-scard__img > * { transform: scale(1.02); }
.ks-scard__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; padding-top: 32px; }
.ks-scard__body::after { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--ks-line-grey); pointer-events: none; }
.ks-line { position: relative; width: 100%; height: 1px; background: rgba(230, 227, 227, 0.1); overflow: hidden; }
.ks-line__in { position: absolute; top: 0; bottom: 0; left: 0; width: 1%; background: var(--ks-frost); opacity: 0;
  transition: width .7s cubic-bezier(.44, 0, .56, 1), opacity .7s cubic-bezier(.44, 0, .56, 1); }
a:hover > * > .ks-line .ks-line__in, a:hover > .ks-line .ks-line__in { width: 100%; opacity: 1; }
.ks-scard__head { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ks-scard__title { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; color: var(--ks-paper); }
.ks-scard__title > span { flex: 1 0 0; min-width: 0; text-wrap: balance; }
.ks-scard__title svg { flex: none; width: 20px; height: 20px; color: var(--ks-taupe); }
.ks-scard__sub { text-align: left; font-feature-settings: normal; text-wrap: balance; max-width: 600px; color: var(--ks-taupe); }

/* ---------- Approach (Feature Carousel) ---------- */
.ks-approach { display: flex; justify-content: center; background: var(--ks-paper); }
.ks-approach__wrap { display: flex; flex-direction: column; align-items: center; gap: 98px; padding: 98px var(--ks-pad) 124px; }
.ks-split { display: flex; align-items: center; gap: 92px; width: 100%; }
.ks-split__title { flex: 1 0 0; display: flex; align-items: center; min-width: 0; }
.ks-split__title > * { text-align: left; text-wrap: balance; max-width: 600px; width: 100%; color: var(--ks-ink); }
.ks-split__intro { flex: 1 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 38px; min-width: 0; }
.ks-split__intro p { text-wrap: balance; max-width: 95%; color: var(--ks-umber); }
.ks-carousel { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; padding-top: 48px; }
.ks-carousel__row { display: flex; align-items: flex-start; gap: 92px; width: 100%; }
.ks-carousel__list { flex: 1 0 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-width: 0; }
.ks-carousel__tabs { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 480px; }
.ks-ftab { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; cursor: pointer; }
.ks-ftab__line { position: relative; width: 100%; height: 1px; background: var(--ks-line-grey); overflow: hidden; }
.ks-ftab__bar { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--ks-stone); }
.ks-ftab__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; padding-top: 10px; }
.ks-ftab.is-on .ks-ftab__text { gap: 12px; }
.ks-ftab__title { max-width: 500px; width: 100%; color: var(--ks-ink); opacity: .6; transition: opacity .4s cubic-bezier(.44, 0, .56, 1); }
.ks-ftab:hover .ks-ftab__title { opacity: .8; }
.ks-ftab.is-on .ks-ftab__title { opacity: 1; }
.ks-ftab__desc { max-width: 500px; width: 100%; color: var(--ks-umber); display: none; }
.ks-ftab.is-on .ks-ftab__desc { display: block; opacity: .49; animation: ks-fade49 .5s cubic-bezier(.44, 0, .56, 1); }
@keyframes ks-fade49 { from { opacity: 0; } to { opacity: .49; } }
.ks-carousel__media { position: relative; flex: 1 0 0; aspect-ratio: 1.385 / 1; background: var(--ks-ink); overflow: clip; min-width: 0; }
.ks-fslide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s cubic-bezier(.44, 0, .56, 1); background: var(--ks-night); }
.ks-fslide.is-on { opacity: 1; }
.ks-fslide__img, .ks-fslide__grad, .ks-fslide__dim { position: absolute; inset: 0; }
.ks-fslide__grad { background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 99.7906%); opacity: .88; }
.ks-fslide__dim { background: rgb(3, 3, 3); opacity: .35; }
.ks-fslide__meta { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; overflow: hidden; }
.ks-fslide__logo { width: 124px; height: 18.56px; }
.ks-fslide__row { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding-bottom: 10px; color: var(--ks-paper); }
.ks-fslide__row::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid var(--ks-line-dark); pointer-events: none; }
.ks-fslide__row .ks-t-label { text-align: right; text-wrap: nowrap; opacity: .9; }
.ks-fslide__row .ks-t-h1 { text-wrap: nowrap; }

/* ---------- Testimonial ---------- */
.ks-quote { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100vh; color: var(--ks-paper); }
.ks-quote__media { position: absolute; inset: 0; overflow: hidden; }
.ks-quote__media > * { position: absolute; inset: 0; }
.ks-quote__dim { background: #000; opacity: .49; }
.ks-quote__box { position: relative; z-index: 2; flex: 1 0 0; display: flex; justify-content: center; width: 100%; min-height: 0; padding: 98px 0 48px; overflow: hidden; }
.ks-quote__content { flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; max-width: 1600px; height: 100%; padding: 0 var(--ks-pad); }
.ks-quote__main { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; width: 100%; }
.ks-quote__logo { width: 114.53px; height: 16px; }
.ks-quote__text { max-width: 70%; width: 100%; }
.ks-quote__who { display: flex; flex-direction: column; align-items: flex-start; }
.ks-quote__role { color: var(--ks-stone); text-wrap: nowrap; }
.ks-quote__stat .ks-t-stat { text-align: left; text-wrap: nowrap; }
.ks-quote__stats { display: flex; justify-content: flex-end; width: 100%; }
.ks-quote__statwrap { display: flex; flex-direction: column; gap: 10px; width: 50%; padding-left: 48px; overflow: hidden; }
.ks-quote__stat { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.ks-quote__stat:first-child { padding-right: 5px; }
.ks-quote__div { width: 100%; height: 1px; background: var(--ks-line-dark); }

/* ---------- Blog-Liste ---------- */
.ks-blog { display: flex; flex-direction: column; align-items: center; padding: 98px 0 200px; background: var(--ks-mist); }
.ks-blog__wrap { display: flex; flex-direction: column; align-items: center; gap: 98px; }
.ks-blog__content { display: flex; flex-direction: column; align-items: flex-start; gap: 98px; width: 100%; }
.ks-blog__head { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.ks-blog__head h2 { text-align: left; flex: 1 0 0; color: var(--ks-ink); }
.ks-posts { display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); gap: 20px; width: 100%; }
.ks-post { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; align-self: start; }
.ks-post .ks-line { background: var(--ks-line-grey); }
.ks-post .ks-line__in { background: var(--ks-ink); transition-duration: .9s; }
.ks-post__cat { align-self: flex-start; text-wrap: nowrap; width: auto; color: var(--ks-stone); }
.ks-post__img { position: relative; width: 100%; aspect-ratio: 1.77778 / 1; background: var(--ks-ink); overflow: hidden; }
.ks-post__img > * { position: absolute; inset: 0; transition: transform .4s cubic-bezier(.44, 0, .56, 1); }
.ks-post:hover .ks-post__img > * { transform: scale(1.02); }
.ks-post__body { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.ks-post__date, .ks-post__ex { color: var(--ks-stone); }
.ks-post__head { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ks-post__title { color: var(--ks-ink); }

/* ---------- Vorfooter und Footer ---------- */
.ks-cta { display: flex; justify-content: center; width: 100%; background: var(--ks-night); overflow: hidden; }
.ks-cta__wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1920px; padding: 40px; }
.ks-cta__h { text-align: left; text-wrap: balance; flex: 1 0 0; max-width: 75%; color: var(--ks-paper); }
.ks-footer { display: flex; justify-content: center; width: 100%; background: var(--ks-night); overflow: hidden; }
.ks-footer__wrap { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1920px; padding: 64px 40px 0; }
.ks-footer__cols { display: flex; align-items: flex-start; gap: 40px; width: 100%; }
.ks-fcol { position: relative; flex: 1 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-left: 34px; min-width: 0; }
.ks-fcol::after { content: ""; position: absolute; inset: 0; border-left: 1px solid var(--ks-line-dark); pointer-events: none; }
.ks-fcol__h { text-align: left; text-wrap: nowrap; color: rgba(255, 252, 245, 0.5); }
.ks-fcol__links { display: flex; flex-direction: column; gap: 14px; }
.ks-fcol__links li { font-size: 14px; line-height: 16.8px; text-wrap: nowrap; }
.ks-fcol__links a { color: var(--ks-paper); transition: color .19s; }
.ks-fcol__links a:hover { color: rgba(255, 252, 245, 0.5); }
.ks-footer__logo { display: flex; flex-direction: column; width: 100%; padding-top: 220px; color: var(--ks-paper); }
.ks-footer__logo .ks-logo { width: 180px; height: 22.24px; }
.ks-footer__bottom { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 0 32px; }
.ks-footer__credit, .ks-footer__copy { flex: 1 0 0; font-size: 14px; line-height: 18.2px; }
.ks-footer__credit a { color: var(--ks-stone); transition: color .18s; }
.ks-footer__credit a:hover { color: rgba(143, 139, 133, 0.8); }
.ks-footer__credit { text-wrap: nowrap; }
.ks-footer__copy { display: flex; justify-content: flex-end; color: var(--ks-pebble); text-wrap: nowrap; }

/* Umbruch-Regeln wie gemessen (Grundregel balance, hier abweichend) */
.ks-metric__val, .ks-ftab__title, .ks-ftab__desc, .ks-blog__head h2 { text-wrap: wrap; }
.ks-quote__who p, .ks-quote__stat p, .ks-footer__copy p { text-wrap: nowrap; }

/* Approach: gestapelte Karten nur Tablet/Phone */
.ks-fstack { display: none; }

/* =================== Tablet 810–1199.98 =================== */
@media (max-width: 1199.98px) {
  .ks-nav__bar { height: 57px; padding: 16px; }
  .ks-nav__menu, .ks-nav__right .ks-btn { display: none; }
  .ks-nav__burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; width: 23px; height: 25px;
    padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
  .ks-nav__burger span { display: block; width: 100%; height: 1px; background: currentColor; }
  .ks-nav.is-dark .ks-nav__bar { background: var(--ks-ink); }

  .ks-hero__h1 { font-size: 42px; line-height: 50.4px; letter-spacing: -0.84px; }
  .ks-tab__title { font-size: 15px; line-height: 19.5px; letter-spacing: -0.15px; }

  .ks-welcome__wrap { padding: 0 16px 80px; }
  .ks-t-reveal { font-size: 36px; line-height: 46.8px; letter-spacing: -0.3px; }
  .ks-metrics { gap: 18px; align-items: flex-start; }
  .ks-metric { gap: 20px; padding: 0 10px 0 30px; }
  .ks-t-big { font-size: 68px; line-height: 88.4px; letter-spacing: -2.04px; }

  .ks-t-h2 { font-size: 50px; line-height: 60px; letter-spacing: -0.5px; }
  .ks-expertise__wrap { gap: 32px; padding: 80px 16px; }
  .ks-cards3 { gap: 24px; }
  .ks-scard__body { padding: 24px 0 32px; }

  .ks-approach__wrap { gap: 32px; padding: 98px 16px 120px; }
  .ks-split { flex-direction: column; align-items: center; gap: 48px; }
  .ks-split__title, .ks-split__intro { flex: none; width: 100%; }
  .ks-split__intro { gap: 38px; }
  .ks-carousel { gap: 16px; }
  .ks-carousel__row { display: none; }
  .ks-fstack { display: flex; flex-direction: column; gap: 72px; width: 100%; }
  .ks-fcard { display: flex; flex-direction: column; gap: 30px; width: 100%; }
  .ks-fcard__text { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
  .ks-fcard__text > * { max-width: 500px; width: 100%; text-wrap: wrap; }
  .ks-fcard__text h3 { color: var(--ks-ink); }
  .ks-fcard__text p { color: var(--ks-umber); }
  .ks-fcard__media { position: relative; width: 100%; height: 400px; background: var(--ks-night); overflow: clip; }
  .ks-fcard .ks-fslide__logo { width: 162.32px; height: 24.3px; }
  .ks-fcard .ks-fslide__row .ks-t-h1 { font-size: 42px; line-height: 50.4px; letter-spacing: -0.84px; }

  .ks-quote { height: 980px; }
  .ks-quote__media { bottom: auto; height: 1080px; }
  .ks-quote__box { padding: 48px 0 24px; }
  .ks-quote__content { padding: 0 16px; }
  .ks-quote__text { max-width: 80%; }

  .ks-blog__wrap { padding: 0 16px; }
  .ks-posts { grid-template-columns: repeat(2, minmax(50px, 1fr)); }

  .ks-cta__wrap { padding: 40px 16px; max-width: 1600px; }
  .ks-cta__h { max-width: 480px; }
  .ks-footer__wrap { padding: 64px 16px 0; max-width: 1600px; }
  .ks-footer__logo .ks-logo { width: 25%; height: auto; aspect-ratio: 8.09375 / 1; }
}

/* =================== Phone bis 809.98 =================== */
@media (max-width: 809.98px) {
  .ks-hero__inner { padding: 0 16px 16px; }
  .ks-hero__h1 { font-size: 32px; line-height: 38.4px; letter-spacing: -0.64px; }
  .ks-hero__tabs { gap: 8px; }
  .ks-tab { gap: 0; }
  .ks-tab__title { display: none; }

  .ks-welcome__wrap { gap: 40px; }
  .ks-welcome__intro { padding-top: 20px; }
  .ks-t-reveal { font-size: 30px; line-height: 39px; letter-spacing: -0.3px; }
  .ks-metrics { flex-direction: column; align-items: center; gap: 68px; }
  .ks-metric { flex: none; width: 100%; }

  .ks-t-h2 { font-size: 40px; line-height: 48px; letter-spacing: -0.4px; }
  .ks-expertise__wrap { padding: 64px 16px; }
  .ks-expertise__content { align-items: flex-start; gap: 60px; }
  .ks-intro { gap: 48px; }
  .ks-intro__row { flex-direction: column; align-items: flex-start; gap: 38px; }
  .ks-intro__text { flex: none; width: 100%; }
  .ks-intro__row .ks-btn { padding: 11px 20px 9px; }
  .ks-cards3 { grid-template-columns: repeat(1, minmax(50px, 1fr)); }

  .ks-fstack { gap: 78px; }
  .ks-fcard { gap: 36px; }
  .ks-fcard .ks-fslide__row { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 10px; }
  .ks-fcard .ks-fslide__row .ks-t-h1 { font-size: 32px; line-height: 38.4px; letter-spacing: -0.64px; }

  .ks-quote { height: 844px; }
  .ks-quote__media { height: 844px; }
  .ks-quote__box { padding: 48px 0; }
  .ks-quote__text { max-width: none; font-size: 26px; line-height: 31.2px; letter-spacing: -0.26px; }
  .ks-quote__statwrap { width: 100%; padding-left: 0; }

  .ks-blog__head { flex-direction: column; align-items: flex-start; gap: 38px; }
  .ks-blog__head h2 { flex: none; width: 100%; }
  .ks-posts { grid-template-columns: repeat(1, minmax(50px, 1fr)); gap: 60px 20px; }

  .ks-cta__wrap { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 30px; }
  .ks-cta__h { flex: none; width: 100%; }
  .ks-footer__cols { flex-direction: column; gap: 96px; }
  .ks-fcol { flex: none; width: 100%; }
  .ks-fcol__links { gap: 18px; }
  .ks-footer__logo { padding-top: 80px; }
  .ks-footer__logo .ks-logo { width: 75%; }
  .ks-footer__bottom { flex-direction: column; gap: 4px; align-items: stretch; }
  .ks-footer__credit, .ks-footer__copy { flex: none; width: 100%; }
  .ks-footer__copy { justify-content: flex-start; }
}

/* Blog: Tablet zeigt nur zwei Beiträge; Phone gleich hohe Zeilen */
@media (min-width: 810px) and (max-width: 1199.98px) { .ks-posts > :nth-child(n+3) { display: none; } }
@media (max-width: 809.98px) { .ks-posts { grid-auto-rows: minmax(0, 1fr); } }

/* Helle Navigation (Unterseiten ohne dunklen Hero) */
.ks-nav--light .ks-nav__bar { background: var(--ks-snow); color: var(--ks-ink); }
.ks-nav--light .ks-nav__link:hover { color: rgba(15, 15, 15, 0.5); }

/* ---------- Dropdown (Desktop, Hover/Fokus) ---------- */
.ks-nav__has-dd { position: static; }
.ks-dd { position: fixed; top: 96px; left: 40px; right: 40px; height: 440px; display: grid;
  grid-template-columns: 291fr 487fr 95fr 487fr; grid-template-areas: "label list . card"; align-items: start;
  color: var(--ks-snow); }
.ks-dd[hidden] { display: none; }
.ks-dd__label { grid-area: label; padding-top: 43px; color: rgba(250, 250, 250, .6); }
.ks-dd__list { grid-area: list; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }
.ks-dd__item { position: relative; display: flex; align-items: flex-start; height: 64px; padding-top: 17px;
  font-family: var(--ks-serif); font-size: 24px; line-height: 31.2px; letter-spacing: -0.24px; }
.ks-dd__item::after, .ks-dd__item::before { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; }
.ks-dd__item::after { right: 0; background: rgba(230, 227, 227, .1); }
.ks-dd__item::before { width: 0; background: var(--ks-frost); z-index: 1; transition: width .6s cubic-bezier(.44, 0, .56, 1); }
.ks-dd__item:hover::before, .ks-dd__item:focus-visible::before { width: 100%; }
.ks-dd__card { grid-area: card; display: flex; flex-direction: column; padding-top: 40px; }
.ks-dd__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: clip; background: var(--ks-umber); }
.ks-dd__title { margin-top: 21px; font-size: 14px; line-height: 18.2px; font-weight: 500; }
.ks-dd__text { margin-top: 10px; font-size: 14px; line-height: 18.2px; color: var(--ks-pebble); }
.ks-nav.is-dd .ks-nav__bar { background: var(--ks-night); }
.ks-nav.is-dd::before { content: ""; position: fixed; inset: 80px 0 auto; height: 472px; background: var(--ks-night); z-index: -1; }
.ks-nav.is-dd .ks-nav__has-dd > .ks-nav__link { color: rgba(250, 250, 250, .8); }
.ks-nav.is-dd .ks-nav__chev { transform: rotate(180deg); }
.ks-nav--light.is-dd .ks-nav__bar, .ks-nav--light.is-dd::before { background: var(--ks-snow); }
.ks-nav--light .ks-dd { color: var(--ks-ink); }
.ks-nav--light .ks-dd__label { color: rgba(15, 15, 15, .6); }
.ks-nav--light .ks-dd__item::after { background: rgba(15, 15, 15, .1); }
.ks-nav--light .ks-dd__item::before { background: var(--ks-ink); }
.ks-nav--light.is-dd .ks-nav__has-dd > .ks-nav__link { color: rgba(15, 15, 15, .8); }

/* ---------- Menü Tablet/Handy ---------- */
.ks-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: -1; background: var(--ks-ink); color: var(--ks-snow); padding: 101px 16px 40px; overflow-y: auto; }
.ks-menu[hidden] { display: none; }
.ks-menu__list { display: flex; flex-direction: column; gap: 14px; }
.ks-menu__link { display: inline-block; font-size: 24px; line-height: 31.2px; letter-spacing: -0.24px; }
.ks-menu__link:hover { opacity: .7; }
.ks-nav.is-open .ks-nav__bar { background: transparent; color: var(--ks-snow); }
.ks-nav.is-open .ks-nav__burger { gap: 0; }
.ks-nav.is-open .ks-nav__burger span:first-child { transform: translateY(.5px) rotate(45deg); }
.ks-nav.is-open .ks-nav__burger span:last-child { transform: translateY(-.5px) rotate(-45deg); }
.ks-nav__burger span { transition: transform .3s ease; }
html.ks-locked, html.ks-locked body { overflow: hidden; }
@media (min-width: 1200px) { .ks-menu { display: none !important; } }
@media (max-width: 1199.98px) { .ks-dd { display: none !important; } }

/* ---------- Seitenübergang (View Transitions, gleiche Kurven wie gemessen) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: ks-vt-out .5s cubic-bezier(.69, 0, .88, .77) both; }
::view-transition-new(root) { animation: ks-vt-in 1s cubic-bezier(.12, .23, 0, .98) .4s both; }
@keyframes ks-vt-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10%); } }
@keyframes ks-vt-in { from { opacity: 0; transform: translateY(10%); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Eigene Bilder im Platzhalter (tools/build_sections.py setzt sie aus copy/media.json ein) */
.ks-ph:has(> img) { position: relative; overflow: clip; }
.ks-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Übersichtsseiten (Beiträge, Fallstudien) ===== */
.ks-btn--h44 { height: 44px; }

/* Titel */
.ks-ltitle { display: flex; flex-direction: column; align-items: center; padding: 160px 0 0; background: var(--ks-paper); overflow: hidden; }
.ks-ltitle__wrap { display: flex; justify-content: center; width: 100%; max-width: 1600px; padding: 0 40px 40px; }
.ks-ltitle__content { flex: 1 0 0; display: flex; min-width: 0; }
.ks-ltitle--row .ks-ltitle__content { justify-content: space-between; align-items: flex-end; }
.ks-ltitle--ticker .ks-ltitle__content { flex-direction: column; align-items: flex-end; gap: 80px; }
.ks-ltitle__head { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; min-width: 0; }
.ks-ltitle--row .ks-ltitle__head { flex: 1 0 0; }
.ks-ltitle--ticker .ks-ltitle__head { width: 100%; }
.ks-ltitle__label { width: 100%; color: var(--ks-stone); text-wrap: wrap; }
.ks-ltitle__h1 { width: 100%; font-family: var(--ks-serif); font-weight: 400; font-size: 82px; line-height: 90.2px; letter-spacing: -0.82px; color: var(--ks-ink); }
.ks-ltitle--row .ks-ltitle__h1 { text-wrap: wrap; }
.ks-ltitle--ticker .ks-ltitle__h1 { max-width: 800px; }
.ks-ltitle__text { width: 100%; max-width: 480px; color: var(--ks-umber); }

/* Logo-Laufband */
.ks-ticker { display: flex; width: 100%; overflow: clip; }
.ks-ticker__mask { flex: 1 0 0; display: flex; align-items: center; min-width: 0; border-radius: 10px;
  -webkit-mask: linear-gradient(90deg, rgba(0,0,0,0) 4.43236%, #000 11.2507%, rgba(0,0,0,.72) 87.7903%, rgba(0,0,0,0) 94.3729%);
  mask: linear-gradient(90deg, rgba(0,0,0,0) 4.43236%, #000 11.2507%, rgba(0,0,0,.72) 87.7903%, rgba(0,0,0,0) 94.3729%); }
.ks-ticker__list { display: flex; align-items: center; gap: 100px; width: 100%; height: 22.84px; margin: 0; padding: 0; list-style: none; will-change: transform; }
.ks-ticker__list li { flex: none; }
.ks-ticker__logo { position: relative; display: block; }
.ks-ticker__word { display: flex; align-items: center; gap: 100px; white-space: nowrap; color: var(--ks-umber); }

/* Hervorgehobener Eintrag */
.ks-feature { display: flex; flex-direction: column; align-items: center; padding: 48px 0 120px; background: var(--ks-paper); overflow: hidden; }
.ks-feature__wrap { display: flex; justify-content: center; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-feat { flex: 1 0 0; display: flex; align-items: center; min-width: 0; background: var(--ks-mist); }
.ks-feat__content { flex: 1 0 0; align-self: stretch; display: flex; flex-direction: column; gap: 14px; padding: 24px; min-width: 0; }
.ks-feat .ks-line { background: var(--ks-line-grey); }
.ks-feat .ks-line__in { background: var(--ks-ink); transition-duration: .9s; }
.ks-feat__info { flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.ks-feat__meta { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.ks-feat__cat { align-self: flex-start; text-wrap: nowrap; color: var(--ks-stone); }
.ks-feat__date, .ks-feat__ex { width: 100%; color: var(--ks-taupe); }
.ks-feat__head { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.ks-feat__title { width: 100%; max-width: 95%; color: var(--ks-ink); }
.ks-feat__img { position: relative; flex: 1.5 0 0; aspect-ratio: 1.77778 / 1; background: var(--ks-ink); overflow: hidden; }
.ks-feat__img > * { position: absolute; inset: 0; transition: transform .4s cubic-bezier(.44, 0, .56, 1); }
.ks-feat:hover .ks-feat__img > * { transform: scale(1.02); }
.ks-feat:hover .ks-line .ks-line__in { width: 100%; opacity: 1; }

/* Liste */
.ks-articles { display: flex; flex-direction: column; align-items: center; padding: 20px 0 200px; background: var(--ks-paper); overflow: hidden; }
.ks-articles__wrap { display: flex; justify-content: center; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-alist { flex: 1 0 0; display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); gap: 60px 24px; min-width: 0; }

@media (max-width: 1199.98px) {
  .ks-ltitle__wrap, .ks-feature__wrap, .ks-articles__wrap { padding-left: 16px; padding-right: 16px; }
  .ks-ltitle__h1 { font-size: 66px; line-height: 72.6px; letter-spacing: -0.66px; }
  .ks-ltitle--row { padding-bottom: 30px; }
  .ks-ltitle--row .ks-ltitle__head { max-width: 480px; }
  .ks-ltitle--ticker .ks-ltitle__content { gap: 68px; align-items: flex-start; }
  .ks-ltitle--ticker .ks-ltitle__head { max-width: 600px; }
  .ks-ltitle--ticker .ks-ltitle__h1 { max-width: 1000px; }
  .ks-feat { flex-direction: column; gap: 24px; }
  .ks-feat__content { flex: none; width: 100%; align-self: auto; padding: 16px; }
  .ks-feat__info { flex: none; height: 248px; }
  .ks-feat__img { flex: none; width: 100%; }
  .ks-alist { grid-template-columns: repeat(2, minmax(50px, 1fr)); }
}
@media (max-width: 809.98px) {
  .ks-ltitle--row { padding-bottom: 0; }
  .ks-ltitle__wrap { padding-bottom: 0; }
  .ks-ltitle__h1 { font-size: 46px; line-height: 50.6px; letter-spacing: -0.46px; }
  .ks-ltitle__label { width: 212px; }
  .ks-ltitle--row .ks-ltitle__content, .ks-ltitle--ticker .ks-ltitle__content { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 80px; }
  .ks-ltitle--row .ks-ltitle__head, .ks-ltitle--ticker .ks-ltitle__head { flex: none; width: 100%; max-width: none; }
  .ks-ltitle--ticker .ks-ltitle__h1 { max-width: 800px; }
  .ks-feature { padding-bottom: 80px; }
  .ks-feat__content { gap: 16px; }
  .ks-feat__info { height: auto; justify-content: flex-start; gap: 56px; }
  .ks-articles { padding-top: 48px; }
  .ks-alist { grid-template-columns: repeat(1, minmax(50px, 1fr)); }
}

/* Ausrichtung und Schriftmerkmale wie gemessen */
.ks-ltitle__label, .ks-ltitle__h1, .ks-ltitle__text, .ks-feat__date, .ks-feat__ex { text-align: left; }
.ks-feat__date, .ks-feat__ex { font-feature-settings: normal; }

/* ===== Artikelseiten: Blogbeiträge und Fallstudien ===== */
.ks-art-title { display: flex; flex-direction: column; align-items: center; padding-top: 180px; background: var(--ks-paper); overflow: hidden; }
.ks-art-title__wrap { display: flex; justify-content: center; }
.ks-art-title__content { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 68px; }
.ks-art-title__title { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 640px; }
.ks-art-title__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; width: 100%; max-width: 640px; }
.ks-art-info { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; }
.ks-art-info p { text-wrap: nowrap; text-align: center; }
.ks-art-info__cat { color: var(--ks-stone); }
.ks-art-info__cat a { color: inherit; }
.ks-art-info__meta { color: var(--ks-pebble); }
.ks-art-dot { flex: none; width: 4px; height: 4px; border-radius: 1px; background: var(--ks-pebble); }
.ks-art-title__h { width: 100%; text-align: center; color: var(--ks-ink); }
.ks-art-title__sub { width: 100%; text-align: center; color: var(--ks-umber); }
.ks-art-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ks-ink); }
.ks-art-hero > * { position: absolute; inset: 0; }

/* Fallstudie: Kopf linksbündig, breiter */
.ks-art--case .ks-art-title__content { align-items: flex-start; }
.ks-art--case .ks-art-title__title, .ks-art--case .ks-art-title__heading { max-width: 900px; }
.ks-art--case .ks-art-title__heading { gap: 48px; }
.ks-art--case .ks-art-info { justify-content: flex-start; }
.ks-art--case .ks-art-info__meta { color: var(--ks-stone); }
.ks-art--case .ks-art-title__h { text-align: left; }
.ks-art--case .ks-art-title__sub { text-align: left; max-width: 520px; }

/* Artikeltext */
.ks-art-body { display: flex; flex-direction: column; align-items: center; padding-top: 80px; background: var(--ks-paper); }
.ks-art-body__wrap { display: flex; justify-content: center; padding-bottom: 120px; }
.ks-art-body__cc { flex: 1 0 0; min-width: 0; display: flex; align-items: flex-start; gap: 64px; }
.ks-art-details { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; position: sticky; top: 80px; z-index: 1; }
.ks-art-details__text { display: flex; flex-direction: column; gap: 36px; width: 100%; }
.ks-art-detail { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ks-art-detail p { text-wrap: wrap; }
.ks-art-detail__label { color: var(--ks-stone); }
.ks-art-detail__val { color: var(--ks-ink); }
.ks-art-author { display: flex; align-items: center; gap: 10px; width: 240px; padding: 12px; background: var(--ks-mist); }
.ks-art-author__img { position: relative; flex: none; width: 50px; height: 50px; background: var(--ks-ink); overflow: hidden; }
.ks-art-author__img > * { position: absolute; inset: 0; }
.ks-art-author__txt { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ks-art-author__name { font-family: var(--ks-serif); font-size: 16px; line-height: 22.4px; color: var(--ks-ink); }
.ks-art-author__role { color: var(--ks-stone); }
.ks-art-content { flex: 1.5 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; }
.ks-art-rt { width: 100%; max-width: 95%; }
.ks-art-rt p, .ks-art-rt li { font-size: 15px; line-height: 19.5px; color: var(--ks-umber); text-wrap: wrap; }
.ks-art-rt h4 { font-family: var(--ks-serif); font-size: 24px; line-height: 31.2px; letter-spacing: -0.24px; color: var(--ks-ink); text-wrap: wrap; }
.ks-art-rt > * + * { margin-top: 22px; }
.ks-art-rt > * + h4 { margin-top: 44px; }
.ks-art-rt > p + ul { margin-top: 14px; }
.ks-art-rt ul { list-style: none; margin-bottom: 0; padding: 0; }
.ks-art-rt li { position: relative; padding-left: 18.9px; }
.ks-art-rt li::before { content: "•"; position: absolute; left: 0; top: 0; width: 5px; }

/* Weitere Beiträge (Abwandlung des Blog-Abschnitts) */
.ks-more__dim { color: var(--ks-stone); }

@media (max-width: 1199.98px) {
  .ks-art-title__wrap, .ks-art-body__wrap { padding-left: 16px; padding-right: 16px; }
  .ks-art-title__title { align-items: center; }
  .ks-art-title__heading { max-width: 480px; }
  .ks-art--case .ks-art-title__title { align-items: flex-start; }
  .ks-art--case .ks-art-title__heading { max-width: 900px; }
  .ks-art-body__cc { gap: 36px; }
  .ks-art-content { flex: 1.8 0 0; }
  .ks-art--case .ks-art-content { flex: 1.5 0 0; }
  .ks-more .ks-posts { grid-template-columns: repeat(3, minmax(50px, 1fr)); }
  .ks-more .ks-posts > :nth-child(n+3) { display: flex; }
}

@media (max-width: 809.98px) {
  .ks-art-title { padding-top: 160px; }
  .ks-art--case.ks-art-title { padding-top: 180px; }
  .ks-art-title__title { align-items: flex-start; }
  .ks-art-body { padding-top: 68px; }
  .ks-art-body__wrap { padding-bottom: 80px; }
  .ks-art-body__cc { flex-direction: column; gap: 48px; }
  .ks-art--case.ks-art-body { padding-top: 80px; }
  .ks-art--case .ks-art-body__wrap { padding-bottom: 120px; }
  .ks-art--case .ks-art-body__cc { gap: 64px; }
  .ks-art-details { flex: none; width: 100%; position: relative; top: auto; }
  .ks-art-content, .ks-art--case .ks-art-content { flex: none; width: 100%; }
  .ks-more .ks-blog__head { gap: 24px; }
  .ks-more .ks-posts { grid-template-columns: repeat(1, minmax(50px, 1fr)); gap: 20px; }
  .ks-more--case .ks-blog__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 0; }
  .ks-more--case .ks-blog__head h2 { flex: 1 0 0; width: auto; }
  .ks-more--case .ks-posts { gap: 48px 20px; }
}

/* Links im Fließtext (Hub-Texte, 03.12.2026): unterstrichen, damit sie als Links erkennbar sind */
.ks-art-rt p a, .ks-art-rt li a, .ks-rich p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ks-art-rt p a:hover, .ks-rich p a:hover { text-decoration-thickness: 2px; }

/* ===== Leistungen: Übersicht und Detailseiten (Werte aus tmp/tree/services-*) ===== */
.ks-svhero, .ks-sdtitle { position: relative; }

/* --- Hero Übersicht --- */
.ks-svhero { display: flex; width: 100%; height: 100vh; background: var(--ks-ink); color: var(--ks-paper); overflow: clip; }
.ks-svhero__media { position: absolute; inset: 0; z-index: 1; overflow: clip; }
.ks-svhero__img { position: absolute; inset: 0; transform-origin: 50% 50%; }
.ks-svhero__dim { position: absolute; inset: 0; background: var(--ks-ink); opacity: .25; }
.ks-svhero__grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18, 18, 18) 16%, rgba(18, 18, 18, 0) 56%); }
.ks-svhero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  flex: 1 0 0; width: 100%; max-width: 1600px; margin: 0 auto; padding: 140px 40px 40px; overflow: hidden; }
.ks-svhero__intro { display: flex; align-items: center; flex: 1 0 0; width: 100%; }
.ks-svhero__head { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; flex: 1 0 0; max-width: 640px; }
.ks-svhero__head > p { width: 100%; text-align: left; }
.ks-svhero__label { color: var(--ks-pebble); opacity: .8; }
.ks-svhero__title { width: 100%; }
.ks-svhero__h1, .ks-sdtitle__h1 { font-family: var(--ks-serif); font-weight: 400; font-size: 82px; line-height: 90.2px; letter-spacing: -0.82px; color: var(--ks-paper); }
.ks-svhero__h1 { max-width: 90%; }

/* --- Bild rechts mit Parallax (Übersicht + Detail) --- */
.ks-sidepic { display: flex; justify-content: flex-end; align-items: flex-start; flex: 1 0 0; max-width: 25%; }
.ks-sidepic__img { flex: 1 0 0; max-width: 75%; }
.ks-sidepic__clip { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.ks-sidepic__par { position: absolute; top: 0; left: 0; width: 100%; height: 110%; will-change: transform; }

/* --- Overview --- */
.ks-svover { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 98px 0 80px; background: var(--ks-paper); overflow: hidden; }
.ks-svover__wrap { display: flex; justify-content: center; width: 100%; max-width: 1600px; padding: 0 40px 80px; }
.ks-svover__content { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; flex: 1 0 0; }
.ks-svover__intro { display: flex; align-items: flex-start; width: 100%; padding-top: 40px; }
.ks-svover__text { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; flex: 1 0 0; }
.ks-svover__lead { width: 100%; text-align: left; color: var(--ks-ink); }
.ks-svover__body { width: 100%; max-width: 640px; color: var(--ks-ink); }

/* --- Leistungsliste (Übersicht) und weitere Leistungen (Detail) --- */
.ks-svlist { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 98px 0 180px; background: var(--ks-night); overflow: hidden; }
.ks-svlist__wrap { display: flex; flex-direction: column; align-items: center; gap: 98px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-svlist__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 68px; width: 100%; }
.ks-svlist__intro h2 { width: 100%; color: var(--ks-paper); }
.ks-svlist__intro p { max-width: 640px; width: 100%; color: var(--ks-frost); }
.ks-svlist__rows { display: flex; flex-direction: column; gap: 20px; width: 100%; padding-top: 36px; }

.ks-svrow { position: relative; display: flex; align-items: center; width: 100%; color: var(--ks-paper); }
.ks-svrow::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid var(--ks-line-dark); pointer-events: none; }
.ks-svrow__line { position: absolute; bottom: 0; left: 1px; z-index: 1; width: 1%; height: 1px; opacity: 0; background: var(--ks-frost);
  transition: width .65s cubic-bezier(.44, 0, .56, 1), opacity .65s cubic-bezier(.44, 0, .56, 1); }
.ks-svrow--other .ks-svrow__line { background: var(--ks-paper); }
.ks-svrow__in { display: flex; align-items: center; gap: 60px; flex: 1 0 0; transition: opacity .65s cubic-bezier(.44, 0, .56, 1); }
.ks-svrow__left { display: flex; align-items: center; gap: 24px; }
.ks-svrow__media { position: relative; width: 240px; aspect-ratio: 1.77778 / 1; overflow: hidden; }
.ks-svrow__media > * { position: absolute; inset: 0; }
.ks-svrow__right { display: flex; align-items: center; gap: 48px; flex: 1 0 0; }
.ks-svrow__title { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; flex: 1 0 0;
  transition: padding .65s cubic-bezier(.44, 0, .56, 1); }
.ks-svrow__title > * { width: 100%; text-wrap: wrap; }
.ks-svrow__icon { display: flex; flex: none; width: 32px; height: 32px; transition: transform .55s cubic-bezier(.44, 0, .56, 1); }
.ks-svrow__icon svg { display: block; width: 100%; height: 100%; }
.ks-svrow__icon--m { display: none; }
.ks-svrow--main { padding: 64px 48px 64px 0; }
.ks-svrow--main .ks-svrow__cap { opacity: .6; }
.ks-svrow--main:hover .ks-svrow__line, .ks-svrow--other:hover .ks-svrow__line { width: 100%; opacity: 1; }
.ks-svrow--main:hover .ks-svrow__in, .ks-svrow--other:hover .ks-svrow__in { opacity: .9; }
.ks-svrow--main:hover .ks-svrow__title { padding-left: 16px; }
.ks-svrow--main:hover .ks-svrow__icon { transform: rotate(-45deg); }
.ks-svrow--other { padding: 32px 0; }
.ks-svrow--other .ks-svrow__media { width: 140px; }
.ks-svrow--other .ks-svrow__cap { color: var(--ks-pebble); transition: opacity .7s cubic-bezier(.44, 0, .56, 1); }
.ks-svrow--other .ks-svrow__icon { transform: rotate(-45deg); }
.ks-svrow--other:hover .ks-svrow__icon { transform: none; }
.ks-svrow--other:hover .ks-svrow__cap { opacity: .8; }

/* --- Kundenerfolg --- */
.ks-svsucc { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 98px 0 180px; background: var(--ks-white); overflow: hidden; }
.ks-svsucc__wrap { display: flex; flex-direction: column; align-items: center; gap: 68px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-svsucc__label { width: 100%; text-align: center; color: var(--ks-stone); }
.ks-svsucc__head { display: flex; flex-direction: column; align-items: center; gap: 48px; width: 100%; }
.ks-svsucc__head h2 { max-width: 800px; width: 100%; text-align: center; color: var(--ks-ink); }
.ks-svsucc__head p { max-width: 480px; width: 100%; text-align: center; color: var(--ks-umber); }
.ks-svq { display: flex; align-items: center; width: 100%; padding: 24px; background: var(--ks-mist); }
.ks-svq__pic { display: flex; flex: 1 0 0; padding-right: 32px; }
.ks-svq__img { position: relative; flex: 1 0 0; aspect-ratio: 1 / 1; }
.ks-svq__img > * { position: absolute; inset: 0; }
.ks-svq__content { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  flex: 1.25 0 0; align-self: stretch; padding-left: 32px; }
.ks-svq__content::after, .ks-svq__stat + .ks-svq__stat::after { content: ""; position: absolute; inset: 0;
  border-left: 1px solid rgba(158, 158, 157, 0.4); pointer-events: none; }
.ks-svq__quote { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; flex: 1 0 0; width: 100%; padding-top: 40px; }
.ks-svq__qwrap { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; width: 100%; }
.ks-svq__logo { width: 128.8px; height: 18px; opacity: .8; }
.ks-svq__text { margin: 0; max-width: 80%; width: 100%; font-family: var(--ks-serif); font-size: 24px; line-height: 28.8px;
  letter-spacing: -0.24px; color: var(--ks-ink); text-wrap: balance; }
.ks-svq__who { display: flex; flex-direction: column; align-items: flex-start; }
.ks-svq__who p { text-wrap: nowrap; }
.ks-svq__who .ks-t-meta { color: var(--ks-ink); }
.ks-svq__who .ks-t-label, .ks-svq__stat .ks-t-label { color: var(--ks-stone); }
.ks-svq__stats { display: flex; align-items: flex-start; width: 100%; }
.ks-svq__stat { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1 0 0; }
.ks-svq__stat + .ks-svq__stat { padding-left: 18px; }
.ks-svq__stat .ks-t-stat { text-align: left; text-wrap: wrap; color: var(--ks-ink); }

/* --- Detail: Titel --- */
.ks-sdtitle { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 200px; background: var(--ks-night); overflow: hidden; }
.ks-sdtitle__wrap { display: flex; flex-direction: column; align-items: center; gap: 84px; width: 100%; }
.ks-sdtitle__head { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-sdtitle__crumb { color: var(--ks-stone); text-align: left; }
.ks-sdtitle__crumb a { color: inherit; }
.ks-sdtitle__row { display: flex; justify-content: center; align-items: center; gap: 24px; width: 100%; }
.ks-sdtitle__h1 { flex: 1 0 0; text-align: left; }
.ks-sdtitle__sub { flex: 1 0 0; max-width: 380px; text-align: left; color: var(--ks-paper); }
.ks-sdtitle__pic { position: relative; width: 100%; height: 720px; overflow: hidden; }
.ks-sdtitle__img { position: absolute; inset: 0; }

/* --- Detail: Inhalt --- */
.ks-sdcont { display: flex; justify-content: center; width: 100%; background: var(--ks-paper); overflow: hidden; }
.ks-sdcont__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; width: 100%; max-width: 1600px; padding: 80px 40px 120px; }
.ks-sdcont__intro { display: flex; align-items: center; width: 100%; padding: 40px 0; }
.ks-sdcont__intro p { flex: 1 0 0; max-width: 90%; text-align: left; color: var(--ks-ink); }
.ks-sdcont__main { display: flex; align-items: flex-start; width: 100%; }
.ks-sdcont__spacer { flex: 1 0 0; align-self: stretch; max-width: 25%; }
.ks-sdcont__text { display: flex; flex-direction: column; align-items: flex-start; gap: 80px; flex: 1 0 0; }
.ks-rich { width: 100%; color: var(--ks-ink); }
.ks-rich > * { text-wrap: wrap; color: var(--ks-ink); }
.ks-rich > * + h4 { margin-top: 44px; }
.ks-rich > h4 + p { margin-top: 20px; }
.ks-rich > p + p { margin-top: 20px; }

/* Textlink mit Linie */
.ks-tlink { display: flex; flex-direction: column; width: 280px; color: var(--ks-ink); }
.ks-tlink__text { display: flex; align-items: center; gap: 10px; padding: 12px 0; transition: padding .7s cubic-bezier(.44, 0, .56, 1); }
.ks-tlink__text > span { flex: 1 0 0; }
.ks-tlink__text svg { flex: none; width: 20px; height: 20px; }
.ks-tlink__line { position: relative; width: 100%; height: 1px; background: var(--ks-line-light); overflow: hidden; }
.ks-tlink__in { position: absolute; top: 0; bottom: 0; left: 0; width: 1%; background: var(--ks-ink); opacity: 0;
  transition: width .7s cubic-bezier(.44, 0, .56, 1), opacity .7s cubic-bezier(.44, 0, .56, 1); }
.ks-tlink:hover .ks-tlink__text { padding: 12px 16px; }
.ks-tlink:hover .ks-tlink__in { width: 100%; opacity: 1; }

/* --- Detail: weitere Leistungen --- */
.ks-sdmore { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 98px 0 180px; background: var(--ks-night); overflow: hidden; }
.ks-sdmore__wrap { display: flex; flex-direction: column; align-items: center; gap: 98px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-sdmore__content { display: flex; justify-content: center; align-items: flex-start; gap: 68px; width: 100%; }
.ks-sdmore__title { flex: 1 0 0; max-width: 30%; }
.ks-sdmore__title h2 { text-align: left; color: var(--ks-paper); }
.ks-sdmore__rows { display: flex; flex-direction: column; gap: 20px; flex: 1 0 0; }

/* --- Detail: Blog (alle Beiträge, Abstand 32/20) --- */
.ks-blog--more .ks-posts { gap: 32px 20px; }

/* =================== Tablet =================== */
@media (max-width: 1199.98px) {
  .ks-svhero__inner { padding: 100px 16px 20px; max-width: none; }
  .ks-svhero__intro { flex-direction: column; justify-content: center; align-items: flex-start; }
  .ks-svhero__head { flex: none; width: 100%; max-width: 480px; }
  .ks-svhero__h1 { max-width: none; font-size: 66px; line-height: 72.6px; letter-spacing: -0.66px; }
  .ks-sdtitle__h1 { font-size: 66px; line-height: 72.6px; letter-spacing: -0.66px; }

  .ks-svover { padding-bottom: 60px; }
  .ks-svover__wrap { padding: 0 16px 80px; }
  .ks-svover__text { flex: 2 0 0; }
  .ks-sidepic { max-width: 20%; }
  .ks-svover .ks-sidepic__img { max-width: none; }

  .ks-svlist { padding-bottom: 80px; }
  .ks-svlist__wrap { padding: 0 16px; }
  .ks-svrow--main, .ks-svrow--other { padding: 40px 0; }
  .ks-svrow__in { flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
  .ks-svrow__left { justify-content: space-between; gap: 0; width: 100%; }
  .ks-svrow__media, .ks-svrow--other .ks-svrow__media { width: 120px; height: 80px; aspect-ratio: auto; }
  .ks-svrow__icon--m { display: flex; }
  .ks-svrow__icon--d { display: none; }
  .ks-svrow__right { flex: none; flex-direction: column; align-items: flex-start; width: 100%; }
  .ks-svrow--other .ks-svrow__right { gap: 18px; }
  .ks-svrow__title { flex: none; width: 100%; }
  .ks-svrow--main .ks-t-h1 { font-size: 42px; line-height: 50.4px; letter-spacing: -0.84px; }

  .ks-svsucc__wrap { padding: 0 16px; }
  .ks-svq { flex-direction: column; gap: 48px; }
  .ks-svq__pic { flex: none; width: 100%; padding-right: 0; }
  .ks-svq__content { flex: none; width: 100%; align-self: auto; justify-content: center; gap: 96px; }
  .ks-svq__quote { flex: none; }
  .ks-svq__logo { width: 157.5px; height: 22px; }

  .ks-sdtitle { padding-top: 180px; }
  .ks-sdtitle__head { padding: 0 16px; }
  .ks-sdtitle__row { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 28px; }
  .ks-sdtitle__h1 { flex: none; width: 100%; }
  .ks-sdtitle__sub { flex: none; width: 100%; }

  .ks-sdcont__wrap { padding: 80px 16px 120px; }
  .ks-sdcont__spacer { display: none; }
  .ks-sdcont__text { flex: 2 0 0; }

  .ks-sdmore { padding-bottom: 80px; }
  .ks-sdmore__wrap { padding: 0 16px; }

  .ks-blog--more .ks-posts > :nth-child(n+3) { display: flex; }
}
@media (min-width: 1200px), (max-width: 809.98px) {
  .ks-blog--more .ks-posts > :nth-child(n+4) { display: none; }
}

/* =================== Phone =================== */
@media (max-width: 809.98px) {
  .ks-svhero { height: 97vh; }
  .ks-svhero__dim { opacity: .42; }
  .ks-svhero__inner { padding: 140px 16px 20px; }
  .ks-svhero__intro { gap: 48px; }
  .ks-svhero__h1 { font-size: 68px; line-height: 81.6px; letter-spacing: -0.68px; }
  .ks-sdtitle__h1 { font-size: 46px; line-height: 50.6px; letter-spacing: -0.46px; }

  .ks-svover__wrap { padding: 0 16px 40px; }
  .ks-svover { padding-bottom: 80px; }
  .ks-svover__content { gap: 40px; }
  .ks-svover__intro { flex-direction: column; gap: 40px; padding-top: 20px; }
  .ks-svover__text { flex: none; width: 100%; }
  .ks-svover .ks-sidepic { flex: none; width: 100%; max-width: none; padding-top: 60px; }

  .ks-svlist__intro { gap: 68px; }
  .ks-svrow--main .ks-t-h1 { font-size: 32px; line-height: 38.4px; letter-spacing: -0.64px; }

  .ks-svq__content { padding-left: 18px; }
  .ks-svq__logo { width: 128.8px; height: 18px; }
  .ks-svq__text { max-width: 95%; }
  .ks-svq__stats { flex-direction: column; gap: 48px; }
  .ks-svq__stat { flex: none; width: 100%; }
  .ks-svq__stat + .ks-svq__stat { padding-left: 0; }
  .ks-svq__stat + .ks-svq__stat::after { display: none; }

  .ks-sdtitle__head { max-width: 512px; }
  .ks-sdcont__wrap { gap: 40px; }
  .ks-sdcont__intro p { max-width: none; }
  .ks-sdcont__main { flex-direction: column; gap: 40px; }
  .ks-sdcont__spacer { display: block; flex: 1 0 0; align-self: auto; width: 100%; max-width: 25%; height: 0; }
  .ks-sdcont__text { flex: none; width: 100%; }
  .ks-sdcont .ks-sidepic { flex: none; width: 100%; max-width: none; }
  .ks-sdcont .ks-sidepic__img { max-width: none; }

  .ks-sdmore__content { flex-direction: column; gap: 40px; }
  .ks-sdmore__title { flex: none; width: 100%; max-width: none; }
  .ks-sdmore__rows { flex: none; width: 100%; }

  .ks-blog--more .ks-blog__head { gap: 40px; max-width: 480px; }
}
@media (max-width: 809.98px) {
  .ks-sdtitle__row { align-items: center; }
  .ks-blog--more .ks-posts { grid-auto-rows: auto; }
}

/* ================= Über uns (ks-ab-) ================= */
.ks-ab-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 98px; padding: 160px 0 16px; overflow: hidden; background: var(--ks-night); }
.ks-ab-hero__trigger { position: absolute; top: 0; left: 0; width: 100%; height: 157px; pointer-events: none; }
.ks-ab-hero__wrap { width: 100%; max-width: 1600px; padding: 0 40px; position: relative; z-index: 1; }
.ks-ab-hero__head { display: flex; flex-direction: column; align-items: flex-start; gap: 68px; padding-bottom: 32px; }
.ks-ab-hero__label { max-width: 640px; width: 100%; color: var(--ks-pebble); }
.ks-ab-hero__h1 { max-width: 1000px; width: 100%; color: var(--ks-paper); font-family: var(--ks-serif); font-size: 68px; line-height: 81.6px; letter-spacing: -0.68px; }
.ks-ab-strip { display: flex; justify-content: center; align-items: center; gap: 16px; width: 200%; flex: none; overflow: clip; will-change: transform; }
.ks-ab-strip__item { flex: 1 0 0; min-width: 0; aspect-ratio: 1.77778 / 1; }

.ks-ab-over { display: flex; flex-direction: column; align-items: center; padding-top: 98px; background: var(--ks-paper); overflow: hidden; }
.ks-ab-over__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; width: 100%; max-width: 1600px; padding: 0 40px 112px; }
.ks-ab-intro { display: flex; align-items: flex-start; width: 100%; padding-top: 40px; overflow: hidden; }
.ks-ab-intro__text { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 60px; overflow: hidden; }
.ks-ab-intro__lead { width: 100%; color: var(--ks-ink); text-align: left; text-wrap: balance; }
.ks-ab-intro__p { max-width: 640px; width: 100%; color: var(--ks-umber); }
.ks-ab-intro__media { flex: 1 0 0; min-width: 0; max-width: 25%; display: flex; justify-content: flex-end; }
.ks-ab-intro__img { position: relative; flex: 1 0 0; min-width: 0; max-width: 75%; aspect-ratio: 0.8 / 1; overflow: hidden; }
.ks-ab-par { position: absolute; top: 0; left: 0; width: 100%; height: 110%; will-change: transform; }
.ks-ab-metrics { display: flex; justify-content: flex-start; align-items: flex-start; gap: 20px; width: 100%; padding: 60px 0; }
.ks-ab-metric { position: relative; flex: 1 0 0; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 30px; padding: 0 20px 10px; }
.ks-ab-metric::after { content: ""; position: absolute; inset: 0; border-left: 1px solid var(--ks-pebble); pointer-events: none; }
.ks-ab-metric__no { text-wrap: nowrap; flex: none; color: var(--ks-stone); }
.ks-ab-metric__body { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 114px; }
.ks-ab-metric__val { text-wrap: wrap; text-align: left; color: var(--ks-ink); font-family: var(--ks-serif); font-size: 106px; line-height: 137.8px; letter-spacing: -3.18px; }
.ks-ab-metric__val span, .ks-ab-metric__title .ks-words > span { display: inline-block; }
.ks-ab-metric__title { color: var(--ks-stone); }

.ks-ab-feat { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; height: 100vh; }
.ks-ab-feat__media { position: absolute; inset: 0; overflow: hidden; background: var(--ks-ink); }
.ks-ab-feat__dim { position: absolute; inset: 0; z-index: 1; background: #000; opacity: .25; }
.ks-ab-feat__box { position: relative; z-index: 2; flex: 1 0 0; display: flex; justify-content: center; align-items: center; width: 100%; padding: 48px 0; overflow: hidden; min-height: 0; }
.ks-ab-feat__content { flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; height: 100%; max-width: 1600px; padding: 0 40px; }
.ks-ab-feat__left { display: flex; width: 100%; }
.ks-ab-feat__h { flex: 1 0 0; max-width: 60%; color: var(--ks-paper); }
.ks-ab-feat__stats { display: flex; justify-content: flex-end; width: 100%; }
.ks-ab-feat__wrap { display: flex; flex-direction: column; gap: 10px; width: 50%; padding-left: 48px; overflow: hidden; color: var(--ks-paper); }
.ks-ab-feat__row { display: flex; justify-content: space-between; align-items: center; width: 100%; overflow: hidden; }
.ks-ab-feat__row:first-child { padding-right: 5px; }
.ks-ab-feat__row p { text-wrap: nowrap; }
.ks-ab-feat__row .ks-t-stat { text-align: left; }
.ks-ab-feat__div { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.1); }

.ks-ab-team { display: flex; flex-direction: column; align-items: center; padding: 98px 0 120px; background: var(--ks-paper); overflow: hidden; }
.ks-ab-team__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 98px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-ab-team__head { max-width: 640px; width: 100%; }
.ks-ab-team__head h2 { text-wrap: wrap; text-align: left; color: var(--ks-ink); }
.ks-ab-team__grid { display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); grid-auto-rows: min-content; gap: 80px 20px; width: 100%; }
.ks-ab-person { align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; overflow: hidden; }
.ks-ab-person__img { width: 100%; aspect-ratio: 0.8 / 1; overflow: hidden; }
.ks-ab-person__body { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; }
.ks-ab-person__who { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.ks-ab-person__name { text-wrap: wrap; font-family: var(--ks-serif); font-size: 16px; line-height: 22.4px; color: var(--ks-ink); }
.ks-ab-person__role { text-wrap: wrap; max-width: 80%; color: var(--ks-stone); }
.ks-ab-person__bio { max-width: 80%; width: 100%; color: var(--ks-stone); opacity: .8; }

.ks-ab-careers { display: flex; flex-direction: column; align-items: center; padding-bottom: 74px; background: var(--ks-ink); overflow: hidden; }
.ks-ab-careers__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 98px; width: 100%; max-width: 1600px; padding: 98px 40px 80px; }
.ks-ab-careers__head { display: flex; justify-content: center; align-items: flex-start; gap: 20px; width: 100%; padding-bottom: 40px; }
.ks-ab-careers__title { flex: 1 0 0; min-width: 0; max-width: 50%; }
.ks-ab-careers__title h2 { text-wrap: wrap; text-align: left; color: var(--ks-paper); }
.ks-ab-careers__intro { flex: 1 0 0; min-width: 0; }
.ks-ab-careers__intro p { max-width: 640px; color: var(--ks-paper); }
.ks-ab-jobs { display: flex; flex-direction: column; width: 100%; }
.ks-ab-job { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 24px 0; }
.ks-ab-job::after { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--ks-line-dark); pointer-events: none; }
.ks-ab-job__title { flex: 1 0 0; min-width: 50%; max-width: 50%; display: flex; }
.ks-ab-job__h { text-wrap: nowrap; font-size: 22px; line-height: 28.6px; font-weight: 500; letter-spacing: -0.22px; color: var(--ks-paper); }
.ks-ab-job__h a { color: inherit; text-decoration: none; }
.ks-ab-job__cell { flex: 1 0 0; min-width: 0; display: flex; }
.ks-ab-job__cell p { text-wrap: nowrap; color: var(--ks-paper); }
.ks-ab-job__btn { flex: 1 0 0; min-width: 0; display: flex; justify-content: flex-end; }

.ks-ab-blog { background: var(--ks-paper); }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  .ks-ab-hero { padding: 140px 16px 16px; }
  .ks-ab-hero__wrap { padding: 0 16px; }
  .ks-ab-hero__label { max-width: 480px; }
  .ks-ab-hero__h1 { font-size: 50px; line-height: 60px; letter-spacing: -0.5px; }
  .ks-ab-over__wrap { padding: 0 16px 112px; }
  .ks-ab-intro__text { flex: 2 0 0; }
  .ks-ab-intro__media { max-width: 20%; }
  .ks-ab-metrics { gap: 0; }
  .ks-ab-metric { gap: 20px; padding: 0 10px 0 30px; }
  .ks-ab-metric__val { font-size: 68px; line-height: 88.4px; letter-spacing: -2.04px; }
  .ks-ab-feat__box { padding: 48px 0 24px; }
  .ks-ab-feat__content { padding: 0 16px; }
  .ks-ab-feat__h { max-width: 80%; font-size: 42px; line-height: 50.4px; letter-spacing: -0.84px; }
  .ks-ab-team__wrap { padding: 0 16px; }
  .ks-ab-team__head { max-width: 480px; }
  .ks-ab-team__grid { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
  .ks-ab-careers__wrap { padding: 98px 16px 80px; }
}

/* ---------- Phone ---------- */
@media (max-width: 809.98px) {
  .ks-ab-hero { padding: 140px 0 16px; }
  .ks-ab-hero__h1 { font-size: 32px; line-height: 38.4px; letter-spacing: -0.64px; }
  .ks-ab-over__wrap { gap: 40px; }
  .ks-ab-intro { flex-direction: column; gap: 60px; padding-top: 0; }
  .ks-ab-intro__text { flex: none; width: 100%; }
  .ks-ab-intro__media { flex: none; width: 100%; max-width: none; }
  .ks-ab-intro__img { max-width: none; }
  .ks-ab-metrics { flex-direction: column; gap: 40px; }
  .ks-ab-metric { flex: none; width: 100%; }
  .ks-ab-feat__box { padding: 24px 0; }
  .ks-ab-feat__h { max-width: none; font-size: 32px; line-height: 38.4px; letter-spacing: -0.64px; }
  .ks-ab-feat__wrap { width: 100%; padding-left: 0; }
  .ks-ab-team__wrap { gap: 40px; }
  .ks-ab-team__grid { grid-template-columns: repeat(1, minmax(200px, 1fr)); gap: 60px 20px; }
  .ks-ab-careers__wrap { gap: 40px; }
  .ks-ab-careers__head { flex-direction: column; justify-content: center; gap: 41px; max-width: 480px; }
  .ks-ab-careers__title { flex: none; width: 100%; }
  .ks-ab-careers__intro { flex: none; width: 100%; }
  .ks-ab-job { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 18px; padding: 28px 0; }
  .ks-ab-job__title, .ks-ab-job__cell, .ks-ab-job__btn { flex: none; width: 100%; min-width: 0; max-width: none; justify-content: flex-start; }
  .ks-ab-job__h { text-wrap: balance; white-space: pre-wrap; }
  .ks-ab-blog .ks-blog__head { gap: 24px; }
}

/* ===== Einfache Seiten: Kontakt, Rechtliches, 404 ===== */
.ks-t-display { font-family: var(--ks-serif); font-size: 68px; line-height: 81.6px; letter-spacing: -0.68px; font-weight: 400; color: var(--ks-ink); }

/* Seitentitel (Kontakt) */
.ks-ptitle { display: flex; justify-content: center; padding: 180px 0 0; background: var(--ks-paper); }
.ks-ptitle__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-ptitle__wrap > * { width: 100%; text-wrap: wrap; text-align: left; }
.ks-contact__right, .ks-legal__head { text-align: left; }
.ks-ptitle__label { color: var(--ks-stone); }

/* Kontakt */
.ks-contact { display: flex; justify-content: center; padding: 80px 0 200px; background: var(--ks-paper); }
.ks-contact__wrap { display: flex; align-items: flex-start; gap: 80px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-contact__img { position: relative; flex: 1 0 0; width: 1px; aspect-ratio: 0.8 / 1; overflow: hidden; }
.ks-contact__img .ks-ph { position: absolute; inset: 0; }
.ks-contact__right { flex: 1 0 0; width: 1px; display: flex; flex-direction: column; align-items: flex-start; gap: 64px; overflow: hidden; }
.ks-contact__head { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 430px; }
.ks-contact__head > * { text-wrap: wrap; }
.ks-contact__head h2 { color: var(--ks-ink); }
.ks-contact__head p { color: var(--ks-umber); text-wrap: balance; }
.ks-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(50px, 1fr)); gap: 16px; width: 100%; }
.ks-ccard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 48px; padding: 32px; color: var(--ks-ink); align-self: start; }
.ks-ccard::after { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(22, 35, 27, 0.16); pointer-events: none; }
.ks-ccard--pin { grid-column: span 2; }
.ks-ccard__icon { display: block; width: 21px; height: 23px; }
.ks-ccard__text { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ks-ccard__text > * { width: 100%; text-wrap: wrap; }
.ks-ccard__text p { color: var(--ks-ink); transition: opacity .3s; }
.ks-ccard:hover .ks-ccard__text p { opacity: 0.7; }

/* Rechtliches */
.ks-legal { display: flex; justify-content: center; padding: 160px 0 200px; background: var(--ks-paper); }
.ks-legal__wrap { display: flex; align-items: flex-start; gap: 20px; width: 100%; max-width: 1600px; padding: 0 40px; }
.ks-legal__head { flex: 1 0 0; max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.ks-legal__head > * { text-wrap: wrap; }
.ks-legal__head h1 { color: var(--ks-ink); }
.ks-legal__date { color: var(--ks-stone); }
.ks-legal__body { flex: 1 0 0; padding-top: 15px; }
.ks-legaltext { font-size: 15px; line-height: 19.5px; color: var(--ks-umber); }
.ks-legaltext p, .ks-legaltext li { text-wrap: wrap; }
.ks-legaltext > * + * { margin-top: 22px; }
.ks-legaltext > p + ul { margin-top: 0; }
.ks-legaltext strong { font-weight: 700; }
.ks-legaltext ul { list-style: none; padding: 0; }
.ks-legaltext li { position: relative; padding-left: 18.9px; }
.ks-legaltext li::before { content: "•"; position: absolute; left: 0; top: 0; }

/* 404 */
.ks-404 { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 800px; padding: 120px 0; background: var(--ks-paper); overflow: hidden; }
.ks-404__wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 1600px; padding: 0 20px; }
.ks-404__head { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 640px; text-align: center; }
.ks-404__head > * { width: 100%; }
.ks-404__head h1 { color: var(--ks-stone); }
.ks-404__text { font-size: 19px; line-height: 24.7px; color: var(--ks-ink); }

@media (max-width: 1199.98px) {
  .ks-ptitle__wrap, .ks-contact__wrap, .ks-legal__wrap { padding: 0 16px; }
  .ks-contact { padding: 40px 0 200px; }
  .ks-contact__wrap { flex-direction: column; }
  .ks-contact__img, .ks-contact__right { flex: none; width: 100%; }
  .ks-contact__head { max-width: 360px; }
  .ks-legal__wrap { flex-direction: column; gap: 40px; }
  .ks-legal__head { flex: none; width: 100%; max-width: 480px; }
  .ks-legal__body { flex: none; width: 100%; max-width: 80%; }
}
@media (max-width: 809.98px) {
  .ks-ptitle { padding: 160px 0 20px; }
  .ks-ptitle__label { width: 212px; }
  .ks-contact { padding: 20px 0 200px; }
  .ks-contact__wrap { gap: 48px; }
  .ks-contact__right { gap: 48px; }
  .ks-contact__head { max-width: 480px; }
  .ks-contact__grid { grid-template-columns: repeat(1, minmax(50px, 1fr)); }
  .ks-ccard--pin { grid-column: auto; }
  .ks-legal { padding: 140px 0 200px; }
  .ks-legal__body { max-width: none; padding-top: 24px; }
}
