:root {
  /* Typography: the shared type scale used by every page. */
  --font-family-sans: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --font-family-map: "Plus Jakarta Sans", sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --font-size-body: 1rem;
  --font-size-small: 0.95rem;
  --font-size-meta: 0.82rem;
  --font-size-compact: 0.88rem;
  --font-size-card-title: 1.35rem;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-accent: 650;
  --font-weight-strong: 750;
  --font-weight-extrabold: 800;
  --line-height-copy: 1.65;
  --line-height-copy-compact: 1.6;
  --line-height-copy-tight: 1.55;
  --hero-title-size: clamp(3.2rem, 5.4vw, 5.4rem);
  --hero-title-line-height: 0.96;
  --hero-body-size: clamp(0.92rem, 0.9vw, 1rem);
  --section-title-size: clamp(2rem, 4vw, 4rem);
  --section-title-line-height: 0.98;
  --letter-spacing-body: 0.01em;
  --letter-spacing-heading: 0.01em;
  --letter-spacing-label: 0.04em;

  /* Shape: one outer radius, one inset radius and semantic round shapes. */
  --radius: 30px;
  --radius-inner: 22px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --card-inset: 18px;

  /* Layout and colour tokens. */
  --text: #ffffff;
  --content-max-width: 1400px;
  --page-gutter: max(32px, calc((100vw - var(--content-max-width)) / 2));
  --navigation-max-width: 1400px;
  --navigation-gutter: max(22px, calc((100vw - var(--navigation-max-width)) / 2));
  --body-bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f5f5;
  --surface-editorial: #fafafa;
  --surface-neutral: #f1f1f1;
  --surface-strong: #121212;
  --copy: #343434;
  --copy-strong: #111111;
  --copy-inverse: rgba(255, 255, 255, 0.82);
  --border-soft: rgba(17, 17, 17, 0.08);
  --menu-bg: #ffffff;
  --menu-text: #111111;
  --menu-hover-color: var(--accent-purple-dark);
  --theme-button-bg: rgba(255, 255, 255, 0.12);
  --theme-button-border: rgba(255, 255, 255, 0.2);
  --speech-bubble-fill: rgba(80, 20, 143, 0.78);
  --speech-bubble-stroke: rgba(255, 255, 255, 0.56);
  --header-bar-bg: rgba(255, 255, 255, 0.96);
  --header-bar-fg: #111111;
  --header-bar-line: rgba(17, 17, 17, 0.12);
  --header-bar-field: rgba(17, 17, 17, 0.04);
  --desktop-nav-panel: rgba(5, 5, 5, 0.66);
  --desktop-nav-line: rgba(255, 255, 255, 0.28);
  --desktop-nav-copy: rgba(255, 255, 255, 0.78);
  --hero-copy-max-width: 1500px;
  --section-title-copy-gap: clamp(18px, 1.6vw, 26px);
  --section-spacing-y: clamp(56px, 8vw, 118px);
  --section-gap-y: clamp(160px, 18vw, 320px);
  --hero-followup-gap-y: var(--section-spacing-y);
  --hero-padding-top: calc(
    28px + clamp(74px, 8.6vw, 104px) + var(--hero-padding-bottom) + var(--hero-followup-gap-y)
  );
  --hero-padding-bottom: 72px;
  --hero-overlay: linear-gradient(90deg, rgba(8, 8, 8, 0.84) 0%, rgba(8, 8, 8, 0.62) 46%, rgba(8, 8, 8, 0.26) 100%);

  --accent-purple-dark: #50148f;
  --accent-purple-light: #d2b8ff;
  --theme-accent: var(--accent-purple-dark);
  --theme-accent-soft: color-mix(in srgb, var(--theme-accent) 14%, transparent);
  --theme-accent-strong: color-mix(in srgb, var(--theme-accent) 72%, #000);
}

@media (min-width: 1180px) {
  :root {
    --navigation-gutter: max(clamp(64px, 8vw, 120px), calc((100vw - var(--navigation-max-width)) / 2));
  }
}

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

/*
 * Keep decorative surfaces borderless. Interactive controls, button-like
 * links and pills as well as all forms retain the borders defined by their
 * component styles.
 */
body :not(
  a,
  a *,
  button,
  button *,
  form,
  form *,
  [role="button"],
  [role="button"] *,
  [class*="pill"],
  [class*="pill"] *,
  .article-tags,
  .article-tags *,
  .article-related-tags,
  .article-related-tags *,
  .reference-card-copy,
  .reference-card-copy *,
  .reference-case-tags,
  .reference-case-tags *
),
body :not(
  a,
  a *,
  button,
  button *,
  form,
  form *,
  [role="button"],
  [role="button"] *,
  [class*="pill"],
  [class*="pill"] *,
  .article-tags,
  .article-tags *,
  .article-related-tags,
  .article-related-tags *,
  .reference-card-copy,
  .reference-card-copy *,
  .reference-case-tags,
  .reference-case-tags *
)::before,
body :not(
  a,
  a *,
  button,
  button *,
  form,
  form *,
  [role="button"],
  [role="button"] *,
  [class*="pill"],
  [class*="pill"] *,
  .article-tags,
  .article-tags *,
  .article-related-tags,
  .article-related-tags *,
  .reference-card-copy,
  .reference-card-copy *,
  .reference-case-tags,
  .reference-case-tags *
)::after {
  border: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-family-sans);
}

body {
  background: var(--body-bg);
  color: var(--copy-strong);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-body);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

/* One heading rhythm is shared by every page and component. */
:where(h1, h2, h3, h4, h5, h6) {
  letter-spacing: var(--letter-spacing-heading) !important;
}

body.menu-page {
  min-height: 100vh;
  background: var(--menu-bg);
  color: var(--menu-text);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

/* Shared component primitives. Component rules below only add their variants. */
.hero-cta,
.npb-button,
.subpage-cta-link,
.contact-submit,
.service-section-link,
.global-cta-button,
.career-secondary-link,
.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.media-block img,
.team-card-media img,
.blog-card-media img,
.article-cover img,
.services-image-card img,
.article-related-media img,
.reference-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared display hierarchy. Context rules below only add spacing and colour. */
.about-story-copy h2,
.about-section-head h2,
.section-copy h2,
.section-head h2,
.contact-form-column h1,
body.service-page .section-head h2,
body.service-page .services-intro h2,
.results-heading h2,
.about-page .about-strengths-sticky h2 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
}

.site-frame {
  min-height: 100vh;
  padding: 0;
}

.hero-page {
  position: relative;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.5)),
    url("../../images/hero/Brand.jpg") center center / cover no-repeat;
  background-color: #080808;
  background-blend-mode: normal;
  transition: background-image 0.25s ease;
}

.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 36%, transparent 72%, rgba(0, 0, 0, 0.22));
  opacity: 1;
}

.site-header {
  --desktop-subnav-gap: 20px;
  --desktop-subnav-top: calc(28px + clamp(74px, 8.6vw, 104px) + var(--desktop-subnav-gap));
  --header-motion: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--navigation-gutter) 0;
  transition:
    padding 0.58s var(--header-motion),
    color 0.45s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-100%);
  will-change: transform, opacity;
  transition:
    transform 0.58s var(--header-motion),
    opacity 0.48s ease,
    background-color 0.48s ease,
    border-color 0.48s ease;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

body.is-scrolled .site-header {
  --desktop-subnav-top: calc(14px + 52px + 14px + var(--desktop-subnav-gap));
  padding: 14px var(--page-gutter);
}

body.is-scrolled .site-header::before {
  opacity: 1;
  transform: translateY(0);
  background: var(--header-bar-bg);
  border-bottom-color: var(--header-bar-line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  color: var(--text);
  width: clamp(260px, 26vw, 430px);
  height: clamp(74px, 8.6vw, 104px);
  flex: 0 0 auto;
  transition:
    width 0.58s var(--header-motion),
    height 0.58s var(--header-motion),
    transform 0.58s var(--header-motion),
    color 0.45s ease;
}

.desktop-nav {
  position: absolute;
  left: var(--navigation-gutter);
  right: var(--navigation-gutter);
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  width: max-content;
  margin-inline: auto;
  padding-top: 2px;
  color: var(--text);
  transition:
    left 0.58s var(--header-motion),
    right 0.58s var(--header-motion),
    color 0.45s ease,
    transform 0.5s var(--header-motion);
}

body:not(.is-scrolled) .brand-lockup {
  transform: translateY(-10px);
}

body.is-scrolled .desktop-nav {
  color: var(--header-bar-fg);
}

body.is-scrolled .desktop-subnav-panel {
  width: min(var(--content-max-width), calc(100vw - (var(--page-gutter) * 2)));
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

/* Keep the compact header unchanged, while giving the full-size logo and
   primary navigation their own, uncluttered areas before the page is scrolled. */
body:not(.is-scrolled) .desktop-nav {
  left: calc(var(--navigation-gutter) + clamp(110px, 10vw, 200px));
}

.desktop-nav-item-home {
  max-width: 110px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 0.55s var(--header-motion),
    margin-right 0.55s var(--header-motion),
    opacity 0.4s ease,
    transform 0.55s var(--header-motion);
}

body:not(.is-scrolled) .desktop-nav-item-home {
  max-width: 0;
  margin-right: -14px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
}

.desktop-nav-item {
  position: relative;
}

.desktop-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  font: inherit;
  font-size: clamp(1.05rem, 0.9vw, 1.18rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.desktop-nav-link:hover,
.desktop-nav-link:focus-visible {
  text-decoration: none;
}

.desktop-nav-label {
  display: inline-flex;
  align-items: center;
}

.desktop-nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: var(--radius);
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.desktop-nav-item-has-children > .desktop-nav-link {
  border: 1px solid transparent;
  background: transparent;
}

.desktop-nav-item:not(.desktop-nav-item-has-children):hover > .desktop-nav-link,
.desktop-nav-item-has-children.is-hover-open > .desktop-nav-link,
.desktop-nav-item-has-children:focus-within > .desktop-nav-link {
  border-color: transparent;
  background: transparent;
  transform: translateY(-3px);
}

.desktop-nav-item:not(.desktop-nav-item-has-children):hover > .desktop-nav-link::after,
.desktop-nav-item-has-children.is-hover-open > .desktop-nav-link::after,
.desktop-nav-item-has-children:focus-within > .desktop-nav-link::after,
.desktop-nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-subnav-panel {
  position: fixed;
  z-index: 2;
  top: var(--desktop-subnav-top);
  left: 50vw;
  width: min(var(--navigation-max-width), calc(100vw - (var(--navigation-gutter) * 2)));
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--desktop-nav-panel);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.desktop-nav-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 96px;
}

.desktop-subnav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -88px;
  height: 88px;
  pointer-events: none;
}

.desktop-nav-item.is-hover-open .desktop-subnav-panel,
.desktop-nav-item:focus-within .desktop-subnav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.desktop-subnav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.desktop-subnav-grid.columns-1 {
  grid-template-columns: minmax(320px, 440px);
  justify-content: start;
}

.desktop-subnav-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.desktop-subnav-group {
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 8px);
  background: rgba(5, 5, 5, 0.46);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.desktop-subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  font-size: clamp(1rem, 0.9vw, 1.15rem);
  font-weight: var(--font-weight-extrabold);
}

.desktop-subnav-pill:hover,
.desktop-subnav-pill:focus-visible {
  background: linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 88%, #fff) 0%, var(--theme-accent) 100%);
  text-decoration: none;
}

.desktop-subnav-pill-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.send-arrow {
  width: 1.45em;
  height: 1.45em;
  display: inline-block;
  align-self: center;
  flex: 0 0 auto;
  vertical-align: middle;
  color: #ffffff !important;
  background-color: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2062%2057'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2026.5L58.5%203L43%2053.5L29.5%2035.5L3%2026.5Z'%20fill='none'%20stroke='white'%20stroke-width='4.5'%20stroke-linejoin='round'/%3E%3Cpath%20d='M29.5%2035.5L58.5%203'%20fill='none'%20stroke='white'%20stroke-width='4.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2062%2057'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2026.5L58.5%203L43%2053.5L29.5%2035.5L3%2026.5Z'%20fill='none'%20stroke='white'%20stroke-width='4.5'%20stroke-linejoin='round'/%3E%3Cpath%20d='M29.5%2035.5L58.5%203'%20fill='none'%20stroke='white'%20stroke-width='4.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transform: none;
  transition: transform 0.25s ease;
}

a:hover .send-arrow,
a:focus-visible .send-arrow,
button:hover .send-arrow,
button:focus-visible .send-arrow {
  transform: translateX(4px);
}

.nav-cta-arrow {
  color: #ffffff !important;
  line-height: 1;
  transform: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

button:hover .nav-cta-arrow,
button:focus-visible .nav-cta-arrow {
  transform: translate(6px, -0.03em);
}

.hero-cta-primary .send-arrow {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  font-size: var(--font-size-body);
}

.desktop-subnav-links {
  display: grid;
  margin-top: 18px;
}

.desktop-subnav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border: 0;
  color: var(--desktop-nav-copy);
  font-size: clamp(1.12rem, 1vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  transition: color 0.25s ease, transform 0.25s ease;
}

.desktop-subnav-link + .desktop-subnav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 1px;
  background: var(--desktop-nav-line);
  pointer-events: none;
}

.desktop-subnav-links .desktop-subnav-link:hover,
.desktop-subnav-link[aria-current="page"] {
  color: #ffffff;
  text-decoration: none;
  transform: translateX(6px);
}

.desktop-subnav-group:hover,
.desktop-subnav-group:focus-within {
  background: color-mix(in srgb, var(--theme-accent) 24%, rgba(5, 5, 5, 0.72));
  border-color: color-mix(in srgb, var(--theme-accent) 58%, rgba(255, 255, 255, 0.16));
}

.desktop-subnav-group:hover .desktop-subnav-pill,
.desktop-subnav-group:focus-within .desktop-subnav-pill {
  background: linear-gradient(135deg, var(--theme-accent) 0%, color-mix(in srgb, var(--theme-accent) 72%, #000) 100%);
}

.desktop-nav-item-theme-leistungen:has(.desktop-subnav-group-theme-media:hover, .desktop-subnav-group-theme-media:focus-within) > .desktop-nav-link,
.desktop-nav-item-theme-leistungen:has(.desktop-subnav-group-theme-digital:hover, .desktop-subnav-group-theme-digital:focus-within) > .desktop-nav-link,
.desktop-nav-item-theme-leistungen:has(.desktop-subnav-group-theme-advertising:hover, .desktop-subnav-group-theme-advertising:focus-within) > .desktop-nav-link,
.desktop-nav-item-theme-referenzen:has(.desktop-subnav-group-theme-referenzen:hover, .desktop-subnav-group-theme-referenzen:focus-within) > .desktop-nav-link {
  color: var(--accent-purple-dark);
}

.desktop-nav-item-theme-leistungen:hover > .desktop-nav-link,
.desktop-nav-item-theme-leistungen:focus-within > .desktop-nav-link {
  border-color: transparent;
  background: transparent;
}

.desktop-subnav-panel-theme-leistungen .desktop-subnav-group {
  background: rgba(5, 5, 5, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.desktop-subnav-panel-theme-referenzen .desktop-subnav-group {
  background: rgba(5, 5, 5, 0.46);
  border-color: rgba(255, 255, 255, 0.12);
}

.desktop-subnav-panel-theme-leistungen .desktop-subnav-group:hover,
.desktop-subnav-panel-theme-leistungen .desktop-subnav-group:focus-within {
  background: color-mix(in srgb, var(--theme-accent) 24%, rgba(5, 5, 5, 0.9));
  border-color: color-mix(in srgb, var(--theme-accent) 52%, rgba(255, 255, 255, 0.2));
}

.desktop-subnav-panel-theme-referenzen .desktop-subnav-group:hover,
.desktop-subnav-panel-theme-referenzen .desktop-subnav-group:focus-within {
  background: color-mix(in srgb, var(--theme-accent) 24%, rgba(5, 5, 5, 0.72));
  border-color: color-mix(in srgb, var(--theme-accent) 52%, rgba(255, 255, 255, 0.2));
}

.desktop-nav-item-theme-referenzen:hover > .desktop-nav-link,
.desktop-nav-item-theme-referenzen:focus-within > .desktop-nav-link {
  border-color: transparent;
  background: transparent;
}

.desktop-subnav-panel-theme-referenzen {
  --desktop-nav-copy: rgba(255, 255, 255, 0.82);
}

body.is-scrolled .brand-lockup {
  width: clamp(160px, 13vw, 210px);
  height: 52px;
  color: var(--header-bar-fg);
}

.brand-logo-stack {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.brand-logo {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  will-change: transform, opacity;
  transition:
    width 0.58s var(--header-motion),
    opacity 0.5s ease,
    transform 0.58s var(--header-motion),
    filter 0.45s ease;
}

.brand-logo-primary {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-logo-alt {
  width: 84px;
  opacity: 0;
  transform: translateY(12px) scale(0.68) rotate(-8deg);
}

body.is-scrolled .brand-logo-primary {
  opacity: 0;
  transform: translateY(-18px) scale(0.74);
}

body.is-scrolled .brand-logo-alt {
  width: 100%;
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: invert(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  transition: color 0.35s ease;
}

body.is-scrolled .header-actions {
  color: var(--header-bar-fg);
}

.icon-button {
  width: 26px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--theme-button-bg);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.icon-button:hover {
  border-color: var(--theme-button-border);
}

body.is-scrolled .icon-button {
  color: var(--header-bar-fg);
  background: var(--header-bar-field);
}

body.is-scrolled .icon-button:hover {
  border-color: var(--header-bar-line);
}

.menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  border-color: transparent;
  background: transparent;
  overflow: visible;
}

.menu-button::before,
.menu-button span {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: var(--radius);
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.menu-button:hover,
body.is-scrolled .menu-button,
body.is-scrolled .menu-button:hover {
  border-color: transparent;
  background: transparent;
}

.menu-button::before {
  transform: translate(-50%, -50%);
}

.menu-button span:first-child {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-button span:last-child {
  transform: translate(-50%, calc(-50% + 6px));
}

.menu-button[aria-expanded="true"]::before {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 170px var(--page-gutter) 42px;
}

.hero-content {
  max-width: 1140px;
  color: var(--text);
  margin: auto 0 clamp(70px, 10vh, 130px);
}

.hero h1 {
    font-size: clamp(5rem, 8vw, 9rem);
    line-height: 0.88;
    text-transform: uppercase;
    font-weight: var(--font-weight-extrabold);
}

.hero .hero-slogan-heading {
  margin: 0;
  max-width: min(100%, 960px);
}

.hero-slogan-image {
  display: block;
  width: min(100%, 960px);
  height: auto;
}

@media (max-width: 1180px) {
  .hero .hero-slogan-heading,
  .hero-slogan-image {
    width: min(88vw, 860px);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 70px);
}

.hero-cta {
  gap: 12px;
  min-height: 68px;
  padding: 0 26px;
  font-size: 1.05rem;
  font-weight: var(--font-weight-extrabold);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.hero-cta-primary {
  background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-strong) 100%);
  color: #ffffff;
}

.hero-cta-primary span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body);
  line-height: 1;
}

.hero-cta-secondary {
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
  background: transparent;
}

/* Glassmorphism hero CTAs on the homepage */
.home-page .hero-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  color: #ffffff;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.home-page .hero-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 38%, rgba(255, 255, 255, 0.1));
  opacity: 0.82;
}

.home-page .hero-cta > * {
  position: relative;
  z-index: 1;
}

.home-page .hero-cta-primary {
  background: var(--theme-accent);
  border-color: rgba(210, 184, 255, 0.48);
}

.home-page .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.42);
}

.home-page .hero-cta:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
}

.home-page .hero-cta-primary:hover {
  background: var(--theme-accent);
}

.hero-footer-nav {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  text-align: center;
}

.hero-footer-nav a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.hero-footer-nav a:hover,
.hero-footer-nav a:focus-visible {
  color: #d2b8ff;
}

.hero-footer-nav a span {
  color: inherit;
  margin-inline: 0.28em;
  transition: color 0.25s ease;
}

.hero-footer-nav a:hover span,
.hero-footer-nav a:focus-visible span {
  color: #d2b8ff;
}

.hero-footer-nav a:not(:last-child)::after {
  content: none;
}

.about-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
  background:
    var(--hero-overlay),
    url("../../images/hero/Brand.jpg") center center / cover no-repeat;
  background-color: #080808;
  background-blend-mode: normal;
  color: #ffffff;
}

