/* DGM-Inventum "Warm Tactile" theme. Everything is scoped to the additive
   Inventum content blocks so shared tenant components remain unchanged. */
.dgm-inventum {
  --inv-canvas: #fbfaf9;
  --inv-panel: #f8f7f4;
  --inv-stone: #f2f0ed;
  --inv-cream: #f0ede7;
  --inv-line: #eae6df;
  --inv-ink: #474645;
  --inv-heading: #343433;
  --inv-black: #161513;
  --inv-muted: #84817d;
  --inv-primary: #00abe3;
  position: relative;
  overflow: clip;
  background: transparent;
  color: var(--inv-ink);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: -0.011em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

.dgm-inventum *,
.dgm-inventum *::before,
.dgm-inventum *::after { box-sizing: border-box; }
.dgm-inventum h1,
.dgm-inventum h2,
.dgm-inventum h3,
.dgm-inventum h4,
.dgm-inventum .font-heading {
  color: var(--inv-heading);
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
}
.dgm-inventum h1,
.dgm-inventum .display { letter-spacing: -0.042em; line-height: 1.02; }
.dgm-inventum h3,
.dgm-inventum h4 { letter-spacing: -0.02em; }
.dgm-inventum h1.text-white,
.dgm-inventum h2.text-white,
.dgm-inventum h3.text-white,
.dgm-inventum h4.text-white { color: #fff; }
.dgm-inventum .font-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
}
.dgm-inventum a:focus-visible,
.dgm-inventum button:focus-visible {
  outline: 3px solid rgba(0, 171, 227, .35);
  outline-offset: 4px;
}

/* Theme utilities missing from the shared Tailwind bundle. */
.dgm-inventum .bg-canvas { background-color: var(--inv-canvas); }
.dgm-inventum .bg-panel { background-color: var(--inv-panel); }
.dgm-inventum .bg-stone { background-color: var(--inv-stone); }
.dgm-inventum .text-ink { color: var(--inv-ink); }
.dgm-inventum .text-ink-heading { color: var(--inv-heading); }
.dgm-inventum .text-ink-black { color: var(--inv-black); }
.dgm-inventum .text-ink-muted { color: var(--inv-muted); }
.dgm-inventum .text-ink-heading\/80 { color: rgba(52, 52, 51, .8); }
.dgm-inventum .text-ink-muted\/80 { color: rgba(132, 129, 125, .8); }
.dgm-inventum .border-line { border-color: var(--inv-line); }

.dgm-inventum .card {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--inv-line);
  transition: box-shadow .28s ease, transform .28s cubic-bezier(.19, 1, .22, 1);
}
.dgm-inventum .card-hover:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px #e3ded5, 0 1px 6px rgba(22, 21, 19, .05), 0 10px 30px rgba(22, 21, 19, .06);
}
.dgm-inventum .ring-stone { box-shadow: inset 0 0 0 1px var(--inv-line); }
.dgm-inventum .shadow-product {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 40px 80px rgba(22, 21, 19, .22);
}
.dgm-inventum .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dgm-inventum .btn:hover { transform: translateY(-1px); }
.dgm-inventum .btn-dark { background: var(--inv-primary); color: #fff; }
.dgm-inventum .btn-dark:hover { background: #0089bd; color: #fff; }
.dgm-inventum .btn-dark:focus-visible { outline-color: rgba(22, 21, 19, .45); }
.dgm-inventum .btn-cream {
  background: var(--inv-cream);
  color: var(--inv-black);
  box-shadow: inset 0 0 0 1px #e6e1d8;
}
.dgm-inventum .btn-cream:hover { background: #e9e4da; color: var(--inv-black); }
.dgm-inventum .link-accent { color: #0089bd; font-weight: 600; }
.dgm-inventum .link-accent:hover { color: var(--inv-primary); }
.dgm-inventum .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  padding: .4rem .85rem;
  background: #fff;
  color: #5b5955;
  box-shadow: inset 0 0 0 1px var(--inv-line);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dgm-inventum .toy {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 21, 19, .1);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--r, 0deg));
  will-change: transform;
}
.dgm-inventum .toy i { font-size: 22px; }
.dgm-inventum [data-reveal] {
  transition: opacity .9s cubic-bezier(.19, 1, .22, 1), transform .9s cubic-bezier(.19, 1, .22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.dgm-inventum [data-reveal]:not([data-revealed]) { opacity: 0; transform: translate3d(0, 26px, 0); }
.dgm-inventum [data-reveal][data-revealed] { opacity: 1; transform: none; }
.dgm-inventum .pop:not([data-revealed]) { opacity: 0; transform: scale(.7); }
.dgm-inventum .pop {
  transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.dgm-inventum .pop[data-revealed] { opacity: 1; }

/* Existing Shadcn/Reka tabs, visually aligned with the tactile system. */
.dgm-inventum content-tabs { display: block; }
.dgm-inventum .content-tabs__root { gap: 0 !important; }
.dgm-inventum .content-tabs__menu-wrap > div {
  margin-bottom: 1rem !important;
  padding-bottom: 0 !important;
}
.dgm-inventum [role="tablist"] {
  width: 100% !important;
  max-width: 50rem;
  min-height: 3.5rem !important;
  height: auto !important;
  margin-inline: auto;
  padding: .375rem !important;
  border: 1px solid #e4dfd7 !important;
  border-radius: 1rem !important;
  background: #f2f0ed !important;
  color: #706d69;
  box-shadow: inset 0 1px 2px rgba(22, 21, 19, .035);
}
.dgm-inventum [role="tablist"] .tabs-morph-indicator {
  border: 1px solid #e5e0d8;
  border-radius: .7rem !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(22, 21, 19, .06), 0 6px 18px rgba(22, 21, 19, .055) !important;
}
.dgm-inventum [role="tab"] {
  min-height: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: .7rem !important;
  padding: .55rem 1rem !important;
  background: transparent !important;
  color: #706d69 !important;
  box-shadow: none !important;
  font-weight: 650;
  transition: color .2s ease, background-color .2s ease;
}
.dgm-inventum [role="tab"]:hover { color: #343433 !important; }
.dgm-inventum [role="tab"][aria-selected="true"] { color: #161513 !important; }
.dgm-inventum [role="tab"] i { color: #008fbd !important; }
.dgm-inventum [role="tab"]:focus-visible {
  outline: 3px solid rgba(0, 171, 227, .28) !important;
  outline-offset: 2px;
}
.dgm-inventum [role="tabpanel"] > .grid,
.dgm-inventum [role="tabpanel"] > .card { margin-top: 0 !important; }

.dgm-inventum-detail-hero { border-bottom: 1px solid var(--inv-line); }
.dgm-inventum-detail-hero .inv-detail-hero-grid,
.inv-crm .inv-crm-hero-grid { grid-template-columns: minmax(0, 1fr); }
.dgm-inventum-detail-hero .inv-detail-hero-title {
  max-width: 100%;
  /* Long German compounds (Veranstaltungsmanagement, Teilnehmendenmanagement)
     exceed the narrow mobile column at any sane hero size, so let them
     hyphenate at syllable boundaries (lang="de-de" is set); anywhere-break
     stays as the guaranteed no-overflow fallback. */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
  font-size: 2.1rem;
}
.inv-crm .inv-crm-title { font-size: 2.75rem; }
.dgm-inventum-detail-hero .inv-detail-hero-media {
  min-height: 0;
  position: relative;
}
.dgm-inventum-detail-hero .inv-detail-hero-frame {
  position: relative;
  border-radius: 22px;
}
.dgm-inventum-detail-hero .inv-detail-hero-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.dgm-inventum-detail-hero .inv-detail-hero-frame:has(.inv-detail-hero-fallback) { min-height: 12rem; }
.dgm-inventum-detail-hero .inv-detail-hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(0, 171, 227, .55), transparent 26%),
    radial-gradient(circle at 76% 74%, rgba(122, 108, 240, .5), transparent 24%),
    linear-gradient(135deg, #17171a, #2d3038);
}
/* Paint the warm canvas once on the page itself. Content wrappers stay
   transparent so they do not cover the soft ambient page background. */
body:has(.dgm-inventum) {
  background-color: var(--inv-canvas, #fbfaf9);
  background-image:
    radial-gradient(ellipse 42rem 34rem at 4% 18%, rgba(0, 171, 227, .075), transparent 72%),
    radial-gradient(ellipse 38rem 32rem at 96% 48%, rgba(245, 165, 36, .065), transparent 72%),
    radial-gradient(ellipse 40rem 34rem at 8% 78%, rgba(19, 189, 138, .055), transparent 72%);
  background-repeat: no-repeat;
}
#content__section:has(.dgm-inventum) {
  overflow: clip;
  background: transparent;
}
/* The homepage service labels deliberately float just beyond the collage.
   Keep the page-level clip as the horizontal safety rail, but do not crop
   the labels (or their shadows) at the hero and content-element edges. */
.dgm-inventum.inv-home,
.dgm-inventum.inv-home #top {
  overflow: visible;
}
/* Shared frame wrappers (e.g. around the form framework) paint solid white
   boxes over the canvas — flatten them; the warm cards supply the surfaces. */
#content__section:has(.dgm-inventum) .frame,
#content__section.dgm-inventum-subpage .frame {
  background: transparent !important;
}
#content__section.dgm-inventum-subpage {
  overflow: clip;
  background: transparent;
}
#content__section.dgm-inventum-subpage > :not(.dgm-inventum-detail-hero):not(.ce-anchor) {
  position: relative;
}
#content__section.dgm-inventum-subpage .shadow-xl,
#content__section.dgm-inventum-subpage .shadow-2xl,
#content__section.dgm-inventum-subpage .shadow-lg {
  box-shadow: inset 0 0 0 1px #eae6df, 0 18px 45px rgba(22, 21, 19, .06) !important;
}
#content__section.dgm-inventum-subpage .rounded-md { border-radius: 14px; }
#content__section.dgm-inventum-subpage .rounded-lg { border-radius: 18px; }
#content__section.dgm-inventum-subpage h2,
#content__section.dgm-inventum-subpage h3,
#content__section.dgm-inventum-subpage h4 {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  letter-spacing: -.025em;
}
#content__section.dgm-inventum-subpage tabs-list {
  border-color: #eae6df;
  background: #f2f0ed;
  box-shadow: inset 0 0 0 1px #eae6df;
}
#content__section.dgm-inventum-page-8849 ul.grid > li {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eae6df;
  padding: 1.25rem;
}


