
@media(min-width:1001px){
  body[data-layout="5"][data-hero] .hbr{display:none}
  body[data-layout="5"][data-hero] .hero{padding:0;min-height:calc(100vh - 58px);display:flex;align-items:stretch;overflow:hidden}
  body[data-layout="5"][data-hero] .hero .wrap{max-width:none;width:100%;margin:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;align-content:center;align-items:start;justify-items:start;min-height:calc(100vh - 58px);column-gap:0}
  body[data-layout="5"][data-hero] .hero .wrap>*{grid-column:1;grid-row:auto;margin-left:0;margin-right:0}
  body[data-layout="5"][data-hero] .hero .wrap>.kicker{margin:0 0 30px}
  body[data-layout="5"][data-hero] .hero .wrap>h1{max-width:none;margin:0;font-size:clamp(2.4rem,4.6vw,5rem);line-height:1.04}
  body[data-layout="5"][data-hero] .hero .wrap>.hero-sub{max-width:520px;margin:34px 0 0}
  body[data-layout="5"][data-hero] .hero .wrap>.hero-bottom{margin:30px 0 0;padding:0}
  body[data-layout="5"][data-hero] .hero .wrap::after{position:absolute;top:0;bottom:0;height:auto;min-height:0;margin:0;border:0;grid-column:auto;grid-row:auto;background:var(--fog) url('../graphiken/foto-hero-soft.webp') no-repeat center 20%/cover}
}
@media(min-width:1001px){
  body[data-hero="a"] .hero .wrap{padding:60px 64px 60px calc(46% + 80px)}
  body[data-hero="a"] .hero .wrap::after{left:0;right:auto;width:46%;transform:scaleX(-1)}
}
@media(min-width:1001px){
  body[data-hero="b"] .hero .wrap{padding:60px calc(46% + 70px) 60px 64px}
  body[data-hero="b"] .hero .wrap::after{right:0;left:auto;width:46%}
}
@media(min-width:1001px){
  body[data-hero="c"] .hero .wrap{padding:64px;grid-template-columns:minmax(0,1fr) minmax(280px,30%) minmax(0,1fr);grid-template-rows:auto 1fr auto auto;column-gap:48px;align-content:stretch;align-items:start}
  body[data-hero="c"] .hero .wrap>.kicker{grid-column:1;grid-row:1}
  body[data-hero="c"] .hero .wrap>h1{grid-column:1;grid-row:2;font-size:clamp(1.9rem,3vw,3.4rem)}
  body[data-hero="c"] .hero .wrap>.hero-sub{grid-column:3;grid-row:3;align-self:end;max-width:none}
  body[data-hero="c"] .hero .wrap>.hero-bottom{grid-column:3;grid-row:4;align-self:end}
  body[data-hero="c"] .hero .wrap::after{left:50%;transform:translateX(-50%);width:30%;min-width:280px;top:48px;bottom:48px}
}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero .wrap{padding:60px calc(min(38%,680px) + 40px) 60px 72px}
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{right:3%;left:auto;bottom:0;top:auto;width:min(38%,680px);height:min(86%,820px);background:url('../graphiken/foto-home.webp?v=2') no-repeat right bottom/contain}
  body[data-layout="5"][data-hero="d"] .hero .wrap>h1{font-size:clamp(2.4rem,4.4vw,4.8rem)}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.hero-sub{max-width:560px}
}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero{min-height:calc((100vh - 58px) * .87)}
  body[data-layout="5"][data-hero="d"] .hero .wrap{min-height:calc((100vh - 58px) * .87);padding-right:calc(min(33%,590px) + 40px)}
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{width:min(33%,590px);height:min(75%,710px)}
}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero .wrap{padding-left:160px;padding-right:calc(min(33%,590px) + 12% - 100px)}
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{right:12%}
}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero .wrap>.kicker,
  body[data-layout="5"][data-hero="d"] .hero .wrap>h1{position:relative;top:-40px}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.hero-bottom{margin-top:52px}
}
@media(max-width:1000px){
  body[data-layout="5"][data-hero="d"] .hbr{display:none}
  body[data-layout="5"][data-hero="d"] .hero{padding:48px 22px 0;min-height:0;overflow:hidden}
  body[data-layout="5"][data-hero="d"] .hero .wrap{display:block;position:relative;padding:0;min-height:0;max-width:640px;margin:0 auto}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.kicker{margin-bottom:20px}
  body[data-layout="5"][data-hero="d"] .hero .wrap>h1{font-size:clamp(2rem,8.4vw,3.4rem);line-height:1.06;max-width:none}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.hero-sub{max-width:none;margin:22px 0 0}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.hero-bottom{margin:26px 0 0;padding:0;border:0}
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{content:"";display:block;position:relative;right:auto;left:auto;top:auto;bottom:auto;width:100%;height:clamp(300px,82vw,460px);margin:10px 0 0;border:0;background:url('../graphiken/foto-home.webp?v=2') no-repeat center bottom/contain}
}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero{position:relative}
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{display:none}
  body[data-layout="5"][data-hero="d"] .hero::after{content:"";position:absolute;right:0;top:0;bottom:0;width:38%;background:url('../graphiken/foto-home.webp?v=2') no-repeat center 18%/cover}
  body[data-layout="5"][data-hero="d"] .hero .wrap{padding-left:120px;padding-right:calc(38% + 60px)}
  body[data-layout="5"][data-hero="d"] .hero .wrap>.hero-bottom{border-bottom:0}
}
body[data-layout="5"][data-hero="d"] .photo-note{position:absolute;z-index:2;right:12px;bottom:14px;writing-mode:vertical-rl;font-family:var(--font-label);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--paper);opacity:.85}
@media(max-width:1000px){body[data-layout="5"][data-hero="d"] .photo-note{right:auto;left:calc(50% - min(min(100vw - 44px,640px),clamp(300px,82vw,460px)*.83)/2 + 12px);bottom:12px;writing-mode:horizontal-tb}}
@media(max-width:1000px){
  body[data-layout="5"][data-hero="d"] .hero .wrap::after{width:100vw;margin:18px 0 0 calc(50% - 50vw);height:min(108vw,620px);background-size:cover;background-position:center 30%}
  body[data-layout="5"][data-hero="d"] .photo-note{left:14px}
}
body[data-layout="5"][data-hero="d"] .hero::before{content:"";position:absolute;z-index:1;pointer-events:none;border:1px solid rgba(42,34,32,.55)}
@media(min-width:1001px){
  body[data-layout="5"][data-hero="d"] .hero::before{right:18px;top:18px;bottom:18px;width:calc(38% - 36px)}
  body[data-layout="5"][data-hero="d"] .photo-note{right:26px;bottom:30px}
}
@media(max-width:1000px){
  body[data-layout="5"][data-hero="d"] .hero::before{left:14px;right:14px;bottom:14px;height:calc(min(108vw,620px) - 28px)}
  body[data-layout="5"][data-hero="d"] .photo-note{left:30px;bottom:28px}
}