.about-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}

.about-hero-shell {
  position: relative;
  z-index: 1;
  width: min(var(--hero-copy-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 var(--page-gutter);
  display: grid;
  align-content: start;
  justify-items: start;
}

.about-hero-shell h1,
.hero-copy h1 {
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line-height);
}

.about-hero-shell h1 {
  margin: 0;
  max-width: none;
  text-transform: uppercase;
}

.about-hero-shell p,
.hero-copy p {
  max-width: 62ch;
  font-size: var(--hero-body-size);
  line-height: var(--line-height-copy);
  text-wrap: balance;
}

.about-hero-shell p {
  margin: clamp(16px, 2vw, 24px) 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.about-intro {
  padding-top: 50px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.98fr);
  gap: 44px;
  align-items: center;
}

.about-story-copy h2,
.about-section-head h2 {
  margin: 0 0 22px;
}

.about-story-copy p,
.about-process-step p,
.about-strength-card p {
  margin: 0 0 18px;
  color: var(--copy);
  line-height: var(--line-height-copy);
}

.about-story-media img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-section-head {
  margin-bottom: 28px;
}

.about-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.about-strength-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #030303;
  color: #ffffff;
}

.about-strength-card i {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 1.55rem;
}

.about-strength-card h3 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.about-process {
  --about-process-gap: 32px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--about-process-gap);
  padding-top: 54px;
}

.about-process-line {
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(17, 17, 17, 0.32);
}

.about-process-step {
  position: relative;
  text-align: center;
}

.about-process-number {
  position: absolute;
  top: -54px;
  left: 50%;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #050505;
  color: #ffffff;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-extrabold);
}

.about-process-step i {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 2rem;
}

.about-process-step h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
}

.about-team-teaser {
  --team-card-inset: clamp(12px, 1.2vw, 18px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 32px;
  align-items: center;
  padding: var(--team-card-inset);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.about-team-teaser-copy {
  padding: clamp(18px, 2vw, 30px);
}

.about-team-teaser h2 {
  margin: 0 0 clamp(26px, 2.4vw, 36px);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: var(--section-title-line-height);
}

.about-team-teaser-copy p {
  margin: 0;
  line-height: var(--line-height-copy);
}

.about-team-teaser-copy p + p {
  margin-top: clamp(24px, 2.4vw, 36px);
}

.about-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 42px);
}

.about-team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  margin-top: 0;
  padding: 0 20px;
  border: 2px solid var(--theme-accent);
  border-radius: var(--radius);
  background: var(--theme-accent);
  color: #ffffff;
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  transition:
    transform 0.25s ease,
    background-color 0.35s ease;
}

.about-team-link-outline {
  background: transparent;
  color: var(--theme-accent);
}

.about-team-link:hover,
.about-team-link:focus-visible {
  background: var(--theme-accent-strong);
  color: #ffffff;
  text-decoration: none;
}

.about-team-link-outline:hover,
.about-team-link-outline:focus-visible {
  border-color: var(--theme-accent-strong);
}

.about-team-link .send-arrow {
  font-size: 1.15rem;
}

.about-team-link-outline .send-arrow {
  color: var(--theme-accent) !important;
}

.about-team-link-outline:hover .send-arrow,
.about-team-link-outline:focus-visible .send-arrow {
  color: #ffffff !important;
}

.about-team-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px;
  align-self: center;
}

.about-team-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 180px;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-inner);
}

.about-team-gallery img:nth-child(-n + 2) {
  grid-column: span 3;
}

.about-team-gallery img:nth-child(n + 3) {
  grid-column: span 2;
}

.content-section {
  padding: var(--section-spacing-y) 0;
}

.content-shell {
  margin: 0 var(--page-gutter);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.dark-shell {
  margin: 0 var(--page-gutter);
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: #ffffff;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.home-page .content-shell {
  padding-left: 0;
  padding-right: 0;
}

.section-head span,
.section-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--theme-accent);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
}

.section-copy h2,
.section-head h2 {
  margin: 0 0 var(--section-title-copy-gap);
}

.section-head-with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
}

.section-more-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-bottom: var(--section-title-copy-gap);
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--copy-strong);
  font-size: 1.12rem;
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.section-more-link i {
  font-size: 1.5rem;
  line-height: 1;
  -webkit-text-stroke: 0.45px currentColor;
  transition: transform 0.2s ease;
}

.section-more-link:hover,
.section-more-link:focus-visible {
  background: var(--accent-purple-light);
  color: #111111;
}

.section-more-link:hover i,
.section-more-link:focus-visible i {
  transform: translateX(3px);
}

.section-copy p,
.pricing-card li {
  margin: 0 0 14px;
  color: var(--copy);
  line-height: var(--line-height-copy-compact);
}

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

.pricing-card {
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  transition:
    background-color 0.35s ease;
}

.pricing-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.dark-shell p {
  color: var(--copy-inverse);
}

.legal-shell {
  display: grid;
  gap: 28px;
}

.legal-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: #ffffff;
}

.legal-card p {
  margin: 0 0 12px;
  color: var(--copy-inverse);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article code {
  font-family: var(--font-family-mono);
  font-size: 0.92em;
}

.legal-table-wrap {
  margin: 18px 0 26px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.legal-table th,
.legal-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  line-height: var(--line-height-copy-compact);
}

.legal-table td {
  color: var(--copy);
}

.legal-table th {
  color: var(--copy-strong);
  font-size: 0.92rem;
  font-weight: var(--font-weight-extrabold);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
}

.testimonial-stage {
  position: relative;
  min-height: clamp(1800px, 270vh, 2600px);
  overflow: visible;
  background: transparent;
}

.testimonial-sticky {
  position: sticky;
  top: 18vh;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.testimonial-sticky h2 {
  margin: 0;
  max-width: none;
  font-size: var(--section-title-size);
  line-height: 0.92;
}

.testimonial-flow {
  position: absolute;
  inset: 0;
}

.speech-bubble {
  position: absolute;
  z-index: 2;
  width: min(380px, 32vw);
  min-height: 210px;
  padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3vw, 42px) clamp(46px, 4vw, 60px);
  isolation: isolate;
  overflow: visible;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20399%20299'%20preserveAspectRatio='none'%3E%3Cpath%20fill='white'%20d='M365.797%200.292H33.177C15.177%200.292%200.578%2014.89%200.578%2032.885v222.172c0%2018.005%2014.6%2032.594%2032.6%2032.594h306.161c13.333%200%2024.994%200.776%2026.046%201.724%201.303%202.974%208.865%207.161%2016.896%209.349%201.891%20-0.172%202.672%20-1.307%201.735%20-2.531%20-3.37%20-4.438%20-5.61%20-9.401%201.062%20-14.86%200.339%20-0.277%200.674%20-0.536%201.005%20-0.776%200.089%20-0.067%200.089%20-0.067%200.402%20-0.036%201.187%20-0.132%200.7%20-0.494%200.014%20-0.01%200.694%20-0.49%201.729%20-1.222%202.891%20-2.041%203.833%20-2.714%208.468%20-12.573%208.468%20-22.787V32.885C398.391%2014.89%20383.792%200.292%20365.797%200.292Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20399%20299'%20preserveAspectRatio='none'%3E%3Cpath%20fill='white'%20d='M365.797%200.292H33.177C15.177%200.292%200.578%2014.89%200.578%2032.885v222.172c0%2018.005%2014.6%2032.594%2032.6%2032.594h306.161c13.333%200%2024.994%200.776%2026.046%201.724%201.303%202.974%208.865%207.161%2016.896%209.349%201.891%20-0.172%202.672%20-1.307%201.735%20-2.531%20-3.37%20-4.438%20-5.61%20-9.401%201.062%20-14.86%200.339%20-0.277%200.674%20-0.536%201.005%20-0.776%200.089%20-0.067%200.089%20-0.067%200.402%20-0.036%201.187%20-0.132%200.7%20-0.494%200.014%20-0.01%200.694%20-0.49%201.729%20-1.222%202.891%20-2.041%203.833%20-2.714%208.468%20-12.573%208.468%20-22.787V32.885C398.391%2014.89%20383.792%200.292%20365.797%200.292Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.speech-bubble-shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bubble-fill {
  fill: var(--speech-bubble-fill);
  stroke: none;
}

.bubble-stroke {
  fill: transparent;
  stroke: var(--speech-bubble-stroke);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.speech-bubble > :not(.speech-bubble-shape) {
  position: relative;
  z-index: 2;
}

.speech-bubble p {
  margin: 0 0 18px;
  padding-bottom: 20px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.42rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.36;
}

.speech-bubble strong,
.speech-bubble span {
  display: block;
  color: #ffffff;
}

.speech-bubble strong {
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
}

.speech-bubble span {
  font-size: clamp(0.84rem, 0.96vw, 1rem);
}

.bubble-left {
  top: 12%;
  left: 4%;
}

.bubble-right {
  top: 34%;
  right: 7%;
}

.bubble-right .speech-bubble-shape,
.bubble-far-right .speech-bubble-shape,
.bubble-right::before,
.bubble-far-right::before {
  transform: scaleX(-1);
}

.bubble-center {
  top: 58%;
  left: 34%;
}

.bubble-placeholder {
  top: 82%;
  left: 9%;
}

.bubble-far-right {
  top: 86%;
  right: 3%;
}

.pricing-card.featured {
  background: var(--surface-strong);
  color: #fff;
}

.pricing-card.featured li,
.pricing-card.featured .price span {
  color: rgba(255, 255, 255, 0.8);
}

.price {
  margin: 0 0 16px;
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
}

.price span {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: var(--copy);
}

.pricing-card ul {
  margin: 0;
  padding-left: 20px;
}

.npb-text-block p {
  margin: 0 0 14px;
  line-height: var(--line-height-copy);
}

.npb-grow-grid .section-copy h2 {
  max-width: 12ch;
}

.npb-text-block {
  max-width: 860px;
}

.npb-grow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.npb-video-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.npb-video-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.npb-button {
  min-height: 44px;
  padding: 0 18px;
  background: var(--surface-strong);
  color: #fff;
  font-weight: var(--font-weight-bold);
  transition: background-color 0.35s ease;
}

.page-hero {
  --hero-image: url("../../images/hero/Brand.jpg");
  --hero-tint: linear-gradient(rgba(120, 150, 190, 0.08), rgba(22, 42, 70, 0.14));
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: var(--hero-padding-top) var(--page-gutter) var(--hero-padding-bottom);
  color: #fff;
  background-image:
    var(--hero-overlay),
    var(--hero-tint),
    var(--hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #080808;
  background-blend-mode: normal;
}

.hero-copy {
  width: min(var(--hero-copy-max-width), 100%);
  max-width: var(--hero-copy-max-width);
}

.hero-copy h1 {
  margin: 0 0 18px;
  text-transform: uppercase !important;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 981px) {
  .page-hero .hero-copy h1,
  .about-hero .about-hero-shell h1,
  body.theme-kontakt .contact-heading h1 {
    max-width: none;
    white-space: nowrap;
  }
}

.subpage-grid,
.subpage-card-grid {
  display: grid;
  gap: 18px;
}

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

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

.subpage-panel h3,
.status-panel h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.subpage-panel p,
.status-panel p,
.status-panel li {
  margin: 0 0 12px;
  color: var(--copy);
  line-height: var(--line-height-copy);
}

.subpage-cta-link {
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  transition:
    transform 0.25s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.subpage-panel ul,
.status-panel ul {
  margin: 0;
}

.media-block {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
}

.media-block img {
  object-position: center;
}

.contact-design-form {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 20px;
}

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

.contact-design-form span {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: var(--copy-strong);
}

.contact-design-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--copy-strong);
  outline: none;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.contact-design-form textarea {
  width: 100%;
  min-height: 244px;
  padding: 24px 28px;
  outline: none;
  resize: vertical;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

/* Keep browser-suggested contact details aligned with the contact theme. */
.contact-design-form input:autofill {
  background-color: #fff0e8;
}

.team-page .team-stage {
  padding-block: clamp(72px, 8vw, 128px);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(72px, 7vw, 128px) clamp(40px, 4vw, 72px);
}

.team-list > .team-card {
  grid-column: 1;
}

.team-list > .team-card:nth-child(even) {
  grid-column: 2;
}

.team-list > .team-card:nth-child(1) {
  grid-row: 1;
}

.team-list > .team-card:nth-child(2) {
  grid-row: 2;
}

.team-list > .team-card:nth-child(3) {
  grid-row: 3;
}

.team-list > .team-card:nth-child(4) {
  grid-row: 4;
}

.team-list > .team-card:nth-child(5) {
  grid-row: 5;
}

.team-list > .team-card + .team-card {
  margin-top: 0;
}

.team-card {
  --team-card-height: clamp(560px, 72vh, 760px);
  position: relative;
  height: var(--team-card-height);
  min-height: var(--team-card-height);
  display: flex;
  align-items: center;
  overflow: visible;
  color: var(--copy-strong);
  border-radius: var(--radius);
  background: transparent;
  transition:
    transform 0.35s ease;
}

.team-card.is-active {
  transform: translateY(-4px);
}

.team-card-media {
  position: relative;
  overflow: hidden;
  z-index: 2;
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 6 / 9;
  border-radius: var(--radius);
}

.team-card-media img {
  object-position: center center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-media img,
.team-card.is-active .team-card-media img {
  transform: scale(1.03);
}

.team-card-content {
  position: relative;
  z-index: 1;
  flex: 0 0 236px;
  min-height: 0;
  margin-left: -56px;
  padding: 20px 20px 20px 52px;
  border-radius: var(--radius);
  background: var(--surface-neutral);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-height: 100%;
  overflow: visible;
  width: 236px;
  max-width: 236px;
  transition:
    flex-basis 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-card-content,
.team-card.is-active .team-card-content {
  flex-basis: clamp(500px, 48vw, 760px);
  align-self: center;
  min-height: 0;
  max-height: none;
  margin-left: -96px;
  width: clamp(500px, 48vw, 760px);
  max-width: clamp(500px, 48vw, 760px);
  padding-top: 20px;
  padding-right: clamp(24px, 3vw, 34px);
  padding-bottom: 20px;
}

.team-list > .team-card:not(.team-card-single):nth-child(even) {
  flex-direction: row-reverse;
}

.team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-content {
  margin-left: 0;
  margin-right: -56px;
  padding: 20px 52px 20px 20px;
  border-radius: var(--radius);
}

.team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-content,
.team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-content {
  margin-right: -96px;
  width: clamp(500px, 48vw, 760px);
  max-width: clamp(500px, 48vw, 760px);
  padding-left: clamp(24px, 3vw, 34px);
}

.team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-collapsed,
.team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-collapsed {
  left: 34px;
}

.team-card-role {
  display: inline-block;
  margin-bottom: 14px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  color: var(--theme-accent);
}

.team-card-content h3 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 2.7vw, 3.15rem);
  line-height: 0.94;
  color: var(--copy-strong);
}

.team-card-content p {
  margin: 0 0 16px;
  color: var(--copy);
  font-size: clamp(0.96rem, 0.9vw, 1.05rem);
  line-height: 1.52;
}

.team-card-collapsed {
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card-collapsed {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  align-self: center;
  width: fit-content;
  margin-right: auto;
  margin-left: 18px;
  padding: 18px 0 22px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateX(18px) translateY(0);
  opacity: 1;
}

.team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-collapsed {
  margin-right: 0;
  margin-left: auto;
  transform: translateX(18px) translateY(0);
}

.team-card-collapsed-name {
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 0.9;
}

.team-card-collapsed-role {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  color: var(--theme-accent);
}

.team-card-expanded {
  position: relative;
  inset: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-height: 0;
  margin-top: 0;
  overflow: visible;
  opacity: 0;
  transform: translateX(-18px) translateY(26px);
  pointer-events: none;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-expanded {
  transform: translateX(-60px) translateY(26px);
}

.team-card:hover .team-card-collapsed,
.team-card.is-active .team-card-collapsed {
  opacity: 0;
  transform: translateX(18px) translateY(-28px);
}

@media (min-width: 961px) {
  .team-card:hover .team-card-collapsed,
  .team-card.is-active .team-card-collapsed,
  .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-collapsed,
  .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-collapsed {
    flex: 0 0 clamp(44px, 3vw, 50px);
    width: clamp(44px, 3vw, 50px);
    height: 0;
    min-height: 0;
    max-height: 0;
    margin-right: 0;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .team-list > .team-card:nth-child(odd):hover .team-card-expanded,
  .team-list > .team-card:nth-child(odd).is-active .team-card-expanded {
    padding-left: clamp(28px, 2vw, 36px);
  }
}

.team-card:hover .team-card-expanded,
.team-card.is-active .team-card-expanded {
  max-height: 1200px;
  margin-top: 10px;
  opacity: 1;
  transform: translateX(-18px) translateY(0);
  pointer-events: auto;
}

.team-card-expanded p:last-child {
  margin-bottom: 0;
}

.team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-expanded,
.team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-expanded {
  transform: translateX(-60px) translateY(0);
}

.team-card-single {
  grid-column: 1;
  max-width: none;
}

@media (max-width: 1440px) and (min-width: 981px) {
  .team-page .team-stage {
    padding-block: clamp(96px, 10vw, 152px);
  }

  .team-list {
    gap: clamp(112px, 12vw, 168px) clamp(64px, 8vw, 112px);
    padding-block: clamp(56px, 7vw, 96px);
  }

  .team-list > .team-card + .team-card {
    margin-top: clamp(72px, 9vw, 120px);
  }

  .team-card {
    --team-card-height: clamp(560px, 66vh, 680px);
    height: var(--team-card-height);
    min-height: var(--team-card-height);
  }

  .team-card-media {
    height: 100%;
  }

  .team-card:hover .team-card-content,
  .team-card.is-active .team-card-content,
  .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-content,
  .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-content {
    flex-basis: clamp(460px, 46vw, 640px);
    width: clamp(460px, 46vw, 640px);
    max-width: clamp(460px, 46vw, 640px);
  }
}

.blog-card-media {
  min-height: 280px;
}

.blog-card-media img {
  object-position: center;
}

.article-shell h1 {
  margin: 0 0 14px;
  color: var(--copy-strong);
  line-height: 1.04;
}

.blog-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-weight: var(--font-weight-bold);
}

.blog-pagination a {
  border: 1px solid var(--border-soft);
  background: var(--surface-soft);
}

.blog-pagination a.is-active {
  background: var(--surface-strong);
  color: #fff;
}

.article-cover img {
  min-height: 100%;
  object-position: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.web-accordion {
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
  transition:
    background-color 0.35s ease;
}

.web-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.web-accordion summary::-webkit-details-marker {
  display: none;
}

.web-accordion summary span,
.web-accordion summary strong {
  display: block;
}

.web-accordion summary span {
  margin-bottom: 4px;
  color: var(--copy);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
}

.web-accordion summary strong {
  color: var(--copy-strong);
  font-size: 1.1rem;
  line-height: 1.2;
}

.web-accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--copy-strong);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  transition:
    transform 0.25s ease,
    background-color 0.35s ease,
    color 0.35s ease;
}

.web-accordion[open] summary::after {
  transform: rotate(45deg);
}

.web-accordion-body {
  padding: 0 24px 24px;
}

.web-accordion-body p,
.web-accordion-body li {
  color: var(--copy);
  line-height: 1.7;
}

.web-accordion-body ul {
  margin: 0;
  padding-left: 20px;
}

.showcase-shell {
  background: transparent;
  padding: 0;
  margin-top: 108px;
}

.showcase-card {
  position: relative;
  display: block;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d7d7d7;
}

.showcase-card-featured {
  grid-column: 1 / -1;
  min-height: 680px;
}

.showcase-card .blog-card-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.showcase-card .blog-card-media img {
  transform: scale(1.16);
  object-position: center 68%;
  transition: transform 0.35s ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.58) 32%,
    rgba(0, 0, 0, 0.18) 62%,
    rgba(0, 0, 0, 0) 82%
  );
}

.showcase-card-overview-link {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.showcase-card-overview-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -5px;
}

.showcase-card:hover .blog-card-media img {
  transform: scale(1.2);
}

.showcase-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 40px 44px;
  color: #ffffff;
  pointer-events: none;
}

.showcase-card-head {
  max-width: 32rem;
}

.showcase-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  line-height: 1.05;
}

.showcase-card-description {
  max-width: 42rem;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.12rem, 1.3vw, 1.4rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-copy-tight);
  text-wrap: balance;
}

.showcase-card-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: auto;
}

