/* HPE-Case-Study: eigener lokaler Entwurf, abgestimmt auf style.css. */
.case-image-button{text-decoration:none}
.hpe-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hpe-hero{background:var(--night);color:#f5f7f6;padding:0 0 clamp(58px,7vw,112px)}
.hpe-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.18);color:#b7c4c9;font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.09em}
.hpe-topline a{text-decoration:none;color:inherit}.hpe-topline a:hover{color:#83d1ff}.hpe-topline a span{padding-right:9px}
.hpe-hero-copy{padding:clamp(75px,10vw,155px) 0 clamp(65px,8vw,118px)}
.hpe-kicker,.hpe-chapter-kicker{font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.12em;line-height:1.5}
.hpe-kicker{display:flex;align-items:center;gap:10px;color:#aec1c7;margin-bottom:30px}
.hpe-hero h1{font-size:calc(clamp(52px,7.2vw,110px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.065em;line-height:.98;max-width:1150px;margin:0 0 42px;overflow-wrap:anywhere}
.hpe-hero h1 em,.hpe-intro h2 em,.hpe-chapter h2 em,.hpe-next h2 em{font-family:var(--serif);font-weight:400}
.hpe-hero-bottom{display:flex;justify-content:space-between;align-items:end;gap:30px;color:#b7c7cb}.hpe-hero-bottom p{font-size:calc(clamp(16px,1.5vw,20px) * var(--mx-font-scale,1));line-height:1.6;max-width:500px;margin:0}.hpe-hero-bottom>span{font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;white-space:nowrap}
.hpe-cover{margin:0}.hpe-cover img{width:100%;aspect-ratio:2.05;object-fit:cover;object-position:center 55%;background:#29353a}.hpe-cover figcaption{display:flex;flex-direction:row;justify-content:space-between;gap:20px;margin-top:15px;color:#aebdc1;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em}
.hpe-intro{padding:35px 0 95px;background:#f2f5f4}.hpe-intro-layout{display:grid;grid-template-columns:.65fr 1.55fr;gap:45px;padding:95px 0 100px}.hpe-intro-layout .small-label{margin-top:12px}.hpe-intro h2,.hpe-chapter h2,.hpe-next 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 34px}.hpe-intro-layout>div>p{font-size:calc(18px * var(--mx-font-scale,1));line-height:1.75;color:#53656b;max-width:690px;margin:0}
.hpe-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #cfd8d8}.hpe-index a{display:flex;align-items:center;gap:12px;min-width:0;padding:24px 10px 24px 0;text-decoration:none;border-bottom:1px solid #cfd8d8}.hpe-index a>span:first-child{font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;color:#829196}.hpe-index strong{font-size:calc(14px * var(--mx-font-scale,1));font-weight:600;overflow-wrap:anywhere}.hpe-index a>span:last-child{margin-left:auto;color:var(--blue);font-size:calc(17px * var(--mx-font-scale,1))}.hpe-index a:hover strong{color:var(--blue)}
.hpe-chapter{padding:38px 0 clamp(85px,10vw,150px);scroll-margin-top:76px}.hpe-chapter-website{background:#fbfbf9}.hpe-chapter-groups{background:#eaf0ef}.hpe-chapter-cycle{background:#fbfbf9}.hpe-chapter-report{background:var(--night);color:#f5f7f6}
.hpe-chapter-meta{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid #d7dfdf;color:#718288;font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em}.hpe-chapter-report .hpe-chapter-meta{color:#aabcc2;border-color:#526168}
.hpe-chapter-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(45px,8vw,125px);align-items:center;padding-top:85px}.hpe-chapter-layout>*,.hpe-intro-layout>*{min-width:0}.hpe-chapter-reverse .hpe-chapter-copy{order:2}
.hpe-chapter-kicker{color:#71848a;margin-bottom:24px}.hpe-chapter h2{max-width:690px}.hpe-chapter-copy>p:not(.hpe-chapter-kicker){font-size:calc(16px * var(--mx-font-scale,1));line-height:1.75;color:#53656b;max-width:530px}.hpe-chapter-report .hpe-chapter-kicker{color:#aabec3}.hpe-chapter-report .hpe-chapter-copy>p:not(.hpe-chapter-kicker){color:#c5d0d2}
.hpe-visit{display:inline-flex;align-items:center;gap:30px;max-width:100%;margin-top:20px;padding:0 0 10px;border-bottom:1px solid currentColor;text-decoration:none;font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.08em;overflow-wrap:anywhere}.hpe-visit>span:not(.hpe-sr-only){color:var(--blue);font-size:calc(18px * var(--mx-font-scale,1))}.hpe-visit:hover{color:var(--blue)}
.hpe-type-panel,.hpe-report-graphic{min-width:0;min-height:400px;aspect-ratio:1.16;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(22px,3.5vw,52px)}.hpe-type-panel-light{background:#dfe9e6;color:#1a312c}.hpe-type-panel-groups{background:#d8e2df;color:#253936}.hpe-panel-top,.hpe-panel-bottom{display:flex;justify-content:space-between;gap:12px;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;line-height:1.5}.hpe-panel-top span:last-child,.hpe-panel-bottom span:last-child{text-align:right}
.hpe-panel-word{font-size:calc(clamp(95px,11vw,170px) * var(--mx-font-scale,1));letter-spacing:-.075em;line-height:.7;font-weight:600}.hpe-panel-word>span{color:#0877bd}.hpe-panel-word small{font-size:.52em;font-family:var(--serif);font-weight:400;font-style:italic}
.hpe-group-words{display:flex;flex-direction:column;gap:9px}.hpe-group-words>span:not(.hpe-group-divider){font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em;color:#61766f}.hpe-group-words strong{font-size:calc(clamp(36px,4.3vw,62px) * var(--mx-font-scale,1));font-weight:500;letter-spacing:-.055em;line-height:1.03;overflow-wrap:anywhere}.hpe-group-divider{width:48px;height:1px;background:#7a9189;margin:12px 0}
.hpe-cycle-photo{margin:0}.hpe-cycle-photo img{width:100%;aspect-ratio:1.16;object-fit:cover}.hpe-cycle-photo figcaption{margin-top:14px;color:#718288;font-size:calc(9px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.1em}
.hpe-report-graphic{background:#27353c;border:1px solid #516168;color:#e7eff0}.hpe-report-text{display:flex;flex-direction:column;overflow-wrap:anywhere}.hpe-report-text>span{font-size:calc(12px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.16em}.hpe-report-text strong{font-size:calc(clamp(54px,7vw,100px) * var(--mx-font-scale,1));font-family:var(--serif);font-weight:400;font-style:italic;line-height:1.1;letter-spacing:-.06em}.hpe-report-text strong span{color:#70c8ff}
.hpe-quote{background:#eef3f3;padding:clamp(85px,10vw,145px) 0}.hpe-quote-layout{display:grid;grid-template-columns:.65fr 1.55fr;gap:45px}.hpe-quote figure{margin:0}.hpe-quote blockquote{max-width:900px}.hpe-next{background:#fbfbf9;padding:95px 0 110px}.hpe-next-inner{display:flex;align-items:end;justify-content:space-between;gap:45px}.hpe-next h2{max-width:850px;margin-bottom:0}.hpe-next-links{display:flex;flex-direction:column;gap:23px;min-width:220px}.hpe-next-links a{display:flex;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid #9daeb3;text-decoration:none;font-size:calc(10px * var(--mx-font-scale,1));font-weight:700;letter-spacing:.08em}.hpe-next-links a span{color:var(--blue);font-size:calc(17px * var(--mx-font-scale,1))}.hpe-next-links a:hover{color:var(--blue)}
@media(max-width:900px){.hpe-chapter-layout{gap:40px}.hpe-intro-layout{grid-template-columns:1fr 2fr}.hpe-type-panel,.hpe-report-graphic{min-height:320px}.hpe-index{grid-template-columns:repeat(2,minmax(0,1fr))}.hpe-next-inner{align-items:start;flex-direction:column}.hpe-next-links{width:min(100%,400px)}}
@media(max-width:680px){.hpe-topline{font-size:calc(9px * var(--mx-font-scale,1));align-items:start}.hpe-topline>span{text-align:right}.hpe-hero-copy{padding:75px 0 60px}.hpe-hero h1{font-size:calc(clamp(43px,10vw,64px) * var(--mx-font-scale,1));line-height:1.03;margin-bottom:28px}.hpe-hero-bottom{align-items:start;flex-direction:column;gap:20px}.hpe-hero-bottom p{font-size:calc(16px * var(--mx-font-scale,1))}.hpe-cover img{aspect-ratio:1.3}.hpe-intro{padding:28px 0 70px}.hpe-intro-layout{grid-template-columns:minmax(0,1fr);gap:18px;padding:60px 0}.hpe-intro-layout .small-label{margin:0}.hpe-intro h2,.hpe-chapter h2,.hpe-next h2{font-size:calc(clamp(37px,8.8vw,58px) * var(--mx-font-scale,1));overflow-wrap:anywhere;hyphens:auto}.hpe-intro-layout>div>p{font-size:calc(16px * var(--mx-font-scale,1))}.hpe-index{grid-template-columns:minmax(0,1fr)}.hpe-chapter{padding:28px 0 85px}.hpe-chapter-layout{grid-template-columns:minmax(0,1fr);gap:45px;padding-top:55px}.hpe-chapter-reverse .hpe-chapter-copy{order:0}.hpe-type-panel,.hpe-report-graphic{min-height:310px;aspect-ratio:1.08}.hpe-panel-word{font-size:calc(clamp(82px,22vw,130px) * var(--mx-font-scale,1))}.hpe-group-words strong{font-size:calc(clamp(34px,8vw,52px) * var(--mx-font-scale,1))}.hpe-report-text strong{font-size:calc(clamp(46px,12vw,75px) * var(--mx-font-scale,1))}.hpe-cycle-photo img{aspect-ratio:1.08}.hpe-quote-layout{grid-template-columns:minmax(0,1fr);gap:20px}.hpe-quote{padding:85px 0}.hpe-next{padding:85px 0}.hpe-next-links{min-width:0}.hpe-chapter-meta span:last-child{text-align:right}}

/* Schmale Ansichten: die Bildkästen dürfen ihre Grid-Spalte nicht verbreitern. */
.hpe-panel-top span,.hpe-panel-bottom span{min-width:0;overflow-wrap:anywhere}
.hpe-panel-word{overflow-wrap:anywhere}
@media(max-width:680px){
  .hpe-type-panel,.hpe-report-graphic{width:100%;min-height:clamp(240px,calc(100vw - 44px),310px);aspect-ratio:auto}
}

/* HPE-Mockups: vollständige Bildmotive ohne Anschnitt; andere Cases bleiben unberührt. */
.hpe-case .hpe-cover img{height:auto;aspect-ratio:auto;object-fit:contain}
.hpe-case .hpe-website-layout{align-items:start}
.hpe-case .hpe-website-layout h2{margin-bottom:0}
.hpe-case .hpe-website-details{padding-top:42px}
.hpe-case .hpe-mockup{margin:0;min-width:0}
.hpe-case .hpe-mockup img{display:block;width:100%;height:auto}
.hpe-case .hpe-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}
.hpe-case .hpe-chapter-report .hpe-mockup figcaption{color:#aebdc1}
.hpe-case .hpe-chapter-report h2{hyphens:none}
@media(max-width:680px){
  .hpe-case .hpe-website-layout{gap:28px}
  .hpe-case .hpe-website-details{padding-top:0}
}