/* Editable closing CTA variant for enriched Inventum subpages. */
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta {
  padding-top: 3.5rem;
  padding-bottom: 6rem;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div {
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background: #161513;
  position: relative;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::before,
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::after {
  content: "";
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  transform: rotate(9deg);
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::before {
  top: 16%;
  left: 8%;
  background: #00abe3;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::after {
  right: 9%;
  bottom: 17%;
  background: #f5a524;
  transform: rotate(-8deg);
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div > .grid {
  display: block;
  position: relative;
  z-index: 1;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .eyebrow {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #9be4f7;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .text-ink {
  color: rgba(255, 255, 255, .68);
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div > .mt-14.grid {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div > .mt-14.grid > .card {
  width: auto;
  min-height: 3rem;
  border-radius: 9999px;
  padding: .85rem 1.6rem;
  background: #fff;
  box-shadow: none;
  color: #161513;
  transform: none;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div > .mt-14.grid > .card:hover {
  background: #f0ede7;
  transform: translateY(-2px);
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .mt-14.grid .card > span:first-child,
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .mt-14.grid .card > div,
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .mt-14.grid .card > .link-accent {
  display: none;
}
#content__section.dgm-inventum-subpage .inv-mask-feature-section--cta .mt-14.grid .card h3 {
  margin: 0;
  color: #161513;
  font-family: Inter, system-ui, sans-serif;
  font-size: .95rem;
  letter-spacing: -.01em;
}
@media (max-width: 639px) {
  #content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::before,
  #content__section.dgm-inventum-subpage .inv-mask-feature-section--cta > div::after {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 13px;
    opacity: .85;
  }
}
.dgm-inventum .inv-hero-proof__item {
  grid-column: span 6 / span 6;
  transform: rotate(var(--proof-rotation, 0deg));
  transition: transform .35s cubic-bezier(.19, 1, .22, 1), box-shadow .35s ease;
}
.dgm-inventum .inv-hero-proof__item:first-child { grid-column: span 12 / span 12; }
.dgm-inventum .inv-hero-proof__item:nth-child(2) { --proof-rotation: 1.2deg; }
.dgm-inventum .inv-hero-proof__item:nth-child(3) { --proof-rotation: -1.1deg; }
.dgm-inventum .inv-hero-proof__item:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: inset 0 0 0 1px #ded8ce, 0 18px 35px rgba(22, 21, 19, .09);
}

/* Homepage hero: real congress imagery enters the first viewport. */
.inv-home .inv-home-hero-grid { grid-template-columns: minmax(0, 1fr); }
.inv-home .inv-home-hero-grid > * { min-width: 0; }
.inv-home .inv-home-hero-title {
  font-size: clamp(2.35rem, 9.7vw, 3.8rem);
  line-height: .96;
  letter-spacing: -.052em;
}
.inv-home .inv-home-hero-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  color: var(--inv-heading);
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -.018em;
}
.inv-home .inv-home-hero-sequence span { display: inline-flex; align-items: center; gap: .7rem; }
.inv-home .inv-home-hero-sequence span:not(:first-child)::before {
  width: .38rem;
  height: .38rem;
  border-radius: 9999px;
  background: var(--inv-primary);
  content: "";
}
.inv-home .inv-home-hero-copy p { margin: 0; }
.inv-home .inv-home-hero-visual { min-height: 0; }
.inv-home .inv-home-hero-collage { position: relative; height: 25rem; }
.inv-home .inv-home-hero-shot {
  position: absolute;
  border-radius: 21px;
  box-shadow: 0 18px 42px rgba(22, 21, 19, .12);
}
.inv-home .inv-home-hero-shot:first-child {
  inset: 0 0 auto 0;
  width: 100%;
  height: 16rem;
  transform: rotate(-1.5deg);
  z-index: 1;
}
.inv-home .inv-home-hero-shot:nth-child(2) {
  left: 0;
  bottom: .35rem;
  width: 49%;
  height: 10.5rem;
  transform: rotate(2deg);
  z-index: 2;
}
.inv-home .inv-home-hero-shot:nth-child(3) {
  right: 0;
  bottom: 0;
  width: 49%;
  height: 10.5rem;
  transform: rotate(-2deg);
  z-index: 3;
}
/* Floating service badges v2: fifteen services across five anchor slots.
   Each slot cycles its own three-service queue on offset timing, so exactly
   one badge somewhere is swapping at any moment. Below lg (and with reduced
   motion) they become a swipeable / wrapped chip rail beneath the photos. */
.dgm-inventum .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.inv-home .inv-home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 0;
}
.inv-home .inv-home-hero-badges__list {
  display: contents;
}
.inv-home .inv-home-hero-badges__list li { list-style: none; }
.inv-home .inv-home-badge {
  --badge-r: rotate(0deg);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 9999px;
  padding: .45rem .95rem .45rem .5rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: inset 0 0 0 1px rgba(214, 209, 201, .9), 0 14px 34px rgba(22, 21, 19, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--inv-black);
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: -.014em;
  line-height: 1.1;
  transition: box-shadow .25s ease, background-color .2s ease;
}
.inv-home .inv-home-badge i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  font-size: .78rem;
  box-shadow: inset 0 0 0 1px rgba(22, 21, 19, .06);
}
.inv-home a.inv-home-badge--all {
  background: var(--inv-primary);
  color: #fff;
  box-shadow: 0 16px 36px rgba(22, 21, 19, .28);
}
.inv-home a.inv-home-badge--all i {
  background: #fff;
  color: var(--inv-primary);
}
.inv-home a.inv-home-badge--all:hover {
  background: #0089bd;
  box-shadow: 0 20px 44px rgba(22, 21, 19, .34);
}

@media (max-width: 639px) {
  .inv-home .inv-home-hero-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: .3rem .3rem .7rem;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    scrollbar-width: none;
  }
  .inv-home .inv-home-hero-badges::-webkit-scrollbar { display: none; }
  .inv-home .inv-home-badge {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .inv-home .inv-home-hero-badges {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: block;
    margin: 0;
    pointer-events: none;
  }
  .inv-home .inv-home-badge {
    position: absolute;
    pointer-events: auto;
    white-space: nowrap;
    font-size: .82rem;
    opacity: 0;
    visibility: hidden;
    transform: var(--badge-r);
    animation: inv-badge-cycle 30s cubic-bezier(.33, .02, .2, 1) infinite;
    animation-delay: calc(var(--badge-phase, 0s) + var(--slot-delay, 0s));
    animation-play-state: paused;
  }
  .inv-home a.inv-home-badge--all { display: none; }
  .inv-home .inv-home-badge--s0 { --badge-r: rotate(-2.2deg); left: -1.2rem; top: 2.2rem; }
  .inv-home .inv-home-badge--s1 { --badge-r: rotate(2deg); --slot-delay: -2s; right: -1rem; top: 12.8rem; }
  .inv-home .inv-home-badge--s2 { --badge-r: rotate(-1.6deg); --slot-delay: -4s; left: 16%; bottom: -1rem; }
  .inv-home .inv-home-badge--p1 { --badge-phase: -6s; }
  .inv-home .inv-home-badge--p2 { --badge-phase: -12s; }
  .inv-home .inv-home-badge--p3 { --badge-phase: -18s; }
  .inv-home .inv-home-badge--p4 { --badge-phase: -24s; }
  .inv-home .inv-home-hero-visual[data-revealed] .inv-home-badge { animation-play-state: running; }
  @keyframes inv-badge-cycle {
    0% { opacity: 0; visibility: hidden; transform: var(--badge-r) translateY(18px) scale(.88); }
    2.2% { opacity: 1; visibility: visible; transform: var(--badge-r) translateY(0) scale(1); }
    16% { opacity: 1; visibility: visible; transform: var(--badge-r) translateY(-6px) scale(1); }
    19.5%, 100% { opacity: 0; visibility: hidden; transform: var(--badge-r) translateY(-16px) scale(.92); }
  }
}


/* Homepage references: one restrained brand strip, without nested cards. */
.dgm-inventum.inv-home .inv-home-trust {
  overflow: hidden;
  border-radius: 16px;
  padding: .8rem .9rem;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px var(--inv-line), 0 6px 18px rgba(22, 21, 19, .035);
}
.dgm-inventum.inv-home .inv-home-trust__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  margin-bottom: .65rem;
  padding-inline: .15rem;
}
.dgm-inventum.inv-home .inv-home-trust__title {
  margin: 0;
  color: var(--inv-black);
  font-size: clamp(.98rem, 1.45vw, 1.15rem);
  font-weight: 760;
  line-height: 1.15;
}
.dgm-inventum.inv-home .inv-home-trust__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #007fa9;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1;
  transition: color .2s ease;
}
.dgm-inventum.inv-home .inv-home-trust__cta:hover { color: var(--inv-primary); }
.dgm-inventum.inv-home .inv-home-trust__cta i { font-size: .62rem; }
.dgm-inventum.inv-home .inv-home-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--inv-line);
}
.dgm-inventum.inv-home .inv-home-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .08rem;
  min-height: 3.15rem;
  padding: .42rem .25rem;
  color: var(--inv-heading);
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}
.dgm-inventum.inv-home .inv-home-trust__item:hover { background: #f2fafc; color: #007fa9; }
.dgm-inventum.inv-home .inv-home-trust__item:not(:nth-child(3n + 1)) { border-left: 1px solid var(--inv-line); }
.dgm-inventum.inv-home .inv-home-trust__item:nth-child(n + 4) { border-top: 1px solid var(--inv-line); }
.dgm-inventum.inv-home .inv-home-trust__wordmark {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: .96rem;
  font-weight: 820;
  letter-spacing: -.025em;
  line-height: 1;
}
.dgm-inventum.inv-home .inv-home-trust__wordmark--wide { font-size: .78rem; letter-spacing: -.015em; }
.dgm-inventum.inv-home .inv-home-trust__item > span {
  color: #8a8782;
  font-family: Inter, system-ui, sans-serif;
  font-size: .57rem;
  font-weight: 520;
  letter-spacing: -.005em;
  line-height: 1.18;
  hyphens: auto;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .dgm-inventum .inv-hero-proof__item { grid-column: span 3 / span 3; }
  .dgm-inventum .inv-hero-proof__item:first-child { grid-column: span 6 / span 6; }
  .dgm-inventum-detail-hero .inv-detail-hero-title { font-size: clamp(2.3rem, 2.6vw, 2.9rem); }
  .inv-crm .inv-crm-title { font-size: 4.2rem; }
  .dgm-inventum-detail-hero .inv-detail-hero-media { min-height: 0; }
  .dgm-inventum.inv-home .inv-home-trust__header { flex-direction: row; align-items: center; justify-content: space-between; }
  .dgm-inventum.inv-home .inv-home-trust__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dgm-inventum.inv-home .inv-home-trust__item:not(:first-child) { border-left: 1px solid var(--inv-line); }
  .dgm-inventum.inv-home .inv-home-trust__item:nth-child(n) { border-top: 0; }
}
@media (min-width: 1024px) {
  .inv-home .inv-home-hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); }
  .inv-home .inv-home-hero-collage { height: 34rem; }
  .inv-home .inv-home-hero-shot:first-child {
    left: 0;
    top: 3.8rem;
    width: 82%;
    height: 25rem;
  }
  .inv-home .inv-home-hero-shot:nth-child(2) {
    left: auto;
    right: 0;
    top: .5rem;
    bottom: auto;
    width: 47%;
    height: 13rem;
  }
  .inv-home .inv-home-hero-shot:nth-child(3) {
    right: .75rem;
    bottom: 1rem;
    width: 50%;
    height: 14rem;
  }
  .dgm-inventum.inv-home .inv-home-trust__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* Compact detail hero: give the text column the room so long German
     compound titles (Veranstaltungsmanagement, Teilnehmendenmanagement)
     stay on one line instead of breaking mid-word. */
  .dgm-inventum-detail-hero .inv-detail-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(22rem, .82fr); }
  .inv-crm .inv-crm-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(28rem, 1.08fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .dgm-inventum .float { animation: inv-bob 5.5s ease-in-out infinite; }
  @keyframes inv-bob {
    0%, 100% { transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--r, 0deg)); }
    50% { transform: translate3d(var(--parallax-x), calc(var(--parallax-y) - 14px), 0) rotate(var(--r, 0deg)); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .dgm-inventum [data-reveal],
  .dgm-inventum .pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dgm-inventum .float { animation: none !important; }
  .dgm-inventum.inv-home .inv-home-trust__item,
  .dgm-inventum.inv-home .inv-home-trust__cta,
  .dgm-inventum.inv-home .inv-home-trust__arrow { transition: none !important; }
  .dgm-inventum.inv-home .inv-home-trust__item:hover,
  .dgm-inventum.inv-home .inv-home-trust__cta:hover { transform: none; }
}
/* Scroll-up menu reveal: the shared smart-sticky hides the bar on scroll but
   its reveal does not fire on this site. body.inv-menu-reveal is set ONLY by
   inventum.js (tenant-scoped) while the user scrolls upward — it outranks the
   Vue-managed hidden state without touching the shared component. */
