@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--ink:#171914;--paper:#f5f4ef;--line:#cccdc3;--accent:#d9ed64;--muted:#54564d;--mono:'IBM Plex Mono',monospace}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Inter,Arial,sans-serif}a{color:inherit}a:focus-visible{outline:3px solid #657200;outline-offset:5px}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:1rem;z-index:4}.skip:focus{top:1rem}.wrap{width:min(1280px,calc(100% - 96px));margin-inline:auto}.bar{border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:75px;gap:18px}.nav div{display:flex;gap:clamp(15px,4vw,50px)}.nav a{text-decoration:none}.nav a:hover{text-decoration:underline}.wordmark{font:700 15px Inter,Arial,sans-serif;letter-spacing:.10em;white-space:nowrap}.wordmark span{color:#667300}.label{font:500 12px/1.45 var(--mono);letter-spacing:.07em;text-transform:uppercase;margin:0}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#697600;margin-right:9px}.hero{padding:clamp(55px,8vw,125px) 0 65px}.hero h1,.case-intro h1{font-size:clamp(49px,9vw,132px);font-weight:700;line-height:.96;letter-spacing:-.083em;margin:25px 0 34px}.hero em{font-style:normal;color:#52574a}.hero-end{display:flex;justify-content:space-between;align-items:end;gap:22px}.hero-end p{font-size:clamp(17px,2vw,23px);max-width:475px;margin:0}.pill{display:inline-flex;align-items:center;gap:20px;background:var(--accent);text-decoration:none;padding:12px 19px;white-space:nowrap;font-weight:600}.pill:hover{background:#c8df43}.section-head{border-top:1px solid var(--ink);display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:18px 0 25px}.section-head h2{font-size:clamp(25px,3.4vw,47px);letter-spacing:-.055em;margin:0;line-height:1.1}.grid{display:grid;grid-template-columns:1fr 1fr;gap:44px 22px}.card a{display:block;text-decoration:none}.card img,.case-cover img,.gallery img{display:block;width:100%;background:#e5e5da}.card img{aspect-ratio:1.55;object-fit:cover}.card-copy{padding:16px 0 0;display:flex;justify-content:space-between;gap:10px}.card h3{font-size:clamp(27px,3vw,49px);letter-spacing:-.058em;line-height:1.02;margin:7px 0}.card p:not(.label){margin:7px 0}.fact{color:var(--muted);font:13px/1.5 var(--mono)}.arrow{width:45px;height:45px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:22px;flex:none}.card a:hover .arrow{background:var(--accent);border-color:var(--accent)}.more{margin-top:66px}.profile{margin-block:85px;display:grid;grid-template-columns:1fr 2fr;gap:28px;border-top:1px solid var(--ink);padding-top:25px}.profile h2,.contact h2{font-size:clamp(39px,6.5vw,92px);line-height:1;letter-spacing:-.073em;margin:0 0 18px}.profile p:not(.label){font-size:18px;max-width:630px}.contact{background:var(--accent);padding:55px 0}.contact h2{margin-top:16px}.contact-links{display:flex;gap:30px}.footer{display:flex;justify-content:space-between;padding:24px 0;font:12px var(--mono)}.case-intro{padding-top:32px}.back{display:inline-block;margin-bottom:55px}.case-intro h1{font-size:clamp(48px,8vw,106px);overflow-wrap:anywhere}.lede{font-size:clamp(20px,3vw,37px);letter-spacing:-.04em}.meta{display:flex;flex-wrap:wrap;gap:18px 50px;border-top:1px solid var(--line);padding-top:16px;margin-bottom:29px}.meta dt{font:12px var(--mono);color:var(--muted)}.meta dd{margin:6px 0 0}.case-cover{margin-top:0;margin-bottom:52px}.case-cover img{max-height:610px;object-fit:cover}.narrative section{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 2fr;gap:20px;padding:21px 0}.narrative h2{margin:0;font-size:clamp(22px,3vw,38px);letter-spacing:-.05em}.narrative p{margin:0;max-width:670px;font-size:18px}.evidence{background:var(--accent);padding:24px;margin-block:28px}.evidence strong{font-size:36px;letter-spacing:-.05em}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-block:38px}.gallery figure{margin:0}.gallery img{aspect-ratio:1.55;object-fit:contain}.gallery figcaption{font:13px var(--mono);padding-top:9px}.next{border-top:1px solid var(--ink);display:grid;gap:8px;padding:26px 0;margin-top:35px}.next a{font-size:clamp(29px,5vw,58px);letter-spacing:-.055em}.next a span{font-size:.65em}@media(max-width:640px){.wrap{width:calc(100% - 36px)}.nav{min-height:64px;gap:10px}.wordmark{font-size:11px}.nav div{gap:12px;font-size:12px}.hero h1{font-size:clamp(40px,10.8vw,65px);margin-bottom:20px}.hero-end,.section-head{align-items:flex-start}.hero-end{flex-direction:column}.grid,.gallery,.profile,.narrative section{grid-template-columns:1fr}.grid{gap:24px}.profile{margin-block:50px}.gallery{gap:24px}.back{margin-bottom:35px}.case-cover img{max-height:370px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.career{margin:30px 0}.career div{display:grid;grid-template-columns:minmax(90px,1fr) 3fr;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.career dt{font:13px/1.6 var(--mono);color:var(--muted)}.career dd{margin:0}.career dd span{display:block;color:var(--muted);font-size:14px}.source-list ul{margin:0;padding-left:1.15rem}.source-list li+li{margin-top:.45rem}.source-list .award-note{margin-bottom:.7rem}

