/* Automatisch erzeugt von scripts/build-home-css.mjs – nicht direkt bearbeiten. */
/* site.css */
/*
 * TFA Media – native design system
 * Warm surfaces with blue-violet brand accents. Replace tokens, not component-level colors.
 */

/* Inter 4.1, supplied unchanged from https://rsms.me/inter/.
   Both styles are hosted here; see assets/fonts/inter-OFL.txt for the license. */
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-variable-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-bg: #f7f2e9;
  --color-bg-soft: #efe6d9;
  --color-surface: #fffaf4;
  --color-surface-strong: #f2e7d8;
  --color-surface-light: #fbf7f0;
  --color-text: #17130f;
  --color-text-dark: #0b0a08;
  --color-muted: #756e64;
  --color-muted-strong: #4e4840;
  --color-line: rgba(23, 19, 15, 0.13);
  --color-line-strong: rgba(23, 19, 15, 0.24);
  --color-accent: #3f63d9;
  --color-accent-soft: rgba(63, 99, 217, 0.12);
  --color-accent-strong: #304db2;
  --color-danger: #ff7068;
  --color-success: #9eea73;
  --color-focus: #3f63d9;
  --color-selection-bg: #cdd9ff;
  --color-selection-text: #10182e;
  --color-accent-light: #a5b4ff;

  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 84rem;
  --gutter: clamp(1.1rem, 3vw, 3rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;

  --shadow-float: 0 2rem 6rem rgba(55, 45, 32, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-height: 5.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
  color-scheme: light;
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% -10%, rgba(184, 154, 106, 0.16), transparent 31rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(.mobile-menu[open]) {
  overflow: hidden;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
summary,
select,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 8.3vw, 8.2rem);
}

h2 {
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--color-selection-bg);
  color: var(--color-selection-text);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.eyebrow,
.micro-label {
  margin-bottom: 1rem;
  color: var(--color-muted-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.micro-label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--color-muted);
  font-size: 0.64rem;
}

.text-accent {
  background: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

@media (forced-colors: active) {
  .text-accent {
    background: none;
    color: LinkText;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient-noise {
  position: fixed;
  z-index: 1500;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

html.js:where(.has-reveal-controller) [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 700ms var(--ease-out),
    transform 850ms var(--ease-out);
}

html.js:where(.has-reveal-controller) [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23, 19, 15, 0.12);
  background: rgba(247, 242, 233, 0.96);
  box-shadow: 0 0.5rem 2rem rgba(55, 45, 32, 0.035);
  color: var(--color-text);
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 19, 15, 0.16);
  background: rgba(247, 242, 233, 0.9);
  backdrop-filter: blur(1.25rem) saturate(135%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  position: relative;
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
}

.brand__pixel-trail {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0.9rem;
  width: 1px;
  height: 2.6rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.brand__pixel {
  --pixel-distance: -2.5rem;
  --pixel-drift: 0.1rem;
  --pixel-rotation: -70deg;
  position: absolute;
  top: 48%;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 0.04rem;
  background: #187bd7;
  box-shadow: 0 0 0.8rem rgba(24, 123, 215, 0.34);
  opacity: 0;
  transform-origin: center;
}

.brand__pixel:nth-child(2n) {
  background: #7451a6;
  box-shadow: 0 0 0.9rem rgba(116, 81, 166, 0.38);
}

.brand__pixel:nth-child(1) { top: 25%; --pixel-drift: -0.08rem; animation-delay: -0.08s; }
.brand__pixel:nth-child(2) { top: 36%; width: 0.2rem; height: 0.2rem; --pixel-distance: -3rem; --pixel-drift: -0.14rem; --pixel-rotation: 85deg; animation-delay: -0.21s; }
.brand__pixel:nth-child(3) { top: 55%; width: 0.32rem; height: 0.32rem; --pixel-distance: -2.25rem; --pixel-drift: 0.2rem; --pixel-rotation: -110deg; animation-delay: -0.36s; }
.brand__pixel:nth-child(4) { top: 62%; width: 0.18rem; height: 0.18rem; --pixel-distance: -3.2rem; --pixel-drift: 0.12rem; --pixel-rotation: 120deg; animation-delay: -0.5s; }
.brand__pixel:nth-child(5) { top: 48%; width: 0.24rem; height: 0.24rem; --pixel-distance: -2.7rem; --pixel-drift: -0.24rem; --pixel-rotation: -55deg; animation-delay: -0.65s; }
.brand__pixel:nth-child(6) { top: 66%; width: 0.26rem; height: 0.26rem; --pixel-distance: -2.35rem; --pixel-drift: 0.16rem; --pixel-rotation: 95deg; animation-delay: -0.78s; }
.brand__pixel:nth-child(7) { top: 17%; width: 0.16rem; height: 0.16rem; --pixel-distance: -3.35rem; --pixel-drift: -0.06rem; --pixel-rotation: -130deg; animation-delay: -0.93s; }
.brand__pixel:nth-child(8) { top: 58%; width: 0.22rem; height: 0.22rem; --pixel-distance: -2.85rem; --pixel-drift: 0.26rem; --pixel-rotation: 65deg; animation-delay: -1.06s; }
.brand__pixel:nth-child(9) { top: 31%; width: 0.24rem; height: 0.24rem; --pixel-distance: -2.45rem; --pixel-drift: -0.12rem; --pixel-rotation: 105deg; animation-delay: -1.19s; }
.brand__pixel:nth-child(10) { top: 52%; width: 0.17rem; height: 0.17rem; --pixel-distance: -3.1rem; --pixel-drift: 0.03rem; --pixel-rotation: -80deg; animation-delay: -1.32s; }
.brand__pixel:nth-child(11) { top: 22%; width: 0.14rem; height: 0.14rem; --pixel-distance: -2.75rem; --pixel-drift: -0.04rem; --pixel-rotation: 75deg; animation-delay: -0.45s; }
.brand__pixel:nth-child(12) { top: 47%; width: 0.19rem; height: 0.19rem; --pixel-distance: -3.25rem; --pixel-drift: 0.08rem; --pixel-rotation: -95deg; animation-delay: -1.12s; }
.brand__pixel:nth-child(13) { top: 9%; width: 0.13rem; height: 0.13rem; --pixel-distance: -2.6rem; --pixel-drift: -0.03rem; --pixel-rotation: 60deg; animation-delay: -0.72s; }

.brand:hover .brand__pixel,
.brand:focus-visible .brand__pixel {
  animation-name: brand-pixel-trail;
  animation-duration: 1.45s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes brand-pixel-trail {
  0% {
    opacity: 0;
    transform: translate3d(0.15rem, 0, 0) scale(0.35) rotate(0deg);
  }

  12% {
    opacity: 0.92;
  }

  58% {
    opacity: 0.52;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--pixel-distance), var(--pixel-drift), 0) scale(0.72) rotate(var(--pixel-rotation));
  }
}

.brand__wordmark-panel {
  position: relative;
  display: block;
  overflow: hidden;
  width: 6.35rem;
  height: 4.15rem;
  flex: 0 0 auto;
  transition: transform 280ms var(--ease-out);
}

.brand__logo--wordmark {
  position: absolute;
  top: -2.49rem;
  left: -1.79rem;
  display: block;
  width: 9.85rem;
  max-width: none;
  height: auto;
}

.brand:hover .brand__wordmark-panel {
  transform: translateY(-0.08rem);
}

.brand__wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  font-size: 0.9rem;
  letter-spacing: -0.04em;
}

.brand__wordmark strong {
  font-weight: 800;
}

.brand__wordmark span {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.brand--footer {
  display: inline-block;
}

.brand__logo--primary {
  display: block;
  width: clamp(12rem, 18vw, 15rem);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.4vw, 2.5rem);
}

.desktop-nav a {
  position: relative;
  padding-block: 0.7rem;
  color: var(--color-muted-strong);
  font-size: 0.82rem;
  font-weight: 560;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--color-accent);
  content: "";
  transition: transform 300ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--color-text);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 650;
}

.text-link::after {
  display: block;
  width: 1.7rem;
  height: 1px;
  transform-origin: left;
  background: currentColor;
  content: "";
  transition: transform 250ms var(--ease-out);
}

.text-link:hover::after {
  transform: scaleX(1.45);
}

.text-link--header {
  color: var(--color-muted-strong);
  font-size: 0.78rem;
}

.text-link--header::after {
  display: none;
}

.text-link--header[href^="mailto:"],
.hero__actions .button--ghost[href^="mailto:"],
.mobile-menu__actions .button--ghost[href^="mailto:"],
.footer-cta__actions .button--ghost[href^="mailto:"] {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  line-height: 1;
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 2.85rem;
  padding-inline: 1.05rem;
  font-size: 0.78rem;
}

.button--accent {
  background: var(--color-accent);
  color: #fffaf4;
}

.button--accent:hover {
  background: var(--color-accent-strong);
}

a.button--accent.button--primary {
  min-width: 12rem;
  min-height: 4.15rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  box-shadow: 0 1rem 2.4rem rgba(67, 84, 196, 0.22);
  color: #fffaf4;
  clip-path: none;
}

a.button--accent.button--primary > span[aria-hidden="true"] {
  display: none;
}

a.button--accent.button--primary:hover {
  background: linear-gradient(112deg, #128fdc 0%, #465fe0 48%, #983eb8 100%);
  box-shadow: 0 1.25rem 2.8rem rgba(67, 84, 196, 0.28);
}

.site-header a.button--accent.button--primary {
  min-width: 10.4rem;
  min-height: 3.15rem;
}

.button--ghost {
  border-color: var(--color-line-strong);
  background: rgba(23, 19, 15, 0.015);
  color: var(--color-text);
}

.button--ghost:hover {
  border-color: rgba(23, 19, 15, 0.45);
  background: rgba(23, 19, 15, 0.055);
}

.mobile-menu {
  display: none;
}

/* Hero */
.section--hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(4rem, 8vw, 8rem));
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  opacity: 0.13;
  background: radial-gradient(circle, var(--color-accent), transparent 68%);
  filter: blur(2rem);
  pointer-events: none;
  transform: translate3d(calc(var(--pointer-x, 70vw) - 50%), calc(var(--pointer-y, 20vh) - 50%), 0);
  transition: transform 120ms linear;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(42rem, calc(100svh - 9rem));
  grid-template-columns: minmax(0, 1.06fr) minmax(23rem, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
}

.hero__copy {
  padding-block: 2rem;
}

.hero h1 {
  max-width: 9.5ch;
  margin-bottom: 2rem;
}

.hero h1 span {
  display: inline-block;
}

.hero h1 .text-accent {
  margin-bottom: -0.12em;
  padding-bottom: 0.12em;
}

.hero__lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--color-muted-strong);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 38rem;
  justify-self: end;
  perspective: 1000px;
}

.browser {
  --color-text: #f4efe5;
  --color-muted: #aaa397;
  --color-line: rgba(244, 239, 229, 0.13);
  --color-accent: #a5b4ff;
  --color-focus: #a5b4ff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 19, 15, 0.24);
  border-radius: 1.25rem;
  background: #111315;
  box-shadow: var(--shadow-float);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
}

.browser::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.browser__chrome {
  display: grid;
  height: 3rem;
  grid-template-columns: repeat(3, 0.48rem) 1fr auto;
  align-items: center;
  gap: 0.42rem;
  padding-inline: 1rem;
  border-bottom: 1px solid rgba(244, 239, 229, 0.12);
  background: #151719;
}

.browser__chrome > span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #45494b;
}

.browser__address {
  width: min(80%, 16rem);
  margin-inline: auto;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  color: #73797b;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  text-align: center;
}

.browser__status {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
}

.browser__viewport {
  position: relative;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: #e8e5dc;
}

.website-state {
  position: absolute;
  inset: 0;
}

.website-state--before {
  z-index: 1;
  background: #d7d4cb;
  color: #202020;
  animation: before-state 8s var(--ease-standard) infinite;
}

.before-nav {
  display: flex;
  height: 14%;
  align-items: center;
  justify-content: flex-end;
  gap: 6%;
  padding-inline: 7%;
  border-bottom: 2px solid #77736d;
  background: #b7b2aa;
}

.before-nav i {
  width: 11%;
  height: 5px;
  transform: skew(-12deg);
  background: #56514b;
}

.before-content {
  position: relative;
  height: 86%;
  padding: 10% 8%;
}

.before-title {
  width: 70%;
  height: 13%;
  margin-bottom: 6%;
  transform: rotate(-1deg);
  background: #302d2a;
}

.before-copy {
  height: 3.5%;
  margin-bottom: 3%;
  background: #77716a;
}

.before-copy--one {
  width: 82%;
}

.before-copy--two {
  width: 57%;
}

.before-button {
  width: 37%;
  height: 12%;
  margin-top: 8%;
  border: 3px solid #504b45;
  background: #c4bfaf;
}

.before-popup {
  position: absolute;
  right: 4%;
  bottom: 7%;
  display: grid;
  width: 32%;
  aspect-ratio: 1;
  place-items: center;
  transform: rotate(7deg);
  border: 4px solid #462f2d;
  background: #e46458;
  color: #25100f;
  font-size: clamp(0.55rem, 1.3vw, 0.9rem);
  font-weight: 900;
  line-height: 0.88;
  text-align: center;
}

.before-image {
  position: absolute;
  right: 5%;
  top: 12%;
  width: 21%;
  height: 23%;
  transform: rotate(3deg);
  background:
    linear-gradient(45deg, transparent 45%, #8c877f 46% 54%, transparent 55%),
    #a49f97;
}

.website-state--after {
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  background:
    radial-gradient(circle at 72% 34%, rgba(165, 180, 255, 0.2), transparent 28%),
    #0c0e0f;
  color: var(--color-text);
  animation: after-state 8s var(--ease-standard) infinite;
}

.after-nav {
  display: grid;
  height: 14%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7%;
  padding-inline: 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.after-logo {
  position: relative;
  display: block;
  overflow: hidden;
  width: clamp(2.6rem, 5vw, 3.5rem);
  aspect-ratio: 4.65 / 3.05;
  flex: 0 0 auto;
}

.after-logo img {
  position: absolute;
  top: -59.7%;
  left: -28.2%;
  display: block;
  width: 154.8%;
  max-width: none;
  height: auto;
}

.after-nav > div {
  display: flex;
  justify-content: flex-end;
  gap: 7%;
}

.after-nav i {
  display: block;
  width: clamp(1rem, 3vw, 2rem);
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.after-nav__cta {
  width: clamp(2.4rem, 6vw, 4.4rem);
  height: 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.after-content {
  padding: 14% 8%;
}

.after-kicker {
  display: block;
  width: 23%;
  height: 4px;
  margin-bottom: 8%;
  background: var(--color-accent);
}

.after-title {
  height: 8.5%;
  min-height: 1rem;
  margin-bottom: 3%;
  border-radius: 2px;
  background: #f0f2ec;
}

.after-title--one {
  width: 72%;
}

.after-title--two {
  width: 53%;
}

.after-copy {
  width: 56%;
  height: 4px;
  margin-top: 8%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0.7rem rgba(255, 255, 255, 0.18);
}

.after-actions {
  display: flex;
  gap: 4%;
  margin-top: 15%;
}

.after-actions i {
  width: 24%;
  height: clamp(1.3rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
}

.after-actions i:first-child {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.after-metric {
  position: absolute;
  right: 7%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: clamp(0.42rem, 1vw, 0.62rem);
  letter-spacing: 0.08em;
}

.after-metric strong {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.state-label {
  position: absolute;
  left: 7%;
  bottom: 5%;
  font-family: var(--font-mono);
  font-size: clamp(0.4rem, 0.9vw, 0.58rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.website-state--before .state-label {
  color: #625d57;
}

.website-state--after .state-label {
  color: #7f8585;
}

.transformation-scan {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: -3%;
  width: 3px;
  opacity: 0;
  background: var(--color-accent);
  box-shadow:
    0 0 1rem var(--color-accent),
    -1rem 0 3rem rgba(165, 180, 255, 0.4);
  animation: scan-state 8s var(--ease-standard) infinite;
}

.transformation-grid {
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(rgba(165, 180, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 180, 255, 0.1) 1px, transparent 1px);
  background-size: 9% 9%;
  pointer-events: none;
  animation: grid-state 8s ease infinite;
}

@keyframes before-state {
  0%, 23% { opacity: 1; filter: blur(0); transform: scale(1); }
  38%, 72% { opacity: 0.35; filter: blur(2px); transform: scale(1.025); }
  80%, 100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes after-state {
  0%, 20% { clip-path: inset(0 100% 0 0); }
  42%, 76% { clip-path: inset(0 0 0 0); }
  86%, 100% { clip-path: inset(0 100% 0 0); }
}

@keyframes scan-state {
  0%, 19% { left: -3%; opacity: 0; }
  22% { opacity: 1; }
  42% { left: 100%; opacity: 1; }
  46%, 82% { left: 100%; opacity: 0; }
  85% { opacity: 1; }
  100% { left: -3%; opacity: 0; }
}

@keyframes grid-state {
  0%, 18%, 48%, 100% { opacity: 0; }
  26%, 39% { opacity: 0.42; }
}

/* Shared section headings */
.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
}

.section-heading--split > p,
.section-heading--split > div:last-child p {
  max-width: 34rem;
  margin-bottom: 1.4rem;
  color: var(--color-muted-strong);
  font-size: 1.06rem;
}

/* Problems */
.section--problems {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.section--problems .micro-label {
  color: #5b554d;
}

.section-heading--problems {
  display: block;
}

.section-heading--problems h2 {
  max-width: 15ch;
}

.problem-title__line {
  display: block;
}

.problem-title__line--negative {
  color: var(--color-text-dark);
}

.problem-title__line--positive {
  margin-left: 0.62em;
  margin-bottom: -0.14em;
  padding-bottom: 0.14em;
  background: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.problem-list {
  position: relative;
}

.problem-list::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  transform-origin: left;
  background: rgba(11, 12, 13, 0.18);
  content: "";
}

.problem-row {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.6rem);
  border-bottom: 1px solid rgba(11, 12, 13, 0.18);
}

.problem-row__label {
  display: block;
}

.problem-row h3 {
  margin-bottom: 0;
}

.problem-row p {
  margin-bottom: 0;
  color: #353a38;
  font-size: 0.95rem;
}

.problem-row__solution {
  padding-right: 2.5rem;
}

.problem-row__solution p {
  color: #111412;
  font-weight: 620;
}

.problem-row__problem .micro-label,
.problem-row__problem p {
  color: var(--color-text-dark);
}

.problem-row__solution .micro-label,
.problem-row__solution p {
  background: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

@media (forced-colors: active) {
  .problem-title__line--positive,
  .problem-row__solution .micro-label,
  .problem-row__solution p {
    background: none;
    color: CanvasText;
  }
}

.problem-row__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 50%;
  background: var(--color-accent);
  font-weight: 800;
}

html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal],
html.js:where(.has-reveal-controller) .problem-list[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal] > * {
  opacity: 0;
  transform: translateY(1.4rem);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 520ms var(--ease-out),
    transform 760ms var(--ease-out),
    clip-path 760ms var(--ease-out);
}

html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal] h2,
html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal].is-visible h2 {
  clip-path: none;
  transition-delay: 110ms;
}

html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal].is-visible > * {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal]::before {
  transform: scaleX(0);
  transition: transform 850ms var(--ease-out);
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal] .problem-row {
  opacity: 0;
  transform: translateY(1.6rem);
  clip-path: inset(0 0 35% 0);
  transition:
    opacity 540ms var(--ease-out),
    transform 780ms var(--ease-out),
    clip-path 780ms var(--ease-out);
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal] .problem-row:nth-child(1) {
  transition-delay: 100ms;
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal] .problem-row:nth-child(2) {
  transition-delay: 240ms;
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal] .problem-row:nth-child(3) {
  transition-delay: 380ms;
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal].is-visible::before {
  transform: scaleX(1);
}

html.js:where(.has-reveal-controller) .problem-list[data-reveal].is-visible .problem-row {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

/* Services */
.section--services {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(165, 180, 255, 0.12);
  background:
    radial-gradient(circle at 50% 112%, rgba(63, 99, 217, 0.23), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(165, 180, 255, 0.07), transparent 28%),
    #11100e;
  color: #f5f0e7;
}

.section--services::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, 0.018) 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 34%);
  content: "";
  pointer-events: none;
}

.section--services .section-heading,
.services-cinema {
  position: relative;
  z-index: 1;
}

.section--services .eyebrow {
  color: #b8a98f;
}

.section-heading--services h2 {
  max-width: 13ch;
  color: #f5f0e7;
}

.services-filmstrip {
  display: flex;
  min-height: clamp(21rem, 44vh, 28rem);
  align-items: stretch;
  gap: clamp(0.55rem, 1vw, 0.85rem);
}

.services-cinema__mobile-cue {
  display: none;
}

.service-frame {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 0.72 1 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.15rem, 1.7vw, 1.65rem);
  overflow: hidden;
  border: 1px solid rgba(245, 240, 231, 0.11);
  border-radius: var(--radius-lg);
  background: #1a1814;
  color: rgba(245, 240, 231, 0.54);
  isolation: isolate;
  transition:
    flex-grow 850ms var(--ease-out),
    transform 850ms var(--ease-out),
    border-color 500ms ease,
    background-color 500ms ease,
    color 500ms ease,
    box-shadow 850ms var(--ease-out);
}

.service-frame.is-active {
  flex-grow: 1.55;
  transform: translateY(-0.3rem);
  border-color: rgba(165, 180, 255, 0.38);
  background: var(--color-surface-light);
  box-shadow: 0 1.4rem 4.5rem rgba(0, 0, 0, 0.28);
  color: var(--color-text-dark);
}

.service-frame__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 2rem;
}

.service-frame__category {
  margin-bottom: 0.65rem;
  color: #a5b4ff;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-frame.is-active .service-frame__category {
  color: var(--color-accent);
}

.service-frame h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 0.98;
  transition:
    font-size 850ms var(--ease-out),
    color 500ms ease;
}

.service-frame:not(.is-active) h3 {
  color: rgba(245, 240, 231, 0.78);
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
}

.service-frame:not(.is-active) {
  cursor: pointer;
}

.service-frame[role="button"]:hover {
  border-color: rgba(165, 180, 255, 0.3);
}

.service-frame[role="button"]:focus-visible {
  outline: 2px solid #a5b4ff;
  outline-offset: 3px;
}

.service-frame__details {
  position: relative;
  z-index: 2;
  display: grid;
  max-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    max-height 850ms var(--ease-out),
    opacity 450ms ease,
    transform 850ms var(--ease-out);
}

.service-frame.is-active .service-frame__details {
  max-height: 13rem;
  margin-top: clamp(1.25rem, 2.2vh, 2rem);
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.service-frame__offer-block {
  min-width: 0;
}

.service-frame__offer-label {
  margin: 0 0 0.55rem;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-frame__details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-frame__details li {
  position: relative;
  padding: 0.58rem 0.75rem 0.58rem 0.9rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-dark);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service-frame__details li::before {
  position: absolute;
  top: 0.92rem;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

.service-frame__details a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text-dark);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.service-frame__details a:hover {
  color: var(--color-accent);
}

.service-frame__watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(28rem, 72%);
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -48%, 0) scale(0.96);
  transition:
    opacity 700ms ease 120ms,
    transform 1000ms var(--ease-out);
}

.service-frame.is-active .service-frame__watermark {
  opacity: 0.055;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.pill {
  display: inline-flex;
  min-height: 1.7rem;
  align-items: center;
  padding-inline: 0.75rem;
  border: 1px solid rgba(165, 180, 255, 0.35);
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pill--muted {
  border-color: var(--color-line-strong);
  color: var(--color-muted);
}

.card-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.card-link:hover {
  color: var(--color-accent);
}

.card-link--disabled {
  color: var(--color-muted);
  cursor: default;
}

/* Process */
.section--process {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 88% 18%, rgba(63, 99, 217, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--color-bg-soft);
}

.section--process::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(63, 99, 217, 0.12) 0.7px, transparent 0.7px);
  background-size: 1.8rem 1.8rem;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.process-roadmap-layout {
  position: relative;
  z-index: 1;
}

.process-roadmap__heading {
  margin-bottom: clamp(0.5rem, 1.2vh, 1rem);
}

.process-roadmap__heading h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.process-roadmap {
  position: relative;
  display: grid;
  min-height: clamp(22rem, 42vh, 28rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-roadmap::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 2.25rem;
  left: 2.25rem;
  height: 2px;
  background: var(--color-line-strong);
  content: "";
}

.process-roadmap::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 2.25rem;
  left: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  content: "";
  transform-origin: left center;
}

.process-roadmap__step {
  --process-step-fill: var(--color-text-dark);
  --process-step-border: var(--process-step-fill);
  --process-step-foreground: var(--color-bg-soft);
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) 4.5rem minmax(0, 1fr);
  padding-inline: clamp(0.55rem, 1.2vw, 1.2rem);
}

.process-roadmap__node {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  grid-row: 2;
  place-items: center;
  align-self: center;
  justify-self: center;
  border: 1px solid rgba(63, 99, 217, 0.45);
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

.process-roadmap__step--finish {
  --process-step-fill: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  --process-step-border: #3f63d9;
  --process-step-foreground: #fffaf4;
}

.process-roadmap__step--finish .process-roadmap__node {
  border-color: var(--process-step-border);
  background: var(--process-step-fill);
  color: var(--process-step-foreground);
}

.process-roadmap__content {
  width: 100%;
  max-width: 15rem;
  align-self: end;
  justify-self: center;
  padding-bottom: clamp(1rem, 2vh, 1.7rem);
  text-align: center;
}

.process-roadmap__step:nth-child(even) .process-roadmap__content {
  grid-row: 3;
  align-self: start;
  padding-top: clamp(1rem, 2vh, 1.7rem);
  padding-bottom: 0;
}

.process-roadmap__content h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.65vw, 1.65rem);
  line-height: 1.03;
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal]::after {
  transform: scaleX(0);
  transition: transform 6000ms linear;
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step {
  --process-step-delay: 600ms;
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__node {
  transition:
    border-color 450ms ease,
    background-color 450ms ease,
    color 450ms ease,
    transform 600ms var(--ease-out);
  transition-delay: var(--process-step-delay);
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__content {
  opacity: 0.24;
  transform: translateY(0.6rem);
  transition:
    opacity 600ms ease,
    transform 750ms var(--ease-out);
  transition-delay: calc(var(--process-step-delay) + 180ms);
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal].is-visible::after {
  transform: scaleX(1);
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal].is-visible .process-roadmap__node {
  border-color: var(--process-step-border);
  background: var(--process-step-fill);
  color: var(--process-step-foreground);
  transform: scale(1.02);
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal].is-visible .process-roadmap__content {
  opacity: 1;
  transform: translateY(0);
}

html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step:nth-child(1) { --process-step-delay: 600ms; }
html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step:nth-child(2) { --process-step-delay: 1800ms; }
html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step:nth-child(3) { --process-step-delay: 3000ms; }
html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step:nth-child(4) { --process-step-delay: 4200ms; }
html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__step:nth-child(5) { --process-step-delay: 5400ms; }

/* Projects */
.section--projects {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.section--projects .eyebrow,
.section--projects .section-heading--split > div:last-child p {
  color: #5b554d;
}

.section--projects .text-link {
  color: var(--color-text-dark);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(11, 12, 13, 0.16);
  border-radius: var(--radius-lg);
  background: #f7f2e9;
}

.project-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

.project-card__visual {
  min-height: 30rem;
}

.project-card--wide .project-card__visual {
  min-height: 37rem;
}

.project-card__body {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.project-card__body > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: auto;
}

.project-card__body .pill {
  border-color: rgba(11, 12, 13, 0.17);
  color: #454038;
}

.project-card__body h3 {
  margin-bottom: 0.8rem;
}

.project-card__body p {
  margin-bottom: 1.5rem;
  color: #575148;
}

.project-card__body .card-link {
  color: var(--color-text-dark);
}

.project-visual {
  position: relative;
  overflow: hidden;
}

.project-visual--hair {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(199, 163, 105, 0.22), transparent 22%),
    linear-gradient(135deg, #11100f, #27231f);
}

.project-visual__frame {
  display: grid;
  width: 52%;
  aspect-ratio: 0.72;
  place-items: center;
  border: 1px solid rgba(199, 163, 105, 0.5);
  color: #c7a369;
}

.project-visual__frame span {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.12em;
}

.project-visual__frame div {
  width: 1px;
  height: 18%;
  background: #c7a369;
}

.project-visual__frame p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
}

.project-visual__note {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(199, 163, 105, 0.35);
  color: #c7a369;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.09em;
}

.project-visual--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(11, 12, 13, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 12, 13, 0.08) 1px, transparent 1px),
    #d3c3a8;
  background-size: 2.8rem 2.8rem;
}

.project-visual--placeholder > span {
  color: #0b0c0d;
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.1em;
}

.project-visual--placeholder i {
  position: absolute;
  width: 25%;
  height: 1px;
  background: #0b0c0d;
}

.project-visual--placeholder i:nth-of-type(1) { transform: rotate(45deg); }
.project-visual--placeholder i:nth-of-type(2) { transform: rotate(-45deg); }
.project-visual--placeholder i:nth-of-type(3) { width: 42%; transform: rotate(90deg); }

.project-visual--alt {
  --color-accent: #a5b4ff;
  --color-focus: #a5b4ff;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(255,255,255,0.12) 20.5% 21%, transparent 21.5% 35%, rgba(255,255,255,0.12) 35.5% 36%, transparent 36.5%),
    #171a1d;
}

.project-visual--alt > span {
  color: #f4efe5;
}

.project-visual--alt i {
  background: var(--color-accent);
}

/* Team preview */
.team-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.team-preview__copy h2 {
  max-width: 12ch;
  margin-bottom: 1.7rem;
}

.team-preview__copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--color-muted-strong);
  font-size: 1.05rem;
}

.team-preview__portraits {
  position: relative;
  display: grid;
  min-height: 38rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.portrait-placeholder,
.profile-card__portrait {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem;
  border: 1px solid rgba(244, 239, 229, 0.13);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 35%, rgba(165, 180, 255, 0.17), transparent 18%),
    linear-gradient(155deg, #1b1e20, #0d0f10);
  color: #aaa397;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait-placeholder--offset {
  margin-top: 5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(155deg, #25282a, #101213);
}

.portrait-placeholder p {
  margin-bottom: 0;
}

.team-preview__badge {
  position: absolute;
  right: 42%;
  bottom: 0;
  display: grid;
  width: 8.5rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 1rem;
  transform: rotate(-5deg);
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-dark);
  text-align: center;
}

.team-preview__badge strong {
  font-size: 2.6rem;
  line-height: 0.7;
}

.team-preview__badge span {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Interior page hero */
.page-hero {
  min-height: 70svh;
  padding-top: calc(var(--header-height) + clamp(5rem, 11vw, 10rem));
  border-bottom: 1px solid var(--color-line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.page-hero__grid > *,
.service-detail__grid > *,
.project-start__grid > *,
.direct-contact__grid > *,
.legal-page__grid > * {
  min-width: 0;
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3.6rem, 7.4vw, 7.5rem);
}

.page-hero__aside {
  padding-bottom: 0.7rem;
}

.page-hero__aside > p {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--color-muted-strong);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.page--leistungen {
  background:
    radial-gradient(circle at 12% -10%, rgba(184, 154, 106, 0.08), transparent 31rem),
    #faf5ed;
}

.leistungen-story {
  --story-intro-opacity: 1;
  --story-intro-scale: 1;
  --story-intro-y: 0rem;
  --story-video-opacity: 1;
  --story-video-scale: 1;
  --story-video-y: 0rem;
  --story-glow-opacity: 0.7;
  position: relative;
  isolation: isolate;
  color: #000;
}

.leistungen-story__sticky {
  position: relative;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.78), transparent 38rem),
    #faf5ed;
}

.leistungen-story__scene {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header-height) + clamp(2.5rem, 6vh, 5rem)) 0 clamp(3rem, 7vh, 6rem);
}

.leistungen-story__scene--intro {
  z-index: 2;
}

.leistungen-story__scene--showcase {
  z-index: 1;
}

.leistungen-story__scene--showcase::before {
  position: absolute;
  inset: 12% 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 48%, rgba(21, 136, 212, 0.12), transparent 38%),
    radial-gradient(circle at 64% 52%, rgba(139, 62, 174, 0.12), transparent 42%);
  content: "";
  filter: blur(2.5rem);
  opacity: var(--story-glow-opacity);
  pointer-events: none;
}

.leistungen-story__intro-inner,
.leistungen-story__showcase-inner {
  position: relative;
  z-index: 1;
}

.leistungen-story__intro-inner {
  display: grid;
  justify-items: center;
}

.leistungen-hero__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 84rem);
  text-align: center;
}

.leistungen-story h1 {
  max-width: none;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 7.2vw, 7.8rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.96;
  position: relative;
  -webkit-text-stroke: 0;
}

.leistungen-story h1 span {
  display: block;
  white-space: nowrap;
}

.leistungen-story h1 span.text-accent {
  padding-bottom: 0.13em;
  margin-bottom: -0.13em;
}

.leistungen-hero__caption {
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2.4vh, 2rem);
  margin-top: clamp(2rem, 4.6vh, 3.8rem);
}

.leistungen-hero__caption > span {
  display: block;
  width: 4.8rem;
  height: 1px;
  background: linear-gradient(90deg, #1588d4 0%, #4b5ee0 54%, #8b3eae 100%);
  box-shadow: 0 0 0.85rem rgba(75, 94, 224, 0.2);
}

.leistungen-hero__caption p {
  margin: 0;
  color: #71685e;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.28;
  text-align: center;
}

.leistungen-hero__caption p span {
  display: inline-block;
  transform-origin: left center;
}

.leistungen-hero__caption p span:nth-of-type(2) {
  font-weight: 650;
  transform: none;
}

.leistungen-story__showcase-inner {
  width: min(92vw, calc(150vh - 12rem), 84rem);
  width: min(92vw, calc(150svh - 12rem), 84rem);
  margin-inline: auto;
}

.leistungen-story.is-scroll-ready {
  --story-video-opacity: 0;
  --story-video-scale: 0.86;
  --story-video-y: 4.5rem;
  --story-glow-opacity: 0;
  height: 250vh;
  height: 250svh;
}

.leistungen-story.is-scroll-ready .leistungen-story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
}

.leistungen-story.is-scroll-ready .leistungen-story__scene {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.leistungen-story.is-scroll-ready .leistungen-story__intro-inner {
  opacity: var(--story-intro-opacity);
  transform: translate3d(0, var(--story-intro-y), 0) scale(var(--story-intro-scale));
  transform-origin: center center;
  will-change: opacity, transform;
}

.leistungen-story.is-scroll-ready .leistungen-story__scene--showcase {
  opacity: var(--story-video-opacity);
  will-change: opacity;
}

.leistungen-story.is-scroll-ready .leistungen-story__showcase-inner {
  transform: translate3d(0, var(--story-video-y), 0) scale(var(--story-video-scale));
  transform-origin: center center;
  will-change: transform;
}

.leistungen-story.is-scroll-ready:not(.is-video-visible) .leistungen-story__scene--showcase,
.leistungen-story.is-scroll-ready.is-intro-hidden .leistungen-story__scene--intro {
  visibility: hidden;
}

.leistungen-selection {
  position: relative;
  z-index: 5;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(1rem, 2.5vw, 2.5rem);
  background: #faf5ed;
}

.leistungen-showreel {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f7f4ee;
}

.leistungen-showreel__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 19, 15, 0.2);
  border-radius: clamp(0.9rem, 1.25vw, 1.35rem);
  background: #070a12;
  box-shadow:
    0 2.4rem 6rem rgba(56, 43, 28, 0.2),
    0 0.3rem 1.1rem rgba(23, 19, 15, 0.1);
  isolation: isolate;
}

.leistungen-showreel__frame::before {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2188fd 28%, #8333fd 72%, transparent);
  content: "";
  opacity: 0.92;
  pointer-events: none;
}

.leistungen-showreel__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070c;
}

.leistungen-showreel__media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #05070c;
  object-fit: contain;
}

.leistungen-showreel__start {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(33, 136, 253, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.02) 42%, rgba(5, 7, 12, 0.56) 100%);
  color: #fff;
  text-align: left;
  transition:
    opacity 350ms var(--ease-standard),
    visibility 350ms var(--ease-standard),
    background-color 350ms var(--ease-standard);
}

.leistungen-showreel__start:hover {
  background:
    radial-gradient(circle at 50% 50%, rgba(131, 51, 253, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.02) 35%, rgba(5, 7, 12, 0.64) 100%);
}

