/* ==========================================================================
   KAANA IT – Website Styles
   Struktur: Tokens -> Fonts -> Base -> Layout -> Komponenten -> Sections
             -> Footer -> Motion -> Media Queries
   CI-Basis: Styleguide 2023 (Master): Blau #0E1D42, Orange #F99D33,
             Hurme Geometric Sans 1, Radius 0-4 px, Buttons 48 px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Farben (Master-CI) */
  --color-primary: #0e1d42;
  --color-accent: #f99d33;
  --color-white: #ffffff;

  /* Akzent-Apostroph aus der Bildmarke (Polygon 2.83 13.99 / 10.05 0 / 2.89 0 / 0 8.25,
     Box 10.05 x 13.99) - als clip-path fuer CSS-Pseudoelemente */
  --mark-clip: polygon(28.76% 0, 100% 0, 28.16% 100%, 0 58.97%);
  --mark-ratio: 10.05 / 13.99;

  /* Abgeleitete Farben (aus Blau) */
  --color-text: #0e1d42;
  --color-text-muted: #4b5570;
  --color-text-subtle: #7a8299;
  --color-text-on-brand: #ffffff;
  --color-text-on-brand-muted: rgba(255, 255, 255, 0.72);

  --color-bg: #ffffff;
  --color-bg-tint: #f4f5f8;
  --color-bg-tint-strong: #e9ebf1;
  --color-bg-brand: #0e1d42;
  --color-bg-brand-deep: #0a1533;

  --color-border: rgba(14, 29, 66, 0.12);
  --color-border-strong: rgba(14, 29, 66, 0.24);
  --color-border-on-brand: rgba(255, 255, 255, 0.16);

  --color-accent-soft: rgba(249, 157, 51, 0.16);
  --color-accent-hover: #f7901a;
  --color-primary-hover: #16295c;

  /* Typografie */
  --font-sans: "Hurme Geometric Sans 1", Arial, Helvetica, sans-serif;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  --text-xs: 0.8125rem;                            /* 13px */
  --text-sm: 0.9375rem;                            /* 15px */
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --text-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem);
  --text-h1: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-display: clamp(2.5rem, 1.9rem + 2.9vw, 4.375rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;

  /* Abstaende (CI-Skala 8/16/24/40/64/96) */
  --space-1: 0.5rem;   /* 8 */
  --space-2: 1rem;     /* 16 */
  --space-3: 1.5rem;   /* 24 */
  --space-4: 2.5rem;   /* 40 */
  --space-5: 4rem;     /* 64 */
  --space-6: 6rem;     /* 96 */
  --space-section: clamp(4.5rem, 8vw, 8rem);
  --space-gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Layout */
  --container-width: 1280px;
  --container-wide: 1400px;
  --container-narrow: 820px;
  --measure: 65ch;
  --header-height: 84px;
  --header-height-compact: 68px;

  /* Radius (CI: 0-4 px fuer Buttons, Cards leicht groesser) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Schatten – sehr subtil */
  --shadow-sm: 0 1px 2px rgba(14, 29, 66, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(14, 29, 66, 0.22);
  --shadow-lg: 0 24px 48px -24px rgba(14, 29, 66, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 600ms;
  --dur-slow: 800ms;
  --dur-leave: 160ms;
  --dur-enter: 460ms;
  --dur-fade: 380ms;
  --dur-settle: 520ms;
  --stagger: 80ms;
  --enter-delay: 70ms;
  --enter-stagger: 55ms;

  /* Fokus */
  --focus-ring: 2px solid var(--color-primary);
  --focus-offset: 3px;
}

/* --------------------------------------------------------------------------
   2. Fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Hurme Geometric Sans 1";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/hurme-geometric-sans-1-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Hurme Geometric Sans 1";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/hurme-geometric-sans-1-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Hurme Geometric Sans 1";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/hurme-geometric-sans-1-bold.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   3. Base / Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height-compact) + 1rem);
  /* Scrollbar-Platz immer reservieren: keine Breitenspruenge zwischen
     scrollenden und nicht scrollenden Seiten bzw. bei offenem Menue */
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); line-height: var(--leading-tight); }
h2 { font-size: var(--text-h2); line-height: 1.15; }
h3 { font-size: var(--text-h3); }