.narrative section p + p{margin-top:1rem}.narrative .impact-link{margin-top:1rem}
.awards{margin-top:70px}.awards ul{list-style:none;margin:0;padding:0}.awards li{border-bottom:1px solid var(--line)}.awards a{display:grid;grid-template-columns:1.4fr 1fr auto;align-items:center;gap:16px;padding:15px 0;text-decoration:none;font-weight:600}.awards a:hover span:first-child{text-decoration:underline}.awards a .fact{font-weight:400}@media(max-width:640px){.awards a{grid-template-columns:1fr auto;gap:4px 12px}.awards a .fact{grid-column:1;grid-row:2}.awards a span:last-child{grid-column:2;grid-row:1/3}}
#alle-projekte .label{display:block;margin-bottom:4px;color:var(--muted)}
.case-summary{display:grid;grid-template-columns:repeat(3,1fr)}
.decision + .decision{margin-top:1.75rem}
.decision h3{margin:0 0 .55rem;font-size:clamp(20px,2.5vw,26px);line-height:1.15;letter-spacing:-.035em}
.decision-flow{display:grid;grid-template-columns:repeat(3,1fr);padding:0;margin:1.2rem 0 .6rem;gap:8px;list-style:none;counter-reset:step}
.decision-flow li{counter-increment:step;border-top:2px solid var(--ink);background:#e9eadf;padding:12px}
.decision-flow li::before{content:counter(step,decimal-leading-zero);display:block;color:var(--muted);font:13px var(--mono);margin-bottom:10px}
.decision-flow strong,.decision-flow span{display:block}
.decision-flow span{font-size:14px;margin-top:4px}
.narrative .diagram-caption{font:12px/1.45 var(--mono);color:var(--muted)}
@media(max-width:640px){.case-summary,.decision-flow{grid-template-columns:1fr}}
.evidence-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.4rem 0}
.evidence-pair figure{margin:0;min-width:0}
.evidence-pair a{display:block;background:#e9eadf;border:1px solid var(--line)}
.evidence-pair img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;background:#fff}
.evidence-pair a:hover{border-color:var(--ink)}
.evidence-pair figcaption{margin-top:.55rem;font-size:14px;color:var(--muted)}
@media(max-width:640px){.evidence-pair{grid-template-columns:1fr}}

.decision-feature{border-top:2px solid var(--ink);padding-top:1.2rem}
.decision-evidence{margin:1rem 0 0}
.decision-evidence a{display:block}
.decision-evidence img{display:block;width:100%;height:auto}
.decision-evidence figcaption{margin-top:.55rem;color:var(--muted);font-size:14px}

.case-study-blueprint .wrap {
  width: min(88rem, calc(100% - clamp(2.25rem, 8vw, 10rem)));
}
.case-opening {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 5rem) 0;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}
.case-title { min-width: 0; }
.case-title .back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin: 0 0 clamp(1rem, 4vw, 3rem);
}
.case-title h1 {
  font-size: clamp(2rem, 4.45vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -.065em;
  margin: .55rem 0 1rem;
}
.case-title .lede {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  max-width: 25ch;
  margin: 0;
}
.case-hero-cover { margin: 0; min-width: 0; }
.case-hero-cover img {
  aspect-ratio: 4 / 3;
  max-height: none;
  object-fit: cover;
  object-position: center 43%;
}
[data-project="digital-showroom"] .case-hero-cover img {
  aspect-ratio: auto;
  height: auto;
}
.case-hero-cover figcaption,
.case-study-blueprint .decision-evidence figcaption,
.case-study-blueprint .evidence-pair figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}
.case-opening .case-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  gap: .75rem;
  padding-top: 0;
  border-top: 0;
}
.case-opening .case-summary > div {
  padding: clamp(1rem, 2.5vw, 2rem);
  border-top: 2px solid var(--line);
  background: #eeede6;
}
.case-opening .case-summary > div:last-child {
  border-top-color: #395643;
  background: #e5e9df;
}
.case-opening .case-summary dt {
  font: 700 clamp(1.125rem, 1.8vw, 1.5rem)/1.2 Inter, Arial, sans-serif;
  color: var(--ink);
}
.case-opening .case-summary dd {
  max-width: 42ch;
  margin-top: .7rem;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  overflow-wrap: anywhere;
}
.case-opening .case-summary > div:last-child dt { color: #395643; }

.case-study-blueprint .narrative section {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  padding-block: clamp(1.65rem, 4vw, 3.5rem);
}
.case-study-blueprint .narrative h2 { line-height: 1.15; }
.case-study-blueprint .narrative p { max-width: 62ch; line-height: 1.65; }
.case-study-blueprint .narrative .diagram-caption {
  font-size: .875rem;
  line-height: 1.5;
}
.case-study-blueprint .decision-feature {
  background: #e9eadf;
  padding: clamp(1rem, 3vw, 2rem);
}
.case-study-blueprint .decision-flow { gap: .75rem; }
.case-study-blueprint .decision-flow li { background: var(--paper); }
.case-study-blueprint .decision-flow span { font-size: .9375rem; }
.case-study-blueprint .decision + .decision {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.case-study-blueprint .decision-evidence {
  max-width: 58rem;
  margin-top: 1.35rem;
}
.case-study-blueprint .decision-evidence a {
  background: #e9eadf;
  border: 1px solid var(--line);
  text-decoration: none;
}
.case-study-blueprint .decision-evidence a:hover .image-open { text-decoration-thickness: 2px; }
.case-study-blueprint .image-open {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .85rem;
  text-decoration: underline;
  text-underline-offset: .18em;
  font-size: .875rem;
}
.case-study-blueprint .impact-link a,
.case-study-blueprint .source-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: .2em;
}
.case-study-blueprint .evidence-pair { gap: clamp(.85rem, 2vw, 1.75rem); }
.case-study-blueprint .evidence-pair img { aspect-ratio: 4 / 3; }

@media (min-width: 60rem) {
  .case-opening {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: center;
  }
  .case-opening .case-summary { grid-column: 1 / -1; }
  .case-study-blueprint .narrative section {
    grid-template-columns: minmax(10rem, 1fr) minmax(0, 3.8fr);
    column-gap: clamp(2rem, 5vw, 5rem);
  }
}
@media (max-width: 44rem) {
  .case-opening .case-summary,
  .case-study-blueprint .decision-flow,
  .case-study-blueprint .evidence-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 23rem) {
  body:has(.case-study-blueprint) .nav { flex-wrap: wrap; padding-block: .65rem; }
  body:has(.case-study-blueprint) .nav div { flex-wrap: wrap; }
}

.impact-story h3 {
  margin: 0 0 .65rem;
  font-size: clamp(1.85rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.case-study-blueprint .case-impact .evidence-pair {
  grid-column: 1 / -1;
  margin: 0;
}
.case-study-blueprint .case-impact .result-evidence img {
  aspect-ratio: 3 / 2;
}
.case-study-blueprint .case-impact .result-evidence a {
  background: var(--paper);
}
.impact-facts {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
}
.impact-facts > div {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}
.impact-facts dt { font-weight: 700; }
.impact-facts dd {
  margin: .45rem 0 0;
  color: var(--muted);
  max-width: 35ch;
}
.impact-facts strong {
  display: block;
  font-size: clamp(2.15rem, 4.25vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: .45rem;
}
.case-study-blueprint .impact-award {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .9375rem;
}
.case-study-blueprint .case-impact .impact-link {
  grid-column: 1 / -1;
  margin: 0;
}
.case-impact .impact-link a { display: inline-block; padding-block: .55rem; }
@media (min-width: 45rem) {
  .impact-facts { grid-template-columns: repeat(var(--fact-columns, 3), minmax(0, 1fr)); }
}

.case-study-blueprint .chapter-nav {
  border-top: 1px solid var(--line);
  padding-block: .5rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}
.case-study-blueprint .chapter-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem clamp(1rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-study-blueprint .chapter-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
  text-underline-offset: .2em;
}
.case-study-blueprint .narrative .case-chapter {
  border-top: 2px solid var(--ink);
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
  scroll-margin-block-start: 1.25rem;
}
.case-study-blueprint .narrative .case-chapter + .case-chapter {
  margin-top: clamp(1.75rem, 5vw, 4.5rem);
}
.case-study-blueprint .case-chapter > h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  max-width: 16ch;
  text-wrap: balance;
}
.case-study-blueprint .source-list {
  background: #efeee7;
  padding-inline: clamp(1.1rem, 4vw, 3.5rem);
}

.case-study-blueprint .narrative .contribution-intro { margin-bottom: 1.5rem; }
.case-study-blueprint .narrative .decision-handoff { margin-top: 1rem; }
.case-study-blueprint .source-list p + ul { margin-top: .85rem; }

.case-study-blueprint .case-project-context {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .9375rem;
}
.case-study-blueprint .method-list {
  display: grid;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  margin: 0;
}
.case-study-blueprint .method-list > div { border-top: 1px solid var(--line); padding-top: .85rem; }
.case-study-blueprint .method-list dt { font-weight: 700; }
.case-study-blueprint .method-list dd { margin: .35rem 0 0; }
@media (min-width: 45rem) {
  .case-study-blueprint .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.case-study-blueprint .case-hero-result {
  margin: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  width: fit-content;
}
.case-study-blueprint .case-hero-result a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  font-size: .9375rem;
  font-weight: 600;
  text-underline-offset: .2em;
}

/* Accent colors are limited to key outcomes inside the case studies. */
.case-study-blueprint { --result-ink: #374a70; }
.case-study-blueprint:is([data-project="baufritz"], [data-project="aok"]) { --result-ink: #395643; }
.case-study-blueprint:is([data-project="beq"], [data-project="bosch"]) { --result-ink: #594766; }
.case-study-blueprint:is([data-project="olymp"], [data-project="digital-showroom"]) { --result-ink: #704c42; }
.case-study-blueprint .case-hero-result a,
.case-study-blueprint .case-impact .impact-facts strong {
  color: var(--result-ink);
}


.case-study-blueprint .narrative .heller-chapter {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.case-study-blueprint .heller-chapter > h2 {
  max-width: 26ch;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
}
.heller-layout {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
}
.heller-demo {
  min-width: 0;
  border-top: 3px solid var(--result-ink);
  background: #e9eadf;
  padding: clamp(1rem, 3vw, 2rem);
}
.case-study-blueprint .narrative .heller-code { margin-block: 1.2rem .75rem; }
.heller-code span {
  display: block;
  color: var(--muted);
  font: .875rem/1.4 var(--mono);
}
.heller-code code {
  color: var(--result-ink);
  font: 500 clamp(1.65rem, 4vw, 2.75rem)/1.2 var(--mono);
  overflow-wrap: anywhere;
}
.heller-demo a,
.heller-references a {
  display: inline-block;
  min-height: 2.75rem;
  padding-block: .6rem;
  text-underline-offset: .2em;
}
.heller-demo a {
  color: var(--cta-secondary);
  border: 0;
  padding-inline: 0;
  font-weight: 600;
}
.case-study-blueprint .narrative .heller-device-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9375rem;
}
.heller-references { display: grid; gap: 1rem; }
.heller-references > div { border-top: 1px solid var(--line); padding-top: .9rem; }
.heller-references h3 { margin: 0 0 .4rem; font-size: 1.2rem; line-height: 1.2; }
@media (min-width: 55rem) {
  .heller-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* Shared CTA system across homepage and every case study. */
:root { --cta-primary: #D9ED64; --cta-secondary: #395643; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 2.75rem; font-size: 1rem; font-weight: 600; line-height: 1.5; border: 0; border-radius: 0; }
.cta-primary { background: var(--cta-primary); color: #171914; padding: .75rem 1.1875rem; text-decoration: none; }
.cta-primary:hover { background: var(--cta-primary); text-decoration: underline; text-underline-offset: .2em; }
.cta-secondary { background: transparent; color: var(--cta-secondary); padding: .75rem 0; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.cta-secondary:hover { text-decoration-thickness: 2px; }
.cta:focus-visible { outline: 3px solid var(--cta-secondary); outline-offset: 4px; }
.case-quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.15rem; }

/* Share the text measure with imagery in the case content at every viewport width. */
.case-study-blueprint {
  --case-body-size: 18px;
}
.case-study-blueprint .narrative p,
.case-study-blueprint .narrative .decision-evidence,
.case-study-blueprint .narrative .evidence-pair,
.case-study-blueprint .narrative .gallery {
  max-inline-size: min(100%, 62ch);
}
.case-study-blueprint .narrative .decision-evidence,
.case-study-blueprint .narrative .evidence-pair,
.case-study-blueprint .narrative .gallery {
  font-size: var(--case-body-size);
  min-inline-size: 0;
}
.case-study-blueprint img { max-inline-size: 100%; }

.card-media { overflow: hidden; }

@keyframes stage-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .case-title { animation: stage-enter .55s cubic-bezier(.2,.75,.25,1) both; }
.hero-end, .case-hero-cover { animation: stage-enter .65s cubic-bezier(.2,.75,.25,1) .1s both; }
.card-media img, .card .arrow {
  transition: transform .5s cubic-bezier(.2,.75,.25,1);
}
.card a:focus-visible .card-media img { transform: scale(1.035); }
.card a:focus-visible .arrow { transform: translate(2px, -2px); }

@media (hover: hover) and (pointer: fine) {
  .card a:hover .card-media img { transform: scale(1.035); }
  .card a:hover .arrow { transform: translate(2px, -2px); }
}

@supports (animation-timeline: view()) {
  @keyframes evidence-enter {
    from { opacity: .65; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .case-study-blueprint .decision-evidence,
  .case-study-blueprint .evidence-pair {
    animation: evidence-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

/* Keep the featured Baufritz decision within the reading measure. */
.case-study-blueprint[data-project="baufritz"] .decision-feature {
  max-inline-size: calc(62ch + 2 * clamp(1rem, 3vw, 2rem));
  font-size: var(--case-body-size);
}
@media (max-width: 48rem) {
  .case-study-blueprint[data-project="baufritz"] .decision-flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep the two regional portal states readable on smaller screens. */
.case-study-blueprint[data-project="aok"] .decision .evidence-pair {
  margin-block: 1.5rem 1.75rem;
}
@media (max-width: 52rem) {
  .case-study-blueprint[data-project="aok"] .decision .evidence-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep the vehicle selection and its evidence on the same reading measure. */
.case-study-blueprint[data-project="one-web-vans"] .decision-feature {
  max-inline-size: calc(62ch + 2 * clamp(1rem, 3vw, 2rem));
  font-size: var(--case-body-size);
}

.profile-visual img {
  display: block;
  width: 100%;
  max-width: 18rem;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 75%;
  margin-top: 1rem;
}

.profile-actions { display:flex; flex-wrap:wrap; align-items:center; gap: .25rem 1.25rem; }
.profile-actions .fact { flex-basis:100%; order:2; }

.bar .nav > div {
  margin-inline-start: auto;
}

.language-switch {
  display: inline-flex;
  margin-inline-start: auto;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  font: 500 12px/1.45 var(--mono);
}
.language-switch [aria-current] {
  color: var(--cta-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.language-switch a {
  padding-block: .4rem;
}
@media (max-width: 480px) {
  .bar .nav { flex-wrap: wrap; gap: .35rem 1rem; padding-block: .65rem; }
  .bar .nav > div { flex-wrap: wrap; align-items: center; }
}

@media (min-width: 1024px) {
  .language-switch { font-size: 15px; gap: .6rem; }
}

/* Shared layout and editorial spacing. */
:root {
  --page-width: 1280px;
  --page-gutter: clamp(18px, 4vw, 64px);
  --chapter-space: clamp(28px, 3vw, 40px);
}
.wrap,
.case-study-blueprint .wrap {
  width: min(var(--page-width), calc(100% - 2 * var(--page-gutter)));
}
.hero { padding-bottom: clamp(81px, 8vw, 97px); }
.hero .dot { background: #6bb700; }
.hero h1 { letter-spacing: -.05em; line-height: 1.02; font-size: clamp(42px, 8.5vw, 120px); }
.section-head h2 { letter-spacing: -.04em; }
.card h3 { letter-spacing: -.035em; line-height: 1.12; }
.profile h2 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -.04em; line-height: 1.08; }
.profile { grid-template-columns: minmax(0, 288px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.profile p:not(.label) { line-height: 1.65; }
.case-opening { align-items: start; gap: 32px; padding-top: 32px; margin-bottom: 48px; }
.case-opening > .back { grid-column: 1 / -1; margin: 0; min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
.case-title h1 { font-size: clamp(36px, 4.5vw, 72px); letter-spacing: -.04em; line-height: 1.08; overflow-wrap: normal; }
.case-title .lede { letter-spacing: -.025em; line-height: 1.35; }
.case-opening .case-summary { gap: 16px; }
.case-opening .case-summary > div { padding: clamp(20px, 2vw, 28px); }
.case-opening .case-summary dd { line-height: 1.6; }
.case-study-blueprint .narrative .case-chapter {
  padding-block: var(--chapter-space);
  gap: 24px;
}
.case-study-blueprint .narrative .case-chapter + .case-chapter { margin-top: var(--chapter-space); }
.case-study-blueprint .case-chapter > h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.decision h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 16px; }
.case-study-blueprint .decision + .decision { margin-top: 32px; padding-top: 24px; }
.case-study-blueprint .decision-evidence { margin-top: 28px; }
.case-study-blueprint .method-list { gap: 24px 32px; }
.case-study-blueprint .method-list dt { font-size: 18px; line-height: 1.4; }
.case-study-blueprint .method-list dd,
.impact-facts dd { font-size: 18px; line-height: 1.65; }
.case-study-blueprint .case-impact > h2 {
  grid-column: 1 / -1;
  max-width: none;
}
.impact-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  background: #e9eadf;
}
.impact-story h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.035em; max-width: 28ch; margin-bottom: 16px; }
.impact-facts { gap: 28px; }
.impact-facts strong { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.04em; }
.impact-facts dt { line-height: 1.5; }
.case-study-blueprint .narrative .source-list { background: transparent; padding-inline: 0; }
.case-study-blueprint .source-list h2 { font-size: 22px; }
.case-study-blueprint .source-list p,
.case-study-blueprint .source-list a { font-size: 15px; }
.case-study-blueprint .source-list a { min-height: 36px; }
.link-arrow, .nav-contact-arrow { display: inline-block; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; vertical-align: middle; margin-left: 4px; }
.language-switch { font-size: 14px; gap: 8px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 0; }
.language-switch [aria-current] { font-weight: 500; }
@media (min-width: 960px) {
  .case-study-blueprint .narrative section { grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); column-gap: 48px; }
  .case-study-blueprint .narrative .heller-chapter { grid-template-columns: minmax(0, 1fr); }
  .impact-facts { grid-template-columns: repeat(var(--fact-columns, 3), minmax(0, 1fr)); }
  .language-switch { font-size: 15px; }
}
@media (max-width: 959px) {
  .case-opening .case-summary { grid-template-columns: minmax(0, 1fr); }
  .impact-facts { grid-template-columns: minmax(0, 1fr); }
  .heller-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .profile { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case-study-blueprint .method-list { grid-template-columns: minmax(0, 1fr); }
  .case-opening { gap: 24px; }
  .bar .nav { flex-wrap: wrap; padding-block: 12px; }
  .bar .nav > div { flex-wrap: wrap; align-items: center; }
  .language-switch { margin-inline-start: auto; }
}
.link-arrow, .nav-contact-arrow { position: relative; }
.link-arrow::after, .nav-contact-arrow::after { content: ""; position: absolute; width: 9px; height: 1.5px; background: currentColor; right: -1px; top: -1px; transform: rotate(-45deg); transform-origin: right center; }
@media (max-width: 719px) {
  .case-title h1 { overflow-wrap: anywhere; hyphens: auto; }
}

/* Mobile navigation keeps language selection at the right edge. */
@media (max-width: 719px) {
  .bar .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 12px;
    padding-block: 8px;
  }
  .bar .nav > div { display: contents; }
  .bar .wordmark {
    grid-column: 1 / 3;
    grid-row: 1;
    font-size: 12px;
  }
  .bar .language-switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
  }
  .bar .nav > div > a {
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
  }
  .bar .nav > div > a:nth-child(2) { justify-self: center; }
  .bar .nav > div > a:nth-child(3) { justify-self: end; }
  .case-opening { padding-top: 16px; gap: 20px; margin-bottom: 32px; }
  .case-title h1 { font-size: clamp(30px, 8.2vw, 40px); hyphens: manual; line-height: 1.12; }
  .case-quick-links { gap: 0 24px; margin-top: 12px; }
  .case-study-blueprint .chapter-nav { margin-bottom: 24px; }
  .case-study-blueprint .chapter-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .case-study-blueprint .chapter-nav a { font-size: 14px; line-height: 1.4; }
  .case-study-blueprint .case-chapter > h2 { max-width: none; }
  .contact-links { flex-wrap: wrap; gap: 12px 28px; }
  .contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer { align-items: center; flex-wrap: wrap; gap: 12px; }
  .footer a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Use the extra tablet width without compressing the case study text. */
@media (min-width: 760px) and (max-width: 959px) {
  .case-opening .case-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-opening .case-summary > div:last-child { grid-column: 1 / -1; }
  .case-opening .case-summary > div:last-child dd { max-width: 62ch; }
  .impact-facts { grid-template-columns: repeat(var(--fact-columns, 3), minmax(0, 1fr)); }
  .impact-facts strong { font-size: clamp(30px, 4.2vw, 40px); overflow-wrap: anywhere; }
}
@media (max-width: 959px) {
  .case-hero-cover img { max-block-size: min(58vw, 500px); }
  [data-project="digital-showroom"] .case-hero-cover img { max-block-size: none; }
}

/* Jump targets keep keyboard focus without outlining the whole section. */
main[tabindex="-1"]:focus,
.case-chapter[tabindex="-1"]:focus {
  outline: none;
}

/* Consistent spacing and unboxed secondary actions in every case study. */
.case-study-blueprint .heller-demo > h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.case-study-blueprint .heller-demo > a,
.case-study-blueprint .heller-references a {
  color: var(--cta-secondary);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 10px 0;
  margin-top: 16px;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.case-study-blueprint .heller-demo > a:hover,
.case-study-blueprint .heller-references a:hover { text-decoration-thickness: 2px; }
.case-study-blueprint .heller-references { gap: 24px; }
.case-study-blueprint .heller-references > div { padding-top: 20px; }
.case-study-blueprint .heller-references h3 { margin-bottom: 12px; line-height: 1.35; }
.case-study-blueprint .narrative .case-chapter > div { min-width: 0; }
.case-study-blueprint .narrative .case-chapter { column-gap: 24px; }
@media (min-width: 960px) {
  .case-study-blueprint .narrative .case-chapter { column-gap: 48px; }
}

/* Keep the desktop wordmark, navigation and language labels on one baseline. */
@media (min-width: 720px) {
  .bar .nav > .wordmark {
    line-height: 24px;
  }

  .bar .nav > div {
    align-items: baseline;
    gap: clamp(20px, 3vw, 48px);
    line-height: 24px;
  }

  .bar .language-switch {
    align-items: baseline;
    margin-inline-start: 0;
    line-height: 24px;
  }

  .bar .language-switch > :is(a, span) {
    display: inline-block;
    min-inline-size: 32px;
    min-block-size: 44px;
    padding-block: 10px;
    text-align: center;
  }

  .bar .language-switch > :last-child {
    text-align: end;
  }
}

/* Show the complete Haus Heller photograph on desktop. */
@media (min-width: 960px) {
  [data-project="baufritz"] .case-hero-cover img {
    aspect-ratio: auto;
    height: auto;
  }
}

/* Profile portrait and biography share the section's top edge. */
.profile {
  max-width: 55rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.profile-visual img {
  max-width: 10.5rem;
  margin-top: .75rem;
}

.profile h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.profile .career {
  max-width: 630px;
  margin-block: 2rem 1.25rem;
}

.profile > div:last-child { min-width: 0; }

@media (max-width: 719px) {
  .profile {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.25rem;
  }

  .profile-visual img { max-width: 7rem; }

  .profile .career div {
    grid-template-columns: minmax(5.25rem, max-content) minmax(0, 1fr);
  }
}

/* Give the selected projects equal space in the grid. */
.grid { grid-auto-rows: 1fr; }
.grid .card > a { display: flex; flex-direction: column; height: 100%; }
.grid .card-copy { flex: 1; }

/* Draw the card arrow so iOS does not substitute an emoji. */
.card .arrow { position: relative; }

.card .arrow::before,
.card .arrow::after {
  position: absolute;
  content: "";
}

.card .arrow::before {
  width: 17px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
}

.card .arrow::after {
  width: 9px;
  height: 9px;
  top: calc(50% - 6px);
  right: calc(50% - 6px);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.link-arrow { flex: none; }

/* V11 Baufritz: reading rhythm for revised contribution and methods. */
.case-study-blueprint[data-project="baufritz"] .narrative p + .decision { margin-top: clamp(32px, 4vw, 48px); }
.case-study-blueprint[data-project="baufritz"] .decision-flow { margin-top: 24px; margin-bottom: 12px; }
.case-study-blueprint[data-project="baufritz"] .decision-flow li { padding: 16px; min-width: 0; }
.case-study-blueprint[data-project="baufritz"] .decision-flow strong { line-height: 1.4; }
.case-study-blueprint[data-project="baufritz"] .decision-flow span { margin-top: 8px; line-height: 1.6; }
.case-study-blueprint[data-project="baufritz"] .narrative .diagram-caption { margin-top: 0; margin-bottom: 24px; }
.case-study-blueprint[data-project="baufritz"] .method-list { grid-template-columns: minmax(0,1fr); gap: 28px; margin: 0; }
.case-study-blueprint[data-project="baufritz"] .method-list > div { padding-top: 20px; }
.case-study-blueprint[data-project="baufritz"] .method-list dd { margin: 12px 0 0; }

.case-study-blueprint:is([data-project="one-web-vans"], [data-project="aok"], [data-project="bosch"], [data-project="beq"], [data-project="olymp"], [data-project="advantages"]) .method-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.case-study-blueprint:is([data-project="one-web-vans"], [data-project="aok"], [data-project="bosch"], [data-project="beq"], [data-project="olymp"], [data-project="advantages"]) .method-list > div { padding-top: 20px; }
.case-study-blueprint:is([data-project="one-web-vans"], [data-project="aok"], [data-project="bosch"], [data-project="beq"], [data-project="olymp"], [data-project="advantages"]) .method-list dd { margin-top: 12px; }

/* Keyboard focus stays visible on links, cards, buttons and fields. */
:is(a, button, input):focus-visible {
  outline: 3px solid var(--cta-secondary);
  outline-offset: 3px;
}
.skip {
  position: fixed;
  z-index: 20;
}
.bar .language-switch > a,
.case-study-blueprint .chapter-nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  min-inline-size: 24px;
}
.bar .language-switch > a { justify-content: center; }
.case-title h1,
.section-head h2 {
  overflow-wrap: anywhere;
}
.case-opening .case-summary dd { max-inline-size: 42ch; }

@media (min-width: 960px) {
  .case-opening > .case-hero-cover {
    grid-row: 2;
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card a :is(img, .arrow) { transition: none; }
}

/* Fit both lines of the English headline on narrow screens. */
@media (max-width: 32rem) {
  :lang(en) .hero h1 { font-size: min(9.5vw, 42px); }
}

/* Keep the two project highlights in one compact, independent line. */
.project-highlights {
  margin: .625rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.45;
}
.project-highlights > span { white-space: nowrap; }
.grid .card { display: flex; flex-direction: column; }
.grid .card > a { height: auto; }
.grid .card > .project-highlights { margin-block: .25rem 0; }
.awards .project-index-row { border-bottom: 0; }
.awards .project-index-row > a {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-block-end: 0;
}
.awards .project-index-row > .project-highlights { margin-block: .25rem .875rem; }

@media (max-width: 719px) {
  .profile h2 {
    font-size: clamp(25px, 3.4vw, 47px);
    line-height: 1.1;
    margin-block-end: 1rem;
  }

  .works .grid {
    row-gap: 2.5rem;
    grid-auto-rows: auto;
  }

  .awards .project-index-row + .project-index-row {
    margin-block-start: .75rem;
  }
}

@media (max-width: 719px) {
  .case-opening > .case-hero-cover {
    grid-column: 1;
    grid-row: 3;
  }

  .case-opening > .case-summary {
    grid-row: 4;
  }
}

.image-credit { display: block; margin-block-start: .25rem; }

.legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.legal-page { max-width: 48rem; padding-block: clamp(2rem, 6vw, 5rem); overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2rem, 6vw, 4rem); }
.legal-page h2 { font-size: 1.25rem; margin-block: 2rem .5rem; }
.legal-page address { font-style: normal; }
