/* Version 52 — centered content on larger screens, full-bleed section backgrounds. */
:root { --content-max: 1240px; }
*, *::before, *::after { box-sizing: border-box; }
.site-shell {
  width: min(var(--content-max), calc(100% - 2 * clamp(24px, 4.4vw, 80px)));
  margin-inline: auto;
  min-width: 0;
}

/* Constrain the layout rather than the background panels. */
header { height: auto; padding-inline: 0 !important; display: block; }
header .header-inner {
  min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.hero, main > .section { padding-inline: 0 !important; }
footer { padding-inline: 0 !important; display: block; }
footer .footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}

/* Intro is a 2-column layout, but the coloured background stays full width. */
main > .intro { display: block !important; }
main > .intro > .intro-shell {
  display: grid; grid-template-columns: minmax(150px, 21%) minmax(0,1fr);
  align-items: start; gap: 32px;
}

/* Avoid visually magnifying copy on ultrawide monitors. */
@media (min-width: 1181px) {
  .hero h1 { font-size: clamp(95px, 7vw, 132px); max-width: 100%; }
  .work h2, .services h2, .client h2 { font-size: clamp(72px, 5vw, 96px); }
  .contact h2 { font-size: clamp(77px, 6.7vw, 127px); }
  .intro.section .intro-main .intro-body p.intro-greeting { font-size: clamp(42px, 3.3vw, 56px); }
}

/* Retain the intended edge-to-edge desk photograph; cap cropping on ultrawide. */
@media (min-width: 761px) {
  .desk-layer .desk-frame img { height: clamp(350px, 34vw, 640px); aspect-ratio: auto; object-fit: cover; }
}

/* Intro's previous tablet breakpoint affected the section itself; apply that to its inner layout. */
@media (max-width: 1050px) {
  main > .intro > .intro-shell { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .site-shell { width: 90%; }
  header { padding: 0 !important; }
  header .header-inner {
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start; min-height: 0;
    gap: 15px; padding-block: 19px 17px;
  }
  main > .intro > .intro-shell { grid-template-columns: 1fr; gap: 26px; }
  footer .footer-inner { flex-wrap: wrap; align-items: flex-start; gap: 15px; }
  /* Keep the originally tuned responsive font sizes. */
}


/* Desk bleibt zentriert; nicht über native Bildbreite von 1080px skalieren */
.desk-layer .desk-frame {max-width:1080px; margin-inline:auto;}

/* Version 60 — das vollständige, unbeschnittene Originalportrait, ohne Parallax. */
.intro .intro-portrait {
  position: relative !important;
  top: auto !important;
  align-self: start;
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: hidden;
  border-radius: 15px;
}
.intro .intro-portrait img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  will-change: auto;
}
@media (max-width: 760px) {
  .intro .intro-portrait {
    position: relative !important;
    border-radius: 12px;
  }
}


/* Version 62: Desk-Parallax-Spalt um 20 % in der Höhe geöffnet.
   Volle Browserbreite und Scroll-Parallax unverändert. */
.desk-layer .desk-frame.desk-frame--slit {
  height: clamp(228px, 16.8vw, 360px) !important;
}
@media (max-width: 760px) {
  .desk-layer .desk-frame.desk-frame--slit {
    height: clamp(174px, 50.4vw, 264px) !important;
  }
}


/* Version 63 — längere Kunden-Headline bleibt auf genau zwei Zeilen. */
#clients .client-copy h2.client-headline {
  font-size: clamp(29px, 2.75vw, 47px);
  line-height: 1.08;
}
#clients .client-headline span { display: block; white-space: nowrap; }
@media (max-width: 1050px) {
  #clients .client-copy h2.client-headline { font-size: clamp(31px, 4.45vw, 51px); }
}
@media (max-width: 760px) {
  #clients .client-copy h2.client-headline { font-size: clamp(24px, 6.7vw, 41px); }
}

/* Logos skalieren langsam, nur ihr Inhalt — Film-Kacheln bleiben exakt gleich groß. */
.film-frame--interactive .film-play .brand-media {
  transform: translateZ(0) scale(1);
  transform-origin: center center;
  transition: transform 4s linear;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .film-frame--interactive:not(.is-opening):not(.is-playing) .film-play:hover .brand-media {
    transform: translateZ(0) scale(1.25);
  }
}
.film-frame--interactive:not(.is-opening):not(.is-playing) .film-play:focus-visible .brand-media {
  transform: translateZ(0) scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .film-frame--interactive .film-play .brand-media { transition: none; will-change:auto; }
}


