/* ==========================================================================
   Projekte – /projekte/ after Studio Move /works (framer LAYOUT_SPEC ch. 0 + 2, MOTION_SPEC ch. 6),
   plus the Studio Move kit shared with the detail pages /projekte/<slug>/ (they load this file and projekt.css).
   Mokka nav (fill) + Forma footer from base.css; fonts: DM Sans for the template's sans presets,
   Darker Grotesque for its accent (serif) titles and big numbers (MOKKA_MAPPING feedback 18/19).
   ========================================================================== */

/* fixed Mokka nav bar height (set exactly by move-kit.js syncNavHeight) */
:root { --nav-h: 67.44px; --mv-pill: #f4f4f4; --mv-io-cubic: cubic-bezier(.645, .045, .355, 1); }
@media (max-width: 809.98px) { :root { --nav-h: 70px; } }

/* text: only the site presets (t-* in base.css, from Home) – the former Studio Move presets mv-ui / mv-em / mv-big /
   mv-acc / mv-num / mv-h2 were mapped to t-1nolgqy / t-qwa5w4 / t-1gbi15z and removed (MOKKA_MAPPING 46) */
.mv-link { color: inherit; text-decoration: none; transition: color .3s cubic-bezier(.44, 0, .56, 1); } /* mx6m87 */

.mv-main { padding-top: var(--nav-h); }

/* ---------- pill button (LAYOUT_SPEC 0.8 / MOTION_SPEC 1.6) ---------- */
.mv-pill {
  position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; flex: none;
  width: min-content; height: min-content; padding: 6px 12px; overflow: hidden; text-decoration: none;
  background: var(--mv-pill); border-radius: 0; /* Mokka: no rounded corners (template: 30px) */ color: #000; -webkit-user-select: none; user-select: none;
  transition: background-color .6s var(--mv-io-cubic);
}
.mv-pill__inner {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center;
  padding: 0 0 0 14px; overflow: visible; transition: padding .6s var(--mv-io-cubic);
}
.mv-pill__dot {
  position: absolute; top: 48%; left: 0; z-index: 1; width: 150px; height: 150px; border-radius: 0; background: #000; /* square fill (template: circle) */
  pointer-events: none; overflow: hidden; transform: translateY(-50%) scale(.05); transform-origin: 0% 50%;
  transition: left .6s var(--mv-io-cubic), top .6s var(--mv-io-cubic), transform .6s var(--mv-io-cubic);
}
.mv-pill__label { position: relative; z-index: 1; white-space: pre; color: #000; transition: color .6s var(--mv-io-cubic); }
.mv-pill.is-step-on .mv-pill__dot { left: 49%; transform: translate(-50%, -50%) scale(1.5); }
.mv-pill.is-step-on .mv-pill__label { color: #fff; }
.mv-pill.is-step-on .mv-pill__inner { padding: 0 7px; }
.mv-pill.is-hover { background: #000; transition: none; }
.mv-pill.is-hover .mv-pill__dot { top: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); transition: none; }
.mv-pill.is-hover .mv-pill__inner, .mv-pill.is-hover .mv-pill__label { transition: none; }

/* ==========================================================================
   /projekte/ (Works hItYm)
   ========================================================================== */
/* 2.1 Section 143ffdh */
.mv-works { display: flex; flex-direction: column; align-items: flex-start; gap: 80px; width: 100%; padding: 0 20px; overflow: visible; }

/* 2.1.1 Head 1nj58 – "Projekte" (accent) + "Übersicht" */
.mv-head { display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; width: 100%; min-height: 15vh; overflow: hidden; }
.mv-head__a { flex: 3 0 0px; width: 1px; white-space: pre-wrap; color: #000; }
.mv-head__a:first-child { flex: 1 0 0px; }

/* 2.1.2 List: rows cr0moe */
.mv-rows { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; position: relative; }
.mv-row { position: relative; z-index: 1; display: flex; flex-flow: row wrap; align-items: flex-start; gap: 0; width: 100%; }
.mv-row__col { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex: 1 0 0px; width: 1px; overflow: hidden; }
.mv-row__title { display: flex; flex-direction: column; justify-content: center; width: 100%; overflow: hidden; }
.mv-row__title > * { width: 100%; white-space: pre-wrap; color: #000; }
.mv-row__img {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  flex: 3 0 0px; width: 1px; aspect-ratio: 1.63358 / 1; text-decoration: none;
  transform: perspective(1200px) scale(.25); transform-origin: 100% 0%;
}
.mv-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* 2.2 Section "Kunden" e02lar */
.mv-clients { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; min-height: 100vh; padding: 80px 20px; overflow: visible; }
.mv-clients__row { display: flex; flex-direction: row; align-items: flex-start; flex: 1 0 0px; width: 1px; }
.mv-clients__label { display: flex; flex-direction: column; flex: 1 0 0px; width: 1px; padding: 8px 0 0; overflow: hidden; }
.mv-clients__label > p { white-space: pre; color: #000; }
.mv-clients__list { display: flex; flex-direction: column; flex: 3 0 0px; width: 1px; }
.mv-clients__item { display: flex; flex-flow: row wrap; align-items: center; width: 100%; }
.mv-clients__item > p { white-space: pre-wrap; color: #000; }

@media (min-width: 810px) and (max-width: 1199.98px) {
  .mv-clients { min-height: unset; }
}
@media (max-width: 809.98px) {
  .mv-works { gap: 20px; }
  .mv-head { flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 20vh; }
  .mv-head__a, .mv-head__a:first-child { flex: none; width: 100%; }
  .mv-rows { gap: 40px; }
  .mv-row { flex-direction: column; gap: 20px; }
  .mv-row__col { flex: none; order: 1; gap: 10px; width: 100%; }
  .mv-row__img { flex: none; order: 0; width: 100%; }
  .mv-clients { min-height: unset; flex-direction: column; gap: 20px; }
  .mv-clients__row { flex-direction: column; flex: none; width: 100%; }
  .mv-clients__label, .mv-clients__list { flex: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mv-row__img { transform: none; } }
/* Mokka: eine Überschrift, keine auseinandergezogenen Wortspalten */
.mv-head__a:first-child { flex: 1 1 auto; width: auto; }

/* MOKKA_MAPPING 108: Übersichtszeile wie die Angaben auf den Projektseiten – Titel schwarz, darunter grau die Art des
   Projekts (Markenentwicklung, Case Study …), „Ansehen“ im selben Pfeil-Link wie „pontico.de ansehen“ */
.mv-row__title > p { margin-top: 4px; opacity: .5; }
.mv-row__link { color: #000; }