body.inv-menu-reveal .dgm-page-header-wrap > .mainmenu.dgm-mainmenu--hidden {
  top: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Footer (classes set only by inventum.js on Inventum pages): replace the
   7-column sitemap grid with a flowing layout — childless items compact,
   the one populated column gets room and wraps its children in two columns. */
.inv-footer { margin-top: 3rem !important; }
.inv-footer-nav { margin-top: 2.5rem !important; padding-top: 2.25rem !important; }
.inv-footer-nav > ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2.25rem 3.5rem;
}
.inv-footer-nav > ul > li { flex: 0 0 auto; min-width: 0; }
.inv-footer-nav > ul > li:has(> ul li) { order: 10; flex: 1 1 100%; }
.inv-footer-nav > ul > li > ul {
  columns: 2;
  column-gap: 2.5rem;
  margin-top: .85rem;
}
@media (min-width: 1024px) {
  .inv-footer-nav > ul > li > ul { columns: 3; }
}
.inv-footer-nav > ul > li > ul > li {
  break-inside: avoid;
  margin: 0 0 .55rem !important;
}
@media (max-width: 639px) {
  .inv-footer-nav > ul { gap: 1.5rem 2rem; }
  .inv-footer-nav > ul > li > ul { columns: 1; }
}

/* Without scripting nothing sets data-revealed — content must not stay hidden. */
@media (scripting: none) {
  .dgm-inventum [data-reveal],
  .dgm-inventum .pop { opacity: 1 !important; transform: none !important; }
}
/* Legacy long-form sections on subpages: readable measure. */
#content__section.dgm-inventum-subpage p {
  max-width: 78ch;
  margin-inline: auto;
}

