/* Ergänzungen für die Projektseiten; die gemeinsame Struktur kommt aus hpe.css. */
.story-index-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-index-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.story-cover-placeholder,.story-type-panel{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:35px;padding:clamp(25px,4vw,58px)}
.story-cover-placeholder{min-height:clamp(300px,38vw,570px);background:#dce6e3;color:#1d302c}
.story-cover-placeholder>span,.story-type-panel>span{font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;line-height:1.5;overflow-wrap:anywhere}
.story-cover-placeholder strong{font-size:calc(clamp(55px,7.5vw,110px) * var(--mx-font-scale,1));font-weight:500;line-height:1.02;letter-spacing:-.065em;overflow-wrap:anywhere}
.story-cover-placeholder strong em,.story-type-panel strong em{font-family:var(--serif);font-weight:400}
.story-type-panel{min-height:400px;aspect-ratio:1.16}
.story-type-panel strong{font-size:calc(clamp(40px,4.8vw,70px) * var(--mx-font-scale,1));font-weight:500;line-height:1.05;letter-spacing:-.055em;overflow-wrap:anywhere}
.story-panel-junker,.story-panel-light{background:#e1e9e5;color:#1d302c}
.story-panel-muted{background:#d8e2df;color:#253936}
.story-panel-dark{background:#27353c;color:#f0f5f5;border:1px solid #516168}
.story-image{margin:0}.story-image img{width:100%;aspect-ratio:1.16;object-fit:cover}.story-image figcaption{margin-top:14px;color:#718288;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em}
@media(max-width:900px){.story-type-panel{min-height:320px}.story-index-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.story-index-two,.story-index-three{grid-template-columns:minmax(0,1fr)}.story-cover-placeholder{min-height:300px}.story-cover-placeholder strong{font-size:calc(clamp(42px,10vw,70px) * var(--mx-font-scale,1))}.story-type-panel{width:100%;min-height:clamp(240px,calc(100vw - 44px),310px);aspect-ratio:auto}.story-type-panel strong{font-size:calc(clamp(35px,8vw,52px) * var(--mx-font-scale,1))}.story-image img{aspect-ratio:1.08}}

/* Markus Junker: kompakter Überblick; HPE und Tattis bleiben unverändert. */
.markus-case .hpe-hero{padding-bottom:clamp(42px,5vw,70px)}
.markus-case .hpe-hero-copy{padding:clamp(55px,7vw,100px) 0 clamp(42px,5vw,70px)}
.markus-case .hpe-hero h1{margin-bottom:30px}
.markus-case .hpe-cover img{height:auto;aspect-ratio:2.05}
.markus-case .markus-overview{background:#f2f5f4;padding:30px 0 clamp(65px,7vw,100px)}
.markus-case .markus-overview-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(45px,8vw,125px);padding-top:clamp(45px,6vw,80px)}
.markus-case .markus-overview-grid>*{min-width:0}
.markus-case .markus-overview h2{font-size:calc(clamp(42px,5.1vw,76px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.055em;line-height:1.04;margin:0;overflow-wrap:anywhere}
.markus-case .markus-overview h2 em{font-family:var(--serif);font-weight:400}
.markus-case .markus-overview-content>p{color:#53656b;font-size:calc(16px * var(--mx-font-scale,1));line-height:1.75;max-width:600px;margin:0 0 36px}
.markus-case .markus-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.markus-case .markus-service{border-top:1px solid #cbd7d5;padding:20px 0 0;scroll-margin-top:100px}
.markus-case .markus-service>span{color:#718288;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em}
.markus-case .markus-service h3{font-size:calc(clamp(20px,1.8vw,25px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.03em;margin:13px 0 10px}
.markus-case .markus-service p{color:#53656b;font-size:calc(14px * var(--mx-font-scale,1));line-height:1.65;margin:0}
.markus-case .hpe-next{padding:clamp(65px,7vw,95px) 0}
@media(max-width:680px){
  .markus-case .hpe-hero{padding-bottom:40px}
  .markus-case .hpe-hero-copy{padding:54px 0 42px}
  .markus-case .hpe-cover img{aspect-ratio:1.5}
  .markus-case .markus-overview{padding:26px 0 65px}
  .markus-case .markus-overview-grid{grid-template-columns:minmax(0,1fr);gap:30px;padding-top:45px}
  .markus-case .markus-overview h2{font-size:calc(clamp(37px,8.8vw,58px) * var(--mx-font-scale,1));hyphens:auto}
  .markus-case .markus-overview-content>p{margin-bottom:28px}
  .markus-case .markus-services{grid-template-columns:minmax(0,1fr);gap:22px}
  .markus-case .hpe-next{padding:65px 0}
}

/* Tattis: kompakter Projektüberblick mit beiden Mockups. */
.tattis-case .hpe-hero{padding-bottom:clamp(42px,5vw,70px)}
.tattis-case .hpe-hero-copy{padding:clamp(55px,7vw,100px) 0 clamp(42px,5vw,70px)}
.tattis-case .hpe-hero h1{margin-bottom:30px}
.tattis-case .hpe-cover img{height:auto;aspect-ratio:2.05;object-fit:cover;object-position:center 40%}
.tattis-case .tattis-overview{background:#f2f5f4;padding:30px 0 clamp(65px,7vw,100px)}
.tattis-case .tattis-overview-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(45px,8vw,125px);padding-top:clamp(45px,6vw,80px)}
.tattis-case .tattis-overview-grid>*{min-width:0}
.tattis-case .tattis-overview h2{font-size:calc(clamp(42px,5.1vw,76px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.055em;line-height:1.04;margin:0 0 28px;overflow-wrap:anywhere}
.tattis-case .tattis-overview h2 em{font-family:var(--serif);font-weight:400;display:inline-block;max-width:100%}
.tattis-case .tattis-summary{color:#53656b;font-size:calc(16px * var(--mx-font-scale,1));line-height:1.75;max-width:500px;margin:0}
.tattis-case .tattis-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tattis-case .tattis-service{min-width:0;border-top:1px solid #cbd7d5;padding:20px 0 0;scroll-margin-top:100px}
.tattis-case .tattis-service>span{color:#718288;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;overflow-wrap:anywhere}
.tattis-case .tattis-service h3{font-size:calc(clamp(20px,1.8vw,25px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.03em;margin:13px 0 10px;overflow-wrap:anywhere}
.tattis-case .tattis-service p{color:#53656b;font-size:calc(14px * var(--mx-font-scale,1));line-height:1.65;margin:0;overflow-wrap:anywhere}
.tattis-case .tattis-mockup{margin:0;min-width:0}
.tattis-case .tattis-services+.tattis-mockup{margin-top:38px}
.tattis-case .tattis-mockup img{display:block;width:100%;height:auto}
.tattis-case .tattis-mockup figcaption{margin-top:14px;color:#718288;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;line-height:1.5}
.tattis-case .hpe-next{padding:clamp(65px,7vw,95px) 0}
@media(max-width:1000px){.tattis-case .tattis-services{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){
  .tattis-case .hpe-hero{padding-bottom:40px}
  .tattis-case .hpe-hero-copy{padding:54px 0 42px}
  .tattis-case .hpe-cover img{aspect-ratio:1.5}
  .tattis-case .tattis-overview{padding:26px 0 65px}
  .tattis-case .tattis-overview-grid{grid-template-columns:minmax(0,1fr);gap:30px;padding-top:45px}
  .tattis-case .tattis-overview h2{font-size:calc(clamp(37px,8.8vw,58px) * var(--mx-font-scale,1));hyphens:auto}
  .tattis-case .tattis-services{gap:22px}
  .tattis-case .hpe-next{padding:65px 0}
}
