/* HT Consulting · the colours and type of the company profile: cream paper, deep green, the logo's teal.
   One easing and one rhythm for every move on the page. */
:root {
  --bg: #f7f7f5; --paper: #eef0ef; --beige: #e1e6e4;
  --ink: #141b1d; --ink-2: #3a4446; --muted: #5c6669; --line: rgb(20 27 29 / .12); --line-2: rgb(20 27 29 / .22);
  --green: #0d2a2e; --green-2: #16393e; --green-3: #091f22;
  --teal: #3aa98f; --teal-ink: #1d6f5f;
  --on-green: #f1f3f2; --on-green-2: rgb(241 243 242 / .72); --line-green: rgb(241 243 242 / .15);
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --slow: 1000ms; --mid: 700ms; --fast: 260ms;
  --wrap: 1280px; --gut: clamp(24px, 5.5vw, 80px); --nav: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: 2px; transition: top var(--fast) var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-6.start-7 { grid-column: 7 / span 6; } .col-5.start-8 { grid-column: 8 / span 5; }
@media (max-width: 1023px) { .grid > * { grid-column: 1 / -1 !important; } }

/* type */
h2 { font: 500 clamp(36px, 3.6vw, 54px)/1.06 var(--display); letter-spacing: -0.02em; margin-bottom: 24px; text-wrap: balance; }
h3 { font: 500 21px/1.3 var(--text); letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; margin-bottom: 18px; }
.eyebrow { font: 500 12px/1.4 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 18px; }
.eyebrow--light { color: var(--teal); }
p + p { margin-top: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 2px; border: 1px solid transparent; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--on-green); color: var(--green); }
.btn--light:hover { background: #fff; }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); background: rgb(247 247 245 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: transform 500ms var(--ease), border-color var(--mid) var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 6px 0; transition: color var(--fast) var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 44px; padding: 0 20px; font-size: 15px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 2px; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 400ms var(--ease), top 400ms var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: var(--nav) 0 0; background: var(--bg); }
.sheet__links { display: grid; padding-top: 24px; }
.sheet__links a { font: 500 32px/1.2 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (max-width: 1023px) { .nav__links, .nav__cta { display: none; } .nav__toggle { display: block; } }

/* sections */
.sec { padding: clamp(96px, 11vw, 160px) 0; }
.sec--paper { background: var(--paper); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(48px, 5vw, 72px); }
.head > :first-child { grid-column: 1 / span 6; }
.head__side { grid-column: 8 / span 5; color: var(--ink-2); padding-bottom: 30px; }
.head .tabs { grid-column: 7 / -1; justify-self: end; margin-bottom: 30px; }
@media (max-width: 1023px) { .head { display: block; } .head__side { padding-bottom: 0; } .head .tabs { margin: 24px 0 0; } }

/* reveal: one rise for every block on the page */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* duotone: the photographs in the brand's green */
.duo { position: relative; overflow: hidden; background: var(--green); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.02); mix-blend-mode: screen; opacity: .78; }
.band img { opacity: .6; filter: grayscale(1) contrast(1.25) brightness(.95); }
.duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(13 42 46 / 0) 40%, rgb(9 31 34 / .55)); pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 760px); padding-top: var(--nav); display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
.hero__panel { position: absolute; top: var(--nav); right: 0; bottom: 72px; width: 38vw; }
.hero__panel img { transform: scale(1.08); transition: transform 2400ms var(--ease); }
.is-loaded .hero__panel img { transform: none; }
.hero__inner { position: static; width: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; margin-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); margin-right: calc(38vw + 64px); padding: 44px 0 36px; }
.hero__copy { margin: auto 0; max-width: 780px; }
.hero__h1 { font: 500 clamp(40px, 4.3vw, 64px)/1.04 var(--display); letter-spacing: -0.025em; margin-bottom: 28px; }
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero__h1 .line > span { display: inline-block; }
.hero__lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 620px; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__mandate { position: absolute; z-index: 2; right: 40px; bottom: 112px; width: min(360px, 30vw); padding: 26px; background: rgb(9 31 34 / .84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--on-green); border-top: 2px solid var(--teal); }
.hero__mandate .eyebrow { margin-bottom: 10px; }
.hero__mandate-title { font: 500 25px/1.2 var(--display); margin-bottom: 18px; }
.hero__mandate-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-green); margin-bottom: 18px; }
.hero__mandate-facts dt { font: 500 30px/1 var(--display); margin-bottom: 6px; }
.hero__mandate-facts dd { font-size: 13px; line-height: 1.4; color: var(--on-green-2); }
.hero__mandate-link { font-size: 14px; font-weight: 500; color: var(--teal); text-decoration: none; }
.hero__mandate-link::after { content: " →"; display: inline-block; transition: transform var(--fast) var(--ease); }
.hero__mandate-link:hover::after { transform: translateX(3px); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); hyphens: manual; }
.facts > div { padding: 18px 20px 0 0; border-right: 1px solid var(--line); margin-right: 20px; }
.facts > div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font: 500 11px/1.4 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { font-size: 15px; line-height: 1.45; }