/* TYPO3 Form Framework (Kontakt / Detailanfrage) in the warm-tactile system. */
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] {
  max-width: 46rem !important;
  margin: 0 auto 4rem !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] fieldset {
  margin: 0 0 1.25rem !important;
  padding: 1.5rem !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #eae6df !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] legend {
  float: left !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  font-family: "Inter Tight", Inter, sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #161513 !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] legend + * { clear: both !important; }
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] label {
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: #474645 !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .form-control {
  width: 100% !important;
  min-height: 2.9rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: .65rem .9rem !important;
  background: #fbfaf9 !important;
  color: #161513 !important;
  box-shadow: inset 0 0 0 1px #ded8ce !important;
  transition: box-shadow .15s ease !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .form-control:focus {
  outline: none !important;
  box-shadow: inset 0 0 0 1px #00abe3, 0 0 0 3px rgba(0, 171, 227, .18) !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] textarea.form-control { min-height: 8rem !important; }
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] input[type="radio"],
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] input[type="checkbox"] {
  width: 1.05rem !important;
  height: 1.05rem !important;
  accent-color: #00abe3 !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  min-height: 2.9rem !important;
  border: 0 !important;
  border-radius: 9999px !important;
  padding: .7rem 1.6rem !important;
  background: #f0ede7 !important;
  color: #161513 !important;
  box-shadow: inset 0 0 0 1px #e6e1d8 !important;
  font-weight: 600 !important;
  transition: background-color .2s ease, transform .2s ease !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .btn-primary {
  background: #00abe3 !important;
  color: #fff !important;
  box-shadow: none !important;
}
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .btn:hover { transform: translateY(-1px) !important; }
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .btn-primary:hover { background: #0089bd !important; }
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .error .form-control,
#content__section.dgm-inventum-subpage form[action*="tx_form_formframework"] .form-control.error {
  box-shadow: inset 0 0 0 1px #ff6a5b, 0 0 0 3px rgba(255, 106, 91, .15) !important;
}
@media (max-width: 639px) {
  .dgm-inventum [role="tablist"] {
    min-width: 0 !important;
    min-height: 3.75rem !important;
  }
  .dgm-inventum [role="tab"] {
    min-width: 0;
    height: 3rem !important;
    min-height: 3rem !important;
    flex-direction: column;
    gap: .15rem;
    padding: .35rem .3rem !important;
    font-size: .72rem !important;
    line-height: 1.05;
  }
  .dgm-inventum [role="tab"] i { margin: 0 !important; font-size: .8rem; }
  /* CRM: 4 text tabs wrap to a 2x2 grid — no hidden off-screen tabs. */
  .inv-crm [role="tablist"] {
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Shorter morph on mobile narrows the rapid-switch mis-alignment window. */
  .dgm-inventum .tabs-morph-indicator { transition-duration: .15s !important; }
  .dgm-inventum section { scroll-margin-top: 5rem; }
  .dgm-inventum .shadow-product { box-shadow: 0 20px 45px rgba(22, 21, 19, .18); }
}

/* =====================================================================
   SUBPAGE LEGACY-SECTION POLISH   (added 2026-07-11)
   Scoped to #content__section.dgm-inventum-subpage so the "warm tactile"
   system reaches the older Mask content elements that sit under the new
   detail hero. No class renames — we restyle the utility classes the Mask
   templates already emit. (Fixes: legacy sections looked cold / generic.)
   ===================================================================== */

/* --- Warm text palette: remap the cold Tailwind grays to the tactile ink scale --- */
#content__section.dgm-inventum-subpage .text-black,
#content__section.dgm-inventum-subpage .text-gray-900 { color: #1d1c1a; }
#content__section.dgm-inventum-subpage .text-gray-800 { color: #343433; }
#content__section.dgm-inventum-subpage .text-gray-700 { color: #474645; }
#content__section.dgm-inventum-subpage .text-gray-600 { color: #5f5d59; }
#content__section.dgm-inventum-subpage .text-gray-500 { color: #84817d; }
#content__section.dgm-inventum-subpage .text-gray-400 { color: #9a978f; }

/* --- Accent unification: eyebrow labels, "mehr erfahren" links, inline icons --- */
#content__section.dgm-inventum-subpage .text-primary-500 { color: #0089bd; }
#content__section.dgm-inventum-subpage a.text-primary-500 { font-weight: 600; transition: color .18s ease; }
#content__section.dgm-inventum-subpage a.text-primary-500:hover,
#content__section.dgm-inventum-subpage a.hover\:text-primary-600:hover { color: #00abe3; }
#content__section.dgm-inventum-subpage .link-accent { color: #0089bd; font-weight: 600; }
#content__section.dgm-inventum-subpage .link-accent:hover { color: #00abe3; }

/* --- Headings: Inter Tight, warm ink, one consistent display scale --- */
#content__section.dgm-inventum-subpage .font-heading {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  color: #343433;
  letter-spacing: -0.025em;
}
/* Big section display headings (div / h2 / h3 / p carrying the large text
   utilities) normalise to one warm scale instead of ranging text-4xl…text-5xl. */
#content__section.dgm-inventum-subpage .font-heading.sm\:text-5xl,
#content__section.dgm-inventum-subpage .font-heading.sm\:text-4xl,
#content__section.dgm-inventum-subpage h2.text-4xl,
#content__section.dgm-inventum-subpage h3.sm\:text-4xl {
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  color: #161513;
  letter-spacing: -0.028em;
}