.showcase-card-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 2px solid #ffffff;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: #ffffff;
  font-size: clamp(0.96rem, 1vw, 1.08rem);
  font-weight: var(--font-weight-extrabold);
  backdrop-filter: blur(8px);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.showcase-card-pills a:hover,
.showcase-card-pills a:focus-visible {
  background: #ffffff;
  color: #111111;
}

.blog-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card-compact {
  display: block;
}

.blog-card-compact:hover {
  text-decoration: none;
}

.blog-card-compact .blog-card-media {
  overflow: hidden;
  height: 320px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.blog-card-compact .blog-card-media img {
  object-position: center 62%;
  transition: transform 0.3s ease;
}

.blog-card-compact:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-compact-body {
  padding: 14px 0 0;
}

.blog-card-topic {
  display: block;
  margin-bottom: 10px;
  color: var(--copy-strong);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.blog-card-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-time-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: var(--radius);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-semibold);
  color: var(--copy-strong);
}

.blog-card-compact h2 {
  margin: 12px 0 8px;
  color: var(--copy-strong);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  transition: color 0.25s ease;
}

.blog-card-compact:hover h2,
.blog-card-compact:focus-visible h2 {
  color: var(--theme-accent);
  text-decoration: none;
}

.blog-card-compact p {
  margin: 0;
  color: var(--copy);
  font-size: 0.98rem;
  font-weight: var(--font-weight-medium);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: var(--menu-bg);
  color: var(--menu-text);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

.menu-overlay[hidden] {
  display: none;
}

.menu-page-main {
  min-height: 100vh;
  padding: 36px var(--page-gutter) 48px;
  background: var(--menu-bg);
  color: var(--menu-text);
}

.menu-page .menu-shell {
  margin: 0;
}

.menu-shell {
  width: auto;
  margin: 36px var(--page-gutter) 0;
}

.menu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 54px;
}

.menu-logo {
  display: block;
  width: clamp(180px, 18vw, 260px);
  height: auto;
  filter: invert(1);
}

.menu-close {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-size: 3.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 90px;
  align-items: start;
}

.menu-primary {
  display: grid;
  gap: 24px;
  padding-left: 130px;
}

.menu-sitemap {
  gap: clamp(28px, 2.4vw, 40px);
}

.menu-dropdown {
  display: block;
}

.menu-summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  min-width: min(100%, 720px);
  cursor: pointer;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

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

.menu-summary::after {
  content: "›";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  color: currentColor;
  font-size: 0.82em;
  line-height: 1;
  opacity: 0;
  transform: translateY(-0.03em) rotate(90deg);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.menu-summary:hover,
.menu-summary:focus-visible {
  color: var(--menu-hover-color);
  opacity: 1;
  transform: translateX(10px);
}

.menu-summary:hover::after,
.menu-summary:focus-visible::after,
.menu-dropdown[open] > .menu-summary::after {
  opacity: 1;
}

.menu-dropdown-body {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding-left: 32px;
}

.menu-dropdown-level-1 > .menu-dropdown-body {
  padding-left: 24px;
}

.menu-summary-label {
  display: inline-flex;
  align-items: center;
}

.menu-summary-level-0 .menu-summary-label,
.menu-link-level-0 {
  font-size: clamp(2.25rem, 3.25vw, 3.35rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
}

.menu-summary-level-1 .menu-summary-label,
.menu-link-level-1 {
  font-size: clamp(1.5rem, 2.15vw, 2.2rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.12;
  opacity: 0.78;
}

.menu-dropdown > .menu-summary::after,
.nav-cta-arrow {
  content: "";
  display: block;
  width: 15px;
  height: 24px;
  flex: 0 0 15px;
  border: 0;
  background: currentColor;
  font-size: 0;
  opacity: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3L15 14L4 25' fill='none' stroke='white' stroke-width='4' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3L15 14L4 25' fill='none' stroke='white' stroke-width='4' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menu-dropdown > .menu-summary::after {
  transform: rotate(90deg);
}

.menu-dropdown[open] > .menu-summary::after {
  transform: rotate(-90deg);
}

a:hover .nav-cta-arrow,
a:focus-visible .nav-cta-arrow {
  transform: translateX(4px);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.menu-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.menu-link-home {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.menu-link-level-2 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.18;
  opacity: 0.7;
}

.menu-link-overview {
  opacity: 1;
  font-weight: var(--font-weight-bold);
}

.menu-primary a {
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-primary a:hover,
.menu-primary a:focus-visible {
  color: var(--menu-hover-color);
  transform: translateX(10px);
  opacity: 1;
}

.menu-secondary {
  display: grid;
  gap: 52px;
}

.menu-secondary section {
  display: grid;
  gap: 14px;
}

.menu-secondary h2 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}

.menu-secondary a,
.menu-secondary p {
  display: block;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.menu-secondary a {
  width: fit-content;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.menu-secondary a:hover,
.menu-secondary a:focus-visible {
  color: var(--menu-hover-color);
  transform: translateX(6px);
  opacity: 1;
}

.menu-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.35em;
  margin-top: 12px;
}

.menu-legal a {
  display: inline-block;
  color: inherit;
}

@media (min-width: 981px) {
  .menu-shell {
    margin-top: clamp(48px, 6vh, 82px);
  }

  .menu-top {
    margin-bottom: clamp(72px, 9vh, 120px);
  }

  .menu-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    column-gap: clamp(120px, 14vw, 260px);
  }

  .menu-primary,
  .menu-sitemap {
    gap: clamp(52px, 7vh, 92px);
    padding-left: clamp(48px, 8vw, 150px);
  }

  .menu-secondary {
    min-height: min(68vh, 760px);
    padding: clamp(20px, 3vh, 42px) clamp(20px, 3vw, 56px) 12px 0;
    align-content: space-between;
    gap: clamp(72px, 10vh, 132px);
  }

  .menu-secondary section {
    gap: 18px;
  }

  .menu-secondary h2 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.2vw, 2.35rem);
  }

  .menu-secondary a,
  .menu-secondary p {
    font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  }
}

body.menu-open {
  position: fixed;
  top: var(--menu-lock-top, 0px);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

body.menu-open .site-header {
  z-index: 101;
  pointer-events: none;
}

body.menu-open .site-header::before {
  opacity: 0;
  transform: translateY(-100%);
}

body.menu-open .brand-lockup,
body.menu-open .desktop-nav,
body.menu-open .header-actions > :not(.menu-button) {
  visibility: hidden;
}

body.menu-open .menu-button {
  position: fixed;
  top: var(--menu-button-open-top);
  left: var(--menu-button-open-left);
  width: var(--menu-button-open-width, 44px);
  height: var(--menu-button-open-height, 44px);
  margin: 0;
  visibility: visible;
  pointer-events: auto;
  color: var(--menu-text);
}

.mini-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mini-article-card {
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-soft) 76%, transparent), rgba(255, 255, 255, 0.14)),
    color-mix(in srgb, var(--surface-soft) 74%, transparent);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.mini-article-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-card-title);
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

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

  .site-header {
    padding: 14px 18px 0;
  }

  body.is-scrolled .site-header {
    padding: 12px 18px;
  }

  .page-hero,
  .about-hero {
    --hero-title-size: clamp(2.8rem, 10vw, 4.25rem);
    --hero-padding-bottom: 52px;
    --hero-padding-top: calc(
      14px + clamp(74px, 8.6vw, 104px) + var(--hero-padding-bottom) + var(--hero-followup-gap-y)
    );
  }

  .page-hero {
    padding: var(--hero-padding-top) 18px var(--hero-padding-bottom);
  }

  .pricing-grid,
.subpage-grid,
.subpage-card-grid,
.team-card,
.npb-grow-grid,
.about-story-grid,
.about-team-teaser {
    grid-template-columns: 1fr;
  }

  .about-page .about-story-media,
  .about-page .about-story-media img {
    height: auto;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(100svh, 860px);
    padding: 140px 20px 28px;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 11vw, 4.7rem);
    line-height: 0.92;
  }

  .hero .hero-slogan-heading,
  .hero-slogan-image {
    width: min(72vw, 560px);
  }

  .home-page .hero .hero-slogan-heading {
    width: min(100%, 560px);
    max-width: 560px;
  }

  .home-page .hero-slogan-image {
    width: 100%;
  }

  .hero-content {
    width: 100%;
    margin: auto 0 clamp(32px, 5vh, 56px);
    text-align: center;
  }

  .hero .hero-slogan-heading {
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
  }

  .hero-cta {
    width: min(100%, 560px);
    min-height: 58px;
  }

  .home-page .hero-actions {
    width: min(100%, 560px);
    margin-inline: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .home-page .hero-cta {
    flex: 1 1 150px;
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .hero-footer-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-footer-nav a:not(:last-child)::after {
    display: none;
  }

  .about-strength-grid,
  .about-process,
  .team-list {
    grid-template-columns: 1fr;
  }

  .about-team-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .about-team-gallery img:nth-child(n) {
    grid-column: auto;
  }

  .team-list > .team-card,
  .team-list > .team-card:nth-child(even) {
    grid-column: 1;
  }

  .team-list > .team-card + .team-card {
    margin-top: 0;
  }

  .about-hero {
    padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
  }

  .about-hero-shell h1 {
    max-width: 11ch;
  }

  .about-process {
    --about-process-gap: 22px;
    gap: var(--about-process-gap);
    padding-top: 0;
  }

  .about-process-line {
    display: none;
  }

  .about-process-number {
    position: static;
    margin: 0 auto 16px;
  }

  .about-team-teaser {
    padding: var(--team-card-inset);
  }

  .about-team-gallery img {
    height: 240px;
    min-height: 0;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: var(--radius);
  }

  .blog-overview-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card-featured {
    min-height: 420px;
  }

  .menu-shell {
    position: relative;
    width: auto;
    min-height: 100dvh;
    margin: 0;
    padding: 24px 20px 28px;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-top {
    position: absolute;
    z-index: 1;
    top: 24px;
    right: 20px;
    left: 20px;
    margin-bottom: 0;
  }

  .menu-grid {
    display: block;
    padding: 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-primary {
    min-height: calc(100dvh - 52px);
    align-content: safe center;
    padding-left: 0;
    padding-block: 80px;
  }

  .menu-secondary {
    margin-top: 72px;
    padding-bottom: 36px;
  }

  .menu-dropdown-body {
    padding-left: 18px;
  }

  .menu-dropdown-level-1 > .menu-dropdown-body {
    padding-left: 14px;
  }

  .mini-article-grid {
    grid-template-columns: 1fr;
  }

  .content-shell {
    padding: 22px;
    margin: 10px;

  }

  .dark-shell {
    margin: 10px;
    padding: 22px;
  }

  .web-accordion summary {
    padding: 18px 18px 16px;
  }

  .web-accordion-body {
    padding: 0 18px 18px;
  }

  .team-card-featured {
    min-height: auto;
  }

  .team-card {
    --team-card-height: auto;
    height: auto;
    min-height: auto;
    display: grid;
    gap: 0;
    padding: 0;
    border-radius: var(--radius);
    background: transparent;
    overflow: visible;
    cursor: pointer;
  }

  .team-card-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 9;
    border-radius: var(--radius);
  }

  .team-card-content,
  .team-card:hover .team-card-content,
  .team-card.is-active .team-card-content,
  .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-content,
  .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-content,
  .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-content {
    width: 100%;
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: auto;
    margin: 0;
    transform: none;
    padding: 16px clamp(18px, 5vw, 28px);
    border-radius: var(--radius);
    background: rgba(255, 241, 201, 0.98);
  }

  .team-card-collapsed,
  .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-collapsed,
  .team-card:hover .team-card-collapsed {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: none;
    opacity: 1;
    align-items: flex-start;
    gap: 4px;
  }

  .team-card-collapsed-role {
    display: none;
  }

  .team-card-expanded,
  .team-card:hover .team-card-expanded,
  .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-expanded,
  .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-expanded {
    position: relative;
    inset: auto;
    padding-top: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
    pointer-events: none;
  }

  .team-card.is-active .team-card-collapsed {
    opacity: 0;
    max-height: 0;
    transform: none;
  }

  .team-card.is-active .team-card-expanded,
  .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-expanded {
    max-height: 1200px;
    margin-top: 8px;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .team-card-expanded > h3 {
    display: block;
  }

  .team-card-expanded > .team-card-role {
    display: inline-block;
  }

  .team-card-single {
    grid-column: auto;
    max-width: none;
  }

  .testimonial-stage {
    min-height: auto;
  }

  .testimonial-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 24px;
  }

  .testimonial-flow {
    position: relative;
    display: grid;
    gap: 32px;
  }

  .speech-bubble {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .section-head h2,
  .section-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.02;
  }
}

@media (max-width: 640px) {

  .hero-page {
    min-height: auto;
    border-radius: 0;
  }

  .hero {
    min-height: min(100svh, 740px);
    padding-top: 124px;
  }

  .brand-lockup {
    width: 180px;
    height: 56px;
  }

  body.is-scrolled .brand-lockup {
    width: 150px;
    height: 36px;
  }

  body.is-scrolled .brand-logo-alt {
    width: 100%;
    transform: translateY(0) scale(1) rotate(0deg);
  }

  body.is-scrolled .header-actions {
    transform: none;
  }

  .menu-logo {
    width: 160px;
  }

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

  .page-hero,
  .about-hero {
    --hero-title-size: clamp(2.35rem, 12vw, 3.45rem);
    --hero-body-size: 1rem;
    --hero-padding-bottom: 20px;
    --hero-padding-top: 108px;
    background-position: center center;
  }

  .hero .hero-slogan-heading {
    width: min(64vw, 240px);
    max-width: min(64vw, 240px);
  }

  .hero-slogan-image {
    width: 100%;
  }

  .menu-sitemap {
    gap: clamp(48px, 7vh, 68px);
  }

  .menu-dropdown-body {
    gap: 28px;
    margin-top: 28px;
  }

  .menu-link-level-0,
  .menu-summary-level-0 .menu-summary-label {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
    line-height: 1.04;
  }

  .menu-link-level-1,
  .menu-summary-level-1 .menu-summary-label {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.12;
  }

  .menu-link-level-2 {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    line-height: 1.2;
  }

  .menu-secondary h2 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .menu-secondary a,
  .menu-secondary p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .team-card-content p,
  .article-body p,
  .npb-clean-card p,
  .npb-clean-lead {
    font-size: 1.05rem;
    line-height: var(--line-height-copy-tight);
  }
}

.npb-clean-hero {
  min-height: 100vh;
  padding: 110px 24px 80px;
  background: #ffffff;
  color: #111111;
  text-align: center;
}

.npb-clean-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.npb-clean-hero h1 {
  margin: 0;
  font-size: var(--hero-title-size);
  font-weight: var(--font-weight-extrabold);
  line-height: 0.92;
}

@media (min-width: 981px) {
  .npb-clean-hero h1 {
    white-space: nowrap;
  }
}

.npb-clean-lead {
  margin: 34px auto 0;
  max-width: 620px;
  color: #1f1f1f;
  font-size: 1.05rem;
  line-height: var(--line-height-copy-tight);
}

.npb-clean-planet {
  display: block;
  width: 150px;
  height: auto;
  margin: 58px auto 86px;
}

.npb-clean-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 34px;
}

.npb-clean-card {
  min-height: 360px;
  padding: 34px 34px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(247, 247, 247, 0.42)),
    rgba(247, 247, 247, 0.66);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.npb-clean-card-featured {
  min-height: 460px;
  transform: translateY(-34px);
}

.npb-clean-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 30px;
  padding: 12px;
  border-radius: var(--radius);
}

.npb-clean-card h3 {
  margin: 0 0 28px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.npb-clean-card p {
  margin: 0;
  color: #222222;
  font-size: var(--font-size-body);
  line-height: 1.7;
}

body[class] #wirkung .dark-shell,
body[class] #partner .dark-shell {
  background: var(--surface);
  color: var(--copy-strong);
}

body[class] #wirkung .dark-shell p,
body[class] #partner .dark-shell p {
  color: var(--copy);
}

body[class] #partner .npb-video-card {
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
}

@media (max-width: 900px) {
  .npb-clean-hero {
    padding: 100px 18px 60px;
  }

  .npb-clean-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .npb-clean-cards {
    grid-template-columns: 1fr;
  }

  .npb-clean-card-featured {
    transform: none;
    min-height: 360px;
  }
}
.clients-shell {
  overflow: visible;
  padding-block: clamp(32px, 5vw, 72px);
  border-radius: 0;
}