p {
  max-width: var(--measure);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a:hover {
  color: var(--color-primary);
}

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

svg {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

strong {
  font-weight: var(--weight-semibold);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 2px;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

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

/* Skip-Link */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}

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

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--tint {
  background: var(--color-bg-tint);
}

.section--brand {
  background: var(--color-bg-brand);
  color: var(--color-text-on-brand);
}

.section--flush-top {
  padding-top: 0;
}

.section__head {
  display: grid;
  gap: var(--space-2);
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center p {
  margin-inline: auto;
}

.section__head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-3);
}

.section__head--split .section__head-copy {
  max-width: 760px;
  display: grid;
  gap: var(--space-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Akzent-Apostroph = Bildmarke (identisch mit #wf-mark im Hero-Diagramm:
   Polygon 2.83 13.99 / 10.05 0 / 2.89 0 / 0 8.25, Box 10.05 x 13.99) */
.eyebrow::before {
  content: "";
  height: 0.85rem;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
  flex: none;
}

.section--brand .eyebrow {
  color: var(--color-text-on-brand-muted);
}

.section__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.section--brand .section__lead {
  color: var(--color-text-on-brand-muted);
}

/* --------------------------------------------------------------------------
   5. Komponenten
   -------------------------------------------------------------------------- */

/* Buttons (CI: 48 px Hoehe, Radius 0-4 px; Orange traegt Blau, Blau traegt Weiss) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn__arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
}

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-tint);
}

.section--brand .btn--outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section--brand .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--lg {
  min-height: 56px;
  padding: 0 2rem;
  font-size: var(--text-base);
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  min-height: 44px;
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--dur-fast) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.section--brand .link-arrow {
  color: var(--color-white);
}

/* Cards – zurueckhaltend: Border, Radius, kein Shadow */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.card--interactive:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.card__title {
  font-size: var(--text-h3);
}

.card__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card__link {
  margin-top: auto;
  padding-top: var(--space-1);
  font-size: var(--text-sm);
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Chips / Tags */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.01em;
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.section--tint .chip {
  background: var(--color-bg);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.55rem;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-bg-tint);
  border-radius: 3px;
}

/* Reduzierter Browser-Frame fuer Screenshots */
.frame {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.875rem;
  background: var(--color-bg-tint);
  border-bottom: 1px solid var(--color-border);
}

.frame__bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-border-strong);
}

.frame__bar span:first-child {
  background: var(--color-accent);
}

.frame__body {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-tint);
}

.frame__body img,
.frame__body svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text-Platzhalter, wenn noch kein Screenshot vorliegt */
.frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background:
    linear-gradient(135deg, transparent 49.5%, var(--color-border) 49.5%, var(--color-border) 50.5%, transparent 50.5%),
    var(--color-bg-tint);
}

/* Screenshot-Placeholder (skizziertes UI, Farben inline im Sprite,
   da CSS-Selektoren nicht in <use>-Shadow-Trees greifen) */
.ui-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.placeholder-note {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */

/* Header liegt fixed ausserhalb des Layoutflusses: der kompakte Zustand
   veraendert so nie die Dokumenthoehe (kein Zittern an der Scroll-Schwelle). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-height);
  transition: min-height var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled .header__inner {
  min-height: var(--header-height-compact);
}

/* Seitenwechsel: war der Header auf der vorigen Seite kompakt, startet er
   hier bereits kompakt (Klasse kommt aus dem Inline-Script im <head>, also
   vor dem ersten Paint) und bleibt so, bis wirklich gescrollt wird. */
.header-compact .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.header-compact .header__inner {
  min-height: var(--header-height-compact);
}

/* Beim Wechsel keine Groessen-Interpolation: sonst ruckelt die Leiste,
   wenn kompakt uebernommen und im naechsten Frame wieder geaendert wird. */
.header-compact .site-header,
.header-compact .header__inner,
.header-compact .logo img,
html.is-leaving .site-header,
html.is-leaving .header__inner,
html.is-leaving .logo img {
  transition: none;
}

/* Platz fuer den fixed Header */
main {
  padding-top: var(--header-height);
}

/* Bei offenem Mobile-Menue kein backdrop-filter: er wuerde den Header zum
   Containing Block fuer die fixed positionierte Navigation machen. */
body.nav-open .site-header {
  background: var(--color-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}

.logo img,
.logo svg {
  width: clamp(140px, 12vw, 176px);
  height: auto;
  transition: width var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled .logo img,
.header-compact .logo img {
  width: clamp(140px, 11vw, 160px);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.75rem);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--color-primary);
}

/* Aktive Seite: kleine orange Schraegform als Marker */
.nav__link[aria-current="page"] {
  position: relative;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 6px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform-origin: left center;
  /* Marker waechst beim Ankommen unter dem neuen Menuepunkt heran ... */
  animation: nav-marker-in var(--dur-enter) var(--ease-out) both;
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger) * 2);
}