/* --- mask_subpage_feature_menu : service-link cards --- */
#content__section.dgm-inventum-subpage ul[role="list"] > a {
  border-radius: 14px;
  border-color: transparent;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eae6df;
  transition: box-shadow .28s ease, transform .28s cubic-bezier(.19, 1, .22, 1);
}
#content__section.dgm-inventum-subpage ul[role="list"] > a:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px #e3ded5, 0 1px 6px rgba(22, 21, 19, .05), 0 12px 30px rgba(22, 21, 19, .07);
  color: inherit;
}
#content__section.dgm-inventum-subpage ul[role="list"] > a i { color: #00abe3; }
/* clickable affordance: a chevron that fades in on hover (no arrow in the markup) */
#content__section.dgm-inventum-subpage ul[role="list"] > a > div:last-child { position: relative; padding-right: 1.9rem; }
#content__section.dgm-inventum-subpage ul[role="list"] > a > div:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .95rem;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 2px solid #c8c2b7;
  border-right: 2px solid #c8c2b7;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .2s ease, transform .25s cubic-bezier(.19, 1, .22, 1), border-color .2s ease;
}
#content__section.dgm-inventum-subpage ul[role="list"] > a:hover > div:last-child::after {
  opacity: 1;
  border-color: #00abe3;
  transform: rotate(45deg) translate(2px, -2px);
}

