@font-face {
  font-display: swap;
  font-family: "ReferenceSans";
  font-style: normal;
  font-weight: 500;
  /* General Sans Medium – Indian Type Foundry / Fontshare, ITF Free Font License (kommerziell frei, self-hosted) */
  src: url("assets/fonts/generalsans-medium.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "ReferenceSans";
  font-style: normal;
  font-weight: 400;
  /* General Sans Regular – für dünnere graue Beschreibungstexte (.text-gray) */
  src: url("assets/fonts/generalsans-regular.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #121312;
  --panel: #151615;
  --panel-border: #1c1d1c;
  --text: #d6d6d6;
  --primary: #d6d6d6;
  --secondary: #bababa;
  --tertiary: #9f9f9f;
  --muted: #838483;
  --accent-red: #ff3b30;
  --page-pad: clamp(16px, 3.2vw, 68px);
  --content-max: 1840px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--primary);
  font-family: "ReferenceSans";
  font-weight: 500;
  letter-spacing: 0;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: "ReferenceSans";
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - var(--page-pad) * 2, var(--content-max));
  min-height: 100vh;
  margin-inline: auto;
  padding: calc(var(--nav-height) + var(--nav-offset) + clamp(70px, 10vh, 92px)) 0 0;
  display: flex;
  flex-direction: column;
}

.page-shell > .footer-bar {
  margin-top: auto;
}

.page-shell > :has(+ .footer-bar) {
  margin-bottom: 49px;
}

@keyframes page-section-reveal {
  from {
    opacity: 0;
    filter: blur(6px) saturate(0.9);
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translateY(0);
  }
}

.page-shell > section {
  animation: page-section-reveal 780ms cubic-bezier(.16, 1, .3, 1) both;
}

.page-shell > section:nth-of-type(1) {
  animation-delay: 70ms;
}

.page-shell > section:nth-of-type(2) {
  animation-delay: 140ms;
}

.page-shell > section:nth-of-type(3) {
  animation-delay: 210ms;
}

.page-shell > section:nth-of-type(4) {
  animation-delay: 280ms;
}

@media (prefers-reduced-motion: reduce) {
  .page-shell > section {
    animation: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(360px, 1fr);
  gap: clamp(48px, 9vw, 180px);
  align-items: start;
}

.intro {
  padding-top: 21px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-red);
  font-family: "ReferenceSans";
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}

.text-gray {
  color: var(--tertiary);
  font-weight: 400;
  line-height: 1.55;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 500px;
  margin-bottom: 32px;
  font-family: "ReferenceSans";
  font-size: clamp(34px, 2.75vw, 40px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--text);
}

.case-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.case-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.section-heading,
.case-card h2,
.case-card-heading,
.metric-value {
  max-width: 360px;
  margin: 0;
  font-family: "ReferenceSans";
  letter-spacing: 0;
  font-weight: 500;
  color: var(--primary);
}

.section-heading {
  max-width: 520px;
  font-size: clamp(28px, 2.2vw, 34px);
  line-height: 1.07;
}

.case-card h2,
.case-card-heading {
  font-size: clamp(20px, 1.35vw, 23px);
  line-height: 1.08;
}

.project-gallery-copy .case-card-heading,
.process-item .case-card-heading {
  font-size: 14px;
  line-height: 1.3;
}

.metric-value {
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1;
}

.case-card a,
.text-link {
  width: max-content;
  color: var(--primary);
  font-family: "ReferenceSans";
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
}

.case-card a:hover,
.case-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
  outline: none;
}

.about-apply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-apply svg {
  width: 15px;
  height: auto;
  fill: currentColor;
  flex: none;
  transition: color 180ms ease;
}

.about-apply,
.about-apply svg {
  transition: color 180ms ease;
}

.about-apply:hover,
.about-apply:focus-visible {
  color: var(--accent-red);
}

.video-section {
  width: 100%;
  margin-top: clamp(42px, 6vw, 86px);
}

.hero-video {
  width: 100%;
  height: clamp(300px, 42vw, 620px);
  display: block;
  border-radius: var(--radius);
  background: var(--panel);
  object-fit: cover;
}

