:root {
  /* Farbschema: Navy + Indigo-Highlight */
  --brand-main: #031232;
  --brand-secondary: #0f234e;
  --highlight: #1d17d3;
  --paper: #ffffff;
  --paper-light: #ffffff;
  --kicker: #f2f4f9;
  --ink: var(--brand-main);
  --ink-deep: var(--brand-secondary);
  --text: #2a2a2a;
  --ink-soft: rgba(42, 42, 42, 0.58);
  --line: rgba(3, 18, 50, 0.12);
  --sage: #dde2ee;
  --mist: #eceff7;
  --lilac: #d4c6ea;
  --gold: #e3c24a;
  --white: #fff;
  --danger: #9d2f22;
  --success: #236744;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --font-accent: var(--font-body);
  --shell: 1220px;
  --gutter: clamp(1.25rem, 4.2vw, 3rem);
  --section-space: clamp(4.75rem, 10vw, 9rem);
  --header-height: 4.35rem;
  --radius: 1.15rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.7rem;
  font-size: clamp(3rem, 5.8vw, 4.5rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.65rem);
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

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

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

.projects-section {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding-bottom: calc(var(--section-space) * 0.45);
}

.quotes-section {
  padding-top: calc(var(--section-space) * 0.2);
  padding-bottom: calc(var(--section-space) * 0.7);
}

.home-offer-section {
  padding-top: calc(var(--section-space) * 0.45);
  padding-bottom: calc(var(--section-space) * 0.2);
}

.home-offer-section h2 {
  margin-bottom: clamp(1.4rem, 2.6vw, 2.1rem);
}

.home-offer-index {
  display: inline-block;
  padding-right: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.78em;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

.home-offer-section h3 {
  margin: 0 0 1.1rem;
}

.home-offer-section article p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2.4rem;
}

/* „Unser Angebot" (DE): Titel links, Angebote untereinander rechts.
   Mit JS + genug Platz wird die Sektion angepinnt und die Angebote erscheinen
   beim Scrollen nacheinander (siehe initOfferScroll in site.js). */
.offer-scroll-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.offer-scroll h2 {
  margin: 0 0 clamp(1.4rem, 3vw, 2.4rem);
}

.offer-steps {
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 2.8rem);
}

.offer-steps article {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Beim Scrollen bleiben alle sichtbaren Blöcke voll weiß.
   Erst nach einem Klick wird der gewählte hervorgehoben, die anderen gedämpft. */
.offer-scroll.has-selection .offer-steps article:not(.is-current):not(:hover) {
  opacity: 0.5;
}

.offer-steps article:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.offer-steps h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.offer-steps article p {
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Isometrisches Schema aus /docs/angebot-3d (weiße Bühne, Capstar-Blau) */
.offer-stage {
  --o-blue: #1d17d3;
  --o-b07: #efeffc;
  --o-b16: #dbdaf8;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.offer-stage svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.offer-stage svg * { vector-effect: non-scaling-stroke; }
.offer-stage .f { stroke: var(--o-blue); stroke-width: 1; stroke-linejoin: miter; }
.offer-stage .ft { fill: #fff; }
.offer-stage .fl { fill: var(--o-b07); }
.offer-stage .fr { fill: var(--o-b16); }
.offer-stage .fb { fill: var(--o-blue); }
.offer-stage .ln { stroke: var(--o-blue); stroke-width: 1; fill: none; }
.offer-stage .ln.soft { stroke-opacity: 0.35; }
.offer-stage .ln.faint { stroke-opacity: 0.16; }
.offer-stage .ln.dash { stroke-dasharray: 2 4; }
.offer-stage .ln.bold { stroke-width: 1.6; }
.offer-stage .ln.flow { stroke-dasharray: 3 7; animation: offer-flow 1.1s linear infinite; }
@keyframes offer-flow { to { stroke-dashoffset: -10; } }
.offer-stage .tag { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; fill: #c9c7ff; }
.offer-stage .pulse { fill: var(--o-blue); }
.offer-stage .engrave { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--o-blue); }
.offer-stage .cell { fill: var(--o-blue); fill-opacity: 0; transition: fill-opacity 0.6s; }
.offer-stage .cell.on { fill-opacity: 0.9; }
.offer-stage .cell.half { fill-opacity: 0.3; }
.offer-stage .layer { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.offer-stage .layer.off { opacity: 0; pointer-events: none; }
.offer-stage #L2.off { transform: translateY(-70px); }
.offer-stage .fr-fill { fill: var(--o-b16); stroke: none; }
.offer-stage .ln.heavy { stroke-width: 2.2; }
.offer-stage .solid { opacity: 0; transition: opacity 0.5s; }
.offer-stage .lvl2 .solid { opacity: 1; }
.offer-stage .l1-only { transition: opacity 0.5s; }
.offer-stage .lvl2 .l1-only { opacity: 0; }
.offer-stage .reinf { opacity: 0; transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.offer-stage .lvl3 .reinf { opacity: 1; }
.offer-stage .led { animation: offer-led 2.7s steps(1) infinite; }
@keyframes offer-led { 0% { fill-opacity: 1; } 70% { fill-opacity: 0.2; } }

@media (prefers-reduced-motion: reduce) {
  .offer-stage .layer,
  .offer-stage .ln.flow {
    transition: none;
    animation: none;
  }
}

.page-home .offer-scroll.is-pinned {
  height: 280vh;
  padding-block: 0;
}

.offer-scroll.is-pinned .offer-scroll-pin {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--header-height);
}

.offer-scroll.is-pinned .offer-scroll-pin > .shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
}

.offer-scroll.is-pinned [data-offer-step] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-scroll.is-pinned [data-offer-step]:not(.is-shown) {
  pointer-events: none;
}

.offer-scroll.is-pinned [data-offer-step].is-shown {
  opacity: 1;
  transform: none;
}

.offer-scroll.is-pinned.has-selection [data-offer-step].is-shown:not(.is-current):not(:hover) {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .offer-scroll-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.audience-section {
  padding-top: calc(var(--section-space) * 0.7);
  padding-bottom: calc(var(--section-space) * 0.65);
}

.method-section {
  padding-top: calc(var(--section-space) * 0.65);
  padding-bottom: calc(var(--section-space) * 0.6);
}

.faq-section {
  padding-top: calc(var(--section-space) * 0.6);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Gescrollt: Leiste passt sich dem Abschnitt darunter an (site.js setzt data-tone):
   heller Abschnitt → weiß, dunkler Abschnitt → Markenfarbe */
.site-header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
}

.site-header.is-scrolled[data-tone="dark"]:not(.nav-open) {
  background: var(--brand-main);
  border-bottom-color: rgba(242, 245, 244, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.header-inner {
  position: relative;
  width: min(100% - (2 * var(--gutter)), var(--shell));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark,
.footer-wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.728rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.wordmark {
  display: inline-flex;
  align-items: center;
}

.brand-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wordmark-mark {
  display: block;
  flex: none;
  height: 0.8em;
  width: auto;
  max-width: 11.25rem;
  fill: currentColor;
}

.footer-wordmark .wordmark-mark {
  height: 0.62em;
  max-width: min(22rem, 86vw);
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 3.456rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 761px) {
  .wordmark {
    position: relative;
    z-index: 2;
  }

  .primary-nav {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    pointer-events: none;
  }

  .nav-links,
  .nav-actions {
    pointer-events: auto;
  }

  .nav-links {
    grid-column: 2;
  }

  .nav-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.15rem;
  }
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.primary-nav a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* Branchen-Dropdown: öffnet bei Hover oder Tastaturfokus */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 761px) {
  .nav-item-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 0.32rem;
    height: 0.32rem;
    margin-left: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-0.2rem) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .nav-item-dropdown:hover > a::after,
  .nav-item-dropdown:focus-within > a::after {
    transform: translateY(-0.05rem) rotate(-135deg);
  }

  /* padding-top überbrückt den Abstand, damit der Hover beim Hinüberfahren nicht abreißt */
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 13rem;
    padding-top: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0.35rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav-dropdown::before {
    content: "";
    position: absolute;
    inset: 0.85rem 0 0;
    z-index: -1;
    border: 1px solid rgba(3, 18, 50, 0.08);
    border-radius: 0.75rem;
    background: var(--paper);
    box-shadow: 0 18px 40px rgba(3, 18, 50, 0.16);
  }

  .nav-dropdown li:first-child {
    padding-top: 0.4rem;
  }

  .nav-dropdown li:last-child {
    padding-bottom: 0.4rem;
  }

  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }

  .primary-nav .nav-dropdown a {
    display: block;
    margin: 0 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--brand-main);
    white-space: nowrap;
  }

  .primary-nav .nav-dropdown a:hover,
  .primary-nav .nav-dropdown a:focus-visible {
    background: var(--kicker);
    color: var(--highlight);
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown,
  .nav-item-dropdown > a::after {
    transition: none !important;
  }
}

.nav-contact {
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.4rem 0.8rem;
  border: 0;
  color: rgba(42, 42, 42, 0.75);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.language-switch a {
  font-size: inherit;
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.45rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--highlight);
}

.button-ghost {
  gap: 0.4rem;
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--kicker);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.7rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin-block: 0.3rem;
  background: currentColor;
  transition: transform 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 8.26rem);
  padding-bottom: 0;
}

.hero-wavegrid {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -7rem;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + 7rem);
  pointer-events: none;
  mask-image: radial-gradient(ellipse 78% 92% at 50% 16%, #000 0%, #000 50%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 16%,
    #000 0%,
    #000 50%,
    rgba(0, 0, 0, 0.72) 68%,
    transparent 100%
  );
}

/* Startseite: dunkler Hero */
.page-home {
  --hero-bg: var(--brand-main);
  --hero-text: #f2f5f4;
  --hero-text-soft: rgba(242, 245, 244, 0.72);
}

.page-home .hero {
  overflow: hidden;
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background: var(--hero-bg);
  color: var(--hero-text);
}

.page-home .hero h1 {
  color: var(--hero-text);
}

.page-home .hero-kicker {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hero-text-soft);
}

.page-home .hero .button-primary {
  background: var(--highlight);
  color: #fff;
}

.page-home .hero .button-primary:hover {
  background: color-mix(in srgb, var(--highlight) 85%, #fff);
}

.page-home .hero .button-ghost {
  color: var(--hero-text);
  box-shadow: inset 0 0 0 1px rgba(242, 245, 244, 0.35);
}

.page-home .hero .button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.page-home .hero :focus-visible {
  outline-color: var(--hero-text);
}

/* Titel-Spalte so breit wie die längste Titelzeile (feste Umbrüche im Markup),
   Text + Buttons exakt 100px rechts davon */
.page-home .hero-copy {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: end;
  column-gap: 100px;
  text-align: left;
}

.page-home .hero-copy h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.64vw, 3.6rem);
  text-align: left;
}