/* --- mask_image_card_with_description : media cards --- */
#content__section.dgm-inventum-subpage .inv-mask-image-cards article {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eae6df;
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.19, 1, .22, 1);
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article:has(a):hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px #e3ded5, 0 1px 6px rgba(22, 21, 19, .05), 0 18px 44px rgba(22, 21, 19, .09);
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article img {
  aspect-ratio: 16 / 10 !important;
  transition: transform .55s cubic-bezier(.19, 1, .22, 1);
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article:has(a):hover img { transform: scale(1.035); }
#content__section.dgm-inventum-subpage .inv-mask-image-cards--preserve .inv-mask-image-cards__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #f3f0eb;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards--preserve .inv-mask-image-cards__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: contain;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards--preserve article:has(a):hover img { transform: none; }
#content__section.dgm-inventum-subpage .inv-mask-image-cards article > div.flex {
  padding: 1.1rem 1rem 1.2rem;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article .text-primary-500 {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: .75rem;
  border-radius: 9999px;
  padding: .35rem .6rem;
  background: #f3fbfe;
  color: #0089bd;
  box-shadow: inset 0 0 0 1px #d9f1fa;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article h3 {
  font-size: 1.12rem;
  line-height: 1.18;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards article .mt-2.text-ink {
  margin-top: .75rem;
  color: #5f5d59;
  font-size: .875rem;
  line-height: 1.58;
}

/* Group each editable media-card collection on one warm tactile surface. */
#content__section.dgm-inventum-subpage .inv-mask-image-cards > div {
  margin-block: 2rem 3rem;
  border-radius: 28px;
  padding: 1.15rem;
  background: rgba(242, 240, 237, .72);
  box-shadow: inset 0 0 0 1px #eae6df;
}
#content__section.dgm-inventum-subpage .inv-mask-image-cards .grid { gap: 1rem; }
#content__section.dgm-inventum-subpage .inv-mask-image-cards article { padding: .45rem; }
#content__section.dgm-inventum-subpage .inv-mask-image-cards article > div:first-child { border-radius: 15px; }

/* --- mask_features_with_image : icon-feature grid items become cards --- */
#content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16 {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eae6df;
  padding: 1.4rem 1.4rem 1.5rem;
  padding-left: calc(1.4rem + 3.1rem);
  transition: box-shadow .28s ease, transform .28s cubic-bezier(.19, 1, .22, 1);
}
#content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px #e3ded5, 0 12px 30px rgba(22, 21, 19, .07);
}
/* re-seat the absolute icon square inside the new card padding */
#content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16 > dt > .absolute {
  left: 1.4rem;
  top: 1.4rem;
}
/* the trailing "mehr erfahren" link reads as an action inside the card */
#content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16 > a { margin-top: 1rem; }