.logo-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 72px;
  padding-block: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 110px;
  width: max-content;
  animation: logoScroll 35s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 110px;
  flex-shrink: 0;
}

.logo-slider:hover .logo-track,
.logo-slider:focus-within .logo-track,
.logo-track:has(img:hover) {
  animation-play-state: paused;
}

.logo-track img {
  --logo-scale: 1;
  --logo-hover-scale: 1.1;
  --logo-y: 0px;
  height: clamp(76px, 6vw, 110px);
  width: auto;
  transform-origin: center;
  transform: translateY(var(--logo-y)) scale(var(--logo-scale));
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.55;
  transition: 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(var(--logo-y)) scale(var(--logo-hover-scale));
}

/* The supplied horizontal logos sit on square canvases with generous empty
   space. Their individual scale and side room align the visible marks with
   the compact round logos while keeping the marquee collision-free. */
.logo-track img[src$="AgenturVonHier.png"] {
  --logo-scale: 3.7;
  --logo-hover-scale: 3.95;
  margin-inline: clamp(68px, 9vw, 140px);
}

.logo-track img[src$="BrVolleys.png"] {
  --logo-scale: 2.05;
  --logo-hover-scale: 2.2;
  margin-inline: clamp(26px, 3.4vw, 52px);
}

.logo-track img[src$="DVV.png"] {
  --logo-scale: 2.5;
  --logo-hover-scale: 2.68;
  margin-inline: clamp(38px, 4.8vw, 74px);
}

.logo-track img[src$="HildesheimInvaders.png"] {
  --logo-scale: 3.2;
  --logo-hover-scale: 3.42;
  margin-inline: clamp(55px, 7vw, 108px);
}

.logo-track img[src$="TwilightMagazin.png"] {
  --logo-scale: 2.1;
  --logo-hover-scale: 2.25;
  margin-inline: clamp(26px, 3.4vw, 52px);
}

.logo-track img[src$="ZoiDVVPokalfinale.png"] {
  --logo-scale: 1.7;
  --logo-hover-scale: 1.82;
  margin-inline: clamp(18px, 2.2vw, 34px);
}

.logo-track img[src$="Vfl-Logo_Sterne_Weisser_Grund_Weisse_Sterne.png"] {
  --logo-scale: 1.35;
  --logo-hover-scale: 1.46;
  --logo-y: -6px;
  margin-inline: clamp(8px, 1vw, 16px);
}

@keyframes logoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 55px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

@media (max-width: 1000px) {
  .logo-track img {
    height: 68px;
  }
}

@media (max-width: 700px) {
  .logo-slider {
    margin-top: 40px;
    padding-block: 20px;
  }

  .logo-track,
  .logo-group {
    gap: 64px;
  }

  .logo-track img {
    height: 52px;
  }

  @keyframes logoScroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-50% - 32px));
    }
  }
}

.contact-page-main {
  background: #ffffff;
  color: #050505;
}

.contact-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(96px, 12vh, 124px) var(--page-gutter) 48px;
  display: flex;
  align-items: center;
}

.contact-hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.contact-map-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #aeb9c8;
  filter: saturate(1.08) contrast(1.06) brightness(0.94);
  pointer-events: none;
}

/* Mapbox adds .mapboxgl-map after initialization. Its stylesheet is loaded
   after the theme and otherwise changes the map back to position: relative. */
.contact-hero-section > .contact-map-background.mapboxgl-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

.contact-map-background .mapboxgl-canvas {
  outline: none;
}

.contact-map-background .mapboxgl-ctrl-bottom-left,
.contact-map-background .mapboxgl-ctrl-bottom-right {
  pointer-events: auto;
}

.contact-map-background .mapboxgl-ctrl-attrib {
  font-family: var(--font-family-map);
  font-size: 10px;
}

.contact-map-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-map);
}

.contact-map-pin-dot {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 6px solid #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(8, 13, 22, 0.4);
}

.contact-map-pin-dot::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(248, 81, 18, 0.58);
  border-radius: inherit;
  animation: contactMapPulse 2.4s ease-out infinite;
}

.contact-map-pin-label {
  min-width: max-content;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 2px;
  background: rgba(8, 11, 17, 0.92);
  box-shadow: 0 12px 32px rgba(8, 13, 22, 0.3);
  color: #ffffff;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.contact-map-pin-label strong {
  font-size: 0.8rem;
  font-weight: var(--font-weight-extrabold);
}

.contact-map-pin-label small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
}

@keyframes contactMapPulse {
  0% {
    opacity: 1;
    transform: scale(0.55);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.contact-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
  gap: clamp(20px, 2vw, 28px);
  align-items: start;
}

.contact-form-column {
  display: contents;
}

.contact-heading {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-self: end;
}

.contact-form-column h1 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-weight: var(--font-weight-bold);
}

.contact-heading p {
  max-width: 62ch;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: clamp(0.9rem, 0.9vw, 1rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-copy-tight);
  text-wrap: balance;
}

.contact-design-form > label > span:not(.contact-topic-field),
.contact-field-row label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.contact-design-form input:not([type="checkbox"]),
.contact-design-form select,
.contact-design-form textarea {
  border: 1px solid #f0dfc8;
  border-radius: var(--radius);
  background: #ffffff;
  color: #141414;
  font-size: 0.96rem;
  font-weight: var(--font-weight-semibold);
}

.contact-design-form input:not([type="checkbox"]),
.contact-design-form select {
  min-height: 74px;
  padding: 0 28px;
}

.contact-design-form select {
  width: 100%;
  appearance: none;
  cursor: pointer;
  background-position: calc(100% - 29px) 32px, calc(100% - 23px) 32px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.contact-topic-field {
  position: relative;
  display: block;
  z-index: 2;
}

.contact-topic-field input {
  width: 100%;
  padding-right: 68px;
}

.contact-topic-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 58px;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  cursor: pointer;
}

.contact-topic-toggle::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #c6ad92;
  border-bottom: 2px solid #c6ad92;
  transform: rotate(45deg);
}

.contact-topic-toggle:hover::after {
  border-color: var(--theme-accent);
}

.contact-topic-field.is-open .contact-topic-toggle::after {
  top: 34px;
  transform: rotate(225deg);
}

.contact-topic-toggle:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 2px;
}

.contact-topic-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #f0dfc8;
  border-radius: var(--radius);
  background: #fffaf3;
}

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

.contact-topic-options button {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #141414;
  font: inherit;
  font-weight: var(--font-weight-semibold);
  text-align: left;
  cursor: pointer;
}

.contact-topic-options button:hover,
.contact-topic-options button:focus-visible,
.contact-topic-options button[aria-selected="true"] {
  outline: none;
  color: var(--theme-accent);
}

.contact-design-form input::placeholder,
.contact-design-form textarea::placeholder {
  color: #777777;
}

.contact-design-form input:not([type="checkbox"]):focus,
.contact-design-form select:focus,
.contact-design-form textarea:focus {
  border-color: var(--theme-accent);
  outline: 2px solid var(--theme-accent);
  outline-offset: 2px;
}

.contact-form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-top: 2px;
}

.contact-consent {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #ffffff;
  font-size: var(--font-size-compact);
  line-height: 1.35;
}

.contact-design-form .contact-consent > span {
  color: #ffffff;
}

.contact-consent input {
  width: 12px;
  height: 12px;
  min-height: 0;
  padding: 0;
  margin: 6px 0 0;
  border-radius: 0;
  accent-color: var(--theme-accent);
}

.contact-consent a {
  color: var(--theme-accent);
  font-weight: var(--font-weight-extrabold);
}

.contact-submit {
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--theme-accent);
  gap: 20px;
  background: var(--theme-accent);
  color: #ffffff;
  font-weight: var(--font-weight-extrabold);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-submit span {
  color: #ffffff;
}

.contact-submit .send-arrow {
  color: #ffffff;
  font-size: 1.15rem;
}

.contact-info-card {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  min-height: auto;
  margin-top: 0;
  padding: clamp(34px, 3vw, 42px) 24px clamp(26px, 3vw, 34px);
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(64px, 7vh, 92px);
  color: #000000;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--section-title-line-height);
  z-index: 1;
}

.contact-info-list {
  display: grid;
  gap: clamp(38px, 5vh, 58px);
  margin-bottom: clamp(46px, 6vh, 72px);
}

.contact-info-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  color: #0f0f0f;
  font-size: 0.93rem;
  line-height: 1.35;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--theme-accent);
  color: #ffffff;
  font-size: 1.65rem;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.contact-info-item a,
.contact-info-item span {
  overflow-wrap: anywhere;
}

.contact-info-address-link address {
  margin: 0;
  font-style: normal;
  line-height: 1.5;
}

.contact-note {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--surface-neutral);
  color: #090909;
  font-size: 0.93rem;
  line-height: 1.35;
}

.contact-note p {
  margin: 0;
}

.contact-note p + p {
  margin-top: 22px;
}

.contact-note a {
  color: var(--theme-accent);
  font-weight: var(--font-weight-extrabold);
}

.contact-info-card a {
  color: #0f0f0f;
}

@media (max-width: 980px) {
  .contact-hero-section {
    padding-top: 112px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .contact-design-form {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-form-column {
    display: contents;
  }
}

@media (max-width: 640px) {
  .contact-map-pin-label {
    display: none;
  }

  .contact-field-row,
  .contact-form-footer {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-map-pin-dot::before {
    animation: none;
  }
}

/* Homepage redesign matching the supplied landing-page mockup */

.home-page .content-section {
  padding: var(--section-spacing-y) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(500px, 0.9fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.intro-copy h2 {
  margin: 0 0 var(--section-title-copy-gap);
  font-size: var(--section-title-size);
  line-height: 0.9;
}

.intro-copy p {
  max-width: 680px;
  margin: 0 0 14px;
  color: var(--copy-strong);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  line-height: 1.42;
}

.intro-actions {
  width: min(100%, 520px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.5vw, 34px);
}

.intro-actions .subpage-cta-link {
  flex: 1 1 190px;
  min-height: 52px;
  padding-inline: 22px;
}

.intro-action-primary {
  border-color: var(--theme-accent);
  background: var(--theme-accent);
  color: #ffffff;
}

.intro-action-secondary {
  border-color: var(--theme-accent);
  background: transparent;
  color: var(--theme-accent);
}

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

.home-page .intro-grid .stats-grid {
  width: 100%;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .intro-grid .stat-card {
  min-height: clamp(190px, 14vw, 230px);
  padding: clamp(24px, 2.2vw, 34px);
}

.stat-card {
  min-height: 170px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--theme-accent-strong);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card strong {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 0.92;
  letter-spacing: -0.06em;
  z-index: 1;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: clamp(0.98rem, 1.15vw, 1.2rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.25;
}

.about-page .content-section {
  padding: var(--section-spacing-y) 0;
}

.about-page .about-intro {
  padding-top: var(--section-spacing-y);
  margin-bottom: calc(var(--section-gap-y) + clamp(80px, 8vw, 140px));
}

.about-page .about-strength-card i,
.about-page .about-process-step i,
.about-page .about-team-link,
.team-page .team-card-role,
.team-page .team-card-collapsed-role {
  color: var(--theme-accent);
}

.about-page .about-team-link:not(.about-team-link-outline),
.about-page .about-team-link:hover,
.about-page .about-team-link:focus-visible {
  color: #ffffff;
}

.about-page .about-story-copy h2 {
  margin: 0 0 18px;
  font-size: var(--section-title-size);
  line-height: 0.9;
}

.about-page .about-story-grid {
  gap: clamp(58px, 6vw, 92px);
  align-items: stretch;
}

.about-page .about-story-media,
.about-page .about-story-media img {
  height: 100%;
}

.about-page .about-story-copy p,
.about-page .about-process-step p,
.about-page .about-strength-card p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-page .about-story-copy p {
  font-weight: var(--font-weight-semibold);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(36px, 4vw, 58px);
}

.about-stats-grid .stat-card {
  min-height: 132px;
}

@media (max-width: 760px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

.about-page .about-section-head {
  margin-bottom: clamp(42px, 5vw, 72px);
}

.about-page .about-strength-grid {
  gap: clamp(30px, 3vw, 48px);
}

.about-page .about-strength-card {
  min-height: 320px;
  padding: clamp(38px, 4vw, 58px) clamp(32px, 3.4vw, 50px);
}

.about-page .about-process {
  --about-process-gap: clamp(34px, 4vw, 58px);
  gap: var(--about-process-gap);
  padding-top: clamp(70px, 7vw, 98px);
}

.about-page .about-process-line {
  top: 34px;
}

.about-page .about-process-number {
  top: calc(17px - clamp(70px, 7vw, 98px));
}

.about-page .about-process-step {
  min-height: 250px;
}

.about-page .about-team-gallery {
  gap: var(--team-card-inset);
}

.about-page .about-team-gallery img {
  min-height: clamp(180px, 16vw, 240px);
}

@media (max-width: 900px) {
  .about-page .about-story-grid,
  .about-page .about-strength-grid,
  .about-page .about-process,
  .about-page .about-team-teaser {
    gap: 28px;
  }

  .about-page .about-strength-card,
  .about-page .about-process-step {
    min-height: auto;
  }

  .about-page .about-process {
    padding-top: 0;
  }

  .about-page .about-process-number {
    top: auto;
  }

  .about-page .about-team-teaser {
    padding: var(--team-card-inset);
  }
}

.faq-head span {
  color: var(--theme-accent-strong);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}

.home-services-grid .showcase-card-featured {
  min-height: clamp(480px, 48vw, 650px);
}

.home-services-grid .showcase-card {
  min-height: clamp(360px, 34vw, 470px);
}

.home-services-grid .showcase-card .blog-card-media img {
  transform: scale(1.08);
}

.home-services-grid .showcase-card:hover .blog-card-media img {
  transform: scale(1.13);
}

.home-services-grid .showcase-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.home-page .testimonial-stage {
  min-height: clamp(1800px, 270vh, 2600px);
}

@media (max-width: 900px) {
  .home-page .testimonial-stage {
    min-height: auto;
  }

  .home-page .testimonial-flow {
    gap: 24px;
  }

  .home-page .speech-bubble {
    width: min(100%, 340px);
    min-height: 230px;
    aspect-ratio: 399 / 299;
    margin: 0;
    padding: clamp(18px, 5vw, 24px) clamp(20px, 6vw, 30px) clamp(36px, 10vw, 48px);
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-page .speech-bubble-shape,
  .home-page .testimonial-flow .speech-bubble::before {
    display: block;
  }

  .home-page .speech-bubble::after {
    content: none;
  }

  .home-page .speech-bubble:nth-child(odd) {
    justify-self: start;
    margin: 0;
  }

  .home-page .speech-bubble:nth-child(even) {
    justify-self: end;
    margin: 0;
  }

  .home-page .speech-bubble p {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: clamp(0.92rem, 2.8vw, 1.08rem);
    line-height: 1.42;
  }

  .home-page .speech-bubble strong {
    font-size: clamp(0.86rem, 2.5vw, 1rem);
  }

  .home-page .speech-bubble span {
    font-size: clamp(0.78rem, 2.3vw, 0.92rem);
  }
}

.faq-head p {
  margin: 0 0 26px;
  color: var(--copy);
  font-weight: var(--font-weight-semibold);
}

.faq-list .web-accordion {
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-accent-soft);
  color: var(--copy-strong);
}

.faq-list .web-accordion + .web-accordion {
  margin-top: 6px;
}

.faq-list .web-accordion:hover,
.faq-list .web-accordion[open] {
  background: var(--theme-accent-strong);
  color: #ffffff;
}

.faq-list .web-accordion summary {
  padding: 20px 28px;
}

.faq-list .web-accordion summary strong {
  color: var(--copy-strong);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.faq-list .web-accordion:hover summary strong,
.faq-list .web-accordion[open] summary strong,
.faq-list .web-accordion:hover .web-accordion-body p,
.faq-list .web-accordion-body p {
  color: #ffffff;
}

.faq-list .web-accordion:not(:hover):not([open]) .web-accordion-body p {
  color: var(--copy);
}

.faq-list .web-accordion summary::after {
  align-self: center;
  background: transparent;
  color: currentColor;
  font-size: 2.1rem;
  font-weight: var(--font-weight-light);
  line-height: 1;
}

.faq-list .web-accordion:hover summary::after,
.faq-list .web-accordion[open] summary::after {
  color: #ffffff;
}

.faq-list .web-accordion:not(:hover):not([open]) summary::after {
  color: var(--copy-strong);
}

.faq-list .web-accordion[open] summary::after {
  content: "−";
  transform: none;
}

.faq-list .web-accordion-body {
  padding: 0 28px 22px;
}

.faq-list .web-accordion-body p {
  max-width: 1180px;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.5;
}

@media (max-width: 980px) {

  .intro-grid,
  .home-services-grid,
  .blog-overview-grid {
    grid-template-columns: 1fr;
  }

  .home-page .content-shell {
    margin-left: var(--page-gutter);
    margin-right: var(--page-gutter);
  }

  .home-services-grid .showcase-card,
  .home-services-grid .showcase-card-featured {
    min-height: clamp(360px, 78vw, 520px);
  }
}

.home-page .site-header > .desktop-nav .desktop-nav-list {
  gap: 14px;
}

.home-page .site-header > .desktop-nav .desktop-nav-link {
  min-height: 40px;
  font-size: clamp(1.05rem, 0.9vw, 1.18rem);
  font-weight: var(--font-weight-extrabold);
}

.home-page .site-header > .desktop-nav .desktop-nav-link::after {
  bottom: 6px;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 0 var(--page-gutter) clamp(42px, 5vw, 64px);
}

.site-footer-inner {
  position: relative;
  width: 100%;
  margin: 0;
  padding-top: clamp(52px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) repeat(3, minmax(150px, 1fr));
  column-gap: clamp(32px, 6vw, 86px);
  row-gap: 40px;
  align-items: flex-start;
}

.site-footer-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.site-footer-brand img {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  align-items: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer-socials a {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.96;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
}

.site-footer-column h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  line-height: 1.12;
  font-weight: var(--font-weight-extrabold);
}

.site-footer-column a,
.site-footer-copyright {
  font-size: clamp(1.15rem, 1.15vw, 1.35rem);
  line-height: 1.4;
  opacity: 0.88;
}

.site-footer-column:not(.site-footer-brand) > a {
  font-size: clamp(0.86rem, 0.78vw, 1rem);
  line-height: 1.35;
}

.site-footer-copyright {
  margin: 16px 0 0;
  max-width: 260px;
}

.site-footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(18px, 2.5vw, 36px);
  margin-top: clamp(18px, 2.5vw, 32px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 0.95vw, 1.08rem);
  line-height: 1.4;
}

.site-footer-legal .site-footer-copyright,
.site-footer-legal a {
  margin: 0;
  max-width: none;
  font-size: inherit;
  line-height: inherit;
  opacity: 1;
}

.site-footer-legal > a:first-of-type {
  margin-left: auto;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-purple-light);
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-copyright {
    max-width: none;
  }
}

/* Services landing page */
.services-overview,
.services-process,
.services-faq {
  background: #ffffff;
  color: #070707;
}

.services-overview { padding-top: clamp(56px, 7vw, 96px); }
.services-process { padding-top: clamp(86px, 9vw, 132px); padding-bottom: clamp(72px, 8vw, 112px); }
.services-faq { padding-top: clamp(76px, 8vw, 118px); padding-bottom: clamp(76px, 8vw, 118px); }

.services-page-shell {
  width: auto;
  margin: 0 var(--page-gutter);
}

.services-intro { margin-bottom: clamp(34px, 4vw, 56px); }
.services-intro span {
  display: block;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--theme-accent);
}

.services-intro h2 {
  margin: 0 0 var(--section-title-copy-gap);
  color: #050505;
  font-size: var(--section-title-size);
  line-height: 0.94;
}
.services-image-card {
  position: relative;
  display: block;
  height: clamp(360px, 38vw, 500px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  color: inherit;
}

.services-image-card:hover img,
.services-image-card:focus-visible img {
  transform: scale(1.035);
}

.services-image-card img {
  transition: transform 0.35s ease;
}
.services-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.08) 45%, rgba(0,0,0,.65));
}

.service-feature-copy p {
  max-width: 540px;
  margin: 0;
  color: #1f1f1f;
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.58;
}
.service-section-link {
  gap: 10px;
  width: fit-content;
  margin-top: 26px;
  padding: 14px 24px;
  background: var(--theme-accent);
  color: #ffffff;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.service-section-link .send-arrow {
  width: 1.35em;
  height: 1.35em;
  align-self: center;
  transform: none;
}

.service-section-link:hover .send-arrow,
.service-section-link:focus-visible .send-arrow {
  transform: translateX(4px);
}

.service-section-link:hover,
.service-section-link:focus-visible {
  background: var(--theme-accent-strong);
}

.service-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }

.process-lineup { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }

.services-intro.faq-heading span {
  margin-bottom: 12px;
}

.faq-heading p { margin: 0 0 26px; color: #222; font-size: clamp(1rem, 1.05vw, 1.12rem); font-weight: var(--font-weight-semibold); line-height: var(--line-height-copy-compact); }
:where(.services-faq) .faq-list details { border-radius: var(--radius); background: color-mix(in srgb, var(--theme-accent) 12%, #ffffff); color: #111; font-weight: var(--font-weight-extrabold); }
:where(.services-faq) .faq-list details + details { margin-top: 9px; }
:where(.services-faq) .faq-list details[open] { background: var(--theme-accent); color: #fff; }
:where(.services-faq) .faq-list summary { list-style: none; cursor: pointer; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
:where(.services-faq) .faq-list summary::-webkit-details-marker { display: none; }
:where(.services-faq) .faq-list summary::after { content: "+"; align-self: center; color: currentColor; line-height: 1; transition: color 0.35s ease; }
:where(.services-faq) .faq-list details:hover summary::after,
:where(.services-faq) .faq-list details[open] summary::after { color: #ffffff; }
:where(.services-faq) .faq-list details[open] summary::after { content: "−"; }
:where(.services-faq) .faq-list p { margin: 0; padding: 0 22px 20px; max-width: 760px; font-size: .86rem; font-weight: var(--font-weight-medium); line-height: 1.45; }
.services-faq .faq-head span,
.services-faq .faq-heading span {
  color: var(--theme-accent);
}

.services-faq .faq-list .web-accordion {
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--theme-accent) 12%, #ffffff);
  color: var(--copy-strong);
  font-weight: var(--font-weight-extrabold);
}

.services-faq .faq-list .web-accordion:hover,
.services-faq .faq-list .web-accordion[open] {
  background: var(--theme-accent);
}

@media (max-width: 820px) {
  .process-lineup { grid-template-columns: 1fr; }
  .service-benefits { grid-template-columns: 1fr; }

  .services-image-card { height: 320px; grid-column: auto; }

}

.services-faq .faq-list .web-accordion + .web-accordion {
  margin-top: 6px;
}

.services-faq .faq-list .web-accordion summary {
  padding: 20px 28px;
}

.services-faq .faq-list .web-accordion .web-accordion-body {
  padding: 0 28px 22px;
}

.services-faq .faq-list .web-accordion .web-accordion-body p {
  max-width: 1180px;
  padding: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.services-faq .faq-list .web-accordion:hover summary strong,
.services-faq .faq-list .web-accordion[open] summary strong,
.services-faq .faq-list .web-accordion:hover .web-accordion-body p,
.services-faq .faq-list .web-accordion[open] .web-accordion-body p {
  color: #ffffff;
}

.services-faq .faq-list .web-accordion:not(:hover):not([open]) summary strong,
.services-faq .faq-list .web-accordion:not(:hover):not([open]) summary::after,
.services-faq .faq-list .web-accordion:not(:hover):not([open]) .web-accordion-body p {
  color: var(--copy-strong);
}

.universal-project-cta {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: clamp(76px, 9vw, 136px) 0;
  background: #000000;
  color: #ffffff;
}

.global-cta-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(540px, 1.2fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  margin: 0 var(--page-gutter);
}

.site-footer .global-cta-card {
  margin-inline: 0;
}

.global-cta-copy h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2.3rem, 4.3vw, 4.8rem);
  line-height: 0.98;
}

.global-cta-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: var(--line-height-copy);
}

.global-cta-form-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}

.global-cta-form {
  position: relative;
  width: min(100%, 620px);
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.global-cta-form h3 { margin: 0 0 2px; color: #111111; font-size: clamp(1.55rem, 2vw, 2rem); }
.global-cta-form label { display: grid; gap: 5px; }
.global-cta-form label > span { color: #111111; font-size: 0.9rem; font-weight: var(--font-weight-bold); }
.global-cta-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.global-cta-form input:not([type="checkbox"]),
.global-cta-form select,
.global-cta-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: var(--surface-editorial);
  color: #111111;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  outline: none;
}
.global-cta-form input:not([type="checkbox"]),
.global-cta-form select {
  min-height: 52px;
  padding: 0 18px;
}
.global-cta-form select {
  height: 52px;
  padding-right: 42px;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: light;
  background-color: var(--surface-editorial);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' fill='none' stroke='%2350148f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 14px 9px;
  -webkit-border-radius: var(--radius);
  text-indent: 0;
}
.global-cta-form select option {
  background: #ffffff;
  color: #111111;
}
.global-cta-form textarea {
  min-height: 110px;
  padding: 16px 18px;
  resize: vertical;
}
.global-cta-form input:focus, .global-cta-form select:focus, .global-cta-form textarea:focus { border-color: var(--theme-accent); box-shadow: 0 0 0 2px var(--theme-accent-soft); }
.global-cta-consent { grid-template-columns: auto 1fr; align-items: start; }
.global-cta-consent input,
.newsletter-modal-consent input {
  margin-top: 3px;
  accent-color: var(--theme-accent);
}
.global-cta-consent span { line-height: 1.45; }
.global-cta-consent a { color: var(--theme-accent); text-decoration: underline; }

.global-cta-button {
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  background: var(--theme-accent);
  color: #ffffff;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.35s ease;
}

.global-cta-button .send-arrow {
  font-size: var(--font-size-card-title);
}

.global-cta-button:hover,
.global-cta-button:focus-visible {
  background: var(--theme-accent-strong);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .global-cta-card { grid-template-columns: 1fr; }
  .global-cta-copy { max-width: 720px; }
}

@media (max-width: 720px) {
  .universal-project-cta { padding: 64px 0; }
  .global-cta-card {
    grid-template-columns: 1fr;
    margin: 0 10px;
  }
  .global-cta-form-stage { min-height: 0; padding: 0; }
  .global-cta-form { padding: 18px 16px; }
  .global-cta-field-row { grid-template-columns: 1fr; }
}

/* Journal detail layout */
.theme-journal .content-section:has(.article-shell) {
  padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 8vw, 120px);
}

.article-shell {
  width: auto;
  max-width: none;
  margin: 0 var(--page-gutter);
  padding: 0;
  background: transparent;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 6.8;
  margin: 0 0 clamp(28px, 4vw, 46px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--theme-accent-soft);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.article-shell > h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: clamp(42px, 6vw, 72px);
  color: color-mix(in srgb, var(--copy) 82%, transparent);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: var(--font-weight-medium);
}

.article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 0 2px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--copy) 35%, transparent);
  vertical-align: middle;
}

.article-body {
  color: var(--copy-strong);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
}

.article-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 48px);
  margin-top: clamp(44px, 6vw, 80px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border-soft);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--copy-strong);
}