.page-home .hero-side {
  padding-bottom: 0.6rem;
}

@media (max-width: 900px) {
  .page-home .hero-copy {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
  }

  /* Mobil: Titel größer, skaliert mit der Bildschirmbreite */
  .page-home .hero-copy h1 {
    font-size: clamp(2.5rem, 11.6vw, 4.2rem);
    line-height: 1.02;
  }

  .page-home .hero-side {
    padding-bottom: 0;
  }
}

/* Titel + Untertitel spannen gemeinsam die volle Inhaltsbreite (Untertitel bis zur rechten Kante) */
.page-home .hero-lead {
  max-width: none;
  margin: 0 0 2rem;
  color: var(--hero-text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.page-home .hero-actions {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
}

/* Startseite: Punktwolke im Hero („verstreute Datenpunkte“), siehe /hero-dots.js */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

/* Drei Boxen im Hero: dunkle Karten mit Illustration links (Stil dreamgroup.com) */
.page-home .hero {
  /* --hero-extra: zusätzliche Höhe oben und unten (Hero +25 %) */
  padding-top: calc(var(--header-height) + 8.26rem + var(--hero-extra));
  padding-bottom: calc(clamp(5rem, 10vw, 8rem) + var(--hero-extra));
}

/* EN-Startseite: halber Abstand unter den drei Hero-Boxen */
.page-variant-b .hero {
  padding-bottom: calc((clamp(5rem, 10vw, 8rem) + var(--hero-extra)) / 2);
}

.page-home {
  --hero-extra: calc(3.75rem + 1.47vw);
  --hero-card-height: 9.6rem;
  --hero-card-pad: clamp(1.25rem, 2.4vw, 2.2rem);
  --hero-card-icon: clamp(3.6rem, 5.4vw, 5.2rem);
  --hero-card-gap: clamp(1rem, 2vw, 1.8rem);
}

.hero-offer {
  position: relative;
  z-index: 1;
  margin-top: clamp(9rem, 17vw, 16rem);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
}

.hero-card {
  display: grid;
  grid-template-columns: var(--hero-card-icon) 1fr;
  align-items: center;
  column-gap: var(--hero-card-gap);
  min-height: var(--hero-card-height);
  padding: 1.6rem var(--hero-card-pad);
  border: 1px solid rgba(242, 245, 244, 0.1);
  border-radius: 0.75rem;
  background: linear-gradient(160deg, rgba(242, 245, 244, 0.04), rgba(242, 245, 244, 0.015)) var(--brand-main);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Boxen sind Links zu „Unser Angebot“: Rahmen wird beim Hover weiß */
a.hero-card {
  text-decoration: none;
}

.hero-card:hover,
.hero-card:focus-visible {
  border-color: #fff;
}

/* Aktive Karte: etwas heller, wie „Atlas" bei dreamgroup.com */
.hero-card[aria-selected="true"] {
  border-color: rgba(242, 245, 244, 0.22);
  background: linear-gradient(160deg, rgba(242, 245, 244, 0.12), rgba(242, 245, 244, 0.04)) var(--brand-secondary);
}

/* EN (Variante B): Boxen ohne Hintergrund und ohne Hover-/Auswahlfarbe */
.page-variant-b .hero-card,
.page-variant-b .hero-card[aria-selected="true"] {
  border-color: rgba(242, 245, 244, 0.1);
  background: none;
}

.page-variant-b .hero-card:hover,
.page-variant-b .hero-card:focus-visible {
  border-color: #fff;
}

.hero-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-card-icon {
  width: 100%;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.hero-card[aria-selected="true"] .hero-card-icon {
  opacity: 1;
}

.hero-card-text {
  display: grid;
  gap: 0.6rem;
}

.hero-card-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.08;
}

.hero-card-desc {
  color: var(--hero-text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Detailbeschreibung unter den Boxen */
.hero-offer-panel {
  padding-top: 2rem;
}

.hero-offer-panel > p {
  max-width: 48rem;
  margin: 0;
  /* Text bündig mit den Box-Titeln (Box-Padding + Rahmen) */
  padding-left: calc(var(--hero-card-pad) + 1px);
  color: var(--hero-text-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

/* AI-Readiness-Animation, siehe /offer-readiness.js (Quelle: /docs/ai-readiness/) */
.rd-stage {
  --rd-ink: #eef0fa;
  --rd-ink-faint: rgba(226, 230, 248, 0.38);
  --rd-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  position: relative;
  width: 75%;
  aspect-ratio: 1200 / 720;
  margin: 0 auto;
}

.rd-stage svg,
.rd-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rd-stage canvas { pointer-events: none; }
.rd-stage .ground line { stroke: rgba(143, 139, 255, 0.075); stroke-width: 1; }
.rd-stage .ground .cross { stroke: rgba(176, 172, 255, 0.35); stroke-width: 1; fill: none; }
.rd-stage .slab-top { fill: url(#rdTop); stroke: rgba(180, 184, 255, 0.5); stroke-width: 1; stroke-linejoin: round; }
.rd-stage .slab-side { fill: url(#rdSide); stroke: rgba(180, 184, 255, 0.22); stroke-width: 0.8; stroke-linejoin: round; }
.rd-stage .slab-edge { fill: none; stroke: url(#rdEdge); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rd-stage .slab-inset { fill: none; stroke: rgba(180, 184, 255, 0.16); stroke-width: 0.8; }
.rd-stage .slab-top.warm { stroke: rgba(232, 169, 135, 0.6); }
.rd-stage .slab-edge.warm { stroke: url(#rdEdgeWarm); }
.rd-stage .motif { fill: none; stroke: rgba(190, 194, 255, 0.3); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.rd-stage .motif.warm { stroke: rgba(232, 169, 135, 0.55); }
.rd-stage .glyph { fill: rgba(143, 139, 255, 0.05); stroke: rgba(196, 200, 255, 0.42); stroke-width: 1; stroke-linejoin: round; }
.rd-stage .engrave { font-family: var(--rd-mono); font-size: 9px; letter-spacing: 0.12em; fill: rgba(200, 204, 255, 0.45); }
.rd-stage .pill { fill: rgba(29, 23, 211, 0.28); stroke: rgba(143, 139, 255, 0.75); stroke-width: 1; }
.rd-stage .pill-num { font-family: var(--rd-mono); font-size: 10.5px; font-weight: 600; fill: #d4d2ff; }
.rd-stage .lbl { cursor: default; }
.rd-stage .lbl-title { fill: var(--rd-ink); font-size: 16.5px; font-weight: 500; letter-spacing: -0.005em; }
.rd-stage .lbl-sub { fill: var(--rd-ink-faint); font-size: 12.5px; }
.rd-stage .lead-line { stroke: rgba(160, 172, 230, 0.28); stroke-width: 1; stroke-dasharray: 1 4; stroke-linecap: round; }
.rd-stage .lead-line.warm { stroke: rgba(232, 169, 135, 0.55); }
.rd-stage .lead-ring { fill: none; stroke: rgba(176, 172, 255, 0.55); stroke-width: 1; }
.rd-stage .lead-dot { fill: #d4d2ff; }
.rd-stage .tag { font-family: var(--rd-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; fill: rgba(196, 200, 255, 0.7); }
.rd-stage .note { font-family: var(--rd-mono); fill: var(--rd-ink-faint); font-size: 11px; letter-spacing: 0.04em; }
.rd-stage .hover-group { transition: opacity 0.25s; }
.rd-stage.focus .hover-group { opacity: 0.28; }
.rd-stage.focus .hover-group.is-active { opacity: 1; }
.rd-stage.focus .hover-group.is-active .slab-top { stroke: #d4d2ff; }

/* Mobil: Legende statt Beschriftung im Diagramm */
.rd-legend {
  display: none;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rd;
}

.rd-legend li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(242, 245, 244, 0.14);
}

.rd-legend li::before {
  counter-increment: rd;
  content: "0" counter(rd);
  margin-right: 0.6rem;
  color: #8f8bff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rd-legend b {
  display: block;
  font-weight: 500;
}

.rd-legend span {
  color: var(--hero-text-soft);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .hero-offer-panel > p {
    padding-left: 0;
  }

  .rd-stage {
    width: 100%;
    aspect-ratio: 1030 / 720;
  }

  .rd-legend {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    transition: none;
  }
}

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

  .page-home {
    --hero-card-height: 6.4rem;
  }
}

/* Variante B (/en/): Angebots-Karten als eigene Sektion, Langtext darunter */
.offer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

/* Subgrid: alle Karten gleich hoch, Langtexte beginnen auf einer Linie */
.offer-col {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
}

.offer-col > p {
  margin: 1.4rem 0 0;
  padding-inline: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-card-static {
  cursor: default;
}

.hero-card-static:hover {
  border-color: rgba(242, 245, 244, 0.1);
}

.hero-card-static .hero-card-icon {
  opacity: 1;
}

@media (max-width: 760px) {
  .offer-columns {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .offer-col {
    display: block;
    grid-row: auto;
  }
}

/* Hintergrund-Bänder (Reihenfolge wie dreamgroup.com):
   Hero dunkel → Referenzen Tönung → Angebot dunkel → Stimmen Tönung → Methode weiß → Kontakt Tönung → Footer dunkel */
.page-home {
  --band-dark: var(--brand-main);
  --band-tint: #eef1f8;
}

.page-home .band-dark,
.page-home .band-tint,
.page-home .band-white {
  padding-block: var(--section-space);
}

.page-home .band-tint {
  background: var(--band-tint);
}

.page-home .band-white {
  background: var(--paper);
}

/* Dunkle Bänder: Farb-Tokens lokal auf hell umstellen */
.page-home .band-dark,
.page-home .site-footer {
  --ink: #f2f5f4;
  --text: #f2f5f4;
  --ink-soft: rgba(242, 245, 244, 0.68);
  --line: rgba(242, 245, 244, 0.18);
  background: var(--band-dark);
  color: var(--text);
}

.page-home .site-footer {
  border-top: 0;
}

.page-home .site-footer a {
  color: inherit;
}

.statement-text {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
}

/* Header über dunklem Hintergrund (Hero, dunkle Bänder, Footer; Menü zu) */
.site-header[data-tone="dark"]:not(.nav-open) {
  color: var(--hero-text, #f2f5f4);
}

.site-header[data-tone="dark"]:not(.nav-open) .wordmark,
.site-header[data-tone="dark"]:not(.nav-open) .language-switch,
.site-header[data-tone="dark"]:not(.nav-open) .language-switch a[aria-current="page"] {
  color: var(--hero-text, #f2f5f4);
}

.site-header[data-tone="dark"]:not(.nav-open) .language-switch {
  opacity: 0.8;
}

.site-header[data-tone="dark"]:not(.nav-open) .nav-cta {
  background: var(--hero-text, #f2f5f4);
  color: var(--hero-bg, var(--brand-main));
}

.site-header[data-tone="dark"]:not(.nav-open) .nav-cta:hover {
  background: #ffffff;
}

.hero-copy,
.hero-still,
.hero-inbox,
.hero-visual,
.hv-hero-image,
.about-intro,
.stats {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 2rem;
  min-height: 2.2rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: var(--kicker);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  overflow: visible;
}

.hero-kicker:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.hero-kicker-desktop {
  display: inline;
}

.hero-kicker-mobile {
  display: none;
}

.hero-copy h1 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  text-align: center;
  text-wrap: wrap;
}

.hero-title-line {
  display: block;
  text-align: center;
}

.hero-rotate {
  display: inline;
  vertical-align: baseline;
}

.hero-rotate-word {
  white-space: nowrap;
}

.hero-rotate.is-typing .hero-rotate-word::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.12em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: hero-caret 0.9s steps(1, end) infinite;
}

@keyframes hero-caret {
  50% {
    opacity: 0;
  }
}

.hero-term {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-still {
  --still-gap: 5.75%;
  --still-stair: 26%;
  --still-facade: 37%;
  --still-portrait: 25.5%;
  position: relative;
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  aspect-ratio: 58 / 30;
  margin: 5.75rem auto 0;
}

.hero-still-item {
  position: absolute;
  margin: 0;
}

.hero-still-stairwell {
  left: 0;
  top: 16%;
  z-index: 2;
  width: var(--still-stair);
  height: 72%;
  border-radius: 0.5rem;
}

.hero-still-stairwell img {
  object-position: 50% 42%;
}

.hero-still-facade {
  left: calc(var(--still-stair) + var(--still-gap));
  top: 0;
  z-index: 1;
  width: var(--still-facade);
  height: 92%;
  border-radius: 1.15rem;
}

.hero-still-facade img {
  object-position: 78% 50%;
}

.hero-still-portrait {
  left: calc(var(--still-stair) + var(--still-facade) + 2 * var(--still-gap));
  right: auto;
  top: 9%;
  z-index: 2;
  width: var(--still-portrait);
  height: 56%;
  border-radius: 0;
  clip-path: polygon(
    1.15rem 0,
    calc(100% - 1.15rem) 0,
    100% 1.15rem,
    100% calc(100% - 1.15rem),
    calc(100% - 1.15rem) 100%,
    1.15rem 100%,
    0 calc(100% - 1.15rem),
    0 1.15rem
  );
}

.hero-still-portrait img {
  object-position: 50% 18%;
}

.hero-collage {
  width: 100%;
  overflow: hidden;
  margin-top: 6.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.hero-collage[hidden] {
  display: none;
}

.hero-collage[hidden] .hero-collage-track {
  animation: none;
}

.hero-collage-track {
  display: flex;
  width: max-content;
  animation: hero-collage-marquee 52s linear infinite;
}

.hero-collage-set {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  padding-right: 1.7rem;
}

.collage-item {
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background: var(--kicker);
}

.collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.collage-tall {
  width: 15rem;
  height: 20rem;
  border-radius: 0.5rem;
}

.collage-wide {
  width: 17.5rem;
  height: 13.25rem;
  border-radius: 0.75rem;
}

.collage-doodle {
  display: grid;
  place-items: center;
  width: 13.6rem;
  height: 13.6rem;
  padding: 1.05rem;
  border-radius: 0;
  background: #fff;
}

.collage-doodle img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.hero-still .hero-still-portrait {
  width: var(--still-portrait);
  height: 56%;
}

.hero-target {
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  height: clamp(19rem, 31vw, 24rem);
  margin: 5.75rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1.42fr 0.94fr;
  align-items: center;
  gap: clamp(0.9rem, 2.3vw, 1.75rem);
}

.hero-target-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-target-panel img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-target-automation {
  align-self: end;
  height: 76%;
  margin-bottom: 3%;
  background: var(--kicker);
}

.hero-target-door {
  height: 100%;
}

.hero-target-door img {
  object-position: 58% 52%;
}

.hero-target-portrait {
  align-self: start;
  height: 62%;
  margin-top: 11%;
}

.hero-target-portrait img {
  object-position: 50% 42%;
}

.hero-inbox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-inbox-bg {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  filter: blur(18px) saturate(0.88) brightness(1.05);
}

.hero-inbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(3, 18, 50, 0.1));
  pointer-events: none;
}

.hero-inbox-track {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.42rem;
  width: 100%;
  height: 100%;
  padding: 0.7rem 0.35rem;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-inbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: min(88%, 13.25rem);
  margin: 0;
  padding: 0.5rem 0.52rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(3, 18, 50, 0.16);
  backdrop-filter: blur(8px);
}

.hero-inbox-item strong,
.hero-inbox-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-inbox-item > div {
  min-width: 0;
}

.hero-inbox-item strong {
  color: var(--ink-deep);
  font-size: clamp(0.56rem, 0.78vw, 0.66rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-inbox-item small {
  margin-top: 0.1rem;
  color: var(--ink-soft);
  font-size: clamp(0.48rem, 0.68vw, 0.58rem);
}

.hero-inbox-status {
  position: relative;
  flex-shrink: 0;
  width: 5.1rem;
  height: 1.2rem;
}

.hero-inbox-pill {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) scale(0.86);
}

.hero-inbox-pill.is-assigned {
  background: var(--gold);
  color: var(--ink-deep);
}

.hero-inbox-pill.is-new {
  background: var(--lilac);
  color: var(--ink-deep);
}

.hero-inbox-pill.is-done {
  background: var(--success);
  color: var(--white);
}

.hero-inbox-item:nth-child(odd) .hero-inbox-pill.is-done,
.hero-inbox-item:nth-child(even) .hero-inbox-pill.is-assigned {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inbox-item {
    --lane: 50%;
    --x-from: -0.45rem;
    --x-mid: 0.35rem;
    --x-to: -0.15rem;
    position: absolute;
    left: var(--lane);
    top: 0;
    width: min(88%, 13.25rem);
    translate: calc(-50% + var(--x-from)) 0;
    animation: hero-inbox-fall 13.2s linear infinite;
  }

  .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.3rem;
    --x-mid: 0.45rem;
    --x-to: -0.1rem;
    animation-delay: 0s;
  }

  .hero-inbox-item:nth-child(2) {
    --lane: 55%;
    --x-from: 0.15rem;
    --x-mid: -0.5rem;
    --x-to: 0.2rem;
    animation-delay: -3.3s;
  }

  .hero-inbox-item:nth-child(3) {
    --lane: 43%;
    --x-from: 0.35rem;
    --x-mid: -0.2rem;
    --x-to: 0.55rem;
    animation-delay: -6.6s;
  }

  .hero-inbox-item:nth-child(4) {
    --lane: 57%;
    --x-from: -0.45rem;
    --x-mid: 0.2rem;
    --x-to: -0.35rem;
    animation-delay: -9.9s;
  }

  .hero-inbox-pill {
    animation-duration: 13.2s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
  }

  .hero-inbox-item:nth-child(1) .hero-inbox-pill {
    animation-delay: 0s;
  }

  .hero-inbox-item:nth-child(2) .hero-inbox-pill {
    animation-delay: -3.3s;
  }

  .hero-inbox-item:nth-child(3) .hero-inbox-pill {
    animation-delay: -6.6s;
  }

  .hero-inbox-item:nth-child(4) .hero-inbox-pill {
    animation-delay: -9.9s;
  }

  .hero-inbox-item .hero-inbox-pill.is-new {
    animation-name: hero-inbox-pill-new;
  }

  .hero-inbox-item[data-resolve="done"] .hero-inbox-pill.is-assigned {
    animation-name: hero-inbox-pill-assigned;
  }

  .hero-inbox-item[data-resolve="done"] .hero-inbox-pill.is-done {
    animation-name: hero-inbox-pill-done;
  }

  .hero-inbox-item[data-resolve="assigned"] .hero-inbox-pill.is-assigned {
    animation-name: hero-inbox-pill-assigned-only;
  }

  .hero-inbox-item[data-resolve="assigned"] .hero-inbox-pill.is-done {
    animation-name: none;
    opacity: 0;
  }
}

@keyframes hero-inbox-fall {
  0% {
    top: -22%;
    opacity: 0;
    translate: calc(-50% + var(--x-from)) 0;
  }
  8% {
    opacity: 1;
  }
  50% {
    translate: calc(-50% + var(--x-mid)) 0;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: 108%;
    opacity: 0;
    translate: calc(-50% + var(--x-to)) 0;
  }
}

@keyframes hero-inbox-pill-new {
  0%,
  10% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  16%,
  42% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  48%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

@keyframes hero-inbox-pill-assigned {
  0%,
  46% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  52%,
  63% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  66%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

@keyframes hero-inbox-pill-done {
  0%,
  69% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  75%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes hero-inbox-pill-assigned-only {
  0%,
  44% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
  52%,
  88% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
  }
}

.hero-visual[hidden] {
  display: none;
}

.hero-tiles {
  --hero-blue: #8aaec0;
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  height: clamp(18.5rem, 33vw, 26rem);
  margin: 5.75rem auto 0;
  display: grid;
  grid-template-columns: 0.92fr 2.15fr 0.62fr 0.98fr;
  gap: 0.65rem;
}

.hero-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: 100%;
  border-radius: 0;
}

.hero-tile-tech {
  display: flex;
  min-width: 0;
  background: var(--kicker);
}

.hero-board {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(3, 18, 50, 0.1));
  pointer-events: none;
}

.hero-board-card {
  position: absolute;
  left: 20%;
  top: 40%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(3, 18, 50, 0.16);
}

.hero-board-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.6rem 0.42rem;
  border-bottom: 1px solid var(--line);
}

.hero-board-title {
  color: var(--ink-deep);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-board-meta {
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.hero-board-meta b {
  color: var(--ink-deep);
  font-weight: 650;
}

.hero-board-live {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--success);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-board-live i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
}

.hero-board-cols,
.hero-board-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 4.75rem 3.35rem minmax(0, 1.35fr) 2.55rem;
  gap: 0.32rem;
  align-items: center;
  padding: 0 0.55rem;
}

.hero-board-cols {
  flex-shrink: 0;
  padding-top: 0.32rem;
  padding-bottom: 0.28rem;
  color: var(--ink-soft);
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-board-rows {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.hero-board-row {
  flex-shrink: 0;
  min-height: 1.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-deep);
  font-size: 0.6rem;
  line-height: 1.2;
}

.hero-board-row strong {
  overflow: hidden;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-board-row span,
.hero-board-row time {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-board-status {
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  color: var(--ink-deep);
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  background: var(--kicker);
}

.hero-board-status[data-status="neu"] {
  background: color-mix(in srgb, var(--ink) 12%, white);
}

.hero-board-status[data-status="zugeordnet"] {
  background: var(--gold);
}

.hero-board-status[data-status="arbeit"] {
  color: var(--white);
  background: var(--ink);
}

.hero-board-status[data-status="erledigt"] {
  color: var(--white);
  background: var(--success);
}

.hero-board-type {
  color: var(--ink-deep) !important;
  font-weight: 550;
}

.hero-board-row.is-enter {
  animation: hero-board-in 0.48s ease;
}

.hero-board-row.is-flash .hero-board-status {
  animation: hero-board-pop 0.45s ease;
}

.hero-board-status[data-status="arbeit"]::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: hero-board-scan 1.5s linear infinite;
}

@keyframes hero-board-in {
  from {
    opacity: 0;
    transform: translateY(-0.55rem);
    background: color-mix(in srgb, var(--gold) 28%, white);
  }
}

@keyframes hero-board-pop {
  50% {
    transform: scale(1.06);
  }
}

@keyframes hero-board-scan {
  to {
    transform: translateX(280%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-board-live i {
    animation: hero-board-live 1.6s ease-in-out infinite;
  }
}

@keyframes hero-board-live {
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 8%, transparent);
  }
}

.hero-tile-blue {
  background: var(--hero-blue);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile-photo:first-child img {
  object-position: 50% 40%;
}

.hero-tile-photo:last-child img {
  object-position: 50% 30%;
}

.hero-tile .hero-inbox-bg {
  width: 136%;
  height: 136%;
}

.hero-flow {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0.85rem 0.8rem;
  overflow: hidden;
}

.hero-flow-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-flow-list {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
}

.hero-flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0.55rem;
  row-gap: 0.12rem;
  min-height: 0;
  padding: 0.55rem 0.6rem;
  background: var(--paper);
  animation: hero-flow-in 0.7s ease both;
}

.hero-flow-task {
  animation-delay: 0.18s;
}

.hero-flow-alert {
  animation-delay: 0.36s;
}

.hero-flow-kind {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-flow-item strong {
  grid-column: 2;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-flow-status {
  grid-column: 2;
  position: relative;
  min-height: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.hero-flow-status[data-flow-status] span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: hero-flow-status 7.5s ease-in-out infinite;
}

.hero-flow-status[data-flow-status] span:nth-child(2) {
  animation-delay: 2.5s;
}

.hero-flow-status[data-flow-status] span:nth-child(3) {
  animation-delay: 5s;
}

.hero-flow-task .hero-flow-status {
  color: var(--ink);
}

@keyframes hero-flow-in {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }
}

@keyframes hero-flow-status {
  0%,
  28%,
  100% {
    opacity: 0;
  }
  8%,
  22% {
    opacity: 1;
  }
}

.collage-scallop {
  width: 13.25rem;
  height: 16.75rem;
  border-radius: 0;
  clip-path: polygon(1.35rem 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 0 100%, 0 1.35rem);
}

.collage-square {
  width: 16rem;
  height: 16rem;
  border-radius: 0.5rem;
}

.collage-grand {
  width: 16.5rem;
  height: 24rem;
  border-radius: 0.5rem;
}

.collage-short {
  width: 14.5rem;
  height: 11.5rem;
  border-radius: 0.35rem;
}

.collage-soft {
  width: 12.75rem;
  height: 17rem;
  border-radius: 1.15rem;
}

@keyframes hero-collage-marquee {
  to {
    transform: translateX(-50%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(6rem, 12vw, 9rem);
  padding-block: 1.85rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stats p {
  margin: 0;
}

.stats p + p {
  border-left: 1px solid var(--line);
}

.stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* Headings */
.section-heading {
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.split-heading p {
  margin: 0 0 0.45rem;
  max-width: 20rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.45;
}

.projects-heading p {
  margin: 0.85rem 0 0;
  max-width: 45rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Branchen-Browser „Was wir tun": Menü links, Bild + Text rechts */
.sector-browser {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.sector-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.sector-indicator {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 0;
  background: var(--highlight);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-tab {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.95rem 0 0.95rem 1.25rem;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.sector-tab:hover {
  color: var(--brand-main);
}

.sector-tab[aria-selected="true"] {
  color: var(--brand-main);
}

.sector-tab:focus-visible {
  outline: 2px solid var(--brand-main);
  outline-offset: 2px;
}

.sector-tab-index {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* „Andere Branchen": drei kompakte Beispiele nebeneinander, alle auf einen Blick */
.sector-panel.sector-panel-list {
  grid-template-columns: 1fr;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.sector-minis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-mini {
  display: flex;
  flex-direction: column;
}

.sector-mini-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.6);
}

.sector-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sector-mini .sector-kicker {
  margin-bottom: 0.5rem;
}

.sector-mini h4 {
  margin: 0 0 0.6rem;
  color: var(--brand-main);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.sector-mini .sector-desc {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.sector-mini .sector-facts div {
  grid-template-columns: 4.5rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

.sector-mini /* nur Trennlinien zwischen den Facts, keine oben/unten */
.sector-facts div:last-child {
  border-bottom: 0;
}

.sector-facts dt {
  font-size: 0.75rem;
}

.sector-mini .sector-facts dd {
  font-size: 0.82rem;
}

.sector-media-placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #e4e8f1 0 12px, #eef1f7 12px 24px);
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* Alle Panels liegen übereinander: gleiche Höhe, kein Springen beim Wechsel */
.sector-stage {
  display: grid;
}

.sector-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}

.sector-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.sector-media {
  position: relative;
  min-height: 26rem;
}

.sector-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-panel.is-active .sector-media img {
  transform: none;
}

.sector-body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.sector-kicker {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sector-body h3 {
  margin: 0 0 1rem;
  color: var(--brand-main);
  font-size: clamp(1.3rem, 1.95vw, 1.7rem);
}

.sector-desc {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.sector-facts {
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.sector-facts div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.sector-facts dt {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.sector-facts dd {
  margin: 0;
  color: var(--brand-main);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .sector-indicator,
  .sector-panel,
  .sector-panel.is-active,
  .sector-media img {
    transition: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .sector-browser {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Mobil: Menü als waagrechte, scrollbare Leiste */
  .sector-menu {
    flex-direction: row;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .sector-menu::-webkit-scrollbar {
    display: none;
  }

  .sector-indicator {
    top: auto;
    bottom: -1px;
    left: 0;
    height: 2px;
  }

  .sector-tab {
    flex: 0 0 auto;
    padding: 0.75rem 1.1rem 0.85rem 0;
    font-size: 0.98rem;
  }

  .sector-panel,
  .sector-minis {
    grid-template-columns: 1fr;
  }

  /* Mobil: nur aktives Panel im Fluss, sonst übernimmt jedes Panel die Höhe des längsten */
  .sector-panel:not(.is-active) {
    display: none;
  }

  .sector-panel.is-active {
    animation: sector-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Mobil: Beispiele kompakt mit kleinem Bild links */
  .sector-mini {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    column-gap: 1rem;
    align-items: start;
  }

  .sector-mini-media {
    grid-row: span 3;
    aspect-ratio: 1;
    margin-bottom: 0;
  }

  .sector-mini .sector-facts {
    grid-column: 1 / -1;
    margin-top: 0.4rem;
  }

  .sector-minis {
    gap: 1.75rem;
  }

  .sector-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@keyframes sector-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
}

/* Projects */
.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin-bottom: 1.75rem;
}

.project-tabs button {
  position: relative;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-tabs button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.project-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.project-tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.project-tabs button[aria-selected="true"].is-cycling::after {
  animation: project-tab-progress var(--project-cycle-duration, 5s) linear forwards;
}

.project-browser.is-cycle-paused .project-tabs button[aria-selected="true"]::after {
  animation: none;
  transform: scaleX(0);
}

@keyframes project-tab-progress {
  to {
    transform: scaleX(1);
  }
}

.project-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.project-stage-track {
  display: flex;
  align-items: stretch;
  width: 200%;
}

.project-stage-track.is-animated {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-stage.is-sliding .project-card {
  pointer-events: none;
}

.project-stage-track .project-card {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  border-radius: 0;
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 28rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.project-status,
.project-sector {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-content > p {
  max-width: 24rem;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: auto 0 0;
}

.project-meta dt {
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-visual {
  position: relative;
  min-height: 22rem;
  height: 100%;
}

.project-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.project-placeholder-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Quotes */
.quote-viewport {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 5rem;
  align-items: start;
}

.quote-slot {
  margin: 0;
  min-height: 8.5rem;
  transition: opacity 0.85s ease;
}

.quote-slot.is-out {
  opacity: 0;
}

.quote-slot p {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
}

.quote-slot footer {
  margin: 0;
}

.quote-slot cite {
  color: var(--ink-soft);
  font-style: normal;
  font-size: 0.9rem;
}

/* Offer */
.audience-intro {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.audience-intro h2 {
  margin-bottom: 1.4rem;
}

.offer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.offer-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 1.15rem;
  background: var(--ink);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.offer-card:hover img,
.offer-card[aria-selected="true"] img {
  transform: scale(1.035);
}

.offer-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: var(--paper-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.offer-card[aria-selected="true"] .offer-card-label {
  color: var(--paper);
  background: var(--ink);
}

.audience-panel {
  margin-top: 0.9rem;
}

.audience-panel[hidden] {
  display: none;
}

.workflow-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--sage);
}

.workflow-feature-kmu {
  background: var(--lilac);
}

.workflow-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.workflow-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.workflow-copy p {
  max-width: 26rem;
  margin: 0;
  color: var(--ink-soft);
}

.workflow-visual {
  position: relative;
  min-height: 26rem;
  background:
    linear-gradient(rgba(3, 18, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 18, 50, 0.08) 1px, transparent 1px),
    color-mix(in srgb, var(--paper) 72%, transparent);
  background-size: 2.2rem 2.2rem;
}

.float-card {
  position: absolute;
  width: min(58%, 17rem);
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--paper-light);
  box-shadow: 0 14px 30px rgba(3, 18, 50, 0.08);
  animation: float 7s ease-in-out infinite;
}

.float-card small,
.float-card strong {
  display: block;
}

.float-card small {
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.float-a {
  top: 16%;
  left: 10%;
}

.float-b {
  top: 42%;
  right: 8%;
  background: var(--gold);
  animation-delay: -2.2s;
}

.float-c {
  right: 18%;
  bottom: 12%;
  background: var(--lilac);
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Method */
.method-heading {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.method-heading h2 {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.method-heading h2 em {
  font-style: italic;
  font-weight: 400;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.15rem, 3vw, 2.1rem);
}

.method-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: 1.15rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.method-grid h3 {
  margin-bottom: 0.4rem;
}

.method-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Home: Über uns */
.page-home .home-about-section {
  padding-top: 0;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.home-about-copy h2 {
  margin-bottom: 1.1rem;
}

.home-about-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
}

.home-about-media,
.home-about-grid > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--band-tint, #eef1f8);
}

.method-note {
  width: fit-content;
  margin: 2rem 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.workflow-copy .button {
  margin-top: 1.4rem;
  align-self: flex-start;
  width: fit-content;
}

/* Hausverwaltungen */
.page-hv .hero-copy h1 {
  width: auto;
  max-width: none;
}

.hv-lead {
  max-width: 28rem;
  margin: -0.4rem auto 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hv-hero-image {
  width: min(calc(100% - 2 * var(--gutter)), 58rem);
  margin: 5.75rem auto 0;
  overflow: hidden;
  border-radius: 1.15rem;
}

.hv-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 78% 72%;
}

.hv-path {
  display: grid;
}

.hv-step {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2rem 2.5rem;
  padding-block: 2.15rem;
  border-top: 1px solid var(--line);
}

.hv-step:last-child {
  border-bottom: 1px solid var(--line);
}

.hv-step-index {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hv-step-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.hv-step-copy p {
  max-width: 40rem;
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.hv-step-copy p:last-child {
  margin-bottom: 0;
}

.hv-optional {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hv-step details {
  max-width: 40rem;
  margin-top: 0.35rem;
}

.hv-step summary {
  width: fit-content;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  cursor: pointer;
}

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

.hv-step details p {
  margin: 0.55rem 0 0;
}

.hv-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.hv-cases article {
  min-height: 15.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1rem;
}

.hv-cases article:nth-child(4n + 1) {
  background: var(--sage);
}

.hv-cases article:nth-child(4n + 2) {
  background: var(--lilac);
}

.hv-cases article:nth-child(4n + 3) {
  background: var(--mist);
}

.hv-cases article:nth-child(4n) {
  background: var(--gold);
}

.hv-cases h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.hv-cases p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hv-principle {
  max-width: 18rem;
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
}

/* Proof */
.proof-section {
  padding-top: 0;
}

.proof-layout {
  position: relative;
}

.proof-kicker {
  max-width: 16rem;
  margin: 0 0 1.6rem auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.15;
  text-align: right;
}

.proof-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.proof-card {
  margin: 0;
  min-height: 12.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: 1.1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-style: italic;
  line-height: 1.28;
}

.proof-card p {
  margin: 0;
}

.proof-lilac {
  background: var(--lilac);
}

.proof-gold {
  background: var(--gold);
}

/* Why */
.why-aside {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-style: italic;
  text-align: right;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-cards li {
  min-height: 13.5rem;
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
}

.why-cards li:nth-child(1) {
  background: var(--sage);
}

.why-cards li:nth-child(2) {
  background: var(--lilac);
}

.why-cards li:nth-child(3) {
  background: var(--mist);
}

.why-cards li:nth-child(4) {
  background: var(--gold);
}

.why-cards span {
  display: block;
  margin-bottom: 3.1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.why-cards h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
}

.faq-intro h2 {
  margin-bottom: 1rem;
}

.faq-intro p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.2rem 2.4rem 1.2rem 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  max-width: 38rem;
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

/* Über uns */
.page-about .hero {
  padding-top: calc(var(--header-height) + 3.4rem);
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.page-about .hero-wavegrid {
  bottom: 0;
  height: 100%;
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) 1.2fr;
  gap: 1.75rem 4rem;
  align-items: start;
}

.about-layout h1 {
  width: auto;
  margin: 0;
  text-align: left;
  font-size: clamp(2.6rem, 5.4vw, 3.55rem);
}

.about-prose {
  max-width: 38rem;
  text-align: left;
}

.about-prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-section {
  padding-block: var(--section-space);
  background: var(--mist);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 0.9rem;
}

.contact-copy p {
  margin: 0;
  max-width: 26rem;
}

.contact-direct {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 1.1rem;
  background: var(--paper-light);
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.optional {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.form-row input:focus,
.form-row textarea:focus {
  border-bottom-color: var(--ink);
  outline: none;
}

.form-row input[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.form-submit {
  width: fit-content;
}

.form-submit:disabled {
  opacity: 0.6;
}

.form-privacy,
.form-message {
  margin: 0;
  font-size: 0.72rem;
}

.form-privacy {
  color: var(--ink-soft);
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--success);
}

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

/* Footer */
.site-footer {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100%, var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 3rem;
  align-items: start;
  text-align: left;
}

.footer-wordmark {
  /* Wordmark-viewBox ist eng beschnitten; Abstände oben/unten explizit setzen. */
  margin-block: 0.45rem 1.15rem;
  font-size: 3.456rem;
}

.footer-brand-block p {
  margin: 0;
}

.footer-contact-block {
  justify-self: end;
  text-align: right;
}

.footer-contact-block address,
.footer-contact-block p {
  margin: 0 0 0.35rem;
}

.footer-contact-block p:last-child {
  margin-bottom: 0;
}

.footer-inner p,
.footer-inner address {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-soft);
}

.footer-direct {
  display: grid;
  gap: 0.15rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 0.7rem 0 0;
  justify-content: flex-end;
}

.footer-social a {
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.nav-social {
  display: none;
}

/* Socials: eigene Zeile ganz unten im Footer */
.footer-socials {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-socials a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.footer-legal {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-brand {
  justify-self: end;
  align-self: end;
  margin: 1.75rem 0 0;
  text-align: right;
  font-size: 0.68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 960px) {
  .split-heading,
  .project-card,
  .offer-pair,
  .workflow-feature,
  .method-grid,
  .proof-cards,
  .why-cards,
  .quote-viewport,
  .faq-grid,
  .contact-grid,
  .hv-cases,
  .hv-step,
  .home-offer-grid,
  .home-about-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .method-heading h2,
  .why-aside,
  .proof-kicker {
    display: block;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
  }

  .method-heading h2 em {
    display: block;
    margin-top: 0.35rem;
  }

  .stats strong {
    font-size: 1.5rem;
  }

  .offer-card img {
    aspect-ratio: 4 / 1.53;
  }

  .hero-still {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    aspect-ratio: 44 / 30;
  }

  .hero-target {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    height: 21rem;
  }

  .hero-target .hero-inbox-item {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.22rem;
    min-height: 3rem;
  }

  .hero-target .hero-inbox-status {
    align-self: flex-end;
    width: 4.65rem;
    height: 0.9rem;
  }

  .hero-target .hero-inbox-pill {
    font-size: 0.48rem;
  }

  .hero-target .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.18rem;
    --x-mid: 0.24rem;
    --x-to: -0.08rem;
  }

  .hero-target .hero-inbox-item:nth-child(2) {
    --lane: 53%;
    --x-from: 0.12rem;
    --x-mid: -0.25rem;
    --x-to: 0.14rem;
  }

  .hero-target .hero-inbox-item:nth-child(3) {
    --lane: 46%;
    --x-from: 0.2rem;
    --x-mid: -0.1rem;
    --x-to: 0.25rem;
  }

  .hero-target .hero-inbox-item:nth-child(4) {
    --lane: 54%;
    --x-from: -0.22rem;
    --x-mid: 0.1rem;
    --x-to: -0.18rem;
  }

  .hero-tiles {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
    height: 21.5rem;
    grid-template-columns: 0.85fr 1.9fr 0.6fr 0.9fr;
  }

  .hv-hero-image {
    width: min(calc(100% - 2 * var(--gutter)), 44rem);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 3.9rem;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .site-header.nav-open .wordmark {
    position: relative;
    z-index: 3;
  }

  .site-header.nav-open .nav-toggle span:first-child {
    transform: translateY(0.3rem) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-0.3rem) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.8rem;
    padding: 5rem var(--gutter);
    background: var(--ink-deep);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 0.8rem;
  }

  .site-header.nav-open,
  .site-header.nav-open .wordmark,
  .site-header.nav-open .nav-toggle {
    color: var(--paper);
    background: var(--ink-deep);
  }

  .site-header.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav a {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 9vw, 2.3rem);
  }

  .primary-nav .nav-cta {
    display: none;
  }

  /* Mobil: Branchen als eingerückte Unterliste statt Dropdown */
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.5rem 0 0.4rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .primary-nav .nav-dropdown a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .primary-nav .language-switch a {
    font-family: var(--font-body);
    font-size: 0.78rem;
  }

  .primary-nav .language-switch {
    color: rgba(255, 255, 255, 0.7);
  }

  .primary-nav .language-switch a[aria-current="page"] {
    color: var(--paper);
  }

  .nav-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.15rem;
    margin-top: 1.1rem;
  }

  .primary-nav .nav-social a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
  }

  .primary-nav .nav-social a:hover {
    color: var(--paper);
  }

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

  .hero-kicker-desktop {
    display: none;
  }

  .hero-kicker-mobile {
    display: inline;
  }

  .hero-copy h1 {
    width: 100%;
  }

  .hero-rotate-word {
    white-space: normal;
  }

  .page-about .hero {
    padding-top: calc(var(--header-height) + 2.35rem);
    padding-bottom: 1.5rem;
  }

  .hero-still {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    aspect-ratio: 22.5 / 28;
    margin-top: 3.5rem;
  }

  .hero-target {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    height: 15.5rem;
    margin-top: 3.5rem;
    gap: 0.42rem;
  }

  .hero-target-automation {
    align-self: end;
    height: 74%;
    margin-bottom: 3%;
  }

  .hero-target-portrait {
    align-self: start;
    height: 60%;
    margin-top: 1.65rem;
  }

  .hero-target-portrait img {
    object-position: 50% 38%;
  }

  .hero-target .hero-inbox-item {
    width: 84%;
    min-height: 2.8rem;
    padding: 0.35rem;
  }

  .hero-target .hero-inbox-item:nth-child(1) {
    --lane: 47%;
    --x-from: -0.12rem;
    --x-mid: 0.18rem;
    --x-to: -0.06rem;
  }

  .hero-target .hero-inbox-item:nth-child(2) {
    --lane: 53%;
    --x-from: 0.08rem;
    --x-mid: -0.2rem;
    --x-to: 0.1rem;
  }

  .hero-target .hero-inbox-item:nth-child(3) {
    --lane: 46%;
    --x-from: 0.16rem;
    --x-mid: -0.08rem;
    --x-to: 0.2rem;
  }

  .hero-target .hero-inbox-item:nth-child(4) {
    --lane: 54%;
    --x-from: -0.18rem;
    --x-mid: 0.08rem;
    --x-to: -0.14rem;
  }

  .hero-target .hero-inbox-item strong {
    font-size: 0.44rem;
  }

  .hero-target .hero-inbox-item small {
    display: none;
  }

  .hero-target .hero-inbox-status {
    align-self: flex-end;
    width: 3.15rem;
    height: 0.72rem;
  }

  .hero-target .hero-inbox-pill {
    padding: 0.11rem 0.24rem;
    font-size: 0.36rem;
  }

  .hero-tiles {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    height: 26.5rem;
    margin-top: 3.5rem;
    grid-template-columns: 1fr 1.25fr;
    grid-template-rows: 1fr 1fr 7.25rem;
  }

  .hero-tile-tech {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero-tile-photo:last-child {
    grid-column: 1 / -1;
  }

  .hero-tile-photo:last-child img {
    object-position: 50% 32%;
  }

  .hero-board-cols,
  .hero-board-row {
    grid-template-columns: minmax(0, 1.15fr) 4.5rem 3.2rem;
    gap: 0.28rem;
  }

  .hero-board-cols span:nth-child(4),
  .hero-board-cols span:nth-child(5),
  .hero-board-row > span:nth-child(4),
  .hero-board-row time {
    display: none;
  }

  .hero-flow {
    gap: 0.4rem;
    padding: 0.7rem 0.6rem;
  }

  .hero-flow-item {
    padding: 0.45rem 0.5rem;
  }

  .hero-inbox-item {
    padding: 0.42rem 0.45rem;
    gap: 0.3rem;
  }

  .hero-inbox-item strong {
    font-size: 0.62rem;
  }

  .hero-inbox-item small {
    font-size: 0.52rem;
  }

  .hero-inbox-status {
    width: 4.85rem;
  }

  .hero-inbox-pill {
    font-size: 0.48rem;
    padding: 0.12rem 0.32rem;
  }

  .hv-hero-image {
    width: min(calc(100% - 2 * var(--gutter)), 22.5rem);
    margin-top: 3.5rem;
  }

  .hv-hero-image img {
    aspect-ratio: 4 / 5;
    object-position: 70% 50%;
  }

  .hv-cases article {
    min-height: 0;
  }

  .hv-step {
    padding-block: 1.7rem;
    gap: 0.7rem;
  }

  .hero-still-stairwell {
    left: 0;
    top: 10%;
    width: 42%;
    height: 48%;
  }

  .hero-still-facade {
    left: auto;
    right: 0;
    top: 0;
    width: 50%;
    height: 62%;
  }

  .hero-still-portrait {
    left: 4%;
    right: auto;
    top: auto;
    bottom: 4%;
    width: 42%;
    height: 36%;
  }

  .hero-still .hero-still-portrait {
    width: 42%;
    height: 36%;
  }

  .hero-collage {
    margin-top: 3.75rem;
  }

  .collage-tall {
    width: 10.25rem;
    height: 13.5rem;
  }

  .collage-wide {
    width: 12rem;
    height: 9.25rem;
  }

  .collage-doodle {
    width: 9.5rem;
    height: 9.5rem;
    padding: 0.7rem;
  }

  .collage-scallop {
    width: 9.25rem;
    height: 11.75rem;
  }

  .collage-square {
    width: 11rem;
    height: 11rem;
  }

  .collage-grand {
    width: 11.25rem;
    height: 16.5rem;
  }

  .collage-short {
    width: 10rem;
    height: 8rem;
  }

  .collage-soft {
    width: 8.75rem;
    height: 11.5rem;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stats p {
    padding-block: 0.85rem;
  }

  .stats p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-visual {
    min-height: 20rem;
  }

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

  .contact-form {
    padding: 1.2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-contact-block,
  .footer-brand {
    justify-self: start;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-legal,
  .footer-brand {
    margin-top: 0.35rem;
  }
}

@media (max-width: 350px) {
  .hero-kicker {
    gap: 0.25rem;
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.69rem;
    white-space: nowrap;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-target .hero-inbox-item {
    width: calc(84% + 0.7rem);
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

  .project-browser.is-cycle-paused .project-tabs button[aria-selected="true"]::after,
  .project-tabs button[aria-selected="true"]::after {
    transform: scaleX(1);
  }

  .collage-item:hover img,
  .offer-card:hover img {
    transform: none;
  }

  .hero-flow-item,
  .hero-flow-status[data-flow-status] span {
    animation: none;
  }

  .hero-flow-status[data-flow-status] span:first-child {
    opacity: 1;
  }

  .hero-flow-status[data-flow-status] span:not(:first-child) {
    display: none;
  }

  .hero-collage-track {
    animation: none;
  }

  .hero-rotate.is-typing .hero-rotate-word::after {
    display: none;
  }
}

/* Branchen-Seite: gleiche Bänder wie die Startseite (body.page-home.page-branchen) */
ul.hero-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.page-branchen .hv-cases article:nth-child(n) {
  background: var(--band-tint);
}

/* Ein Anwendungsfall je Branche (Ziele des Branchen-Dropdowns) */

.branch-cases {
  display: grid;
  gap: clamp(3.5rem, 7vw, 5.5rem);
}

.branch-case {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.branch-case-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  color: var(--brand-main);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.branch-case-index {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.branch-case-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.branch-case-card .sector-media img {
  transform: none;
}

.branch-case-link {
  margin-top: 1.25rem;
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.branch-case-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

@media (max-width: 900px) {
  .branch-case,
  .branch-case-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .branch-case-card .sector-media {
    min-height: 15rem;
  }
}

/* EN-Version: eckiger Stil – alle Ecken 0 außer Buttons (gesetzt über <html data-corners="square">) */
html[data-corners="square"] :not(.button, .nav-cta, .consent-btn),
html[data-corners="square"] :not(.button, .nav-cta, .consent-btn)::before,
html[data-corners="square"] :not(.button, .nav-cta, .consent-btn)::after {
  border-radius: 0 !important;
}

/* Unterseiten mit dunklem Kopfbereich (z. B. /ueber-uns/): kompakter Hero, nur Titel */
.page-subpage .hero {
  padding-top: calc(var(--header-height) + clamp(5rem, 10vw, 8rem));
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.page-subpage .hero-copy {
  display: block;
}

.page-subpage .home-about-section {
  padding-top: var(--section-space);
}

/* Footer-Menü (unter der Subline): z. B. „Über uns“ / „About us“ */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.footer-menu a {
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