/* --- Cyan-tile icon squares (feature lists) — unify to the brand accent, soften --- */
#content__section.dgm-inventum-subpage .bg-primary-500.rounded-md {
  background-color: #00abe3;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(0, 171, 227, .18);
}
/* mask_feature_list_with_subpoints: the title <p> uses ml-16 to clear the
   absolute icon tile, but the load-bearing `p { margin-inline:auto }` rule
   above (higher specificity than .ml-16) collapsed it to 0 → the heading ran
   under the icon. Restore the indent for these titles only. */
#content__section.dgm-inventum-subpage dl p.ml-16 {
  margin-left: 4rem;
  margin-right: 0;
  max-width: none;
}

/* --- Images with no ring of their own: add a warm hairline (skip already-shadowed) --- */
#content__section.dgm-inventum-subpage img.rounded-lg:not([class*="shadow"]),
#content__section.dgm-inventum-subpage img.rounded-md:not([class*="shadow"]) {
  box-shadow: 0 0 0 1px rgba(22, 21, 19, .07);
}

/* --- Warm the cold gray section panel + tidy vertical rhythm --- */
#content__section.dgm-inventum-subpage .container.bg-gray-50 { background-color: #f6f4f1; }
#content__section.dgm-inventum-subpage .dgm-ce-space { margin-top: 3rem; }
#content__section.dgm-inventum-subpage .py-6.sm\:py-10.lg\:pb-16 { padding-top: 1.75rem; padding-bottom: .75rem; }

@media (max-width: 639px) {
  /* keep the new cards comfortable but not cramped on phones */
  #content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16 {
    padding: 1.15rem 1.15rem 1.25rem;
    padding-left: calc(1.15rem + 3rem);
  }
  #content__section.dgm-inventum-subpage dl.grid > div.relative.lg\:pl-16 > dt > .absolute { left: 1.15rem; top: 1.15rem; }
}

/* Reference browser: compact toolbar + dense logo cards. */
.inv-refs .inv-refs__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-bottom: 1.1rem;
  padding: .65rem;
  border-radius: 16px;
  background: #f2f0ed;
  box-shadow: inset 0 0 0 1px #eae6df;
}
.inv-refs .inv-refs__search { position: relative; flex: 1 1 15rem; min-width: 12rem; }
.inv-refs .inv-refs__search i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00abe3;
  font-size: .8rem;
}
.inv-refs .inv-refs__search input {
  width: 100%;
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  padding: .5rem 1rem .5rem 2.4rem;
  background: #fff;
  color: #161513;
  box-shadow: inset 0 0 0 1px #ded8ce;
  font-size: .88rem;
}
.inv-refs .inv-refs__search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #00abe3, 0 0 0 3px rgba(0, 171, 227, .16);
}
.inv-refs .inv-refs__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.inv-refs .inv-refs__chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  padding: .45rem .95rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e6e1d8;
  color: #474645;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.inv-refs .inv-refs__chip:hover { color: #161513; }