/* ... und zieht sich beim Verlassen mit dem Inhalt zurueck */
.is-leaving .nav__link[aria-current="page"]::after {
  transform-origin: right center;
  animation: nav-marker-out var(--dur-leave) var(--ease-out) forwards;
}

@keyframes nav-marker-in {
  from { transform: scaleX(0); }
  to   { transform: none; }
}

@keyframes nav-marker-out {
  to { transform: scaleX(0); }
}

.nav__cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle__bars {
  transform: translateX(-50%);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  left: 0;
}

.nav-toggle__bars::before { transform: translateY(-7px); }
.nav-toggle__bars::after  { transform: translateY(7px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6.5rem);
  overflow: clip;
}

/* Schraegform-Motiv (aus Bildmarke/Briefpapier) als inline SVG:
   Seitenverhaeltnis bleibt unabhaengig von der Viewport-Breite erhalten. */
.brand-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
  color: var(--color-bg-tint);
  fill: currentColor;
}

.hero .brand-shape {
  top: -8%;
  right: -4%;
  width: min(34vw, 520px);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__copy {
  display: grid;
  gap: var(--space-3);
}

.hero__title {
  font-size: var(--text-display);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.09em;
  background: var(--color-accent);
  border-radius: 2px;
  z-index: -1;
}

.hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__note::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--color-border-strong);
}

.hero__visual {
  position: relative;
}

.workflow {
  width: 100%;
  height: auto;
  overflow: visible;
}

.workflow .wf-node {
  fill: var(--color-bg);
  stroke: var(--color-border);
  stroke-width: 1;
}

.workflow .wf-node--highlight {
  fill: var(--color-primary);
  stroke: var(--color-primary);
}

.workflow .wf-node--final {
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

.workflow .wf-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  fill: var(--color-primary);
}

.workflow .wf-label--light {
  fill: var(--color-white);
}

.workflow .wf-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11.5px;
  fill: var(--color-text-subtle);
}

.workflow .wf-sub--light {
  fill: rgba(255, 255, 255, 0.72);
}

.workflow .wf-mark {
  fill: var(--color-accent);
}

.workflow .wf-badge {
  fill: var(--color-accent);
}

.workflow .wf-check {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gestrichelte Verbindungen mit langsamem Drift */
.workflow .wf-dash {
  fill: none;
  stroke: var(--color-border-strong);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 4 5;
  animation: wf-drift 16s linear infinite;
}

/* Orange Impulse, die entlang der Verbindungen nach unten wandern */
.workflow .wf-pulse {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 22 700;
  stroke-dashoffset: 22;
  opacity: 0.95;
  animation: wf-pulse 9s linear infinite;
}

.workflow .wf-pulse--delay {
  animation-delay: -4.5s;
}

.workflow .wf-junction {
  fill: var(--color-accent);
  stroke: var(--color-bg);
  stroke-width: 2;
  paint-order: stroke;
}

/* Knoten blenden gestaffelt ein, sobald der Hero sichtbar ist */
.js .workflow .wf-step {
  opacity: 0;
  transform: translateY(12px);
  transform-box: fill-box;
}

.js .hero__visual.is-visible .wf-step {
  animation: wf-in 700ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 130ms + 200ms);
}

.js .workflow .wf-lines,
.js .workflow .wf-junctions,
.js .workflow .wf-pulses {
  opacity: 0;
  transition: opacity 600ms var(--ease-out) 900ms;
}

.js .hero__visual.is-visible .wf-lines,
.js .hero__visual.is-visible .wf-junctions,
.js .hero__visual.is-visible .wf-pulses {
  opacity: 1;
}

@keyframes wf-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wf-drift {
  to {
    stroke-dashoffset: -90;
  }
}

@keyframes wf-pulse {
  to {
    stroke-dashoffset: -722;
  }
}