.clients { border-top: 1px solid var(--line); height: 72px; background: var(--bg); position: relative; z-index: 1; }
.clients__row { height: 100%; display: flex; align-items: center; gap: 28px; }
.clients__label { flex: none; font-size: 13px; color: var(--muted); }
.clients__marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.clients__track span { font: 500 22px/1 var(--display); color: var(--ink-2); white-space: nowrap; }
.clients.is-paused .clients__track { animation-play-state: paused; }
.clients__pause { flex: none; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; background: none; display: grid; place-items: center; cursor: pointer; }
.clients__pause svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.6; fill: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* the hero's entrance, once */
.js [data-enter] { opacity: 0; transform: translateY(18px); transition: opacity 1100ms var(--ease), transform 1100ms var(--ease); }
.js .hero__h1 [data-enter] { transform: translateY(105%); opacity: 1; }
.is-loaded [data-enter] { opacity: 1 !important; transform: none !important; }
.is-loaded [data-enter="1"] { transition-delay: 80ms; } .is-loaded [data-enter="2"] { transition-delay: 160ms; }
.is-loaded [data-enter="3"] { transition-delay: 260ms; } .is-loaded [data-enter="4"] { transition-delay: 420ms; }
.is-loaded [data-enter="5"] { transition-delay: 520ms; } .is-loaded [data-enter="6"] { transition-delay: 680ms; }
.is-loaded [data-enter="7"] { transition-delay: 820ms; }