.overview-section {
  width: 100%;
  scroll-margin-top: calc(var(--nav-height) + var(--nav-offset) + 42px);
  margin-top: clamp(34px, 4.2vw, 58px);
  padding: clamp(54px, 6vw, 92px) 0 clamp(54px, 7vw, 104px);
  display: grid;
  grid-template-columns: minmax(320px, 0.36fr) minmax(0, 1fr);
  column-gap: clamp(58px, 8vw, 148px);
  row-gap: clamp(38px, 4.5vw, 72px);
  align-items: start;
}

.overview-head {
  display: contents;
}

.overview-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  gap: 20px;
}

.overview-copy .eyebrow,
.overview-copy .section-heading {
  margin: 0;
}

.overview-copy .section-heading {
  max-width: 14em;
}

.overview-copy .text-gray {
  max-width: 42em;
}

.overview-stats {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: clamp(18px, 1.8vw, 26px) 0;
  border-top: 1px solid rgba(214, 214, 214, 0.08);
  border-bottom: 1px solid rgba(214, 214, 214, 0.08);
}

.stat-card {
  position: relative;
  min-height: auto;
  padding: 0 clamp(22px, 3vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stat-card:first-child {
  padding-left: 0;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  bottom: 4px;
  width: 1px;
  background: rgba(214, 214, 214, 0.08);
}

.metric-value {
  margin-bottom: 10px;
}

.services-grid {
  width: 100%;
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(48px, 5vw, 92px) clamp(54px, 6vw, 118px);
  margin-top: 0;
}

.service-row {
  display: grid;
  grid-template-columns: clamp(34px, 2.7vw, 44px) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 12px clamp(18px, 2vw, 30px);
}

.service-row .case-card-heading,
.service-row .eyebrow {
  margin: 0;
}

.service-row .case-card-heading {
  grid-column: 2;
  max-width: 12em;
  font-size: 14px;
  line-height: 1.3;
}

.service-row > .eyebrow {
  grid-column: 2;
  max-width: 24em;
}

.service-icon {
  width: clamp(34px, 2.9vw, 44px);
  height: clamp(34px, 2.9vw, 44px);
  display: block;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 2px 0 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.54;
  filter: grayscale(1) brightness(1.12) contrast(0.64);
  transform: scale(var(--service-icon-scale, 1));
  transform-origin: 50% 50%;
}

.service-row:nth-child(1) {
  --service-icon-scale: 1.06;
}

.service-row:nth-child(2) {
  --service-icon-scale: 0.96;
}

.service-row:nth-child(3) {
  --service-icon-scale: 1.04;
}

.service-row:nth-child(4) {
  --service-icon-scale: 0.86;
}

.service-row:nth-child(4) .service-icon img {
  opacity: 0.5;
  filter: grayscale(1) brightness(1.1) contrast(0.58);
}

.project-gallery-section {
  width: 100%;
  margin-top: clamp(12px, 3vw, 42px);
  padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 90px);
}

.project-gallery-header {
  max-width: 760px;
  margin-bottom: clamp(24px, 3.4vw, 46px);
  display: grid;
  gap: 12px;
}

.project-gallery-header .section-heading {
  max-width: 15em;
}

.project-gallery {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.project-gallery-track {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 1.6vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 0 18px;
  scrollbar-width: none;
}

.project-gallery-track::-webkit-scrollbar {
  display: none;
}

.project-gallery-card {
  --gallery-filter: saturate(1.04) contrast(1.04) brightness(0.99);
  position: relative;
  display: block;
  flex: 0 0 clamp(360px, 42vw, 540px);
  aspect-ratio: 3 / 2;
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(214, 214, 214, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.project-gallery-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 62%;
  background:
    linear-gradient(180deg, rgba(9, 10, 9, 0) 0%, rgba(9, 10, 9, 0.5) 42%, rgba(9, 10, 9, 0.92) 100%);
  pointer-events: none;
}

.project-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: var(--gallery-filter);
}

.project-gallery-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-height: 0;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  gap: 9px;
  align-content: end;
  background: transparent;
}

.project-gallery-copy .eyebrow {
  grid-column: 1;
  margin: 0;
  color: rgba(214, 214, 214, 0.72);
}

.project-gallery-copy .case-card-heading {
  grid-column: 1;
  max-width: 16em;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.3;
  text-wrap: balance;
}

.project-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.project-gallery-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 214, 214, 0.14);
  border-radius: 999px;
  background: rgba(21, 22, 21, 0.72);
  color: var(--secondary);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-gallery-arrow:hover,
.project-gallery-arrow:focus-visible {
  border-color: rgba(214, 214, 214, 0.24);
  background: rgba(214, 214, 214, 0.08);
  color: var(--text);
  outline: none;
}