.leistungen-showreel__play {
  display: grid;
  width: clamp(3.8rem, 5.2vw, 5.5rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(33, 136, 253, 0.96), rgba(131, 51, 253, 0.96));
  box-shadow:
    0 1.1rem 3rem rgba(5, 7, 12, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.leistungen-showreel__play svg {
  width: 34%;
  fill: currentColor;
  transform: translateX(7%);
}

.leistungen-showreel__start:hover .leistungen-showreel__play,
.leistungen-showreel__start:focus-visible .leistungen-showreel__play {
  box-shadow:
    0 1.3rem 3.4rem rgba(5, 7, 12, 0.52),
    0 0 0 0.42rem rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: scale(1.055);
}

.leistungen-showreel__start-copy {
  position: absolute;
  top: calc(50% + clamp(2.9rem, 4.3vw, 4.5rem));
  left: 50%;
  display: grid;
  width: max-content;
  gap: 0.2rem;
  filter: drop-shadow(0 0.2rem 0.65rem rgba(0, 0, 0, 0.55));
  text-align: center;
  transform: translateX(-50%);
}

.leistungen-showreel__start-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.62vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leistungen-showreel__start-copy strong {
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.leistungen-showreel.has-started .leistungen-showreel__start {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.leistungen-showreel__controls {
  position: relative;
  z-index: 6;
  display: grid;
  min-height: 3.5rem;
  grid-template-columns: auto minmax(5rem, 1fr) auto;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.7rem);
  padding: 0.55rem clamp(0.65rem, 1.15vw, 1rem);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(180deg, #10131c, #090b12);
}

.leistungen-showreel__controls[hidden] {
  display: none;
}

.leistungen-showreel__controls button {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  transition: color 220ms var(--ease-standard), background-color 220ms var(--ease-standard), border-color 220ms var(--ease-standard);
}

.leistungen-showreel__controls button:hover,
.leistungen-showreel__controls button:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.leistungen-showreel__controls button:first-child {
  background: linear-gradient(135deg, #2188fd, #8333fd);
  color: #fff;
}

.leistungen-showreel__controls button svg {
  width: 1rem;
  fill: currentColor;
}

.leistungen-showreel__controls .icon-pause,
.leistungen-showreel.is-playing .leistungen-showreel__controls .icon-play {
  display: none;
}

.leistungen-showreel.is-playing .leistungen-showreel__controls .icon-pause {
  display: block;
}

.leistungen-showreel__controls input[type="range"] {
  --showreel-progress: 0%;
  width: 100%;
  height: 1.2rem;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.leistungen-showreel__controls input[type="range"]::-webkit-slider-runnable-track {
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2188fd 0%, #8333fd var(--showreel-progress), rgba(255, 255, 255, 0.22) var(--showreel-progress), rgba(255, 255, 255, 0.22) 100%);
}

.leistungen-showreel__controls input[type="range"]::-webkit-slider-thumb {
  width: 0.78rem;
  height: 0.78rem;
  margin-top: -0.28rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5e55e8;
  box-shadow: 0 0 0 0.22rem rgba(94, 85, 232, 0.18);
  appearance: none;
}

.leistungen-showreel__controls input[type="range"]::-moz-range-track {
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.leistungen-showreel__controls input[type="range"]::-moz-range-progress {
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2188fd, #8333fd);
}

.leistungen-showreel__controls input[type="range"]::-moz-range-thumb {
  width: 0.78rem;
  height: 0.78rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5e55e8;
}

.leistungen-showreel__controls input[type="range"]:focus-visible {
  filter: drop-shadow(0 0 0.3rem rgba(94, 85, 232, 0.8));
}

.leistungen-showreel__frame:fullscreen,
.leistungen-showreel__frame:-webkit-full-screen {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.leistungen-showreel__frame:fullscreen::before,
.leistungen-showreel__frame:-webkit-full-screen::before {
  display: none;
}

.leistungen-showreel__frame:fullscreen .leistungen-showreel__media,
.leistungen-showreel__frame:-webkit-full-screen .leistungen-showreel__media {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #000;
}

.leistungen-showreel__frame:fullscreen video,
.leistungen-showreel__frame:-webkit-full-screen video,
.leistungen-showreel__media video:fullscreen,
.leistungen-showreel__media video:-webkit-full-screen {
  width: 100vw;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.leistungen-jump {
  position: relative;
  z-index: 3;
  width: min(100%, 58rem);
  grid-column: 1 / -1;
  margin-inline: auto;
  color: #15131d;
}

.leistungen-jump__label {
  margin: 0 0 0.72rem;
  color: #71685e;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.leistungen-jump__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.4rem;
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 1.3rem;
  background: rgba(255, 250, 244, 0.86);
  box-shadow:
    0 1.5rem 4rem rgba(54, 40, 25, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1.1rem);
}

.leistungen-jump__links a {
  position: relative;
  display: grid;
  min-height: 4rem;
  place-items: center;
  overflow: hidden;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.95rem;
  background: transparent;
  color: #756e64;
  font-size: clamp(0.78rem, 0.92vw, 0.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-align: center;
  transition:
    color 280ms var(--ease-standard),
    background-color 280ms var(--ease-standard),
    box-shadow 300ms var(--ease-standard),
    transform 300ms var(--ease-out);
}

.leistungen-jump__links a::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, #1588d4 0%, #4b5ee0 52%, #8b3eae 100%);
  content: "";
  opacity: 0;
  transition: opacity 300ms var(--ease-standard);
}

.leistungen-jump__links a:hover,
.leistungen-jump__links a:focus-visible {
  background: rgba(75, 94, 224, 0.08);
  color: #15131d;
}

.leistungen-jump__links a.is-active {
  color: #fff;
  box-shadow: 0 0.7rem 1.7rem rgba(75, 94, 224, 0.24);
}

.leistungen-jump__links a.is-active::before {
  opacity: 1;
}

.leistungen-jump__links a > span {
  position: relative;
  z-index: 1;
}

.page-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.page-hero__facts li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Service detail pages */
.service-detail {
  border-bottom: 1px solid var(--color-line);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.page--leistungen .service-detail {
  padding-top: clamp(2.5rem, 4vw, 4.5rem);
}

.service-detail--muted {
  background: var(--color-bg-soft);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.service-detail__sticky {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.service-detail__sticky h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.service-detail__sticky > p:last-child {
  max-width: 25rem;
  color: var(--color-muted);
}

.service-detail__content {
  border-top: 1px solid var(--color-line);
}

.detail-card {
  display: grid;
  min-height: 13rem;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--color-line);
}

.detail-card h3 {
  margin-bottom: 0;
}

.detail-card p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--color-muted-strong);
}

.section--included {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.section--included .eyebrow,
.section--included .section-heading--split > p {
  color: #5b554d;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.compact-grid article {
  min-height: 18rem;
  padding: 2rem;
  border-right: 1px solid currentColor;
}

.compact-grid article:last-child {
  border-right: 0;
}

.compact-grid article > span {
  display: block;
  margin-bottom: 5rem;
  color: var(--color-accent-strong);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.compact-grid h3 {
  margin-bottom: 0.8rem;
}

.compact-grid p {
  margin-bottom: 0;
  opacity: 0.68;
  font-size: 0.9rem;
}

.page--leistungen .compact-grid article {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: flex-start;
}

.compact-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--color-text);
}

.compact-grid--three article > span {
  color: var(--color-accent);
}

/* Project cases */
.case-framework {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.case-framework .eyebrow,
.case-framework .section-heading--split > p {
  color: #5b554d;
}

.case-list {
  background: var(--color-bg-soft);
}

.case-stack {
  display: grid;
  gap: 1.5rem;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.case-card--reverse .case-card__visual {
  order: 2;
}

.case-card__visual {
  min-height: 38rem;
}

.case-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.case-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.case-card__content > p {
  color: var(--color-muted-strong);
}

.case-card dl {
  margin: 2rem 0 0;
  border-top: 1px solid var(--color-line);
}

.case-card dl div {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.8rem;
}

.case-card dt {
  color: var(--color-muted);
}

.case-card dd {
  margin: 0;
}

/* Team page */
.team-principle {
  border-bottom: 1px solid var(--color-line);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.profile-card__portrait {
  min-height: 38rem;
  border: 0;
  border-radius: 0;
}

.profile-card__portrait--alt {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.11), transparent 18%),
    linear-gradient(155deg, #292c2e, #111315);
}

.profile-card__body {
  padding: 2rem;
}

.profile-card__body h3 {
  margin-bottom: 0.8rem;
}

.profile-card__body p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.collaboration {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-soft);
}

/* Project form */
.project-start {
  background: var(--color-surface-light);
  color: var(--color-text-dark);
}

.project-start__grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.project-start__aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.project-start__aside .eyebrow {
  color: #5b554d;
}

.project-start__aside h2 {
  max-width: 10ch;
  margin-bottom: 2.5rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.form-roadmap {
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
}

.form-roadmap li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(11, 12, 13, 0.16);
  color: #747a77;
  transition: color 200ms ease;
}

.form-roadmap li.is-active,
.form-roadmap li.is-complete {
  color: var(--color-text-dark);
}

.form-roadmap li.is-active span {
  background: var(--color-accent);
  color: #fff;
}

.form-roadmap li.is-complete span {
  background: var(--color-accent-strong);
  color: #fff;
}

.form-roadmap span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid rgba(11, 12, 13, 0.2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.form-roadmap p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.project-start__privacy {
  max-width: 18rem;
  color: #6b645a;
  font-size: 0.78rem;
}

.project-form {
  position: relative;
  min-height: 43rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(11, 12, 13, 0.15);
  border-radius: var(--radius-lg);
  background: #faf6ee;
  box-shadow: 0 2rem 6rem rgba(11, 12, 13, 0.09);
}

.form-progress {
  height: 3px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(11, 12, 13, 0.12);
}

.form-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--color-text-dark);
  transition: width 400ms var(--ease-out);
}

.form-step-count {
  margin-bottom: 3.5rem;
  color: #6d665c;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-align: right;
}

.form-step {
  padding: 0;
  margin: 0;
  border: 0;
}

.form-step[hidden] {
  display: none;
}

.form-step legend {
  width: 100%;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.form-step__intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
  color: #626966;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 10rem;
  align-content: end;
  padding: 1.2rem;
  border: 1px solid rgba(11, 12, 13, 0.16);
  border-radius: var(--radius-md);
  background: #f3ede3;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    transform 220ms var(--ease-out);
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 12, 13, 0.4);
}

.choice-card:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-selection-bg);
}

.choice-card:has(input:checked) > span,
.choice-card:has(input:checked) small {
  color: #33436f;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card input:focus-visible + span {
  outline: 2px solid var(--color-text-dark);
  outline-offset: 4px;
}

.choice-card > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #686e6b;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.choice-card strong {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.choice-card small {
  color: #5e6561;
  font-size: 0.75rem;
}

.upload-zone {
  display: grid;
  min-height: 16rem;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px dashed rgba(11, 12, 13, 0.35);
  border-radius: var(--radius-md);
  background: #f4eee4;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--color-text-dark);
  background: var(--color-accent-soft);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-zone__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-text-dark);
  color: var(--color-accent-light);
  font-size: 1.4rem;
}

.upload-zone small {
  max-width: 34rem;
  color: #68706c;
  font-size: 0.73rem;
}

.file-list {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #ebe3d7;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field-grid--one {
  grid-template-columns: 1fr;
}

.field--full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field > span {
  font-size: 0.78rem;
  font-weight: 650;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 12, 13, 0.25);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text-dark);
  transition: border-color 180ms ease;
}

.field textarea {
  min-height: auto;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-text-dark);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b918e;
}

.field :user-invalid {
  border-color: var(--color-danger);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  margin-top: 2rem;
  color: #555c58;
  font-size: 0.78rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  accent-color: var(--color-text-dark);
}

.consent a {
  color: var(--color-text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-status.is-error {
  color: #b3261e;
}

.form-status.is-success {
  color: #276317;
}

.form-fallback {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--color-text-dark);
  background: rgba(11, 12, 13, 0.06);
  color: #514b43;
  font-size: 0.82rem;
}

.form-fallback a {
  color: var(--color-text-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-fallback a:focus-visible {
  outline-color: var(--color-text-dark);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 2rem;
}

.project-form .button--ghost {
  border-color: rgba(11, 12, 13, 0.25);
  color: var(--color-text-dark);
}

.project-form .button--accent {
  background: var(--color-accent);
  color: #fff;
}

.project-form .button--accent:hover {
  background: var(--color-accent-strong);
}

/* Contact */
.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-option {
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.contact-option--primary {
  background:
    radial-gradient(circle at 85% 16%, rgba(165, 180, 255, 0.15), transparent 25%),
    var(--color-surface);
}

.contact-option__number {
  margin-bottom: auto;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.contact-option h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4.5vw, 4.7rem);
}

.contact-option > p:not(.eyebrow) {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--color-muted-strong);
}

.direct-contact {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-soft);
}

.direct-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.direct-contact__grid h2 {
  margin-bottom: 1.3rem;
}

.direct-contact__grid > div > p:last-child {
  max-width: 30rem;
  color: var(--color-muted);
}

.contact-data {
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.contact-data div {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 1rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--color-line);
}

.contact-data dt {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-data dd {
  margin: 0;
  font-size: 1.05rem;
}

/* Legal */
.legal-page {
  min-height: 75svh;
  padding-top: calc(var(--header-height) + clamp(5rem, 10vw, 10rem));
}

.legal-page__grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.legal-page aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.draft-badge {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 112, 104, 0.45);
  border-radius: var(--radius-pill);
  color: #ff9a94;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.legal-intro {
  max-width: 49rem;
  margin-bottom: 4rem;
  color: var(--color-muted-strong);
  font-size: 1.15rem;
}

.legal-page article section {
  max-width: 50rem;
  padding-block: 2rem;
  border-top: 1px solid var(--color-line);
}

.legal-page article section:last-child {
  border-bottom: 1px solid var(--color-line);
}

.legal-page article h2 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.legal-page article section p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  --color-text: #f4efe5;
  --color-muted: #aaa397;
  --color-muted-strong: #d0c7ba;
  --color-line: rgba(244, 239, 229, 0.13);
  --color-line-strong: rgba(244, 239, 229, 0.24);
  --color-accent: #a5b4ff;
  --color-focus: #a5b4ff;
  --color-accent-strong: #cbd4ff;
  background: #080807;
  color: #f4efe5;
}

.footer-cta {
  --color-text: #17130f;
  --color-muted: #766f65;
  --color-muted-strong: #4e4840;
  --color-line: rgba(23, 19, 15, 0.13);
  --color-line-strong: rgba(23, 19, 15, 0.24);
  --color-accent: #3f63d9;
  --color-accent-strong: #304db2;
  --color-focus: #3f63d9;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 154, 106, 0.17), transparent 24rem),
    #efe6d9;
  color: #17130f;
}

.footer-cta__grid {
  display: grid;
  grid-template-columns: 0.3fr 1.15fr 0.55fr;
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}

.footer-cta__content h2 {
  max-width: 14ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.footer-cta__content p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--color-muted-strong);
}

.footer-cta__actions {
  display: grid;
  gap: 0.7rem;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.site-footer__brand p {
  max-width: 19rem;
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.site-footer__column h2 {
  margin-bottom: 0.7rem;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__column a,
.site-footer__column span,
.footer-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted-strong);
  font-size: 0.78rem;
  text-align: left;
  transition: color 180ms ease;
}

.site-footer__column a:hover {
  color: var(--color-accent);
}

.footer-button:disabled {
  color: #5c6160;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

.site-footer__bottom a:hover {
  color: var(--color-accent);
}

/* 404 */
.not-found {
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  text-align: center;
}

.not-found__inner {
  position: relative;
}

.not-found__code {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -58%);
  color: rgba(165, 180, 255, 0.06);
  font-size: clamp(12rem, 35vw, 34rem);
  font-weight: 850;
  letter-spacing: -0.12em;
  line-height: 0.7;
}

.not-found h1 {
  margin-bottom: 1.5rem;
}

.not-found__inner > p:not(.eyebrow, .not-found__code) {
  margin-bottom: 2rem;
  color: var(--color-muted-strong);
}

.not-found__actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}

/* Responsive */
@media (min-width: 961px) {
  .section--hero,
  .section--problems,
  .section--services,
  .section--process,
  .section--projects,
  .section--team-preview {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-height) + clamp(1.1rem, 2.2vh, 1.7rem));
    padding-bottom: clamp(1.1rem, 2.2vh, 1.7rem);
  }

  .section--hero {
    overflow: hidden;
  }

  .section--problems {
    min-height: 0;
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + clamp(1rem, 2.5vh, 1.5rem));
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  }

  .hero__grid {
    min-height: 0;
  }

  .hero__copy {
    padding-block: 0;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 6.7vw, 6.5rem);
  }

  .hero__lead,
  .hero h1 {
    margin-bottom: clamp(1.2rem, 2.2vh, 1.7rem);
  }

  .section--services .section-heading,
  .section--projects .section-heading {
    margin-bottom: clamp(1.4rem, 2.8vh, 2.2rem);
  }

  .section--problems .section-heading {
    margin-bottom: clamp(3.25rem, 6vh, 4.75rem);
    transform: translateY(-0.75rem);
  }

  .section--problems .section-heading h2,
  .section--services .section-heading h2,
  .section--projects .section-heading h2,
  .team-preview__copy h2,
  .process-roadmap__heading h2 {
    font-size: clamp(2.55rem, 4.1vw, 4rem);
  }

  .problem-row {
    padding-block: clamp(0.85rem, 1.7vh, 1.35rem);
  }

  .problem-row p {
    font-size: 0.9rem;
  }

  .services-filmstrip {
    min-height: clamp(19rem, 42vh, 26rem);
  }

  .service-frame:nth-child(1) { order: 2; }
  .service-frame:nth-child(2) { order: 3; }
  .service-frame:nth-child(3) { order: 1; }

  .process-roadmap-layout {
    transform: translateY(-2.5rem);
  }

  .process-roadmap__heading {
    margin-bottom: clamp(0.35rem, 0.8vh, 0.75rem);
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-card--wide {
    display: block;
    grid-column: auto;
  }

  .project-card__visual,
  .project-card--wide .project-card__visual {
    min-height: clamp(12.5rem, 25vh, 17rem);
  }

  .project-card__body {
    min-height: clamp(11.5rem, 22vh, 14.5rem);
    padding: clamp(1.2rem, 2vw, 1.8rem);
  }

  .project-card__body p {
    margin-bottom: 0;
  }

  .team-preview__portraits {
    min-height: clamp(24rem, 52vh, 34rem);
  }

  .portrait-placeholder {
    min-height: clamp(20rem, 44vh, 29rem);
  }

  .portrait-placeholder--offset {
    margin-top: clamp(2rem, 4vh, 3rem);
  }

}

@media (min-width: 961px) and (max-height: 760px) {
  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 4.8rem);
  }

  .services-filmstrip {
    min-height: clamp(17rem, 38vh, 21rem);
  }

  .section--services .section-heading h2,
  .section--projects .section-heading h2 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 3.3vw, 2.7rem);
  }

  .project-card__visual,
  .project-card--wide .project-card__visual {
    min-height: clamp(10rem, 22vh, 13rem);
  }

  .project-card__body {
    min-height: clamp(9rem, 17vh, 11rem);
    padding: 1rem;
  }

  .project-card__body p {
    font-size: 0.88rem;
  }

  .project-visual__frame {
    width: 41%;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 1.2rem;
  }

  .desktop-nav a:nth-last-child(-n + 2) {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  }

  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-grid article:nth-child(2) {
    border-right: 0;
  }

  .compact-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid currentColor;
  }
}