/* --------------------------------------------------------------------------
   8. Kennzahlen (Trust)
   -------------------------------------------------------------------------- */

.stats {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding-left: 1.5rem;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  height: 1.35rem;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
}

.stat__value {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   9. Typische Herausforderungen
   -------------------------------------------------------------------------- */

/* Zitate als Sprechblasen mit dezenten Avataren (Silhouetten aus dem Sprite).
   Chat-Rhythmus: ungerade Eintraege Avatar links, gerade Eintraege Avatar rechts,
   jeweils leicht versetzt. */
.problem-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
}

.problem {
  display: grid;
  grid-template-columns: var(--avatar-size) minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  --avatar-size: 3.25rem;
  width: max-content;
  max-width: min(100%, 46rem);
  justify-self: start;
}

.problem:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) var(--avatar-size);
  justify-self: end;
}

.problem:nth-child(even) .problem__avatar {
  order: 2;
}

.problem__avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  overflow: hidden;
  color: var(--color-primary);
  background: var(--color-bg-tint-strong);
  border: 1px solid var(--color-border);
  margin-top: 0.15rem;
}

.problem__avatar svg {
  width: 100%;
  height: 100%;
}

.problem__bubble {
  position: relative;
  padding: clamp(1rem, 1.6vw, 1.35rem) clamp(1.1rem, 1.8vw, 1.5rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-primary);
  text-wrap: pretty;
  max-width: none;
}

/* Zeiger zur Sprecherin / zum Sprecher: aeusseres Dreieck = Rand, inneres = Fuellung */
.problem__bubble::before,
.problem__bubble::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  width: 0;
  height: 0;
  border-style: solid;
}

.problem__bubble::before {
  left: -9px;
  border-width: 8px 9px 8px 0;
  border-color: transparent var(--color-border) transparent transparent;
}

.problem__bubble::after {
  left: -7.5px;
  top: calc(0.95rem + 1px);
  border-width: 7px 8px 7px 0;
  border-color: transparent var(--color-bg) transparent transparent;
}

/* Zitatzeichen als CI-Akzent: deutsche Anfuehrungszeichen in Orange */
.problem__quote {
  quotes: "\201E" "\201C";
}

.problem__quote::before,
.problem__quote::after {
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  font-size: 1.2em;
  line-height: 0;
}

.problem__quote::before {
  content: open-quote;
}

.problem__quote::after {
  content: close-quote;
}

/* Gespiegelte Blase, wenn der Avatar rechts steht */
.problem:nth-child(even) .problem__bubble {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-sm);
}

.problem:nth-child(even) .problem__bubble::before {
  left: auto;
  right: -9px;
  border-width: 8px 0 8px 9px;
  border-color: transparent transparent transparent var(--color-border);
}

.problem:nth-child(even) .problem__bubble::after {
  left: auto;
  right: -7.5px;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent var(--color-bg);
}


.problems__bridge {
  display: grid;
  gap: var(--space-2);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--color-border);
}

/* Ueberleitung in Lead-Groesse: erster Satz betont, Rest als ruhiger Fliesstext */
.problems__bridge-title {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  color: var(--color-primary);
  max-width: 62ch;
  text-wrap: pretty;
}

/* Bildmarken-Apostroph vor der Ueberleitung (wie Eyebrow / Kennzahlen) */
.problems__bridge-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  height: 0.9em;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
}

.problems__bridge-title span {
  color: var(--color-text-muted);
  font-weight: var(--weight-regular);
}

/* --------------------------------------------------------------------------
   10. Loesungen
   -------------------------------------------------------------------------- */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.section__foot {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--space-4);
}

.section__foot--center {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   11. So koennen wir starten (Prozess)
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  counter-reset: step;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: var(--color-border-strong);
}

.process-step {
  position: relative;
  display: grid;
  gap: var(--space-2);
  counter-increment: step;
}