.project-gallery-controls {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.project-gallery-arrow {
  position: relative;
  width: 34px;
  height: 34px;
}

.project-gallery-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform-origin: center;
}

.project-gallery-arrow[data-gallery-direction="-1"]::before {
  transform: translate(-43%, -50%) rotate(-135deg);
}

.project-gallery-arrow[data-gallery-direction="1"]::before {
  transform: translate(-57%, -50%) rotate(45deg);
}

.process-section {
  width: 100%;
  scroll-margin-top: calc(var(--nav-height) + var(--nav-offset) + 42px);
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 148px);
  align-items: start;
  margin-top: clamp(14px, 3.2vw, 42px);
  padding: clamp(52px, 7vw, 104px) 0 clamp(54px, 7vw, 96px);
}

.process-section__intro {
  position: sticky;
  top: calc(var(--nav-height) + var(--nav-offset) + 34px);
  display: grid;
  gap: 22px;
}

.process-section__intro .eyebrow,
.process-section__intro .section-heading {
  margin: 0;
}

.process-section__intro .section-heading {
  max-width: 12em;
}

.process-list {
  display: grid;
  gap: clamp(30px, 4vw, 58px);
}

.process-item {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: start;
}

.process-item .eyebrow,
.process-item .case-card-heading {
  margin: 0;
}

.process-item > .eyebrow {
  max-width: 34em;
}

.subpage-shell {
  padding-bottom: 0;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(360px, 1fr);
  gap: clamp(48px, 9vw, 180px);
  align-items: start;
}

.about-story-section,
.faq-section {
  width: 100%;
  margin-top: clamp(42px, 6vw, 92px);
  padding: clamp(44px, 7vw, 98px) 0 clamp(42px, 6vw, 84px);
}

.about-story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: start;
}

.about-story-copy {
  display: grid;
  gap: 22px;
}

.about-story-copy .eyebrow,
.about-story-copy .case-card-heading {
  margin: 0;
}

.about-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  grid-auto-rows: clamp(210px, 24vw, 360px);
  gap: clamp(14px, 1.4vw, 22px);
}

.about-image {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02) brightness(0.84);
}

.about-image--large {
  grid-row: span 2;
  object-position: 50% 72%;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--panel-border);
}

.faq-item {
  min-height: clamp(112px, 9vw, 156px);
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 72px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--panel-border);
}

.faq-item .eyebrow,
.faq-item .case-card-heading {
  margin: 0;
}

.faq-item > .eyebrow:first-child {
  color: var(--muted);
}

.faq-item > .eyebrow:last-child {
  max-width: 34em;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(360px, 0.62fr);
  gap: clamp(42px, 8vw, 150px);
  align-items: start;
  padding-bottom: clamp(52px, 7vw, 98px);
}

.about-hero-copy,
.about-montage-copy,
.about-work-heading,
.faq-hero-copy {
  display: grid;
  gap: 22px;
}

.about-hero-copy .eyebrow,
.about-montage-copy .eyebrow,
.about-montage-copy .case-card-heading,
.about-work-heading .eyebrow,
.about-work-heading .section-heading,
.about-work-heading .text-gray,
.faq-hero-copy .eyebrow {
  margin: 0;
}

.about-hero-copy {
  padding-top: 34px;
}

.about-hero-copy .text-gray,
.about-montage-copy .text-gray {
  max-width: 50em;
}

.about-montage-section,
.about-work-section,
.service-box-section {
  width: 100%;
  margin-top: 0;
  padding: clamp(36px, 6vw, 84px) 0 clamp(42px, 6vw, 84px);
}

.service-box-section {
  --service-row-gap: clamp(14px, 1.2vw, 18px);
  --service-card-min-height: clamp(224px, 14vw, 260px);
  --service-card-min-height-mobile: 224px;
  --service-card-active-lift: clamp(16px, 1.15vw, 23px);
  --service-card-padding: clamp(18px, 1.2vw, 22px);
  --service-card-cut: clamp(32px, 3vw, 44px);
  --service-button-size: 32px;
  --service-button-inset: 18px;
  --service-ease-out: cubic-bezier(.25, .46, .45, .94);
  --service-ease-in-out: cubic-bezier(.645, .045, .355, 1);
}

.about-montage-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: start;
}