.article-nav-link:hover {
  text-decoration: none;
}

.article-nav-link-next {
  align-items: flex-end;
  text-align: right;
}

.article-nav-kicker {
  color: var(--copy);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: var(--font-weight-semibold);
}

.article-nav-title {
  max-width: 720px;
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-nav-link:hover .article-nav-title {
  color: var(--theme-accent-strong);
}

.article-related {
  margin: clamp(56px, 7vw, 96px) calc(var(--page-gutter) * -1) 0;
  padding: clamp(44px, 6vw, 76px) var(--page-gutter);
  background: var(--surface-soft);
}

.article-related h2 {
  margin: 0 0 clamp(28px, 4vw, 42px);
  color: var(--copy-strong);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
}

.article-related-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
  color: var(--copy-strong);
  cursor: pointer;
}

.article-related-card:hover,
.article-related-card:focus-visible {
  text-decoration: none;
}

.article-related-card:focus-visible {
  outline: 3px solid var(--theme-accent-strong);
  outline-offset: 10px;
  border-radius: var(--radius);
}

.article-related-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--copy);
  font-weight: var(--font-weight-semibold);
}

.article-related-author {
  color: var(--copy-strong);
}

.article-related-card h3 {
  margin: 0 0 18px;
  max-width: 860px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
  transition: color 0.22s ease;
}

.article-related-card:hover h3,
.article-related-card:focus-visible h3 {
  color: var(--theme-accent-strong);
}

.article-related-card p {
  max-width: 780px;
  margin: 0 0 26px;
  color: var(--copy);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: var(--line-height-copy);
  transition: color 0.22s ease;
}

.article-related-card:hover p,
.article-related-card:focus-visible p {
  color: var(--theme-accent-strong);
}

.article-related-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.article-related-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--copy-strong);
  font-weight: var(--font-weight-semibold);
}

.article-related-media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--theme-accent-soft);
}

.article-related-media img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.article-related-card:hover .article-related-media img,
.article-related-card:focus-visible .article-related-media img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

@media (max-width: 760px) {
  .article-footer-nav,
  .article-related-card {
    grid-template-columns: 1fr;
  }

  .article-nav-link-next {
    align-items: flex-start;
    text-align: left;
  }

  .article-related-media {
    max-width: 220px;
  }
}

.article-body p,
.article-body li {
  color: var(--copy-strong);
  line-height: 1.78;
}

.article-body p {
  margin: 0 0 1.3em;
}

.article-body h2 {
  margin: clamp(44px, 6vw, 72px) 0 clamp(20px, 3vw, 30px);
  color: var(--copy-strong);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.06;
}

.article-body h3 {
  margin: clamp(34px, 5vw, 58px) 0 18px;
  color: var(--copy-strong);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.15;
}

.article-body a {
  color: var(--theme-accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 clamp(30px, 4vw, 46px) 1.2em;
  padding: 0;
}

.article-body li {
  padding-left: 0.25em;
  margin-bottom: 0.7em;
}

.article-body li::marker {
  color: var(--theme-accent);
}

@media (max-width: 760px) {
  .article-shell {
    max-width: none;
    margin-inline: var(--page-gutter);
  }

  .article-cover {
    aspect-ratio: 1.25 / 1;
  }

  .article-shell > h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .article-meta {
    display: block;
  }

  .article-meta span {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 6px;
  }
}

/* Leistungen pages: keep text rhythm aligned with the index page. */
body.service-page .hero-copy {
  max-width: 860px;
}

body.service-page .hero-copy h1 {
  max-width: 12.5ch;
  margin-bottom: 16px;
  font-weight: var(--font-weight-strong);
  line-height: 0.98;
}

body.service-page .hero-copy p {
  max-width: 54ch;
  font-weight: inherit;
  line-height: var(--line-height-copy);
}

body.service-page .content-section {
  padding: var(--section-spacing-y) 0;
}

body.service-page .section-head {
  margin-bottom: clamp(34px, 4vw, 56px);
}

body.service-page .section-head span {
  margin-bottom: 12px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-label);
}

body.service-page .section-head p,
body.service-page .mini-article-card p {
  font-size: var(--font-size-body);
  line-height: var(--line-height-copy-compact);
}

body.service-page .services-intro span {
  margin-bottom: 12px;
  font-size: var(--font-size-small);
  letter-spacing: var(--letter-spacing-label);
}

body.service-page .services-intro h2 {
  margin-top: 0;
  margin-bottom: var(--section-title-copy-gap);
}

body.service-page .service-feature-copy p {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-copy-compact);
}

body.service-page .mini-article-grid {
  gap: clamp(16px, 2vw, 24px);
}

body.service-page .mini-article-card {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
}

@media (max-width: 760px) {
  body.service-page .page-hero {
    --hero-title-size: clamp(2.25rem, 10vw, 3.35rem);
  }
}

/* Services overview: generous rhythm and one consistent CI card language */
body.theme-leistungen .services-overview {
  padding-top: clamp(80px, 9vw, 136px);
  padding-bottom: clamp(88px, 10vw, 152px);
}

body.theme-leistungen .services-overview .showcase-shell {
  margin-top: 0;
}

body.theme-leistungen .services-intro {
  max-width: 900px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

body.theme-leistungen .service-feature-copy {
  padding: clamp(8px, 1.5vw, 24px) 0;
}

body.theme-leistungen .service-feature-copy p + p {
  margin-top: 18px;
}

body.theme-leistungen .services-image-card {
  border: 0;
}

body.theme-leistungen .service-benefits {
  gap: clamp(12px, 1.4vw, 20px);
}

@media (max-width: 820px) {
  body.theme-leistungen .services-overview {
    padding-top: 64px;
    padding-bottom: 88px;
  }

}

.desktop-nav-item-theme-about .desktop-subnav-panel,
.desktop-nav-item-theme-referenzen .desktop-subnav-panel {
  /* Use the shared header offset so the compact panels stay aligned with the
     other desktop flyouts in both the full-size and scrolled header states. */
  position: fixed;
  top: var(--desktop-subnav-top);
  left: 50vw;
  width: min(480px, calc(100vw - (var(--page-gutter) * 2)));
  padding: 10px;
  border-radius: var(--radius);
  transform: translateX(-50%) translateY(10px);
}

body.is-scrolled .desktop-nav-item-theme-about .desktop-subnav-panel,
body.is-scrolled .desktop-nav-item-theme-referenzen .desktop-subnav-panel {
  width: min(480px, calc(100vw - (var(--page-gutter) * 2)));
}

.desktop-nav-item-theme-about .desktop-subnav-grid.columns-1,
.desktop-nav-item-theme-referenzen .desktop-subnav-grid.columns-1 {
  grid-template-columns: minmax(0, 1fr);
}

.desktop-nav-item-theme-about .desktop-subnav-group,
.desktop-nav-item-theme-referenzen .desktop-subnav-group {
  padding: 22px;
  border-radius: calc(var(--radius) - 10px);
}

.desktop-nav-item-theme-about .desktop-subnav-links,
.desktop-nav-item-theme-referenzen .desktop-subnav-links {
  gap: 0;
}

.desktop-nav-item-theme-about .desktop-subnav-link,
.desktop-nav-item-theme-referenzen .desktop-subnav-link {
  padding: 18px 0;
}

.desktop-nav-item-theme-about.is-hover-open .desktop-subnav-panel,
.desktop-nav-item-theme-about:focus-within .desktop-subnav-panel,
.desktop-nav-item-theme-referenzen.is-hover-open .desktop-subnav-panel,
.desktop-nav-item-theme-referenzen:focus-within .desktop-subnav-panel {
  transform: translateX(-50%) translateY(0);
}

.career-page .about-strength-card i,
.career-page .about-process-step i {
  color: var(--theme-accent);
}

.career-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.career-secondary-link {
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--theme-accent);
  color: var(--theme-accent-strong);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  transition:
    transform 0.25s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    background-color 0.35s ease;
}

.career-secondary-link:hover,
.career-secondary-link:focus-visible {
  border-color: var(--theme-accent-strong);
  background: color-mix(in srgb, var(--theme-accent) 10%, transparent);
  color: var(--theme-accent-strong);
  text-decoration: none;
}

.career-highlight-card,
.career-application-box {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--surface-neutral);
  color: #111111;
}

.career-highlight-card span {
  margin-bottom: 14px;
  color: #111111;
  font-weight: var(--font-weight-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
}

.career-highlight-card h3,
.career-application-box h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.career-highlight-card p {
  margin: 0;
  color: #111111;
  line-height: var(--line-height-copy);
}

.career-benefits p {
  margin: 0;
  color: var(--copy);
  line-height: var(--line-height-copy);
}

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

.career-benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.career-benefits h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: var(--section-title-line-height);
}

.career-benefit-list,
.career-application-box ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-benefit-list li,
.career-application-box li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.career-benefit-list li {
  color: var(--copy);
}

.career-application-box li {
  color: #111111;
}

.career-benefit-list i {
  color: var(--theme-accent);
  font-size: 1.25rem;
}

.career-final-cta {
  background: var(--surface-soft);
}

@media (max-width: 900px) {
  .career-role-grid,
  .career-benefits {
    grid-template-columns: 1fr;
  }
}

.references-hero {
  background-position: center 42%;
}

.references-hero-copy {
  display: grid;
  gap: 18px;
}

.references-hero-copy h1 {
  margin-bottom: 0;
}

.references-gallery-section {
  padding: clamp(28px, 4vw, 56px) 0 0;
}

.content-shell.references-gallery-shell {
  overflow: hidden;
  border-radius: 0;
}

.references-filter-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.references-filter-shell h2 {
  margin: 0;
  color: var(--copy-strong);
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1;
}

.references-filter-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.references-filter-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  outline: 0;
  box-shadow: none;
  color: var(--copy-strong);
  font-weight: var(--font-weight-extrabold);
  background: color-mix(in srgb, var(--theme-accent) 7%, var(--surface));
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.references-filter-pill::before,
.references-filter-pill::after {
  pointer-events: none;
}

.references-filter-pill.is-active,
.references-filter-pill:hover,
.references-filter-pill:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: var(--theme-accent);
  color: #ffffff;
  text-decoration: none;
}