.process-step__marker {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

.process-step__marker::before {
  content: counter(step, decimal-leading-zero);
}

.process-step--start .process-step__marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.process-step--current .process-step__marker {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.process-step h3 {
  font-size: var(--text-lg);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.process__aside {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.process__statement {
  font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.process__statement span {
  white-space: nowrap;
}

.process__entry {
  display: grid;
  gap: var(--space-2);
}

.process__entry-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Showcase
   -------------------------------------------------------------------------- */

.case--featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3.5rem);
  background: var(--color-bg-tint);
  border-radius: var(--radius-lg);
}

.case__copy {
  display: grid;
  gap: var(--space-3);
}

.case__title {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
}

.case__facts {
  display: grid;
  gap: var(--space-2);
}

.case__fact {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.case__fact dt {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.case__fact dd {
  margin: 0;
  color: var(--color-text-muted);
}

.case__tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.case__tech-label {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-right: 0.25rem;
}

.case__visual {
  position: relative;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.case {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.case:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.case .frame {
  box-shadow: none;
}

.case .frame__body {
  aspect-ratio: 16 / 9;
}

.case__kicker {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.case h3 {
  font-size: var(--text-lg);
}

.case p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.case__result {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
  margin-top: auto;
  padding-top: var(--space-1);
}

.case__result::before {
  content: "";
  flex: none;
  height: 0.95rem;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
  transform: translateY(0.05rem);
}

/* --------------------------------------------------------------------------
   13. Produkte
   -------------------------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.products .section__head {
  margin-bottom: 0;
}

.product-list {
  border-top: 1px solid var(--color-border);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left var(--dur-fast) var(--ease-out);
}

.product__copy {
  display: grid;
  gap: 0.35rem;
}

.product h3 {
  font-size: var(--text-lg);
}

.product p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product__arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-subtle);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.product:hover .product__arrow {
  transform: translateX(3px);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   14. Kunden / Logo-Wall
   -------------------------------------------------------------------------- */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  padding: var(--space-3);
  background: var(--color-bg);
  color: var(--color-text-subtle);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.logo-tile:hover {
  color: var(--color-primary);
  background: var(--color-bg-tint);
}

.logo-tile svg {
  width: min(100%, 8.5rem);
  height: auto;
}

.logo-tile__text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  fill: currentColor;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.industries__label {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.industries li {
  position: relative;
}

.industries li + li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-border-strong);
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   15. Warum Ka'ana (typografisch)
   -------------------------------------------------------------------------- */

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.why .section__head {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-height-compact) + 2rem);
}

.why-list {
  display: grid;
}

.why-item {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: var(--space-2);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid var(--color-border-on-brand);
}

.why-item:last-child {
  border-bottom: 1px solid var(--color-border-on-brand);
}

.why-item::before {
  content: "";
  height: 1rem;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
  margin-top: 0.4rem;
}

.why-item__body {
  display: grid;
  gap: 0.4rem;
}

.why-item h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  color: var(--color-white);
}

.why-item p {
  color: var(--color-text-on-brand-muted);
  font-size: var(--text-sm);
  max-width: 52ch;
}

.section--brand h2 {
  color: var(--color-white);
}

.why__foot {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-3);
}

.link-arrow--light {
  color: var(--color-white);
}

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

/* --------------------------------------------------------------------------
   16. Technologien
   -------------------------------------------------------------------------- */

.tech {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.tech .section__head {
  margin-bottom: 0;
}

.tech__statement {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-2);
}

.tech-groups {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.tech-group {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.tech-group__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  padding-top: 0.45rem;
}

.tech-group .chips {
  gap: 0.4rem;
}

.tech-group .chip {
  min-height: 2rem;
  padding: 0 0.7rem;
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   17. Abschluss-CTA
   -------------------------------------------------------------------------- */

.cta-final {
  position: relative;
  overflow: clip;
  background: var(--color-bg-brand);
  color: var(--color-white);
}

.cta-final .brand-shape {
  top: -12%;
  right: -2%;
  width: min(30vw, 440px);
  color: rgba(255, 255, 255, 0.05);
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.cta-final__copy {
  display: grid;
  gap: var(--space-2);
}

.cta-final h2 {
  font-size: var(--text-h1);
  color: var(--color-white);
  max-width: 18ch;
}

.cta-final p {
  font-size: var(--text-lg);
  color: var(--color-text-on-brand-muted);
  max-width: 40rem;
}

.cta-final__actions {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}

.cta-final__contact {
  display: grid;
  gap: 0.25rem;
  font-size: var(--text-sm);
  color: var(--color-text-on-brand-muted);
}

.cta-final__contact a {
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.cta-final__contact a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  --mascot-height: clamp(8.5rem, 7rem + 5vw, 13rem);
  /* Bild 225 x 344 px */
  --mascot-width: calc(var(--mascot-height) * 225 / 344);
  /* Feste Reserve fuer die Blase: 2 Zeilen, konstante Breite.
     Quote-Laenge aendert dann weder Footer- noch Seitenhoehe. */
  --bubble-width: 22rem;
  --bubble-height: calc(2 * var(--leading-normal) * var(--text-sm) + 1.1rem);
  position: relative;
  overflow: hidden;
  background: var(--color-bg-brand-deep);
  color: var(--color-text-on-brand-muted);
  font-size: var(--text-sm);
}

.site-footer > .container {
  position: relative;
}

/* Maskottchen + Sprechblase: sitzen rechts unten, Schnittkante auf der
   Unterkante der Seite. Die Blase zeigt nach rechts zum Kopf. */
.footer__mascot-wrap {
  position: absolute;
  right: var(--space-gutter);
  bottom: 0;
  width: var(--mascot-width);
  height: var(--mascot-height);
  pointer-events: none;
  user-select: none;
}

.footer__mascot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* Slot haelt Breite und Hoehe konstant. Die weisse Blase sitzt absolut
   darin (rechtsbuendig zum Alpaka) und darf den Layoutfluss nicht aendern. */
.footer__bubble-slot {
  flex: 0 0 var(--bubble-width);
  width: var(--bubble-width);
  height: var(--bubble-height);
  position: relative;
  order: 3;
  margin: 0 0 0 auto;
  pointer-events: none;
}

.footer__bubble {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  text-wrap: pretty;
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer__bubble.is-out {
  opacity: 0;
}

.footer__bubble q {
  quotes: "\201E" "\201C";
}

.footer__bubble q::before,
.footer__bubble q::after {
  color: var(--color-accent);
  font-weight: var(--weight-bold);
}

.footer__bubble q::before { content: open-quote; }
.footer__bubble q::after { content: close-quote; }

/* Zeiger nach rechts zum Alpaka-Kopf */
.footer__bubble::before,
.footer__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.footer__bubble::before {
  right: -9px;
  margin-top: -8px;
  border-width: 8px 0 8px 9px;
  border-color: transparent transparent transparent var(--color-border);
}

.footer__bubble::after {
  right: -7.5px;
  margin-top: -7px;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent var(--color-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.footer__brand {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.footer__brand img {
  width: 160px;
}

.footer__brand p {
  max-width: 30ch;
}

.footer__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__list {
  display: grid;
  gap: 0.25rem;
}

.footer__list a,
.footer__brand a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: var(--color-text-on-brand-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__list a:hover,
.footer__brand a:hover {
  color: var(--color-white);
}

.footer__address {
  font-style: normal;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-block: var(--space-3);
  /* Platz fuer das Maskottchen rechts; die Sprechblase steht direkt davor */
  padding-right: calc(var(--mascot-width) + var(--space-2));
  border-top: 1px solid var(--color-border-on-brand);
  font-size: var(--text-xs);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__legal a {
  color: var(--color-text-on-brand-muted);
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
}

.footer__legal a:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   18b. Unterseiten-Templates
   -------------------------------------------------------------------------- */

/* Seitenkopf */
.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--color-bg-tint);
  border-bottom: 1px solid var(--color-border);
}

.page-hero .brand-shape {
  top: -10%;
  right: -2%;
  width: min(22vw, 300px);
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2);
  max-width: 820px;
}

.page-hero h1 {
  font-size: var(--text-h1);
}

.page-hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.page-hero + .stats {
  border-top: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.breadcrumb a {
  color: var(--color-text-muted);
  min-height: 1.5rem;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-border-strong);
}

/* Anker-Leiste fuer lange Seiten */
.subnav {
  position: sticky;
  top: var(--header-height-compact);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}

.subnav__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.subnav__link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

/* Inhaltsblock (z. B. ein Loesungsbereich, ein Service) */
.content-blocks {
  display: grid;
  gap: 0;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height-compact) + 4rem);
}

.content-block:first-child {
  border-top: 0;
}

.content-block__head {
  display: grid;
  gap: var(--space-2);
}

.content-block h2,
.content-block h3.content-block__title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
}

.content-block__problem {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.content-block__problem strong {
  color: var(--color-primary);
}

.content-block__body {
  display: grid;
  gap: var(--space-3);
}

.content-block__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.content-block__statement {
  position: relative;
  padding-left: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  color: var(--color-primary);
  border-left: 2px solid var(--color-accent);
  max-width: 40rem;
}

.content-block__note {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

/* Einfache Textliste mit Marker */
.check-list {
  display: grid;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  height: 0.85rem;
  aspect-ratio: var(--mark-ratio);
  background: var(--color-accent);
  clip-path: var(--mark-clip);
}

/* Prosa-Abschnitte (Impressum, Datenschutz, Ueber uns) */
.prose {
  display: grid;
  gap: var(--space-2);
  max-width: var(--container-narrow);
}

.prose h2 {
  font-size: var(--text-h3);
  margin-top: var(--space-2);
}

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose a,
.field--checkbox .field__label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.prose a:hover,
.field--checkbox .field__label a:hover {
  color: var(--color-accent-hover);
}

.prose ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.25rem;
  list-style: disc;
}

/* Kompaktes CTA-Band am Seitenende */
.cta-band {
  background: var(--color-bg-brand);
  color: var(--color-white);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cta-band h2 {
  font-size: var(--text-h2);
  color: var(--color-white);
  max-width: 22ch;
}

.cta-band p {
  margin-top: 0.5rem;
  color: var(--color-text-on-brand-muted);
}

/* Team-/Partner-Platzhalter */
/* Team: Portrait-Illustrationen (3:4), Vorname, Funktion.
   Flex-Wrap statt Grid, damit eine unvollstaendige letzte Reihe mittig steht. */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: var(--space-2);
}

.person {
  flex: 0 0 auto;
  width: clamp(9.5rem, 8rem + 4vw, 12.5rem);
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.person__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-tint-strong);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.person:hover .person__photo {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-md);
}

.person__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.person__role {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* Formular */
.form {
  display: grid;
  gap: var(--space-3);
}

.form[hidden] {
  display: none;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

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

.field__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.field__optional {
  font-weight: var(--weight-regular);
  color: var(--color-text-subtle);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 0.875rem;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.field__input:hover {
  border-color: var(--color-primary);
}

.field__input:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

textarea.field__input {
  min-height: 9rem;
  padding: 0.75rem 0.875rem;
  resize: vertical;
  line-height: 1.5;
}

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e1d42' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

input[type="file"].field__input {
  padding: 0.65rem 0.875rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

input[type="file"].field__input::file-selector-button {
  font: inherit;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 0.3rem 0.7rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.field__hint {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.field__error {
  display: none;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #a3341c;
}

.field--invalid .field__input {
  border-color: #c2410c;
}

.field--invalid .field__error {
  display: block;
}

.field--checkbox {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}

.field--checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--color-primary);
}

.field--checkbox .field__label {
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.field--checkbox .field__error {
  grid-column: 1 / -1;
}

.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.form__footer-note {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.form__status {
  display: none;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.form__status.is-visible {
  display: block;
}

.form__status--error {
  border-color: #c2410c;
  color: #a3341c;
  background: #fff5f0;
}

.form__success {
  display: none;
  gap: var(--space-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.form__success.is-visible {
  display: grid;
}

.form__success h3 {
  font-size: var(--text-h3);
}

.form__success p {
  color: var(--color-text-muted);
}

/* Kontaktseite Layout */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact__aside {
  display: grid;
  gap: var(--space-3);
  position: sticky;
  top: calc(var(--header-height-compact) + 2rem);
}

.contact__statement {
  font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.contact__direct {
  display: grid;
  gap: 0.25rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.contact__direct a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

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

.contact__form {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   19. Motion (Reveal) – nur mit JS aktiv
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   19b. Motion (Seitenwechsel) – Ankommen und Verlassen
   Reine CSS-Keyframes: greifen ab dem ersten Paint (kein Aufblitzen), auch
   ohne JS. Der fixe Header bleibt bewusst unbewegt, damit der Wechsel
   zwischen Seiten wie ein Inhaltswechsel innerhalb einer App wirkt.
   -------------------------------------------------------------------------- */

/* Gesamter Inhalt blendet weich ein */
main {
  animation: page-fade var(--dur-fade) var(--ease-out) both;
}

/* Header: blendet nur beim ersten Aufruf der Site ein. Bei Wechseln innerhalb
   der Site (html.is-continued, gesetzt im <head>) bleibt er stehen. */
html:not(.is-continued) .site-header {
  animation: page-fade var(--dur-fade) var(--ease-out) both;
}

/* Seitenkopf: Elemente kommen gestaffelt von unten */
.hero__copy > *,
.page-hero__inner > * {
  animation: page-enter var(--dur-enter) var(--ease-out) both;
  animation-delay: var(--enter-delay);
}

.hero__copy > :nth-child(2),
.page-hero__inner > :nth-child(2) {
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger));
}

.hero__copy > :nth-child(3),
.page-hero__inner > :nth-child(3) {
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger) * 2);
}

.hero__copy > :nth-child(4),
.page-hero__inner > :nth-child(4) {
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger) * 3);
}

.hero__copy > :nth-child(n + 5),
.page-hero__inner > :nth-child(n + 5) {
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger) * 4);
}

/* Anker-Leiste folgt dem Seitenkopf */
.subnav {
  animation: page-fade var(--dur-fade) var(--ease-out) both;
  animation-delay: calc(var(--enter-delay) + var(--enter-stagger) * 4);
}

/* Verlassen: JS setzt .is-leaving auf <html>, navigiert nach --dur-leave */
.is-leaving main,
.is-leaving .site-footer {
  animation: page-leave var(--dur-leave) var(--ease-out) forwards;
  pointer-events: none;
}

@keyframes page-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-leave {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* --------------------------------------------------------------------------
   20. Media Queries
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-3);
  }

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

  .process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4) var(--space-3);
  }

  .process__steps::before {
    display: none;
  }

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

  .logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .why .section__head {
    position: static;
  }

  .why__foot {
    grid-column: auto;
  }
}

@media (max-width: 960px) {
  .content-block {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

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

  .contact__aside {
    position: static;
  }

  .page-hero .brand-shape {
    width: min(20vw, 160px);
  }

  :root {
    --header-height: 72px;
    --header-height-compact: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: var(--space-3) var(--space-gutter) var(--space-5);
    background: var(--color-bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--dur-fast) var(--ease-out),
      transform var(--dur-fast) var(--ease-out),
      visibility 0s linear var(--dur-fast);
  }

  .site-header.is-scrolled .nav {
    inset-block-start: var(--header-height-compact);
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--color-border);
  }

  .nav__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link {
    min-height: 56px;
    padding: 0;
    font-size: var(--text-h3);
    font-weight: var(--weight-bold);
    color: var(--color-primary);
  }

  .nav__cta {
    margin: var(--space-3) 0 0;
    width: 100%;
    min-height: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero__title {
    max-width: 16ch;
  }

  .hero__visual {
    max-width: 640px;
  }

  .hero .brand-shape {
    right: -6%;
    width: min(44vw, 320px);
    top: -4%;
  }

  .problem-list {
    gap: var(--space-3);
  }

  .problem {
    max-width: 100%;
  }

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

  .products,
  .tech {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .cta-final__inner {
    grid-template-columns: 1fr;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .section__head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero .brand-shape,
  .page-hero .brand-shape {
    display: none;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .person {
    width: calc(50% - 0.75rem);
  }

  .contact__form {
    padding: var(--space-3) var(--space-2);
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3) var(--space-2);
  }

  .stat {
    padding-left: 1rem;
  }

  .solutions-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

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

  .process-step {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-2) var(--space-2);
    padding-bottom: var(--space-3);
  }

  .process-step__marker {
    grid-row: 1 / span 2;
  }

  .process-step h3 {
    align-self: center;
  }

  .process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: 0;
    width: 1px;
    background: var(--color-border-strong);
    transform: translateX(-0.5px);
  }

  .process__aside {
    grid-template-columns: 1fr;
  }

  .case__fact {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .tech-group {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tech-group__title {
    padding-top: 0;
  }

  .why-item {
    grid-template-columns: 1.15rem minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bubble-slot {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions {
    display: grid;
  }
}

/* --------------------------------------------------------------------------
   21. Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .footer__bubble {
    transition: none;
  }

  main,
  .subnav,
  .site-header,
  .nav__link[aria-current="page"]::after,
  .hero__copy > *,
  .page-hero__inner > * {
    animation: none;
  }

  .workflow .wf-dash {
    animation: none;
  }

  .workflow .wf-pulse {
    display: none;
  }

  .js .workflow .wf-step,
  .js .workflow .wf-lines,
  .js .workflow .wf-junctions {
    opacity: 1;
    transform: none;
  }
}
