.case-study, .studio-story {
  --night: #111d34;
  --night-text: #f0eee6;
  --night-secondary: #c1ccdc;
  --blue-note: #acc9ec;
  --paper-sheet: #f1eee5;
  --paper-ink: #1b2532;
  --paper-soft: #415064;
  --paper-line: #b6b7b2;
  --film-gutter: clamp(24px, 5vw, 88px);
  --editorial-space: clamp(58px, 6.7vw, 110px);
  container: editorial / inline-size;
}
.case-study :where(h1,h2,h3,p,a,th,td), .studio-story :where(h1,h2,h3,p,a,summary) {
  overflow-wrap: anywhere;
}
.editorial-opening {
  color: var(--night-text);
  background: linear-gradient(116deg,#111a2b 0%,#15253e 59%,#253b56 100%);
  border-bottom: 1px solid #53617a;
}
.editorial-opening-grid {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.12fr);
  align-items: center;
  gap: var(--film-gutter);
  padding-block: clamp(20px,3vw,54px) var(--editorial-space);
}
.editorial-opening-copy .breadcrumb {
  margin-bottom: clamp(32px,5vw,82px);
  color: var(--night-secondary);
}
.editorial-opening-copy .breadcrumb a { color: inherit; }
.editorial-label {
  margin: 0 0 1.05rem;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.editorial-opening .editorial-label, .design-inference .editorial-label, .studio-test .editorial-label { color: var(--blue-note); }
.case-study h1, .studio-story h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.3rem,6.45vw,7.15rem);
  line-height: .96;
  letter-spacing: -.071em;
}
.studio-story h1 { max-width: 12ch; }
.editorial-opening h1 em, .design-inference h2 em, .studio-test h2 em { color: #c0dafa; }
.editorial-lead {
  max-width: 45ch;
  margin-top: clamp(22px,2.1vw,36px);
  color: var(--night-secondary);
  font-size: clamp(1.05rem,1.32vw,1.32rem);
  line-height: 1.6;
}
.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.65rem;
  margin-top: 1.95rem;
}
.editorial-actions .button {
  color: #14213a;
  background: #e2e8eb;
  border-color: #e2e8eb;
}
.editorial-actions .button:hover { background: white; border-color:white; color:#111d34; }
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: .56em;
  min-height: 44px;
  color: inherit;
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: .27em;
}
.editorial-link:hover { text-decoration-thickness: 2px; }
.editorial-media { min-width: 0; align-self: center; position: relative; }
.editorial-media > figure { width: 100%; margin:0; }
.editorial-media :where(img, video) { max-width: 100%; }
.editorial-media figcaption { color: var(--night-secondary); }
.case-study h2, .studio-story h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.5rem,4.55vw,5.25rem);
  letter-spacing: -.059em;
  line-height: 1.03;
}
@container editorial (min-width: 37.5rem) {
  .case-study h2, .studio-story h2 { hyphens: manual; }
}
.research-paper, .case-implementation, .studio-process, .studio-faq {
  color: var(--paper-ink);
  background: var(--paper-sheet);
  padding-block: var(--editorial-space);
}
.research-paper .editorial-label, .case-implementation .editorial-label, .studio-process .editorial-label, .studio-faq .editorial-label, .case-verify .editorial-label { color: #475b70; }
.dossier-heading, .inference-grid, .studio-faq-grid, .verify-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.85fr);
  gap: var(--film-gutter);
}
.dossier-heading { align-items: end; padding-bottom: clamp(26px,3vw,56px); }
.dossier-question, .inference-text > p:first-child, .verify-grid > div > p:last-child, .process-intro > p:last-child {
  max-width: 45ch;
  color: var(--paper-soft);
  font-size: clamp(1.04rem,1.3vw,1.3rem);
  line-height: 1.62;
}
.method-note {
  display: grid;
  grid-template-columns: minmax(0,.39fr) minmax(0,1fr) minmax(0,.42fr);
  gap: 1rem clamp(20px,3vw,46px);
  align-items: baseline;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding-block: 1.2rem;
}
.method-note strong, .method-note small { font-size: .87rem; }
.method-note p { max-width: 70ch; color: var(--paper-soft); }
.method-note small { color: var(--paper-soft); justify-self: end; }
.study-table { background: transparent; margin-top: 1.85rem; table-layout: fixed; }
.study-table caption { color: var(--paper-soft); background: transparent; font-size: .86rem; padding: 0 0 1rem; }
.study-table thead th { padding: .8rem 1.05rem; background: #22354c; color: #f7f5eb; font-size: .92rem; }
.study-table thead th:first-child { width: 23%; }
.study-table tbody th, .study-table tbody td { padding: 1.25rem 1.05rem; border-color: var(--paper-line); }
.study-table tbody th { color: var(--paper-ink); font-size: clamp(1.02rem,1.38vw,1.38rem); line-height: 1.35; }
.study-table tbody th a { color:#263d5b; }
.study-table tbody td { color: #344453; line-height: 1.65; }
.study-table tbody tr:nth-child(even) { background: #e9e7df; }
.design-inference, .studio-test { padding-block: var(--editorial-space); background: var(--night); color: var(--night-text); }
.inference-grid { align-items: center; }
.inference-text { border-left:1px solid #617088; padding-left:clamp(20px,3.8vw,60px); }
.inference-text > p:first-child { color: #ebedf0; }
.scope-note { color: var(--night-secondary); margin-top:1.55rem; font-size:.94rem; max-width:58ch; }
.scope-note strong { display:block; font-size:1em; margin-bottom:.2rem; color:#e7edf5; }
.proof-tests h3 {
  font-size: clamp(1.22rem,1.68vw,1.75rem);
  line-height:1.16;
  letter-spacing:-.031em;
}
.case-verify { padding-block: var(--editorial-space); color:#17283b; background:#e1e6e5; border-top:1px solid #b1b8bb; }
.verify-grid { align-items:center; grid-template-columns:minmax(0,1.1fr) minmax(0,.86fr); }
.studio-test-title { max-width:62rem; }
.proof-tests { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,4vw,70px); margin-top:clamp(28px,4vw,60px); }
.proof-tests article { padding-top:1.25rem; border-top:1px solid #5b6d84; }
.proof-tests p { margin:.75rem 0 .55rem; max-width:49ch; line-height:1.68; color:var(--night-secondary); }
.proof-tests .editorial-link { color:#c6def9; }
.studio-faq-grid { grid-template-columns:minmax(0,.73fr) minmax(0,1.05fr); align-items:start; }
.studio-faq .disclosures details { border-color:var(--paper-line); }
.studio-faq .disclosures summary { color:var(--paper-ink); }
.studio-faq .detail-content { color:var(--paper-soft); }
@container editorial (max-width: 59rem) {
  .editorial-opening-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(20px,3vw,38px); }
  .editorial-opening-copy .breadcrumb { margin-bottom:2.4rem; }
  .dossier-heading, .inference-grid, .studio-faq-grid, .verify-grid { gap:clamp(18px,3.4vw,36px); }
  .research-paper h2, .case-implementation h2, .studio-process h2, .studio-faq h2 { font-size:clamp(2.3rem,4.8vw,3.8rem); }
  .method-note { grid-template-columns:minmax(0,.3fr) minmax(0,1fr); }
  .method-note small { grid-column:2; justify-self:start; }
}
@container editorial (min-width: 47.01rem) and (max-width: 57rem) {
  .editorial-opening-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; padding-bottom: 2.8rem; }
  .editorial-opening-copy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.96fr); align-items: start; column-gap: clamp(26px,4.4vw,48px); }
  .editorial-opening-copy .breadcrumb { grid-column: 1 / -1; margin: 0 0 1.8rem; }
  .editorial-opening-copy .editorial-label { grid-area: 2 / 1; }
  .editorial-opening-copy h1 { grid-area: 3 / 1 / 5 / 2; font-size: clamp(3.2rem,6.8vw,4.4rem); }
  .editorial-opening-copy .editorial-lead { grid-area: 2 / 2 / 4 / 3; margin: 0; }
  .editorial-actions { grid-area: 4 / 2; align-self: start; gap: .3rem 1rem; margin-top: 1rem; }
}
@container editorial (max-width: 47rem) {
  .editorial-opening-grid, .dossier-heading, .inference-grid, .studio-faq-grid, .verify-grid, .proof-tests { grid-template-columns:minmax(0,1fr); }
  .editorial-opening-grid { padding-top:15px; padding-bottom:34px; gap:30px; }
  .editorial-opening-copy .breadcrumb { margin-bottom:1.65rem; }
  .editorial-label { margin-bottom:.75rem; }
  .editorial-actions { margin-top:1.15rem; }
  .editorial-lead { margin-top:1rem; }
  .editorial-opening h1 { font-size:clamp(3.2rem,9.3vw,5.2rem); }
  .inference-text { border-left:0; border-top:1px solid #617088; padding:1.15rem 0 0; }
  .proof-tests { gap:1.4rem; }
  .method-note { gap:.6rem 1rem; }
}
@container editorial (max-width: 37.5rem) {
  .method-note { display:block; }
  .method-note p { margin-top:.4rem; }
  .method-note small { display:block; margin-top:.55rem; }
  .study-table { margin-top:1.2rem; }
  .study-table, .study-table caption, .study-table tbody, .study-table tr, .study-table tbody th, .study-table td { display:block; }
  .study-table thead { position:absolute; clip-path:inset(50%); overflow:hidden; width:1px; height:1px; }
  .study-table tbody tr { margin:0; padding:1.15rem 0; border-block-start:1px solid var(--paper-line); border-block-end:0; }
  .study-table tbody tr:nth-child(even) { background:transparent; }
  .study-table tbody th,.study-table tbody td { width:100%; border:0; padding:0; }
  .study-table tbody td { margin-top:.62rem; }
  .study-table td::before { display:block; content:attr(data-label); margin-bottom:.08rem; text-transform:none; letter-spacing:0; font-size:.85rem; font-weight:650; color:#475b70; }
}
@container editorial (max-width:22rem) {
  .editorial-opening h1 { font-size:clamp(2.3rem,10vw,3rem); }
  .editorial-actions > * { max-width:100%; }
}
.study-download { margin-top: 1.2rem; }
.study-download span { font-size: .85em; }

/* Die Fallstudie liest sich als Untersuchung mit anschließender Zeichnung. */
.case-study .editorial-opening { background: #e8ebdf; color: #172a24; border-bottom: 1px solid #aeb9a8; }
.case-study .editorial-opening :is(.editorial-label,.breadcrumb,.breadcrumb a) { color: #415549; }
.case-study .editorial-opening h1 { color: #172a24; }
.case-study .editorial-opening h1 em { color: #32533f; }
.case-study .editorial-opening .editorial-lead { color: #334639; }
.case-study .editorial-opening .editorial-actions .button { background: #223f34; border-color: #223f34; color: #fff; }
.case-study .editorial-opening .editorial-link { color: #244b3a; }
.case-study .editorial-opening .editorial-media { box-shadow: none; }
.case-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.4rem; margin-top: 21px; padding-top: 14px; border-top: 1px solid #a4aca0; }
.case-next .study-download { margin-top: 0; }
.case-plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,3vw,48px); align-items: start; }
.case-plans figure { margin: 0; }
.case-plans img { display: block; width: 100%; aspect-ratio: 1000/640; height: auto; border: 1px solid #b5b9aa; background: #e9e9dc; }
.case-plans figcaption { margin-top: .9rem; }
.case-plans h3 { font-size: clamp(1.45rem,2.1vw,2.15rem); line-height: 1.18; letter-spacing: -.037em; }
.case-plans p { margin-top: .35rem; max-width: 46ch; color: #46534b; }
.case-implementation .case-next .button { min-height: 46px; background: #294d3f; border-color: #294d3f; color: #fff; }
.case-verify .verify-grid { align-items: center; }
.case-verify .editorial-link { margin-top: 14px; color: inherit; }
.studio-plan { width: 100%; border-collapse: collapse; table-layout: fixed; border-block: 1px solid #65766b; color: #192b25; }
.studio-plan thead th { text-align: left; font-size: .86rem; font-weight: 650; color: #42584a; }
.studio-plan thead th:first-child { width: 22%; }
.studio-plan :is(th,td) { text-align: left; padding: 18px 22px 18px 0; vertical-align: top; }
.studio-plan tbody th { font-size: clamp(1.2rem,1.9vw,1.85rem); line-height: 1.12; font-weight: 540; letter-spacing: -.038em; }
.studio-plan tbody tr { border-top: 1px solid #acb6aa; }
.studio-plan td { line-height: 1.59; }
.studio-plan td>span { display: none; }
@container seite (max-width:45rem) {
  .case-plans { grid-template-columns: 1fr; gap: 25px; }
  .case-next { align-items: flex-start; flex-direction: column; }
  .studio-plan,.studio-plan tbody,.studio-plan tr,.studio-plan td,.studio-plan th { display: block; width: 100%; }
  .studio-plan thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .studio-plan tbody tr { padding: .8rem 0 1.2rem; }
  .studio-plan tbody :is(th,td) { padding: .4rem 0; }
  .studio-plan tbody th { font-size: 1.55rem; }
  .studio-plan td>span { display: block; margin-bottom: .15rem; color: #42584a; font-size: .8rem; font-weight: 650; }
}