.references-grid-shell {
  padding: clamp(22px, 3vw, 36px) 0 0;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.reference-card {
  position: relative;
  display: block;
  grid-column: span 1;
  width: 100%;
  min-height: clamp(300px, 32vw, 520px);
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background: #111111;
  isolation: isolate;
}

.reference-card--landscape {
  grid-column: span 2;
  min-height: clamp(320px, 38vw, 620px);
}

.reference-card[hidden] {
  display: none;
}

.reference-card img {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.reference-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 22%, rgba(0, 0, 0, 0.76) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reference-card:hover img {
  transform: scale(1.08);
}

.reference-card:hover::after,
.reference-card:focus-within::after {
  opacity: 1;
}

.reference-card-copy {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 2.4vw, 32px);
  right: clamp(20px, 2.4vw, 32px);
  bottom: clamp(20px, 2.4vw, 32px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.reference-card:hover .reference-card-copy,
.reference-card:focus-within .reference-card-copy {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reference-card-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 2px solid #ffffff;
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0.01em;
}

.reference-card-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.reference-card-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.reference-card-copy a {
  display: inline-flex;
  margin-top: 14px;
  font-weight: var(--font-weight-extrabold);
  color: #ffffff;
}

@media (max-width: 980px) {
  .references-filter-shell {
    grid-template-columns: 1fr;
  }

  .references-filter-list {
    justify-content: flex-start;
  }

  .reference-card,
  .reference-card--landscape {
    grid-column: span 2;
    min-height: clamp(300px, 52vw, 520px);
  }
}

@media (max-width: 640px) {

  .reference-card,
  .reference-card--landscape {
    grid-column: 1 / -1;
    min-height: clamp(320px, 105vw, 520px);
  }
}

@media (hover: none) {
  .reference-card::after {
    opacity: 1;
  }

  .reference-card-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.reference-case-hero {
  min-height: clamp(600px, 76vh, 820px);
  background-position: center 44%;
}

.reference-detail-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 100%;
}

.reference-case-result-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  background: var(--surface-neutral);
}

.reference-case-result-shell p {
  margin: 0;
  color: var(--copy);
  line-height: 1.75;
}

.reference-case-result-shell h2 {
  max-width: 760px;
}

.reference-result-list {
  display: grid;
  gap: 10px;
}

.reference-result-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--copy-strong);
  background: var(--surface);
  font-weight: var(--font-weight-extrabold);
}

.reference-result-list span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--theme-accent);
  font-size: var(--font-size-meta);
}

@media (max-width: 980px) {
  .reference-case-result-shell {
    grid-template-columns: 1fr;
  }
}

/*
 * Sprungziele der Leistungsnavigation mit ausreichend Vorlauf anzeigen.
 * Der Abstand hält die Überschrift unter dem fixierten Header sichtbar.
 */
.services-overview[id="leistungen"] {
  scroll-margin-top: clamp(11rem, 22vh, 15rem);
}

/* Shared expandable service overview for all three division pages. */