.about-montage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(142px, 10vw, 188px);
  gap: clamp(14px, 1.4vw, 22px);
}

.about-montage-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(214, 214, 214, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.about-montage-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04) brightness(0.99);
}

.about-montage-item::after {
  display: none;
}

.about-montage-item-main {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}

.about-montage-item-wide {
  grid-column: 6 / 13;
  grid-row: 1 / 3;
}

.about-montage-item-portrait {
  grid-column: 6 / 9;
  grid-row: 3 / 5;
}

.about-montage-item-small {
  grid-column: 9 / 13;
  grid-row: 3 / 5;
}

.about-montage-item-tall {
  grid-column: 1 / 6;
  grid-row: 3 / 5;
}

.about-montage-item-main img {
  object-position: 50% 14%;
}

.about-montage-item-wide img {
  object-position: 50% 42%;
}

.about-montage-item-portrait img {
  object-position: 50% 16%;
}

.about-montage-item-small img {
  object-position: 50% 42%;
}

.about-montage-item-tall img {
  object-position: 50% 35%;
}

.about-montage-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  max-width: calc(100% - 36px);
  margin: 0;
  color: var(--secondary);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.72);
}

.about-work-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 148px);
  align-items: start;
}

.about-work-heading {
  position: sticky;
  top: calc(var(--nav-height) + var(--nav-offset) + 34px);
  display: grid;
  gap: 22px;
}

.about-work-heading .eyebrow,
.about-work-heading .section-heading {
  margin: 0;
}

.about-work-heading .section-heading {
  max-width: 12em;
}

.about-work-heading .text-gray {
  max-width: 34em;
}

.about-work-list {
  display: grid;
  gap: clamp(30px, 4vw, 58px);
}

