/* Compact print gallery: the work stays primary, labels remain calm. */
.logo-marquee__track--left{animation-duration:70s}.logo-marquee__track--right{animation-duration:76s}
.references-grid:not(.references-grid-web){grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:minmax(225px,18vw);grid-auto-flow:row dense;gap:4px;background:#d7dddd}
.references-grid:not(.references-grid-web) .reference-card-wide{grid-column:span 2;grid-row:span 1}.references-grid:not(.references-grid-web) .reference-card{grid-template-rows:minmax(0,1fr) auto;transition:box-shadow .28s ease,background .28s ease}.references-grid:not(.references-grid-web) .reference-card img{padding:clamp(12px,1.5vw,28px);transition:filter .28s ease}.references-grid:not(.references-grid-web) .reference-card>div{position:relative;inset:auto;padding:10px 12px 12px;background:#fff;min-height:67px;transition:background .28s ease,color .28s ease}.references-grid:not(.references-grid-web) .reference-card p{font-size:8px;margin-bottom:4px}.references-grid:not(.references-grid-web) .reference-card h3{font-size:clamp(.9rem,1.15vw,1.18rem);line-height:1.05}.references-grid:not(.references-grid-web) .reference-card:hover{box-shadow:inset 0 0 0 3px #8f2c7e;z-index:1}.references-grid:not(.references-grid-web) .reference-card:hover>div{position:relative;inset:auto;display:block;padding:10px 12px 12px;background:#f1edf0;color:#13202a}.references-grid:not(.references-grid-web) .reference-card:hover p{color:#8f2c7e}.references-grid:not(.references-grid-web) .reference-card:hover h3{font-size:clamp(.9rem,1.15vw,1.18rem);max-width:none}.references-grid:not(.references-grid-web) .reference-card:hover span{display:none}.references-grid:not(.references-grid-web) .reference-card:hover img{filter:saturate(.9) brightness(.96)}
@media(max-width:1100px){.references-grid:not(.references-grid-web){grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(235px,25vw)}}@media(max-width:700px){.references-grid:not(.references-grid-web){grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(250px,48vw)}.references-grid:not(.references-grid-web) .reference-card-wide{grid-column:span 2}}@media(max-width:420px){.references-grid:not(.references-grid-web){grid-template-columns:1fr;grid-auto-rows:minmax(290px,88vw)}.references-grid:not(.references-grid-web) .reference-card-wide{grid-column:span 1}}

/* Print work is staged as a product, while the original artwork stays untouched. */
.references-grid:not(.references-grid-web){background:#d5dcdf}
.references-grid:not(.references-grid-web) .reference-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(18px,2vw,34px) clamp(14px,1.5vw,28px) 0;
  background:radial-gradient(ellipse at 50% 96%,rgba(9,21,28,.22),transparent 37%),linear-gradient(145deg,#eff3f1,#cbd6d8)!important;
  perspective:1100px;
}
.references-grid:not(.references-grid-web) .reference-card::before{
  content:"";
  position:absolute;
  z-index:0;
  left:12%;
  right:12%;
  bottom:79px;
  height:34%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(6,17,24,.3),rgba(6,17,24,0) 68%);
  filter:blur(8px);
  pointer-events:none;
}
.references-grid:not(.references-grid-web) .reference-card img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  margin:auto;
  padding:0!important;
  object-fit:contain;
  filter:drop-shadow(0 22px 16px rgba(9,19,25,.25))!important;
  transform:perspective(1000px) rotateX(4deg) rotateZ(-2deg) translateY(-2px);
  transform-origin:center bottom;
  transition:transform .7s cubic-bezier(.2,.75,.2,1),filter .5s ease!important;
}
.references-grid:not(.references-grid-web) .reference-card:hover img{transform:perspective(1000px) rotateX(0) rotateZ(0) translateY(-8px) scale(1.035);filter:drop-shadow(0 30px 20px rgba(9,19,25,.32))!important}
.references-grid:not(.references-grid-web) .reference-card>div{
  z-index:3;
  margin:0 calc(clamp(14px,1.5vw,28px) * -1);
  padding:12px clamp(14px,1.5vw,28px) 15px!important;
  background:#fff!important;
  border-top:1px solid rgba(17,32,42,.14);
}
.references-grid:not(.references-grid-web) .reference-card:hover>div{background:#fff!important;color:#13202a!important}

/* Supplied real-world mockups: show the photograph exactly as delivered. */
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  min-height:clamp(16rem,22vw,22rem);
  padding:0;
  overflow:hidden;
  background:#0b1623!important;
  border-color:rgba(255,255,255,.14);
  box-shadow:0 1.2rem 2.8rem rgba(0,0,0,.18);
}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup::before,.references-grid:not(.references-grid-web) .reference-card.is-real-mockup::after{display:none!important}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup img{
  position:relative;
  z-index:0;
  width:100%;
  height:100%;
  min-height:0;
  padding:0!important;
  object-fit:cover;
  object-position:center;
  transform:none!important;
  filter:none!important;
  box-shadow:none!important;
}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup>div{
  position:relative;
  z-index:1;
  margin:0;
  padding:.9rem 1rem 1rem!important;
  border-top:1px solid rgba(255,255,255,.12);
  background:#101d2a!important;
  color:#fff!important;
}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup>div p{color:#72cee4!important}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup>div h3{color:#fff!important}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup>div span{display:block;color:rgba(255,255,255,.67)!important}
.references-grid:not(.references-grid-web) .reference-card.is-real-mockup:hover img{transform:scale(1.025)!important}

/* Folded DIN-long flyers. */
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="flyer"]){background:radial-gradient(ellipse at 50% 96%,rgba(9,21,28,.24),transparent 39%),linear-gradient(145deg,#e9eeee,#c3d0d3)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="flyer"]) img{width:76%;height:87%;transform:perspective(1000px) rotateX(6deg) rotateZ(-3deg) translateY(0);filter:drop-shadow(12px 24px 14px rgba(9,19,25,.28))!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="flyer"])::after{content:"";display:block;position:absolute;z-index:2;top:13%;right:auto;bottom:88px;left:50%;width:1px;background:linear-gradient(180deg,transparent,rgba(15,27,34,.34) 18%,rgba(255,255,255,.55) 50%,rgba(15,27,34,.22) 82%,transparent);box-shadow:1px 0 rgba(255,255,255,.52);pointer-events:none}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="flyer"]):hover img{transform:perspective(1000px) rotateX(1deg) rotateZ(-1deg) translateY(-8px) scale(1.03)}

/* Physical product silhouettes by production type. */
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="rollup"]){background:linear-gradient(180deg,#e7eeed 0 72%,#b8c8c9 72% 100%)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="rollup"]) img{width:46%;height:92%;transform:perspective(1000px) rotateY(-8deg) translateY(3px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="rollup"])::after{content:"";display:block;position:absolute;z-index:2;top:auto;right:auto;width:54%;height:10px;border-radius:50%;bottom:91px;left:23%;background:linear-gradient(#3b4850,#0e1a21);box-shadow:0 5px 8px rgba(7,15,20,.24)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="speisekarte"]),.references-grid:not(.references-grid-web) .reference-card:has(img[src*="getraenkekarte"]){background:radial-gradient(circle at 65% 22%,rgba(255,208,129,.18),transparent 30%),linear-gradient(145deg,#26343a,#10191f)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="speisekarte"]) img,.references-grid:not(.references-grid-web) .reference-card:has(img[src*="getraenkekarte"]) img{width:80%;height:86%;transform:perspective(900px) rotateX(23deg) rotateZ(-4deg) translateY(9px);filter:drop-shadow(16px 26px 13px rgba(0,0,0,.48))!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="gutschein"]){background:linear-gradient(145deg,#41362d,#171d21)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="gutschein"]) img{width:90%;height:68%;transform:perspective(900px) rotateX(18deg) rotateZ(-4deg) translateY(18px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="visitenkarte"]){background:linear-gradient(145deg,#d9e1e0,#9eafb1)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="visitenkarte"]) img{width:86%;height:62%;transform:perspective(900px) rotateX(26deg) rotateZ(-6deg) translateY(24px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="briefpapier"]){background:linear-gradient(145deg,#dfe8e8,#b5c6c8)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="briefpapier"]) img{width:74%;height:90%;transform:perspective(1000px) rotateX(7deg) rotateZ(-3deg) translateY(2px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="umschlag"]){background:linear-gradient(145deg,#dbe6e7,#aabec0)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="umschlag"]) img{width:94%;height:70%;transform:perspective(900px) rotateX(20deg) rotateZ(3deg) translateY(18px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="stempel"]){background:repeating-linear-gradient(0deg,rgba(70,82,78,.025) 0 1px,transparent 1px 5px),linear-gradient(145deg,#f8f5ed,#ded8cb)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="stempel"])::before{left:9%;right:9%;bottom:76px;height:54%;border-radius:2px;background:rgba(255,255,255,.54);filter:none;box-shadow:0 12px 28px rgba(34,35,28,.12)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="stempel"]) img{width:84%;height:60%;mix-blend-mode:multiply;opacity:.78;filter:contrast(1.22) saturate(.32)!important;transform:rotateZ(-2deg) translateY(13px)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="stempel"]):hover img{transform:rotateZ(-1deg) translateY(8px) scale(1.025)!important;filter:contrast(1.34) saturate(.24)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="terminblock"]){background:linear-gradient(145deg,#e9eeee,#b8c9cb)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="terminblock"]) img{width:68%;height:86%;transform:perspective(1000px) rotateX(11deg) rotateZ(-5deg) translateY(7px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="zollstock"]){background:linear-gradient(145deg,#ccd7d8,#869b9e)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="zollstock"]) img{width:92%;height:48%;transform:perspective(800px) rotateX(25deg) rotateZ(-8deg) translateY(32px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="jahresplaner"]),.references-grid:not(.references-grid-web) .reference-card:has(img[src*="wandkalender"]){background:linear-gradient(145deg,#e4e9e8,#aebdbf)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="jahresplaner"]) img,.references-grid:not(.references-grid-web) .reference-card:has(img[src*="wandkalender"]) img{width:74%;height:88%;transform:perspective(1000px) rotateX(3deg) rotateZ(-2deg) translateY(0)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="banner"]){background:linear-gradient(180deg,#dfe8e9 0 58%,#b5c5c6 58% 100%)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="banner"]) img{width:96%;height:65%;transform:perspective(900px) rotateX(8deg) rotateZ(-1deg) translateY(20px)}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="poster"]){background:linear-gradient(145deg,#d6e0e0,#a8bbbd)!important}
.references-grid:not(.references-grid-web) .reference-card:has(img[src*="poster"]) img{width:64%;height:90%;transform:perspective(1000px) rotateX(3deg) rotateZ(1deg) translateY(0)}
@media(max-width:700px){.references-grid:not(.references-grid-web) .reference-card:has(img[src*="flyer"])::after{bottom:83px}.references-grid:not(.references-grid-web) .reference-card::before{bottom:73px}}

/* On phones the extensive portfolio becomes a swipeable carousel instead of a long vertical wall. */
@media(max-width:700px){
  .references .reference-swipe-hint{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 0 10px;color:#54717a;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
  .references .reference-swipe-hint i{width:9px;height:9px;border:solid #39b7c6;border-width:0 1.5px 1.5px 0;transform:rotate(135deg);animation:swipe-nudge 1.6s ease-in-out infinite}
  .references .reference-swipe-hint i:last-child{transform:rotate(-45deg);animation-delay:.16s}
  .references .references-grid,
  .references .references-grid.references-grid-web{
    display:flex!important;
    width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    padding:0 14vw 22px!important;
    gap:14px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:14vw;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:rgba(57,183,198,.65) transparent;
  }
  .references .references-grid::-webkit-scrollbar{height:5px}
  .references .references-grid::-webkit-scrollbar-thumb{background:rgba(57,183,198,.65);border-radius:99px}
  .references .references-grid .reference-card,
  .references .references-grid .reference-card.reference-card-wide,
  .references .references-grid.references-grid-web .reference-card,
  .references .references-grid.references-grid-web .reference-card.reference-card-wide{
    flex:0 0 min(72vw,340px)!important;
    width:min(72vw,340px)!important;
    min-height:clamp(360px,104vw,470px)!important;
    scroll-snap-align:center;
    scroll-snap-stop:always;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .references .references-grid:not(.references-grid-web) .reference-card>div{padding:13px 15px 15px}
  .references .references-grid.references-grid-web .reference-card{transform:none!important}
}
@media(min-width:701px){.reference-swipe-hint{display:none}}
@keyframes swipe-nudge{0%,100%{opacity:.5}50%{opacity:1;translate:3px 0}}

/* Every supplied artwork is staged on a material surface, never left floating in empty space. */
.references-grid:not(.references-grid-web) .reference-card:not(.is-real-mockup)::before{
  left:7%;
  right:7%;
  bottom:68px;
  height:49%;
  border-radius:5px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.76),rgba(160,180,181,.42)),
    repeating-linear-gradient(0deg,rgba(24,42,46,.045) 0 1px,transparent 1px 5px)!important;
  box-shadow:0 25px 30px rgba(8,19,25,.18),inset 0 1px rgba(255,255,255,.65);
  filter:none;
  opacity:.92;
  transform:perspective(900px) rotateX(61deg) translateY(24%);
  transform-origin:center bottom;
}
.references-grid:not(.references-grid-web) .reference-card:not(.is-real-mockup):nth-child(4n+2)::before{
  background:linear-gradient(135deg,rgba(242,230,210,.76),rgba(129,103,78,.35)),repeating-linear-gradient(90deg,rgba(72,48,29,.12) 0 1px,transparent 1px 12px)!important;
}
.references-grid:not(.references-grid-web) .reference-card:not(.is-real-mockup):nth-child(4n+3)::before{
  background:linear-gradient(135deg,rgba(227,235,234,.8),rgba(121,145,147,.38)),repeating-linear-gradient(45deg,rgba(15,34,39,.045) 0 1px,transparent 1px 6px)!important;
}
.references-grid:not(.references-grid-web) .reference-card:not(.is-real-mockup):nth-child(4n)::before{
  background:linear-gradient(135deg,rgba(242,240,231,.82),rgba(172,162,142,.42)),repeating-linear-gradient(0deg,rgba(79,66,46,.055) 0 1px,transparent 1px 8px)!important;
}
.references-grid:not(.references-grid-web) .reference-card:not(.is-real-mockup) img{position:relative;z-index:2}