@media (max-width: 960px) {
  .problem-title__line--positive {
    margin-left: 0;
  }

  :root {
    --header-height: 4.7rem;
  }

  .desktop-nav,
  .site-header__actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  body:has(.mobile-menu[open]) .site-header {
    backdrop-filter: none;
  }

  .mobile-menu > summary {
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu__trigger {
    position: relative;
    z-index: 1003;
    display: flex;
    min-width: 4.8rem;
    min-height: 2.8rem;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
  }

  .mobile-menu__label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-menu__icon {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1rem;
  }

  .mobile-menu__icon i {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease, top 220ms ease;
  }

  .mobile-menu__icon i:first-child { top: 0.25rem; }
  .mobile-menu__icon i:last-child { top: 0.75rem; }

  .mobile-menu[open] .mobile-menu__icon i:first-child {
    top: 0.5rem;
    transform: rotate(45deg);
  }

  .mobile-menu[open] .mobile-menu__icon i:last-child {
    top: 0.5rem;
    transform: rotate(-45deg);
  }

  .mobile-menu:not([open]) .mobile-menu__panel {
    display: none;
  }

  .mobile-menu__panel {
    --color-text: #f4efe5;
    --color-muted: #aaa397;
    --color-muted-strong: #d0c7ba;
    --color-line: rgba(244, 239, 229, 0.13);
    --color-line-strong: rgba(244, 239, 229, 0.24);
    --color-accent: #a5b4ff;
    --color-focus: #a5b4ff;
    position: fixed;
    z-index: 1002;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    padding: 2rem var(--gutter);
    background:
      radial-gradient(circle at 75% 15%, rgba(165, 180, 255, 0.12), transparent 20rem),
      rgba(8, 8, 7, 0.98);
    color: #f4efe5;
  }

  .mobile-menu__panel .button--ghost {
    background: rgba(255, 255, 255, 0.02);
  }

  .mobile-menu__panel .button--ghost:hover {
    border-color: rgba(244, 239, 229, 0.5);
    background: rgba(255, 255, 255, 0.055);
  }

  .mobile-menu__top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line);
  }

  .mobile-menu__index {
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 0.6rem;
  }

  .mobile-nav {
    display: grid;
    margin-block: auto;
  }

  .mobile-nav a {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: baseline;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--color-line);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 650;
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .page--leistungen .mobile-nav a {
    grid-template-columns: 1fr auto;
  }

  .mobile-nav a > span:first-child {
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .mobile-nav a > span:last-child {
    color: var(--color-accent);
    font-size: 1rem;
  }

  .mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 2rem;
  }

  .mobile-menu__claim {
    margin: 1.5rem 0 0;
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .hero__grid,
  .page-hero__grid,
  .team-preview,
  .service-detail__grid,
  .project-start__grid,
  .direct-contact__grid {
    grid-template-columns: 1fr;
  }

  .section--hero {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero__grid {
    min-height: auto;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-visual {
    max-width: 45rem;
    justify-self: center;
  }

  .browser {
    transform: none;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .process-roadmap__heading {
    margin-bottom: 1rem;
  }

  .process-roadmap-layout {
    transform: translateY(-1rem);
  }

  .process-roadmap__heading h2 {
    max-width: 12ch;
  }

  .process-roadmap {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 0.5rem;
  }

  .process-roadmap::before {
    top: 1.6rem;
    right: auto;
    bottom: 1.6rem;
    left: 1.6rem;
    width: 2px;
    height: auto;
    background: var(--color-line-strong);
  }

  .process-roadmap::after {
    top: 1.6rem;
    right: auto;
    bottom: 1.6rem;
    left: 1.6rem;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
    transform-origin: center top;
  }

  .process-roadmap__step {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0 0 1.5rem;
  }

  .process-roadmap__node {
    width: 3.2rem;
    height: 3.2rem;
    grid-column: 1;
    grid-row: 1;
  }

  .process-roadmap__content,
  .process-roadmap__step:nth-child(even) .process-roadmap__content {
    width: auto;
    max-width: none;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: stretch;
    padding: 0.4rem 0 1rem;
    text-align: left;
  }

  html.js:where(.has-reveal-controller) .process-roadmap[data-reveal]::after {
    transform: scaleY(0);
  }

  html.js:where(.has-reveal-controller) .process-roadmap[data-reveal].is-visible::after {
    transform: scaleY(1);
  }

  .problem-row {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .problem-row__solution {
    grid-column: 2;
    padding-right: 3rem;
  }

  .problem-row__arrow {
    bottom: 2.5rem;
    top: auto;
  }

  .services-filmstrip {
    display: grid;
    width: 100%;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    touch-action: pan-y;
  }

  .service-frame {
    z-index: 1;
    min-height: 9rem;
    flex: none;
    transform: none;
  }

  .services-cinema__mobile-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.4rem 0 0;
    color: rgba(245, 240, 231, 0.55);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .services-cinema__mobile-cue span:last-child {
    color: #a5b4ff;
  }

  .service-frame.is-active {
    grid-column: 1 / -1;
    min-height: 31rem;
    transform: none;
  }

  .service-frame__copy {
    padding-top: 2.75rem;
  }

  .service-frame:not(.is-active) .service-frame__copy {
    padding-top: 0;
  }

  .service-frame:not(.is-active) h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(1rem, 3.6vw, 1.3rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .service-frame__details {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-detail__sticky,
  .project-start__aside,
  .legal-page aside {
    position: static;
  }

  .project-card--wide {
    grid-template-columns: 1fr;
  }

  .project-card--wide .project-card__visual {
    min-height: 32rem;
  }

  .team-preview__portraits {
    min-height: 32rem;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero__aside {
    max-width: 39rem;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-card--reverse .case-card__visual {
    order: 0;
  }

  .case-card__visual {
    min-height: 30rem;
  }

  .project-start__aside h2 {
    max-width: 14ch;
  }

  .form-roadmap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .form-roadmap li {
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    border: 0;
    text-align: center;
  }

  .form-roadmap p {
    font-size: 0.58rem;
  }

  .project-start__privacy {
    max-width: 35rem;
  }

  .footer-cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 32rem;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1rem;
    --section-space: 4.8rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.3rem, 11.5vw, 3.8rem);
  }

  .brand__wordmark {
    display: none;
  }

  .brand__wordmark-panel {
    width: 5.45rem;
    height: 3.6rem;
  }

  .brand__logo--wordmark {
    top: -2.13rem;
    left: -1.53rem;
    width: 8.45rem;
  }

  .hero__copy {
    padding-top: 1rem;
  }

  .hero__actions,
  .not-found__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button,
  .not-found__actions .button {
    width: 100%;
  }

  .browser__viewport {
    aspect-ratio: 0.9 / 1;
  }

  .project-grid,
  .profile-grid,
  .contact-option-grid,
  .choice-grid,
  .field-grid,
  .compact-grid,
  .compact-grid--three {
    grid-template-columns: 1fr;
  }

  .compact-grid article,
  .compact-grid article:nth-child(2),
  .compact-grid article:last-child {
    border-right: 0;
  }

  .compact-grid article:not(:last-child) {
    border-bottom: 1px solid currentColor;
  }

  .compact-grid article > span {
    margin-bottom: 3rem;
  }

  .problem-row {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .problem-row__solution {
    grid-column: auto;
    padding-right: 3rem;
  }

  .problem-row__arrow {
    bottom: 2rem;
  }

  .service-frame {
    min-height: 9.5rem;
    padding: 1.15rem;
  }

  .service-frame.is-active {
    min-height: 34rem;
  }

  .service-frame.is-active h3 {
    max-width: 16ch;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .service-frame__details {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-frame.is-active .service-frame__details {
    max-height: 22rem;
  }

  .service-frame__details ul {
    grid-template-columns: 1fr;
  }

  .process-roadmap__heading {
    margin-bottom: 1rem;
  }

  .process-roadmap__content h3 {
    font-size: clamp(1.3rem, 6vw, 1.75rem);
  }

  .project-card__visual,
  .project-card--wide .project-card__visual {
    min-height: 25rem;
  }

  .team-preview__portraits {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .portrait-placeholder,
  .profile-card__portrait {
    min-height: 26rem;
  }

  .portrait-placeholder--offset {
    margin-top: 0;
  }

  .team-preview__badge {
    right: 1rem;
    bottom: 1rem;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 5rem);
  }

  .legal-page h1 {
    font-size: clamp(2.5rem, 12vw, 5rem);
    hyphens: auto;
  }

  .detail-card {
    grid-template-columns: 2.4rem 1fr;
  }

  .detail-card p {
    grid-column: 2;
  }

  .case-card__visual {
    min-height: 25rem;
  }

  .case-card__meta {
    margin-bottom: 2.5rem;
  }

  .case-card dl div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .form-roadmap p {
    display: none;
  }

  .project-form {
    min-height: 40rem;
    padding: 1.2rem;
  }

  .form-step-count {
    margin-bottom: 2rem;
  }

  .field--full {
    grid-column: auto;
  }

  .form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-actions .button:only-child {
    grid-column: 1 / -1;
  }

  .contact-option {
    min-height: 28rem;
  }

  .contact-data div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-cta__actions,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__bottom p:nth-child(2) {
    display: none;
  }

  .mobile-menu__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .leistungen-story h1 {
    font-size: clamp(3.35rem, 8.6vw, 6rem);
  }

  .leistungen-hero__caption {
    gap: clamp(1rem, 2.8vw, 1.5rem);
    margin-top: clamp(1.75rem, 4.5vw, 2.8rem);
  }

  .leistungen-hero__caption > span {
    width: clamp(2.5rem, 9vw, 4.5rem);
  }

  .leistungen-hero__caption p {
    font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  }

  .leistungen-story__showcase-inner {
    width: min(92vw, calc(150vh - 10rem), 68rem);
    width: min(92vw, calc(150svh - 10rem), 68rem);
  }

  .leistungen-jump {
    width: min(100%, 58rem);
    justify-self: center;
  }

}

@media (max-width: 680px) {
  .leistungen-hero__copy {
    width: 100%;
  }

  .leistungen-story h1 {
    font-size: clamp(2.45rem, 11.4vw, 4rem);
    line-height: 0.98;
  }

  .leistungen-hero__caption {
    gap: clamp(1rem, 4vw, 1.5rem);
    margin-top: clamp(1.7rem, 6vw, 2.5rem);
  }

  .leistungen-hero__caption > span {
    width: 3rem;
  }

  .leistungen-hero__caption p {
    font-size: clamp(0.9rem, 3.7vw, 1.1rem);
    line-height: 1.35;
  }

  .leistungen-story__showcase-inner {
    width: calc(100% - 2rem);
  }

  .leistungen-selection {
    padding-top: 3.5rem;
  }

  .leistungen-showreel__play {
    width: clamp(3.1rem, 14vw, 4rem);
  }

  .leistungen-showreel__start-copy {
    display: none;
  }

  .leistungen-jump__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem;
    padding: 0.32rem;
    border-radius: 1rem;
  }

  .leistungen-jump__links a {
    min-height: 4.35rem;
    justify-items: center;
    padding: 0.65rem 0.35rem;
    border-radius: 0.74rem;
    font-size: clamp(0.68rem, 3vw, 0.8rem);
    text-align: center;
  }

  .detail-card {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .detail-card p {
    grid-column: auto;
  }

}

/* Homepage cinematic direction */
.home-hero__stage,
.services-story__stage {
  position: relative;
}

.home-scene-meta,
.services-story__counter,
.services-story__timeline {
  display: none;
}

:where(html.has-reveal-controller) .page--home .project-card[data-reveal] .project-card__visual {
  --project-visual-scale: 1.045;
  clip-path: inset(0 0 12% 0 round var(--radius-lg) var(--radius-lg) 0 0);
  transform: translate3d(0, var(--project-parallax, 0), 0) scale(var(--project-visual-scale));
  transform-origin: center;
  transition:
    clip-path 1100ms var(--ease-out),
    transform 1100ms var(--ease-out);
}

:where(html.has-reveal-controller) .page--home .project-card[data-reveal].is-visible .project-card__visual {
  --project-visual-scale: 1;
  clip-path: inset(0 0 0 0 round 0);
}

.page--home .team-preview__portraits .portrait-placeholder {
  transition: transform 1200ms var(--ease-out);
}

.page--home .team-preview__portraits.is-visible .portrait-placeholder:first-child {
  transform: translateY(-0.45rem) rotate(-0.55deg);
}

.page--home .team-preview__portraits.is-visible .portrait-placeholder--offset {
  transform: translateY(0.55rem) rotate(0.45deg);
}

.page--home .footer-cta::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  content: "";
}

@keyframes home-before-state-once {
  0%, 24% { opacity: 1; transform: scale(1); }
  58%, 100% { opacity: 0.34; transform: scale(1.02); }
}

@keyframes home-after-state-once {
  0%, 20% { clip-path: inset(0 100% 0 0); }
  66%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes home-scan-state-once {
  0%, 18% { left: -3%; opacity: 0; }
  22% { opacity: 1; }
  64% { left: 100%; opacity: 1; }
  70%, 100% { left: 100%; opacity: 0; }
}

@keyframes home-grid-state-once {
  0%, 18%, 72%, 100% { opacity: 0; }
  32%, 61% { opacity: 0.42; }
}

@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  .page--home .website-state--before {
    animation: home-before-state-once 5.8s var(--ease-standard) both;
  }

  .page--home .website-state--after {
    animation: home-after-state-once 5.8s var(--ease-standard) both;
  }

  .page--home .transformation-scan {
    animation: home-scan-state-once 5.8s var(--ease-standard) both;
  }

  .page--home .transformation-grid {
    animation: home-grid-state-once 5.8s ease both;
  }
}

@media (min-width: 1100px) {
  .page--home .home-problems__layout {
    display: grid;
    grid-template-columns: minmax(20rem, 0.76fr) minmax(0, 1.24fr);
    align-items: start;
    gap: clamp(3.5rem, 7vw, 8rem);
  }

  .page--home .section--problems {
    display: block;
    min-height: 0;
    padding-top: clamp(7.5rem, 10vw, 10rem);
    padding-bottom: clamp(7rem, 9vw, 9rem);
  }

  .page--home .section--problems .section-heading {
    margin: 0;
    transform: none;
  }

  .page--home .section-heading--problems h2 {
    max-width: 10ch;
  }

  .page--home .section-heading--problems .eyebrow {
    margin-bottom: 2rem;
  }

  .page--home .problem-title__line--positive {
    margin-left: 0;
  }

  .page--home .problem-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem clamp(1.5rem, 3vw, 3rem);
    padding-block: clamp(2rem, 3vw, 2.8rem);
  }

  .page--home .problem-row__label {
    grid-column: 1 / -1;
  }

  .page--home .problem-row__solution {
    padding-right: 2.8rem;
  }

  .page--home .project-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: start;
    gap: clamp(1rem, 1.7vw, 1.5rem);
  }

  .page--home .project-card:nth-child(1) {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .page--home .project-card:nth-child(2),
  .page--home .project-card:nth-child(3) {
    grid-column: 8 / -1;
  }

  .page--home .project-card:nth-child(2) {
    grid-row: 1;
  }

  .page--home .project-card:nth-child(3) {
    grid-row: 2;
  }

  .page--home .project-card--wide {
    display: block;
  }

  .page--home .project-card:nth-child(1) .project-card__visual {
    min-height: clamp(27rem, 51vh, 35rem);
  }

  .page--home .project-card:nth-child(2) .project-card__visual,
  .page--home .project-card:nth-child(3) .project-card__visual {
    min-height: clamp(14rem, 27vh, 19rem);
  }

  .page--home .project-card:nth-child(1) .project-card__body {
    min-height: clamp(13rem, 24vh, 16rem);
  }

  .page--home .project-card:nth-child(2) .project-card__body,
  .page--home .project-card:nth-child(3) .project-card__body {
    min-height: clamp(12.5rem, 22vh, 15rem);
  }
}

@media (min-width: 1100px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .page--home .section--hero.is-cinematic-ready {
    display: block;
    height: 150svh;
    min-height: 150svh;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--hero.is-cinematic-ready .home-hero__stage {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    height: 100svh;
    align-items: center;
    padding-top: calc(var(--header-height) + clamp(1.5rem, 3vh, 2.5rem));
    padding-bottom: clamp(2.8rem, 5vh, 4.25rem);
    overflow: clip;
    isolation: isolate;
  }

  .page--home .section--hero.is-cinematic-ready .hero__copy {
    opacity: var(--hero-copy-opacity, 1);
    transform: translate3d(0, var(--hero-copy-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-visual {
    transform: translate3d(0, var(--hero-visual-y, 0), 0) scale(var(--hero-visual-scale, 1));
  }

  .page--home .section--hero.is-cinematic-ready .browser {
    transform: rotateY(var(--hero-browser-rotate-y, -3.24deg)) rotateX(var(--hero-browser-rotate-x, 1.47deg));
  }

  .page--home .section--hero.is-cinematic-ready .website-state--before {
    opacity: var(--hero-before-opacity, 0.74);
    animation: none;
  }

  .page--home .section--hero.is-cinematic-ready .website-state--after {
    clip-path: inset(0 var(--hero-after-clip, 58%) 0 0);
    animation: none;
  }

  .page--home .section--hero.is-cinematic-ready .transformation-scan {
    left: var(--hero-scan-left, 41.52%);
    opacity: var(--hero-scan-opacity, 0);
    animation: none;
  }

  .page--home .section--hero.is-cinematic-ready .transformation-grid {
    opacity: var(--hero-grid-opacity, 0.41);
    animation: none;
  }

  .page--home .section--hero.is-cinematic-ready .hero__copy,
  .page--home .section--hero.is-cinematic-ready .hero-visual,
  .page--home .section--hero.is-cinematic-ready .browser,
  .page--home .section--hero.is-cinematic-ready .website-state--after,
  .page--home .section--hero.is-cinematic-ready .transformation-scan {
    will-change: transform, opacity, clip-path;
  }

  .page--home .section--hero.is-cinematic-ready .home-scene-meta {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: clamp(1rem, 2.2vh, 1.7rem);
    left: 0;
    display: flex;
    justify-content: space-between;
    opacity: var(--hero-meta-opacity, 1);
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .page--home .section--hero.is-cinematic-ready .home-scene-meta span:last-child::before {
    display: inline-block;
    width: 3rem;
    height: 1px;
    margin-right: 0.75rem;
    vertical-align: middle;
    background: linear-gradient(90deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
    content: "";
  }

  .page--home .section--services.is-cinematic-ready {
    display: block;
    height: 320svh;
    min-height: 320svh;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--services.is-cinematic-ready .services-story__stage {
    position: sticky;
    z-index: 1;
    top: var(--header-height);
    display: flex;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(1.2rem, 2.5vh, 2rem);
    overflow: clip;
    isolation: isolate;
  }

  .page--home .section--services.is-cinematic-ready .section-heading {
    margin-bottom: clamp(1.25rem, 2.8vh, 2.15rem);
  }

  .page--home .section--services.is-cinematic-ready .services-cinema {
    isolation: isolate;
  }

  .page--home .section--services.is-cinematic-ready .services-story__counter {
    position: absolute;
    z-index: -1;
    top: clamp(-7.2rem, -10vh, -4rem);
    right: 0;
    display: flex;
    align-items: baseline;
    gap: 0.35em;
    margin: 0;
    color: rgba(245, 240, 231, 0.075);
    font-family: var(--font-sans);
    font-size: clamp(6rem, 13vw, 12rem);
    font-weight: 750;
    letter-spacing: -0.09em;
    line-height: 0.75;
    pointer-events: none;
  }

  .page--home .section--services.is-cinematic-ready .services-story__counter span:last-child {
    font-size: 0.2em;
    letter-spacing: -0.03em;
  }

  .page--home .section--services.is-cinematic-ready .services-filmstrip {
    position: relative;
    z-index: 1;
    min-height: clamp(18rem, 43vh, 26rem);
  }

  .page--home .section--services.is-cinematic-ready .services-story__timeline {
    display: grid;
    grid-template-columns: auto minmax(5rem, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    margin-top: clamp(1rem, 2.2vh, 1.6rem);
    color: rgba(245, 240, 231, 0.5);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.09em;
  }

  .page--home .section--services.is-cinematic-ready .services-story__timeline i {
    position: relative;
    height: 1px;
    overflow: hidden;
    background: rgba(245, 240, 231, 0.18);
  }

  .page--home .section--services.is-cinematic-ready .services-story__timeline b {
    position: absolute;
    inset: 0;
    transform: scaleX(var(--services-progress, 0));
    transform-origin: left center;
    background: linear-gradient(90deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  }

  .page--home .section--services.is-cinematic-ready.is-scene-active .service-frame,
  .page--home .section--services.is-cinematic-ready.is-scene-active .service-frame__watermark {
    will-change: transform;
  }

  .page--home .section--process.is-cinematic-roadmap::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: 2px;
    height: clamp(2.5rem, 6vh, 4.5rem);
    background: linear-gradient(180deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
    content: "";
  }

  html.js:where(.has-reveal-controller) .page--home .section--process.is-cinematic-roadmap .process-roadmap[data-reveal]::after {
    transform: scaleX(var(--roadmap-progress, 0));
    transition: none;
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__step {
    --process-step-delay: 0ms;
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__node {
    border-color: rgba(63, 99, 217, 0.45);
    background: var(--color-bg-soft);
    color: var(--color-accent);
    transform: scale(0.94);
    transition:
      border-color 360ms ease,
      background 360ms ease,
      color 360ms ease,
      transform 600ms var(--ease-out);
    transition-delay: 0ms;
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__content {
    opacity: 0.28;
    transform: translateY(0.55rem);
    transition:
      opacity 460ms ease,
      transform 650ms var(--ease-out);
    transition-delay: 0ms;
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__step.is-reached .process-roadmap__node {
    border-color: var(--process-step-border);
    background: var(--process-step-fill);
    color: var(--process-step-foreground);
    transform: scale(1.02);
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__step.is-reached .process-roadmap__content {
    opacity: 1;
    transform: translateY(0);
  }

  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(1) {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
  }

  .page--home .section--projects.is-cinematic-projects.is-scene-active .project-card__visual {
    will-change: transform;
  }
}

/* Homepage cinematic direction v2 — spatial scenes, not a conventional card grid */
.hero-cinematic {
  position: relative;
}

.hero-cinematic__title {
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-cinematic__title-line {
  display: block;
}

.hero-cinematic__title-line--accent {
  width: max-content;
  max-width: 100%;
  margin-bottom: -0.14em;
  padding-bottom: 0.14em;
}

.hero-cinematic__object-shell {
  position: relative;
  isolation: isolate;
}

.hero-cinematic__object-shell::before {
  position: absolute;
  z-index: -1;
  inset: -1.25rem;
  border: 1px solid rgba(63, 99, 217, 0.22);
  border-radius: 2.25rem;
  content: "";
  pointer-events: none;
  transform: rotate(-2deg);
}

.hero-fragment,
.hero-cinematic__note,
.problem-story__counter,
.problem-story__controls,
.services-mosaic__tile,
.services-mosaic__controls,
.projects-story__counter,
.projects-story__controls {
  display: none;
}

.hero-fragment {
  overflow: hidden;
  border: 1px solid rgba(23, 19, 15, 0.22);
  border-radius: 1.1rem;
  background: #111315;
  box-shadow: 0 2rem 5rem rgba(55, 45, 32, 0.18);
  color: #f5f0e7;
}

.hero-fragment__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(245, 240, 231, 0.12);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-fragment__screen {
  position: relative;
  display: grid;
  height: calc(100% - 2.15rem);
  align-content: center;
  gap: 0.65rem;
  padding: 14%;
  background:
    radial-gradient(circle at 75% 20%, rgba(63, 99, 217, 0.35), transparent 42%),
    #151719;
}

.hero-fragment__screen i {
  display: block;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(245, 240, 231, 0.62);
}

.hero-fragment__screen i:nth-child(1) { width: 46%; }
.hero-fragment__screen i:nth-child(2) { width: 84%; }
.hero-fragment__screen i:nth-child(3) { width: 66%; }

.hero-fragment__screen b {
  display: block;
  width: 36%;
  height: 1.35rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(112deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
}

.hero-fragment__screen--result {
  background:
    linear-gradient(135deg, rgba(21, 136, 212, 0.24), transparent 45%),
    #f7f2e9;
}

.hero-fragment__screen--result i {
  background: rgba(23, 19, 15, 0.52);
}

.process-roadmap__canvas {
  position: relative;
}

.process-roadmap__route {
  display: none;
}

.project-visual--case {
  position: relative;
  background: #111315;
}

.project-case__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-case__phase {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.56);
  color: #fffaf4;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(0.5rem);
}

.project-visual--placeholder b {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: rgba(245, 240, 231, 0.68);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1100px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  /* Scene 01: oversized type surrounds one central website object. */
  .page--home .section--hero.is-cinematic-ready {
    height: 220svh;
    min-height: 220svh;
  }

  .page--home .section--hero.is-cinematic-ready .home-hero__stage {
    position: sticky;
    top: 0;
    display: block;
    height: 100svh;
    padding: 0;
    overflow: clip;
    isolation: isolate;
    background:
      radial-gradient(circle at 50% 52%, rgba(63, 99, 217, 0.1), transparent 28rem),
      radial-gradient(circle at 12% 8%, rgba(184, 154, 106, 0.11), transparent 24rem),
      var(--color-bg);
  }

  .page--home .section--hero.is-cinematic-ready .hero__glow {
    z-index: 0;
    width: 54rem;
    height: 54rem;
    opacity: 0.09;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic {
    width: 100%;
    max-width: none;
    height: 100%;
    padding-inline: var(--gutter);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic::before {
    position: absolute;
    z-index: 0;
    inset: var(--header-height) var(--gutter) 1.35rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    content: "";
    pointer-events: none;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title {
    position: absolute;
    z-index: auto;
    inset: 0;
    width: auto;
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
    color: var(--color-text-dark);
    font-size: clamp(5.9rem, 10.25vw, 10.8rem);
    line-height: 0.76;
    letter-spacing: -0.085em;
    pointer-events: none;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title-line {
    position: absolute;
    width: max-content;
    max-width: calc(100vw - (2 * var(--gutter)));
    white-space: nowrap;
    will-change: auto;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title-line--back {
    z-index: 1;
    top: 14.5%;
    left: 8.5%;
    opacity: var(--hero-title-opacity, 1);
    transform: translate3d(var(--hero-back-x, 0), var(--hero-back-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title-line--front {
    z-index: 5;
    top: 43%;
    left: 50%;
    font-size: 0.82em;
    opacity: var(--hero-title-opacity, 1);
    transform: translate3d(calc(-50% + var(--hero-front-x, 0px)), var(--hero-front-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title-line--accent {
    z-index: 6;
    right: 8%;
    bottom: 20%;
    opacity: var(--hero-title-opacity, 1);
    transform: translate3d(var(--hero-accent-x, 0), var(--hero-accent-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__object {
    position: absolute;
    z-index: 4;
    top: 51%;
    left: 50%;
    width: min(46vw, 43rem);
    max-width: none;
    margin: 0;
    opacity: var(--hero-object-opacity, 1);
    transform: translate3d(-50%, calc(-50% + var(--hero-object-y, 0px)), 0) scale(var(--hero-object-scale, 0.84)) rotate(var(--hero-object-rotation, -1deg));
    transform-origin: center;
    will-change: auto;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__object-shell {
    filter: drop-shadow(0 3rem 4rem rgba(48, 39, 29, 0.24));
  }

  .page--home .section--hero.is-cinematic-ready .browser {
    border-radius: clamp(1rem, 1.4vw, 1.45rem);
    transform: none;
  }

  .page--home .section--hero.is-cinematic-ready .browser__viewport {
    aspect-ratio: 1.18 / 1;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__lead {
    position: absolute;
    z-index: 8;
    bottom: 3.4rem;
    left: calc(var(--gutter) + 1.1rem);
    width: min(28vw, 25rem);
    margin: 0;
    opacity: var(--hero-copy-opacity, 1);
    color: var(--color-muted-strong);
    font-size: clamp(0.82rem, 1vw, 1rem);
    transform: translate3d(0, var(--hero-copy-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__actions {
    position: absolute;
    z-index: 8;
    right: calc(var(--gutter) + 1.1rem);
    bottom: 3.4rem;
    margin: 0;
    opacity: var(--hero-copy-opacity, 1);
    transform: translate3d(0, var(--hero-copy-y, 0), 0);
  }

  .page--home .section--hero.is-cinematic-ready .hero-fragment {
    position: absolute;
    z-index: 2;
    display: block;
    width: clamp(12rem, 17vw, 18rem);
    height: clamp(10rem, 25vh, 15rem);
    opacity: var(--hero-fragment-opacity, 1);
    will-change: auto;
  }

  .page--home .section--hero.is-cinematic-ready .hero-fragment--left {
    top: 38%;
    left: -3.5rem;
    transform: translate3d(var(--hero-left-fragment-x, 0), var(--hero-left-fragment-y, 0), 0) rotate(var(--hero-left-fragment-rotation, -8deg));
  }

  .page--home .section--hero.is-cinematic-ready .hero-fragment--right {
    top: 17%;
    right: -3rem;
    transform: translate3d(var(--hero-right-fragment-x, 0), var(--hero-right-fragment-y, 0), 0) rotate(var(--hero-right-fragment-rotation, 8deg));
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__note {
    position: absolute;
    z-index: 7;
    display: block;
    margin: 0;
    opacity: var(--hero-note-opacity, 1);
    color: var(--color-muted);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__note--left {
    top: 25%;
    left: calc(var(--gutter) + 1rem);
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__note--right {
    right: calc(var(--gutter) + 1rem);
    bottom: 28%;
    text-align: right;
  }

  /* Scene 02: the three problem/solution chapters occupy one light spatial canvas. */
  .page--home .section--problems.is-cinematic-problems {
    height: 300svh;
    min-height: 300svh;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--problems.is-cinematic-problems .home-problems__layout {
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100svh;
    padding-inline: var(--gutter);
    overflow: clip;
    isolation: isolate;
  }

  .page--home .section--problems.is-cinematic-problems .section-heading--problems {
    position: absolute;
    z-index: 1;
    top: calc(var(--header-height) + 1rem);
    right: var(--gutter);
    left: var(--gutter);
    margin: 0;
    opacity: var(--problems-title-opacity, 1);
    transform: translate3d(0, var(--problems-title-y, 0), 0) scale(var(--problems-title-scale, 1));
    transform-origin: left top;
  }

  .page--home .section--problems.is-cinematic-problems .section-heading--problems h2 {
    max-width: none;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.6rem, 7.4vw, 8rem);
    font-weight: 400;
    line-height: 0.84;
    letter-spacing: -0.07em;
  }

  .page--home .section--problems.is-cinematic-problems .problem-title__line--positive {
    width: max-content;
    max-width: 100%;
    margin-left: 18%;
  }

  .page--home .section--problems.is-cinematic-problems .problem-list {
    position: absolute;
    z-index: 3;
    inset: 0;
  }

  .page--home .section--problems.is-cinematic-problems .problem-list::before {
    display: none;
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal].is-visible .problem-row {
    position: absolute;
    top: 53%;
    left: 50%;
    display: grid;
    width: min(76vw, 68rem);
    min-height: min(52vh, 31rem);
    grid-template-columns: 0.62fr 1fr 1fr;
    align-content: center;
    gap: clamp(1.4rem, 3vw, 3.4rem);
    padding: clamp(1.8rem, 3vw, 3rem);
    overflow: hidden;
    border: 1px solid rgba(11, 12, 13, 0.18);
    border-radius: 1.6rem;
    background: rgba(247, 242, 233, 0.96);
    box-shadow: 0 2.5rem 6rem rgba(56, 46, 32, 0.13);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.64);
    clip-path: none;
    transition:
      transform 900ms var(--ease-out),
      opacity 500ms ease,
      border-color 500ms ease,
      box-shadow 900ms var(--ease-out);
    transition-delay: 0ms;
    will-change: auto;
  }

  .page--home .section--problems.is-cinematic-problems .problem-row::before {
    position: absolute;
    z-index: -1;
    top: -0.16em;
    right: 0.02em;
    color: rgba(11, 12, 13, 0.045);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(8rem, 18vw, 18rem);
    line-height: 1;
  }

  .page--home .section--problems.is-cinematic-problems .problem-row:nth-child(1)::before,
  .page--home .section--problems.is-cinematic-problems .problem-row:nth-child(2)::before,
  .page--home .section--problems.is-cinematic-problems .problem-row:nth-child(3)::before {
    display: none;
    content: none;
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-active {
    z-index: 5;
    opacity: 1;
    transform: translate3d(-50%, -43%, 0) scale(1) rotate(0.001deg);
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-before {
    z-index: 2;
    opacity: 0.72;
    transform: translate3d(-111%, 48%, 0) scale(0.43) rotate(-8deg);
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-after {
    z-index: 2;
    opacity: 0.72;
    transform: translate3d(12%, -128%, 0) scale(0.43) rotate(7deg);
  }

  .page--home .section--problems.is-cinematic-problems .problem-row:not(.is-active) > :not(.problem-row__label) {
    opacity: 0;
  }

  .page--home .section--problems.is-cinematic-problems .problem-row h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    font-weight: 400;
  }

  .page--home .section--problems.is-cinematic-problems .problem-row p {
    font-size: clamp(0.92rem, 1.18vw, 1.12rem);
    line-height: 1.55;
  }

  .page--home .section--problems.is-cinematic-problems .problem-story__counter,
  .page--home .section--problems.is-cinematic-problems .problem-story__controls {
    position: absolute;
    z-index: 8;
    bottom: 2rem;
    display: flex;
  }

  .page--home .section--problems.is-cinematic-problems .problem-story__counter {
    left: var(--gutter);
    align-items: baseline;
    gap: 0.4rem;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
  }

  .page--home .section--problems.is-cinematic-problems .problem-story__counter span:first-child {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.3rem;
  }

  .problem-story__controls,
  .services-mosaic__controls,
  .projects-story__controls {
    gap: 0.45rem;
  }

  .problem-story__controls button,
  .services-mosaic__controls button,
  .projects-story__controls button {
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: 0;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    transition: transform 240ms var(--ease-out), background-color 240ms ease;
  }

  .problem-story__controls button:hover,
  .services-mosaic__controls button:hover,
  .projects-story__controls button:hover {
    transform: translateY(-2px);
  }

  .page--home .section--problems.is-cinematic-problems .problem-story__controls {
    right: var(--gutter);
  }

  .page--home .section--problems.is-cinematic-problems .problem-story__controls button:hover {
    background: rgba(11, 12, 13, 0.06);
  }

  /* Scene 03: a single dominant service card with two spatial satellites. */
  .page--home .section--services.is-cinematic-ready {
    height: 430svh;
    min-height: 430svh;
  }

  .page--home .section--services.is-cinematic-ready .services-story__stage {
    position: sticky;
    top: 0;
    display: block;
    height: 100svh;
    padding: 0;
    overflow: clip;
    isolation: isolate;
    background:
      radial-gradient(circle at 50% 55%, rgba(63, 99, 217, 0.11), transparent 29rem),
      #11100e;
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services {
    position: absolute;
    z-index: 2;
    top: calc(var(--header-height) + 1rem);
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
    margin: 0;
    pointer-events: none;
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services h2 {
    max-width: 14ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.8rem, 7.6vw, 8.2rem);
    font-weight: 400;
    line-height: 0.82;
    opacity: 0.16;
  }

  .page--home .section--services.is-cinematic-ready .services-cinema {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .page--home .section--services.is-cinematic-ready .services-filmstrip {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    min-height: 0;
  }

  .page--home .section--services.is-cinematic-ready .service-frame {
    position: absolute;
    top: 52%;
    left: 50%;
    display: flex;
    width: min(55vw, 49rem);
    height: min(64vh, 37rem);
    min-height: 0;
    flex: none;
    padding: clamp(1.6rem, 2.6vw, 2.8rem);
    opacity: var(--service-stack-opacity, 0.72);
    transform: translate3d(calc(-50% + var(--service-stack-x, 0px)), calc(-50% + var(--service-stack-y, 0px)), 0) rotate(var(--service-stack-rotation, 0deg)) scale(var(--service-stack-scale, 0.78));
    transition:
      opacity 260ms linear,
      border-color 380ms ease,
      background-color 380ms ease,
      color 380ms ease,
      box-shadow 600ms var(--ease-out);
    will-change: auto;
  }

  .page--home .section--services.is-cinematic-ready .service-frame.is-active {
    transform: translate3d(calc(-50% + var(--service-stack-x, 0px)), calc(-50% + var(--service-stack-y, 0px)), 0) rotate(var(--service-stack-rotation, 0deg)) scale(var(--service-stack-scale, 1));
  }

  .page--home .section--services.is-cinematic-ready .service-frame h3 {
    max-width: 13ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 3.65vw, 4rem);
    font-weight: 400;
    line-height: 0.95;
  }

  .page--home .section--services.is-cinematic-ready .service-frame:not(.is-active) h3 {
    display: block;
    color: rgba(245, 240, 231, 0.82);
    font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  }

  .page--home .section--services.is-cinematic-ready .service-frame__details {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page--home .section--services.is-cinematic-ready .services-story__counter {
    z-index: 1;
    top: auto;
    right: var(--gutter);
    bottom: 1rem;
    color: rgba(245, 240, 231, 0.08);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(7rem, 15vw, 15rem);
  }

  .page--home .section--services.is-cinematic-ready .services-story__timeline {
    position: absolute;
    z-index: 8;
    right: calc(var(--gutter) + 8rem);
    bottom: 2.4rem;
    left: calc(var(--gutter) + 8rem);
    margin: 0;
  }

  .page--home .section--services.is-cinematic-ready .services-mosaic__controls {
    position: absolute;
    z-index: 9;
    right: var(--gutter);
    bottom: 1.5rem;
    display: flex;
    color: #f5f0e7;
  }

  .page--home .section--services.is-cinematic-ready .services-mosaic__controls button:hover {
    background: rgba(245, 240, 231, 0.08);
  }

  .page--home .section--services.is-cinematic-ready .services-mosaic__tile {
    position: absolute;
    z-index: 1;
    display: grid;
    width: clamp(9rem, 14vw, 14rem);
    height: clamp(8rem, 20vh, 12rem);
    align-content: end;
    gap: 0.45rem;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(245, 240, 231, 0.12);
    border-radius: 1rem;
    background: rgba(245, 240, 231, 0.035);
    color: rgba(245, 240, 231, 0.46);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: var(--services-satellite-opacity, 1);
    pointer-events: none;
  }

  .page--home .section--services.is-cinematic-ready .services-mosaic__tile i {
    display: block;
    height: 0.25rem;
    border-radius: 999px;
    background: rgba(245, 240, 231, 0.18);
  }

  .page--home .section--services.is-cinematic-ready .services-mosaic__tile i:nth-of-type(1) { width: 82%; }
  .page--home .section--services.is-cinematic-ready .services-mosaic__tile i:nth-of-type(2) { width: 56%; }
  .page--home .section--services.is-cinematic-ready .services-mosaic__tile i:nth-of-type(3) { width: 70%; }
  .page--home .section--services.is-cinematic-ready .services-mosaic__tile--one { top: 18%; left: -2rem; transform: rotate(-8deg); }
  .page--home .section--services.is-cinematic-ready .services-mosaic__tile--two { top: 16%; right: -1.5rem; transform: rotate(7deg); }
  .page--home .section--services.is-cinematic-ready .services-mosaic__tile--three { bottom: 7%; left: 8%; transform: rotate(4deg); }

  /* Scene 04: the brand line becomes a route and ends in the gradient step five. */
  .page--home .section--process.is-cinematic-roadmap {
    display: block;
    height: 190svh;
    min-height: 190svh;
    justify-content: initial;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--process.is-cinematic-roadmap::after {
    display: none;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap-layout {
    position: sticky;
    top: 0;
    width: min(100% - (2 * var(--gutter)), var(--container));
    height: 100svh;
    padding-top: calc(var(--header-height) + 1.6rem);
    overflow: hidden;
    transform: none;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__heading {
    position: relative;
    z-index: 4;
    margin: 0;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__heading h2 {
    max-width: 14ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 5.4vw, 5.9rem);
    font-weight: 400;
    line-height: 0.88;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__canvas {
    position: absolute;
    z-index: 2;
    top: 36%;
    right: 0;
    bottom: 1.5rem;
    left: 0;
    height: auto;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__route {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__route-base,
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__route-progress {
    vector-effect: non-scaling-stroke;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__route-base {
    stroke: rgba(23, 19, 15, 0.18);
    stroke-width: 1.4;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__route-progress {
    stroke: url(#tfa-route-gradient);
    stroke-width: 3;
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--roadmap-progress, 0));
    stroke-linecap: round;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    min-height: 0;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap::before,
  .page--home .section--process.is-cinematic-roadmap .process-roadmap::after {
    display: none;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step {
    position: absolute;
    display: block;
    width: clamp(8rem, 14vw, 13rem);
    padding: 0;
    transform: translate(-50%, -50%);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(1) { top: 81%; left: 6%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(2) { top: 29%; left: 30%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(3) { top: 69%; left: 55%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(4) { top: 29%; left: 77%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(5) { top: 51%; left: 95%; }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__node {
    width: 3.7rem;
    height: 3.7rem;
    margin-inline: auto;
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__step--finish .process-roadmap__node {
    width: clamp(5.2rem, 7vw, 6.6rem);
    height: clamp(5.2rem, 7vw, 6.6rem);
    border-color: var(--process-step-border);
    background: var(--process-step-fill);
    color: var(--process-step-foreground);
    font-size: 0.8rem;
    box-shadow: 0 1.5rem 4rem rgba(63, 99, 217, 0.23);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__content,
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(even) .process-roadmap__content {
    width: 100%;
    margin-top: 0.9rem;
    padding: 0;
    text-align: center;
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__content h3 {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
  }

  /* Scene 05: project cards form a mosaic and take turns as the central frame. */
  .page--home .section--projects.is-cinematic-projects {
    display: block;
    height: 330svh;
    min-height: 330svh;
    justify-content: initial;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--projects.is-cinematic-projects .projects-story__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: clip;
    isolation: isolate;
    background:
      radial-gradient(circle at 50% 55%, rgba(63, 99, 217, 0.08), transparent 31rem),
      var(--color-surface-light);
  }

  .page--home .section--projects.is-cinematic-projects .section-heading--split {
    position: absolute;
    z-index: 2;
    top: calc(var(--header-height) + 1rem);
    right: var(--gutter);
    left: var(--gutter);
    display: block;
    width: auto;
    margin: 0;
    pointer-events: none;
  }

  .page--home .section--projects.is-cinematic-projects .section-heading--split > div:last-child {
    position: absolute;
    top: 2.2rem;
    right: 0;
    width: min(26vw, 24rem);
    pointer-events: auto;
  }

  .page--home .section--projects.is-cinematic-projects .section-heading--split h2 {
    max-width: 11ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.4rem, 6.7vw, 7.2rem);
    font-weight: 400;
    line-height: 0.84;
  }

  .page--home .section--projects.is-cinematic-projects .project-grid {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal].is-visible,
  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) {
    position: absolute;
    top: 56%;
    left: 50%;
    display: grid;
    width: min(72vw, 66rem);
    height: min(59vh, 35rem);
    grid-template-columns: 1.38fr 0.62fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    opacity: var(--project-stack-opacity, 0.68);
    transform: translate3d(calc(-50% + var(--project-stack-x, 0px)), calc(-50% + var(--project-stack-y, 0px)), 0) rotate(var(--project-stack-rotation, 0deg)) scale(var(--project-stack-scale, 0.76));
    clip-path: inset(0 round var(--radius-lg));
    transition:
      opacity 260ms linear,
      border-color 360ms ease,
      box-shadow 700ms var(--ease-out);
    will-change: auto;
  }

  .page--home .section--projects.is-cinematic-projects .project-card.is-active {
    z-index: 5;
    border-color: rgba(11, 12, 13, 0.3);
    box-shadow: 0 2.5rem 6rem rgba(56, 46, 32, 0.2);
  }

  .page--home .section--projects.is-cinematic-projects .project-card__visual,
  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) .project-card__visual {
    min-height: 0;
    height: 100%;
    clip-path: none;
    transform: scale(var(--project-visual-scale, 1.06));
    transition: transform 900ms var(--ease-out);
  }

  .page--home .section--projects.is-cinematic-projects .project-card.is-active .project-card__visual {
    --project-visual-scale: 1;
  }

  .page--home .section--projects.is-cinematic-projects .project-card__body,
  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) .project-card__body {
    min-height: 0;
    padding: clamp(1.4rem, 2.6vw, 2.7rem);
  }

  .page--home .section--projects.is-cinematic-projects .project-card__body h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 400;
  }

  .page--home .section--projects.is-cinematic-projects .projects-story__counter {
    position: absolute;
    z-index: 1;
    right: var(--gutter);
    bottom: -0.05em;
    display: flex;
    align-items: baseline;
    gap: 0.3em;
    margin: 0;
    color: rgba(11, 12, 13, 0.055);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(7rem, 15vw, 15rem);
    line-height: 0.8;
  }

  .page--home .section--projects.is-cinematic-projects .projects-story__counter span:last-child {
    font-family: var(--font-mono);
    font-size: 0.09em;
  }

  .page--home .section--projects.is-cinematic-projects .projects-story__controls {
    position: absolute;
    z-index: 9;
    bottom: 1.5rem;
    left: var(--gutter);
    display: flex;
  }

  .page--home .section--hero.is-cinematic-ready.is-scene-active .hero-cinematic__title-line,
  .page--home .section--hero.is-cinematic-ready.is-scene-active .hero-cinematic__object,
  .page--home .section--hero.is-cinematic-ready.is-scene-active .hero-fragment,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems.is-scene-active .problem-list[data-reveal] .problem-row,
  .page--home .section--services.is-cinematic-ready.is-scene-active .service-frame,
  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects.is-scene-active .project-card[data-reveal] {
    will-change: transform, opacity;
  }
}

@media (max-width: 1099px), (max-height: 599px) {
  .page--home .hero-cinematic {
    display: grid;
    gap: 2rem;
  }

  .page--home .hero-cinematic__title {
    font-size: clamp(3.45rem, 10.8vw, 7rem);
    line-height: 0.83;
  }

  .page--home .hero-cinematic__title-line--front {
    margin-left: 8%;
  }

  .page--home .hero-cinematic__title-line--accent {
    margin-left: auto;
  }

  .page--home .hero-cinematic__lead {
    max-width: 35rem;
    margin: 0;
  }

  .page--home .hero-cinematic__object {
    width: min(100%, 46rem);
    max-width: none;
    margin-top: 1rem;
    justify-self: center;
  }

  .page--home .hero-cinematic__actions {
    grid-row: 3;
  }

  .page--home .process-roadmap__route {
    display: none;
  }

  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal]::after,
  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal].is-visible::after {
    transform: scaleY(1);
    transition: none;
  }

  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal] .process-roadmap__node,
  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal].is-visible .process-roadmap__node {
    border-color: var(--process-step-border);
    background: var(--process-step-fill);
    color: var(--process-step-foreground);
    transform: none;
    transition-delay: 0ms;
  }

  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal] .process-roadmap__content,
  html.js:where(.has-reveal-controller) .page--home .process-roadmap[data-reveal].is-visible .process-roadmap__content {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .page--home .project-visual--case {
    min-height: clamp(19rem, 54vw, 34rem);
  }
}

@media (max-width: 720px) {
  .page--home .section--hero {
    padding-top: calc(var(--header-height) + 2.8rem);
  }

  .page--home .hero-cinematic__title {
    font-size: clamp(3.15rem, 15.4vw, 5.2rem);
  }

  .page--home .hero-cinematic__title-line--front {
    margin-left: 0;
  }

  .page--home .hero-cinematic__lead {
    font-size: 1rem;
  }

  .page--home .hero-cinematic__actions .button {
    width: 100%;
  }

  .page--home .problem-row {
    grid-template-columns: 1fr;
  }

  .page--home .problem-row__solution {
    grid-column: 1;
  }

  .page--home .project-card--wide {
    display: block;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .desktop-nav a:nth-last-child(-n + 2) {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .mobile-menu__panel {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .page--home .team-preview__portraits.is-visible .portrait-placeholder,
  .page--home .team-preview__portraits.is-visible .portrait-placeholder--offset {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .brand__pixel-trail {
    display: none;
  }

  html.js:where(.has-reveal-controller) [data-reveal] {
    opacity: 1;
    transform: none;
  }

  html.js:where(.has-reveal-controller) .problem-heading-reveal[data-reveal] > *,
  html.js:where(.has-reveal-controller) .problem-list[data-reveal] .problem-row {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  html.js:where(.has-reveal-controller) .problem-list[data-reveal]::before {
    transform: scaleX(1);
  }

  html.js:where(.has-reveal-controller) .process-roadmap[data-reveal]::after {
    transform: none;
  }

  html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__content {
    opacity: 1;
    transform: none;
  }

  html.js:where(.has-reveal-controller) .process-roadmap[data-reveal] .process-roadmap__node {
    border-color: var(--process-step-fill);
    background: var(--process-step-fill);
    color: var(--process-step-foreground);
    transform: none;
  }

  .website-state--before {
    opacity: 0;
  }

  .website-state--after {
    clip-path: inset(0);
  }

  .transformation-scan,
  .transformation-grid {
    display: none;
  }

  .page--home .section--hero,
  .page--home .section--services {
    height: auto !important;
    min-height: auto;
  }

  .page--home .home-hero__stage,
  .page--home .services-story__stage {
    position: static;
    height: auto;
  }

  .page--home .project-card[data-reveal] .project-card__visual,
  :where(html.has-reveal-controller) .page--home .project-card[data-reveal].is-visible .project-card__visual {
    clip-path: none;
    transform: none;
  }

  .page--home .team-preview__portraits.is-visible .portrait-placeholder,
  .page--home .team-preview__portraits.is-visible .portrait-placeholder--offset {
    transform: none;
  }
}

@media print {
  .site-header,
  .footer-cta,
  .site-footer,
  .ambient-noise,
  .button {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .page-hero,
  .legal-page {
    min-height: auto;
    padding-block: 2rem;
  }
}

/* Homepage clarity pass — clean scene hierarchy and exact roadmap geometry */
.page--home .hero-cinematic__object-shell::before,
.page--home .problem-row::before {
  display: none;
  content: none;
}

.page--home .hero .hero-cinematic__title-line--accent,
.page--home .problem-title__line--positive {
  margin-bottom: -0.16em;
  padding-bottom: 0.16em;
  overflow: visible;
  clip-path: none;
}

.page--home .problem-heading-reveal,
.page--home .problem-heading-reveal h2,
.page--home .problem-title__line {
  overflow: visible;
}

.page--home .section-heading--services h2 span {
  display: block;
}

.page--home .problem-row__solution {
  padding-right: 0;
}

@media (min-width: 1100px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  /* Hero: one focal object, no frame or peripheral interface copy. */
  .page--home .section--hero.is-cinematic-ready .home-hero__stage {
    background:
      radial-gradient(circle at 50% 52%, rgba(63, 99, 217, 0.065), transparent 30rem),
      var(--color-bg);
  }

  .page--home .section--hero.is-cinematic-ready .hero__glow,
  .page--home .section--hero.is-cinematic-ready .hero-cinematic::before {
    display: none;
    content: none;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__object-shell {
    filter: drop-shadow(0 2.25rem 3.25rem rgba(48, 39, 29, 0.19));
  }

  /* Problems: title and cards are separate chapters, never overlapping. */
  .page--home .section--problems.is-cinematic-problems {
    height: 315svh;
    min-height: 315svh;
  }

  .page--home .section--problems.is-cinematic-problems .home-problems__layout {
    background:
      radial-gradient(circle at 50% 50%, rgba(63, 99, 217, 0.045), transparent 29rem),
      var(--color-surface-light);
  }

  .page--home .section--problems.is-cinematic-problems .section-heading--problems {
    z-index: 7;
    top: 50%;
    right: auto;
    left: 50%;
    width: min(calc(100% - (2 * clamp(3rem, 7vw, 7rem))), 74rem);
    opacity: var(--problems-title-opacity, 1);
    transform: translate3d(-50%, calc(-50% + var(--problems-title-y, 0px)), 0) scale(var(--problems-title-scale, 1));
    transform-origin: center;
    text-align: center;
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-heading-reveal[data-reveal] > *,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-heading-reveal[data-reveal].is-visible > * {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .page--home .section--problems.is-cinematic-problems .section-heading--problems h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(4rem, 6.8vw, 7.35rem);
    line-height: 0.91;
    letter-spacing: -0.058em;
  }

  .page--home .section--problems.is-cinematic-problems .problem-title__line,
  .page--home .section--problems.is-cinematic-problems .problem-title__line--positive {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .page--home .section--problems.is-cinematic-problems .problem-list {
    opacity: var(--problems-cards-opacity, 0);
    transition: opacity 280ms linear;
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal].is-visible .problem-row {
    top: 54%;
    width: min(80vw, 68rem);
    min-height: min(50vh, 28rem);
    grid-template-columns: 0.58fr 1fr 1fr;
    gap: clamp(1.5rem, 3.2vw, 3.5rem);
    padding: clamp(2rem, 3.2vw, 3.25rem);
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-active,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal].is-visible .problem-row.is-active {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1) rotate(0.001deg);
  }

  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-before,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal] .problem-row.is-after,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal].is-visible .problem-row.is-before,
  html.js:where(.has-reveal-controller) .page--home .section--problems.is-cinematic-problems .problem-list[data-reveal].is-visible .problem-row.is-after {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -45%, 0) scale(0.9);
  }

  .page--home .section--problems.is-cinematic-problems .problem-row h3 {
    font-size: clamp(2.35rem, 3.6vw, 4rem);
  }

  .page--home .section--problems.is-cinematic-problems .problem-row__label {
    grid-column: 1;
    align-self: center;
  }

  .page--home .section--problems.is-cinematic-problems .problem-row__problem,
  .page--home .section--problems.is-cinematic-problems .problem-row__solution {
    align-self: center;
  }

  /* Services: visible title column, readable card stage, quiet depth. */
  .page--home .section--services.is-cinematic-ready {
    height: 330svh;
    min-height: 330svh;
  }

  .page--home .section--services.is-cinematic-ready .services-story__stage {
    background:
      radial-gradient(circle at 70% 54%, rgba(63, 99, 217, 0.12), transparent 29rem),
      #11100e;
  }

  .page--home .section--services.is-cinematic-ready .services-story__stage::before,
  .page--home .section--services.is-cinematic-ready::before {
    opacity: 0.3;
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services {
    z-index: 70;
    top: 50%;
    right: auto;
    left: clamp(3rem, 6vw, 7rem);
    width: min(31vw, 29rem);
    transform: translateY(-50%);
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services .eyebrow {
    margin-bottom: 1.5rem;
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services h2 {
    width: 100%;
    max-width: none;
    opacity: 1;
    color: #f5f0e7;
    font-size: clamp(3.7rem, 5.3vw, 6.15rem);
    line-height: 0.88;
    letter-spacing: -0.055em;
  }

  .page--home .section--services.is-cinematic-ready .section-heading--services h2 span + span {
    margin-top: 0.1em;
  }

  html.js:where(.has-reveal-controller) .page--home .section--services.is-cinematic-ready .section-heading--services [data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--services.is-cinematic-ready .services-cinema[data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--services.is-cinematic-ready .services-cinema[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .page--home .section--services.is-cinematic-ready .service-frame {
    top: 54%;
    left: 69%;
    width: min(56vw, 50rem);
    height: min(66vh, 36rem);
    padding: clamp(1.8rem, 2.8vw, 3rem);
    opacity: 0.12;
    pointer-events: none;
    transform: translate3d(-50%, calc(-50% + var(--service-stack-y, 0px)), 0) rotate(var(--service-stack-rotation, 0deg)) scale(var(--service-stack-scale, 0.78));
  }

  .page--home .section--services.is-cinematic-ready .service-frame.is-active {
    z-index: 60 !important;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, calc(-50% + var(--service-stack-y, 0px)), 0) rotate(var(--service-stack-rotation, 0deg)) scale(var(--service-stack-scale, 1));
  }

  .page--home .section--services.is-cinematic-ready .service-frame h3 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 3.2vw, 3.55rem);
    line-height: 0.97;
  }

  .page--home .section--services.is-cinematic-ready .service-frame__details {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* Roadmap: each node center sits on the actual SVG anchor point. */
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__canvas {
    top: 46%;
    right: clamp(3rem, 5vw, 5rem);
    left: clamp(2rem, 3vw, 3.5rem);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step {
    --node-size: 3.7rem;
    height: var(--node-size);
    transform: translate(-50%, -50%);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(1) { top: 75.8064516%; left: 10%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(2) { top: 24.1935484%; left: 30%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(3) { top: 75.8064516%; left: 50%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(4) { top: 24.1935484%; left: 70%; }
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(5) { top: 75.8064516%; left: 90%; }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__node {
    width: var(--node-size);
    height: var(--node-size);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step--finish {
    --node-size: clamp(5.2rem, 7vw, 6.6rem);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__content,
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(even) .process-roadmap__content {
    position: absolute;
    top: calc(100% + 0.85rem);
    bottom: auto;
    left: 50%;
    width: 100%;
    margin: 0;
    transform: translate3d(-50%, 0.55rem, 0);
  }

  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(2) .process-roadmap__content,
  .page--home .section--process.is-cinematic-roadmap .process-roadmap__step:nth-child(4) .process-roadmap__content {
    top: auto;
    bottom: calc(100% + 0.85rem);
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__content {
    opacity: 0.58;
    transform: translate3d(-50%, 0.55rem, 0);
  }

  html.js .page--home .section--process.is-cinematic-roadmap .process-roadmap__step.is-reached .process-roadmap__content {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 1099px), (max-height: 599px) {
  .page--home .section--problems .home-problems__layout {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .page--home .section-heading--problems h2 {
    max-width: 100%;
    font-size: clamp(2.85rem, 11.8vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.052em;
  }

  .page--home .problem-title__line--positive {
    width: auto;
    max-width: 100%;
    margin-left: 0;
  }

  .page--home .section--services .section-heading--services {
    margin-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  .page--home .section--services .section-heading--services h2 {
    max-width: 11ch;
    font-size: clamp(2.85rem, 11.4vw, 5rem);
    line-height: 0.9;
  }

  .page--home .section--services .services-filmstrip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page--home .section--services .service-frame,
  .page--home .section--services .service-frame.is-active {
    grid-column: 1;
    min-height: 0;
    padding: clamp(1.4rem, 5vw, 2rem);
    transform: none;
    border-color: rgba(165, 180, 255, 0.28);
    background: var(--color-surface-light);
    color: var(--color-text-dark);
    box-shadow: none;
    cursor: default;
  }

  .page--home .section--services .service-frame__copy,
  .page--home .section--services .service-frame:not(.is-active) .service-frame__copy {
    margin: 0;
    padding-top: 0;
  }

  .page--home .section--services .service-frame__category,
  .page--home .section--services .service-frame.is-active .service-frame__category {
    color: var(--color-accent);
  }

  .page--home .section--services .service-frame h3,
  .page--home .section--services .service-frame.is-active h3,
  .page--home .section--services .service-frame:not(.is-active) h3 {
    display: block;
    max-width: 18ch;
    overflow: visible;
    color: var(--color-text-dark);
    font-size: clamp(1.6rem, 6vw, 2.35rem);
    line-height: 1;
    -webkit-line-clamp: initial;
  }

  .page--home .section--services .service-frame__details,
  .page--home .section--services .service-frame.is-active .service-frame__details {
    max-height: none;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1.75rem;
    overflow: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page--home .section--services .service-frame__watermark,
  .page--home .section--services .service-frame.is-active .service-frame__watermark {
    opacity: 0.035;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  .page--home .process-roadmap__step:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 680px) {
  .page--home .section--services .service-frame__details,
  .page--home .section--services .service-frame.is-active .service-frame__details {
    grid-template-columns: 1fr;
  }
}

/* Homepage cinematic completion — projects, team and closing sequence */
.page--home .team-preview__stage {
  position: relative;
}

.page--home .team-preview__portraits .portrait-placeholder {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page--home .team-preview__portraits .portrait-placeholder::before {
  position: absolute;
  z-index: -1;
  inset: 13% -28% auto 36%;
  height: 58%;
  border: 1px solid rgba(244, 239, 229, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, rgba(63, 99, 217, 0.36), transparent 26%),
    radial-gradient(circle at 66% 68%, rgba(139, 62, 174, 0.3), transparent 30%);
  content: "";
  opacity: 0.85;
  transform: rotate(-18deg);
}

.page--home .team-preview__portraits .portrait-placeholder::after {
  position: absolute;
  z-index: -1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, #1588d4 0%, #3f63d9 48%, #8b3eae 100%);
  content: "";
  opacity: 0.78;
}

.page--home .team-preview__portraits .portrait-placeholder > span {
  position: relative;
  z-index: 1;
}

.page--home .team-preview__portraits .portrait-placeholder > p {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  padding-bottom: 1rem;
  color: #f4efe5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: none;
}

.page--home .team-preview__badge {
  position: relative;
  right: auto;
  bottom: auto;
  grid-column: 1 / -1;
  display: flex;
  width: 100%;
  aspect-ratio: auto;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0.9rem 0 0;
  transform: none;
  border-top: 1px solid var(--color-line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--color-muted-strong);
  text-align: right;
}

.page--home .team-preview__badge strong {
  color: #3f63d9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.page--home .team-preview__badge span {
  font-size: 0.54rem;
}

.page--home .footer-cta {
  position: relative;
  overflow: hidden;
}

.page--home .footer-cta::after {
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: min(38rem, 54vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 42%, rgba(21, 136, 212, 0.12), transparent 32%),
    radial-gradient(circle at 63% 58%, rgba(139, 62, 174, 0.1), transparent 42%);
  content: "";
  pointer-events: none;
}

@media (min-width: 1100px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  /* The website frame stays behind every hero line as it grows. */
  .page--home .section--hero.is-cinematic-ready .hero-cinematic__title-line--back {
    z-index: 5;
  }

  .page--home .section--hero.is-cinematic-ready .hero-cinematic__object {
    z-index: 3;
  }

  /* Projects: a clean title chapter hands over to the card sequence. */
  .page--home .section--projects.is-cinematic-projects .section-heading--split {
    z-index: 70;
    top: 50%;
    right: auto;
    left: 50%;
    display: grid;
    width: min(calc(100% - (2 * clamp(3rem, 7vw, 7rem))), 78rem);
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 7rem);
    opacity: var(--projects-title-opacity, 1);
    pointer-events: var(--projects-heading-events, auto);
    transform: translate3d(-50%, calc(-50% + var(--projects-title-y, 0px)), 0) scale(var(--projects-title-scale, 1));
    transform-origin: center;
  }

  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .section-heading--split [data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .section-heading--split [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page--home .section--projects.is-cinematic-projects .section-heading--split > div:last-child {
    position: static;
    width: auto;
    padding-bottom: 0.45rem;
    pointer-events: inherit;
  }

  .page--home .section--projects.is-cinematic-projects .section-heading--split h2 {
    max-width: 10ch;
    margin-bottom: 0;
    font-size: clamp(4.5rem, 7vw, 7.5rem);
    line-height: 0.84;
  }

  .page--home .section--projects.is-cinematic-projects .project-grid {
    opacity: var(--projects-cards-opacity, 0);
    pointer-events: var(--projects-cards-events, none);
    transform: translate3d(0, var(--projects-cards-y, 54px), 0);
  }

  /* Team: one sticky film stage, with two restrained role frames. */
  .page--home .section--team-preview.is-cinematic-team {
    display: block;
    height: 215svh;
    min-height: 215svh;
    padding: 0;
    overflow: visible;
  }

  .page--home .section--team-preview.is-cinematic-team .team-preview__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: clip;
    isolation: isolate;
    background:
      radial-gradient(circle at 74% 52%, rgba(63, 99, 217, 0.07), transparent 28rem),
      var(--color-bg);
  }

  .page--home .section--team-preview.is-cinematic-team .team-preview {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    padding-inline: var(--gutter);
  }

  html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__copy[data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__copy[data-reveal].is-visible {
    position: absolute;
    z-index: 7;
    top: 51%;
    left: calc(var(--gutter) + 1.1rem);
    width: min(42vw, 36rem);
    opacity: var(--team-copy-opacity, 0.68);
    transform: translate3d(var(--team-copy-x, -30px), calc(-50% + var(--team-copy-y, 20px)), 0);
    transition: none;
  }

  .page--home .section--team-preview.is-cinematic-team .team-preview__copy h2 {
    max-width: 10.8ch;
    margin-bottom: 1.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.45rem, 4.9vw, 5.55rem);
    font-weight: 400;
    line-height: 0.88;
  }

  .page--home .section--team-preview.is-cinematic-team .team-preview__copy > p:not(.eyebrow) {
    max-width: 31rem;
    margin-bottom: 1.45rem;
    font-size: clamp(0.88rem, 1vw, 1rem);
  }

  html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__portraits[data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__portraits[data-reveal].is-visible {
    position: absolute;
    z-index: 4;
    top: 51%;
    left: 72%;
    display: block;
    width: min(49vw, 45rem);
    height: min(68vh, 40rem);
    min-height: 0;
    opacity: var(--team-visual-opacity, 0.14);
    transform: translate3d(calc(-50% + var(--team-visual-x, 150px)), calc(-50% + var(--team-visual-y, 34px)), 0);
    transition: none;
  }

  .page--home .section--team-preview.is-cinematic-team .portrait-placeholder {
    position: absolute;
    width: 52%;
    height: 88%;
    min-height: 0;
    padding: clamp(1.15rem, 2vw, 1.7rem);
    box-shadow: 0 2.4rem 5rem rgba(48, 39, 29, 0.2);
    will-change: auto;
  }

  .page--home .section--team-preview.is-cinematic-team .portrait-placeholder:first-child {
    z-index: 2;
    top: 0;
    left: 0;
    transform: translate3d(-0.75rem, var(--team-card-one-y, 48px), 0) rotate(var(--team-card-one-rotation, -3.2deg));
  }

  .page--home .section--team-preview.is-cinematic-team .portrait-placeholder--offset {
    z-index: 1;
    right: 0;
    bottom: 0;
    left: auto;
    margin: 0;
    transform: translate3d(0.75rem, var(--team-card-two-y, -42px), 0) rotate(var(--team-card-two-rotation, 4.4deg));
  }

  .page--home .section--team-preview.is-cinematic-team .team-preview__badge {
    position: absolute;
    right: 0;
    bottom: -2.25rem;
    left: 0;
    opacity: var(--team-badge-opacity, 0);
    transform: translate3d(0, var(--team-badge-y, 24px), 0);
  }

  .page--home .section--team-preview.is-cinematic-team.is-scene-active .team-preview__copy,
  .page--home .section--team-preview.is-cinematic-team.is-scene-active .team-preview__portraits,
  .page--home .section--team-preview.is-cinematic-team.is-scene-active .portrait-placeholder {
    will-change: transform, opacity;
  }

  /* Closing scene: oversized typography, then a calm official-logo footer. */
  .page--home .footer-cta {
    display: grid;
    min-height: 92svh;
    align-items: stretch;
    padding: 0;
  }

  .page--home .footer-cta__grid {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 92svh;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: 1.5rem;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
  }

  .page--home .footer-cta__grid > .eyebrow {
    grid-column: 1 / 5;
    grid-row: 1;
  }

  .page--home .footer-cta__content {
    grid-column: 2 / 12;
    grid-row: 2;
    align-self: center;
  }

  .page--home .footer-cta__content h2 {
    max-width: 12.5ch;
    margin-bottom: 1.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.6rem, 7.5vw, 8rem);
    font-weight: 400;
    line-height: 0.86;
  }

  .page--home .footer-cta__content p {
    width: min(38%, 31rem);
    max-width: none;
    margin: 0 4% 0 auto;
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  }

  .page--home .footer-cta__actions {
    grid-column: 9 / 13;
    grid-row: 3;
    justify-self: end;
    width: min(100%, 22rem);
  }

  .page--home .footer-cta__actions .button {
    min-height: 4rem;
  }

  .page--home .site-footer__main {
    min-height: 60svh;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 1.5rem;
    padding-top: clamp(7rem, 15vh, 10rem);
    padding-bottom: clamp(4rem, 8vh, 6rem);
  }

  .page--home .site-footer__brand {
    grid-column: 1 / 5;
  }

  .page--home .site-footer__column:nth-child(2) {
    grid-column: 6 / 8;
  }

  .page--home .site-footer__column:nth-child(3) {
    grid-column: 8 / 11;
  }

  .page--home .site-footer__column:nth-child(4) {
    grid-column: 11 / 13;
  }

  .page--home .brand--footer .brand__logo--primary {
    width: clamp(12rem, 18vw, 15rem);
    height: auto;
    filter: none;
  }
}

/* Laptop windows retain the same scenes with dimensions bounded by height.
   Wide monitors must not grow the type beyond the available vertical space. */
@media (min-width: 1100px) and (min-height: 600px) and (max-height: 699px) and (prefers-reduced-motion: no-preference) {
  .page--home .section--services.is-cinematic-ready .section-heading--services h2 {
    font-size: clamp(2.75rem, min(5.3vw, 8.5svh), 3.7rem);
    line-height: .96;
  }

  .page--home .section--services.is-cinematic-ready .service-frame {
    height: 66svh;
    padding: 1.5rem;
  }

  .page--home .section--services.is-cinematic-ready .service-frame h3 {
    font-size: clamp(1.9rem, min(3.2vw, 5.5svh), 2.35rem);
    line-height: 1.05;
  }

  .page--home .section--services.is-cinematic-ready .service-frame__copy { padding-top: 1rem; }
  .page--home .section--services.is-cinematic-ready .service-frame__details { gap: 1rem; }

  .page--home .section--projects.is-cinematic-projects .section-heading--split h2 {
    font-size: clamp(3.25rem, min(7vw, 10svh), 4.5rem);
    line-height: .96;
  }

  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal],
  html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal].is-visible,
  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) {
    width: min(82vw, 66rem);
    grid-template-columns: 1.15fr .85fr;
  }

  .page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) .project-card__body { padding: 1.25rem; }
  .page--home .section--projects.is-cinematic-projects .project-card__body h3 {
    font-size: clamp(1.65rem, min(3vw, 5svh), 2rem);
    line-height: 1.1;
  }
  .page--home .section--projects.is-cinematic-projects .project-card__body p { margin-bottom: 1rem; font-size: .9375rem; line-height: 1.5; }

  .page--home .section--team-preview.is-cinematic-team .team-preview__copy h2 {
    max-width: 16ch;
    font-size: clamp(2.4rem, min(4.9vw, 7.2svh), 3.15rem);
    line-height: 1.02;
    margin-bottom: 1rem;
  }
  .page--home .section--team-preview.is-cinematic-team .team-preview__copy > p:not(.eyebrow) { margin-bottom: 1rem; }
}

@media (max-width: 1099px), (max-height: 599px), (prefers-reduced-motion: reduce) {
  .page--home .team-preview__stage {
    height: auto;
  }

  .page--home .footer-cta__content h2 {
    max-width: 15ch;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 0.91;
  }
}

@media (max-width: 680px) {
  .page--home .section--team-preview {
    padding-block: clamp(5rem, 18vw, 7rem);
  }

  .page--home .team-preview__copy h2 {
    max-width: 11ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.75rem, 12vw, 4rem);
    font-weight: 400;
    line-height: 0.91;
  }

  .page--home .team-preview__portraits {
    gap: 0.8rem;
  }

  .page--home .team-preview__portraits .portrait-placeholder {
    min-height: 20rem;
  }

  .page--home .team-preview__badge {
    justify-content: flex-start;
    text-align: left;
  }

  .page--home .footer-cta {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: clamp(5rem, 18vw, 7rem);
  }

  .page--home .footer-cta__content h2 {
    font-size: clamp(2.8rem, 12.7vw, 4rem);
  }
}

/* Homepage finale — the Leistungen opener returns as a mirrored closing reveal. */
.page--home .footer-cta__stage {
  position: relative;
  z-index: 1;
}

.page--home .footer-cta::before {
  display: none;
}

.page--home .footer-cta__headline-line {
  display: block;
}

.page--home .footer-cta__accent {
  display: block;
  margin-bottom: -0.16em;
  padding-bottom: 0.16em;
  overflow: visible;
  clip-path: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.page--home .footer-cta.is-cinematic-closing {
  display: block;
  height: 190svh;
  min-height: 190svh;
  padding: 0;
  overflow: visible;
}

.page--home .footer-cta.is-cinematic-closing::after {
  display: none;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__stage {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.48), transparent 38rem),
    radial-gradient(circle at 80% 20%, rgba(184, 154, 106, 0.17), transparent 24rem),
    #efe6d9;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__stage::after {
  position: absolute;
  z-index: 0;
  right: -9rem;
  bottom: -12rem;
  width: min(38rem, 54vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 42%, rgba(21, 136, 212, 0.12), transparent 32%),
    radial-gradient(circle at 63% 58%, rgba(139, 62, 174, 0.1), transparent 42%);
  content: "";
  opacity: var(--closing-glow-opacity, 0.18);
  pointer-events: none;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: start;
  justify-items: center;
  gap: clamp(1.2rem, 3vh, 2rem);
  padding-top: calc(var(--header-height) + clamp(1.5rem, 4vh, 3rem));
  padding-bottom: clamp(2rem, 5vh, 4rem);
  text-align: center;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__grid > .eyebrow {
  grid-column: 1;
  grid-row: auto;
  justify-self: center;
  margin: 0;
  opacity: var(--closing-eyebrow-opacity, 0);
  transform: translate3d(0, var(--closing-eyebrow-y, 24px), 0);
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__content {
  grid-column: 1;
  grid-row: auto;
  width: min(100%, 84rem);
  align-self: auto;
  overflow: visible;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__content h2 {
  max-width: none;
  margin: 0;
  overflow: visible;
  font-family: var(--font-sans);
  font-size: clamp(3.45rem, 6.55vw, 7.25rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.96;
  opacity: var(--closing-headline-opacity, 0);
  transform: translate3d(0, var(--closing-headline-y, 3.5rem), 0) scale(var(--closing-headline-scale, 0.965));
  transform-origin: center;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__headline-line {
  white-space: nowrap;
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__content > p {
  width: min(100%, 40rem);
  max-width: none;
  margin: clamp(1.4rem, 3vh, 2.2rem) auto 0;
  color: var(--color-muted-strong);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  opacity: var(--closing-copy-opacity, 0);
  transform: translate3d(0, var(--closing-copy-y, 28px), 0);
}

.page--home .footer-cta.is-cinematic-closing .footer-cta__actions {
  grid-column: 1;
  grid-row: auto;
  grid-template-columns: 1fr;
  justify-self: center;
  width: min(100%, 19rem);
  opacity: var(--closing-actions-opacity, 0);
  pointer-events: var(--closing-actions-events, none);
  transform: translate3d(0, var(--closing-actions-y, 26px), 0);
}

.page--home .footer-cta.is-cinematic-closing.is-scene-active .footer-cta__grid > .eyebrow,
.page--home .footer-cta.is-cinematic-closing.is-scene-active .footer-cta__content h2,
.page--home .footer-cta.is-cinematic-closing.is-scene-active .footer-cta__content > p,
.page--home .footer-cta.is-cinematic-closing.is-scene-active .footer-cta__actions {
  will-change: transform, opacity;
}

@media (max-width: 680px) {
  .page--home .footer-cta.is-cinematic-closing {
    height: 175svh;
    min-height: 175svh;
    padding: 0;
  }

  .page--home .footer-cta.is-cinematic-closing .footer-cta__grid {
    gap: clamp(1rem, 3.2vh, 1.5rem);
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  }

  .page--home .footer-cta.is-cinematic-closing .footer-cta__content h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 0.98;
  }

  .page--home .footer-cta.is-cinematic-closing .footer-cta__headline-line {
    white-space: normal;
  }

  .page--home .footer-cta.is-cinematic-closing .footer-cta__content > p {
    max-width: 31rem;
    margin-top: clamp(1.1rem, 3vh, 1.6rem);
    font-size: 0.92rem;
  }

  .page--home .footer-cta.is-cinematic-closing .footer-cta__actions {
    grid-template-columns: 1fr;
    width: min(100%, 19rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--home .footer-cta__grid > .eyebrow,
  .page--home .footer-cta__content h2,
  .page--home .footer-cta__content > p,
  .page--home .footer-cta__actions {
    opacity: 1;
    transform: none;
  }
}

/* Homepage footer — structured directory with an approved logo-shaped brand gradient. */
.page--home .site-footer__main {
  min-height: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.page--home .site-footer__brand {
  grid-column: 1 / 6;
}

.page--home .brand--footer-color {
  position: relative;
  display: block;
  width: clamp(12rem, 18vw, 15rem);
  min-height: 0;
  isolation: isolate;
}

.page--home .brand--footer-color .brand__logo--primary {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .page--home .brand--footer-color::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(112deg, #2188fd 0%, #525ffc 52%, #8333fd 100%);
    content: "";
    -webkit-mask: url("../brand/tfa-logo-white-320.webp") center / contain no-repeat;
    mask: url("../brand/tfa-logo-white-320.webp") center / contain no-repeat;
    pointer-events: none;
  }

  .page--home .brand--footer-color .brand__logo--primary {
    opacity: 0;
  }
}

.page--home .site-footer__brand > p {
  max-width: 27rem;
  margin-top: 1.4rem;
  color: #d8d3ca;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.55;
}

.page--home .site-footer__directory {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.page--home .site-footer__directory > .site-footer__column {
  grid-column: auto;
  gap: 0.78rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 239, 229, 0.18);
}

.page--home .site-footer__directory .site-footer__column h2 {
  margin-bottom: 0.45rem;
  color: #8e8a82;
  font-size: 0.61rem;
  letter-spacing: 0.13em;
}

.page--home .site-footer__directory .site-footer__column a,
.page--home .site-footer__directory .footer-button {
  color: #e0dbd2;
  font-size: 0.84rem;
  line-height: 1.4;
}

.page--home .site-footer__directory .site-footer__column a:hover,
.page--home .site-footer__directory .site-footer__column a:focus-visible {
  color: #7777ff;
}

.page--home .site-footer__directory .footer-button:disabled {
  color: #65625d;
}

.page--home .site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

.page--home .site-footer__bottom p:nth-child(2) {
  justify-self: center;
}

.page--home .site-footer__bottom > a {
  justify-self: end;
}

@media (max-width: 960px) {
  .page--home .site-footer__main {
    grid-template-columns: 1fr;
    gap: clamp(3rem, 8vw, 4.5rem);
  }

  .page--home .site-footer__brand,
  .page--home .site-footer__directory {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  .page--home .site-footer__main {
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .page--home .brand--footer-color {
    width: min(13rem, 68vw);
  }

  .page--home .site-footer__directory {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page--home .site-footer__bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .page--home .site-footer__bottom p:nth-child(2) {
    display: block;
  }

  .page--home .site-footer__bottom > a {
    margin-top: 0.5rem;
  }
}

/* The six-entry navigation retains room for the project action on laptops. */
@media (min-width: 961px) and (max-width: 1250px) {
  .site-header__actions .text-link--header { display: none; }
  .desktop-nav { gap: clamp(0.8rem, 1.65vw, 1.2rem); }
}

/* brand.css */
/* Shared surfaces and motion, matching the project calculator. */
:root {
  --brand-paper:#f7f2e9; --brand-ink:#19213b; --brand-muted:#53607a; --brand-blue:#425fc7;
  --brand-line:#cdd5ed; --brand-soft:#eef0fa; --brand-card:linear-gradient(150deg,#fffefa,#f7f8ff);
  --font-display:Georgia,'Times New Roman',serif;
  --type-section:clamp(2rem,3.5vw,3.4rem); --type-card:clamp(1.35rem,2vw,1.75rem);
  --space-section:clamp(3rem,5vw,5rem); --space-card:clamp(1.25rem,2.5vw,2rem);
  --radius-sm:.65rem; --radius-md:1.25rem; --radius-lg:1.25rem;
  --shadow-card:0 .6rem 2rem #232d6210;
  --motion-ui:180ms ease;
  --color-bg:#f7f2e9; --color-bg-soft:#eef0fa; --color-surface:#fffefa; --color-surface-strong:#e9edfc; --color-surface-light:#f7f8ff;
  --color-text:#19213b; --color-text-dark:#171c30; --color-muted:#5d657b; --color-muted-strong:#45516a;
  --color-line:rgba(72,90,145,.18); --color-line-strong:rgba(72,90,145,.3);
  --color-accent:#425fc7; --color-accent-strong:#304796; --color-accent-soft:#e9edfc; --color-focus:#4567de;
  --brand-gradient:linear-gradient(112deg,#2167cc 0%,#4b50d6 52%,#7735ce 100%);
  --brand-text-gradient:linear-gradient(112deg,#2188d5 0%,#5963ce 52%,#9252a2 100%);
  --shadow-float:0 1.5rem 4rem rgba(35,45,98,.16);
}
body.page { min-width:0; background:radial-gradient(ellipse at 88% 0,rgba(99,106,224,.07),transparent 35rem),var(--color-bg); }
.page .site-header { background:rgba(247,242,233,.96); border-color:rgba(72,90,145,.16); }
.page :is(.button--accent,.pc-button) { background:var(--brand-gradient); color:#fff; border-color:#a7b2fb55; box-shadow:0 .6rem 2rem #4245be2e; }
.page :is(.button--accent,.pc-button):hover { filter:brightness(.96); box-shadow:0 .7rem 2rem #4245be45; }
.page .button--ghost { background:#eef1fd; color:#304796; border-color:#c3cdef; }
.page .button--ghost:hover { background:#e1e8ff; color:#203779; }
.page :is(.tfa-gradient,.text-accent) { display:inline-block; background:var(--brand-text-gradient); color:transparent; background-clip:text; -webkit-background-clip:text; padding-bottom:.15em; margin-bottom:-.15em; }
.page .page-hero { min-height:0; padding-top:calc(var(--header-height) + 4rem); padding-bottom:4rem; background:radial-gradient(ellipse at 90% 15%,#7168b41a,transparent 55%),#f7f2e9; }
.page .page-hero__grid { align-items:center; grid-template-columns:1.2fr 1fr; gap:clamp(2rem,5vw,5rem); }
.page .page-hero h1 { max-width:none; font-family:var(--font-display); font-size:clamp(3rem,5.5vw,5.6rem); font-weight:400; line-height:1.06; letter-spacing:-.05em; }
.page .page-hero__aside > p { font-size:1.125rem; line-height:1.65; max-width:29rem; }
.page--leistungen .leistungen-hero__copy h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; }
.page .section-heading { margin-bottom:2rem; }
.page :is(.section-heading,.service-detail__sticky,.statement-copy,.pc-section-heading) h2 { font-family:var(--font-sans); font-size:var(--type-section); font-weight:600; line-height:1.12; letter-spacing:-.045em; }
.page .section-heading > p,.page .service-detail__sticky > p:last-child { font-size:1rem; line-height:1.65; }
.page .tfa-night {
  --color-bg:#090b12; --color-bg-soft:#111827; --color-text:#f5f3ed; --color-text-dark:#f5f3ed;
  --color-muted:#b1bed5; --color-muted-strong:#c1cbe5; --color-line:#34415c; --color-line-strong:#4b5c7e; --color-accent:#bbcaff; --color-accent-strong:#c5d2ff; --color-focus:#c5d2ff;
  background:radial-gradient(ellipse at 100% 0,rgba(80,62,173,.16),transparent 55%),#090b12; color:#f5f3ed;
}
.page .tfa-night :is(h2,h3) { color:#f5f3ed; }
.page .tfa-night :is(.section-heading > p,.section-heading--split > div > p,.service-detail__sticky > p,.team-preview__copy > p) { color:#b8c6de; }
.page .tfa-night :is(.text-link,.card-link) { color:#bbcaff; }
.page :is(.detail-card,.compact-grid article,.case-card,.profile-card,.contact-option) {
  --card-text:#1a2340; --card-copy:#53607a; --card-line:#cdd5ed;
  position:relative; border:1px solid var(--card-line); border-radius:var(--radius-lg);
  background:var(--brand-card); color:var(--card-text); box-shadow:var(--shadow-card);
}
.page :is(.detail-card,.compact-grid article,.case-card,.profile-card,.contact-option) h3 { color:var(--card-text); font-family:var(--font-sans); font-size:var(--type-card); font-weight:600; line-height:1.25; letter-spacing:-.025em; }
.page :is(.detail-card,.compact-grid article,.case-card__content,.profile-card__body,.contact-option) p { color:var(--card-copy); opacity:1; font-size:1rem; line-height:1.65; }
.page .tfa-night :is(.detail-card,.case-card,.profile-card),.page article.contact-option--primary {
  --card-text:#f4f6ff; --card-copy:#c1cbe5; --card-line:#6477b6;
  background:radial-gradient(ellipse at 100% 0,rgba(120,78,236,.32),transparent 55%),radial-gradient(ellipse at 0 100%,rgba(43,113,210,.2),transparent 65%),#141b32;
  color:var(--card-text); box-shadow:0 1.4rem 4rem #232d6226;
}
.page .service-detail { padding-block:var(--space-section); }
.page .service-detail__grid { gap:clamp(2rem,5vw,5rem); }
.page .service-detail__content { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; border:0; }
.page .detail-card { display:block; min-height:0; padding:var(--space-card); }
.page .detail-card h3 { margin-bottom:.9rem; }
.page .compact-grid { border:0; gap:1rem; }
.page .compact-grid article { min-height:0; padding:var(--space-card); }
.page .compact-grid article > span { display:inline-grid; place-items:center; width:2.3rem; height:2.3rem; border:1px solid #c3cdef; border-radius:.65rem; margin-bottom:1rem; background:#e9edfc; color:#425fc7; font-size:.875rem; }
.page :is(.case-framework,.collaboration,.team-profiles,.contact-options,.direct-contact,.case-list,.team-principle,.section--included) { padding-block:var(--space-section); }
.page .case-card__visual { min-height:25rem; }
.page .case-card__content { padding:clamp(1.5rem,4vw,3rem); }
.page .case-card :is(dt,dd) { color:#c1cbe5; font-size:.9375rem; }
.page .profile-card__portrait { min-height:25rem; }
.page .profile-card__portrait,.page .portrait-placeholder { color:#c1cbe5; background:radial-gradient(ellipse at 80% 20%,#7860d53d,transparent 60%),linear-gradient(145deg,#202c49,#101625); }
.page .profile-card__portrait--alt,.page .portrait-placeholder--offset { background:radial-gradient(ellipse at 10% 60%,#3587d54d,transparent 65%),linear-gradient(145deg,#242545,#101625); }
.page .team-principle .statement-grid { display:block; }
.page .contact-option { min-height:0; padding:clamp(1.5rem,3vw,2.5rem); }
.page .contact-option__number { display:none; }
.page .contact-option .button { margin-top:auto; }
.page .contact-option h3 { font-size:var(--type-card); }
.page .contact-data dt { font-size:.875rem; }
.page .direct-contact .contact-data a { color:#bbcaff; overflow-wrap:anywhere; }
.page .legal-page { padding-top:calc(var(--header-height) + 3rem); }
.page .legal-page h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(2.75rem,5.5vw,5.2rem); }
.page .legal-page article section p { color:#45516a; }
.page--projekt-starten .legal-page > .container { max-width:58rem; }
.page--projekt-starten .legal-page > .container > p { max-width:38rem; font-size:1.125rem; }
.page--projekt-starten .legal-page .button { margin:1rem 0 2rem; }
.page .draft-badge { color:#87394d; background:#fff0f3; border-color:#dcb3bd; font-size:.8125rem; }
.page .site-footer { --color-text:#f4f6ff; --color-muted:#aebbd4; --color-muted-strong:#c1cbe5; --color-line:#34415c; background:#07090f; color:#f4f6ff; }
.page .site-footer__brand > p,.page .site-footer__column a,.page .site-footer__directory .site-footer__column a { color:#c1cbe5; }
.page .site-footer__column h2,.page .site-footer__directory .site-footer__column h2 { color:#aebbd4; font-size:.875rem; }
.page .site-footer__column a { min-height:32px; }
.page .site-footer__bottom { border-color:#34415c; }
.page .footer-cta { background:radial-gradient(ellipse at 80% 20%,#7168b417,transparent 60%),#f7f2e9; --color-muted-strong:#45516a; }
.page:not(.page--home) .footer-cta__grid { grid-template-columns:minmax(0,1.7fr) minmax(15rem,1fr); gap:3rem; }
.page:not(.page--home) .footer-cta__content h2 { max-width:20ch; font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(2.4rem,4vw,4rem); }
.page .mobile-nav a { grid-template-columns:1fr; }
.page .mobile-nav a > span { display:none; }
.page--preisrechner .pc-hero__copy { padding-top:.5rem; }
.page--preisrechner .pc-visual__card strong { margin-top:0; }
/* Preserve the homepage's scenes, with the same surfaces as the calculator. */
.page--home .section--services,.page--home .section--services.is-cinematic-ready .services-story__stage { background:radial-gradient(ellipse at 80% 30%,#6149bf24,transparent 60%),#090b12; }
.page--home .section--services .service-frame { --color-text-dark:#f4f6ff; background:radial-gradient(ellipse at 100% 0,#784eec36,transparent 60%),#141b32; border-color:#485b85; color:#c1cbe5; }
.page--home .section--services .service-frame.is-active { --color-text:#19213b; --color-text-dark:#19213b; --color-muted:#53607a; --color-muted-strong:#45516a; --color-line:#cdd5ed; background:linear-gradient(145deg,#fffefa,#f0f2ff); color:#19213b; border-color:#a7b6ea; }
.page--home .section--services .service-frame:not(.is-active) h3 { color:#f4f6ff; }
.page--home .section--services .service-frame.is-active h3 { color:#19213b; }
.page--home .section--services .service-frame__copy h3 { line-height:1.12; }
.page--home .section--services .service-frame__details a { color:#bbcaff; }
.page--home .section--services .service-frame.is-active .service-frame__details a { color:#304796; }
.page--home .section--services .service-frame.is-active .service-frame__offers li { color:#45516a; }
.page--home .section--services .service-frame__offers li { font-size:1rem; }
.page--home .section--process { background:radial-gradient(ellipse at 88% 18%,#636ae014,transparent 60%),#eef0fa; }
.page--home .team-preview__stage { background:radial-gradient(ellipse at 90% 25%,#6149bf24,transparent 65%),#090b12; }
.page--home .team-preview__copy h2 { color:#f4f6ff; }
.page--home .team-preview__badge { color:#c1cbe5; }
.page--home .footer-cta.is-cinematic-closing .footer-cta__stage { background:radial-gradient(ellipse at 80% 20%,#7168b417,transparent 60%),#f7f2e9; }
/* Shared reading and interaction rules; loaded after the page styles. */
.page :is(.page-hero,.footer-cta,.tfa-faq,.site-header) {
  --color-text:var(--brand-ink); --color-text-dark:var(--brand-ink);
  --color-muted:var(--brand-muted); --color-muted-strong:var(--brand-muted);
  --color-accent:var(--brand-blue); --color-focus:var(--brand-blue);
  --color-line:rgba(72,90,145,.18); --color-line-strong:var(--brand-line);
  color:var(--brand-ink);
}
.page :is(.page-hero,.footer-cta) :is(h1,h2) { color:var(--brand-ink); }
.page .footer-cta { padding-block:var(--space-section); }
.page :is(.page-hero__grid,.service-detail__grid,.section-heading--split,.contact-option-grid,.compact-grid,.profile-grid) > * { min-width:0; }
.page :is(.button,.pc-button) { min-height:3rem; border-radius:var(--radius-pill); font-size:1rem; line-height:1.4; text-align:center; transition:background var(--motion-ui),box-shadow var(--motion-ui),transform var(--motion-ui); }
.page .site-header .button { min-height:2.85rem; font-size:.875rem; }
.page :is(.text-link,.card-link,.pc-link) { font-size:1rem; line-height:1.5; text-underline-offset:.3em; text-decoration-thickness:1px; }
.page :is(.text-link,.card-link,.pc-link):not(.card-link--disabled):hover { text-decoration:underline; }
.page :is(.text-link,.card-link,.pc-link):focus-visible { border-radius:.2rem; }
.page .text-link--header { font-size:.875rem; }
.page .desktop-nav a { font-size:.875rem; }
.page .desktop-nav a[aria-current="page"] { color:var(--brand-blue); }
.page .desktop-nav a::after { background:var(--brand-blue); }
.page .mobile-menu__panel {
  --color-text:var(--brand-ink); --color-muted:var(--brand-muted); --color-muted-strong:var(--brand-muted);
  --color-line:var(--brand-line); --color-focus:var(--brand-blue);
  background:var(--brand-paper); color:var(--brand-ink);
}
.page .mobile-menu__panel .mobile-nav a { color:var(--brand-ink); border-color:var(--brand-line); }
.page .mobile-nav a[aria-current="page"] { color:var(--brand-blue); background:var(--brand-soft); }
.page .mobile-menu__trigger { color:var(--brand-ink); border-color:var(--brand-line); min-height:44px; }
.page .mobile-menu__icon i { background:var(--brand-ink); }
.page .mobile-menu__claim { color:var(--brand-muted); }
.page .site-footer { --color-focus:#bbcaff; }
.page .site-footer__column a { display:inline-flex; align-items:center; min-height:44px; font-size:1rem; }
.page .site-footer__column a:hover { color:#fff; text-decoration:underline; text-underline-offset:.3em; }
.page .legal-page article { color:var(--brand-ink); }
.page .legal-page article h2 { font-family:var(--font-sans); font-weight:600; font-size:clamp(1.4rem,2.4vw,2rem); line-height:1.25; }
.page .legal-page article :is(p,li) { font-size:1rem; line-height:1.75; }
.page .legal-page article a { color:var(--brand-blue); text-decoration:underline; text-underline-offset:.2em; overflow-wrap:anywhere; }
.page .not-found h1 { font-family:var(--font-display); font-weight:400; }
.page .not-found__code { color:var(--brand-blue); }

/* Calculator and checkout use the same palette, card edges and control states. */
.page--preisrechner {
  --pc-ink:var(--brand-ink); --pc-muted:var(--brand-muted); --pc-line:var(--brand-line);
  --pc-blue:var(--brand-blue); --pc-paper:#fffefa; --pc-gradient:var(--brand-gradient);
}
.page--preisrechner :is(.pc-hero,.pc-packages) { color:var(--brand-ink); background:var(--brand-paper); }
.page--preisrechner .pc-hero h1 { color:var(--brand-ink); font-family:var(--font-display); }
.page--preisrechner .pc-hero__lead { color:var(--brand-muted); }
.page--preisrechner .pc-packages .pc-section-heading h2 { color:var(--brand-ink); }
.page--preisrechner :is(.pc-calculator,.checkout-main) { background:var(--brand-soft); --color-focus:var(--brand-blue); }
.page--preisrechner :is(.pc-calculator,.pc-packages) { padding-block:var(--space-section); }
.page--preisrechner :is(.pc-summary,.pc-cart,.iq-form,.iq-success,.cart-empty) { background:var(--brand-card); border-color:var(--brand-line); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); padding:var(--space-card); }
.page--preisrechner .pc-calculator .pc-disclosure,.page--checkout .pc-disclosure { border-radius:var(--radius-md); }
.page--preisrechner .pc-calculator .pc-disclosure[open] > summary,.page--checkout .pc-disclosure[open] > summary { background:var(--brand-soft); color:var(--brand-ink); }
.page--preisrechner :is(.pc-disclosure > summary,.pc-option,.iq-progress button) { transition:background var(--motion-ui),border-color var(--motion-ui); }
.page--preisrechner :is(.pc-disclosure > summary,.pc-option) { min-height:3rem; }
.page--preisrechner .pc-calculator .pc-disclosure > summary strong,.page--checkout .pc-disclosure > summary strong { font-size:1rem; line-height:1.5; }
.page--preisrechner :is(.pc-disclosure__body,.iq-intro,.iq-check,.iq-review-block p,.cart-empty-copy) { font-size:1rem; line-height:1.65; }
.page--preisrechner :is(.pc-summary__note,.pc-cart__note,.cart-item p,.cart-item__actions button,.pc-option__copy small) { font-size:.875rem; line-height:1.6; }
.page--preisrechner .pc-summary__actions .pc-button,.page--preisrechner .pc-mobile-total__next { background:var(--brand-gradient); color:#fff; }
.page--preisrechner .pc-field select,.page--checkout .iq-field :is(input,textarea,select) { font-size:1rem; border-radius:var(--radius-sm); }
.page--preisrechner .pc-swipe-arrow { border-color:var(--brand-line); color:var(--brand-blue); }
.page--preisrechner .pc-swipe-dot[aria-current="true"] { background:var(--brand-blue); }
.page--preisrechner .pc-swipe-hint { color:var(--brand-muted); font-size:.875rem; }
.page--preisrechner #preset-options.pc-swipe-track > .pc-package {
  --pkg-title:var(--brand-ink); --pkg-copy:var(--brand-muted); --pkg-line:var(--brand-line);
  --pkg-accent:var(--brand-blue); --pkg-tint:#e9edfc;
  background:var(--brand-card); border-radius:var(--radius-lg); box-shadow:var(--shadow-card);
}
.page--preisrechner #preset-options.pc-swipe-track > .pc-package[data-package="launch"] {
  --pkg-title:#f4f6ff; --pkg-copy:#c1cbe5; --pkg-line:#6477b6; --pkg-accent:#bbcaff; --pkg-tint:#253458;
  background:radial-gradient(ellipse at 100% 0,#784eec36,transparent 65%),#141b32;
}
.page--preisrechner #preset-options.pc-swipe-track > .pc-package[data-package="appstarter"] { background:linear-gradient(150deg,#fffefa,#efebfb); }
.page--preisrechner #preset-options.pc-swipe-track > .pc-package[data-package="growth"] { background:linear-gradient(150deg,#fffefa,#e9effc); }
.page--preisrechner #preset-options .pc-package h3 { font-family:var(--font-sans); font-weight:600; font-size:clamp(2rem,3.3vw,3rem); letter-spacing:-.035em; }
.page--preisrechner #preset-options .pc-package__button { border-radius:var(--radius-pill); font-size:1rem; }
.page--preisrechner #preset-options .pc-package__tag { font-size:.875rem; border-color:var(--pkg-line); color:var(--pkg-title); }
.page--preisrechner .pc-calculator .pc-disclosure > summary,.page--checkout .pc-disclosure > summary { border-radius:var(--radius-md); }
.page--preisrechner .pc-calculator .pc-disclosure[open] > summary,.page--checkout .pc-disclosure[open] > summary { border-radius:var(--radius-md) var(--radius-md) 0 0; }
.page--checkout .iq-progress button { min-height:3rem; border-radius:var(--radius-sm); font-size:.875rem; }

/* Native details keep keyboard and no-JavaScript behavior built in. */
.page .tfa-faq { padding-block:var(--space-section); background:var(--brand-paper); color-scheme:light; }
.tfa-faq__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); align-items:start; gap:clamp(2rem,5vw,5rem); }
.tfa-faq__intro { padding-block:1rem; }
.page .tfa-faq h2 { margin:0 0 1.25rem; color:var(--brand-ink); font-family:var(--font-sans); font-size:var(--type-section); font-weight:600; line-height:1.12; letter-spacing:-.045em; }
.tfa-faq__intro > p { max-width:28ch; margin:0 0 1.5rem; color:var(--brand-muted); font-size:1rem; line-height:1.65; }
.page .tfa-faq__contact { display:inline-flex; align-items:center; min-height:44px; margin:0; color:var(--brand-blue); text-decoration:underline; }
.page .tfa-faq__contact::after { display:none; }
.tfa-faq__items { min-width:0; border:1px solid var(--brand-line); border-radius:var(--radius-lg); background:var(--brand-card); box-shadow:var(--shadow-card); }
.tfa-faq__item { border:0; border-bottom:1px solid var(--brand-line); }
.tfa-faq__item:first-child,.tfa-faq__item:first-child > summary { border-top-left-radius:var(--radius-lg); border-top-right-radius:var(--radius-lg); }
.tfa-faq__item:last-child { border-bottom:0; border-bottom-left-radius:var(--radius-lg); border-bottom-right-radius:var(--radius-lg); }
.tfa-faq__item:last-child:not([open]) > summary { border-bottom-left-radius:var(--radius-lg); border-bottom-right-radius:var(--radius-lg); }
.tfa-faq__item > summary { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; min-height:5.5rem; padding:1.25rem 1.75rem; list-style:none; color:var(--brand-ink); font-size:1.0625rem; font-weight:550; line-height:1.5; transition:background var(--motion-ui),color var(--motion-ui); }
.tfa-faq__item > summary::-webkit-details-marker { display:none; }
.tfa-faq__item > summary::marker { content:''; }
.tfa-faq__item > summary:hover { background:var(--brand-soft); }
.tfa-faq__item > summary:focus-visible { position:relative; z-index:1; outline:3px solid var(--brand-blue); outline-offset:3px; }
.tfa-faq__item[open] { background:#eef0fa; }
.tfa-faq__item[open] > summary { color:var(--brand-blue); }
.tfa-faq__icon { position:relative; flex:0 0 2.5rem; width:2.5rem; height:2.5rem; border:1px solid var(--brand-line); border-radius:50%; background:#e9edfc; color:var(--brand-blue); }
.tfa-faq__icon::before,.tfa-faq__icon::after { position:absolute; inset:50% auto auto 50%; width:.85rem; height:2px; background:currentColor; content:''; transform:translate(-50%,-50%); }
.tfa-faq__icon::after { transform:translate(-50%,-50%) rotate(90deg); transition:transform var(--motion-ui); }
.tfa-faq__item[open] .tfa-faq__icon { background:var(--brand-blue); border-color:var(--brand-blue); color:#fff; }
.tfa-faq__item[open] .tfa-faq__icon::after { transform:translate(-50%,-50%) rotate(0); }
.tfa-faq__answer { padding:0 5.75rem 1.75rem 1.75rem; }
.tfa-faq__answer p { max-width:64ch; margin:0; color:var(--brand-muted); font-size:1rem; line-height:1.75; }
@media (max-width:900px) {
  .tfa-faq__grid { grid-template-columns:1fr; gap:1.5rem; }
  .tfa-faq__intro { padding:0; }
  .tfa-faq__intro > p { max-width:42ch; margin-bottom:.75rem; }
}
@media (max-width:700px) {
  .page .tfa-faq__item > summary { gap:1rem; min-height:5rem; padding:1.1rem 1.25rem; font-size:1rem; }
  .tfa-faq__answer { padding:0 1.25rem 1.5rem; }
  .page--preisrechner .pc-calculator { padding-bottom:5rem; }
  .page :is(.pc-calculator,.checkout-main) .pc-section-heading h2 { font-size:var(--type-section); }
}
/* Pointer effects share the calculator's small tilt and moving highlight. */
.page [data-tilt]:not(.pc-package) { transition:opacity 350ms ease-out,transform 220ms ease-out,box-shadow 220ms ease-out,border-color 220ms ease-out; }
.page [data-tilt]:not(.pc-package)::after { position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at var(--light-x,80%) var(--light-y,10%),#7f9bff20,transparent 55%); opacity:0; pointer-events:none; content:''; transition:opacity 220ms ease; }
@media (min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .page [data-tilt]:not(.pc-package):hover { transform:perspective(1200px) translateY(-4px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); border-color:#8295d5; box-shadow:0 1.5rem 3.5rem #28316429; }
  .page [data-tilt]:not(.pc-package):hover::after { opacity:1; }
}
@media (max-width:1000px) {
  .page .compact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page .service-detail__grid { grid-template-columns:1fr; }
  .page .service-detail__sticky { position:static; }
}
@media (max-width:700px) {
  .page .page-hero { padding-top:calc(var(--header-height) + 2rem); padding-bottom:2.5rem; }
  .page .page-hero__grid { grid-template-columns:1fr; gap:1.5rem; }
  .page .page-hero h1 { font-size:clamp(2.65rem,10.5vw,4rem); }
  .page .page-hero__aside > p { font-size:1rem; margin-bottom:1.2rem; }
  .page :is(.service-detail,.case-framework,.collaboration,.team-profiles,.contact-options,.direct-contact,.case-list,.team-principle,.section--included) { padding-block:2.5rem; }
  .page .service-detail__content,.page .compact-grid,.page .contact-option-grid,.page .profile-grid { grid-template-columns:1fr; }
  .page .case-card { grid-template-columns:1fr; }
  .page .case-card--reverse .case-card__visual { order:0; }
  .page .case-card__visual,.page .profile-card__portrait { min-height:18rem; }
  .page .detail-card,.page .compact-grid article { padding:1.3rem; }
  .page:not(.page--home) .footer-cta__grid { grid-template-columns:1fr; gap:1.5rem; }
  .page .legal-page { padding-top:calc(var(--header-height) + 2rem); }
}
@media (prefers-reduced-motion:reduce) {
  .page [data-tilt] { transform:none !important; transition:none !important; }
  .page :is(.button,.pc-button,.pc-option,.pc-disclosure > summary,.iq-progress button,.tfa-faq__item > summary,.tfa-faq__icon::after) { transition:none; }
}
@media (forced-colors:active) {
  .page :is(.tfa-gradient,.text-accent) { background:none; color:CanvasText; -webkit-text-fill-color:currentColor; }
  .page [data-tilt] { border-color:CanvasText; }
  .page [data-tilt]::after { display:none; }
  .tfa-faq__items,.tfa-faq__item,.tfa-faq__icon { border-color:CanvasText; }
  .tfa-faq__icon::before,.tfa-faq__icon::after { background:ButtonText; }
  .tfa-faq__item[open] .tfa-faq__icon { background:Canvas; color:ButtonText; border-color:ButtonText; }
}

/* problem-transition.css */
/* One scroll-controlled surface: a liquid drop opens into the solution card. */
.page--home .section--problems {
  --problem-card-surface:
    radial-gradient(ellipse at 100% 100%, #e8e8f680, transparent 58%),
    radial-gradient(ellipse at 0% 0%, #ffffff, transparent 65%),
    linear-gradient(135deg, #fffefa, #f8faff 58%, #f2f1f9);
  --problem-card-shadow:
    0 2px 4px #202a4505,
    0 16px 36px -20px #34467038,
    0 38px 76px -36px #5c68963b;
}

.page--home .section--problems .problem-row__problem p {
  color: #535c70;
}

.page--home .section--problems .problem-row__solution p {
  background: linear-gradient(112deg, #245ba2, #454f9b 52%, #715395);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.page--home .section--problems .text-marker--violet { --marker-fill: #e4dff4; }
.page--home .section--problems .text-marker--mint { --marker-fill: #dcece6; }
.page--home .section--problems .text-marker--peach { --marker-fill: #f1e4d4; }

/* The same finish also covers reduced motion and short landscape screens. */
.page--home .section--problems:not(.is-cinematic-problems) .problem-row {
  padding-inline: clamp(1.25rem, 3.2vw, 3.25rem);
  border-color: #8b98b52e;
  border-radius: 1.1rem;
  background: var(--problem-card-surface);
  box-shadow: var(--problem-card-shadow), inset 0 1px 0 #ffffff;
}

.problem-liquid {
  display: none;
  pointer-events: none;
}

.problem-row__caption {
  display: block;
  margin-bottom: .65rem;
  color: #171c30;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .015em;
}

@media (prefers-reduced-motion: no-preference) {
  .page--home .section--problems.is-cinematic-problems.is-liquid-problems {
    height: 360svh;
    min-height: 360svh;
    padding: 0;
    overflow: visible;
  }

  .page--home .is-cinematic-problems.is-liquid-problems .home-problems__layout {
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100svh;
    padding: 0;
    overflow: clip;
    isolation: isolate;
    background:
      radial-gradient(ellipse at 25% 38%, #dce6ff45, transparent 58%),
      radial-gradient(ellipse at 78% 70%, #e5def73b, transparent 60%),
      #f5f6fb;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .section-heading--problems {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: auto;
    left: 50%;
    width: min(88%, 74rem);
    margin: 0;
    text-align: center;
    opacity: var(--problems-title-opacity, 1);
    transform: translate3d(-50%, calc(-50% + var(--problems-title-y, 0px)), 0) scale(var(--problems-title-scale, 1));
    transform-origin: center;
    pointer-events: none;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .section-heading--problems h2 {
    width: 100%;
    max-width: none;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6.8vw, 7.35rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.058em;
  }

  html.js .page--home .is-cinematic-problems.is-liquid-problems .problem-heading-reveal[data-reveal] > *,
  html.js .page--home .is-cinematic-problems.is-liquid-problems .problem-heading-reveal[data-reveal].is-visible > * {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-title__line {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  .page--home .is-liquid-problems .problem-title__line--positive {
    background: none;
  }

  .is-liquid-title .problem-title__word,
  .is-liquid-title .problem-title__letter {
    display: inline-block;
  }

  .is-liquid-title .problem-title__word {
    white-space: nowrap;
  }

  .is-liquid-title .problem-title__letter {
    --letter-progress: clamp(0, calc((var(--problems-text-merge, 0) - var(--letter-delay, 0)) * 1.16), 1);
    color: color-mix(in srgb, var(--letter-ink, #171c30) calc((1 - var(--letter-progress)) * 100%), #6e76eb);
    transform:
      translate3d(calc(var(--letter-x, 0px) * var(--letter-progress)), calc(var(--letter-y, 0px) * var(--letter-progress) + var(--letter-arc, 0px) * var(--problems-text-arc, 0)), 0)
      scale(calc(1 - var(--letter-progress) * .9));
    filter: blur(clamp(0px, calc((var(--letter-progress) - .35) * 28px), 18px));
    transform-origin: center;
  }

  .is-liquid-title.is-measuring-title .problem-title__letter {
    transform: none;
    filter: none;
  }

  .page--home .is-cinematic-problems.is-liquid-problems .problem-liquid {
    position: absolute;
    z-index: 2;
    top: 54%;
    left: 50%;
    display: block;
    width: var(--liquid-width, 0px);
    height: var(--liquid-height, 0px);
    border-radius: var(--liquid-radius, 50%);
    opacity: var(--liquid-opacity, 0);
    transform: translate3d(-50%, calc(-50% + var(--liquid-y, 0px)), 0) rotate(var(--liquid-rotation, 0deg));
    box-shadow: var(--problem-card-shadow);
  }

  .problem-liquid__halo,
  .problem-liquid__surface,
  .problem-liquid__edge {
    position: absolute;
    inset: 0;
    border-radius: inherit;
  }

  .problem-liquid__halo {
    inset: -7px;
    background: conic-gradient(from var(--liquid-angle, 130deg), #5c41eb, #4998ff, #83e3f7, #8980fa, #a13bd8, #5c41eb);
    opacity: var(--liquid-glow, 0);
    filter: blur(16px);
  }

  .problem-liquid__surface {
    overflow: hidden;
    border: 1px solid #8b98b52e;
    background: var(--problem-card-surface);
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #7788ae0a;
  }

  .problem-liquid__surface::before,
  .problem-liquid__surface::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
  }

  .problem-liquid__surface::before {
    background:
      radial-gradient(ellipse at 22% 12%, #dcfbff 0%, #7bdafa80 20%, transparent 52%),
      radial-gradient(ellipse at 83% 83%, #cd84f4, transparent 57%),
      linear-gradient(var(--liquid-angle, 130deg), #2188e7, #6253e9 55%, #8e44cd);
    opacity: var(--liquid-energy, 1);
  }

  .problem-liquid__surface::after {
    background: radial-gradient(ellipse at 30% 0%, #ffffffeb, transparent 55%);
    opacity: calc(var(--liquid-energy, 1) * .75);
  }

  .problem-liquid__edge {
    padding: 2px;
    background: conic-gradient(from var(--liquid-angle, 130deg), #c4c0ee, #6e9bdb, #d1edf5, #f6f3ff, #aaa1d7, #c4c0ee);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: calc(.12 + var(--liquid-energy, 1) * .88);
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list {
    position: absolute;
    z-index: 3;
    inset: 0;
    opacity: var(--problems-cards-opacity, 0);
    transform: translate3d(0, var(--problem-content-y, 0px), 0);
    transition: none;
  }

  .page--home .is-cinematic-problems.is-liquid-problems .problem-list::before {
    display: none;
  }

  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row {
    position: absolute;
    top: 54%;
    left: 50%;
    display: grid;
    width: min(80vw, 68rem);
    min-height: min(50svh, 28rem);
    grid-template-columns: .58fr 1fr 1fr;
    align-content: center;
    gap: clamp(1.5rem, 3.2vw, 3.5rem);
    padding: clamp(2rem, 3.2vw, 3.25rem);
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
    clip-path: none;
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 12px), 0);
    transition: opacity 240ms ease, transform 360ms var(--ease-out);
    transition-delay: 0ms;
    pointer-events: none;
  }

  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row.is-active {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: auto;
  }

  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row.is-before,
  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row.is-after {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 12px), 0);
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row > * {
    grid-column: auto;
    align-self: center;
    padding-right: 0;
    opacity: 1;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row :is(.problem-row__problem, .problem-row__solution) {
    align-self: start;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 3.6vw, 4rem);
    font-weight: 400;
  }

  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row p {
    font-size: clamp(.95rem, 1.18vw, 1.12rem);
    line-height: 1.55;
  }

  @media (max-width: 1099px) {
    .page--home .section--problems.is-cinematic-problems.is-liquid-problems .section-heading--problems {
      width: calc(100% - 2rem);
    }

    .page--home .section--problems.is-cinematic-problems.is-liquid-problems .section-heading--problems h2 {
      font-size: clamp(2.4rem, 7.8vw, 5.3rem);
    }

    html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row {
      width: min(calc(100% - 3rem), 44rem);
      grid-template-columns: 1fr;
      gap: 1.25rem;
      padding: clamp(1.5rem, 5vw, 3rem);
    }

    .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row h3 {
      margin-bottom: 0;
      font-size: clamp(2.25rem, 6vw, 3rem);
    }

    .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row p {
      max-width: 36ch;
      font-size: 1rem;
      line-height: 1.6;
    }
  }

  @media (max-width: 380px) {
    html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row {
      width: calc(100% - 2rem);
      gap: 1rem;
      padding: 1.35rem;
    }
  }
}

@media (forced-colors: active) {
  .page--home .section--problems .problem-row :is(.problem-row__problem, .problem-row__solution) p {
    background: none;
    color: CanvasText;
  }
}

/* footer.css */
/* Shared footer. Separate component classes keep every page visually identical. */
.page .site-footer {
  --color-text:#f5f4ef;
  --color-muted:#aab4c8;
  --color-muted-strong:#c3cad9;
  --color-focus:#c6d0ff;
  position:relative;
  background:radial-gradient(ellipse at 82% 0,rgba(86,73,148,.16),transparent 53%),#0b0f19;
  color:#f5f4ef;
  border-top:1px solid rgba(220,225,243,.1);
}
.tfa-footer__wrap {
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,2fr);
  column-gap:clamp(2rem,5vw,5rem); width:min(89%,80rem); margin-inline:auto;
  padding-top:3rem;
}
.tfa-footer__brand {
  display:flex; flex-direction:column; align-items:flex-start; gap:1.5rem; min-width:0;
  padding-bottom:2.5rem;
}
/* Account for the original image's transparent padding without extending the link over the claim. */
.tfa-footer__logo { position:relative; display:block; flex-shrink:0; width:7.25rem; height:6rem; overflow:hidden; }
.tfa-footer__logo img { position:absolute; top:-2.5rem; left:-2rem; display:block; width:11rem; max-width:none; height:auto; object-fit:contain; pointer-events:none; filter:none; transform:none; transition:transform 220ms ease; }
.tfa-footer__brand > .tfa-footer__claim {
  display:grid; gap:.2em; margin:0; color:var(--color-text); font-family:var(--font-sans);
  font-size:clamp(1.375rem,1.85vw,1.75rem); font-weight:600; line-height:1.3; letter-spacing:-.035em;
}
.tfa-footer__claim > span { display:block; }
.tfa-footer__claim strong { font-weight:inherit; }
.tfa-footer__claim-design strong { color:var(--color-focus); }
.tfa-footer__claim-code { color:var(--color-muted-strong); font-weight:400; }
.tfa-footer__claim-code strong { font-weight:500; }
.tfa-footer__directory { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:clamp(2rem,4vw,4rem); padding-bottom:2.5rem; }
.tfa-footer__directory > * { min-width:0; }
.tfa-footer__navigation { max-width:28rem; }
.tfa-footer__contact { width:min(100%,28rem); justify-self:end; }
.site-footer .tfa-footer__label { margin:0 0 1rem; color:#aab4c8; font-family:var(--font-sans); font-size:.75rem; font-weight:500; line-height:1.5; letter-spacing:.09em; text-transform:uppercase; }
.tfa-footer__navigation ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.5rem; list-style:none; margin:0; padding:0; }
.tfa-footer__navigation a { display:inline-flex; align-items:center; min-height:44px; color:#e0e4ee; font-size:.9375rem; text-decoration:none; }
.tfa-footer__email { display:inline-flex; align-items:center; min-height:44px; color:#f5f4ef; font-size:clamp(1.1rem,1.65vw,1.5rem); letter-spacing:-.025em; text-decoration:none; overflow-wrap:anywhere; }
.tfa-footer__contact > p { margin:1rem 0 0; color:#aab4c8; font-size:.875rem; line-height:1.7; }
.tfa-footer__cta {
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  min-height:3rem; margin-top:1.5rem; padding:.75rem 1.5rem; border:1px solid #f5f4ef; border-radius:999px;
  background:#f5f4ef; color:#161d31; font-size:.9375rem; font-weight:600; line-height:1.4;
  text-decoration:none; transition:background 180ms ease,box-shadow 180ms ease;
}
.tfa-footer__cta:hover { background:#e1e5fa; border-color:#e1e5fa; color:#161d31; box-shadow:0 .4rem 1.5rem #afbaf51c; }
.tfa-footer__bottom { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:1rem 2rem; padding-block:1rem; border-top:1px solid rgba(220,225,243,.16); }
.tfa-footer__bottom p { margin:0; color:#aab4c8; font-size:.75rem; white-space:nowrap; }
.tfa-footer__legal,.tfa-footer__utilities { display:flex; align-items:center; gap:1.5rem; }
.tfa-footer__legal a,.tfa-footer__utilities button,.tfa-footer__top { display:inline-flex; align-items:center; min-height:44px; padding:0; color:#c3cad9; background:none; border:0; font:inherit; font-size:.8125rem; text-decoration:none; white-space:nowrap; }
.tfa-footer__utilities button:disabled { color:#8792a8; cursor:not-allowed; }
.tfa-footer__navigation a:hover,.tfa-footer__email:hover,.tfa-footer__legal a:hover,.tfa-footer__top:hover { color:#fff; text-decoration:underline; text-underline-offset:.3em; }
.site-footer a:focus-visible,.site-footer button:focus-visible { outline:2px solid #c6d0ff; outline-offset:5px; border-radius:3px; }
.tfa-footer__cta:focus-visible { border-radius:999px; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .tfa-footer__logo:hover img { transform:translateY(-2px); }
}
@media (max-width:1100px) {
  .tfa-footer__wrap { grid-template-columns:1fr; padding-top:0; }
  .tfa-footer__brand { flex-direction:row; align-items:center; gap:2rem; padding-block:2rem; border-bottom:1px solid rgba(220,225,243,.12); }
  .tfa-footer__brand > .tfa-footer__claim { font-size:clamp(1.375rem,3vw,1.75rem); }
  .tfa-footer__directory { grid-template-columns:1fr 1fr; padding-top:2.5rem; }
}
@media (max-width:900px) {
  .page--preisrechner:has(.pc-mobile-total:not([hidden])) .tfa-footer__bottom { padding-bottom:calc(7rem + env(safe-area-inset-bottom)); }
}
@media (max-width:760px) {
  .tfa-footer__bottom { grid-template-columns:auto minmax(0,1fr); gap:0 1rem; }
  .tfa-footer__utilities { grid-column:1 / -1; grid-row:1; justify-content:space-between; padding-bottom:.5rem; margin-bottom:.5rem; border-bottom:1px solid rgba(220,225,243,.1); }
  .tfa-footer__legal { justify-content:flex-end; gap:1rem; }
  .tfa-footer__legal a { font-size:.75rem; }
}
@media (max-width:600px) {
  .tfa-footer__wrap { width:calc(100% - 2.5rem); }
  .tfa-footer__brand { flex-direction:column; align-items:center; gap:.75rem; padding-block:2rem; }
  .tfa-footer__brand > .tfa-footer__claim { font-size:clamp(1.375rem,5.5vw,1.625rem); text-align:center; }
  .tfa-footer__directory { grid-template-columns:1fr; padding-block:1.75rem 2rem; gap:1.75rem; }
  .tfa-footer__contact { width:100%; justify-self:stretch; }
  .tfa-footer__navigation ul { grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr)); max-width:25rem; }
  .site-footer .tfa-footer__label { margin-bottom:.5rem; }
  .tfa-footer__email { font-size:1.25rem; }
  .tfa-footer__contact > p { margin-top:.5rem; }
  .tfa-footer__cta { margin-top:1.25rem; }
  .tfa-footer__bottom { display:flex; flex-wrap:wrap; column-gap:.75rem; padding-block:.5rem; }
  .tfa-footer__utilities { order:-1; width:100%; flex-wrap:wrap; gap:0 1rem; }
  .tfa-footer__legal { flex-wrap:wrap; gap:0 .75rem; margin-left:auto; }
  .tfa-footer__legal a,.tfa-footer__utilities button,.tfa-footer__top { white-space:normal; text-align:left; }
  .tfa-footer__bottom p { font-size:.6875rem; white-space:normal; }
}
@media (prefers-reduced-motion:reduce) {
  .tfa-footer__cta,.tfa-footer__logo img { transition:none; }
}

/* mobile.css */
/* Shared mobile shell. Page-specific motion stays in its own component. */
.mobile-menu__backdrop { display:none; }
@media (max-width:960px) {
  :root { --gutter:clamp(1.25rem,4.5vw,2rem); --header-height:calc(4.25rem + env(safe-area-inset-top,0px)); }
  html.has-mobile-menu { overflow:hidden; overscroll-behavior:none; }
  .page .site-header { padding-top:env(safe-area-inset-top,0px); }
  .page .site-header__inner {
    width:100%; max-width:none; margin:0; gap:1rem;
    padding-inline:max(var(--gutter),env(safe-area-inset-left)) max(var(--gutter),env(safe-area-inset-right));
  }
  .page .site-header .brand { flex:0 0 auto; min-height:44px; }
  .page .site-header .brand__wordmark-panel { width:5rem; height:3.3rem; }
  .page .site-header .brand__logo--wordmark { top:-1.955rem; left:-1.4rem; width:7.75rem; height:auto; }
  .page .mobile-menu { flex:0 0 auto; margin-left:auto; }
  .page .mobile-menu__trigger {
    width:44px; min-width:44px; height:44px; min-height:44px; margin-right:-10px; padding:10px;
    justify-content:center; gap:0; border:0; background:transparent; box-shadow:none; cursor:pointer;
    -webkit-tap-highlight-color:transparent; touch-action:manipulation;
  }
  .page .mobile-menu__label { display:none; }
  .page .mobile-menu__icon { flex:0 0 24px; width:24px; }
  .page .mobile-menu__trigger:focus-visible { outline:2px solid var(--brand-blue); outline-offset:4px; border-radius:.2rem; }
  .mobile-menu[open] .mobile-menu__backdrop {
    display:block; position:fixed; inset:var(--header-height) 0 0; z-index:1001;
    background:#141d3538; touch-action:none;
  }
  .page .mobile-menu__panel {
    inset:var(--header-height) 0 auto auto; width:min(100%,28rem);
    height:calc(100vh - var(--header-height)); height:calc(100dvh - var(--header-height));
    padding:clamp(1.25rem,3dvh,2rem) max(var(--gutter),env(safe-area-inset-right)) max(1.25rem,env(safe-area-inset-bottom)) max(var(--gutter),env(safe-area-inset-left));
    gap:0; overflow-y:auto; overscroll-behavior:contain;
    scroll-padding-block:1.25rem; background:var(--brand-paper);
    box-shadow:-1.5rem 0 4rem #19213b12;
  }
  .page .mobile-menu__panel > * { flex-shrink:0; }
  .mobile-menu__eyebrow { margin:0 0 1rem; padding-inline:.75rem; font-size:.6875rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-muted); }
  .page .mobile-nav { display:grid; margin:0; gap:.125rem; }
  .page .mobile-menu__panel .mobile-nav a {
    display:flex; align-items:center; min-height:clamp(48px,7dvh,60px);
    padding:.45rem .75rem; border:0; border-radius:.5rem;
    font-family:var(--font-display); font-size:clamp(1.5rem,5.5vw,1.875rem);
    font-weight:400; line-height:1.2; letter-spacing:-.035em;
  }
  .mobile-nav strong { font-weight:inherit; }
  .page .mobile-menu__panel .mobile-nav a[aria-current="page"] { color:var(--brand-blue); background:#e5e9fa; box-shadow:inset 3px 0 var(--brand-blue); }
  .page .mobile-menu__panel .mobile-nav a:hover { color:var(--brand-blue); background:#e5e9fa; }
  .page .mobile-menu__actions { gap:.25rem; margin-top:auto; padding-top:1.5rem; }
  .page .mobile-menu__actions .button { width:100%; min-height:52px; font-size:.9375rem; }
  .mobile-menu__contact { display:flex; align-items:center; justify-content:center; min-height:44px; color:var(--brand-muted); font-size:.875rem; }
  .page .mobile-menu__claim { margin:.25rem 0 0; font-family:var(--font-sans); font-size:.75rem; line-height:1.5; letter-spacing:0; text-transform:none; text-align:center; color:var(--brand-muted); }
  .page .mobile-menu__panel a:focus-visible { outline:2px solid var(--brand-blue); outline-offset:3px; }
  .page a.button { min-width:0; max-width:100%; white-space:normal; }
  .page :is(input,select,textarea) { font-size:max(1rem,16px); }
  .page .legal-page :is(p,li,a) { overflow-wrap:anywhere; }
  .page .legal-page h1 { font-size:clamp(2.25rem,8vw,3.5rem); line-height:1.1; overflow-wrap:anywhere; }
  .page .legal-page article section + section { margin-top:2rem; }
  .page .not-found { min-height:0; padding-block:calc(var(--header-height) + 2.5rem) 3.5rem; }
  .page .not-found h1 { font-size:clamp(2.6rem,10vw,4rem); }
}
@media (max-width:960px) and (max-height:560px) {
  .page .mobile-menu__panel { padding-top:1rem; }
  .mobile-menu__eyebrow { margin-bottom:.5rem; }
  .page .mobile-menu__panel .mobile-nav a { min-height:44px; font-size:1.5rem; }
  .page .mobile-menu__actions { padding-top:1rem; }
}
@media (max-width:960px) and (prefers-reduced-motion:no-preference) {
  .mobile-menu[open] .mobile-menu__panel { animation:mobile-panel-in 300ms cubic-bezier(.22,.61,.36,1) both; }
  .mobile-menu[open] .mobile-nav a { animation:mobile-link-in 260ms ease-out both; }
  .mobile-menu[open] .mobile-nav a:nth-child(2) { animation-delay:25ms; }
  .mobile-menu[open] .mobile-nav a:nth-child(3) { animation-delay:50ms; }
  .mobile-menu[open] .mobile-nav a:nth-child(4) { animation-delay:75ms; }
  .mobile-menu[open] .mobile-nav a:nth-child(5) { animation-delay:100ms; }
  .mobile-menu[open] .mobile-nav a:nth-child(6) { animation-delay:125ms; }
}
@keyframes mobile-panel-in { from { opacity:0; translate:18px 0; } to { opacity:1; translate:0 0; } }
@keyframes mobile-link-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* Keep the signature scroll sequences, sized for a phone viewport. */
@media (max-width:1099px) and (prefers-reduced-motion:no-preference) {
  .page--home .section--problems.is-cinematic-problems.is-liquid-problems {
    height:280svh; min-height:280svh;
  }
  .page--leistungen .leistungen-story.is-scroll-ready { height:190svh; }
}
@media (max-width:680px) and (prefers-reduced-motion:no-preference) {
  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row {
    width:calc(100% - 2.5rem); min-height:0; gap:1.1rem; padding:1.4rem;
  }
  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row h3 { font-size:2rem; }
  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row p { font-size:.9375rem; line-height:1.55; }
}
@media (max-width:380px) and (max-height:650px) and (prefers-reduced-motion:no-preference) {
  html.js .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-list[data-reveal] .problem-row {
    gap:.85rem; padding:1.1rem;
  }
  .page--home .section--problems.is-cinematic-problems.is-liquid-problems .problem-row h3 { font-size:1.8rem; }
}

/* mobile-scenes.css */
/* Native card rows cover narrow or short viewports and reduced motion.
   Match the 1100px / 600px cinematic gate in site.js and site.css. */
@media (max-width: 1099px), (max-height: 599px), (prefers-reduced-motion: reduce) {
  .page--home :is(.section--problems:not(.is-cinematic-problems), .section--services, .section--process, .section--projects, .section--team-preview) {
    padding-block: clamp(3.25rem, 7vw, 4.5rem);
  }
  .page--home :is(.section--problems:not(.is-cinematic-problems) .section-heading--problems h2, .section--services .section-heading--services h2, .process-roadmap__heading h2, .team-preview__copy h2) {
    max-width: 18ch;
    font-size: clamp(2rem, 5.2vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .page--home .section--services .section-heading--services { margin-bottom: 1.75rem; }
  .page--home .section--problems:not(.is-cinematic-problems) .home-problems__layout { width: min(calc(100% - 2.5rem), var(--container)); }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-title__line--positive { margin-left: 0; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-list { display: grid; gap: 1rem; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-list::before { display: none; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--brand-line);
    border-radius: 1.1rem;
    background: var(--brand-card);
  }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row::before { display: none; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row__label { grid-column: 1 / -1; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row h3 { font-size: 1.35rem; line-height: 1.2; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row p { font-size: .9375rem; line-height: 1.6; }
  .page--home .problem-row__caption { margin-bottom: .4rem; font-size: .75rem; color: var(--color-text-dark); }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row__solution { grid-column: auto; padding: 0; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row__solution p { color: var(--brand-ink); background: none; font-weight: 500; }
  .page--home .problem-row__solution .problem-row__caption { color: var(--color-text-dark); }

  /* The next card remains visible as an invitation to swipe. */
  .page--home :is(.services-cinema, .project-grid) { width: 100%; max-width: none; }
  .page--home .section--services .services-filmstrip,
  .page--home .section--projects .project-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* Native horizontal swipes must override the legacy carousel's pan-y. */
    touch-action: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
    padding: 0 max(1.25rem, calc((100vw - var(--container)) / 2)) 1rem;
    scrollbar-width: thin;
    scrollbar-color: #8593ba transparent;
    -webkit-overflow-scrolling: touch;
  }
  .page--home .section--services .service-frame,
  .page--home .section--services .service-frame.is-active {
    flex: 0 0 min(84vw, 23rem);
    scroll-snap-align: start;
    padding: 1.5rem;
    transform: none;
  }
  .page--home .section--services .service-frame h3,
  .page--home .section--services .service-frame.is-active h3,
  .page--home .section--services .service-frame:not(.is-active) h3 {
    font-size: 1.6rem;
    line-height: 1.12;
  }
  .page--home .section--services .service-frame__details,
  .page--home .section--services .service-frame.is-active .service-frame__details {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    max-height: none;
    margin-top: 1.35rem;
    gap: 1rem;
    overflow: visible;
    opacity: 1;
    transform: none;
  }
  .page--home .section--services .service-frame__copy { margin: 0; padding-top: 0; }
  .page--home .section--services .service-frame__offers { grid-template-columns: 1fr; }
  .page--home .section--services .service-frame__offers li { font-size: .9375rem; line-height: 1.45; padding-block: .7rem; }
  .page--home .section--services .service-frame__details a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; align-self: flex-start; }

  .page--home .section--projects .project-card,
  .page--home .section--projects .project-card--wide {
    display: flex;
    flex: 0 0 min(84vw, 23rem);
    flex-direction: column;
    scroll-snap-align: start;
    min-width: 0;
  }
  .page--home .section--projects .project-card:nth-child(n) .project-card__visual {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    transform: none;
    clip-path: none;
  }
  .page--home .project-case__video { width: 100%; height: 100%; object-fit: contain; }
  .page--home .section--projects .project-card:nth-child(n) .project-card__body { flex: 1; min-height: 0; justify-content: flex-start; padding: 1.4rem; }
  .page--home .project-card__body h3 { font-size: 1.35rem; line-height: 1.2; }
  .page--home .project-card__body p { margin-bottom: 1rem; font-size: .9375rem; line-height: 1.6; }
  .page--home .project-card__body .card-link { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; }
  .page--home .team-preview { gap: 2rem; }
  .page--home .team-preview__copy h2 { max-width: 21ch; margin-bottom: 1.25rem; }
  .page--home .team-preview__copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.65; margin-bottom: 1.25rem; }
  .page--home .team-preview__portraits { min-height: 0; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .page--home .team-preview__portraits .portrait-placeholder { min-height: 13rem; padding: 1rem; margin: 0; }
  .page--home .team-preview__portraits.is-visible .portrait-placeholder:first-child,
  .page--home .team-preview__portraits.is-visible .portrait-placeholder--offset { transform: none; }
  .page--home .team-preview__portraits .portrait-placeholder > p { font-size: clamp(1.15rem, 4.9vw, 1.8rem); line-height: 1.05; letter-spacing: -.035em; }
  .page--home .team-preview__badge { justify-content: flex-start; padding-top: 1rem; }
  .page--home .team-preview__badge span { font-size: .75rem; line-height: 1.4; }

  /* The fallback is compact; the enhanced intro keeps its scroll transition. */
  .page--leistungen .leistungen-story:not(.is-scroll-ready) .leistungen-story__scene { min-height: 0; }
  .page--leistungen .leistungen-story:not(.is-scroll-ready) .leistungen-story__scene--intro { padding: calc(var(--header-height) + 3rem) 0 2.5rem; }
  .page--leistungen .leistungen-story:not(.is-scroll-ready) .leistungen-story__scene--showcase { padding: 0 0 2rem; }
  .page--leistungen .leistungen-story h1 { font-size: clamp(2.5rem, 8.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.055em; }
  .page--leistungen .leistungen-hero__caption { margin-top: 1.65rem; gap: 1rem; }
  .page--leistungen .leistungen-story__showcase-inner { width: min(calc(100% - 2.5rem), 52rem); }
  .page--leistungen .leistungen-showreel__frame { box-shadow: 0 1rem 2.5rem #382b281c; }
  .page--leistungen .leistungen-selection { padding: .5rem 0 1.5rem; }
  .page--leistungen .leistungen-jump__links a { min-height: 3.5rem; font-size: .8125rem; line-height: 1.3; }
  .page--leistungen .service-detail__sticky { position: static; }
  .page--leistungen .service-detail__grid { gap: 1.75rem; }
  .page--leistungen :is(.detail-card, .compact-grid article) { padding: 1.3rem; min-height: 0; }
  .page--leistungen :is(.detail-card, .compact-grid article) h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .65rem; }
  .page--leistungen :is(.detail-card, .compact-grid article) p { font-size: .9375rem; line-height: 1.6; }
}

@media (max-width: 680px) {
  .page--home .home-intro__title { font-size: clamp(1.875rem, 9.6vw, 2.8rem); line-height: 1.1; }
  .page--home .home-intro__actions { align-items: stretch; gap: .5rem; }
  .page--home .home-intro__actions .home-intro__primary { min-width: 0; flex: 1 1 45%; min-height: 48px; padding: .75rem; font-size: .875rem; }
  .page--home .home-intro__secondary { flex: 1 1 45%; font-size: .8125rem; padding-inline: .25rem; line-height: 1.4; }
  .page--home .home-scene__visual { display: flex; flex-direction: column; }
  .page--home .home-scene__controls { display: contents; }
  .page--home .demo-controls { order: -1; margin: .25rem 0 1rem; }
  .page--home .demo-controls label { font-size: .75rem; min-height: 44px; }
  .page--home .laptop { --phone-height: 400px; min-height: calc(var(--phone-height) + 12px); }
  .page--home .home-scene:not(:has(#demo-website:checked):has([name="preview-device"][value="phone"]:checked)) .laptop { padding-top: calc((var(--phone-height) - var(--frame-height)) / 2); }
  .page--home .home-scene:not(:has(#demo-website:checked)) .laptop { padding-top: calc((var(--phone-height) - max(var(--frame-height), 270px)) / 2); }
  .page--home .home-scene:not(:has(#demo-website:checked)) .laptop__lid { height: max(var(--frame-height), 270px); }
  .page--home .example-benefit { margin-top: .6rem; }
  .page--home .home-scene__caption { font-size: .6875rem; }
  .page--home .section--problems:not(.is-cinematic-problems) .home-problems__layout { width: calc(100% - 2.5rem); }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row { grid-template-columns: 1fr; padding: 1.25rem; gap: 1rem; }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row__solution { padding-top: 1rem; border-top: 1px solid var(--brand-line); }
  .page--home .section--problems:not(.is-cinematic-problems) .problem-row__label { grid-column: auto; }
  .page--home .team-preview__portraits .portrait-placeholder { min-height: 10.5rem; }
  .page--home .section--projects .section-heading--split { gap: 1rem; }
  .page--leistungen .leistungen-story h1 { font-size: clamp(2.25rem, 10.5vw, 3.75rem); }
  .page--leistungen .leistungen-story:not(.is-scroll-ready) .leistungen-story__scene--intro { padding-top: calc(var(--header-height) + 2.5rem); }
  .page--leistungen .leistungen-jump__links a { font-size: .75rem; min-height: 3.5rem; }
}

/* Retain the existing reveal system with motion sized for a thumb-scroll. */
@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .page--home .section--projects .project-card[data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms ease-out, transform 360ms ease-out;
  }
  html.js:where(.has-reveal-controller) .page--home .section--projects .project-card[data-reveal].is-visible { opacity: 1; transform: none; }
  html.js:where(.has-reveal-controller) .page--home .section--projects .project-card[data-reveal] .project-card__visual {
    clip-path: inset(0 0 3% 0);
    transition: clip-path 360ms ease-out;
  }
  html.js:where(.has-reveal-controller) .page--home .section--projects .project-card[data-reveal].is-visible .project-card__visual { clip-path: inset(0); }
  html.js:where(.has-reveal-controller) :is(.page--home, .page--leistungen) main [data-reveal] {
    transition-duration: 360ms;
    transition-delay: 0ms;
  }
  html.js:where(.has-reveal-controller) .page--home .section--problems:not(.is-cinematic-problems) .problem-list[data-reveal] .problem-row { transform: translateY(10px); clip-path: none; transition-duration: 360ms; transition-delay: 0ms; }
  html.js:where(.has-reveal-controller) .page--home .section--problems:not(.is-cinematic-problems) .problem-list[data-reveal].is-visible .problem-row { transform: none; }
  html.js:where(.has-reveal-controller) .page--home .section--problems:not(.is-cinematic-problems) .problem-heading-reveal[data-reveal] > * { transform: translateY(10px); clip-path: none; transition-duration: 360ms; transition-delay: 0ms; }
  html.js:where(.has-reveal-controller) .page--home .section--problems:not(.is-cinematic-problems) .problem-heading-reveal[data-reveal].is-visible > * { transform: none; }
  .page--home .demo-panel { animation-duration: 220ms; }
  .page--home :is(.demo-chat--answer, .demo-record, .demo-task) { animation-duration: 320ms; animation-delay: 120ms; }
}

/* Compact scroll timeline: each step is readable before it becomes active. */
@media (max-width: 1099px), (max-height: 599px) {
  .page--home .process-roadmap-layout { transform: none; }
  .page--home .process-roadmap__heading { margin: 0 0 1.75rem; }
  .page--home .process-roadmap__canvas { min-width: 0; }
  .page--home .process-roadmap { min-height: 0; grid-template-columns: 1fr; gap: 0; padding: 0; }
  .page--home .process-roadmap__route { display: none; }
  .page--home .process-roadmap__step { grid-template-columns: 2.75rem minmax(0, 1fr); grid-template-rows: auto; gap: 1rem; padding: 0 0 clamp(1.75rem, 4.5vh, 2.5rem); }
  .page--home .process-roadmap__step:last-child { padding-bottom: 0; }
  .page--home .process-roadmap__node { grid-column: 1; grid-row: 1; width: 2.75rem; height: 2.75rem; font-size: .8125rem; }
  .page--home .process-roadmap::before, .page--home .process-roadmap::after {
    left: 1.375rem; right: auto; top: 1.375rem; bottom: 1.375rem;
    width: 2px; height: auto; transform-origin: center top;
  }
  .page--home .process-roadmap::after { background: linear-gradient(180deg, #1588d4, #3f63d9 48%, #8b3eae); }
  .page--home .process-roadmap__content,
  .page--home .process-roadmap__step:nth-child(even) .process-roadmap__content {
    width: auto; max-width: none; grid-column: 2; grid-row: 1; align-self: center; justify-self: stretch;
    padding: .35rem 0; text-align: left;
  }
  .page--home .process-roadmap__content h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.035em; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal]::before,
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal]::after {
    top: var(--mobile-roadmap-top, 1.375rem); bottom: auto;
    height: var(--mobile-roadmap-height, calc(100% - 2.75rem));
  }
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal]::after {
    transform: scaleY(var(--mobile-roadmap-progress, 0)); transition: none;
  }
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal] .process-roadmap__content {
    opacity: calc(.68 + var(--mobile-step-progress, 0) * .32);
    transform: translate3d(calc((1 - var(--mobile-step-progress, 0)) * 16px), calc((1 - var(--mobile-step-progress, 0)) * 6px), 0);
    transition: none;
  }
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal] .process-roadmap__node {
    border-color: #a6b3dc; background: var(--brand-soft); color: var(--brand-blue);
    transform: scale(calc(.92 + var(--mobile-step-progress, 0) * .08));
    box-shadow: 0 0 0 0 #425fc700;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
    transition-delay: 0ms;
  }
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal] .is-reached .process-roadmap__node {
    border-color: var(--brand-blue); background: var(--brand-gradient); color: #fff;
  }
  html.js:where(.has-reveal-controller) .page--home .is-mobile-roadmap .process-roadmap[data-reveal] .is-current .process-roadmap__node { box-shadow: 0 0 0 5px #425fc720; }
  .page--home .is-mobile-roadmap .process-roadmap__content h3 { transition: color 180ms ease; }
  .page--home .is-mobile-roadmap .is-current .process-roadmap__content h3 { color: var(--brand-blue); }
}

/* service-cartoons.css */
/* Decorative service illustrations; the existing scroll and swipe behavior stays in site.js. */
.page--home .section--services .service-frame.service-frame--illustrated {
  --color-text: #19213b;
  --color-text-dark: #19213b;
  --color-muted: #53607a;
  --color-muted-strong: #45516a;
  --color-line: #ccd1e4;
  background: #f8f5ef;
  color: #19213b;
}

.page--home .section--services .service-frame__art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 78%;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 90%);
}

.page--home .section--services .service-frame.service-frame--illustrated h3,
.page--home .section--services .service-frame.service-frame--illustrated .service-frame__offers li {
  color: #19213b;
}

.page--home .section--services .service-frame.service-frame--illustrated .service-frame__details a {
  color: #304796;
}

.page--home .section--services .service-frame--illustrated .service-frame__offer-block {
  width: 100%;
}

/* Normal-flow cards reserve a separate illustration area, including reduced motion. */
.page--home .section--services:not(.is-cinematic-ready) .service-frame.service-frame--illustrated {
  --service-art-height: clamp(11rem, 24vw, 15rem);
  padding-top: calc(var(--service-art-height) + 1rem);
}

.page--home .section--services:not(.is-cinematic-ready) .service-frame__art {
  height: var(--service-art-height);
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

@media (max-width: 1099px) {
  .page--home .section--services:not(.is-cinematic-ready) .service-frame.service-frame--illustrated {
    --service-art-height: clamp(10rem, 48vw, 13rem);
  }
}

/* creator-hero.css */
@font-face {
  font-family: "TFA Condensed";
  src: url("../fonts/barlow-condensed-800.woff2") format("woff2"),
       url("../fonts/barlow-condensed-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "TFA Marker";
  src: url("../fonts/permanent-marker.woff2") format("woff2"),
       url("../fonts/permanent-marker.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* A contained stage: decorative motion never intercepts a scroll or a tap. */
.creator-hero {
  --hero-ink: #100e1c;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: calc(100svh - 36px);
  margin: 12px 12px 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--hero-ink);
  color: #fffaf5;
}
.creator-hero__light {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 57% 43%, #8356ed36, transparent 39%),
    radial-gradient(ellipse at 28% 90%, #2369ff38, transparent 45%),
    radial-gradient(ellipse at 82% 96%, #923be342, transparent 42%);
}
.creator-hero__light::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 1px;
  bottom: 0;
  left: 20%;
  box-shadow: 0 -35px 130px 34px #7f67ff35;
  background: linear-gradient(90deg, transparent, #a290ef, transparent);
}
.creator-hero__copy {
  position: relative;
  z-index: 2;
  width: min(900px, 74%);
  padding: 188px 0 136px;
  text-align: center;
  container-type: inline-size;
  /* The empty tile lanes are padding, not an invisible interaction overlay. */
  pointer-events: none;
}
.creator-hero__copy > * { pointer-events: auto; }
.page--home .creator-hero__title {
  margin: 0;
  color: #fffaf5;
  font: 800 clamp(58px, 6.3vw, 102px)/1.05 "TFA Condensed", Impact, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.creator-hero__title > span { display: block; }
.creator-hero__line { white-space: nowrap; }
.creator-hero__line + .creator-hero__line { margin-top: .08em; }
.creator-hero__title .creator-hero__script {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-block: .07em .12em;
  color: #d4c3ff;
  font: 400 .95em/1 "TFA Marker", cursive;
  letter-spacing: -.065em;
  transform: rotate(-5deg);
  text-shadow: 0 4px 32px #9675ff32;
  white-space: nowrap;
}
.creator-hero__description {
  margin: 30px auto 22px;
  max-width: 490px;
  color: #cec8d9;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.creator-hero__actions { display: grid; justify-items: center; gap: 12px; }
.page .creator-hero .creator-hero__cta {
  display: inline-flex;
  justify-content: center;
  min-height: 54px;
  padding: 15px 30px;
  border: 1px solid #e5d9ff;
  border-radius: 12px;
  background: #dfd1ff;
  box-shadow: 0 5px 34px #a485ed18;
  color: #241a39;
  font-size: 15px;
  font-weight: 650;
}
.page .creator-hero .creator-hero__cta:hover { background: #f0e8ff; transform: translateY(-2px); }
.creator-hero__projects {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #ded7e8;
  font-size: 14px;
}
.creator-hero__projects:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.creator-hero :is(a, button):focus-visible { outline: 2px solid #e5d9ff; outline-offset: 5px; }
.creator-hero__discover {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 3px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 56px;
  padding: 8px 18px;
  border: 1px solid #d4c3ff70;
  border-radius: 14px;
  background: #1b152b;
  color: #f5efff;
  text-align: center;
  text-decoration: none;
}
.creator-hero__discover-label { font-size: 15px; font-weight: 650; line-height: 1.4; }
.creator-hero__discover-label > span { display: inline-block; margin-left: 6px; }
.creator-hero__discover-help { color: #d3c9e2; font-size: 12px; line-height: 1.5; }
.creator-hero__discover:hover { background: #302341; border-color: #d4c3ff; }
#entdecken { scroll-margin-top: var(--header-height); }

/* Keep the invitation in the first screen on short laptops and phones. */
@media (min-width: 961px) and (max-height: 800px) {
  .creator-hero__copy { padding-block: 120px 112px; }
}
.creator-hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.hero-tile { position: absolute; width: var(--tile-width, 195px); transform: none; }
.hero-tile__float { transform: rotate(var(--tile-rotation, 0deg)); }
.hero-tile__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #ffffff28;
  border-radius: 22%;
  background: #262137;
  box-shadow: 0 20px 60px #02010b55, inset 0 0 0 1px #ffffff0a;
}
.hero-tile__frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile__caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: 28px 15px 16px;
  background: linear-gradient(transparent, #090912c9);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hero-tile__caption > span { margin-top: 3px; color: #e3deeb; font-size: 8px; font-weight: 400; letter-spacing: .035em; }
.hero-tile--aesthetics { --tile-width: clamp(160px, 16vw, 250px); --tile-rotation: -12deg; top: 23%; left: -1.3%; }
.hero-tile--aesthetics img { object-position: 48% 50%; }
.hero-tile--raumwerk { --tile-width: clamp(112px, 12vw, 180px); --tile-rotation: 14deg; top: 11%; right: 15%; }
.hero-tile--hair { --tile-width: clamp(165px, 16vw, 250px); --tile-rotation: 12deg; right: -1.4%; top: 47%; }
.hero-tile--hair img { object-position: 28% center; }
.hero-tile--chat { --tile-width: clamp(158px, 15vw, 226px); --tile-rotation: 9deg; bottom: 12%; left: 10%; }
.hero-chat { display: flex; flex-direction: column; gap: 11px; padding: 24px 18px; background: linear-gradient(135deg, #452e72, #201b3e); border-radius: 22px; }
.hero-chat__label { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; }
.hero-chat__label > i { width: 6px; height: 6px; border-radius: 50%; background: #b9dacf; }
.hero-chat__bubble { align-self: flex-end; padding: 10px 12px; border-radius: 12px 12px 2px 12px; background: #ffffff12; font-size: 10px; white-space: nowrap; }
.hero-chat__bubble--reply { align-self: flex-start; display: flex; gap: 9px; background: #d8c9f7; color: #2f2244; border-radius: 12px 12px 12px 2px; }
.hero-chat__dots { display: flex; gap: 4px; padding: 4px 8px; }
.hero-chat__dots i { width: 4px; height: 4px; border-radius: 50%; background: #dbcdff; }
.hero-tile--brand { --tile-width: clamp(100px, 10vw, 155px); --tile-rotation: -19deg; top: 12%; left: 23%; }
.hero-brand { display: flex; align-items: center; justify-content: center; flex-direction: column; background: #c6b8f4; color: #39285e; }
.hero-brand > img { width: 66%; height: auto; object-fit: contain; filter: brightness(0); opacity: .77; }
.hero-tile--spark { --tile-width: clamp(92px, 10vw, 140px); --tile-rotation: 37deg; bottom: 9%; right: 21%; }
.hero-spark { display: grid; place-items: center; background: linear-gradient(135deg, #275bdd, #9552d1); border-color: #cbb1ff50; }
.hero-spark > span { font-size: 110px; font-weight: 400; line-height: 1; color: #e4c9ff; text-shadow: 3px 5px 0 #6b3eb1; }
/* The existing navigation keeps its menu behavior and becomes light on this stage. */
.page--home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; box-shadow: none; color: #f5efff; }
/* Logo with light lettering on the dark stage; the coloured mark stays intact. */
.page--home .site-header .brand__logo--on-dark { display: none; }
.page--home .site-header:not(.is-scrolled) .brand__logo--wordmark:not(.brand__logo--on-dark) { display: none; }
.page--home .site-header:not(.is-scrolled) .brand__logo--on-dark { display: block; }
.page--home .site-header:not(.is-scrolled) .desktop-nav { padding: 3px 18px; border: 1px solid #ffffff20; border-radius: 30px; background: #ffffff05; }
.page--home .site-header:not(.is-scrolled) .desktop-nav a { color: #d3ccdf; }
.page--home .site-header:not(.is-scrolled) .desktop-nav a[aria-current="page"] { color: #fff; }
.page--home .site-header:not(.is-scrolled) .desktop-nav a::after { background: #cbb6ff; }
.page--home .site-header:not(.is-scrolled) .text-link--header { color: #d3ccdf; }
.page--home .site-header:not(.is-scrolled) .button { border-color: #ffffff30; background: #ffffff09; color: #f5efff; box-shadow: none; }
.page--home .site-header:not(.is-scrolled) .mobile-menu__trigger { color: #f5efff; }
.page--home .site-header:not(.is-scrolled) .mobile-menu__icon i { background: #f5efff; }
.page--home .site-header:not(.is-scrolled) .mobile-menu__panel { color: var(--brand-ink); }
.page--home .site-header:not(.is-scrolled) .mobile-menu__panel .button { color: #fff; background: var(--brand-blue); }

@media (min-width: 961px) and (max-width: 1180px) {
  .page--home .site-header__inner { gap: 18px; }
  .page--home .site-header:not(.is-scrolled) .desktop-nav { padding-inline: 12px; gap: 14px; }
}
@media (max-width: 960px) {
  .creator-hero { min-height: calc(100svh - 32px); margin: 8px 8px 0; border-radius: 20px; }
  .creator-hero__copy {
    width: min(720px, calc(100% - 88px));
    padding: clamp(180px, 24svh, 240px) 0 clamp(170px, 22svh, 220px);
  }
  .page--home .creator-hero__title {
    font-size: clamp(32px, 6.8vw, 68px);
    font-size: clamp(2rem, 9.4cqi, 4.25rem);
    line-height: 1.1;
  }
  .creator-hero__title > .creator-hero__line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: .15em;
    white-space: normal;
  }
  .creator-hero__rest { max-width: 100%; white-space: normal; text-wrap: balance; }
  .hero-tile--aesthetics { --tile-width: 145px; top: 16%; left: -6%; }
  .hero-tile--raumwerk { --tile-width: 118px; top: 10%; right: 6%; }
  .hero-tile--hair { --tile-width: 156px; top: auto; bottom: 17%; right: -7%; }
  .hero-tile--chat { --tile-width: 164px; bottom: 10%; left: 2%; }
  .hero-tile--brand { --tile-width: 95px; top: 9%; left: 27%; }
  .hero-tile--spark { --tile-width: 86px; right: 23%; bottom: 6%; }
  .hero-spark > span { font-size: 80px; }
}
@media (max-width: 600px) {
  /* Scale to the actual content width, leaving room for the orbit and browser chrome. */
  .creator-hero__copy {
    width: 100%;
    padding: clamp(170px, 24svh, 210px) clamp(20px, 5vw, 30px) clamp(150px, 20svh, 180px);
  }
  .page--home .creator-hero__title {
    font-size: clamp(28px, 10.2vw, 52px);
    font-size: clamp(1.75rem, 12cqi, 3.25rem);
  }
  .creator-hero__line + .creator-hero__line { margin-top: .3em; }
  .creator-hero__title .creator-hero__script { font-size: .95em; padding-block: .06em .1em; }
  .creator-hero__description { max-width: 340px; margin: 24px auto 20px; font-size: clamp(14px, 3.6vw, 16px); line-height: 1.6; text-wrap: balance; }
  .page .creator-hero .creator-hero__cta { min-height: 52px; padding: 14px 26px; font-size: 14px; }
  .creator-hero__actions { gap: 4px; }
  .creator-hero__projects { font-size: 13px; }
  .hero-tile--aesthetics { --tile-width: 112px; --tile-rotation: -13deg; top: 76px; left: -20px; }
  .hero-tile--raumwerk { --tile-width: 102px; --tile-rotation: 15deg; top: 83px; right: -9px; }
  .hero-tile--brand { --tile-width: 67px; --tile-rotation: -13deg; top: 73px; left: calc(50% - 36px); }
  .hero-tile--hair { --tile-width: 112px; --tile-rotation: 12deg; top: auto; bottom: 66px; right: -14px; }
  .hero-tile--chat { --tile-width: 127px; --tile-rotation: -10deg; bottom: 46px; left: -16px; }
  .hero-chat { padding: 16px 10px; gap: 7px; border-radius: 20px; }
  .hero-chat__label { font-size: 8px; gap: 5px; }
  .hero-chat__bubble { padding: 7px; font-size: 7px; }
  .hero-tile--spark { --tile-width: 58px; bottom: 75px; right: calc(50% - 28px); }
  .hero-spark > span { font-size: 54px; }
  .hero-tile__caption { padding: 22px 12px 12px; font-size: 10px; }
  .hero-tile__caption > span { font-size: 6px; }
}
@media (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  .creator-hero__copy {
    width: min(680px, calc(100% - 88px));
    padding: 84px 0 92px;
  }
  .page--home .creator-hero__title {
    font-size: clamp(24px, 6svh, 32px);
  }
  .creator-hero__description { margin: 10px auto; font-size: 13px; }
  .creator-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  .page .creator-hero .creator-hero__cta { min-height: 44px; padding: 10px 22px; font-size: 13px; }
}
@media (max-width: 600px) and (max-height: 740px) {
  .creator-hero__copy { padding-top: 100px; padding-bottom: 104px; }
  .creator-hero__description { margin-top: 16px; margin-bottom: 16px; }
}
/* The headline is visible immediately. JS starts the tiles after a short beat.
   Without JS or with reduced motion, the original static arrangement remains. */
@media (prefers-reduced-motion: no-preference) {
  .creator-hero:is(.is-orbit-initializing, .is-orbit-ready) .hero-tile,
  html.hero-orbit-pending .creator-hero .hero-tile { opacity: 0; }
  .creator-hero.is-orbit-ready .creator-hero__orbit {
    clip-path: inset(calc(var(--header-height) + 4px) 0 56px);
  }
  .creator-hero.is-orbit-ready .hero-tile {
    inset: 0 auto auto 0;
    will-change: transform, opacity;
  }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .creator-hero.is-orbit-ready .creator-hero__orbit {
    clip-path: inset(calc(var(--header-height) + 4px) 0 12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .creator-hero *, .creator-hero *::after { animation: none !important; transition: none !important; }
  .hero-tile { transform: none; }
}

/* Inhaber im Hero: Name sichtbar neben einem kleinen Porträt. */
.creator-hero__byline { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 22px; color: #d3ccdf; font-size: 15px; line-height: 1.35; }
.creator-hero__byline img { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #ffffff38; }
.creator-hero__byline strong { color: #ffffff; font-weight: 700; }
@media (max-width: 560px) { .creator-hero__byline { max-width: 330px; margin: 6px auto 16px; font-size: 13.5px; text-align: left; } .creator-hero__byline img { width: 36px; height: 36px; } }
.creator-hero__byline a { color: inherit; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; }
.creator-hero__byline a:hover, .creator-hero__byline a:focus-visible { text-decoration-color: #ffffff; }

/* team-portraits.css */
/* Keep the original photos intact; frame each portrait inside its existing card. */
.person-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  container-type: size;
}

.person-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

/* The face sits left of centre in the square source. Anchor it consistently,
   while covering both narrow contact cards and wide team cards. */
.person-photo.person-photo--asem > img {
  position: absolute;
  inset: auto;
  left: 50%;
  top: var(--portrait-eye-level, 44%);
  width: 270%;
  width: max(270cqw, 185cqh);
  max-width: none;
  height: auto;
  transform: translate(-36.5%, -44%);
}

.contact-person__portrait .person-photo--asem { --portrait-eye-level: 36%; }
.contact-person__portrait .person-photo--asem > img { width: max(310cqw, 270cqh); }
/* The sharper Tim portrait has less headroom. Keep the hair visible in wide
   cards as well as circular avatars without changing the source photograph. */
.person-photo > img.portrait-image--tim,
.contact-person__portrait > img.portrait-image--tim,
.editorial-person--tim .editorial-person__portrait img,
.team-bio__avatar.portrait-image--tim { object-position: 50% 0%; }

.team-bio__avatar--photo {
  position: relative;
  overflow: hidden;
}

.person-photo.person-photo--avatar > img {
  top: 50%;
  width: 365%;
}

.page--home .team-preview__portraits .portrait-placeholder--photo {
  justify-content: flex-start;
  padding: 0;
  background: #19253b;
}

.portrait-placeholder--photo .person-photo--asem { --portrait-eye-level: 34%; }

.page--home .team-preview__portraits .portrait-placeholder--photo::before,
.page--home .team-preview__portraits .portrait-placeholder--photo::after {
  content: none;
}

/* Give the caption its own space, including during the desktop card animation. */
.page--home .team-preview__portraits .portrait-placeholder--photo > .person-photo {
  position: relative;
  inset: auto;
  z-index: 0;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.page--home .team-preview__portraits .portrait-placeholder--photo > p {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  max-width: none;
  margin: 0;
  padding: .875rem 1rem;
  border-top: 1px solid #ffffff1f;
  background: #111a2a;
  color: #f4f0ff;
  font-family: var(--font-sans);
  font-size: clamp(.875rem, 1.35vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  text-shadow: none;
  text-wrap: balance;
}

/* Centre the actual cards as one group. Anchoring smaller portrait cards to
   opposite corners of a large stage made their gap grow with viewport size. */
html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__portraits[data-reveal],
html.js:where(.has-reveal-controller) .page--home .section--team-preview.is-cinematic-team .team-preview__portraits[data-reveal].is-visible {
  --team-portrait-gap: clamp(1rem, 1.4vw, 1.5rem);
  top: calc(50% + var(--header-height) / 2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--team-portrait-gap);
  width: min(44vw, 45rem, calc(68svh + var(--team-portrait-gap)));
  height: auto;
  min-width: 0;
}

.page--home .section--team-preview.is-cinematic-team .team-preview__portraits .portrait-placeholder--photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.page--home .section--team-preview.is-cinematic-team .team-preview__portraits .portrait-placeholder--photo:first-child {
  transform: translate3d(0, var(--team-card-one-y, 12px), 0) rotate(var(--team-card-one-rotation, -1.5deg));
}
.page--home .section--team-preview.is-cinematic-team .team-preview__portraits .portrait-placeholder--photo.portrait-placeholder--offset {
  transform: translate3d(0, var(--team-card-two-y, -12px), 0) rotate(var(--team-card-two-rotation, 1.5deg));
}
.page--home .section--team-preview.is-cinematic-team .portrait-placeholder--photo > .person-photo {
  flex: none;
  aspect-ratio: 4 / 5;
}

.studio-people__portraits {
  display: flex;
  flex: 0 0 5rem;
  align-self: flex-start;
  padding-top: .15rem;
}

.studio-people__avatar {
  position: relative;
  flex: 0 0 3rem;
  height: 3rem;
  overflow: hidden;
  border: 2px solid #fffdf9;
  border-radius: 50%;
  background: #19253b;
}

.studio-people__avatar + .studio-people__avatar { margin-left: -1rem; }
.studio-people > div { min-width: 0; }

@media (max-width: 680px) {
  .page--home .team-preview__portraits .portrait-placeholder--photo > p {
    min-height: 4.25rem;
    padding: .75rem;
    font-size: clamp(.8125rem, 3.5vw, 1rem);
  }
}

/* project-gallery.css */
.project-gallery-hero .leistungen-story__intro-inner {
  opacity: var(--gallery-title-opacity, 1);
  transform: translate3d(0, var(--gallery-title-y, 0rem), 0) scale(var(--gallery-title-scale, 1));
}

.project-gallery {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(5rem, 9vw, 9rem);
  background: #f2f3fa;
  border-top: 1px solid #cdd5ed80;
}

.project-gallery [id] { scroll-margin-top: calc(var(--header-height) + 2rem); }

.project-gallery__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.project-gallery__heading h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 550;
  letter-spacing: -.035em;
}

.project-gallery__heading > p { margin: 0; color: #626e86; font-size: .85rem; white-space: nowrap; }
.project-gallery__list { list-style: none; padding: 0; margin: 0; }
.project-gallery__list > li + li { margin-top: clamp(3.5rem, 7vw, 7rem); }

.website-entry {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid #b4bfd780;
}

.website-entry__number {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  color: #74809a;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.website-entry__category { margin: 0 0 .8rem; color: #626e86; font-size: .8rem; }
.website-entry h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.1vw, 4.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.website-entry__description { max-width: 29rem; margin: 1.5rem 0; color: #53607a; font-size: 1rem; line-height: 1.65; }
.website-entry__scope { margin: 0; color: #626e86; font-size: .8rem; line-height: 1.6; }
.website-entry__status { display: inline-block; margin: 1.25rem 0 0; padding: .35rem .7rem; border: 1px solid #b8c3de; border-radius: 99rem; color: #53607a; font-size: .72rem; }

.website-preview {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid #fff;
  border-radius: clamp(.9rem, 1.5vw, 1.4rem);
  background: #fff;
  color: #19213b;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 1.8rem 4rem -1.5rem #25274535;
  transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
}

.website-preview__bar {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.2rem;
  background: #fffcf6;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
}

.website-preview__bar > span:last-child { color: #74809a; }
.website-preview__screen { display: block; overflow: hidden; background: #141414; }
.website-preview__screen img { display: block; width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.website-preview__action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.7rem; padding: 1rem 1.2rem; font-size: .85rem; font-weight: 550; }
.website-preview__action span { font-size: 1.25rem; color: #425fc7; }
.website-preview:focus-visible { transform: translateY(-.4rem); box-shadow: 0 2.3rem 4.5rem -1.5rem #25274550; }
.website-preview:focus-visible img { transform: scale(1.025); }
@media (hover: hover) and (pointer: fine) {
  .website-preview:hover { transform: translateY(-.4rem); box-shadow: 0 2.3rem 4.5rem -1.5rem #25274550; }
  .website-preview:hover img { transform: scale(1.025); }
}

.project-preview-dialog {
  width: min(94vw, 86rem);
  height: 90svh;
  max-width: none;
  max-height: 90svh;
  padding: 0;
  border: 1px solid #cdd5ed;
  border-radius: 1rem;
  background: #f7f2e9;
  color: #19213b;
  box-shadow: 0 2rem 6rem #0006;
  overscroll-behavior: contain;
}

.project-preview-dialog::backdrop { background: #090d20c9; backdrop-filter: blur(8px); }
.project-preview-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.project-preview-dialog [hidden] { display: none !important; }
.project-preview-dialog__content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.project-preview-dialog__frame { display: block; width: 100%; height: 100%; border: 0; background: #211f1c; }
.project-preview-dialog__status { padding: 2rem 1.25rem; margin: 0; color: #626e86; }
.project-preview-dialog__bar { position: sticky; z-index: 1; top: 0; display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; border-bottom: 1px solid #cdd5ed; background: #f7f2e9; }
.project-preview-dialog__bar p { margin: 0; font-size: .75rem; color: #626e86; }
.project-preview-dialog h2 { margin: 0; font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; letter-spacing: -.03em; }
.project-preview-dialog form { margin: 0; }
.project-preview-dialog button { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .6rem .8rem; border: 1px solid #b8c3de; border-radius: 99rem; background: transparent; font-size: .85rem; }
.project-preview-dialog button span { font-size: 1.3rem; line-height: 1; }
.project-preview-dialog__image { display: block; width: 100%; height: auto; }
.project-preview-dialog__error { padding: 1.5rem; margin: 0; }

/* Homepage and gallery share the same interactive preview and availability state. */
.project-case__preview { display: block; text-decoration: none; }
.project-case__preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.project-case__preview:focus-visible { outline: 3px solid #aab8ff; outline-offset: -4px; }
.project-case__hint { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 1.25rem; padding: .7rem 1rem; border: 1px solid #ffffff40; border-radius: 999px; background: #111827e6; color: #fff; font: 500 .8125rem/1.4 var(--font-sans); }
.project-case__hint > span { font-size: 1.2rem; }
.project-visual--locked { display: grid; place-items: center; background: radial-gradient(ellipse at 25% 20%, #45468155, transparent 65%), #171d2b; }
.project-visual--locked-alt { background: radial-gradient(ellipse at 75% 80%, #4a386a66, transparent 65%), #171d2b; }
.project-lock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; color: #f2f3fb; font: 500 clamp(1.05rem, 2vw, 1.4rem)/1.4 var(--font-sans); letter-spacing: .015em; }
.project-lock > svg { display: block; width: 3rem; height: 3rem; }
.project-visual--locked .project-lock { width: 7rem; height: 7rem; border: 1px solid #bdc7ef30; border-radius: 50%; background: #ffffff04; }
.website-preview--locked { cursor: default; transition: none; }
.website-preview--locked .website-preview__screen { position: relative; background: #111621; }
.website-preview--locked .website-preview__screen img { filter: blur(6px); opacity: .3; transform: scale(1.05); transition: none; }
.website-preview--locked .project-lock { position: absolute; inset: 0; padding: 1.5rem; }
.website-preview--locked .website-preview__action { color: #626e86; }
.website-preview--locked:hover { transform: none; box-shadow: 0 1.8rem 4rem -1.5rem #25274535; }

@media (max-width: 820px) {
  .project-gallery { padding-block: 2.5rem 4.5rem; }
  .project-gallery__heading { align-items: flex-start; gap: 1rem; }
  .project-gallery__heading h2 { font-size: clamp(1.15rem, 4.8vw, 1.5rem); line-height: 1.3; }
  .project-gallery__heading > p { font-size: .75rem; }
  .website-entry { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .website-entry__number { margin-bottom: 1.25rem; }
  .website-entry h3 { font-size: clamp(1.95rem, 8vw, 3.5rem); }
  .website-entry__description { margin-block: 1rem; }
  .website-entry__status { margin-top: .8rem; }
  .website-preview__bar { min-height: 2.3rem; padding: .6rem 1rem; font-size: .625rem; }
  .website-preview__action { min-height: 3.5rem; padding: .85rem 1rem; font-size: .875rem; }
  .website-preview { box-shadow: 0 1.2rem 2.5rem -1.3rem #25274535; }
  .project-preview-dialog { width: 96vw; height: 94svh; max-height: 94svh; }
  .project-preview-dialog__bar { align-items: center; padding: .7rem .8rem; }
  .project-preview-dialog__bar > div { min-width: 0; }
  .project-preview-dialog__bar form { flex-shrink: 0; }
  .project-preview-dialog h2 { font-size: .95rem; }
  .project-preview-dialog button { padding: .5rem .6rem; font-size: .75rem; }
}

@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .website-preview { transition: transform 180ms ease; }
  .website-preview:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-hero .leistungen-story__intro-inner { opacity: 1; transform: none; }
  .website-preview, .website-preview__screen img { transition: none; }
  .website-preview:hover, .website-preview:focus-visible,
  .website-preview:hover img, .website-preview:focus-visible img { transform: none; }
}

/* hero-chromatic.css */
/* The light wake is contained behind the new hero's typography and tiles. */
.creator-hero {
  --chromatic-x: 50%;
  --chromatic-shift-x: 0px;
  --chromatic-shift-y: 0px;
}
.hero-chromatic { overflow: clip; }
.hero-chromatic__wash {
  position: absolute;
  inset: -7%;
  background:
    radial-gradient(ellipse 28% 33% at 77% 36%, #8773e424, transparent 100%),
    radial-gradient(ellipse 30% 24% at 32% 58%, #5fa4e91a, transparent 100%),
    radial-gradient(ellipse 24% 28% at 91% 76%, #bc80db22, transparent 100%);
  transform: translate3d(var(--chromatic-shift-x), var(--chromatic-shift-y), 0);
}
.hero-chromatic__trail {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.creator-hero__title .creator-hero__script {
  color: #d4c3ff;
  background-image: linear-gradient(110deg, #aecfff, #d4c3ff 35%, #e0b8f2 65%, #aecfff);
  background-size: 190% 100%;
  background-position: var(--chromatic-x) 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Native image cursors retain exact OS positioning, with no following DOM layer. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  body.page--home { cursor: url('../cursors/tfa-arrow.svg') 5 4, auto; }
  .page--home :is(a, button, summary, label, [role="button"], input[type="radio"], input[type="checkbox"]) {
    cursor: url('../cursors/tfa-arrow-link.svg') 5 4, pointer;
  }
  .page--home :is(button:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
  .page--home :is(textarea, [contenteditable="true"]),
  .page--home input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]) { cursor: text; }
  .page--home :is(select, iframe, video) { cursor: auto; }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero-chromatic__trail { display: none; }
  .hero-chromatic__wash { transform: none; }
}
@media (forced-colors: active) {
  .hero-chromatic { display: none; }
  .creator-hero__title .creator-hero__script {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

/* hero-projects.css */
/* Project labels travel with the tiles; their details escape the clipped orbit. */
.creator-hero { overflow: clip; }
.hero-tile__content {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  user-select: none;
  text-align: center;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hero-tile__visual, .hero-tile__frame { display: block; }
.hero-tile__visual img { -webkit-user-drag: none; }
.hero-tile__content .hero-chat { display: flex; text-align: left; }
.hero-tile__content .hero-brand { display: flex; }
.hero-tile__content .hero-spark { display: grid; }
.hero-tile__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 11px;
  margin: 10px auto 0;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 80%, white);
  border-radius: 30px;
  background: var(--tile-accent, #d4c3ff);
  color: #171324;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 5px 18px #0004;
  transition: background 160ms ease, border-color 160ms ease;
}
.is-project-active .hero-tile__label {
  background: color-mix(in srgb, var(--tile-accent, #d4c3ff) 78%, white);
  border-color: #ffffffa6;
}
.is-project-active .hero-tile__frame {
  border-color: var(--tile-accent, #d4c3ff);
  box-shadow: 0 12px 36px #0005, 0 0 24px color-mix(in srgb, var(--tile-accent) 16%, transparent);
}
.creator-hero .hero-tile__content:focus-visible { outline: none; }
.hero-tile__content:focus-visible .hero-tile__frame { outline: 3px solid var(--tile-accent); outline-offset: 4px; }
.hero-tile--soran { --tile-width: clamp(165px, 15vw, 220px); --tile-rotation: -7deg; left: 3%; top: 51%; }
.hero-soran { display: grid !important; place-items: center; background: #100e0b; border-color: #b0864d60; }
.hero-soran > img { width: 88%; height: 88%; object-fit: contain; }
.hero-tile.is-keyboard-focus {
  z-index: 4;
  inset: 0 auto auto 0 !important;
  opacity: 1 !important;
  transform: translate3d(var(--project-focus-x), var(--project-focus-y), 0) !important;
}
.creator-hero.is-project-keyboard .creator-hero__orbit { z-index: 4; }

.hero-tile-tooltip {
  position: fixed;
  z-index: 1050;
  width: 288px;
  max-width: calc(100vw - 32px);
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--tile-accent, #c9b8f3) 45%, transparent);
  border-radius: 13px;
  background: #1d172afa;
  box-shadow: 0 14px 38px #0005;
  color: #f9f4ff;
  pointer-events: none;
  font: 400 13px/1.6 var(--font-sans);
}
.hero-tile-tooltip p { margin: 0; }
.hero-tile-tooltip .hero-tile-tooltip__title { margin-bottom: 12px; color: #fffaf5; font-size: 14px; font-weight: 650; line-height: 1.3; }
.hero-tile-tooltip .hero-tile-tooltip__detail { color: #e6deed; }
.hero-tile-tooltip .hero-tile-tooltip__detail + .hero-tile-tooltip__detail { margin-top: 10px; }
.hero-tile-tooltip mark { position: relative; isolation: isolate; display: inline-block; padding: 0 .2em; margin-inline: .03em; background: none; color: #21182c; font-weight: 700; line-height: 1.45; }
.hero-tile-tooltip mark::before { content: ''; position: absolute; z-index: -1; inset: .07em -.05em .01em; background: var(--tile-accent, #dec3ff); transform: rotate(-1.5deg); clip-path: polygon(1% 8%, 98% 0, 100% 86%, 3% 100%, 0 71%); }
.hero-tile-tooltip__detail:nth-of-type(3) mark::before { transform: rotate(.8deg); background: #bbd9bb; }
.hero-tile-tooltip[hidden] { display: none; }

@media (max-width: 960px) {
  .hero-tile--soran { --tile-width: 140px; left: 7%; top: 35%; }
}
@media (max-width: 600px) {
  .hero-tile--soran { --tile-width: 112px; left: -15px; top: 36%; }
  .hero-tile__label { gap: 5px; min-height: 26px; margin-top: 7px; padding: 5px 8px; font-size: 10px; }
  .hero-tile--brand, .hero-tile--spark { --tile-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tile__label { transition: none; }
}
/* Static fallback at every width: the new, larger tiles must not fall back to
   the old absolute positions, where they cover the headline and each other. */
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) .creator-hero__copy {
  order: 0;
  width: 100%;
  padding: 112px 20px 24px;
}
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) .creator-hero__discover {
  position: relative;
  inset: auto;
  order: 0;
  flex-shrink: 0;
  transform: none;
  margin-bottom: 16px;
}
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) .creator-hero__orbit {
  position: relative;
  inset: auto;
  order: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  padding: 24px 24px 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
  touch-action: auto;
  pointer-events: auto;
  clip-path: none;
}
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) .hero-tile {
  position: relative;
  inset: auto !important;
  flex: 0 0 var(--tile-width);
  scroll-snap-align: start;
  opacity: 1 !important;
  transform: none !important;
}
html:not(.hero-orbit-pending) .creator-hero:not(.is-orbit-ready):not(.is-orbit-initializing) .hero-tile__float { transform: none; }
@media (forced-colors: active) {
  .hero-tile__label, .hero-tile-tooltip { border: 1px solid CanvasText; }
}

/* hero-tile-art.css */
/* Four small, independent art directions. Labels retain their existing sizing. */
.hero-tile--raumwerk { --tile-width: clamp(144px, 13vw, 190px); --tile-rotation: 10deg; }
.hero-tile--brand { --tile-width: clamp(145px, 13vw, 188px); --tile-rotation: -12deg; }
.hero-tile--spark { --tile-width: clamp(140px, 12.5vw, 180px); --tile-rotation: 9deg; }
.hero-tile--chat { --tile-width: clamp(190px, 17vw, 242px); --tile-rotation: -7deg; }
.tile-room, .tile-brand, .tile-social, .chat-scene { container-type: inline-size; text-align: left; }

.tile-room { background: #d7cbb4; }
.tile-room > img { object-position: 50% 58%; }
.tile-room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#251c185c, transparent 45%, #251c1854); }
.tile-room__wordmark { position: absolute; z-index: 1; left: 12%; top: 13%; color: #fff9ea; font: 500 12cqw/.95 Georgia, serif; letter-spacing: -.06em; }
.tile-room__wordmark > span { display: block; margin-top: 7%; font: 500 4.8cqw/1.4 var(--font-sans); letter-spacing: -.02em; }
.tile-room__index { position: absolute; z-index: 1; left: 12%; bottom: 10%; color: #fff9ea; font: 500 4cqw/1 var(--font-sans); letter-spacing: .12em; }

.tile-brand { background: #edd7bd; }
.tile-brand > img { object-fit: cover; object-position: 50% 50%; }

.tile-social { background: #f7e8a8; color: #822f24; }
.tile-social > img { object-fit: cover; }
.tile-social__headline { position: absolute; top: 9%; left: 11%; font: 800 16cqw/.86 "TFA Condensed", Impact, sans-serif; letter-spacing: -.035em; }
.tile-social__signature { position: absolute; left: 12%; bottom: 8%; font: 750 4.5cqw/1 var(--font-sans); letter-spacing: .13em; }

.chat-scene { background: #f7f3ff; border-color: #e5d9ff; border-radius: 20%; color: #382651; }
.chat-scene__header { position: absolute; inset: 0 0 auto; height: 27%; display: flex; align-items: center; gap: 5cqw; padding: 0 10%; border-bottom: 1px solid #dfd5ed; font: 700 6.2cqw/1.1 var(--font-sans); }
.chat-scene__header small { display: flex; align-items: center; gap: 2cqw; margin-top: 2cqw; font-size: 3.9cqw; font-weight: 500; color: #82748f; }
.chat-scene__header small i { width: 2.2cqw; height: 2.2cqw; background: #64a282; border-radius: 50%; }
.chat-scene__avatar { display: flex; align-items: center; justify-content: center; gap: 2.7cqw; width: 14cqw; height: 14cqw; flex-shrink: 0; border-radius: 5cqw; background: #7c56cc; box-shadow: inset 0 -2cqw 3cqw #59399f35; }
.chat-scene__avatar i { width: 2.3cqw; height: 3.5cqw; border-radius: 2cqw; background: #fff5ef; }
.chat-scene__conversation { position: absolute; inset: 32% 9% 17%; }
.chat-scene__message { position: absolute; max-width: 87%; padding: 6% 8%; font: 500 6cqw/1.32 var(--font-sans); letter-spacing: -.015em; }
.chat-scene__message--question { top: 0; right: 0; background: #7854c8; color: #fff; border-radius: 6cqw 6cqw 1.5cqw 6cqw; animation: chat-question 10s ease infinite; }
.chat-scene__message--answer { top: 53%; left: 0; background: #e7dff2; color: #382651; border-radius: 6cqw 6cqw 6cqw 1.5cqw; animation: chat-answer 10s ease infinite; }
.chat-scene__typing { position: absolute; top: 55%; left: 0; display: flex; align-items: center; gap: 2cqw; padding: 5cqw 6cqw; border-radius: 6cqw 6cqw 6cqw 1.5cqw; background: #e7dff2; animation: chat-typing 10s ease infinite; }
.chat-scene__typing i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #9878c5; animation: chat-dot .9s ease-in-out infinite alternate; }
.chat-scene__typing i:nth-child(2) { animation-delay: .15s; }
.chat-scene__typing i:nth-child(3) { animation-delay: .3s; }
.chat-scene__input { position: absolute; inset: auto 10% 6%; display: flex; align-items: center; justify-content: space-between; padding: 3% 5%; border: 1px solid #e6ddee; border-radius: 5cqw; color: #a194b0; font: 400 4.5cqw/1 var(--font-sans); }
.chat-scene__input > span { color: #8868b5; letter-spacing: .1em; }
.chat-scene.is-chat-paused * { animation-play-state: paused; }
@keyframes chat-question { 0%, 5% { opacity: 0; transform: translateY(7cqw) scale(.94); } 13%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-3cqw); } }
@keyframes chat-typing { 0%, 21% { opacity: 0; transform: translateY(3cqw); } 27%, 40% { opacity: 1; transform: none; } 45%, 100% { opacity: 0; transform: none; } }
@keyframes chat-answer { 0%, 43% { opacity: 0; transform: translateY(6cqw) scale(.95); } 51%, 89% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-3cqw); } }
@keyframes chat-dot { to { transform: translateY(-1.8cqw); opacity: .45; } }

@media (max-width: 960px) {
  .hero-tile--raumwerk { --tile-width: 128px; }
  .hero-tile--brand, .hero-tile--spark { --tile-width: 128px; }
  .hero-tile--chat { --tile-width: 180px; }
}
@media (max-width: 600px) {
  .hero-tile--raumwerk { --tile-width: 112px; }
  .hero-tile--brand, .hero-tile--spark { --tile-width: 112px; }
  .hero-tile--chat { --tile-width: 156px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-scene * { animation: none !important; }
  .chat-scene__typing { display: none; }
  .chat-scene__message { opacity: 1; transform: none; }
}

/* local-seo.css */
/* Soran: an editorial client example, without reproducing a Google results UI. */
.project-card__visual.soran-project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 17rem;
  padding: 3rem 1.5rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 25%, #80634145, transparent 66%), #151310;
  color: #f8f1e5;
}
.soran-project-visual > img {
  width: min(72%, 15rem);
  height: 12rem;
  object-fit: contain;
  transition: transform 300ms ease;
}
.soran-project-visual__tag {
  position: absolute;
  top: 1.25rem;
  left: 1.4rem;
  color: #d8b880;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.soran-project-visual__note {
  position: absolute;
  inset: auto 1.4rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #e4d7c0;
  font-size: .75rem;
}
.soran-project-visual__note > span { font-size: 1.25rem; }
.soran-project-visual:hover > img { transform: scale(1.035); }
.soran-project-visual:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
.soran-case__claim { margin: 1.5rem 0 0; color: var(--brand-ink); font-size: 1.15rem; font-weight: 550; line-height: 1.5; letter-spacing: -.02em; }
.soran-case .website-entry__description { margin-block: 1.1rem 1.5rem; }
.soran-case__link, .local-seo-detail__link { margin-top: 1.3rem; font-size: .875rem; }
.local-seo-detail { scroll-margin-top: calc(var(--header-height) + 2rem); }
.local-seo-detail__link { display: inline-flex; align-items: center; min-height: 44px; gap: .75rem; }
.soran-profile {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  overflow: hidden;
  border: 1px solid #c6a87955;
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at 92% 2%, #6f57353b, transparent 62%), #151310;
  color: #fff8ea;
  box-shadow: 0 1.8rem 4rem -1.5rem #25274535;
}
.soran-profile__brand { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.soran-profile__brand img { width: clamp(7rem, 13vw, 11rem); height: auto; }
.soran-profile__brand > span { color: #d4b57d; font-size: .625rem; line-height: 1.7; letter-spacing: .12em; text-align: right; }
.soran-profile__headline { margin: 2rem 0; color: #f4ebdc; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1.16 var(--font-display); letter-spacing: -.035em; }
.soran-profile__headline > span { color: #d4b57d; }
.soran-profile__services { margin: 0; border-top: 1px solid #c6a87940; }
.soran-profile__services > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #c6a87940; font-size: .8rem; line-height: 1.5; }
.soran-profile__services dt { color: #f4ebdc; }
.soran-profile__services dd { flex-shrink: 0; margin: 0; color: #d4b57d; font-size: .7rem; text-align: right; }
.soran-profile__footnote { margin: 1.6rem 0 0; color: #c8bcaa; font-size: .7rem; line-height: 1.6; }
@media (max-width: 1099px) {
  .soran-project-visual > img { height: clamp(6rem, 32vw, 10rem); }
}
@media (max-width: 600px) {
  .soran-profile__services > div { flex-direction: column; gap: .25rem; }
  .soran-profile__services dd { text-align: left; }
  .soran-profile__headline { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .soran-case__link, .local-seo-detail__link { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .soran-project-visual > img { transition: none; }
}

/* home-markers.css */
/* A few editorial highlights per section, using the hero tooltip's marker stroke. */
.page--home .text-marker {
  --marker-fill: #ded0ff;
  position: relative;
  isolation: isolate;
  display: inline-block;
  max-width: 100%;
  padding-inline: .09em;
  margin-inline: .015em;
  background: transparent;
  color: #21182c;
  -webkit-text-fill-color: #21182c;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}
.page--home .text-marker::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: .09em -.025em .015em;
  background: var(--marker-fill);
  transform: rotate(-1.1deg);
  clip-path: polygon(1% 8%, 98% 0, 100% 86%, 3% 100%, 0 71%);
}
.page--home .text-marker--mint { --marker-fill: #bee1c5; }
.page--home .text-marker--mint::before { transform: rotate(.7deg); }
.page--home .text-marker--peach { --marker-fill: #f3d3a0; }
.page--home :is(p, li) .text-marker { font-weight: 600; }

/* Keep the service headline on one padded stroke, including its ascenders. */
.page--home #services-title .text-marker {
  padding: .12em .18em;
  margin-block: .12em;
  font-size: .88em;
  line-height: 1.12;
  white-space: nowrap;
}
.page--home #services-title .text-marker::before {
  inset: 0;
  clip-path: none;
  border-radius: .02em;
}

@media (forced-colors: active) {
  .page--home .text-marker { background: Highlight; color: HighlightText; -webkit-text-fill-color: HighlightText; }
  .page--home .text-marker::before { display: none; }
}
@media print {
  .page--home .text-marker { font-weight: 700; text-decoration: underline; }
}

/* home-projects.css */
/* Homepage project surfaces only. Geometry and carousel motion stay in site.css.
   The native swipe row deliberately does not use the desktop's stale is-active. */
.page--home .section--projects {
  --project-visual-surface: linear-gradient(145deg, #252e48, var(--brand-ink) 70%);
  --project-border-active: #8496ce;
}

.page--home .section--projects .project-card {
  border-color: var(--brand-line);
  background: var(--brand-card);
  color: var(--brand-ink);
  box-shadow: var(--shadow-card);
  transition: opacity 260ms linear, border-color 360ms ease, box-shadow 700ms var(--ease-out);
}

.page--home .section--projects .project-card__body {
  background: var(--brand-card);
}

.page--home .section--projects .project-card__body h3 {
  color: var(--brand-ink);
}

.page--home .section--projects .project-card__body p {
  color: var(--brand-muted);
}

.page--home .section--projects .project-card__body .card-link {
  color: var(--color-accent-strong);
}

.page--home .section--projects .project-card__body .text-marker {
  --marker-fill: var(--color-accent-soft);
  color: var(--brand-ink);
  -webkit-text-fill-color: var(--brand-ink);
}

.page--home .section--projects :is(.soran-project-visual, .project-visual--locked) {
  background: var(--project-visual-surface);
  color: var(--color-surface-light);
}

.page--home .section--projects .soran-project-visual__note {
  color: var(--color-surface-light);
}

.page--home .section--projects .soran-project-visual__note > span:first-child {
  font-size: inherit;
}

/* Native controls keep playback usable with keyboard, touch and no JavaScript.
   Playback starts only on request, including when reduced motion is preferred. */
.page--home .section--projects .project-logo-visual {
  position: relative;
  background: #000;
}

.page--home .section--projects .project-logo-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page--home .section--projects .project-logo-visual video:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: -5px;
}

/* Keep all four cards readable in the static desktop fallback as well. */
@media (min-width: 1100px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .page--home .section--projects:not(.is-cinematic-projects) .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page--home .section--projects:not(.is-cinematic-projects) .project-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .page--home .section--projects:not(.is-cinematic-projects) .project-card:nth-child(n) .project-card__visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

.page--home .section--projects .project-case__hint {
  border-color: #cdd5ed55;
  background: var(--brand-ink);
  color: var(--color-surface-light);
  box-shadow: 0 .25rem 1rem #19213b1a;
}

.page--home .section--projects .project-lock {
  border-color: #cdd5ed55;
  background: #eef0fa0a;
  color: #cdd5ed;
}

/* The existing scroll controller owns scale, opacity, rotation and selection.
   Remove the redundant clip so the surface shadow can extend past the card;
   overflow:hidden continues to crop its images to the existing rounded edge. */
html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal],
html.js:where(.has-reveal-controller) .page--home .section--projects.is-cinematic-projects .project-card[data-reveal].is-visible,
.page--home .section--projects.is-cinematic-projects .project-card:nth-child(n) {
  clip-path: none;
}

.page--home .section--projects.is-cinematic-projects .project-card.is-active {
  border-color: var(--project-border-active);
  box-shadow: 0 1.5rem 3.5rem -.75rem #19213b26, 0 .35rem 1rem #19213b0d;
}

.page--home .section--projects .project-card:focus-within {
  border-color: var(--brand-blue);
}

.page--home .section--projects .project-card__visual:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: -5px;
}

@media (hover: hover) and (pointer: fine) {
  .page--home .section--projects .project-card:has(a):hover {
    border-color: var(--project-border-active);
  }
  .page--home .section--projects .card-link:hover {
    color: var(--brand-blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--home .section--projects .project-card { transition: none; }
}

@media (forced-colors: active) {
  .page--home .section--projects .project-card { border-color: CanvasText; }
  .page--home .section--projects.is-cinematic-projects .project-card.is-active,
  .page--home .section--projects .project-card:focus-within { border-color: Highlight; }
}

/* project-reference-refresh.css */
/* Reference media only: the existing carousel geometry and motion stay intact. */
.page--home .section--projects .project-reference-preview {
  background: #211d19;
}
.page--home .section--projects .project-reference-preview > img {
  object-fit: contain;
  object-position: center;
}
.page--home .section--projects .soran-project-visual--seo {
  padding: 2.8rem 0;
  background: #101b29;
}
.page--home .section--projects .soran-project-visual--seo > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.soran-project-visual--seo .soran-project-visual__note > span {
  font-size: .65rem;
}
.page--home .section--projects .project-reference-logo {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #0d0d0d;
}
.project-reference-logo > img {
  width: 85%;
  height: 100%;
  max-height: 24rem;
  object-fit: contain;
}
.project-reference-logo:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -4px;
}
.soran-seo-figure { margin: -1rem -1rem 1.5rem; }
.soran-seo-figure > img { display: block; width: 100%; height: auto; border-radius: .75rem; }
.soran-seo-figure > figcaption { margin: .65rem 1rem 0; color: #c8bcaa; font-size: .7rem; line-height: 1.5; }

/* Stable legacy preview URL, now using the same current screenshot as all cards. */
.reference-page { margin: 0; background: #211d19; color: #fff7eb; font: 16px/1.5 system-ui, sans-serif; }
.reference-page main { max-width: 1410px; margin: auto; }
.reference-page header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.reference-page h1 { margin: 0; font-size: 1.2rem; }
.reference-page p { margin: .3rem 0 0; color: #d4c3ae; font-size: .85rem; }
.reference-page a { color: #fff7eb; text-underline-offset: .25em; }
.reference-page img { display: block; width: 100%; height: auto; }
.reference-page footer { padding: 1.25rem; }

/* kontakt.css */
/* Personal contact and form share a calm, responsive two-column layout. */
.page--kontakt [hidden] { display: none !important; }
.page--kontakt .contact-hero { padding: calc(var(--header-height) + clamp(2.5rem, 5vw, 5rem)) 0 clamp(4rem, 7vw, 7rem); background: radial-gradient(ellipse at 5% 45%, #e8eaf65c, transparent 55%), #f7f2e9; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-layout > * { min-width: 0; }
.contact-intro { position: sticky; top: calc(var(--header-height) + 2rem); }
.page--kontakt .contact-eyebrow { margin: 0 0 1rem; font: 600 .6875rem/1.5 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #64718a; }
.page--kontakt .contact-hero h1 { margin: 0 0 1.4rem; font-size: clamp(2.75rem, 4.5vw, 4.8rem); line-height: 1.08; }
.contact-hero__copy > p:not(.contact-eyebrow) { max-width: 42ch; margin: 0; color: var(--brand-muted); font-size: 1.0625rem; line-height: 1.75; }
.contact-people { margin: 2.5rem 0 1.5rem; }
.page--kontakt .contact-people > .contact-eyebrow { margin-bottom: .75rem; }
.contact-person { display: grid; grid-template-columns: 42% minmax(0, 1fr); min-height: 17rem; overflow: hidden; border: 1px solid #e0e2ec; border-radius: 1.35rem; background: #fffdf9; box-shadow: 0 1.4rem 2.8rem -2rem #26314c55; }
.contact-person + .contact-person { margin-top: 1rem; }
.contact-person__portrait { position: relative; min-height: 17rem; overflow: hidden; background: #19253b; }
.contact-person__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.contact-person__portrait--initials { display: grid; place-items: center; background: radial-gradient(ellipse at 100% 0%, #505b9d, transparent 80%), #152035; }
.contact-person__portrait--initials span { position: relative; z-index: 1; color: #f8f3ea; font: 400 clamp(4.5rem, 7.5vw, 7.5rem)/1 var(--font-display); letter-spacing: -.08em; padding-right: .1em; }
.contact-person__portrait--initials::after { content: ""; position: absolute; width: 105%; aspect-ratio: 1; right: -45%; bottom: -10%; border: 1px solid #bac5f02e; border-radius: 50%; box-shadow: 0 0 0 2.25rem #bac5f009; }
.contact-person__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: 1.5rem; }
.contact-person__copy .contact-person__intro { margin: 0 0 1rem; font-size: .6875rem; color: #66738a; }
.contact-person__copy h3 { margin: 0 0 .6rem; color: var(--brand-ink); font: 600 clamp(1.1rem, 1.65vw, 1.5rem)/1.2 var(--font-sans); letter-spacing: -.04em; }
.contact-person__copy p { margin: 0; color: var(--brand-muted); font-size: .875rem; line-height: 1.6; }
.contact-person__copy a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .7rem; color: #475ab2; font-size: .8125rem; text-decoration: underline; text-underline-offset: .3em; }
.contact-people.is-ready .contact-people__panels { display: grid; }
.contact-people.is-ready .contact-person { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(.6rem); pointer-events: none; transition: opacity 550ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.contact-people.is-ready .contact-person[data-active="true"] { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.contact-people__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .85rem; }
.contact-people__switch { display: flex; gap: .2rem; padding: .2rem; border: 1px solid #d6d9e6; border-radius: 2rem; background: #ffffff6b; }
.contact-people__switch button { min-width: 3.8rem; min-height: 44px; border: 0; border-radius: 2rem; padding: .5rem .85rem; background: transparent; color: #5a667e; font: 500 .8125rem/1 var(--font-sans); cursor: pointer; }
.contact-people__switch button[aria-pressed="true"] { background: #1c253d; color: #fff; }
.contact-people :is(button,a):focus-visible { outline: 2px solid #536bd2; outline-offset: 4px; }
.contact-alternative { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; padding-top: 1.25rem; border-top: 1px solid #d6d9e6; }
.contact-alternative > p:first-child { width: 100%; margin: 0; color: var(--brand-muted); font-size: .875rem; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; color: #354b9b; font-size: 1.0625rem; text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
.contact-copy { min-height: 44px; padding: .5rem 0; border: 0; background: transparent; color: #606c83; font: inherit; font-size: .75rem; text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.contact-copy:hover { color: var(--brand-ink); }
.contact-copy-status { width: 100%; font-size: .8125rem; line-height: 1.5; margin: 0; color: var(--brand-muted); }
.contact-form-card { padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid #dedfeb; border-radius: 1.65rem; background: #fffefa; box-shadow: 0 1.5rem 5rem -2.8rem #33437140; }
.page--kontakt .contact-form-card .contact-eyebrow { color: #5b61b2; }
.contact-form-card h2 { margin: 0 0 .75rem; font: 550 clamp(1.7rem, 2.5vw, 2.4rem)/1.15 var(--font-sans); letter-spacing: -.045em; }
.contact-form-lead { max-width: 42ch; font-size: .875rem; line-height: 1.65; margin: 0 0 1.8rem; color: var(--brand-muted); }
.contact-topics { padding: 0; margin: 0 0 1.75rem; border: 0; min-width: 0; }
.contact-topics legend { font-size: .875rem; margin-bottom: .8rem; font-weight: 500; }
.contact-topics legend span, .contact-optional { font-weight: 400; color: var(--brand-muted); }
.contact-topics__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-topics label { position: relative; cursor: pointer; }
.contact-topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contact-topics label > span { display: flex; align-items: center; min-height: 44px; padding: .5rem .9rem; border: 1px solid #d7dbea; border-radius: 2rem; font-size: .8125rem; background: #f7f8fc; color: #505e79; }
.contact-topics input:checked + span { color: #354b9b; border-color: #7585cb; background: #eceffc; box-shadow: inset 0 0 0 1px #7585cb; }
.contact-topics input:focus-visible + span { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-field { display: block; min-width: 0; margin: 0 0 1.15rem; font-size: .875rem; font-weight: 500; line-height: 1.5; }
.contact-field :is(input, textarea) { display: block; box-sizing: border-box; width: 100%; min-height: 50px; margin-top: .5rem; padding: .8rem 1rem; border: 1px solid #cdd3e3; border-radius: .7rem; background: #fff; color: var(--brand-ink); font: 400 1rem/1.5 var(--font-sans); transition: border-color 180ms ease, box-shadow 180ms ease; }
.contact-field textarea { min-height: 8.5rem; resize: vertical; }
.contact-field :is(input, textarea)::placeholder { color: #78839a; opacity: 1; }
.contact-field :is(input, textarea):focus-visible { outline: 2px solid #536bd2; outline-offset: 2px; border-color: #7585cb; box-shadow: 0 0 0 4px #e9edf9; }
.contact-field [aria-invalid="true"] { border-color: #a12a3c; }
.contact-field-error { display: block; color: #9d2133; font-size: .8125rem; font-weight: 400; }
.contact-field-error:not(:empty) { margin-top: .35rem; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-privacy { font-size: .75rem; color: var(--brand-muted); line-height: 1.65; margin: .2rem 0 1.25rem; }
.contact-privacy a, .contact-calculator-note a { color: #354b9b; text-decoration: underline; text-underline-offset: .2em; }
.contact-form-status { color: #9d2133; font-size: .9375rem; line-height: 1.6; margin: 0; scroll-margin-top: calc(var(--header-height) + 1rem); }
.contact-form-status:not(:empty) { margin-bottom: 1rem; }
.page--kontakt .contact-submit { width: 100%; min-height: 3.5rem; background: linear-gradient(112deg, #257cce, #4c58cc 55%, #7d4bb4); box-shadow: 0 .75rem 1.6rem -.9rem #5558bf77; }
.page--kontakt .contact-submit:hover { background: linear-gradient(112deg, #197bd4, #5158d3 55%, #8950bd); }
.page--kontakt .contact-submit:disabled { opacity: .65; cursor: wait; }
.contact-calculator-note { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #e1e3ec; color: var(--brand-muted); font-size: .8125rem; line-height: 1.7; text-align: center; }
.contact-success { padding-block: 2rem; scroll-margin-top: calc(var(--header-height) + 2rem); }
.contact-success p { color: var(--brand-muted); font-size: 1rem; line-height: 1.7; }
/* The final contact section shares the footer's dark base without styling it. */
.page--kontakt .contact-next {
  --next-text: #f5f4ef;
  --next-muted: #b8c3d9;
  --next-line: #394563;
  --step-size: min(2.25rem, 40px);
  --step-gap: clamp(1rem, 2vw, 1.75rem);
  padding-block: clamp(2.75rem, 4vw, 3.5rem) clamp(3rem, 4.5vw, 4rem);
  border-top: 1px solid var(--next-line);
  background: radial-gradient(ellipse at 78% 0, #6253ac1f, transparent 65%), linear-gradient(180deg, #141b2c, #0b0f19 90%);
  color: var(--next-text);
}
.contact-next__intro { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.contact-next h2 { margin: 0; color: var(--next-text); font: 400 clamp(2rem, 3.5vw, 3.25rem)/1.15 var(--font-display); letter-spacing: -.04em; }
.contact-next p { margin: 0; color: var(--next-muted); font-size: .9375rem; line-height: 1.7; }
.contact-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--step-gap); list-style: none; padding: 0; margin: 0; }
.contact-steps li { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 1rem; min-width: 0; }
.contact-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--step-size) / 2);
  left: calc(1.5rem + var(--step-size) / 2);
  width: calc(100% + var(--step-gap));
  height: 1px;
  background: linear-gradient(90deg, #788bc0, var(--next-line));
  transform-origin: left;
}
.contact-steps__number {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--step-size);
  height: var(--step-size);
  margin-left: 1.5rem;
  border: 1px solid #6e7fac;
  border-radius: 50%;
  background: #1b2540;
  color: #d4ddfa;
  font: 500 .75rem/1 var(--font-sans);
  font-variant-numeric: tabular-nums;
}
.contact-steps__card {
  position: relative;
  overflow-wrap: anywhere;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--next-line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff08, #9ba9f003);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}
.contact-steps h3 { margin: 0 0 .75rem; color: var(--next-text); font: 600 clamp(1rem, 1.35vw, 1.125rem)/1.45 var(--font-sans); letter-spacing: -.025em; }
@media (hover: hover) and (pointer: fine) {
  .contact-steps li:hover .contact-steps__card { transform: translateY(-3px); border-color: #7386bb; box-shadow: 0 .6rem 1.75rem #05081033, 0 0 1.5rem #8292e00a; }
}
/* Reuse the existing once-only reveal observer; all content is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal] { transform: translateY(.75rem); transition: opacity 550ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: var(--step-delay, 0ms); }
  .contact-steps li:nth-child(2) { --step-delay: 110ms; }
  .contact-steps li:nth-child(3) { --step-delay: 220ms; }
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal].is-visible { transform: none; }
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal]::before { transform: scaleX(0); transition: transform 700ms var(--ease-out); transition-delay: var(--step-delay, 0ms); }
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal].is-visible::before { transform: scaleX(1); }
}

@media (max-width: 1100px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; }
  .contact-person__copy { padding: 1.15rem; }
  .contact-person__copy p { font-size: .8125rem; }
  .contact-person__copy .contact-person__intro { display: none; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 820px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; max-width: 40rem; }
  .contact-intro { position: static; }
  .page--kontakt .contact-hero { padding-top: calc(var(--header-height) + 2rem); }
  .page--kontakt .contact-hero h1 { font-size: clamp(2.5rem, 7.7vw, 4rem); }
  .contact-hero__copy > p:not(.contact-eyebrow) { font-size: 1rem; }
  .contact-person, .contact-person__portrait { min-height: 15rem; }
  .contact-person__copy { padding: 1.25rem; }
  .contact-person__copy h3 { font-size: clamp(1.05rem, 4vw, 1.5rem); }
  .contact-person__copy p { font-size: .875rem; }
  .contact-person__portrait--initials span { font-size: clamp(4.5rem, 17vw, 7rem); }
  .contact-form-card { border-radius: 1.35rem; }
  .contact-field :is(input, textarea) { scroll-margin-block: calc(var(--header-height) + 1.5rem) 5rem; }
  .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .contact-next__intro { display: block; }
  .contact-next__intro > p { margin-top: .8rem; }
  .contact-steps { grid-template-columns: minmax(0, 1fr); }
  .contact-steps li { grid-template-columns: var(--step-size) minmax(0, 1fr); grid-template-rows: auto; align-items: start; gap: 1rem; }
  .contact-steps__number { margin: 1.25rem 0 0; }
  .contact-steps li:not(:last-child)::before { top: calc(1.25rem + var(--step-size) / 2); left: calc(var(--step-size) / 2); width: 1px; height: calc(100% + var(--step-gap)); background: linear-gradient(#788bc0, var(--next-line)); transform-origin: top; }
}
@media (max-width: 560px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-form-card { padding: 1.5rem 1.25rem; }
  .contact-people { margin-top: 2rem; }
  .contact-person__copy { padding: 1rem; }
  .contact-person__copy h3 { font-size: 1.125rem; }
  .contact-person__copy p, .contact-person__copy a { font-size: .8125rem; }
  .contact-topics__choices { gap: .625rem .5rem; }
  .contact-topics label > span { padding-inline: .8rem; }
  .contact-privacy { font-size: .8125rem; }
  .contact-next__grid { width: calc(100% - 2 * min(var(--gutter), 20px)); }
  .contact-steps li { gap: min(.75rem, 12px); }
  .contact-steps__card { padding: min(1.25rem, 20px); }
}
@media (max-height: 900px) { .contact-intro { position: static; } }
@media (prefers-reduced-motion: reduce) { .contact-people.is-ready .contact-person, .contact-field :is(input,textarea) { transition: none; transform: none; } }
@media (forced-colors: active) { .contact-topics input:checked + span { outline: 2px solid Highlight; } }

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal]::before { transform: scaleY(0); }
  html.js:where(.has-reveal-controller) .contact-steps [data-reveal].is-visible::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-steps__card, .contact-steps li:hover .contact-steps__card { transition: none; transform: none; }
}
@media (forced-colors: active) {
  .contact-steps li:not(:last-child)::before { background: CanvasText; }
  .contact-steps__number, .contact-steps__card { border-color: CanvasText; }
}

/* home-contact.css */
/* The closing invitation stays in normal flow, including while typing. */
.home-contact {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: radial-gradient(ellipse at 94% 22%, #d8cafa80, transparent 52%),
    radial-gradient(ellipse at 4% 85%, #cddff34d, transparent 42%), #f7f2e9;
  color: #211d33;
}
.home-contact [hidden] { display: none !important; }
.home-contact__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.home-contact__layout > * { min-width: 0; }
.home-contact__eyebrow { margin: 0 0 1.5rem; color: #67617e; font: 650 .68rem/1.5 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.page--home .home-contact__intro h2 { margin: 0 0 2rem; font: 800 clamp(3.5rem, 5.7vw, 5.8rem)/1.03 "TFA Condensed", Impact, sans-serif; letter-spacing: -.025em; text-transform: uppercase; color: #211d33; }
.home-contact__intro h2 > span { display: inline-block; padding: .1em .06em .15em 0; color: #7251b2; font: 400 .78em/1.1 "TFA Marker", cursive; letter-spacing: -.06em; transform: rotate(-4deg); text-transform: none; }
.home-contact__lead { max-width: 29ch; margin: 0 0 1rem; color: #30293f; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.55; letter-spacing: -.025em; }
.home-contact__copy { max-width: 43ch; margin: 0; color: #646076; font-size: 1rem; line-height: 1.8; }
.home-contact__people { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.home-contact__avatars { display: flex; padding-right: .15rem; flex: 0 0 auto; }
.home-contact__avatar { position: relative; display: block; overflow: hidden; width: 54px; height: 54px; border: 3px solid #f7f2e9; border-radius: 50%; background: #1b2038; }
.home-contact__avatar + .home-contact__avatar { margin-left: -13px; }
.home-contact__people p { margin: 0; font-size: .875rem; line-height: 1.55; }
.home-contact__people strong { display: block; color: #30293f; font-weight: 650; }
.home-contact__people p span { color: #646076; font-size: .8125rem; }
.home-contact__direct { max-width: 25rem; padding-top: 1.5rem; border-top: 1px solid #d8d0e2; }
.home-contact__direct > p:first-child { margin: 0; color: #646076; font-size: .8125rem; }
.home-contact__direct > a { display: inline-flex; align-items: center; min-height: 44px; color: #554195; font-size: clamp(1rem, 1.65vw, 1.25rem); text-decoration: underline; text-underline-offset: .28em; overflow-wrap: anywhere; }
.home-contact__callback { margin: .6rem 0 0; max-width: 39ch; font-size: .8125rem; line-height: 1.6; color: #646076; }
.home-contact__form-wrap { position: relative; padding: 12px; border: 1px solid #fff9; border-radius: 30px; background: linear-gradient(145deg, #c3ccf2, #d7c7ef 60%, #e8d9ef); box-shadow: 0 24px 70px -40px #50407b55; }
.home-contact__hello { position: absolute; z-index: 1; right: 26px; top: -26px; padding: 14px 21px; border-radius: 18px 18px 2px 18px; background: #222038; color: #f2e7ff; font: 400 1.1rem/1.1 "TFA Marker", cursive; transform: rotate(7deg); box-shadow: 0 6px 20px #31243f20; }
.home-contact .home-contact__card { padding: clamp(1.5rem, 3vw, 2.75rem); border: 1px solid #ffffffc7; border-radius: 20px; background: #fffdf9; box-shadow: none; }
.home-contact__card .home-contact__eyebrow { margin-bottom: .8rem; color: #7251a2; font-size: .625rem; }
.home-contact__card h3 { margin: 0 0 .65rem; color: #252036; font: 650 clamp(1.6rem, 2.5vw, 2.25rem)/1.15 var(--font-sans); letter-spacing: -.05em; }
.home-contact .contact-form-lead { margin-bottom: 1.5rem; color: #6d657c; }
.home-contact .contact-topics { margin-bottom: 1.5rem; }
.home-contact .contact-topics legend, .home-contact .contact-field { color: #30293f; font-size: .8125rem; }
.home-contact .contact-topics legend span { color: #766c87; }
.home-contact .contact-topics__choices { gap: 7px; }
.home-contact .contact-topics label > span { padding: .5rem .8rem; border-color: #ded7ea; background: #f6f2fa; color: #685a7a; font-size: .75rem; }
.home-contact .contact-topics input:checked + span { border-color: #9073be; background: #e5d9f8; color: #412c62; box-shadow: inset 0 0 0 1px #9073be; }
.home-contact .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-contact .contact-field { margin-bottom: 1rem; }
.home-contact .contact-field :is(input, textarea) { background: #f9f7fc; border-color: #d9d2e4; border-radius: 10px; font-size: 16px; color: #30293f; }
.home-contact .contact-field :is(input, textarea)::placeholder { color: #81758e; font-size: .875rem; }
.home-contact .contact-field :is(input, textarea):focus-visible { outline-color: #7251b2; box-shadow: 0 0 0 4px #e8def8; background: white; }
.home-contact .contact-field [aria-invalid="true"] { border-color: #a12a3c; }
.home-contact .contact-field textarea { min-height: 126px; }
.home-contact .contact-privacy { margin: .25rem 0 1.2rem; color: #71697e; font-size: .75rem; }
.home-contact .contact-privacy a { color: #5a4196; }
.page .home-contact .contact-submit { width: 100%; min-height: 54px; border: 1px solid #cbb9e6; border-radius: 12px; background: #dfd1ff; color: #302045; font-size: .9375rem; font-weight: 700; box-shadow: 0 5px 20px #71568c14; }
.page .home-contact .contact-submit:hover { background: #d3bdf7; }
.page .home-contact .contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.home-contact__form-note { margin: .85rem 0 0; text-align: center; color: #797083; font-size: .6875rem; }
.home-contact__success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.5rem; border-radius: 50%; color: #315b46; background: #cce4d6; font-size: 1.7rem; }
.home-contact .contact-success { padding: 1.5rem 0; }
.home-contact .contact-success .button { margin-top: .8rem; white-space: normal; text-align: center; }
.home-contact :is(a, button):focus-visible { outline: 2px solid #7251b2; outline-offset: 4px; }

@media (max-width: 960px) {
  .home-contact__layout { grid-template-columns: minmax(0, 1fr); max-width: 42rem; gap: 3.5rem; }
  .home-contact__intro h2 > span { font-size: .86em; }
  .home-contact__copy { max-width: 48ch; }
  .home-contact__lead { max-width: 34ch; }
  .home-contact__direct { max-width: none; }
}
@media (max-width: 560px) {
  .home-contact { padding: 4rem 0; }
  .home-contact__layout { width: calc(100% - 40px); }
  .page--home .home-contact__intro h2 { font-size: clamp(2.75rem, 12.5vw, 4.2rem); margin-bottom: 1.5rem; }
  .home-contact__eyebrow { max-width: 28ch; font-size: .625rem; }
  .home-contact__people { gap: .75rem; }
  .home-contact__avatar { width: 46px; height: 46px; }
  .home-contact__people p span { font-size: .75rem; }
  .home-contact__form-wrap { padding: 7px; border-radius: 23px; }
  .home-contact .home-contact__card { padding: 1.65rem 1.05rem; border-radius: 16px; }
  .home-contact__hello { right: 18px; top: -24px; padding: 12px 16px; font-size: .9375rem; }
  .home-contact .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-contact .contact-topics label > span { font-size: .75rem; padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-contact *, .home-contact *::before { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .home-contact__form-wrap, .home-contact .contact-submit { border: 1px solid ButtonText; }
}

/* home-monthly.css */
/* Homepage-only campaign card. No dependency on the full services offer. */
.home-monthly {
  --hm-ink: #f8f7ff;
  --hm-muted: #d1cde3;
  --hm-accent: #c9bcff;
  padding-block: clamp(3rem, 6vw, 6rem);
  color: var(--hm-ink);
  background: var(--brand-soft, #eef0fa);
}
.home-monthly__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid #ada0e538;
  border-radius: var(--radius-lg, 1.75rem);
  background: radial-gradient(ellipse at 90% 10%, #7850af55, transparent 65%), linear-gradient(120deg, #151d3a, #282044);
  box-shadow: 0 1.5rem 4rem #222f5514;
}
.home-monthly__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60%;
  height: 100%;
  right: -10%;
  top: -35%;
  background: radial-gradient(ellipse, #b097ff1f, transparent 70%);
  pointer-events: none;
}
.home-monthly__panel > * { min-width: 0; }
.home-monthly p { margin: 0; }
.home-monthly .home-monthly__eyebrow { color: var(--hm-accent); font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.home-monthly h2 { margin: 1.2rem 0; color: var(--hm-ink); font-family: var(--font-display); font-size: clamp(2.25rem, 3.7vw, 3.65rem); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.home-monthly h2 span { color: var(--hm-accent); }
.home-monthly .home-monthly__intro { max-width: 36em; color: var(--hm-muted); font-size: 1rem; line-height: 1.65; }
.home-monthly__pricing { margin-block: 1.4rem; }
.home-monthly__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; color: var(--hm-ink); font-size: .88rem; }
.home-monthly__price strong { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.05em; }
.home-monthly .home-monthly__terms { margin-top: .55rem; color: var(--hm-muted); font-size: .77rem; line-height: 1.65; }
.home-monthly__cta { display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; min-height: 3.25rem; padding: .85rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--hm-accent); color: #201c37; font-size: .85rem; font-weight: 650; text-decoration: none; transition: background .2s, transform .3s var(--ease-out); }
.home-monthly__cta:hover { background: #e0d7ff; color: #201c37; transform: translateY(-2px); }
.home-monthly__cta:focus-visible { outline: 3px solid var(--hm-ink); outline-offset: 5px; }
.home-monthly__visual { margin: 0; padding-block: 1rem; }
.home-monthly__stage { position: relative; padding: 1.5rem .5rem 2rem; perspective: 1100px; }
.home-monthly__backplate { position: absolute; inset: 1.2rem .6rem 2.5rem; border: 1px solid #ccbaff33; border-radius: 1rem; background: #a88dd010; transform: rotate(5deg) translate(6px, -10px); }
.home-monthly__browser { overflow: hidden; position: relative; border: 1px solid #eee8ff66; border-radius: .8rem; background: #f5f1eb; box-shadow: 0 2rem 3rem #07061e55; transform: rotateY(-9deg) rotateZ(2deg); transition: transform .7s var(--ease-out); }
.home-monthly__bar { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .75rem; color: #625976; background: #f2edf6; font-size: .55rem; font-weight: 600; letter-spacing: .12em; }
.home-monthly__dots { display: flex; gap: .25rem; }
.home-monthly__dots i { width: .3rem; height: .3rem; border-radius: 50%; background: #b0a4bf; }
.home-monthly__browser img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 1000; object-fit: cover; }
.home-monthly__tag { position: absolute; right: 0; bottom: .7rem; padding: .8rem 1rem; border: 1px solid #c8b6f54d; border-radius: var(--radius-pill); background: #322b50; color: var(--hm-ink); font-size: .72rem; box-shadow: 0 .5rem 2rem #08071833; }
.home-monthly__tag em { color: var(--hm-accent); font-style: normal; }
.home-monthly figcaption { padding-inline: .5rem; color: var(--hm-muted); font-size: .68rem; line-height: 1.6; }
#home-monthly-title { scroll-margin-top: calc(var(--header-height) + 2rem); }
@media (hover: hover) and (pointer: fine) {
  .home-monthly__visual:hover .home-monthly__browser { transform: rotateY(-3deg) rotateZ(0deg) translateY(-5px); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-monthly.is-entering .home-monthly__copy { animation: hm-enter .8s var(--ease-out) both; }
  .home-monthly.is-entering .home-monthly__visual { animation: hm-enter 1s .12s var(--ease-out) both; }
  .home-monthly.is-entering .home-monthly__panel::before { animation: hm-light 2s var(--ease-out) both; }
}
@keyframes hm-enter { from { opacity: .15; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hm-light { from { opacity: .2; transform: translateX(-12%); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .home-monthly__panel { grid-template-columns: 1fr; gap: 1rem; }
  .home-monthly h2 { max-width: 17ch; font-size: clamp(2.15rem, 5.8vw, 3.3rem); }
  .home-monthly__visual { width: min(100%, 30rem); justify-self: center; padding-block: 0; }
  .home-monthly__browser { transform: rotateZ(1deg); }
}
@media (max-width: 420px) {
  .home-monthly__panel { padding: 1.25rem; }
  .home-monthly .home-monthly__eyebrow { font-size: .61rem; letter-spacing: .1em; }
  .home-monthly h2 { font-size: 2.1rem; }
  .home-monthly__cta { width: 100%; gap: .6rem; font-size: .78rem; }
  .home-monthly__tag { font-size: .62rem; padding: .65rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-monthly *, .home-monthly *::before { animation: none !important; transition: none !important; }
  .home-monthly__browser, .home-monthly__visual:hover .home-monthly__browser, .home-monthly__cta:hover { transform: none; }
}

/* process-journey.css */
/* The locally hosted display families also used by the new creator hero. */
@font-face {
  font-family: "TFA Condensed";
  src: url("../fonts/barlow-condensed-800.woff2") format("woff2"),
       url("../fonts/barlow-condensed-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "TFA Marker";
  src: url("../fonts/permanent-marker.woff2") format("woff2"),
       url("../fonts/permanent-marker.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* A native, scroll-revealed TFA journey. Content stays readable without JS. */
.process-journey {
  --journey-display: "TFA Condensed", Impact, sans-serif;
  --journey-marker: "TFA Marker", cursive;
  --journey-blue: #286bd2;
  --journey-violet: #8350bd;
  --journey-line: #cdd5ed;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  background: radial-gradient(ellipse at 80% 12%, #cfcdf830, transparent 42%),
    radial-gradient(ellipse at 8% 75%, #c4daf530, transparent 36%), #eef0fa;
  color: var(--brand-ink, #19213b);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.process-journey__inner { max-width: 76rem; }
.process-journey__heading { position: relative; max-width: 57rem; margin: 0 auto 4rem; text-align: center; }
.process-journey__eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem;
  color: #4b5876; font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
}
.process-journey__eyebrow > span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--brand-gradient); }
.process-journey__heading h2 {
  max-width: none; margin: 0; color: #19213b; font-family: var(--journey-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.process-journey__heading h2 .text-accent {
  font-family: var(--journey-marker); font-size: .78em; font-weight: 400;
  line-height: 1.4; letter-spacing: -.065em;
}
.process-journey__heading > p:not([class]) {
  max-width: 37rem; margin: 1.6rem auto 0; color: #53607a; font-size: 1.0625rem; line-height: 1.7;
}
.process-journey__scroll-hint {
  display: flex; justify-content: center; align-items: center; gap: .8rem;
  margin-top: 2rem; color: #5e6c89; font-size: .75rem;
}
.process-journey__timeline { position: relative; }
.process-journey__steps { position: relative; list-style: none; padding: 0; margin: 0; }
.process-journey__step {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 6rem minmax(0, 1fr);
  perspective: 1100px;
}
.process-journey__step + .process-journey__step { margin-top: -3rem; }
.process-journey__rail {
  position: absolute; top: 3rem; bottom: 3rem; left: 50%; width: 2px;
  height: var(--journey-rail-height, auto); background: var(--journey-line); transform: translateX(-50%);
}
.process-journey__fill {
  position: absolute; inset: 0; transform: scaleY(var(--journey-progress, 1)); transform-origin: top;
  background: linear-gradient(180deg, var(--journey-blue), #5d60d6 50%, var(--journey-violet));
}
.process-journey__spark {
  position: absolute; top: var(--journey-fill-size, 100%); left: 50%; width: 9px; height: 9px;
  border: 2px solid #eef0fa; border-radius: 50%; background: #6261d6;
  box-shadow: 0 0 0 5px #6565da12; transform: translate(-50%, -50%);
}
.process-journey__node {
  position: absolute; z-index: 1; top: 3rem; left: 50%; width: 12px; height: 12px;
  border: 3px solid #eef0fa; border-radius: 50%; background: #6271b7;
  box-shadow: 0 0 0 1px #bac5e1; transform: translate(-50%, -50%);
  transition: background 180ms, box-shadow 180ms;
}
.process-journey__node::before {
  content: ""; position: absolute; top: 2px; right: 12px; width: 2rem; height: 1px; background: #c3cee9;
}
.process-journey__step:nth-child(even) .process-journey__node::before { right: auto; left: 12px; }
.journey-card {
  grid-column: 1; min-width: 0; position: relative; padding: clamp(1.5rem, 2.8vw, 2.4rem);
  border: 1px solid #d3daed; border-radius: 1.25rem; background: linear-gradient(135deg, #fffefa, #fcfcff);
  box-shadow: 0 10px 32px #27346508, 0 2px 3px #27346504; transform-origin: right 3rem;
}
.process-journey__step:nth-child(even) .journey-card { grid-column: 3; transform-origin: left 3rem; }
.journey-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.journey-card__phase { display: flex; align-items: center; gap: .9rem; margin: 0; color: #5c6781; font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.journey-card__phase > span { font-family: var(--journey-display); color: #3565c3; font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.journey-card__icon { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; color: #697dbe; }
.journey-card h3 { margin: 0 0 1rem; color: #19213b; font-family: var(--journey-display); font-size: clamp(1.875rem, 2.75vw, 2.375rem); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.journey-card > p:not([class]) { margin: 0; color: #53607a; font-size: 1rem; line-height: 1.7; }
.journey-card .journey-card__result { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid #dce2f1; color: #425888; font-size: .8125rem; font-weight: 500; line-height: 1.55; }
.journey-card--dark {
  background: radial-gradient(ellipse at 100% 0, #7050c748, transparent 70%), linear-gradient(135deg, #18223e, #202744);
  border-color: #4d5c89; box-shadow: 0 18px 40px #27346518;
}
.journey-card--dark h3 { color: #fffefa; }
.journey-card--dark > p:not([class]) { color: #c6cee3; }
.journey-card--dark .journey-card__phase { color: #c2cae4; }
.journey-card--dark .journey-card__phase > span,
.journey-card--dark .journey-card__icon { color: #afbeff; }
.journey-card--dark .journey-card__result { color: #d7def7; border-color: #ffffff24; }
.process-journey__closing { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 4rem auto 0; text-align: center; }
.process-journey__closing > p { margin: 0 0 .5rem; color: #19213b; font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; }
.process-journey__closing .button { gap: 1.5rem; }
.process-journey__contact { display: inline-flex; align-items: center; min-height: 44px; color: #53607a; font-size: .875rem; text-underline-offset: .25em; }
.process-journey__contact:hover { color: #304796; text-decoration: underline; }

/* Only hide or transform cards after the animation has initialized successfully. */
.process-journey.is-journey-animated .journey-card {
  opacity: var(--card-opacity, 1);
  transform: translate3d(var(--card-x, 0px), var(--card-y, 0px), 0) rotateY(var(--card-rotate-y, 0deg)) rotateX(var(--card-rotate-x, 0deg)) rotateZ(var(--card-rotate-z, 0deg));
}
.process-journey.is-journey-animated .process-journey__node { background: #eef0fa; }
.process-journey.is-journey-animated .is-reached .process-journey__node { background: #5966ce; box-shadow: 0 0 0 1px #7f8ed0, 0 0 0 6px #646bc010; }
.process-journey.is-journey-animated .is-current .process-journey__node { box-shadow: 0 0 0 1px #7f8ed0, 0 0 0 8px #646bc018; }

@media (max-width: 900px) {
  .process-journey { padding-top: 4.5rem; }
  .process-journey__heading { margin-bottom: 2.75rem; }
  .process-journey__heading h2 { font-size: clamp(2.125rem, 5.7vw, 3rem); }
  .process-journey__heading > p:not([class]) { font-size: 1rem; }
  .process-journey__step { display: block; padding-left: 2.25rem; perspective: 900px; }
  .process-journey__step + .process-journey__step { margin-top: 1.5rem; }
  .process-journey__rail, .process-journey__node { left: .375rem; }
  .process-journey__node::before,
  .process-journey__step:nth-child(even) .process-journey__node::before { right: auto; left: 9px; width: 1rem; }
  .journey-card, .process-journey__step:nth-child(even) .journey-card { padding: 1.5rem; transform-origin: center top; }
  .journey-card h3 { font-size: 2rem; }
  .journey-card > p:not([class]) { font-size: .9375rem; line-height: 1.7; }
  .process-journey__closing { margin-top: 2.75rem; }
}
@media (max-width: 380px) {
  .process-journey__step { padding-left: 1.75rem; }
  .journey-card, .process-journey__step:nth-child(even) .journey-card { padding: 1.125rem; border-radius: 1rem; }
  .journey-card__top { gap: .4rem; }
  .journey-card__phase { gap: .55rem; font-size: .625rem; letter-spacing: .05em; }
  .journey-card__icon { width: 2rem; height: 2rem; }
  .journey-card h3 { font-size: 1.875rem; }
  .journey-card .journey-card__result { font-size: .75rem; }
  .process-journey__heading h2 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .process-journey.is-journey-animated .journey-card { opacity: 1; transform: none; }
  .process-journey__node { transition: none; }
  .process-journey__fill { transform: none; }
  .process-journey__spark { display: none; }
}
@media (forced-colors: active) {
  .journey-card { border-color: CanvasText; }
  .process-journey__node, .process-journey__rail { background: CanvasText; }
  .process-journey .text-accent { color: CanvasText; background: none; }
}
@media print {
  .process-journey { padding-block: 2rem; background: white; }
  .process-journey .journey-card { opacity: 1 !important; transform: none !important; box-shadow: none; break-inside: avoid; }
  .process-journey__step { display: block; margin: 1rem 0 !important; }
  .process-journey__rail, .process-journey__node, .process-journey__scroll-hint, .process-journey__closing { display: none; }
}

/* logo-showcase.css */
@font-face {
  font-family: "TFA Condensed";
  src: url("../fonts/barlow-condensed-800.woff2") format("woff2"),
       url("../fonts/barlow-condensed-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "TFA Marker";
  src: url("../fonts/permanent-marker.woff2") format("woff2"),
       url("../fonts/permanent-marker.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.logo-case {
  padding: clamp(4rem, 7vw, 7rem) 0;
  color: #211d35;
  background: #f6f5fa;
  scroll-margin-top: calc(var(--header-height, 100px) + 1rem);
}
.logo-case__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 76rem;
}
.logo-case__copy { min-width: 0; }
.logo-case__eyebrow {
  margin: 0 0 1.3rem;
  color: #69617b;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.page .logo-case__title {
  max-width: none;
  margin: 0 0 1.5rem;
  color: #211d35;
  font: 800 clamp(3rem, 5.4vw, 5rem)/1.06 "TFA Condensed", Impact, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.logo-case__title > span { display: block; }
.logo-case__title .logo-case__script {
  padding: .06em 0 .12em;
  color: #8053bd;
  font: 400 .79em/1.3 "TFA Marker", cursive;
  letter-spacing: -.055em;
}
.logo-case__description {
  max-width: 34rem;
  margin: 0 0 1rem;
  color: #625c72;
  font-size: 1rem;
  line-height: 1.75;
}
.logo-case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  list-style: none;
}
.logo-case__tags li {
  padding: .5rem .8rem;
  border: 1px solid #dcd5e7;
  border-radius: 999px;
  color: #5b506c;
  font-size: .75rem;
  line-height: 1.3;
}
.page .logo-case__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.3rem;
  border: 1px solid #211d35;
  border-radius: 999px;
  color: #fff;
  background: #211d35;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.page .logo-case__link:hover { background: #463358; border-color: #463358; }
.logo-case__media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #29232f;
  border-radius: 24px;
  color: #f6f2e9;
  background: #000;
}
.logo-case__media-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  padding: 1.25rem 1.5rem 0;
  color: #b4a88b;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.logo-case__screen { position: relative; aspect-ratio: 1556 / 1328; }
.logo-case__screen img,
.logo-case__screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1.2rem 1.5rem;
  box-sizing: border-box;
  object-fit: contain;
}
.logo-case__screen img { z-index: 1; pointer-events: none; }
.logo-case__media.has-played .logo-case__screen img { visibility: hidden; }
.logo-case__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  min-height: 4.5rem;
  padding: 0 1.5rem 1rem;
  color: #b5b0bb;
  font-size: .72rem;
  line-height: 1.5;
}
.logo-case__caption strong { display: block; color: #fffaf5; font-size: .8rem; font-weight: 500; }
.logo-case__link:focus-visible { outline: 3px solid #a88ae5; outline-offset: 4px; }
.logo-case__fallback { color: #d6b6ff; }
.logo-case__playback {
  min-height: 44px;
  max-width: 100%;
  padding: .6rem .8rem;
  border: 1px solid #61596b;
  border-radius: 999px;
  color: #eee8f5;
  background: #17131c;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
}
.logo-case__playback:hover { border-color: #ad96c6; background: #26202e; }
.logo-case__playback:focus-visible { outline: 3px solid #a88ae5; outline-offset: 3px; }
.logo-case__workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  max-width: 76rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  padding-inline: 0;
  border-top: 1px solid #ded9e8;
  list-style: none;
}
.logo-case__workflow li { min-width: 0; }
.logo-case__step { color: #936dbd; font: 800 1.5rem/1 "TFA Condensed", Impact, sans-serif; }
.logo-case__workflow h3 { margin: .85rem 0 .6rem; color: #211d35; font-size: 1.05rem; letter-spacing: -.02em; }
.logo-case__workflow p { margin: 0; color: #625c72; font-size: .9rem; line-height: 1.75; }
.logo-case__onsite {
  max-width: 76rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid #ded9e8;
}
.logo-case__onsite-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 1.75rem;
}
.logo-case__onsite-header .logo-case__eyebrow { margin-bottom: .85rem; }
.logo-case__onsite-title {
  margin: 0;
  color: #211d35;
  font: 800 clamp(2rem, 3.5vw, 3.25rem)/1.08 "TFA Condensed", Impact, sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.logo-case__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0; }
.logo-case__facts dt {
  margin-bottom: .35rem;
  color: #69617b;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.logo-case__facts dd { margin: 0; color: #51485f; font-size: .85rem; line-height: 1.6; }
.logo-case__photos {
  display: grid;
  grid-template-columns: minmax(0, 16fr) minmax(0, 9fr) minmax(0, 16fr);
  gap: 1rem;
}
.logo-case__photo { min-width: 0; margin: 0; }
.logo-case__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #211d35;
}
.logo-case__photo figcaption {
  margin-top: .75rem;
  color: #625c72;
  font-size: .8rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .logo-case__layout { gap: 2rem; }
  .logo-case__workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page .logo-case__title { font-size: clamp(2.6rem, 5.5vw, 4rem); }
  .logo-case__onsite-header { align-items: start; flex-direction: column; }
}
@media (max-width: 700px) {
  .logo-case__layout { grid-template-columns: minmax(0, 1fr); }
  .page .logo-case__title { font-size: clamp(3rem, 11vw, 4.5rem); }
  .logo-case__media { width: 100%; max-width: 32rem; justify-self: center; border-radius: 18px; }
  .logo-case__screen img, .logo-case__screen video { padding: 1rem; }
  .logo-case__media-label { padding: 1.1rem 1rem 0; }
  .logo-case__caption { padding: 0 1rem 1rem; }
  .logo-case__workflow { gap: 1.8rem 1.3rem; }
  .logo-case__photos { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .logo-case__photo { width: 100%; max-width: 32rem; justify-self: center; }
}
@media (max-width: 400px) {
  .logo-case__workflow { grid-template-columns: minmax(0, 1fr); }
  .logo-case__tags { gap: .4rem; }
  .logo-case__tags li { padding: .45rem .65rem; }
}

/* tauschrevier.css */
/* TauschRevier continues the Soran showcase; shared typography, controls and
   breakpoints are supplied by logo-showcase.css. */
.tausch-case { padding-top: 0; }
.tausch-case > .logo-case__layout {
  padding-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid #ded9e8;
}
.tausch-case__stage {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
}
.tausch-case__brand { min-width: 0; text-align: center; }
.tausch-case__brand > img {
  display: block;
  width: 100%;
  max-width: 12rem;
  height: auto;
  margin: 0 auto 1.25rem;
}
.tausch-case__wordmark {
  display: block;
  color: #fffaf5;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.2;
}
.tausch-case__brand-note {
  display: block;
  margin-top: 1rem;
  color: #b5b0bb;
  font-size: .75rem;
  line-height: 1.65;
}
.tausch-case .tausch-case__screen {
  aspect-ratio: 620 / 816;
  overflow: hidden;
  border-radius: 14px;
  background: #16131e;
}
.tausch-case__screen img,
.tausch-case__screen video { padding: 0; }
.tausch-case__screen video { pointer-events: none; }
.tausch-case__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; }
.tausch-case__details {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  color: #5b506c;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.tausch-case__details:hover { color: #8053bd; }
.tausch-case__details:focus-visible,
.tausch-case__qr:focus-visible { outline: 3px solid #a88ae5; outline-offset: 4px; }
.tausch-case__qr {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  color: #625c72;
  font-size: .75rem;
  line-height: 1.6;
  text-decoration: none;
}
.tausch-case__qr img {
  width: 5.25rem;
  height: 5.25rem;
  padding: .25rem;
  border: 1px solid #dcd5e7;
  border-radius: 14px;
  background: #fff;
}
.tausch-case__qr strong { display: block; color: #211d35; font-weight: 600; }
.tausch-case__insights { scroll-margin-top: calc(var(--header-height, 100px) + 1rem); }
/* App insights: reveal on the stable outer item, tilt on the inner figure. */
.tausch-case__photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.tausch-case__item { min-width: 0; }
.tausch-case__photo {
  height: 100%;
  overflow: hidden;
  border: 1px solid #ded9e8;
  border-radius: var(--radius-lg);
  background: #fdfcfe;
  box-shadow: 0 1rem 2.5rem -.9rem #211d3514, inset 0 1px 0 #fff;
}
.tausch-case__preview {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.75rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse at 18% 12%, #fff 0%, transparent 58%),
    linear-gradient(145deg, #eeecf6, #e3e7f5 58%, #f4edf2);
  border-bottom: 1px solid #ded9e8;
}
.tausch-case__item:nth-child(2) .tausch-case__preview {
  background:
    radial-gradient(ellipse at 80% 10%, #fff 0%, transparent 58%),
    linear-gradient(145deg, #eeeaf6, #e5e2f3 58%, #edf0f9);
}
.tausch-case__preview::before,
.tausch-case__preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
/* A quiet orbit behind the screen; only its transform moves. */
.tausch-case__preview::before {
  width: 125%;
  height: 62%;
  border: 1px solid #ffffffb3;
  border-radius: 50%;
  background: radial-gradient(ellipse, #ffffff90, transparent 68%);
  box-shadow: 0 0 0 2rem #ffffff1f, 0 0 0 4rem #ffffff12;
  transform: rotate(-32deg);
}
.tausch-case__preview::after {
  inset: -25%;
  background: radial-gradient(ellipse at center, #fff9, transparent 60%);
  opacity: .28;
  transform: translate3d(var(--insight-light-x, 0px), var(--insight-light-y, 0px), 0);
}
.tausch-case__photo .tausch-case__preview img {
  width: min(100%, 11.75rem);
  height: auto;
  aspect-ratio: 720 / 1561;
  border: 1px solid #ffffff66;
  border-radius: 1.25rem;
  box-shadow: 0 1.6rem 2.2rem -1rem #211d3552, 0 .25rem .75rem #211d3524;
}
.tausch-case__photo figcaption {
  max-width: none;
  margin: 0;
  padding: 1.4rem 1.5rem 1.6rem;
  color: #625c72;
  font-size: .85rem;
  line-height: 1.7;
}
.tausch-case__photo figcaption strong {
  display: block;
  margin-bottom: .5rem;
  color: #211d35;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .tausch-case__item[data-reveal] {
    transform: translateY(1rem);
    transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  }
  html.js:where(.has-reveal-controller) .tausch-case__item[data-reveal].is-visible {
    transform: none;
  }
  .tausch-case__item.is-visible .tausch-case__preview::before {
    animation: insight-orbit-arrive 4s var(--ease-out) both;
  }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.js:where(.has-reveal-controller) .tausch-case__item[data-reveal]:nth-child(2) { transition-delay: 90ms; }
  html.js:where(.has-reveal-controller) .tausch-case__item[data-reveal]:nth-child(3) { transition-delay: 180ms; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tausch-case__photo {
    transition: transform 500ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease;
  }
  .tausch-case__preview::after { transition: transform 500ms var(--ease-out), opacity 300ms ease; }
  .tausch-case__item.is-pointer-active .tausch-case__photo {
    transform: perspective(1100px) rotateX(var(--insight-rotate-x, 0deg)) rotateY(var(--insight-rotate-y, 0deg)) translateY(-3px);
    border-color: #a5b4d9;
    box-shadow: 0 1.5rem 3rem -1rem #211d3529, 0 0 0 1px var(--color-accent-soft);
    transition-duration: 220ms, 300ms, 300ms;
  }
  .tausch-case__item.is-pointer-active .tausch-case__preview::after { opacity: .8; transition-duration: 220ms, 300ms; }
}
@keyframes insight-orbit-arrive {
  from { transform: translate3d(-3%, 3%, 0) rotate(-38deg); }
  to { transform: translate3d(0, 0, 0) rotate(-32deg); }
}
@media (prefers-reduced-motion: reduce) {
  html.js:where(.has-reveal-controller) .tausch-case__item[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.tausch-case__more { max-width: 52rem; margin: 1.75rem 0 0; font-size: .9rem; }
@media (max-width: 900px) {
  .tausch-case > .logo-case__layout { grid-template-columns: minmax(0, 1fr); }
  .tausch-case__media { width: 100%; max-width: 32rem; justify-self: center; }
  .tausch-case__stage { gap: .85rem; padding: 1.25rem; }
  .tausch-case__wordmark { font-size: 1.5rem; }
  .tausch-case__brand-note { font-size: .68rem; }
  .tausch-case__qr { display: none; }
  .tausch-case__photos { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tausch-case__item { width: 100%; max-width: 32rem; justify-self: center; }
  .tausch-case__preview { padding: 2.5rem 1.5rem 2rem; }
  .tausch-case__photo .tausch-case__preview img { width: min(100%, 12.5rem); }
}
@media (max-width: 700px) {
  .tausch-case__stage { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 1rem; }
  .tausch-case__brand > img { width: 8rem; margin-bottom: .8rem; }
  .tausch-case__wordmark { font-size: 1.65rem; }
  .tausch-case__brand-note { display: none; }
  .tausch-case__screen { width: 100%; max-width: 17rem; justify-self: center; }
  .tausch-case__screen img, .tausch-case__screen video { padding: 0; }
}
@media (max-width: 360px) {
  .page .tausch-case .logo-case__title { font-size: clamp(2.25rem, 12.5vw, 2.8rem); }
}

/* consent.css */
.tfa-consent[hidden] { display: none !important; }
.tfa-consent {
  position: fixed; z-index: 2147483000; inset: auto 20px 20px;
  max-width: 1120px; margin-inline: auto; padding: 26px 30px;
  max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  color: #20201e; background: #fffaf0; border: 1px solid #d1c9b9;
  border-radius: 18px; box-shadow: 0 12px 70px #171b2033;
  font: 15px/1.55 system-ui, sans-serif; text-align: left;
}
.tfa-consent__inner { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 30px; align-items: center; }
.tfa-consent__eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; font-weight: 750; }
.tfa-consent h2 { font: 700 22px/1.2 system-ui, sans-serif; margin: 7px 0 12px; color: inherit; letter-spacing: -.025em; }
.tfa-consent p { margin: 8px 0; font-size: 14px; color: inherit; }
.tfa-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tfa-consent__actions { display: grid; gap: 10px; }
.tfa-consent__actions button { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid #222b27; border-radius: 8px; background: #222b27; color: #fff; font: 650 14px/1.3 system-ui, sans-serif; cursor: pointer; }
.tfa-consent__actions button:hover { background: #39463d; }
.tfa-consent__actions .tfa-consent__close { background: transparent; color: #20201e; border-color: #b6b0a4; }
.tfa-consent :focus-visible { outline: 3px solid #447955; outline-offset: 4px; }
.tfa-consent__status:empty { display: none; }
.tfa-consent .tfa-consent__status { font-size: 12px; font-weight: 650; }
@media (max-width: 700px) {
  .tfa-consent { inset: auto 10px 10px; padding: 20px; max-height: calc(100dvh - 20px); border-radius: 14px; }
  .tfa-consent__inner { grid-template-columns: 1fr; gap: 12px; }
  .tfa-consent h2 { font-size: 20px; }
  .tfa-consent p { font-size: 13px; }
  .tfa-consent__actions { grid-template-columns: 1fr; gap: 8px; }
}

/* seasonal.css */
/* Rules belong only to mounted seasonal decorations; base design is untouched. */
.season-preview {
  margin: 1rem auto;
  padding: .75rem 1rem;
  max-width: 80rem;
  background: #fff5de;
  color: #352644;
  border: 1px solid #bca77c;
  border-radius: .75rem;
  font: 500 .875rem/1.6 var(--font-sans);
}
.season-preview a { color: inherit; text-decoration: underline; margin-left: 1rem; }
.season-scene, .season-hero {
  --season-ink: #fbf3e5;
  --season-muted: #c9bddb;
}
.season-scene {
  --season-accent: #ffb678;
  --season-background: #171022;
  --season-gradient-from: #4a315f;
  --season-gradient-to: #2d203e;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--season-ink);
  background: var(--season-background);
  padding: clamp(3rem, 6vw, 6rem) 0;
  scroll-margin-top: 6rem;
}
.season-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 35%, #70459d55, transparent 52%),
    radial-gradient(ellipse at 2% 95%, #dd78332b, transparent 42%);
}
.season-scene__inner {
  width: min(80rem, calc(100% - 2 * var(--gutter, 1.2rem)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.season-scene__eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--season-accent);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.season-scene__eyebrow::before {
  content: "";
  width: .5rem;
  height: .5rem;
  background: var(--season-accent);
  border-radius: 50%;
  box-shadow: 0 0 1rem #ffbc7b66;
}
.season-scene h2 {
  color: var(--season-ink);
  font: 800 clamp(2.3rem, 4.6vw, 4.8rem)/1.02 var(--font-sans);
  letter-spacing: -.055em;
  margin: 0;
  max-width: 11ch;
}
.season-scene h2 em { color: var(--season-accent); font-style: normal; }
.season-scene__intro {
  color: var(--season-muted);
  max-width: 36rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  margin: 1.5rem 0;
}
.season-scene__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.season-scene__cta, .season-scene__sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .8rem 1.1rem;
  border: 1px solid #766187;
  border-radius: .7rem;
  font: 650 .9rem/1.35 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}
.season-scene__cta { background: var(--season-accent); color: var(--season-button-ink, #291429); border-color: var(--season-accent); }
.season-scene__sound { background: #281c38; color: #f8edff; }
.season-scene__cta:hover { background: var(--season-accent); filter: brightness(1.1); color: var(--season-button-ink, #291429); }
.season-scene__sound:hover { background: #3b2a4d; }
.season-scene__cta:focus-visible, .season-scene__sound:focus-visible,
.season-preview a:focus-visible { outline: 3px solid #caacf6; outline-offset: 5px; }
.season-scene__sound[aria-pressed="true"] { border-color: var(--season-accent); }
.season-scene__sound:disabled { opacity: .7; cursor: default; }
.season-scene__sound svg { width: 1.1rem; height: 1.1rem; flex: none; }
.season-scene__note { color: var(--season-muted); font-size: .75rem; line-height: 1.6; margin: 1rem 0 0; }
.season-scene__stage { position: relative; min-width: 0; padding: 2.5rem .8rem 1.8rem; }
.season-scene__moon {
  position: absolute; width: 11rem; height: 11rem; top: 0; right: 6%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fce2b0, #ba8b83);
  box-shadow: 0 0 5rem #d0a4c927;
  opacity: .9;
}
.season-scene__moon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 65% 32%, #8c648633 0 7%, transparent 8%),
    radial-gradient(circle at 30% 62%, #8c64862b 0 13%, transparent 14%);
}
.season-scene__bat { position: absolute; width: 3.4rem; fill: #110b1b; top: 10%; right: 1%; transform: rotate(18deg); }
.season-scene__bat--small { width: 2.1rem; top: 4%; right: 40%; transform: rotate(-15deg); }
.season-scene__rig { position: relative; padding-top: 9rem; transform-origin: 51% 7%; transform: rotate(3deg); }
.season-scene__skeleton { position: absolute; z-index: 2; width: 14rem; height: 15rem; top: 0; left: calc(50% - 7rem); pointer-events: none; }
.season-scene__head-look, .season-scene__head-gesture {
  transform-box: view-box;
  transform-origin: 120px 112px;
}
.season-scene.is-skeleton-awake .season-scene__head-look {
  transform: translate(var(--season-look-x, 0px), var(--season-look-y, 0px)) rotate(var(--season-look-angle, 0deg));
  transition: transform .55s var(--ease-out);
}
.season-scene__eye-light { fill: var(--season-ink); opacity: 0; }
.season-scene.is-skeleton-greeting .season-scene__head-gesture { animation: season-head-greet 2.4s ease-in-out both; }
.season-scene.is-skeleton-greeting-mobile .season-scene__head-gesture { animation: season-head-mobile 1.8s ease-in-out both; }
.season-scene.is-skeleton-glowing .season-scene__eye-light { animation: season-eye-glow 1.4s ease-in-out; }
.season-scene.is-skeleton-nodding .season-scene__head-gesture { animation: season-head-nod 1.6s ease-in-out; }
@keyframes season-head-greet {
  0%, 15%, 100% { transform: rotate(0); }
  40% { transform: rotate(-5deg); }
  68% { transform: rotate(2deg); }
}
@keyframes season-head-mobile {
  0%, 100% { transform: rotate(0); }
  45% { transform: rotate(-2deg); }
}
@keyframes season-head-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(1px) rotate(1.5deg); }
}
@keyframes season-eye-glow {
  0%, 100% { opacity: 0; }
  45% { opacity: .45; }
}
.season-scene__card {
  position: relative;
  min-height: 16rem;
  padding: 4.6rem clamp(1.2rem, 3vw, 2.3rem) 2rem;
  border: 1px solid #a582bb;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, var(--season-gradient-from), var(--season-gradient-to) 70%);
  box-shadow: .6rem 1rem 0 #0c081250, 0 2rem 5rem #08040e66;
}
.season-scene__card::before, .season-scene__card::after {
  content: ""; position: absolute; top: 1rem; width: .5rem; height: .5rem;
  border-radius: 50%; background: var(--season-background); box-shadow: inset 0 1px 2px #000;
}
.season-scene__card::before { left: 1.1rem; }
.season-scene__card::after { right: 1.1rem; }
.season-scene__edition { color: #d7bee9; text-transform: uppercase; letter-spacing: .18em; font: 600 .65rem/1.5 var(--font-sans); margin: 0 0 .9rem; }
.season-scene__card strong { display: block; color: #fff0d9; font: 800 clamp(1.8rem, 3.2vw, 3.1rem)/1.06 var(--font-sans); letter-spacing: -.045em; max-width: 12ch; }
.season-scene__card-copy { color: #e1cce9; font: 400 .9rem/1.6 var(--font-sans); max-width: 28ch; margin: 1rem 0 0; }
.season-scene__pumpkin { position: absolute; bottom: -.6rem; right: -1rem; width: 6.5rem; height: 6.5rem; transform: rotate(-12deg); filter: drop-shadow(0 .5rem .5rem #0005); }
.season-scene__pumpkin { padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.season-scene__pumpkin svg { width: 100%; height: 100%; }
.season-scene__pumpkin:focus-visible { outline: 3px solid var(--season-ink); outline-offset: 4px; }
.season-scene__pumpkin[aria-disabled="true"] { cursor: default; }
.season-scene__face-surprise { display: none; }
.season-scene__pumpkin.is-surprised .season-scene__face-normal { display: none; }
.season-scene__pumpkin.is-surprised .season-scene__face-surprise { display: block; }
.season-scene__pumpkin.is-surprised svg { animation: season-pumpkin-wink .6s var(--ease-out); }
.season-scene__flight { position: absolute; inset: 0 0 auto; height: 5rem; overflow: hidden; pointer-events: none; }
.season-scene__flyer { position: absolute; left: -4rem; top: 1.5rem; width: 2.5rem; fill: var(--season-muted); opacity: 0; }
.season-scene__flyer.is-flying { animation: season-bat-pass 3.2s ease-in-out; }
.season-egg-host { position: relative; }
.season-egg-ghost { position: absolute; right: 16px; bottom: 72px; width: 54px; height: 60px; overflow: hidden; pointer-events: none; z-index: 2; }
.season-egg-ghost svg { width: 100%; height: 100%; transform: translateY(100%); }
.season-egg-ghost.is-peeking svg { animation: season-ghost-peek 2.2s ease-in-out; }
.season-egg-ghost.is-touch svg { animation: season-ghost-touch 1.6s ease-in-out; }
@keyframes season-pumpkin-wink {
  0%, 100% { transform: rotate(0); }
  45% { transform: rotate(5deg); }
}
@keyframes season-bat-pass {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: .65; }
  0% { transform: translateX(0) translateY(0) rotate(-8deg); }
  50% { transform: translateX(50vw) translateY(.7rem) rotate(5deg); }
  100% { transform: translateX(calc(100vw + 4rem)) translateY(0) rotate(-8deg); }
}
@keyframes season-ghost-peek {
  0%, 100% { transform: translateY(100%) rotate(0); }
  35%, 65% { transform: translateY(12%) rotate(-7deg); }
}
@keyframes season-ghost-touch {
  0%, 100% { transform: translateY(25%); opacity: 0; }
  35%, 65% { transform: translateY(25%); opacity: 1; }
}
.season-scene__caption { color: #c9b7d9; font: 500 .7rem/1.5 var(--font-sans); text-align: center; margin: 2rem 0 0; letter-spacing: .04em; }
.season-scene.is-playing .season-scene__rig { animation: season-catch 3.8s ease-out both; }
.season-scene.is-paused .season-scene__rig { animation-play-state: paused; }
@keyframes season-catch {
  0%, 10% { transform: rotate(0); }
  28% { transform: rotate(9deg); }
  46% { transform: rotate(-3deg); }
  65% { transform: rotate(5deg); }
  83% { transform: rotate(2deg); }
  100% { transform: rotate(3deg); }
}
@media (max-width: 760px) {
  .season-scene__inner { grid-template-columns: 1fr; gap: 2rem; }
  .season-scene h2 { max-width: 15ch; font-size: clamp(2.3rem, 8vw, 3.8rem); }
  .season-scene__intro { max-width: 42ch; }
  .season-scene__stage { width: min(100%, 28rem); margin-inline: auto; padding-top: 1rem; }
  .season-scene__moon { width: 9rem; height: 9rem; }
  .season-scene__card { min-height: 14rem; }
  .season-scene__card strong { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .season-scene__pumpkin { right: -.5rem; width: 5rem; height: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .season-scene.is-playing .season-scene__rig { animation: none; }
  .season-scene .season-scene__head-look,
  .season-scene .season-scene__head-gesture,
  .season-scene .season-scene__eye-light { animation: none; transition: none; transform: none; }
  .season-scene .season-scene__eye-light { opacity: 0; }
  .season-scene__pumpkin.is-surprised svg { animation: none; }
  .season-scene__flight, .season-egg-ghost { display: none; }
}

/* Additive light inside the existing hero background. Never replace its palette,
   scroll properties, chromatic pointer wash, canvas or foreground stacking. */
.season-hero {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 93% 72%, #dd78332e, transparent 42%),
    radial-gradient(ellipse at 8% 22%, #dd78331c, transparent 32%),
    linear-gradient(160deg, transparent 25%, #24133436 65%, transparent);
}
.season-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  opacity: .07;
}
.season-hero__fog {
  position: absolute;
  inset: 50% -6% -8%;
  opacity: .09;
  background:
    radial-gradient(ellipse 42% 16% at 24% 68%, var(--season-muted), transparent),
    radial-gradient(ellipse 40% 20% at 74% 83%, var(--season-ink), transparent);
}
.season-hero__shadow {
  position: absolute;
  top: 15%;
  right: 8%;
  width: min(26vw, 300px);
  height: 18%;
  opacity: 0;
  background: radial-gradient(ellipse, var(--hero-ink), transparent 68%);
}
.season-hero.is-drifting .season-hero__fog {
  animation: season-hero-mist 18s 3.5s ease-in-out 2 both;
}
.season-hero.is-drifting .season-hero__shadow {
  animation: season-hero-shadow 6s 11s ease-in-out 1 both;
}
.season-hero.is-paused :is(.season-hero__fog, .season-hero__shadow) { animation-play-state: paused; }
@keyframes season-hero-mist {
  0%, 100% { opacity: .09; transform: translate3d(-2%, 0, 0); }
  50% { opacity: .19; transform: translate3d(2%, -3%, 0); }
}
@keyframes season-hero-shadow {
  0%, 100% { opacity: 0; transform: translate3d(6%, 0, 0); }
  50% { opacity: .22; transform: translate3d(-6%, 4%, 0); }
}
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .season-hero__shadow { display: none; }
  .season-hero.is-drifting .season-hero__fog {
    animation-name: season-hero-mist-mobile;
    animation-duration: 12s;
    animation-iteration-count: 1;
  }
  @keyframes season-hero-mist-mobile {
    0%, 100% { opacity: .09; }
    50% { opacity: .14; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .season-hero.is-drifting :is(.season-hero__fog, .season-hero__shadow) { animation: none; }
  .season-hero__shadow { display: none; }
}
@media (forced-colors: active) {
  .season-hero { display: none; }
}

/* Only visible after explicit opt-in; stays reachable at the project ghost. */
.season-audio[hidden] { display: none; }
.season-audio {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem .75rem;
  width: min(22rem, calc(100vw - 2rem));
  padding: .7rem .9rem;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-float);
  font: 500 .8rem/1.4 var(--font-sans);
}
.season-audio label { display: flex; justify-content: space-between; gap: .5rem; }
.season-audio input { grid-column: 1; width: 100%; min-width: 0; min-height: 2rem; margin: 0; accent-color: var(--color-accent); }
.season-audio button {
  grid-column: 2; grid-row: 1 / 3;
  max-width: 8rem; min-height: 2.75rem;
  padding: .4rem .65rem;
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm);
  color: var(--color-text); background: var(--color-bg-soft);
  font: inherit; cursor: pointer;
}
.season-audio :is(button, input):focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* No eligible real offer: no countdown footprint, even in the design preview. */
.season-countdown[hidden] { display: none; }
.season-countdown {
  margin-top: 1.5rem;
  padding: 1.1rem 0 2.6rem;
  border-top: 1px solid var(--season-muted);
  color: var(--season-ink);
}
.season-countdown__offer { margin: 0 0 .9rem; font: 650 .95rem/1.4 var(--font-sans); overflow-wrap: anywhere; }
.season-countdown__digits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.season-countdown__digits > div { display: flex; flex-direction: column-reverse; gap: .3rem; text-align: center; }
.season-countdown__digits dt { color: var(--season-muted); font: 500 .7rem/1.4 var(--font-sans); }
.season-countdown__digits dd {
  margin: 0; padding: .6rem .15rem;
  border: 1px solid #c9bddb38; border-radius: .55rem;
  background: #17102255;
  font: 650 clamp(1.4rem, 3vw, 2.1rem)/1.1 var(--font-sans);
  font-variant-numeric: tabular-nums;
}
.season-countdown.is-final-day .season-countdown__digits dd { border-color: #ffb67880; background: #dd78330d; }
.season-countdown__note, .season-countdown__end { margin: .65rem 0 0; color: var(--season-muted); font: 400 .7rem/1.5 var(--font-sans); }
.season-countdown a { display: inline-block; padding-block: .7rem; color: var(--season-ink); font-size: .8rem; text-underline-offset: .2em; }
.season-countdown a:focus-visible { outline: 3px solid var(--season-ink); outline-offset: 3px; }

.season-scene [hidden], .season-hero [hidden] { display: none !important; }
.season-scene[data-season-background="off"]::before { display: none; }

.season-scene [data-season-text] { overflow-wrap: anywhere; }