@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero__panel { position: relative; top: auto; bottom: auto; width: 100%; height: 42vh; min-height: 280px; grid-row: 2; }
  .hero__inner { display: block; margin: 0 auto; width: min(100% - 2 * var(--gut), var(--wrap)); padding: 40px 0 40px; }
  .hero__copy { margin-bottom: 40px; }
  .hero__mandate { display: none; }
  .clients { grid-row: 3; }
}
@media (max-width: 639px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .facts > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .clients__label { display: none; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- unternehmen ---------- */
#unternehmen .col-6 p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 58ch; }
.stats { display: grid; gap: 28px; align-content: start; padding-top: 40px; }
.stat { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 18px; position: relative; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 1200ms var(--ease) calc(var(--d, 0ms) + 120ms); }
.stat.is-in::before { transform: none; }
.stat dt { font: 500 clamp(40px, 3.8vw, 56px)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: lining-nums; }
.stat dd { font-size: 14px; line-height: 1.45; color: var(--muted); }
.band { margin-top: clamp(64px, 7vw, 104px); height: clamp(320px, 38vw, 520px); }
.band img { position: absolute; inset: 0; transform: scale(1.06); transition: transform 2200ms var(--ease); }
.js .band[data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path 1400ms var(--ease); }
.band.is-in { clip-path: inset(0 0 0 0) !important; }
.band.is-in img { transform: none; }
.band__note { position: absolute; z-index: 1; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 48px); max-width: 520px; color: var(--on-green); font: 500 clamp(22px, 2vw, 28px)/1.3 var(--display); }
.band__note .eyebrow { display: block; margin-bottom: 12px; }
@media (max-width: 1023px) { .stats { padding-top: 32px; } }
@media (max-width: 639px) { .stat { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- leistungen ---------- */
.svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 28px 24px 30px; background: var(--bg); border-top: 2px solid var(--teal); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), opacity var(--slow) var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgb(13 42 46 / .35); }
.svc__fig { width: 100%; height: auto; aspect-ratio: 2 / 1; margin-bottom: 24px; }
.svc__num { font: 500 12px/1 var(--text); letter-spacing: .18em; color: var(--teal-ink); margin-bottom: 10px; }
.svc h3 { margin-bottom: 10px; }
.svc > p:not(.svc__num) { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin-bottom: 20px; }
.tags { margin-top: auto; border-top: 1px solid var(--line); }
.tags li { font-size: 14.5px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tags a { color: var(--teal-ink); font-weight: 500; text-decoration: none; }
.tags a::after { content: " →"; }
@media (max-width: 1100px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .svcs { grid-template-columns: 1fr; } }

/* the four small figures: each draws what the field does, once in view and again on hover */
.svc__fig * { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.fig-docs rect { stroke: var(--line-2); }
.fig-docs .bar { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; }
.fig-docs .tick { stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-play .fig-docs .bar { animation: draw 900ms var(--ease) forwards; }
.is-play .fig-docs .b2 { animation-delay: 300ms; } .is-play .fig-docs .b3 { animation-delay: 600ms; }
.is-play .fig-docs .tick { animation: draw 500ms var(--ease) forwards; }
.is-play .fig-docs .t1 { animation-delay: 800ms; } .is-play .fig-docs .t2 { animation-delay: 1100ms; } .is-play .fig-docs .t3 { animation-delay: 1400ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fig-ma .ma-a { fill: var(--ink); stroke: none; }
.fig-ma .ma-b { fill: var(--beige); stroke: var(--line-2); }
.fig-ma .ma-c { fill: var(--teal); stroke: none; transform-box: fill-box; }
.fig-ma .ma-line { stroke: var(--line-2); }
.is-play .fig-ma .ma-b { animation: ma-b 2400ms var(--ease) forwards; }
.is-play .fig-ma .ma-c { animation: ma-c 2400ms var(--ease) forwards; }
@keyframes ma-b { 0% { transform: translateX(0); } 45%, 100% { transform: translateX(-32px); } }
@keyframes ma-c { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: 1; transform: translate(0, 0); } 45% { transform: translate(-32px, 0); } 100% { transform: translate(-32px, 32px); } }
.fig-gantt .g-axis { stroke: var(--line-2); }
.fig-gantt .g { fill: var(--ink); stroke: none; transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.fig-gantt .g3 { fill: var(--teal); }
.fig-gantt .g-mile { fill: var(--teal); stroke: none; opacity: 0; }
.is-play .fig-gantt .g { animation: grow 900ms var(--ease) forwards; }
.is-play .fig-gantt .g2 { animation-delay: 220ms; } .is-play .fig-gantt .g3 { animation-delay: 440ms; } .is-play .fig-gantt .g4 { animation-delay: 660ms; }
.is-play .fig-gantt .g-mile { animation: fade 500ms var(--ease) 1300ms forwards; }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
.fig-flow .f-path { stroke: var(--line-2); stroke-dasharray: 4 5; }
.fig-flow .f-node { fill: var(--bg); stroke: var(--ink); }
.fig-flow circle.f-node:nth-of-type(2) { fill: var(--ink); }
.fig-flow .f-dot { fill: var(--teal); stroke: none; offset-path: path("M30 60 H108 C128 60 128 32 166 32"); offset-distance: 0%; opacity: 0; }
.is-play .fig-flow .f-dot { animation: travel 2200ms var(--ease) forwards; }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 100% { offset-distance: 100%; opacity: 1; } }

/* ---------- vorgehen ---------- */
.proc { position: relative; background: var(--green); color: var(--on-green); height: calc(100svh + 3 * 70svh); }
.proc__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.proc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-top: var(--nav); }
.proc h2 { color: var(--on-green); margin-bottom: 36px; }
.steps { border-top: 1px solid var(--line-green); }
.step { border-bottom: 1px solid var(--line-green); }
.step__head { all: unset; box-sizing: border-box; width: 100%; display: flex; gap: 20px; align-items: baseline; padding: 18px 0; cursor: pointer; }
.step__head:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.step__num { font: 500 22px/1 var(--display); color: var(--on-green-2); transition: color var(--mid) var(--ease); font-variant-numeric: lining-nums tabular-nums; }
.step__title { font: 500 19px/1.3 var(--text); color: var(--on-green-2); transition: color var(--mid) var(--ease); }
.step.is-active .step__num { color: var(--teal); }
.step.is-active .step__title { color: var(--on-green); }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--ease); }
.step__body > * { overflow: hidden; }
.step.is-active .step__body { grid-template-rows: 1fr; }
.step__body { padding-left: 46px; }
.step__body p { color: var(--on-green-2); font-size: 16px; line-height: 1.6; }
.step__inner { min-height: 0; }
.step__ex { color: var(--teal) !important; font-size: 14px !important; padding: 10px 0 20px; }
.step__still { display: none; }
.proc__progress { height: 2px; background: var(--line-green); margin-top: 28px; }
.proc__progress span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--p, 0)); }
.model { --stage-bg: #0d2a2e; position: relative; height: min(72svh, 640px); }
.model canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 800ms var(--ease); }
.model.is-live canvas { opacity: 1; }
.model__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.model.is-live .model__still { opacity: 0; }
.model__labels { position: absolute; inset: 0; pointer-events: none; }
.model__label { position: absolute; left: 0; top: 0; font: 500 13px/1.2 var(--text); color: var(--on-green); white-space: nowrap; padding: 6px 10px; background: rgb(9 31 34 / .78); border: 1px solid var(--line-green); border-radius: 2px;
  translate: -50% calc(-100% - 14px); opacity: 0; transition: opacity 500ms var(--ease); }