.about-work-item {
  display: grid;
  grid-template-columns: minmax(340px, 0.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: start;
}

.about-work-item .eyebrow,
.about-work-item .case-card-heading {
  margin: 0;
}

.about-work-item > .eyebrow {
  max-width: 34em;
}

.about-accordion {
  display: grid;
  border-top: 1px solid var(--panel-border);
}

.about-accordion-item {
  border-bottom: 1px solid var(--panel-border);
}

.about-accordion-trigger {
  width: 100%;
  min-height: clamp(86px, 7vw, 118px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

.about-accordion-trigger .case-card-heading {
  margin: 0;
}

.about-accordion-icon,
.service-box-plus {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(214, 214, 214, 0.14);
  border-radius: 999px;
  background: rgba(21, 22, 21, 0.72);
  color: var(--secondary);
}

.about-accordion-icon::before,
.about-accordion-icon::after,
.service-box-plus::before,
.service-box-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.about-accordion-icon::after,
.service-box-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s ease;
}

.about-accordion-item.is-open .about-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-box-card.active .service-box-plus::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-accordion-panel,
  .about-accordion-icon::after {
    transition: none;
  }
}

.about-accordion-panel {
  max-width: 52em;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.35s ease;
}

.about-accordion-panel > * {
  overflow: hidden;
  min-height: 0;
}

.about-accordion-item.is-open .about-accordion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.about-accordion-panel .eyebrow {
  margin: 0;
  padding: 0 64px clamp(24px, 2.4vw, 34px) 0;
}

.faq-hero {
  min-height: 0;
  display: grid;
  align-items: start;
  padding-bottom: clamp(54px, 5vw, 76px);
}

.faq-hero-copy {
  width: min(100%, 620px);
  margin-left: 0;
  text-align: left;
}

.faq-page-shell .service-box-section {
  padding-top: 0;
  padding-bottom: clamp(92px, 9vw, 148px);
}

.service-box-grid {
  display: flex;
  flex-direction: column;
  gap: var(--service-row-gap);
  width: 100%;
  isolation: isolate;
}

.service-box-row {
  display: flex;
  gap: var(--service-row-gap);
  transition: transform .5s var(--service-ease-in-out);
}

.service-box-card {
  position: relative;
  min-height: var(--service-card-min-height);
  flex: .9 1 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: var(--service-card-padding);
  border: 1px solid rgba(214, 214, 214, 0.065);
  border-radius: 3px;
  background-color: rgba(8, 9, 8, 0.94);
  background-image:
    radial-gradient(120% 82% at 18% 0%, rgba(241, 241, 241, 0.07) 0%, rgba(241, 241, 241, 0.026) 36%, rgba(241, 241, 241, 0) 68%),
    linear-gradient(180deg, rgba(241, 241, 241, 0.018) 0%, rgba(17, 18, 17, 0.96) 44%, rgba(8, 9, 8, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(241, 241, 241, 0.034),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition:
    background-color .42s var(--service-ease-out),
    border-color .42s var(--service-ease-out),
    box-shadow .42s var(--service-ease-out),
    transform .42s var(--service-ease-out),
    min-height .58s var(--service-ease-in-out),
    flex .58s var(--service-ease-in-out);
}

.service-box-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(90% 72% at 50% 0%, rgba(241, 241, 241, 0.024) 0%, rgba(241, 241, 241, 0.006) 48%, rgba(241, 241, 241, 0) 78%);
  opacity: .82;
  pointer-events: none;
}

/* Feines Dither-Overlay gegen Color-Banding (Streifen/Ringe) im dunklen Verlauf */
.service-box-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.service-box-card:hover,
.service-box-card:focus-within {
  background-color: rgba(11, 12, 11, 0.96);
  background-image:
    radial-gradient(120% 82% at 18% 0%, rgba(241, 241, 241, 0.082) 0%, rgba(241, 241, 241, 0.03) 36%, rgba(241, 241, 241, 0) 68%),
    linear-gradient(180deg, rgba(241, 241, 241, 0.024) 0%, rgba(18, 19, 18, 0.97) 44%, rgba(9, 10, 9, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(241, 241, 241, 0.046),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 .26rem .75rem rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.service-box-card.active {
  flex: 1.65 1 0;
  min-height: calc(var(--service-card-min-height) + var(--service-card-active-lift));
  background-color: rgba(12, 13, 12, 0.97);
  background-image:
    radial-gradient(120% 82% at 18% 0%, rgba(241, 241, 241, 0.088) 0%, rgba(241, 241, 241, 0.034) 36%, rgba(241, 241, 241, 0) 68%),
    linear-gradient(180deg, rgba(241, 241, 241, 0.026) 0%, rgba(19, 20, 19, 0.98) 44%, rgba(10, 11, 10, 0.99) 100%);
  transform: none;
}

.service-box-card .case-card-heading,
.service-box-card .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
}

.service-box-card .case-card-heading {
  max-width: min(100%, 22ch);
  font-size: 16px;
  line-height: 1.25;
}

.service-box-content {
  position: absolute;
  right: calc(var(--service-button-size) + var(--service-button-inset) + 18px);
  bottom: var(--service-button-inset);
  left: var(--service-button-inset);
  width: auto;
  max-width: min(42em, calc(100% - var(--service-button-size) - (var(--service-button-inset) * 2) - 18px));
  max-height: none;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity .32s var(--service-ease-out);
}

.service-box-card.active .service-box-content {
  opacity: 1;
}

.service-box-plus {
  position: absolute;
  z-index: 1;
  right: var(--service-button-inset);
  bottom: var(--service-button-inset);
  width: var(--service-button-size);
  height: var(--service-button-size);
  flex: 0 0 var(--service-button-size);
  background: rgba(241, 241, 241, 0.04);
  border-color: rgba(241, 241, 241, 0.13);
  cursor: pointer;
  transition:
    background-color .32s var(--service-ease-in-out),
    border-color .32s var(--service-ease-in-out);
}

.service-box-card:hover .service-box-plus,
.service-box-plus:focus-visible,
.service-box-card.active .service-box-plus {
  background: rgba(241, 241, 241, 0.0725);
  border-color: rgba(241, 241, 241, 0.23);
}

.contact-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100vw;
  overflow: hidden;
  padding: 18px;
  pointer-events: none;
}

.contact-panel[aria-hidden="true"] {
  display: none;
}

.contact-panel::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(18, 19, 18, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

body.contact-panel-open {
  overflow: hidden;
}

body.contact-panel-open .contact-panel {
  pointer-events: auto;
}

body.contact-panel-open .contact-panel::before {
  opacity: 1;
  pointer-events: auto;
}

.contact-panel__inner {
  width: min(620px, calc(100vw - 36px));
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  display: grid;
  align-content: start;
  gap: 24px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transform: translateX(calc(-100% - 36px));
  visibility: hidden;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 520ms;
}

body.contact-panel-open .contact-panel__inner {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.contact-panel__close {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(214, 214, 214, 0.14);
  border-radius: 999px;
  background: #121312;
  color: var(--secondary);
  cursor: pointer;
}

.contact-panel__close::before,
.contact-panel__close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
}

.contact-panel__close::before {
  transform: rotate(45deg);
}

.contact-panel__close::after {
  transform: rotate(-45deg);
}

.contact-panel__close:hover,
.contact-panel__close:focus-visible {
  color: var(--text);
  outline: none;
}

.contact-panel__copy {
  display: grid;
  gap: 18px;
}

.contact-panel__copy .eyebrow,
.contact-panel__copy .case-card-heading {
  margin: 0;
}

.contact-panel__social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 32px;
}

.contact-panel__social-link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(214, 214, 214, 0.06);
  color: var(--tertiary);
  text-decoration: none;
}

.contact-panel__social-link:hover,
.contact-panel__social-link:focus-visible {
  color: var(--text);
  outline: none;
}

.contact-panel__social-link svg {
  width: 12px;
  height: 12px;
  display: block;
}

.contact-panel__social-link path {
  fill: currentColor;
}

.contact-panel__social-link rect,
.contact-panel__social-link circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.contact-panel-bird-flight {
  position: fixed;
  z-index: 160;
  width: clamp(124px, 12vw, 176px);
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88) rotate(-7deg);
  transform-origin: 50% 50%;
  animation: contact-bird-flight 4400ms linear forwards;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

@keyframes contact-bird-flight {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78) rotate(-6deg);
  }

  8% {
    opacity: 0.98;
  }

  35% {
    opacity: 0.94;
    transform: translate(calc(-50% + var(--bird-x-1)), calc(-50% + var(--bird-y-1))) scale(0.96) rotate(-1deg);
  }

  70% {
    opacity: 0.88;
    transform: translate(calc(-50% + var(--bird-x-2)), calc(-50% + var(--bird-y-2))) scale(0.92) rotate(3deg);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--bird-exit-x)), calc(-50% + var(--bird-exit-y))) scale(0.76) rotate(12deg);
  }
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label,
.contact-form__source {
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span,
.contact-form__source legend,
.contact-form__consent {
  color: var(--tertiary);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid #252625;
  border-radius: 8px;
  background: #121312;
  background-clip: padding-box;
  box-shadow: none;
  color: var(--primary);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  outline: none;
}

.contact-form input:-webkit-autofill,
.contact-form select:-webkit-autofill,
.contact-form textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px #121312 inset;
  -webkit-text-fill-color: var(--primary);
  caret-color: var(--primary);
}