/* Version 66 — Ansatzlabel als eigene Zeile ueber Text und Portrait */
main > .intro > .intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
}
main > .intro > .intro-shell > .intro-title {
  padding-top: 0;
  margin: 0;
  line-height: 1.35;
}
main > .intro > .intro-shell > .intro-main {
  min-width: 0;
  width: 100%;
  align-items: start;
}
@media (max-width: 1050px) {
  main > .intro > .intro-shell { row-gap: 20px; }
}
@media (max-width: 760px) {
  main > .intro > .intro-shell { row-gap: 14px; }
}


/* Version 67: Portrait um 20 Prozent schmaler, ohne Beschnitt. */
@media (min-width: 761px) {
  .intro .intro-main { grid-template-columns: minmax(0, 1fr) minmax(0, 26.4%); }
}
@media (max-width: 760px) {
  .intro .intro-main { grid-template-columns: minmax(0, 1fr); }
  .intro .intro-portrait { width: 80%; max-width: 400px; margin-inline: auto; }
}


/* Version 69: etwas mehr Weißraum nach „Storytelling.“. */
main .hero .hero-bottom {
  margin-top: clamp(16px, 1.8vw, 24px);
}
@media (max-width: 760px) {
  main .hero .hero-bottom { margin-top: 14px; }
}


/* Version 70: Kontaktcopy in derselben Typografie wie das Kundenstatement. */
#contact > .site-shell > p {
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.45;
  font-weight: 400;
}
@media (max-width: 760px) {
  #contact > .site-shell > p {
    font-size: clamp(19px, 4.8vw, 23px);
  }
}


/* Version 71: Kundenbereich als einzeilige, scrollgesteuerte Typografie mit Logo-Wand darunter. */
#clients .client-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(30px, 4.7vw, 62px);
}
#clients .client-copy {
  width:100%;
  max-width:100%;
  min-width:0;
}
#clients .client-copy h2.client-headline--slot {
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  align-items:center;
  justify-content:center;
  gap:clamp(7px, 1.55vw, 24px);
  font-family: Manrope, 'DM Sans', Arial, sans-serif;
  font-size:clamp(13px, 4.55vw, 62px);
  font-weight:700;
  letter-spacing:-.067em;
  line-height:1.14;
  white-space:nowrap;
  margin:0;
  padding:0;
}
#clients .client-headline--slot .client-headline-group {
  display:inline-flex;
  flex:0 0 auto;
  gap:0;
  align-items:center;
  white-space:nowrap;
  line-height:1.14;
}
#clients .client-headline--slot .client-headline-group {gap:.16em;}
#clients .client-headline--slot .client-slot {
  --reel-line-height: 1.14em;
  display:inline-block;
  position:relative;
  flex:0 0 auto;
  height:var(--reel-line-height);
  overflow:hidden;
  vertical-align:middle;
  transition:width 550ms cubic-bezier(.22,.61,.36,1);
}
#clients .client-headline--slot .client-slot-track {
  display:flex;
  flex-direction:column;
  width:max-content;
  transform:translate3d(0,0,0);
  transition:transform 710ms cubic-bezier(.21,.85,.24,1);
  will-change: transform;
}
#clients .client-headline--slot .client-slot-word {
  display:block;
  height:var(--reel-line-height);
  line-height:var(--reel-line-height);
  white-space:nowrap;
}
#clients .client-headline--slot .client-headline-suffix {display:inline-block;line-height:1.14;}
#clients .client-logo-area {
  width:min(100%, 1080px);
  max-width:100%;
  margin-inline:auto;
}
#clients .client-logo-desktop { width:100%; max-width:100%; margin-inline:auto; }
@media (max-width:760px) {
  #clients .client-layout {gap:clamp(22px, 5vw, 32px);}
  #clients .client-copy h2.client-headline--slot {
    font-size: clamp(13px, 4.55vw, 34px);
    gap:clamp(5px, 1.5vw, 12px);
    letter-spacing:-.07em;
    justify-content: flex-start;
  }
  #clients .client-logo-area {margin-inline:0;}
}
@media (prefers-reduced-motion:reduce) {
  #clients .client-headline--slot .client-slot,
  #clients .client-headline--slot .client-slot-track {transition:none!important;will-change:auto;}
}


/* Version 72: feste Position von Stories./People.; lesbare Nachbarwörter oben/unten.
   Jedes Adjektiv-Fenster bekommt die Breite des längsten Wortes, die Labels springen nicht. */