.model__label::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--on-green-2); }
.model__label--accent { color: var(--green-3); background: var(--teal); border-color: var(--teal); }
.model__label--accent::after { background: var(--teal); }
.model__label.is-on { opacity: 1; }
/* the step bodies are p tags directly; wrap them so the row can collapse */
@media (max-width: 1023px) {
  .proc { height: auto; padding: 96px 0; }
  .proc__sticky { position: static; height: auto; display: block; }
  .proc__grid { display: block; padding-top: 0; }
  .model, .proc__progress { display: none; }
  .step__body { grid-template-rows: 1fr; padding-left: 0; }
  .step__num, .step__title { color: var(--on-green); }
  .step__num { color: var(--teal); }
  .step__still { display: block; width: 100%; height: auto; margin-bottom: 24px; border-radius: 2px; }
}

/* ---------- fallstudien ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 2px; }
.tabs button { border: 0; background: none; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 2px; cursor: pointer; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.tabs button[aria-selected="true"] { background: var(--green); color: var(--on-green); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: var(--beige); }
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); }
.case[hidden] { display: none; }
.case.is-on > * { animation: caseIn 800ms var(--ease) both; }
.case.is-on > :nth-child(2) { animation-delay: 120ms; }
@keyframes caseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.case__title { font: 500 clamp(28px, 2.6vw, 38px)/1.12 var(--display); letter-spacing: -0.015em; margin-bottom: 12px; }
.case__who { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.case__text > p:not(.case__who):not(.case__result) { color: var(--ink-2); margin-bottom: 24px; }
.list { display: grid; gap: 12px; margin-bottom: 24px; }
.list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--teal); }
.case__result { color: var(--teal-ink); font-weight: 500; }
.fig__label { font: 500 11px/1.4 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid var(--teal); margin-bottom: 20px; }
.ws { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; height: 40px; margin-bottom: 16px; }
.ws i, .legend i { display: block; background: var(--beige); transform-origin: bottom; }
.ws i { transform: scaleY(0); transition: transform 700ms var(--ease) calc(var(--i, 0) * 50ms); }
.case.is-on .ws.is-in i { transform: none; }
.ws .ws--full, .legend .ws--full { background: var(--green); }
.ws .ws--part, .legend .ws--part { background: #7fd3bd; }
.legend { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 12px; height: 12px; flex: none; }
.legend b { font-weight: 500; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 20px; }
.kpis > div { border-top: 2px solid var(--teal); padding-top: 12px; }
.kpis dt { font: 500 34px/1 var(--display); margin-bottom: 8px; font-variant-numeric: lining-nums; white-space: nowrap; }
.kpis dd { font-size: 13px; line-height: 1.4; color: var(--muted); }
.levels { display: grid; gap: 6px; margin-bottom: 28px; }
.levels div { width: var(--w); background: var(--green); color: var(--on-green); padding: 12px 16px; display: grid; transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease); }
.levels div:nth-child(2) { transition-delay: 120ms; } .levels div:nth-child(3) { transition-delay: 240ms; }
.case.is-on .levels.is-in div { transform: none; }
.levels b { font-weight: 500; font-size: 15px; } .levels span { font-size: 12.5px; color: var(--on-green-2); }
.flow { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 12px; align-items: stretch; margin-bottom: 28px; }
.flow__end { background: var(--beige); padding: 16px; display: flex; flex-direction: column; justify-content: center; font-size: 15px; line-height: 1.3; }
.flow__end small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.flow__end--to { background: var(--green); color: var(--on-green); }
.flow__end--to small { color: var(--teal); }
.flow__mid { display: grid; gap: 4px; }
.flow__mid li { border: 1px solid var(--line-2); border-left: 2px solid var(--teal); padding: 7px 10px; font-size: 13.5px; opacity: 0; transform: translateX(-10px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.flow__mid li:nth-child(2) { transition-delay: 100ms; } .flow__mid li:nth-child(3) { transition-delay: 200ms; } .flow__mid li:nth-child(4) { transition-delay: 300ms; }
.case.is-on .flow.is-in li { opacity: 1; transform: none; }
@media (max-width: 1023px) { .case { grid-template-columns: 1fr; } }

/* ---------- referenzen: the drum ---------- */
.refs { padding-top: clamp(96px, 11vw, 160px); background: var(--bg); }
.refs__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.refs__head > :first-child { grid-column: 1 / span 6; }
.refs__head .head__side { grid-column: 8 / span 5; }
.refs__track { position: relative; height: calc(100svh + 15 * 13svh); }
.refs__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.refs__stage { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: 32px; align-items: center; height: 100%; padding-top: var(--nav); }
.refs__meta { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.refs__count { font-weight: 500; color: var(--ink); }
.refs__list { position: relative; height: 100%; perspective: 1200px; mask-image: linear-gradient(180deg, transparent 6%, #000 30%, #000 70%, transparent 94%); -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 30%, #000 70%, transparent 94%); }
.ref { position: absolute; left: 0; right: 0; top: 50%; text-align: center; will-change: transform, opacity; transform-origin: 50% 50%; }
.ref button { all: unset; cursor: pointer; display: block; width: 100%; }
.ref button:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.ref__title { display: block; font: 500 clamp(26px, 3.1vw, 48px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; transition: color 500ms var(--ease); }
.ref.is-active .ref__title { color: var(--teal-ink); }
.ref__more { display: none; }
.refs__desc { font-size: 15px; line-height: 1.55; color: var(--ink-2); min-height: 9em; }
.refs__desc .ref__client { font: 500 24px/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.refs__desc .ref__period { display: none; }
.refs__desc > * { animation: descIn 600ms var(--ease) both; }
@keyframes descIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .refs { padding-bottom: 96px; }
  .refs__head { display: block; }
  .refs__track { height: auto; margin-top: 40px; }
  .refs__sticky { position: static; height: auto; display: block; overflow: visible; }
  .refs__stage { display: block; height: auto; padding-top: 0; }
  .refs__meta, .refs__desc { display: none; }
  .refs__list { height: auto; mask-image: none; -webkit-mask-image: none; perspective: none; border-top: 1px solid var(--line); }
  .ref { position: static; text-align: left; transform: none !important; opacity: 1 !important; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .ref__title { font-size: 26px; }
  .ref__more { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
  .ref__client { font-weight: 500; color: var(--ink); }
  .ref__period { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
}

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person__img { overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; margin-bottom: 20px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 900ms var(--ease); }
.person:hover .person__img img { transform: scale(1.035); }
.person__role { font: 500 11px/1.45 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; min-height: 2.9em; }
.person h3 { font: 500 28px/1.15 var(--display); letter-spacing: -0.01em; margin-bottom: 12px; }
.person__bio { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; min-height: 4.65em; }
.person__list { border-top: 1px solid var(--line); }
.person__list li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.career { margin-top: clamp(56px, 6vw, 88px); display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 32px 0 0; border-top: 1px solid var(--line-2); }
.career .eyebrow { margin-bottom: 8px; }
.career__text { font: 500 clamp(20px, 1.8vw, 24px)/1.35 var(--display); max-width: 760px; }
@media (max-width: 1023px) { .people { grid-template-columns: 1fr 1fr; row-gap: 48px; } .career { flex-direction: column; align-items: flex-start; } }
@media (max-width: 639px) { .people { grid-template-columns: 1fr; } .person__role, .person__bio { min-height: 0; } }

/* ---------- kontakt ---------- */
.contact { background: var(--green); color: var(--on-green); padding: clamp(96px, 11vw, 160px) 0; }
.contact h2 { color: var(--on-green); }
.contact .col-5 > p:not(.eyebrow) { color: var(--on-green-2); margin-bottom: 36px; }
.contact__list { display: grid; gap: 22px; }
.contact__list > div { border-top: 1px solid var(--line-green); padding-top: 14px; }
.contact__list dt { font: 500 11px/1.4 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.contact__list dd { font-size: 16px; line-height: 1.6; }
.contact__list a { color: var(--on-green); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-green); transition: text-decoration-color var(--fast) var(--ease); }
.contact__list a:hover { text-decoration-color: var(--teal); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(28px, 3vw, 44px); background: rgb(255 255 255 / .045); border: 1px solid var(--line-green); border-top: 2px solid var(--teal); }
.field { display: grid; gap: 8px; }
.field--wide, .form__foot { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--on-green); background: rgb(0 0 0 / .14); border: 1px solid var(--line-green); border-radius: 2px; padding: 13px 14px; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: rgb(255 255 255 / .08); }
.field [aria-invalid="true"] { border-color: #f2a594; }
.field__err { font-size: 13.5px; color: #f6bcae; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: 15px; color: var(--on-green); }
@media (max-width: 1023px) { .form { margin-top: 48px; } }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; justify-content: center; } }

/* ---------- footer ---------- */
.foot { background: var(--green-3); color: var(--on-green-2); padding: 72px 0 40px; font-size: 15px; }
.foot__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-green); }
.foot__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.foot__lede { margin-top: 18px; max-width: 340px; font: 500 20px/1.35 var(--display); color: var(--on-green); }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 64px; }
.foot__cols h3 { font: 500 11px/1.4 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.foot__cols a { display: block; text-decoration: none; padding: 4px 0; color: var(--on-green-2); transition: color var(--fast) var(--ease); }
.foot__cols a:hover { color: var(--on-green); }
.foot__legal { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; }
.foot__legal span { margin-right: auto; }
.foot__legal a { text-decoration: none; color: var(--on-green-2); }
.foot__legal a:hover { color: var(--on-green); }
@media (max-width: 639px) { .foot__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .clients__track { animation: none; }
}
@media (max-width: 1023px) {
  .hero__h1 .line { display: inline; overflow: visible; }
  .js .hero__h1 [data-enter] { transform: translateY(18px); opacity: 0; }
  .hero__h1 { font-size: clamp(36px, 8.6vw, 52px); }
}

/* ===== v4: the brief's content in this design ===== */
.hero__h1 { margin-bottom: 18px; }
.hero__sub { font: 500 clamp(22px, 2vw, 30px)/1.25 var(--display); letter-spacing: -0.012em; color: var(--teal-ink); margin-bottom: 26px; max-width: 640px; }
.hero__facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color var(--fast) var(--ease); }
.hero__facts dd a:hover { text-decoration-color: var(--teal-ink); }
.clients__label { font: 500 17px/1.2 var(--display); color: var(--ink); }
.clients__track span { font-size: 20px; }
.clients__track span::after { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--teal); transform: rotate(45deg); margin-left: 56px; vertical-align: middle; }
.clients__track { gap: 48px; }
#position .col-6 p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 58ch; margin-top: 16px; }
#position .lead { color: var(--ink); }

/* topic cards: problem first, one call each */
.svc__num { letter-spacing: .16em; text-transform: uppercase; }
.svc__problem { font: 500 19px/1.4 var(--display) !important; color: var(--ink) !important; margin-bottom: 14px !important; }
.svc__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--green); text-decoration: none; padding-top: 18px; border-top: 1px solid var(--line); }
.svc__cta:hover { color: var(--teal-ink); }
.svc { background: var(--white, #fff); }

/* so arbeiten wir */
.work { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.work .lead { margin-bottom: 32px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.roles > div { border-top: 2px solid var(--teal); padding-top: 14px; }
.roles dt { font: 500 26px/1.1 var(--display); margin-bottom: 8px; }
.roles dd { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.net svg { width: 100%; height: auto; overflow: visible; }
.net__lines path { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 4 6; fill: none; opacity: 0; transition: opacity 900ms var(--ease); }
.net__outer circle { fill: #fff; stroke: var(--line-2); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 700ms var(--ease), fill var(--fast) var(--ease); }
.net__core { fill: var(--green); }
.net__link { stroke: var(--teal); stroke-width: 3; }
.net.is-in .net__lines path { opacity: 1; transition-delay: 300ms; }
.net.is-in .net__outer circle { transform: none; }
.net.is-in .net__outer circle:nth-child(2) { transition-delay: 120ms; } .net.is-in .net__outer circle:nth-child(3) { transition-delay: 240ms; }
.net.is-in .net__outer circle:nth-child(4) { transition-delay: 360ms; } .net.is-in .net__outer circle:nth-child(5) { transition-delay: 480ms; }
.net.is-in .net__outer circle:nth-child(6) { transition-delay: 600ms; } .net.is-in .net__outer circle:nth-child(7) { transition-delay: 720ms; }
.net.is-in .net__outer circle:nth-child(8) { transition-delay: 840ms; }
.net:hover .net__outer circle { fill: var(--paper); }
.net__legend { display: flex; gap: 24px; justify-content: center; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.net__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.k-core { background: var(--green); } .k-net { background: #fff; border: 1px solid var(--line-2); }
.notlist { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(56px, 6vw, 88px); padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 16px; }
.notlist b { font: 500 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.notlist span { text-decoration: line-through; text-decoration-color: var(--teal); text-decoration-thickness: 2px; color: var(--ink-2); }
@media (max-width: 1023px) { .work { grid-template-columns: 1fr; } .net { max-width: 460px; } }
@media (max-width: 639px) { .roles { grid-template-columns: 1fr; } }

/* the drum: heading inside the stage, no gap before it */
.refs { padding-top: 0; background: var(--paper); }
.refs__track { height: calc(100svh + 5 * 16svh); }
.refs__stage { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 40px; }
.refs__side h2 { font-size: clamp(30px, 2.6vw, 40px); margin-bottom: 14px; }
.refs__note { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.ref__title { font-size: clamp(26px, 2.7vw, 42px); }
.refs__desc .ref__tagline { font-size: 13px; font-weight: 500; color: var(--teal-ink); margin-bottom: 10px; }
@media (max-width: 1023px) {
  .refs { padding: 96px 0; }
  .refs__track { height: auto; margin-top: 0; }
  .refs__list { margin-top: 32px; }
  .ref__tagline { font-size: 13px; font-weight: 500; color: var(--teal-ink); margin-bottom: 6px; }
}

/* ki teaser */
.ki { background: var(--green-3); color: var(--on-green); padding: clamp(80px, 8vw, 120px) 0; }
.ki__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 80px; align-items: end; }
.ki h2 { color: var(--on-green); margin: 0; }
.ki p:not(.eyebrow) { color: var(--on-green-2); margin-bottom: 28px; }
@media (max-width: 1023px) { .ki__grid { grid-template-columns: 1fr; } }

/* contact: one appointment per topic */
.slots { border-top: 1px solid var(--line-green); margin-bottom: 32px; }
.slots a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 4px; border-bottom: 1px solid var(--line-green); text-decoration: none; color: var(--on-green); font: 500 21px/1.25 var(--display); transition: color var(--fast) var(--ease), background var(--fast) var(--ease), padding var(--mid) var(--ease); }
.slots a:hover { color: var(--teal); background: rgb(255 255 255 / .05); padding-left: 16px; padding-right: 16px; }
.contact__addr { font-size: 14.5px; color: var(--on-green-2); line-height: 1.7; }
.contact__addr a { color: var(--on-green); }
.form__title { grid-column: 1 / -1; font: 500 26px/1.2 var(--display); }
.field select { font: inherit; font-size: 16px; color: var(--on-green); background: rgb(0 0 0 / .14); border: 1px solid var(--line-green); border-radius: 2px; padding: 13px 14px; }
.field select option { color: #18221f; }
/* the ki teaser stands on the light ground, so the dark contact keeps its weight */
.ki { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.ki h2 { color: var(--ink); }
.ki p:not(.eyebrow) { color: var(--ink-2); }
.ki .eyebrow--light { color: var(--teal-ink); }
.ki .btn--light { background: var(--green); color: var(--on-green); }
.ki .btn--light:hover { background: var(--green-2); }

/* ===== v5: Modern Swiss Corporate Sans (Inter Tight + Inter), the hero reworked ===== */
body { font-size: 16.5px; line-height: 1.62; font-feature-settings: "cv11", "ss03"; letter-spacing: -0.003em; }
h2 { font-weight: 600; letter-spacing: -0.032em; line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.eyebrow, .facts dt, .svc__num, .fig__label, .contact__list dt, .foot__cols h3 { font-weight: 600; letter-spacing: .14em; font-size: 11.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { letter-spacing: -0.01em; }

/* hero: the photo runs to the bottom, two doors lie on it */
.hero { grid-template-rows: 1fr; min-height: max(100svh, 720px); }
.hero__panel { bottom: 0; width: 40vw; }
.hero__inner { margin-right: calc(40vw + 64px); padding: 56px 0 44px; }
.hero__h1 { font: 600 clamp(44px, 5vw, 80px)/0.98 var(--display); letter-spacing: -0.042em; margin-bottom: 22px; }
.hero__sub { font: 500 clamp(22px, 1.9vw, 30px)/1.2 var(--display); letter-spacing: -0.022em; color: var(--teal-ink); margin-bottom: 28px; max-width: 560px; }
.hero__lead { font-size: clamp(17px, 1.25vw, 19px); max-width: 560px; }
.hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__doors { position: absolute; z-index: 2; right: 40px; bottom: 40px; width: min(420px, calc(40vw - 80px)); display: grid; gap: 2px; }
.door { position: relative; display: grid; gap: 8px; padding: 22px 56px 22px 24px; background: rgb(9 31 34 / .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-green); text-decoration: none; transition: background var(--fast) var(--ease); }
.door:first-child { border-top: 2px solid var(--teal); }
.door:hover { background: rgb(9 31 34 / .94); }
.door__tag { font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.door__title { font: 600 clamp(24px, 2vw, 30px)/1 var(--display); letter-spacing: -0.03em; }
.door__topics { font-size: 14px; line-height: 1.45; color: var(--on-green-2); transition: color var(--fast) var(--ease); }
.door:hover .door__topics { color: var(--on-green); }
.door__arrow { position: absolute; right: 22px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--on-green); stroke-width: 1.5; transition: transform var(--fast) var(--ease); }
.door:hover .door__arrow { transform: translateX(4px); }
.ruler { position: relative; display: block; height: 20px; --ticks: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px); color: var(--on-green); margin: 2px 0; }
.ruler::before { content: ""; position: absolute; left: 0; right: 74px; top: 5px; height: 9px; background: var(--ticks); opacity: .3; }
.ruler__fill { position: absolute; left: 0; top: 5px; height: 9px; width: calc(100% - 74px); background: var(--ticks); color: var(--teal); clip-path: inset(0 100% 0 0); }
.ruler__mark { position: absolute; right: 0; top: 0; font: 600 10.5px/20px var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); padding-left: 15px; }
.ruler__mark::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
.is-loaded .door .ruler__fill { animation: tick 2200ms var(--ease) 900ms forwards; }
.is-loaded .door + .door .ruler__fill { animation-delay: 1200ms; }
.door:hover .ruler__fill { animation: retick 1300ms var(--ease) forwards; }
@keyframes tick { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 26% 0 0); } }
@keyframes retick { from { clip-path: inset(0 80% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 1023px) {
  .hero__panel { width: 100%; height: auto; min-height: 0; position: relative; grid-row: 2; }
  .hero__panel img { position: absolute; inset: 0; }
  .hero__inner { margin: 0 auto; }
  .hero__doors { position: relative; right: auto; bottom: auto; width: auto; grid-row: 2; padding: 40vw var(--gut) var(--gut); }
  .hero__panel { grid-row: 2; grid-column: 1; }
  .hero__doors { grid-column: 1; }
}
@media (max-width: 639px) { .hero__facts { grid-template-columns: 1fr; row-gap: 14px; } .hero__facts > div { border-right: 0; margin-right: 0; } }

/* the topics as one slow band before the contact */
.ticker { position: relative; height: auto; display: flex; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.ticker .clients__marquee { flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .clients__track { gap: 64px; animation-duration: 70s; }
.ticker .clients__track span { font: 600 clamp(34px, 4.4vw, 64px)/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.ticker .clients__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.ticker .clients__track span::after { margin-left: 64px; width: 10px; height: 10px; }
.ticker .clients__pause { position: absolute; right: var(--gut); bottom: 10px; width: 32px; height: 32px; background: var(--bg); }

/* finishing: numbers, cards, drum, lines */
.stat dt, .kpis dt { font-weight: 600; letter-spacing: -0.04em; font-feature-settings: "tnum"; }
.svc { border-top-width: 3px; }
.svc h3 { font-size: 20px; }
.svc__problem { font: 500 17.5px/1.45 var(--display) !important; letter-spacing: -0.012em; }
.ref__title { font-weight: 600 !important; letter-spacing: -0.035em !important; }
.step__title { font-weight: 600; }
.step__num { font-weight: 600; font-feature-settings: "tnum"; }
.roles dt, .slots a, .form__title, .foot__lede { font-weight: 600; letter-spacing: -0.025em; }
.band__note { font-weight: 500; letter-spacing: -0.02em; }
.model__label { font-weight: 600; letter-spacing: -0.005em; }
.nav__links a { font-weight: 500; letter-spacing: -0.005em; }
.btn { font-weight: 600; letter-spacing: -0.005em; border-radius: 0; }
.hero__h1 { font-size: clamp(40px, 4.25vw, 66px); letter-spacing: -0.034em; line-height: 1.0; }
@media (max-width: 1023px) {
  .hero__h1 { font-size: clamp(30px, 8.2vw, 48px); letter-spacing: -0.03em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .hero__h1 .line { display: inline; overflow: visible; }
  .js .hero__h1 [data-enter] { transform: translateY(18px); opacity: 0; }
}
/* topic band: whole words, soft edges, the pause button in its own column */
.ticker { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 26px max(var(--gut), calc((100vw - var(--wrap)) / 2)); border-bottom: 1px solid var(--line); }
.ticker::before { content: "Themen"; font: 600 11.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.ticker .clients__marquee { mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); padding: 6px 0; }
.ticker .clients__track { gap: 44px; animation-duration: 60s; }
.ticker .clients__track span { font: 600 clamp(24px, 2.4vw, 36px)/1.15 var(--display); letter-spacing: -0.03em; }
.ticker .clients__track span:nth-child(even) { -webkit-text-stroke: 0; color: var(--muted); }
.ticker .clients__track span::after { margin-left: 44px; width: 8px; height: 8px; }
.ticker .clients__pause { position: static; width: 36px; height: 36px; }
@media (max-width: 639px) { .ticker::before { display: none; } .ticker { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; } }
/* the topic row replaces the marquee: every word whole, a highlight steps through them */
.ticker::before { content: none; }
.ticker { grid-template-columns: minmax(0, 1fr) auto; padding-top: 30px; padding-bottom: 30px; }
.topics-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.topics-row li { display: flex; align-items: center; }
.topics-row li + li::before { content: ""; width: 7px; height: 7px; margin: 0 22px; background: var(--teal); transform: rotate(45deg); flex: none; }
.topics-row a { position: relative; font: 600 clamp(20px, 1.9vw, 28px)/1.2 var(--display); letter-spacing: -0.025em; color: var(--muted); text-decoration: none; transition: color 600ms var(--ease); }
.topics-row a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease); }
.topics-row a.is-on, .topics-row a:hover { color: var(--ink); }
.topics-row a.is-on::after, .topics-row a:hover::after { transform: none; }
@media (max-width: 639px) { .topics-row li + li::before { margin: 0 12px; } .topics-row a { font-size: 19px; } }
.topics-row a { font-size: clamp(18px, 1.55vw, 24px); }
.topics-row li + li::before { margin: 0 18px; }
/* marquee back, smaller type */
.ticker { grid-template-columns: auto minmax(0, 1fr) auto; }
.ticker::before { content: "Themen"; font: 600 11.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.ticker .clients__track span { font-size: clamp(18px, 1.6vw, 24px); }
.ticker .clients__track { gap: 36px; }
.ticker .clients__track span::after { margin-left: 36px; }
@media (max-width: 639px) { .ticker::before { content: none; } .ticker { grid-template-columns: minmax(0, 1fr) auto; } }
/* the band now names the houses we have worked for */
.ticker::before { content: "Referenzen"; }
@media (max-width: 639px) { .ticker::before { content: none; } }
.net__link { fill: none; }