.service-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(440px, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.service-intro-layout .intro-copy {
  align-self: center;
  padding-right: 0;
}

.service-intro-layout .intro-copy h2 {
  max-width: none;
  white-space: nowrap;
}

.content-section .stats-grid {
  margin-top: clamp(34px, 5vw, 64px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-intro-layout .stats-grid {
  width: min(100%, 680px);
  justify-self: end;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
}

.service-intro-layout .stat-card {
  min-height: clamp(150px, 15vw, 210px);
  border: 2px solid color-mix(in srgb, var(--theme-accent) 22%, transparent);
}

.service-intro-layout .stat-card strong {
  font-size: clamp(2.7rem, 4.5vw, 4.25rem);
}

.service-intro-layout .stat-card span {
  margin-top: clamp(10px, 1vw, 14px);
}

.services-process .process-lineup {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .service-intro-layout {
    grid-template-columns: 1fr;
  }

  .service-intro-layout .intro-copy {
    padding-right: 0;
  }

  .service-intro-layout .stats-grid {
    width: 100%;
    grid-template-rows: none;
  }

  .service-intro-layout .stat-card {
    min-height: 138px;
  }
}

@media (max-width: 820px) {

  .content-section .stats-grid,
  .services-process .process-lineup { grid-template-columns: 1fr; }

  .service-intro-layout .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-intro-layout .stat-card {
    min-height: clamp(110px, 28vw, 138px);
    padding: clamp(12px, 3vw, 18px);
  }

  .service-intro-layout .stat-card strong {
    font-size: clamp(1.85rem, 9vw, 3rem);
    letter-spacing: -0.04em;
  }

  .service-intro-layout .stat-card span {
    font-size: clamp(0.72rem, 2.8vw, 0.95rem);
    line-height: 1.2;
  }

}

@media (max-width: 420px) {
  .service-intro-layout .intro-copy h2 {
    white-space: normal;
  }

  .service-intro-layout .stats-grid {
    gap: 8px;
  }

  .service-intro-layout .stat-card {
    min-height: 100px;
    padding: 10px 8px;
  }

  .service-intro-layout .stat-card strong {
    font-size: clamp(1.55rem, 8.5vw, 2.2rem);
  }

  .service-intro-layout .stat-card span {
    font-size: clamp(0.66rem, 2.8vw, 0.8rem);
  }
}

/* Interactive five-step process on service pages */
.interactive-process {
  position: relative;
  height: calc(100vh + 240vh);
  margin-top: clamp(36px, 5vw, 64px);
  --process-card-size: clamp(360px, calc(100vh - 300px), 460px);
}
.interactive-process.has-sticky-heading { margin-top: 0; }
.process-sticky-shell {
  position: sticky;
  /* JavaScript resolves the centred sticky offset from the shell's actual
     height. Unlike a translate, top only takes effect once the shell sticks,
     so the process remains in its natural position while it enters the view. */
  top: var(--process-sticky-top, 72px);
}
.process-sticky-shell > .section-head {
  margin-bottom: clamp(36px, 5vw, 64px);
}
.interactive-process .process-lineup {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--process-step-count, 5), minmax(0, 1fr));
  gap: clamp(8px, 2vw, 24px);
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.interactive-process .process-lineup::before {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% / var(--process-step-count, 5));
  right: calc(50% / var(--process-step-count, 5));
  height: 2px;
  background: var(--border-soft);
}
.process-trigger {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--copy-strong);
  font: inherit;
  text-align: center;
  cursor: default;
}
.process-trigger b {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: #050505;
  color: #fff;
  font-size: .88rem;
  transition: transform .3s ease, background-color .3s ease;
}
.process-trigger span {
  display: block;
  margin-top: 16px;
  font-size: clamp(.82rem, 1vw, 1rem);
  font-weight: var(--font-weight-extrabold);
}
.process-trigger.is-active b {
  background: var(--theme-accent);
  transform: scale(1.4);
}
.process-trigger.is-active span {
  color: var(--theme-accent-strong);
  animation: process-title-down .35s ease both;
}
.process-details {
  position: relative;
  height: var(--process-card-size);
  background: transparent;
  overflow: visible;
  isolation: isolate;
}
.process-detail {
  position: absolute;
  inset: 0;
  z-index: var(--process-panel-layer, 1);
  display: grid;
  height: 100%;
  grid-template-columns: auto minmax(280px, 1fr);
  align-items: stretch;
  padding: var(--card-inset);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: none;
  opacity: var(--process-panel-opacity, 0);
  transform: translate3d(0, var(--process-panel-y, 100%), 0);
  pointer-events: none;
  will-change: transform, opacity;
}
.interactive-process.is-process-ready .process-detail {
  transition: none;
}
.process-detail.is-active { pointer-events: auto; }
.process-detail figure {
  width: calc(var(--process-card-size) - (2 * var(--card-inset)));
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
}
.process-detail img { width: 100%; height: 100%; object-fit: cover; }
.process-detail > div { min-height: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(30px, 4vw, 56px); }
.process-detail h3 { margin: 14px 0 18px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
.process-detail p { max-width: 540px; margin: 0; color: var(--copy); font-size: clamp(1rem, 1.15vw, 1.15rem); font-weight: var(--font-weight-semibold); line-height: var(--line-height-copy); }
@keyframes process-title-down { from { opacity: .35; transform: translateY(-12px); } to { transform: translateY(8px); } }

/* Keep the four-step "Unsere Arbeitsweise" view fully below the fixed header. */
@media (min-width: 821px) {
  body:is(.theme-leistungen, .about-page) .services-process .interactive-process {
    --process-card-size: clamp(330px, calc(100vh - 360px), 430px);
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-sticky-shell > .section-head {
    margin-bottom: clamp(24px, 3vw, 38px);
  }

  body:is(.theme-leistungen, .about-page) .services-process .section-head h2 {
    font-size: clamp(1.9rem, 3.7vw, 3.65rem);
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-lineup {
    margin-bottom: clamp(22px, 3vw, 34px);
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-trigger b {
    width: 46px;
    height: 46px;
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-lineup::before {
    top: 23px;
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-trigger.is-active b {
    transform: scale(1.32);
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-detail > div {
    padding: clamp(26px, 3vw, 44px);
  }

  body:is(.theme-leistungen, .about-page) .services-process .process-detail h3 {
    margin: 10px 0 14px;
    font-size: clamp(1.85rem, 3.5vw, 3.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-trigger.is-active span,
  .process-detail.is-active { animation: none; }
  .interactive-process.is-process-ready .process-detail { transition: none; }
}
@media (max-width: 820px) {
  .services-process {
    padding-block: clamp(56px, 14vw, 76px);
  }

  .interactive-process,
  .interactive-process.has-sticky-heading {
    height: auto;
    margin-top: 28px;
  }

  .process-sticky-shell {
    position: static;
    top: auto;
  }

  .process-sticky-shell > .section-head {
    margin-bottom: 28px;
  }

  .interactive-process .process-lineup {
    display: none;
  }

  .process-details {
    display: grid;
    height: auto;
    gap: 18px;
  }

  .process-detail,
  .process-detail.is-active {
    position: relative;
    inset: auto;
    height: auto;
    grid-template-columns: 1fr;
    display: grid;
    padding: var(--card-inset);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    animation: none;
  }

  .interactive-process.is-process-ready .process-detail {
    transition: none;
  }

  .process-detail figure {
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius) - 6px);
  }

  .process-detail > div {
    min-height: 0;
    overflow: visible;
    padding: 24px 20px 28px;
  }

  .process-detail h3 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.05;
  }

  .process-detail h3::before {
    content: none;
    display: none;
    margin-bottom: 8px;
    color: var(--theme-accent);
    font-size: 0.72rem;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.08em;
  }

  .process-detail p {
    max-width: none;
    font-size: 0.94rem;
    line-height: var(--line-height-copy-tight);
  }
}

/* --------------------------------------------------------------------------
   Responsive layout grid

   Shared containers and insets step down with the viewport; component grids
   keep their own responsive definitions.
   -------------------------------------------------------------------------- */
/* All primary shells use the same centered content edge. */
.content-shell,
.dark-shell,
.home-page .content-shell {
  width: min(var(--content-max-width), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1180px) and (max-width: 1600px) {
  .site-header,
  body.is-scrolled .site-header {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: 32px;
  }

  .content-shell,
  .dark-shell,
  .home-page .content-shell {
    width: calc(100% - (var(--page-gutter) * 2));
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 18px;
    --hero-title-size: clamp(2rem, 9vw, 2.7rem);
    --section-title-size: clamp(1.5rem, 6.8vw, 2rem);
    --hero-body-size: 0.86rem;
    --mobile-card-title-size: clamp(1.12rem, 5.2vw, 1.45rem);
    --mobile-content-size: clamp(0.8rem, 3.4vw, 0.9rem);
    --mobile-label-size: 0.74rem;
    --section-gap-y: clamp(72px, 20vw, 92px);
    --hero-followup-gap-y: clamp(48px, 14vw, 64px);
    --section-title-copy-gap: 22px;
  }

  /* Outer section shells already use the page gutter. Remove the former
     second horizontal inset so their content aligns with the navigation. */
  main > .content-section > .content-shell:not(.about-team-teaser):not(.career-benefits):not(.reference-case-result-shell) {
    padding-left: 0;
    padding-right: 0;
  }

  :is(.intro-grid, .service-intro-layout, .about-story-grid) {
    row-gap: 36px;
  }

  :is(.home-services-grid, .blog-overview-grid, .stats-grid) {
    gap: 20px;
  }

  .faq-list .web-accordion + .web-accordion {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 16px;
  }

  .site-header,
  body.is-scrolled .site-header {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .hero,
  .page-hero {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
}

/* Media must never force a responsive grid wider than its container. */
img,
video,
iframe {
  max-width: 100%;
}

/* Links and button-like controls use colour and motion instead of underlines. */
a,
a:hover,
a:focus,
a:focus-visible,
button,
button:hover,
button:focus,
button:focus-visible {
  text-decoration: none;
}

/* Service pages: calm typography and quickly scannable service summaries. */
body.theme-digital .section-head span {
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

body.theme-digital .services-overview .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  column-gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

body.theme-digital .services-overview .section-head h2,
body.theme-digital .services-overview .section-head p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  body.theme-digital .services-overview .section-head {
    grid-template-columns: 1fr;
  }

  body.theme-digital .services-overview .section-head p {
    margin-top: 14px;
  }
}

/* Responsive masonry references on the three division pages. */
.services-results {
  position: relative;
  padding-block: clamp(80px, 10vw, 150px);
  background: var(--body-bg);
  color: #070707;
}

.results-stage {
  position: relative;
}

.results-more {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin: clamp(24px, 4vw, 48px) 0 0 auto;
  padding: 14px 22px;
  border: 1px solid var(--theme-accent);
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--theme-accent);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: var(--font-weight-extrabold);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.results-more:hover,
.results-more:focus-visible {
  color: #ffffff;
  background: var(--theme-accent);
  text-decoration: none;
}

.results-more .send-arrow {
  width: 1.35em;
  height: 1.35em;
  color: currentColor;
}

/* Horizontal project gallery on all service pages. */
.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.results-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--copy-strong);
}

.results-controls { display: flex; gap: 10px; }
.results-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  place-items: center;
  color: #000000;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.results-controls button:hover,
.results-controls button:focus-visible { color: #111111; transform: scale(1.07); }
.results-controls button:disabled { opacity: 0.35; cursor: default; transform: none; }

:is(.theme-media, .theme-digital, .theme-advertising)
  .services-results
  .results-controls
  button {
  color: #000000;
}

.result-control-symbol {
  display: block;
  width: 15px;
  height: 24px;
  overflow: hidden;
  background: currentColor;
  font-size: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3L15 14L4 25' fill='none' stroke='white' stroke-width='4' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3L15 14L4 25' fill='none' stroke='white' stroke-width='4' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
}

.results-controls button:first-child .result-control-symbol {
  transform: scaleX(-1);
}

.results-gallery {
  display: grid;
  grid-auto-columns: min(72vw, 520px);
  grid-auto-flow: column;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.results-gallery::-webkit-scrollbar { display: none; }

@media (min-width: 761px) {
  .service-page .services-results.is-horizontal-scroll-stage {
    height: calc(100vh + var(--gallery-scroll-distance, 0px));
    min-height: 100vh;
    padding-block: 0;
  }

  .services-results.is-horizontal-scroll-stage .results-stage {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(76px, 9vh, 110px);
  }

  .services-results.is-horizontal-scroll-stage .results-gallery {
    overflow-x: auto;
    scroll-behavior: auto;
    scroll-snap-type: none;
    touch-action: pan-x pan-y;
  }

  .services-results.is-horizontal-scroll-stage .result-card {
    height: min(46vh, 460px);
  }
}

.result-card {
  position: relative;
  height: clamp(390px, 52vw, 650px);
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: #111;
  scroll-snap-align: start;
}
.result-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(.2,.75,.25,1); }
.result-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.82));
  opacity: 0;
  transition: opacity .3s ease;
}
.result-card-overlay {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: end;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .3s ease, transform .3s ease;
}
.result-card-overlay small {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,.88);
  font-weight: var(--font-weight-bold);
}
.result-card-overlay small span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  line-height: 1;
  white-space: nowrap;
}
.result-card-overlay strong { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.05; }
.result-card-overlay i {
  display: block;
  width: 56px;
  height: 56px;
  background: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='cutout'%3E%3Ccircle cx='32' cy='32' r='32' fill='white'/%3E%3Cpath d='M17 32.5L48.5 19L39.5 48L31.5 37.5L17 32.5Z' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M31.5 37.5L48.5 19' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='32' cy='32' r='32' fill='white' mask='url(%23cutout)'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='cutout'%3E%3Ccircle cx='32' cy='32' r='32' fill='white'/%3E%3Cpath d='M17 32.5L48.5 19L39.5 48L31.5 37.5L17 32.5Z' fill='none' stroke='black' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M31.5 37.5L48.5 19' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='32' cy='32' r='32' fill='white' mask='url(%23cutout)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.result-card-overlay i::before { display: none; }
.result-card:hover,
.result-card:focus-visible { text-decoration: none; }
.result-card:hover::after,
.result-card:focus-visible::after,
.result-card:hover .result-card-overlay,
.result-card:focus-visible .result-card-overlay { opacity: 1; }
.result-card:hover .result-card-overlay,
.result-card:focus-visible .result-card-overlay { transform: translateY(0); }
.result-card:hover img,
.result-card:focus-visible img { transform: scale(1.045); }

@media (max-width: 1600px) {
  .results-heading {
    margin-bottom: clamp(24px, 3vw, 40px);
  }

  .result-card {
    height: clamp(320px, 46vh, 460px);
  }
}

@media (max-width: 760px) {
  .service-page .services-results {
    padding-block: clamp(56px, 14vw, 76px);
  }

  .results-heading {
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .results-heading h2 {
    max-width: 9ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .results-controls {
    flex: 0 0 auto;
    gap: 4px;
  }

  .results-controls button {
    width: 42px;
    height: 42px;
  }

  .result-control-symbol {
    width: 15px;
    height: 24px;
  }

  .results-gallery {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-left: var(--page-gutter);
    grid-auto-columns: min(86vw, 340px);
    gap: 12px;
    scroll-padding-inline: 0;
  }

  .result-card {
    height: auto;
    min-height: 300px;
    aspect-ratio: 4 / 5;
  }

  .result-card::after,
  .result-card-overlay { opacity: 1; }

  .result-card-overlay {
    right: 16px;
    bottom: 16px;
    left: 16px;
    gap: 8px 12px;
    transform: none;
  }

  .result-card-overlay strong {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .result-card-overlay i {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-gallery { scroll-behavior: auto; }
  .result-card img, .result-card-overlay { transition: none; }
}

/* Keep every prominent action proportional as the available screen space shrinks. */
@media (max-width: 760px) {
  :is(
    .hero-cta,
    .subpage-cta-link,
    .npb-button,
    .contact-submit,
    .global-cta-button,
    .service-section-link
  ) {
    min-height: 48px;
    padding: 11px 18px;
    gap: 9px;
    font-size: 0.78rem;
  }

  .hero-cta {
    min-height: 52px;
    padding-inline: 20px;
    font-size: 0.9rem;
  }

  .hero-cta-primary span,
  :is(.subpage-cta-link, .service-section-link, .global-cta-button) .send-arrow {
    width: 29px;
    height: 29px;
  }

  .contact-topic-options button {
    padding: 10px 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  :is(
    .hero-cta,
    .subpage-cta-link,
    .npb-button,
    .contact-submit,
    .global-cta-button,
    .service-section-link
  ) {
    min-height: 44px;
    padding: 9px 14px;
    gap: 8px;
    font-size: 0.72rem;
  }

  .hero-cta {
    width: min(100%, 560px);
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.8rem;
  }

  .hero-actions {
    align-items: center;
  }

  .contact-topic-options button {
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .results-controls button {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   Viewport-sized content sections

   Every top-level content chapter gets at least one full visible viewport so
   that the preceding and following chapter do not peek into view. Content
   that genuinely needs more room can still grow naturally; nothing is clipped
   or forced into a fixed height. Hero sections deliberately keep their
   existing sizing and spacing.
   -------------------------------------------------------------------------- */
main > section:not(.hero-page, .page-hero, .about-hero, .universal-project-cta) {
  box-sizing: border-box;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(80px, 12svh, 160px);
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 760px) {
  main > section:not(.hero-page, .page-hero, .about-hero, .universal-project-cta) {
    padding-block: clamp(64px, 10svh, 112px);
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  main > section:not(.hero-page, .page-hero, .about-hero, .universal-project-cta) {
    padding-block: 64px;
  }
}

/*
 * Keep the first content chapter at the same distance from its hero as on the
 * contact page. Unlike later viewport-sized chapters, the first chapter starts
 * at the shared top padding instead of being vertically centered.
 */
.hero-followup-section {
  justify-content: flex-start;
  padding-top: clamp(96px, 12svh, 124px);
}

/* --------------------------------------------------------------------------
   About, team and career: shared Kollmann Media CI

   These editorial pages use the same bold, borderless surface language as the
   Digital & Creation intro: white chapters, solid brand-colour modules and
   outlined display figures instead of pale, decorative card gradients.
   -------------------------------------------------------------------------- */
:is(.about-page, .team-page, .career-page) main > .content-section {
  --surface-soft: var(--surface-editorial);
  background: var(--surface);
  color: var(--copy-strong);
}

/* Match the neutral card tone used throughout the service pages. */
.about-page main > .content-section {
  --surface-soft: var(--surface-neutral);
}

/* Intro modules follow the two-column service-intro composition. */

/* Reusable editorial grids: neutral light modules with a brand-colour marker. */
:is(.about-page, .career-page) .about-strength-card {
  min-height: clamp(240px, 20vw, 320px);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--surface-neutral);
  color: #111111;
}

:is(.about-page, .career-page) .about-strength-card i {
  color: var(--theme-accent);
  font-size: clamp(2rem, 3vw, 3rem);
}

:is(.about-page, .career-page) .about-strength-card h3 {
  color: #111111;
}

:is(.about-page, .career-page) .about-strength-card p {
  color: #343434;
}

:is(.about-page, .career-page) .about-process {
  gap: 14px;
  padding-top: 0;
}

:is(.about-page, .career-page) .about-process-line {
  display: none;
}

:is(.about-page, .career-page) .about-process-step {
  min-height: clamp(250px, 22vw, 340px);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: left;
}

:is(.about-page, .career-page) .about-process-number {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 auto;
  background: transparent;
  color: var(--theme-accent);
  font-size: var(--font-size-body);
}

:is(.about-page, .career-page) .about-process-step i {
  margin: 28px 0 18px;
}

.career-benefit-list li {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #ffffff;
}

@media (max-width: 700px) {
  :is(.about-page, .career-page) .about-strength-grid,
:is(.about-page, .career-page) .about-process {
    grid-template-columns: 1fr;
  }

  :is(.about-page, .career-page) .about-process-step {
    min-height: 230px;
  }
}

/* --------------------------------------------------------------------------
   Einheitliche vertikale Seitenabstaende

   Der Abstand zwischen zwei direkten Seitenabschnitten kommt ausschliesslich
   vom vorherigen Abschnitt. Dadurch addieren sich weder oberes und unteres
   Padding noch kollabierende Margins. Nach dem Hero bleibt der kompaktere
   bestehende Abstand erhalten; erst die folgenden Kapitel werden deutlich
   grosszuegiger voneinander getrennt.
   -------------------------------------------------------------------------- */
main > section {
  margin-top: 0;
  margin-bottom: var(--section-gap-y);
}

main > :is(.page-hero, .about-hero, .npb-clean-hero, .hero-page) {
  margin-bottom: var(--hero-followup-gap-y);
}

main > section:not(.page-hero):not(.about-hero):not(.npb-clean-hero):not(.hero-page) {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: flex-start;
}

/* Keep the compact Hero-to-intro rhythm, then give every following homepage
   section at least one full viewport of vertical room. */
.home-page main > .content-section:not(.intro-section) {
  min-height: 100vh;
}

@media (max-width: 640px) {
  .home-page main > .content-section:not(.intro-section) {
    min-height: 0;
  }
}

@media (min-width: 1180px) and (max-width: 1600px) and (max-height: 1000px) {
  .home-page .hero .hero-slogan-heading {
    width: min(68vw, 820px);
    max-width: 820px;
  }

  .home-page .hero-slogan-image {
    width: 100%;
  }

  .logo-track img {
    height: clamp(62px, 5vw, 82px);
  }
}

/* Contact: the map is the first page area below the fixed navigation. */
body.theme-kontakt .contact-page-main > section.contact-hero-section.hero-followup-section {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin-bottom: 0;
  padding-top: clamp(158px, 17vh, 184px);
  padding-bottom: clamp(20px, 3vh, 36px);
}

@media (min-width: 981px) {
  body.theme-kontakt .contact-layout {
    column-gap: clamp(18px, 1.7vw, 26px);
    row-gap: clamp(14px, 2vh, 22px);
  }

  body.theme-kontakt .contact-form-column h1 {
    font-size: clamp(2.7rem, 3.8vw, 4rem);
    line-height: 0.96;
  }

  body.theme-kontakt .contact-design-form {
    gap: clamp(10px, 1.5vh, 16px);
    height: 100%;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-self: stretch;
  }

  body.theme-kontakt .contact-design-form > label:last-of-type {
    min-height: 0;
    display: grid;
  }

  body.theme-kontakt .contact-field-row {
    gap: clamp(12px, 1vw, 18px);
  }

  body.theme-kontakt .contact-design-form input:not([type="checkbox"]),
  body.theme-kontakt .contact-design-form select {
    min-height: clamp(52px, 6.2vh, 62px);
    padding-inline: clamp(18px, 1.6vw, 24px);
  }

  body.theme-kontakt .contact-design-form textarea {
    height: 100%;
    min-height: clamp(128px, 15.5vh, 158px);
    padding: clamp(17px, 2vh, 22px) clamp(18px, 1.6vw, 24px);
  }

  body.theme-kontakt .contact-topic-toggle::after {
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
  }

  body.theme-kontakt .contact-topic-field.is-open .contact-topic-toggle::after {
    top: 50%;
    transform: translateY(-25%) rotate(225deg);
  }

  body.theme-kontakt .contact-form-footer {
    gap: 16px;
  }

  body.theme-kontakt .contact-submit {
    min-height: 42px;
    padding-inline: 22px;
  }

  body.theme-kontakt .contact-info-card {
    height: 100%;
    align-self: stretch;
    padding: clamp(22px, 2.5vh, 30px) clamp(18px, 1.5vw, 24px);
  }

  body.theme-kontakt .contact-info-card h3 {
    margin-bottom: clamp(20px, 2.8vh, 30px);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    line-height: 0.98;
  }

  body.theme-kontakt .contact-info-list {
    gap: clamp(16px, 2.4vh, 24px);
    margin-bottom: clamp(20px, 2.8vh, 30px);
  }

  body.theme-kontakt .contact-info-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    font-size: 0.86rem;
  }

  body.theme-kontakt .contact-info-icon {
    width: 44px;
    height: 44px;
    font-size: var(--font-size-card-title);
  }

  body.theme-kontakt .contact-info-item strong {
    margin-bottom: 4px;
    font-size: 0.8rem;
  }

  body.theme-kontakt .contact-note {
    padding: 15px;
    font-size: var(--font-size-meta);
  }

  body.theme-kontakt .contact-note p + p {
    margin-top: 12px;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  body.theme-kontakt .contact-page-main > section.contact-hero-section.hero-followup-section {
    padding-top: 132px;
    padding-bottom: 16px;
  }

  body.theme-kontakt .contact-form-column h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
  }

  body.theme-kontakt .contact-design-form input:not([type="checkbox"]),
  body.theme-kontakt .contact-design-form select {
    min-height: 48px;
  }

  body.theme-kontakt .contact-design-form textarea {
    min-height: 112px;
  }

  body.theme-kontakt .contact-info-card h3 {
    margin-bottom: 16px;
    font-size: 1.6rem;
  }

  body.theme-kontakt .contact-info-list {
    gap: 13px;
    margin-bottom: 16px;
  }

  body.theme-kontakt .contact-note {
    padding: 12px 14px;
  }
}

@media (max-width: 980px) {
  body.theme-kontakt .contact-page-main > section.contact-hero-section.hero-followup-section {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: 132px var(--page-gutter) 44px;
  }

  body.theme-kontakt .contact-layout {
    row-gap: 24px;
  }

  body.theme-kontakt .contact-form-column h1 {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
  }

  body.theme-kontakt .contact-info-card h3 {
    margin-bottom: 34px;
  }
}

@media (max-width: 640px) {
  body.theme-kontakt .contact-page-main > section.contact-hero-section.hero-followup-section {
    padding: 116px 18px 32px;
  }

  body.theme-kontakt .contact-design-form {
    gap: 14px;
  }

  body.theme-kontakt .contact-design-form input:not([type="checkbox"]),
  body.theme-kontakt .contact-design-form select {
    min-height: 58px;
    padding-inline: 18px;
  }

  body.theme-kontakt .contact-design-form textarea {
    min-height: 170px;
    padding: 18px;
  }

  body.theme-kontakt .contact-info-card {
    padding: 26px 20px;
  }

  body.theme-kontakt .contact-info-card h3 {
    margin-bottom: 28px;
  }
}

/* Keep the service overview compact on common MacBook viewports. */
@media (min-width: 1180px) and (max-width: 1600px) and (max-height: 1000px) {
  body:is(.theme-media, .theme-digital, .theme-advertising) .services-overview .section-head {
    margin-bottom: clamp(20px, 2.5vh, 28px);
  }

}

/* Compact typography for phone-sized viewports. */
@media (max-width: 640px) {
  body {
    font-size: var(--font-size-compact);
  }

  main h1,
  body.theme-kontakt .contact-form-column h1 {
    font-size: var(--hero-title-size) !important;
  }

  main h2,
  .site-footer-column h2 {
    font-size: var(--section-title-size) !important;
  }

  main h3 {
    font-size: var(--mobile-card-title-size) !important;
  }

  main p,
  main li,
  main label,
  main input:not([type="checkbox"]),
  main textarea,
  main select,
  main button {
    font-size: var(--mobile-content-size) !important;
  }

  .section-head > span,
  .section-copy > span {
    font-size: var(--mobile-label-size) !important;
  }

  .site-footer-column a,
  .site-footer-copyright,
  .site-footer-legal {
    font-size: var(--font-size-compact);
  }
}

/* Service subpages: all topics remain visible in an alternating image/copy flow. */
:is(.theme-media, .theme-advertising, .theme-digital) .service-stack {
  background: transparent;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack > div {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack article {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(20px, 2.5vw, 38px);
  align-items: stretch;
  padding: var(--card-inset);
  border-radius: var(--radius);
  background: var(--surface-soft);
  scroll-margin-top: 110px;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack article:nth-child(even) .services-image-card {
  grid-column: 2;
  grid-row: 1;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack article:nth-child(even) .service-feature-copy {
  grid-column: 1;
  grid-row: 1;
  padding-right: 0;
  padding-left: clamp(24px, 2.4vw, 42px);
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .services-image-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  align-self: stretch;
  margin: 0;
  border-radius: var(--radius-inner);
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .services-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6px, 1vw, 18px) clamp(24px, 2.4vw, 42px) clamp(6px, 1vw, 18px) 0;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy h3 {
  max-width: none;
  margin: 0 0 clamp(16px, 1.8vw, 26px);
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  line-height: 1.04;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy > p {
  max-width: 46rem;
  margin: 0 0 clamp(22px, 2.4vw, 34px);
  color: var(--copy);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-copy);
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy > h3,
:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy > p {
  margin-inline: 0;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 clamp(22px, 2.5vw, 34px);
  padding: 0;
  list-style: none;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits li {
  min-height: 92px;
  padding: 16px 18px;
  border: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--surface);
  text-align: left;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits strong,
:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits span {
  display: block;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits strong {
  margin-bottom: 6px;
  color: var(--theme-accent-strong);
  font-size: clamp(0.88rem, 1vw, 1.04rem);
  line-height: 1.15;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits span {
  margin: 0;
  color: var(--copy);
  font-size: clamp(0.78rem, 0.88vw, 0.92rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

:is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-section-link {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 920px) {
  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack > div {
    gap: 30px;
  }

  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack article {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: var(--card-inset);
  }

  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack article:nth-child(even) .services-image-card,
  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack article:nth-child(even) .service-feature-copy {
    grid-column: 1;
    grid-row: auto;
  }

  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack .services-image-card {
    order: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-feature-copy {
    order: 1;
    padding: 0 clamp(6px, 2vw, 12px) clamp(8px, 2vw, 14px);
  }

}

@media (max-width: 560px) {
  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits {
    grid-template-columns: 1fr;
  }

  :is(.theme-media, .theme-advertising, .theme-digital) .service-stack .service-benefits li {
    min-height: 76px;
  }
}

/* Kennzahlen-Grids use one neutral surface across every page. */
body :is(.stats-grid, .about-stats-grid) .stat-card {
  background: var(--surface-neutral);
  color: #111111;
}

body :is(.stats-grid, .about-stats-grid) .stat-card strong {
  color: var(--theme-accent);
}

body :is(.stats-grid, .about-stats-grid) .stat-card span {
  color: #111111;
}

/* Reference case study: DVV-Pokalfinale 2026 */
.reference-case-page .reference-case-hero {
  --hero-overlay: linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.62) 54%, rgba(8, 8, 8, 0.25) 100%);
  min-height: auto;
  background-position: center 48%;
}

.reference-case-page.reference-case-evi .reference-case-hero {
  background-position: center 42%;
}

.reference-case-page.reference-case-digital .reference-case-hero {
  background-position: center 48%;
}

.reference-case-page .reference-detail-hero-copy {
  width: 100%;
  max-width: none;
  gap: 0;
}

.reference-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.reference-case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #ffffff;
  border-radius: var(--radius);
  background: rgba(7, 16, 18, 0.34);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: var(--font-weight-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.reference-case-page .reference-detail-hero-copy h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(3.2rem, 5.2vw, 5.6rem);
  font-weight: var(--font-weight-strong);
  line-height: 0.96;
}

.reference-case-page .reference-detail-hero-copy p {
  max-width: 74ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1vw, 1.08rem);
  line-height: var(--line-height-copy-compact);
}

.reference-case-overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.reference-case-overview-copy h2,
.reference-case-section-head h2,
.reference-case-feature h2,
.reference-case-result-shell h2 {
  margin: 0;
  color: var(--copy-strong);
  font-size: clamp(2.3rem, 4.4vw, 4.8rem);
  font-weight: var(--font-weight-accent);
  line-height: 0.98;
  text-wrap: balance;
}

.reference-case-overview-copy > p,
.reference-case-feature p {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--copy);
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.7;
}

.reference-case-overview-copy > p + p,
.reference-case-feature p + p {
  margin-top: 16px;
}

.reference-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: #111111;
  font-weight: var(--font-weight-extrabold);
}

.reference-back-link i {
  color: currentColor;
  font-size: 1.5rem;
  line-height: 1;
  -webkit-text-stroke: 0.45px currentColor;
  transition: transform 0.2s ease;
}

.reference-back-link:hover i,
.reference-back-link:focus-visible i {
  transform: translateX(3px);
}

.reference-case-overview-media,
.reference-case-feature figure,
.reference-case-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #111111;
}

.reference-case-overview-media,
.reference-case-gallery figure {
  border-radius: var(--radius);
}

.reference-case-overview-media {
  aspect-ratio: 3 / 2;
}

.reference-case-overview-media img,
.reference-case-feature img,
.reference-case-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-case-section-head {
  max-width: 980px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.reference-case-process-shell {
  display: grid;
  gap: clamp(64px, 9vw, 140px);
}

.reference-case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  padding: var(--card-inset);
  border-radius: var(--radius);
  background: var(--surface-neutral);
}

.reference-case-feature figure {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius-inner);
}

.reference-case-feature img {
  position: absolute;
  inset: 0;
}

.reference-case-feature > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 76px);
}

.reference-case-feature:nth-child(even) figure {
  grid-column: 2;
  grid-row: 1;
}

.reference-case-feature:nth-child(even) > div {
  grid-column: 1;
  grid-row: 1;
}

.reference-case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.reference-case-gallery figure {
  min-height: 300px;
}

.reference-case-gallery-wide {
  grid-row: 1 / span 2;
}

.reference-case-result-shell .reference-result-list span {
  border-radius: var(--radius);
  background: #ffffff;
}

.reference-case-page main > section:not(.page-hero) h2 + p {
  margin-top: clamp(26px, 2.3vw, 36px);
}

.reference-case-page .reference-case-result-shell > div:first-child > h2 + p {
  margin-top: clamp(36px, 2.8vw, 48px);
}

.reference-case-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 54px);
}

.reference-case-pagination a {
  min-height: 150px;
  padding: clamp(24px, 3vw, 38px);
  border: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: #ffffff;
  color: #111111;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.reference-case-pagination a:hover,
.reference-case-pagination a:focus-visible {
  background: var(--theme-accent);
  color: #ffffff;
}

.reference-case-pagination a > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(17, 17, 17, 0.68);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-strong);
}

.reference-case-pagination a:hover > span,
.reference-case-pagination a:focus-visible > span {
  color: rgba(255, 255, 255, 0.78);
}

.reference-case-pagination-next {
  align-items: flex-end;
  text-align: right;
}

.reference-case-pagination strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

@media (min-width: 761px) {
  .reference-case-page .reference-detail-hero-copy h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .reference-case-overview-shell {
    grid-template-columns: 1fr;
  }

  .reference-case-overview-media {
    order: -1;
  }

}

@media (max-width: 820px) {
  .reference-case-page .reference-case-hero {
    min-height: auto;
    background-position: 58% center;
  }

  .reference-case-feature,
  .reference-case-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .reference-case-feature figure,
  .reference-case-feature:nth-child(even) figure {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .reference-case-feature > div,
  .reference-case-feature:nth-child(even) > div {
    grid-column: 1;
    grid-row: 2;
  }

  .reference-case-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .reference-case-gallery-wide {
    grid-row: auto;
  }

  .reference-case-gallery figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 560px) {
  .reference-case-tags span {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.74rem;
  }

  .reference-case-feature > div,
  .reference-case-feature:nth-child(even) > div {
    padding: 26px 20px 30px;
  }
}

/*
 * Monochrome palette
 * ------------------
 * Page surfaces stay black, white or grey. Purple is reserved for interactive
 * actions and deliberate accents such as FAQ states.
 */
:is(
  .theme-brand,
  .theme-digital,
  .theme-journal,
  .theme-kontakt,
  .theme-advertising,
  .theme-leistungen,
  .theme-media,
  .theme-rechtliches,
  .theme-team,
  .theme-referenzen
) {
  --theme-accent-soft: color-mix(in srgb, var(--accent-purple-light) 28%, transparent);
  --theme-accent-strong: var(--accent-purple-dark);
  --hero-tint: linear-gradient(rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.18));
}

.desktop-subnav-panel-theme-leistungen {
  --desktop-nav-line: color-mix(in srgb, var(--accent-purple-light) 34%, transparent);
  --desktop-nav-copy: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.34);
}

.about-strength-card i,
.about-process-step i {
  color: var(--theme-accent);
}

.contact-design-form input:autofill,
.contact-design-form input:-webkit-autofill,
.contact-design-form input:-webkit-autofill:hover,
.contact-design-form input:-webkit-autofill:focus {
  border-color: var(--theme-accent);
  caret-color: #111111;
  color: #111111;
  -webkit-text-fill-color: #111111;
}

@media (max-width: 900px) {
  .team-page .team-list {
    grid-template-columns: 1fr;
    gap: clamp(52px, 14vw, 72px);
    padding-block: 0;
  }

  .team-page .team-list > .team-card,
  .team-page .team-list > .team-card:nth-child(even),
  .team-page .team-card-single {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }

  .team-page .team-card,
  .team-page .team-card:hover,
  .team-page .team-card.is-active {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    cursor: default;
    transform: none;
    transition: none;
  }

  .team-page .team-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
  }

  .team-page .team-card-media img,
  .team-page .team-card:hover .team-card-media img,
  .team-page .team-card.is-active .team-card-media img {
    transform: none;
    transition: none;
  }

  .team-page .team-card-content,
.team-page .team-card:hover .team-card-content,
.team-page .team-card.is-active .team-card-content,
.team-page .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-content,
.team-page .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-content,
.team-page .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-content {
    width: 100%;
    max-width: none;
    min-height: 0;
    display: grid;
    margin: 0;
    padding: 20px 22px;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface-neutral);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    transition: none;
  }

  .team-page .team-card-collapsed,
  .team-page .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-collapsed,
  .team-page .team-card:hover .team-card-collapsed,
  .team-page .team-card.is-active .team-card-collapsed {
    position: relative;
    width: 100%;
    max-height: none;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    color: #111111;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .team-page .team-card-collapsed-name {
    color: #111111;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1;
  }

  .team-page .team-card-collapsed-role {
    display: block;
    color: var(--theme-accent);
  }

  .team-page .team-card-expanded,
  .team-page .team-card:hover .team-card-expanded,
  .team-page .team-card.is-active .team-card-expanded,
  .team-page .team-list > .team-card:not(.team-card-single):nth-child(even) .team-card-expanded,
  .team-page .team-list > .team-card:not(.team-card-single):nth-child(even):hover .team-card-expanded,
  .team-page .team-list > .team-card:not(.team-card-single):nth-child(even).is-active .team-card-expanded {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    display: block;
    margin: 0;
    padding: 22px 0 0;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .team-page .team-card-expanded > h3,
  .team-page .team-card-expanded > .team-card-role {
    display: none;
  }

  .team-page .team-card-expanded p {
    color: var(--copy);
    font-size: var(--font-size-body);
    line-height: var(--line-height-copy);
  }
}

.npb-clean-card img,
.npb-clean-card:nth-child(1) img,
.npb-clean-card:nth-child(2) img,
.npb-clean-card:nth-child(3) img {
  background: #e7e7e7;
}

.contact-design-form input:not([type="checkbox"]),
.contact-design-form select,
.contact-design-form textarea,
.contact-topic-options {
  border-color: #d7d7d7;
  background-color: #ffffff;
}

.contact-design-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #777777 50%),
    linear-gradient(135deg, #777777 50%, transparent 50%);
}

.contact-topic-toggle::after {
  border-color: #777777;
}

.contact-topic-options button:hover,
.contact-topic-options button:focus-visible,
.contact-topic-options button[aria-selected="true"] {
  background: var(--surface-neutral);
}

.contact-map-background .mapboxgl-canvas {
  filter: grayscale(1);
}

.contact-map-pin-dot {
  background: var(--theme-accent);
}

.contact-map-pin-dot::before {
  border-color: var(--accent-purple-light);
}

/* Floating scroll progress / back-to-top control. */
.scroll-progress-button {
  position: fixed;
  z-index: 11;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-round);
  background: transparent;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.84);
  transition:
    opacity .3s ease,
    visibility .3s ease,
    transform .45s cubic-bezier(.22, .78, .2, 1);
}

.scroll-progress-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.scroll-progress-ring circle {
  fill: none;
  stroke-width: 3;
}

.scroll-progress-track {
  stroke: color-mix(in srgb, var(--theme-accent) 20%, rgba(17, 17, 17, .18));
}

.scroll-progress-value {
  stroke: var(--theme-accent);
  stroke-linecap: round;
  filter: none;
  transition: stroke-dashoffset .12s linear;
}

.scroll-progress-icon {
  position: absolute;
  inset: 8px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-round);
  background: var(--surface-neutral);
  color: var(--theme-accent);
  box-shadow: none;
  transition: transform .3s cubic-bezier(.22, .78, .2, 1);
}

.scroll-progress-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s cubic-bezier(.22, .78, .2, 1);
}

.scroll-progress-button:hover .scroll-progress-icon,
.scroll-progress-button:focus-visible .scroll-progress-icon {
  transform: scale(1.08);
  box-shadow: none;
}

.scroll-progress-button:hover .scroll-progress-icon svg,
.scroll-progress-button:focus-visible .scroll-progress-icon svg {
  transform: translateY(-3px);
}

.scroll-progress-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--theme-accent) 35%, #ffffff);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .scroll-progress-button {
    width: 52px;
    height: 52px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .scroll-progress-icon {
    inset: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress-button,
  .scroll-progress-value,
  .scroll-progress-icon,
  .scroll-progress-icon svg {
    transition: none;
  }
}

/* First-visit cookie consent shown as a compact bottom modal. */
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  padding: clamp(12px, 2.5vw, 30px);
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-visible {
  opacity: 1;
}

.cookie-consent-dialog {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(22px, 4vw, 54px);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(28px);
  transition: transform 0.3s cubic-bezier(.22, .78, .2, 1);
}

.cookie-consent.is-visible .cookie-consent-dialog {
  transform: translateY(0);
}

.cookie-consent-dialog:focus {
  outline: none;
}

.cookie-consent-copy h2 {
  margin: 0 0 10px;
  color: #111111;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.cookie-consent-copy p {
  max-width: 760px;
  margin: 0;
  color: #3c3c3c;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-copy-tight);
}

.cookie-consent-copy a {
  color: var(--theme-accent);
  font-weight: var(--font-weight-extrabold);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent-button {
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--theme-accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--theme-accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: var(--font-weight-extrabold);
  white-space: nowrap;
  cursor: pointer;
  transform: none !important;
}

.cookie-consent-button-primary {
  background: var(--theme-accent);
  color: #ffffff;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
  border-color: var(--theme-accent-strong);
  background: var(--theme-accent-strong);
  color: #ffffff;
  transform: none !important;
}

.cookie-consent-button:focus-visible,
.cookie-consent-copy a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--theme-accent) 35%, #ffffff);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .cookie-consent {
    padding: 10px;
  }

  .cookie-consent-dialog {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 18px 18px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent-dialog {
    transition: none;
  }
}

/* One-time newsletter signup on the contact page. */
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.newsletter-modal[hidden] {
  display: none;
}

.newsletter-modal.is-visible {
  opacity: 1;
}

.newsletter-modal-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  transform: translateY(28px) scale(0.98);
  transition: transform 0.3s cubic-bezier(.22, .78, .2, 1);
  outline: 0;
}

.newsletter-modal-dialog::before {
  content: none;
}

.newsletter-modal.is-visible .newsletter-modal-dialog {
  transform: translateY(0) scale(1);
}

.newsletter-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #111111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: none !important;
}