.contact-form input,
.contact-form select {
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(214, 214, 214, 0.42);
}

.contact-form__wide,
.contact-form__source,
.contact-form__consent,
.contact-form__submit {
  grid-column: 1 / -1;
}

.contact-form__source {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-form__choices label {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #252625;
  border-radius: 8px;
  background: #121312;
  box-shadow: none;
  color: var(--primary);
  cursor: pointer;
}

.contact-form__choices input {
  width: 14px;
  min-height: 14px;
  height: 14px;
  flex: 0 0 14px;
  accent-color: var(--accent-red);
}

.contact-form__referral[hidden] {
  display: none;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-form__consent input {
  width: 14px;
  min-height: 14px;
  height: 14px;
  margin-top: 1px;
  flex: 0 0 14px;
  accent-color: var(--accent-red);
}

.contact-form__submit {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: var(--text);
  color: var(--panel);
  cursor: pointer;
}

.contact-form__submit svg {
  width: 15px;
  fill: currentColor;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.footer-bar {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 49px 0 0;
  padding: 24px 32px;
  border: 1px solid var(--panel-border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}

.footer-bar p {
  margin: 0;
}

.footer-bar__left {
  text-align: left;
}

.footer-bar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  text-align: right;
}

.footer-bar__right > span {
  white-space: nowrap;
}

.footer-socials {
  position: relative;
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
  padding-left: 18px;
}

.footer-socials::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(214, 214, 214, 0.16);
  transform: translateY(-50%);
}

.footer-social-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(214, 214, 214, 0.028);
  color: var(--muted);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: rgba(214, 214, 214, 0.055);
  color: var(--secondary);
  outline: none;
}

.footer-social-link svg {
  width: 12px;
  height: 12px;
  display: block;
}

.footer-social-link path {
  fill: currentColor;
}

.footer-social-link rect,
.footer-social-link circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

@media (max-width: 900px) {
  .page-shell {
    padding: 152px 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro {
    padding-top: 0;
  }

  h1 {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: clamp(30px, 8.2vw, 39px);
  }

  .section-heading {
    font-size: clamp(26px, 7vw, 34px);
  }

  .case-card {
    min-height: 230px;
  }

  .video-section {
    margin-top: 32px;
  }

  .hero-video {
    height: clamp(240px, 58vw, 460px);
  }

  .overview-section {
    margin-top: 32px;
    padding: 46px 0 62px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .overview-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .overview-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .overview-stats {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-bottom: clamp(18px, 1.8vw, 26px);
  }

  .services-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 34px;
    margin-top: 0;
  }

  .service-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
  }

  .project-gallery-card {
    flex-basis: clamp(300px, 46vw, 430px);
  }

  .process-cta .nav-button--primary {
    width: auto;
    padding: 11px 16px;
  }

  .process-cta .nav-button--primary span {
    display: inline;
  }

  .process-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-hero,
  .about-montage-section,
  .about-work-section,
  .faq-hero,
  .service-box-section,
  .subpage-hero,
  .about-story-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero-copy {
    padding-top: 0;
  }

  .about-montage {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(230px, 58vw, 420px);
  }

  .about-montage-item-main,
  .about-montage-item-wide,
  .about-montage-item-portrait,
  .about-montage-item-small,
  .about-montage-item-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .about-work-section {
    align-items: stretch;
  }

  .about-work-heading {
    position: static;
  }

  .about-work-item {
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
    gap: 20px 34px;
    align-items: start;
  }

  .about-accordion-panel {
    padding-right: 0;
  }

  .faq-hero-copy {
    margin-left: 0;
  }

  .service-box-row {
    flex-direction: column;
  }

  .service-box-card,
  .service-box-card.active {
    flex: 1 1 auto;
  }

  .service-box-card {
    min-height: clamp(118px, 20vw, 150px);
  }

  .service-box-card.active {
    min-height: clamp(118px, 20vw, 150px);
  }

  .about-image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(220px, 64vw, 340px);
  }

  .about-image--large {
    grid-row: auto;
  }

  .faq-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px 22px;
    align-items: start;
  }

  .faq-item > .eyebrow:last-child {
    grid-column: 2;
  }

  .process-section__intro {
    position: static;
  }

  .process-item {
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
    gap: 20px 34px;
    align-items: start;
  }

  .contact-panel {
    padding: 12px;
  }

  .contact-panel__inner {
    width: min(620px, calc(100vw - 24px));
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding-top: 144px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .case-card {
    min-height: 214px;
    padding: 22px;
  }

  .case-card h2,
  .case-card-heading {
    font-size: 20px;
  }

  .metric-value {
    font-size: 26px;
  }

  .case-card a {
    font-size: 14px;
  }

  .overview-section {
    margin-top: 28px;
    padding: 32px 0 44px;
  }

  .overview-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-card {
    padding: 18px 0;
  }

  .stat-card:not(:last-child)::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-row {
    min-height: 0;
  }

  .project-gallery-section {
    padding-top: 34px;
  }

  .project-gallery-header {
    margin-bottom: 26px;
  }

  .project-gallery-track {
    gap: 14px;
  }

  .project-gallery-card {
    flex-basis: 85%;
  }

  .project-gallery-copy {
    padding: 18px;
  }

  .project-gallery-copy .case-card-heading {
    font-size: 14px;
  }

  .process-section {
    padding-top: 38px;
  }

  .about-montage-section,
  .about-work-section,
  .service-box-section,
  .about-story-section,
  .faq-section {
    padding-top: 38px;
  }

  .about-accordion-trigger {
    min-height: 84px;
  }

  .service-box-card {
    min-height: 178px;
  }

  .process-item,
  .about-work-item {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-item {
    min-height: auto;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 22px 0;
  }

  .contact-panel {
    padding: 10px;
  }

  .contact-panel__inner {
    width: calc(100vw - 20px);
  }

  .contact-form__grid,
  .contact-form__choices {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    width: 100%;
  }

  .hero-video {
    height: 240px;
  }

  .footer-bar {
    min-height: 92px;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
    padding: 22px;
    font-size: 13px;
  }

  .footer-bar__right {
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .project-gallery-card {
    flex-basis: 100%;
  }

  .footer-bar__right {
    min-width: 0;
  }

  .footer-bar__right > span {
    white-space: normal;
  }
}