.inv-refs .inv-refs__chip.is-active { background: #00abe3; color: #fff; box-shadow: none; }
.inv-refs .inv-refs__count { margin-left: auto; padding-right: .35rem; color: #84817d; font-size: .8rem; white-space: nowrap; }
.inv-refs .inv-refs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inv-refs .inv-refs__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 21, 19, .05), 0 10px 26px rgba(22, 21, 19, .07);
}
.inv-refs .inv-refs__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.4rem;
  padding: .8rem 1rem .2rem;
  background: #fff;
}
.inv-refs .inv-refs__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.inv-refs .inv-refs__logo-fallback {
  color: #b9b4ac;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.inv-refs .inv-refs__body { display: flex; flex: 1; flex-direction: column; gap: .45rem; padding: .8rem .95rem .9rem; }
.inv-refs .inv-refs__title {
  margin: 0;
  color: #161513;
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: -.014em;
  line-height: 1.3;
}
.inv-refs .inv-refs__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .7rem;
  margin: 0;
  color: #84817d;
  font-size: .74rem;
}
.inv-refs .inv-refs__type { color: #5f5d59; font-weight: 650; }
.inv-refs .inv-refs__org { font-weight: 600; }
.inv-refs .inv-refs__link { display: inline-flex; align-items: center; gap: .3rem; color: #0089bd; font-weight: 650; }
.inv-refs .inv-refs__link:hover { color: #00abe3; }
.inv-refs .inv-refs__link i { font-size: .6rem; }
.inv-refs .inv-refs__more-wrap { display: flex; justify-content: center; margin-top: 1.4rem; }
.inv-refs .inv-refs__more { padding: .75rem 1.5rem; font-size: .9rem; }
@media (max-width: 639px) {
  .inv-refs .inv-refs__count { flex-basis: 100%; order: 3; margin-left: 0; padding-left: .35rem; }
}

.inv-refs .inv-refs__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .85rem;
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
  color: #474645;
  font-size: .75rem;
  font-weight: 650;
}
.inv-refs .inv-refs__stats li { display: inline-flex; align-items: center; gap: .38rem; }
.inv-refs .inv-refs__stats i { color: #00abe3; font-size: .72rem; }
.inv-refs .inv-refs__descr { margin: .2rem 0 0; }
.inv-refs .inv-refs__descr p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #6b6864;
  font-size: .79rem;
  line-height: 1.5;
}
.inv-refs .inv-refs__toggle {
  align-self: flex-start;
  margin-top: .15rem;
  border: 0;
  padding: 0;
  background: none;
  color: #0089bd;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}
.inv-refs .inv-refs__toggle:hover { color: #00abe3; }

@media (prefers-reduced-motion: no-preference) {
  .inv-refs .inv-refs__card.inv-refs-leave {
    animation: inv-refs-leave 250ms linear(0, 0.4188, 0.869, 1.0326, 1.04, 1.0153, 1.0011, 1) both;
    pointer-events: none;
  }
  @keyframes inv-refs-leave {
    to { opacity: 0; transform: translateY(6px) scale(.95); }
  }
  .inv-refs .inv-refs__card.inv-refs-enter {
    animation: inv-refs-enter 450ms linear(0, 0.282, 0.6997, 0.9617, 1.0558, 1.0571, 1.0308, 1.0087, 0.9982, 1, 0.9972, 0.9989, 0.9999, 1, 1) both;
    animation-delay: var(--enter-delay, 0ms);
  }
  @keyframes inv-refs-enter {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: none; }
  }
}

/* The global readable-measure rule (margin-inline:auto on subpage <p>) must
   not center the compact card paragraphs — pin them to the left edge. */
#content__section .inv-refs p {
  max-width: none;
  margin-inline: 0;
}

/* Reference detail dialog (portals to body — namespaced, not scope-bound). */
.inv-refdlg {
  max-width: 46rem;
  margin: 0 auto;
  padding-top: .5rem;
  font-family: Inter, system-ui, sans-serif;
  color: #474645;
}
.inv-refdlg__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.inv-refdlg__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 11rem;
  height: 5.4rem;
  padding: .7rem 1rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 21, 19, .06), 0 8px 20px rgba(22, 21, 19, .07);
}
.inv-refdlg__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.inv-refdlg__intro { display: flex; flex-direction: column; gap: .6rem; }
.inv-refdlg__kicker {
  margin: 0;
  color: #84817d;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.inv-refdlg__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  border-radius: 9999px;
  padding: .55rem 1.15rem;
  background: #00abe3;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.inv-refdlg__btn:hover { background: #0089bd; transform: translateY(-1px); }
.inv-refdlg__btn i { font-size: .66rem; }
.inv-refdlg__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .55rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}
.inv-refdlg__stats li {
  display: flex;
  align-items: center;
  gap: .6rem;
  border-radius: 12px;
  padding: .7rem .85rem;
  background: #f8f7f4;
  box-shadow: inset 0 0 0 1px #eae6df;
  color: #161513;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: .86rem;
  font-weight: 750;
}
.inv-refdlg__stats i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #e8f6fb;
  color: #008fbe;
  font-size: .78rem;
}
.inv-refdlg__descr p {
  margin: 0;
  max-width: 68ch;
  color: #474645;
  font-size: .92rem;
  line-height: 1.6;
}
@media (max-width: 519px) {
  .inv-refdlg__logo { width: 100%; }
}

/* Pastel accent family — tinted grounds, tone-on-tone glyphs, cyan-anchored. */
.dgm-inventum .inv-tile--1 { background: #d5edf8; color: #0081b3; }
.dgm-inventum .inv-tile--2 { background: #d7f0e4; color: #128a5e; }
.dgm-inventum .inv-tile--3 { background: #f8ead0; color: #ab7410; }
.dgm-inventum .inv-tile--4 { background: #f9dfd9; color: #c2513d; }
.dgm-inventum .inv-tile--5 { background: #dce7f8; color: #3a63b8; }
.dgm-inventum .inv-tile--6 { background: #e8e2f7; color: #6d54c6; }

/* Headline accent — the part after | in the header field. */
.dgm-inventum .inv-accent { color: var(--inv-primary); }

/* CTA panel — the "dark moment" in deep brand blue with soft glows. */
.dgm-inventum .inv-cta-panel {
  background:
    radial-gradient(55rem 30rem at 88% -25%, rgba(0, 171, 227, .38), transparent 62%),
    radial-gradient(42rem 26rem at -12% 115%, rgba(23, 141, 122, .28), transparent 60%),
    linear-gradient(140deg, #04364e 0%, #075d84 62%, #0a729f 125%);
}