.newsletter-modal-close:hover,
.newsletter-modal-close:focus-visible {
  background: transparent;
  color: #111111;
  opacity: 0.62;
  transform: none !important;
}

.newsletter-modal-close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.newsletter-modal h2 {
  max-width: 12ch;
  margin: 0 0 18px;
  padding-right: 42px;
  color: #111111;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
}

.newsletter-modal-intro {
  max-width: 620px;
  margin: 0 0 28px;
  color: #3d3d3d;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-copy-compact);
}

.newsletter-modal-form {
  display: grid;
  gap: 14px;
}

.newsletter-modal-email {
  display: grid;
  gap: 7px;
  color: #111111;
  font-size: var(--font-size-compact);
  font-weight: var(--font-weight-extrabold);
}

.newsletter-modal-email input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #d7d7d7;
  border-radius: var(--radius);
  background: var(--surface-editorial);
  color: #111111;
  font: inherit;
  font-weight: var(--font-weight-medium);
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-modal-email input:focus {
  border-color: var(--theme-accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--theme-accent-soft);
}

.newsletter-modal-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: #4a4a4a;
  font-size: var(--font-size-meta);
  line-height: 1.5;
}

.newsletter-modal-consent a {
  color: var(--theme-accent);
  font-weight: var(--font-weight-extrabold);
}

.newsletter-modal-submit {
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--theme-accent);
  border-radius: var(--radius);
  background: var(--theme-accent);
  color: #ffffff;
  font: inherit;
  font-weight: var(--font-weight-extrabold);
  cursor: pointer;
  transform: none !important;
}

.newsletter-modal-submit:hover,
.newsletter-modal-submit:focus-visible {
  border-color: var(--theme-accent-strong);
  background: var(--theme-accent-strong);
  transform: none !important;
}

.newsletter-modal-status {
  margin: 0;
  color: var(--theme-accent-strong);
  font-size: var(--font-size-compact);
  font-weight: var(--font-weight-bold);
}

@media (max-width: 600px) {
  .newsletter-modal {
    place-items: end center;
    padding: 10px;
  }

  .newsletter-modal-dialog {
    width: 100%;
    padding: 30px 18px 20px;
  }

  .newsletter-modal h2 {
    padding-right: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-modal,
  .newsletter-modal-dialog {
    transition: none;
  }
}

/* About page: scroll-led strengths story. */
.about-page .about-strengths-section {
  overflow: visible;
  margin-top: 0;
  padding-top: 0;
}

.about-page .about-strengths-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
  background: transparent;
}

.about-page .about-strengths-sticky {
  position: sticky;
  top: 50vh;
  display: grid;
  align-content: start;
  transform: translateY(-50%);
}

.about-page .about-strengths-sticky h2 {
  max-width: 12ch;
  margin: 0;
  color: #111111;
}

.about-page .about-strengths-sticky > p {
  max-width: 34ch;
  margin: var(--section-title-copy-gap) 0 0;
  color: #3f3f3f;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-copy);
}

.about-page .about-strengths-progress {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: clamp(34px, 5vh, 58px);
  padding-left: 26px;
}

.about-page .about-strengths-progress-line {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 5px;
  width: 2px;
  overflow: hidden;
  background: #dedede;
}

.about-page .about-strengths-progress-line i {
  display: block;
  width: 100%;
  height: var(--strength-progress, 0%);
  background: var(--theme-accent);
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page .about-strengths-progress button {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 13px;
  min-height: 40px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: none !important;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.about-page .about-strengths-progress button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -26px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: #d2d2d2;
  transform: translateY(-50%);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.about-page .about-strengths-progress button span {
  font-size: 0.94rem;
  font-weight: var(--font-weight-extrabold);
}

.about-page .about-strengths-progress button:hover,
.about-page .about-strengths-progress button:focus-visible,
.about-page .about-strengths-progress button.is-active {
  color: var(--theme-accent);
  transform: none !important;
}

.about-page .about-strengths-progress button:hover::before,
.about-page .about-strengths-progress button:focus-visible::before,
.about-page .about-strengths-progress button.is-active::before {
  background: var(--theme-accent);
  transform: translateY(-50%) scale(1.18);
}

.about-page .about-strength-list {
  display: grid;
  gap: clamp(72px, 12vh, 132px);
  padding-block: clamp(4px, 2vh, 28px) clamp(20px, 10vh, 100px);
}

.about-page .about-strength-list .about-strength-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(390px, 54vh, 540px);
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--surface-neutral);
  color: #111111;
  box-shadow: none;
  transform-origin: center;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page .about-strengths-section.is-ready .about-strength-card {
  opacity: 0.42;
  transform: translateY(20px) scale(0.965);
}

.about-page .about-strengths-section.is-ready .about-strength-card.is-active {
  opacity: 1;
  background: var(--surface-neutral);
  box-shadow: none;
  transform: translateY(0) scale(1);
}

.about-page .about-strength-list .about-strength-card h3 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  margin: 0 0 20px;
  color: #111111;
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  line-height: 1.04;
}

.about-page .about-strength-list .about-strength-card p {
  position: relative;
  z-index: 1;
  max-width: 50ch;
  margin: 0;
  color: #343434;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-copy);
}

@media (max-width: 900px) {
  .about-page .about-strengths-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-page .about-strengths-sticky {
    position: relative;
    top: auto;
    transform: none;
  }

  .about-page .about-strengths-sticky h2 {
    max-width: none;
  }

  .about-page .about-strengths-sticky > p {
    margin-top: 22px;
  }

  .about-page .about-strengths-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
    padding: 17px 0 0;
  }

  .about-page .about-strengths-progress-line {
    top: 3px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .about-page .about-strengths-progress-line i {
    width: var(--strength-progress, 0%);
    height: 100%;
    transition-property: width;
  }

  .about-page .about-strengths-progress button {
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
  }

  .about-page .about-strengths-progress button::before {
    top: -14px;
    left: 0;
    transform: none;
  }

  .about-page .about-strengths-progress button:hover::before,
  .about-page .about-strengths-progress button:focus-visible::before,
  .about-page .about-strengths-progress button.is-active::before {
    transform: scale(1.18);
  }

  .about-page .about-strength-list {
    gap: 22px;
    padding-block: 0;
  }

  .about-page .about-strength-list .about-strength-card {
    min-height: clamp(360px, 58svh, 500px);
    padding: clamp(28px, 7vw, 44px);
  }

  .about-page .about-strengths-section.is-ready .about-strength-card {
    opacity: 0.66;
    transform: translateY(12px) scale(0.98);
  }

  .about-page .about-strengths-section.is-ready .about-strength-card.is-active {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 540px) {
  .about-page .about-strengths-section {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 56px;
  }

  .about-page .about-strengths-progress button span {
    font-size: clamp(0.68rem, 3vw, 0.82rem);
  }

  .about-page .about-strength-list .about-strength-card {
    min-height: min(460px, 62svh);
    padding: 28px 24px;
  }

  .about-page .about-strength-list .about-strength-card h3 {
    max-width: 10ch;
  }

  .about-page .about-strength-list .about-strength-card p {
    font-size: 0.96rem;
    line-height: var(--line-height-copy-tight);
  }

}

@media (prefers-reduced-motion: reduce) {
  .about-page .about-strengths-progress-line i,
.about-page .about-strength-list .about-strength-card {
    transition: none;
  }
}

/* Branded frontend login. */
.theme-login {
  --theme-accent-soft: color-mix(in srgb, var(--theme-accent) 16%, transparent);
  background: #0c0713;
}

.login-page-main {
  background: #0c0713;
}

.login-section {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(148px, 13vw, 210px) var(--page-gutter) clamp(72px, 8vw, 120px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(5, 3, 11, 0.88) 0%, rgba(10, 5, 24, 0.64) 48%, rgba(80, 20, 143, 0.42) 100%),
    url("../../images/hero/Brand.jpg") center / cover no-repeat;
}

.login-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(210, 184, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 540px);
  align-items: center;
  gap: clamp(48px, 8vw, 150px);
  width: min(var(--content-max-width), 100%);
  margin: 0 auto;
}

.login-intro {
  max-width: 820px;
}

.login-intro h1 {
  max-width: 9ch;
  margin: 0 0 clamp(20px, 2.2vw, 32px);
  color: #ffffff;
  font-size: clamp(3.6rem, 7.4vw, 8.2rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 0.9;
  text-wrap: balance;
}

.login-intro p {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: var(--line-height-copy);
  text-wrap: balance;
}

.login-card {
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  background: rgba(246, 246, 246, 0.97);
  color: #111111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-card-head {
  margin-bottom: clamp(26px, 3vw, 36px);
}

.login-card-head h2 {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 0.98;
}

.login-card-head p {
  max-width: 42ch;
  margin: 0;
  color: #4a4a4a;
  font-size: 0.98rem;
  line-height: var(--line-height-copy-compact);
}

.login-form {
  display: grid;
  gap: 20px;
}

.login-field {
  display: grid;
  gap: 9px;
  color: #111111;
  font-size: 0.93rem;
  font-weight: var(--font-weight-strong);
}

.login-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
  outline: 0;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-weight: var(--font-weight-medium);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.login-field input:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px var(--theme-accent-soft);
}

.login-password-control {
  position: relative;
  display: block;
}

.login-password-control > input {
  padding-right: 64px;
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-round);
  background: transparent;
  color: #343434;
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
  background: rgba(80, 20, 143, 0.1);
  color: var(--theme-accent);
  transform: translateY(-50%);
}

.login-password-toggle:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 1px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -2px;
  font-size: var(--font-size-compact);
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3c3c3c;
  cursor: pointer;
}

.login-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--theme-accent);
}

.login-options a,
.login-support a {
  color: var(--theme-accent);
  font-weight: var(--font-weight-strong);
  text-decoration: none;
  text-underline-offset: 3px;
}

.login-options a:hover,
.login-options a:focus-visible,
.login-support a:hover,
.login-support a:focus-visible {
  text-decoration: underline;
}

.login-submit {
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  background: linear-gradient(120deg, var(--accent-purple-dark), #6e1fb5);
  color: #ffffff;
  font: inherit;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-extrabold);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(80, 20, 143, 0.22);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(80, 20, 143, 0.3);
}

.login-submit:focus-visible {
  outline: 3px solid var(--accent-purple-light);
  outline-offset: 3px;
}

.login-support {
  margin: 24px 0 0;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .login-section {
    align-items: start;
    padding-top: 132px;
    padding-bottom: 64px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .login-intro {
    max-width: 640px;
  }

  .login-intro h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 10vw, 5.6rem);
  }

  .login-card {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .login-section {
    padding: 116px 16px 42px;
    background-position: 42% center;
  }

  .login-shell {
    gap: 30px;
  }

  .login-intro h1 {
    margin-bottom: 16px;
  }

  .login-intro p {
    font-size: 0.96rem;
    line-height: var(--line-height-copy-tight);
  }

  .login-card {
    padding: 28px 20px;
    border-radius: calc(var(--radius) - 6px);
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-field input,
  .login-submit {
    transition: none;
  }
}