#clients .client-copy h2.client-headline--slot {
  overflow: visible;
}
#clients .client-headline--slot .client-headline-group {
  gap: .30em;
  align-items: center;
}
#clients .client-headline--slot .client-slot {
  --slot-row-height: 1.12em;
  height: 2.12em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  /* oben/unten: ca. ein Drittel der anderen Wörter als Vorschau */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.27) 0%, rgba(0,0,0,.67) 17%, black 30%, black 70%, rgba(0,0,0,.67) 83%, rgba(0,0,0,.27) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.27) 0%, rgba(0,0,0,.67) 17%, black 30%, black 70%, rgba(0,0,0,.67) 83%, rgba(0,0,0,.27) 100%);
  transition: none !important; /* Breite bleibt in allen Rollen gleich. */
  contain: layout paint;
}
#clients .client-headline--slot .client-slot-track {
  width: 100%;
  align-items: stretch;
  transition: transform 680ms cubic-bezier(.2,.82,.2,1);
}
#clients .client-headline--slot .client-slot-word {
  display: block;
  width: 100%;
  flex: 0 0 var(--slot-row-height);
  height: var(--slot-row-height);
  line-height: var(--slot-row-height);
  text-align: right;
  white-space: nowrap;
}
#clients .client-headline--slot .client-headline-suffix {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 760px) {
  #clients .client-copy h2.client-headline--slot { letter-spacing: -.074em; }
  #clients .client-headline--slot .client-headline-group { gap:.29em; }
}
@media (prefers-reduced-motion: reduce) {
  #clients .client-headline--slot .client-slot-track { transition: none !important; }
}


/* Version 73 — ausreichend Platz für lange Wortwalzen, pink beim Einrasten. */
#clients .client-headline--slot .client-slot {
  /* Text sitzt mit Abstand zu den beiden Seiten innerhalb seiner Wortwalze. */
  padding-inline: 5px;
  box-sizing: border-box;
}
#clients .client-headline--slot .client-slot-word {
  color: #7e807a;
  transition: color .45s ease;
}
#clients .client-headline--slot .client-slot-word.is-locked {
  color: #FF39B8;
}
/* Probe für genaue Textmessung unabhängig von mask, flex und abgeschnittenem Track. */
#clients .client-headline--slot .client-slot-measure {
  position: absolute !important;
  inset: auto !important;
  left: -10000px !important;
  display: inline-block !important;
  width: max-content !important;
  max-width: none !important;
  height: auto !important;
  white-space: nowrap !important;
  visibility: hidden !important;
  pointer-events: none !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}
@media (prefers-reduced-motion: reduce) {
  #clients .client-headline--slot .client-slot-word { transition: none !important; }
}


/* Version 74 — Abschnittskennzeichnungen und Auszeichnungen besser lesbar. */
main .section .eyebrow > span:first-child,
main .section .eyebrow > :first-child {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .13em;
}
main > .intro > .intro-shell > .intro-title {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: .12em;
}
#clients .awards-label > span {
  font-size: 15px;
  letter-spacing: .11em;
  line-height: 1.4;
}
#clients .awards-label > small {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .06em;
}
@media (max-width: 760px) {
  main .section .eyebrow {
    flex-wrap: wrap;
    row-gap: 5px;
  }
  main .section .eyebrow > span:first-child,
  main .section .eyebrow > :first-child { font-size: 13px; }
  main > .intro > .intro-shell > .intro-title { font-size: 15px; }
  #clients .awards-label > span { font-size: 14px; }
  #clients .awards-label > small { font-size: 12px; }
}


/* Version 79 — farbiges, freigestelltes DK-Dreieck im Header und Footer. */
header .header-inner > a.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}
header .header-inner > a.logo .header-triangle {
  display: block;
  flex: 0 0 auto;
  height: 45px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
header .header-inner > a.logo .logo-wordmark {
  display: block;
  flex: 0 1 auto;
  line-height: 1.05;
}
footer .footer-mark img.footer-triangle {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 40px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}
@media (min-width: 761px) and (max-width: 950px) {
  header .header-inner > a.logo { gap: 8px; font-size: 15px; }
  header .header-inner > a.logo .header-triangle { height: 36px; }
}
@media (max-width: 760px) {
  header .header-inner > a.logo { gap: 11px; }
  header .header-inner > a.logo .header-triangle { height: 42px; }
  footer .footer-mark img.footer-triangle { height: 34px; }
}


/* Version 80: Header emblem never exceeds the two-line wordmark height.
   HTML width/height attributes and inline dimensions also protect against cached CSS. */
header .header-inner > a.logo { display:inline-flex; align-items:center; gap:12px; }
header .header-inner > a.logo .header-triangle {
  display:block; width:30px !important; height:36px !important;
  min-width:30px !important; max-width:30px !important;
  min-height:36px !important; max-height:36px !important;
  flex:0 0 30px !important; object-fit:contain;
}
