/* ==========================================================================
   syscore – Sektionen & Karten
   Helle, klare Flächen mit gezielt dunklen Karten. Effekte laufen nur
   per CSS (transform/opacity) und pausieren außerhalb des Sichtbereichs.
   ========================================================================== */

/* ---------- Karten-Grundlagen ---------- */
.card-light {
  background: var(--surface);
  border: 1px solid var(--line);
}
.card-dark, .bento-card.bento-dark, .quote-card.quote-card-dark, .trust-item, .stat-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 91, 31, .07), transparent 55%),
    linear-gradient(180deg, #161618, #0E0E10);
  border: 1px solid #26262B;
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -28px rgba(0, 0, 0, .45);
}

/* ---------- Spotlight: Rand und Fläche folgen dem Mauszeiger ---------- */
.spot { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spot::before, .spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s var(--ease);
}
.spot::before {
  z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 91, 31, .09), transparent 42%);
}
.spot::after {
  z-index: 3; padding: 1px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 110, 50, .85), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* Animationen nur im Sichtbereich */
.viz *, .viz *::before, .viz *::after, .call-card * { animation-play-state: paused; }
.is-inview .viz *, .is-inview .viz *::before, .is-inview .viz *::after, .is-inview .call-card * { animation-play-state: running; }

/* ---------- Kennzahlen (dunkles Band direkt nach dem Hero) ---------- */
.facts { background: var(--dark); color: var(--on-dark); padding: 8px 0 clamp(56px, 7vw, 88px); }
.facts-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  padding-top: 40px; margin-bottom: 28px; border-top: 1px solid var(--dark-line);
}
.facts-title { font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: var(--brand-hi); line-height: 1.4; }
.facts-head p { font-size: .9375rem; color: var(--on-dark-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  border-radius: 20px; padding: 28px;
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.stat-card dt { display: flex; align-items: baseline; gap: 10px; }
.stat-num { font-size: clamp(2.5rem, 3.9vw, 3.5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-unit { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; color: var(--brand-hi); letter-spacing: -0.03em; }
.stat-card dd { font-size: .875rem; line-height: 1.5; color: var(--on-dark-2); }
.stat-card dd strong { display: block; font-size: 1rem; font-weight: 600; color: var(--on-dark); margin-bottom: 4px; }

.logo-strip { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.logo-strip-title { font-size: .8125rem; color: var(--on-dark-2); margin-bottom: 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 56px; max-width: 1180px; margin: 0 auto; }
.logo-row li { display: flex; align-items: center; height: 44px; }
/* Einheitlich weiß; Höhe pro Logo optisch ausgeglichen (--h) */
.logo-row img { height: var(--h, 30px); width: auto; filter: brightness(0) invert(1); opacity: .55; transition: opacity .3s var(--ease); }
.logo-row img:hover { opacity: 1; }

/* ---------- Leistungen: Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento-card {
  grid-column: span 5;
  display: flex; flex-direction: column; gap: 28px;
  border-radius: 24px; padding: 32px; min-height: 460px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 11, 12, .04);
}
.bento-wide { grid-column: span 7; }
.bento-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.bento-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--accent); }
.bento-icon .icon { width: 22px; height: 22px; }
.bento-num { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bento-card h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.bento-claim { font-weight: 500; margin: 4px 0 10px; }
.bento-copy > p:last-child { color: var(--ink-2); font-size: .9688rem; max-width: 36em; }
.bento-dark .bento-icon { background: rgba(255, 91, 31, .12); color: var(--brand-hi); }
.bento-dark .bento-num { color: #6E6E76; }
.bento-dark .bento-copy > p:last-child { color: var(--on-dark-2); }

.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bento-tags li { padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid var(--line); color: var(--ink-2); }
.bento-dark .bento-tags li { border-color: #2A2A30; color: var(--on-dark-2); }

/* ---------- KI in der Praxis: Fortschrittslinie ---------- */
.flow { position: relative; }
.flow::before, .flow::after { content: ""; position: absolute; left: 19.5px; top: 42px; bottom: 42px; width: 2px; }
.flow::before { background: var(--dark-line); }
.flow::after { background: var(--brand); transform-origin: top; transform: scaleY(var(--flow-p, 0)); }
.flow-step { border-top: 0; }
.flow-step:last-child { border-bottom: 0; }
.flow-num { position: relative; z-index: 1; background: var(--dark); transition: border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.flow-step.is-lit .flow-num { border-color: var(--brand-hi); color: var(--brand-hi); box-shadow: 0 0 0 5px rgba(255, 91, 31, .12); }
.flow-step-human.is-lit .flow-num { color: var(--ink); }
.flow-step h3, .flow-step p { transition: opacity .4s var(--ease); }
.flow-step:not(.is-lit) h3, .flow-step:not(.is-lit) p { opacity: .45; }

/* ---------- Referenzen: Projektkarten mit Foto ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.work-card {
  display: flex; align-items: flex-end;
  min-height: 500px; border-radius: 22px; overflow: hidden;
  background: #111113; color: #fff;
}
.work-card > img {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work-card > img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.work-body {
  width: 100%; padding: 140px 32px 32px;
  background: linear-gradient(to top, rgba(9, 9, 10, .94) 0%, rgba(9, 9, 10, .78) 45%, rgba(9, 9, 10, 0) 100%);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.work-meta { font-size: .8125rem; font-weight: 500; color: var(--brand-hi); }
.work-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); letter-spacing: -0.03em; }
.work-body p { font-size: .9688rem; color: rgba(242, 242, 240, .78); max-width: 34em; }
.work-tag { margin-top: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(242, 242, 240, .22); font-size: .75rem; color: var(--on-dark); background: rgba(9, 9, 10, .4); }


.case { box-shadow: 0 1px 2px rgba(11, 11, 12, .04); }
.call-steps li { animation: call-step 9s var(--ease) infinite; }
.call-steps li:nth-child(2) { animation-delay: .4s; }
.call-steps li:nth-child(3) { animation-delay: .8s; }
.call-steps li:nth-child(4) { animation-delay: 1.2s; }
@keyframes call-step { 0% { opacity: .25; transform: translateX(-6px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: .25; } }

/* ---------- Kundenstimmen ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 320px; padding: 36px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote::before { content: "“"; display: block; height: .55em; font-size: 5rem; line-height: 1; color: var(--brand); font-weight: 600; }
.quote-card blockquote p { font-size: clamp(1.5rem, 2.3vw, 2.125rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--bg-alt); }
.quote-card figcaption span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.quote-card figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: .9688rem; }
.quote-card-dark figcaption { border-top-color: #26262B; }
.quote-card-dark figcaption span { color: var(--on-dark-2); }
.quote-card-dark figcaption strong { color: var(--on-dark); }
.quote-card-dark figcaption img { background: #1D1D21; }

/* ---------- Vorgehen: Zeitleiste ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 68px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; }
.timeline::before { background: var(--line-strong); }
.timeline::after { background: var(--brand); transform-origin: left; transform: scaleX(var(--tl-p, 0)); }
.tl-step { position: relative; display: flex; }
.tl-marker {
  position: absolute; left: 0; top: -68px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.tl-step.is-lit .tl-marker { background: var(--ink); border-color: var(--ink); color: var(--brand-hi); }
.tl-card {
  display: flex; flex-direction: column; gap: 12px; width: 100%;
  padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
}
.tl-card > p:not(.tl-result) { color: var(--ink-2); font-size: .9688rem; }
.tl-result { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 500; }
.tl-result span { display: block; font-size: .75rem; font-weight: 500; color: var(--accent); margin-bottom: 2px; }

/* ---------- Verantwortung: dunkle Karten auf hellem Grund ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { padding: 32px; border-radius: 20px; }
.trust-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 13px;
  background: rgba(255, 91, 31, .12); border: 1px solid rgba(255, 122, 69, .25); color: var(--brand-hi);
}
.trust-icon .icon { width: 22px; height: 22px; }
.trust-item h3 { color: var(--on-dark); margin-bottom: 8px; }
.trust-item p { color: var(--on-dark-2); font-size: .9688rem; }

/* ---------- Persönliches Wort ---------- */
.letter {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(11, 11, 12, .25);
}
.letter-photo img, .letter-photo-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; object-fit: cover; }
.letter-photo-placeholder {
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 60% at 70% 20%, rgba(255, 91, 31, .25), transparent 60%), linear-gradient(160deg, #1B1B1E, #0C0C0E);
}
.letter-photo-placeholder span { font-size: clamp(3rem, 6vw, 5rem); font-weight: 500; letter-spacing: -0.04em; color: rgba(242, 242, 240, .18); }
.letter-body h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); max-width: 15em; }
.letter-text { margin-top: 28px; display: grid; gap: 16px; color: var(--ink-2); font-size: 1.0625rem; max-width: 38em; }
.letter-sign { display: flex; flex-direction: column; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.letter-name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.letter-role { font-size: .9375rem; color: var(--muted); }

/* ---------- Kontakt: Core-Motiv ---------- */
.contact { position: relative; overflow: hidden; }
.contact > .container { position: relative; z-index: 1; }
.contact-core {
  position: absolute; right: -12%; top: 50%; width: min(1000px, 90vw); aspect-ratio: 1; transform: translateY(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 91, 31, .35) 0%, rgba(255, 91, 31, 0) 32%),
    radial-gradient(circle, rgba(242, 242, 240, .5) 1.4px, transparent 1.9px) 50% 50% / 20px 20px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .6) 28%, transparent 62%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .6) 28%, transparent 62%);
  opacity: .8;
}
.contact-card { background: rgba(17, 17, 19, .85); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card, .bento-wide { grid-column: span 6; }
}
@media (max-width: 960px) {
  .bento-card, .bento-wide { grid-column: 1 / -1; min-height: 0; }
  .quote-grid, .work-grid { grid-template-columns: 1fr; }
  .quote-card { min-height: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 64px; }
  .timeline::before, .timeline::after { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--tl-p, 0)); }
  .tl-marker { left: -64px; top: 0; }
  .letter { grid-template-columns: 1fr; }
  .letter-photo { max-width: 320px; }
  .work-card { min-height: 420px; }
  .logo-row { gap: 28px 40px; }
  .logo-row img { height: calc(var(--h, 30px) * .8); }
}
@media (max-width: 640px) {
  .logo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .logo-row li { justify-content: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 20px; min-height: 180px; }
  .stat-card dd { font-size: .8125rem; }
  .bento-card { padding: 22px; border-radius: 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 26px; }
  .work-body { padding: 110px 22px 22px; }
  .sy-pipe { width: 1px; height: 64px; flex: none; }
  .sy-pipe i { display: none; }
  .ap-toast { position: static; margin-top: 12px; }
  .hub-chip { font-size: .6875rem; padding: 5px 9px; }
  .hub-core { font-size: .75rem; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .flow::after, .timeline::after { transform: none; }
  .flow-step:not(.is-lit) h3, .flow-step:not(.is-lit) p { opacity: 1; }
}

/* ==========================================================================
   Optische DNA: Sucher-Ecken + Bauplan
   Jede Karte entsteht wie ein Traum-Level: erst Sucher-Ecken und gestrichelter
   Bauplan mit Kennung, dann materialisiert sie sich hinter einer Scanlinie.
   Die Ecken bleiben als wiederkehrendes Gestaltungsmittel.
   ========================================================================== */
.section, .hero { --cover: var(--bg); }
.section-alt { --cover: var(--bg-alt); }
.section-dark, .facts, .contact { --cover: var(--dark); }

.bp { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; }
.bp-corner { position: absolute; width: 12px; height: 12px; border: 0 solid var(--bp-c, rgba(11, 11, 12, .28)); transition: transform .5s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease); }
.bp-corner:nth-child(1) { left: 10px; top: 10px; border-left-width: 1px; border-top-width: 1px; }
.bp-corner:nth-child(2) { right: 10px; top: 10px; border-right-width: 1px; border-top-width: 1px; }
.bp-corner:nth-child(3) { left: 10px; bottom: 10px; border-left-width: 1px; border-bottom-width: 1px; }
.bp-corner:nth-child(4) { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }
.section-dark .bp, .facts .bp, .contact .bp, .bento-dark .bp, .quote-card-dark .bp, .trust-item .bp, .stat-card .bp, .work-card .bp { --bp-c: rgba(242, 242, 240, .3); }
.build:hover .bp-corner { --bp-c: var(--brand); }
.build:hover .bp-corner:nth-child(1) { transform: translate(-4px, -4px); }
.build:hover .bp-corner:nth-child(2) { transform: translate(4px, -4px); }
.build:hover .bp-corner:nth-child(3) { transform: translate(-4px, 4px); }
.build:hover .bp-corner:nth-child(4) { transform: translate(4px, 4px); }

/* Bauplan-Abdeckung (in Hintergrundfarbe der Sektion) */
.bp-cover {
  position: absolute; inset: -1px; border-radius: inherit;
  background: var(--cover);
  transform-origin: 50% 100%;
}
.bp-cover::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  border: 1px dashed var(--bp-c, rgba(11, 11, 12, .28)); opacity: 0;
}
.bp-cover::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, #FFB08F 50%, var(--brand) 80%, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 91, 31, .45); opacity: 0;
}
.bp-code {
  position: absolute; left: 28px; top: 7px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bp-c, rgba(11, 11, 12, .4)); opacity: 0; transition: opacity .4s var(--ease);
}

/* Ausgangszustand */
.build .bp-corner { opacity: 0; }
.build:not(.is-built) .bp-corner:nth-child(1) { transform: translate(14px, 14px); }
.build:not(.is-built) .bp-corner:nth-child(2) { transform: translate(-14px, 14px); }
.build:not(.is-built) .bp-corner:nth-child(3) { transform: translate(14px, -14px); }
.build:not(.is-built) .bp-corner:nth-child(4) { transform: translate(-14px, -14px); }
.build:not(.is-built) > :not(.bp):not(img) { opacity: 0; transform: translateY(12px); }

/* Aufbau */
.build.is-built .bp-corner { opacity: .9; transition: transform .6s cubic-bezier(.16, 1, .3, 1) var(--bd, 0ms), opacity .3s var(--ease) var(--bd, 0ms), border-color .4s var(--ease); }
.build.is-built .bp-code { opacity: 1; transition-delay: calc(var(--bd, 0ms) + 150ms); }
.build.is-built .bp-cover { animation: bp-cover 1.25s cubic-bezier(.65, 0, .35, 1) var(--bd, 0ms) forwards; }
.build.is-built .bp-cover::before { animation: bp-plan 1.25s linear var(--bd, 0ms) forwards; }
.build.is-built .bp-cover::after { animation: bp-scan 1.25s linear var(--bd, 0ms) forwards; }
.build.is-built > :not(.bp):not(img) {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--bd, 0ms) + 800ms);
}
.build.is-built.is-done > :not(.bp):not(img) { transition: none; }
.build.is-done .bp-code { opacity: 0; transition: opacity .8s var(--ease) .6s; }
@keyframes bp-cover { 0%, 36% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes bp-plan { 0% { opacity: 0; } 14%, 40% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes bp-scan { 0%, 34% { opacity: 0; } 38%, 92% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bp-cover { display: none; }
  .build > :not(.bp) { opacity: 1 !important; transform: none !important; }
  .build .bp-corner { opacity: .9; transform: none !important; }
}

/* ==========================================================================
   Journey durch die Seite: Ebenen, Titel-Reveals, Tesserakt, Filmsequenz
   ========================================================================== */
.eyebrow .lvl {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor; border-radius: 4px; opacity: .8; margin-right: 2px;
}

/* Überschriften bauen sich Wort für Wort auf – wie im Hero */
.rv-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rv-title .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 55ms); }
.rv-title.is-shown .w > span { transform: none; }

/* Tesserakt-Raumgitter in dunklen Sektionen */
.facts, #praxis, .contact { position: relative; overflow: hidden; isolation: isolate; }
.tess-bg { position: absolute; inset: -10% -5%; z-index: -1; pointer-events: none; opacity: .55; transform: scale(var(--ts, 1)); transform-origin: var(--vx, 70%) 50%; will-change: transform; }
.tess-bg svg { width: 100%; height: 100%; }
.tess-bg line, .tess-bg rect { vector-effect: non-scaling-stroke; }
.tess-finale { opacity: .7; }
.facts > .container, #praxis > .container { position: relative; }

/* Filmsequenz „KI in der Praxis“: die Oberfläche folgt den Schritten */
.ui-card .ui-row, .ui-card .ui-note { transition: opacity .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease); }
.ui-card.is-seq .ui-row, .ui-card.is-seq .ui-note { opacity: .22; transform: translateX(6px); }
.ui-card.is-seq .is-lit { opacity: 1; transform: none; }
.ui-card.is-seq .is-now { border-color: rgba(255, 91, 31, .7) !important; box-shadow: 0 0 0 4px rgba(255, 91, 31, .1), 0 0 28px -6px rgba(255, 91, 31, .5); }
.ui-card.is-seq .ui-note.is-now { box-shadow: none; }
.ui-card .badge { transition: transform .5s var(--ease); }
.ui-card.is-seq .is-now .badge { transform: scale(1.06); }

/* Kamerafahrt in Bildern (Parallaxe) */
.work-card > img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
.work-card:hover > img { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); }
/* Team freigestellt: keine Box, Personen stehen frei auf der Seite */
.team .team-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
.team-media { position: relative; isolation: isolate; overflow: visible; background: none; border-radius: 0; margin-left: calc(-1 * clamp(0px, 2vw, 32px)); }
.team-media::before {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; top: -14%; bottom: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 91, 31, .26), rgba(255, 91, 31, .08) 55%, rgba(255, 91, 31, 0));
}
.team-media::after { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -2%; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 11, 12, .22), rgba(11, 11, 12, 0)); }
.team-media img {
  display: block; width: 100%; height: auto; transform: translate3d(0, var(--py, 0px), 0);
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}
@media (max-width: 960px) { .team .team-grid { grid-template-columns: 1fr; } .team-media { margin-left: 0; } }

/* Finale: das Punkt-O kehrt zurück */
.contact-core { background: none !important; -webkit-mask-image: none !important; mask-image: none !important; opacity: 1 !important; display: grid; place-items: center; }
.finale-o { width: 72%; height: auto; overflow: visible; opacity: .5; filter: drop-shadow(0 0 40px rgba(255, 91, 31, .35)); }
.finale-o .co-core { fill: var(--brand); }
.finale-o .co-r1 { fill: rgba(242, 242, 240, .55); }
.finale-o .co-r2 { fill: rgba(242, 242, 240, .35); }
.finale-o .co-r3 { fill: var(--brand-hi); opacity: .8; }
.finale-o g { transform-origin: 60px 60px; }
.finale-o .co-r1 { animation: gl-spin 60s linear infinite; }
.finale-o .co-r2 { animation: gl-spin 45s linear infinite reverse; }
.finale-o .co-r3 { animation: gl-spin 30s linear infinite; }
.finale-o .co-core { transform-origin: 60px 60px; animation: finale-pulse 4s ease-in-out infinite; }
@keyframes finale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .rv-title .w > span { transform: none; }
  .ui-card.is-seq .ui-row, .ui-card.is-seq .ui-note { opacity: 1; transform: none; }
}
.contact .contact-core { width: min(460px, 40vw); right: 7%; }
.finale-o { width: 100%; opacity: .26; filter: blur(.5px) drop-shadow(0 0 40px rgba(255, 91, 31, .35)); }
.tess-finale { opacity: .45; }
@media (max-width: 960px) { .contact .contact-core { width: 420px; right: -30%; top: 30%; } .finale-o { opacity: .2; } }

.stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stat-grid-3 { grid-template-columns: 1fr; } .stat-grid-3 .stat-card { min-height: 0; } }

/* Kennzahlen mit Visualisierung */
.stat-grid-viz { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card-viz { justify-content: flex-start; gap: 0; min-height: 0; padding: 22px 26px 26px; }
.stat-viz { position: relative; height: 128px; margin: 12px 0 26px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #26262B; padding-bottom: 16px; }
.stat-card-viz dt { margin-bottom: 14px; }

/* 1 · Wachstum */
.stat-viz-growth { width: 100%; height: 100%; overflow: visible; }
.stat-viz-growth .gd { fill: rgba(242, 242, 240, .28); }
.stat-viz-growth .gd-top { fill: var(--brand-hi); }
.build .stat-viz-growth circle { opacity: 0; transform: translateY(6px); transform-box: fill-box; }
.build.is-built .stat-viz-growth circle { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--bd, 0ms) + 900ms + var(--i) * 45ms); }


/* 2 · Welt */
.stat-viz.world img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.world-pin { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--brand-hi); box-shadow: 0 0 8px rgba(255, 91, 31, .8); }
.world-pin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brand-hi); opacity: 0; animation: world-ping 3.2s ease-out infinite; animation-delay: var(--d, 0s); }
.world-home { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--brand); box-shadow: 0 0 0 3px rgba(255, 91, 31, .25), 0 0 14px rgba(255, 91, 31, .9); }
@keyframes world-ping { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.stat-viz .world { position: relative; height: 100%; aspect-ratio: 1520 / 587; max-width: 100%; }
.stat-viz .world img { width: 100%; height: 100%; object-fit: contain; }

/* 3 · Branchen */
.stat-sectors { flex-wrap: wrap; align-content: center; gap: 6px; }
.stat-sectors span { padding: 5px 10px; border-radius: 999px; border: 1px solid #2A2A30; font-size: .75rem; color: var(--on-dark-2); }
.stat-sectors span.on { border-color: rgba(255, 122, 69, .5); color: #FFB08F; background: rgba(255, 91, 31, .08); }
.build .stat-sectors span { opacity: 0; transform: translateY(6px); }
.build.is-built .stat-sectors span { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s cubic-bezier(.16, 1, .3, 1); }
.build.is-built .stat-sectors span:nth-child(1) { transition-delay: calc(var(--bd, 0ms) + 955ms); }
.build.is-built .stat-sectors span:nth-child(2) { transition-delay: calc(var(--bd, 0ms) + 1010ms); }
.build.is-built .stat-sectors span:nth-child(3) { transition-delay: calc(var(--bd, 0ms) + 1065ms); }
.build.is-built .stat-sectors span:nth-child(4) { transition-delay: calc(var(--bd, 0ms) + 1120ms); }
.build.is-built .stat-sectors span:nth-child(5) { transition-delay: calc(var(--bd, 0ms) + 1175ms); }
.build.is-built .stat-sectors span:nth-child(6) { transition-delay: calc(var(--bd, 0ms) + 1230ms); }
.build.is-built .stat-sectors span:nth-child(7) { transition-delay: calc(var(--bd, 0ms) + 1285ms); }
.build.is-built .stat-sectors span:nth-child(8) { transition-delay: calc(var(--bd, 0ms) + 1340ms); }
.build.is-built .stat-sectors span:nth-child(9) { transition-delay: calc(var(--bd, 0ms) + 1395ms); }
.build.is-built .stat-sectors span:nth-child(10) { transition-delay: calc(var(--bd, 0ms) + 1450ms); }
.build.is-built .stat-sectors span:nth-child(11) { transition-delay: calc(var(--bd, 0ms) + 1505ms); }
.build.is-built .stat-sectors span:nth-child(12) { transition-delay: calc(var(--bd, 0ms) + 1560ms); }

@media (max-width: 1080px) { .stat-grid-viz { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .stat-grid-viz { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .world-pin::after { animation: none; } .build .stat-viz-growth circle, .build .stat-sectors span { opacity: 1; transform: none; } }

.stat-card-viz dt { height: 58px; align-items: flex-end; }
.stat-sectors { justify-content: center; gap: 8px; }
.stat-sectors span { font-size: .8125rem; padding: 6px 12px; }

/* Link von der Referenzkarte zur Detailseite */
.case-cta { margin-top: 24px; align-self: flex-start; }

/* ---------- Phone Agent: Titelbild wie ein Video-Thumbnail ---------- */
.pa-thumb { position: relative; display: block; padding: 0; min-height: 460px; overflow: hidden; isolation: isolate; background: #0B0B0D; }
.pa-photo {
  position: absolute; inset: 0 0 0 34%; z-index: -2;
  background: #1A1A1E url("../img/projects/phone-agent-produktionslinie.webp") 94% center / cover no-repeat;
}
.pa-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0B0B0D 0%, rgba(11, 11, 13, .55) 22%, rgba(11, 11, 13, 0) 48%), linear-gradient(0deg, rgba(11, 11, 13, .85) 0%, rgba(11, 11, 13, 0) 45%); }
.pa-ai { position: absolute; left: 0; top: 0; width: 44%; height: 64%; display: grid; place-content: center; justify-items: center; gap: 14px; }
.pa-orb { position: relative; width: 116px; height: 116px; }
.pa-orb span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 122, 69, .55); animation: pa-ring 2.8s var(--ease) infinite; }
.pa-orb span:nth-child(2) { animation-delay: .9s; } .pa-orb span:nth-child(3) { animation-delay: 1.8s; }
.pa-orb b { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFD2BD, #FF7A45 38%, #D9480F 72%, #5A1A05); box-shadow: 0 0 40px 6px rgba(255, 91, 31, .55), inset 0 -8px 18px rgba(0, 0, 0, .35); animation: pa-breathe 2.4s ease-in-out infinite; }
@keyframes pa-ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes pa-breathe { 50% { transform: scale(1.06); box-shadow: 0 0 56px 10px rgba(255, 91, 31, .6), inset 0 -8px 18px rgba(0, 0, 0, .35); } }
.pa-wave { display: flex; align-items: center; gap: 4px; height: 30px; }
.pa-wave i { width: 4px; height: 30px; border-radius: 2px; background: var(--brand-hi); transform: scaleY(.25); animation: pa-wave 1.1s ease-in-out infinite; }
.pa-wave i:nth-child(2n) { animation-delay: .15s; } .pa-wave i:nth-child(3n) { animation-delay: .3s; } .pa-wave i:nth-child(4n) { animation-delay: .45s; }
@keyframes pa-wave { 50% { transform: scaleY(1); } }
.pa-ai-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 242, 240, .75); }
.pa-link { position: absolute; left: 44%; top: 32%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 12px 30px -8px rgba(0, 0, 0, .7); animation: pa-ringing 2s ease-in-out infinite; }
.pa-link .icon { width: 20px; height: 20px; }
@keyframes pa-ringing { 0%, 60%, 100% { transform: translate(-50%, -50%) rotate(0); } 66% { transform: translate(-50%, -50%) rotate(-12deg); } 72% { transform: translate(-50%, -50%) rotate(12deg); } 78% { transform: translate(-50%, -50%) rotate(-8deg); } 84% { transform: translate(-50%, -50%) rotate(0); } }
.pa-live { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: #E5372B; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.pa-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(1) infinite; }
.pa-title {
  position: absolute; left: clamp(22px, 3vw, 36px); right: 22px; bottom: clamp(22px, 3vw, 32px);
  font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.pa-title em { font-style: normal; color: var(--brand-hi); }
@media (max-width: 640px) {
  .pa-thumb { min-height: 360px; }
  .pa-photo { inset: 0 0 0 28%; }
  .pa-orb { width: 84px; height: 84px; } .pa-orb b { inset: 16px; }
  .pa-link { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .pa-orb span, .pa-orb b, .pa-wave i, .pa-link, .pa-live::before { animation: none; } .pa-wave i { transform: scaleY(.6); } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Stellenbewertung: Titelbild mit Szene ---------- */
.sb-thumb { position: relative; display: block; padding: 0; min-height: 560px; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 91, 31, .16), transparent 60%), #0B0B0D radial-gradient(rgba(242, 242, 240, .06) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.sb-thumb .show-scene { position: absolute; inset: 24px 20px 150px; height: auto; }
.sb-thumb .show-human { top: 0; bottom: auto; right: 0; }
.sb-title { z-index: 4; font-size: clamp(1.75rem, 2.9vw, 2.625rem); }
.case-acts { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.case-acts li { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; color: #B9B9B3; transition: color .5s var(--ease), transform .5s var(--ease); }
.case-acts li span { width: 22px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .75rem; font-weight: 500; color: #B9B9B3; }
.case-acts li.is-done { color: var(--ink-2); }
.case-acts li.is-on { color: var(--ink); transform: translateX(6px); }
.case-acts li.is-on span { color: var(--accent); }
@media (max-width: 640px) { .sb-thumb { min-height: 440px; } .sb-thumb .show-scene { inset: 12px 12px 110px; } }

/* ---------- Türöffner: KI-Potenzial-Check ---------- */
.offer { position: relative; overflow: clip; isolation: isolate; --cover: var(--dark); }
.offer .tess-bg { opacity: .3; }
.offer-glow { position: absolute; z-index: -1; right: -8%; top: 50%; width: 60%; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(255, 91, 31, .22), rgba(255, 91, 31, 0)); pointer-events: none; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.offer h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); letter-spacing: -0.04em; line-height: 1.04; color: #fff; }
.offer h2 em { font-style: normal; color: var(--brand-hi); }
.offer .lead { margin-top: 22px; max-width: 32em; }
.offer-steps { display: grid; gap: 4px; margin: 32px 0 0; padding: 0; list-style: none; }
.offer-steps li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--dark-line); color: var(--on-dark-2); font-size: .9688rem; line-height: 1.5; }
.offer-steps li:last-child { border-bottom: 1px solid var(--dark-line); }
.offer-steps span { flex: none; width: 26px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .75rem; color: var(--brand-hi); }
.offer-steps b { display: block; font-size: 1.0625rem; font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.offer-actions .btn-ghost-dark .icon { width: 16px; height: 16px; margin-right: 2px; }
.offer-fine { margin-top: 16px; font-size: .8125rem; color: var(--on-dark-2); }

/* Fahrplan-Dokument, baut sich im Sichtbereich auf */
.offer-doc { position: relative; }
.od-paper { position: relative; padding: clamp(22px, 2.6vw, 32px); border-radius: 18px; background: #F7F7F4; color: var(--ink); transform: rotate(1.5deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 50px 100px -40px rgba(255, 91, 31, .45), 0 30px 60px -30px rgba(0, 0, 0, .9); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.offer-doc.is-inview .od-paper { transform: rotate(-1deg); }
.od-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.od-title { margin: 4px 0 18px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.od-item { display: grid; grid-template-columns: auto minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid #E4E4DE; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 300ms + 300ms); }
.offer-doc.is-inview .od-item { opacity: 1; transform: none; }
.od-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; }
.od-item:first-of-type .od-no { background: var(--brand); color: var(--ink); }
.od-body b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.od-l { display: block; height: 5px; width: var(--w); margin-top: 8px; border-radius: 3px; background: #DDDDD6; }
.od-meters { display: grid; gap: 6px; }
.od-meters i { display: flex; align-items: center; gap: 8px; font-style: normal; }
.od-meters em { flex: none; width: 3.6rem; font-style: normal; font-size: .5625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.od-meters i::after {
  content: ""; flex: 1; height: 7px; border-radius: 4px;
  background: linear-gradient(var(--brand), var(--brand)) 0 0 / 0 100% no-repeat, #E6E6E0;
  transition: background-size 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 300ms + 700ms);
}
.od-meters i.eff::after { background-image: linear-gradient(#8E8E88, #8E8E88); }
.offer-doc.is-inview .od-meters i::after { background-size: calc(var(--v) * 100%) 100%, auto; }
.od-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid #E4E4DE; font-size: .75rem; color: var(--muted); }
.od-stamp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: var(--ink); font-weight: 700; white-space: nowrap; transform: rotate(-4deg) scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) 1.9s; }
.od-stamp .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.offer-doc.is-inview .od-stamp { transform: rotate(-4deg) scale(1); }
.od-note { margin-top: 18px; text-align: center; font-size: .75rem; color: rgba(163, 163, 168, .75); }

/* Schwebender Hinweis */
.offer-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -14px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s cubic-bezier(.16, 1, .3, 1), background-color .2s var(--ease);
}
.offer-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.offer-fab:hover { background: #26262A; }
.offer-fab .icon { width: 16px; height: 16px; color: var(--brand-hi); }
.offer-fab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 91, 31, .25); animation: pulse 1.8s ease-in-out infinite; }

@media (max-width: 960px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-doc { max-width: 520px; }
}
@media (max-width: 640px) {
  .od-item { grid-template-columns: auto minmax(0, 1fr); }
  .od-meters { grid-column: 2; }
  .offer-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .od-item { opacity: 1; transform: none; } .od-meters i::after { background-size: calc(var(--v) * 100%) 100%, auto; } .od-stamp { transform: rotate(-4deg); } .offer-fab-dot { animation: none; }
}

/* ---------- Phone Agent: Ausblick Analysebaum → Wissen → Aktionsplan ---------- */
.pa-next { padding-top: 18px; border-top: 1px solid var(--line); }
.pa-next-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.pa-next-badge { padding: 3px 9px; border-radius: 999px; background: var(--review-soft); color: var(--review); font-size: .6875rem; font-weight: 700; letter-spacing: .03em; }
.pa-next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pa-next-steps li { position: relative; display: grid; gap: 3px; align-content: start; }
.pa-next-steps li + li::before { content: ""; position: absolute; left: -17px; top: 34px; width: 12px; height: 12px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); animation: pa-arrow 6s linear infinite; }
.pa-next-steps li:nth-child(3)::before { animation-delay: 2s; }
.pa-next-steps b { margin-top: 8px; font-size: .9375rem; font-weight: 600; }
.pa-next-steps small { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.pa-ic { display: block; width: 100%; height: 76px; padding: 6px; box-sizing: border-box; border-radius: 12px; background: #111114; overflow: visible; }
/* Analysebaum: Pfad zur Ursache leuchtet auf */
.pa-ic-tree .e { fill: none; stroke: #3A3A42; stroke-width: 1.5; }
.pa-ic-tree .hl { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: pa-tree 6s var(--ease) infinite; }
.pa-ic-tree circle { fill: #2A2A31; }
.pa-ic-tree circle.on { animation: pa-node 6s var(--ease) infinite; }
.pa-ic-tree circle.end { animation-name: pa-end; }
@keyframes pa-tree { 0%, 4% { stroke-dashoffset: 60; } 22%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
@keyframes pa-node { 0%, 10% { fill: #2A2A31; } 16%, 92% { fill: var(--brand-hi); } 100% { fill: #2A2A31; } }
@keyframes pa-end { 0%, 20% { fill: #2A2A31; } 26%, 92% { fill: #6EE7A0; } 100% { fill: #2A2A31; } }
/* Wissen: die passende Stelle wird markiert */
.pa-ic-kn .d3 { fill: #26262C; } .pa-ic-kn .d2 { fill: #34343B; } .pa-ic-kn .d1 { fill: #F2F2F0; }
.pa-ic-kn .ln { fill: none; stroke: #C9C9C2; stroke-width: 2.4; stroke-linecap: round; }
.pa-ic-kn .mark { fill: var(--brand); opacity: 0; animation: pa-mark 6s var(--ease) infinite; }
@keyframes pa-mark { 0%, 34% { opacity: 0; } 42%, 92% { opacity: .55; } 100% { opacity: 0; } }
/* Aktionsplan: Schritte werden abgehakt */
.pa-ic-plan .pg { fill: #F2F2F0; }
.pa-ic-plan .row rect { fill: none; stroke: #9A9A94; stroke-width: 1.4; }
.pa-ic-plan .row .t { fill: none; stroke: #C9C9C2; stroke-width: 2.4; stroke-linecap: round; }
.pa-ic-plan .ck { fill: none; stroke: #1E7A3E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 10; stroke-dashoffset: 10; animation: pa-check 6s var(--ease) infinite; }
.pa-ic-plan .r2 .ck { animation-delay: .35s; } .pa-ic-plan .r3 .ck { animation-delay: .7s; }
@keyframes pa-check { 0%, 64% { stroke-dashoffset: 10; } 72%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 10; } }
@keyframes pa-arrow { 0%, 28%, 100% { border-color: var(--line-strong); } 32%, 60% { border-color: var(--brand); } }
.pa-next .pa-ic *, .pa-next-steps li::before { animation-play-state: paused; }
.pa-next.is-inview .pa-ic *, .pa-next.is-inview .pa-next-steps li::before { animation-play-state: running; }
@media (max-width: 640px) {
  .pa-next-steps { grid-template-columns: 1fr; gap: 14px; }
  .pa-next-steps li { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .pa-next-steps li .pa-ic { grid-row: 1 / 3; height: 64px; }
  .pa-next-steps b { margin-top: 0; }
  .pa-next-steps li + li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-next .pa-ic *, .pa-next-steps li::before { animation: none !important; }
  .pa-ic-tree .hl, .pa-ic-plan .ck { stroke-dashoffset: 0; } .pa-ic-tree circle.on { fill: var(--brand-hi); } .pa-ic-kn .mark { opacity: .55; }
}
.stat-num-text { font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: -0.04em; white-space: nowrap; }

/* ---------- Lead-Magnet: KI-Reifegrad-Check ---------- */
.rg-teaser-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rg-teaser h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); letter-spacing: -0.04em; line-height: 1.04; }
.rg-teaser .lead { margin-top: 22px; max-width: 32em; }
.rg-teaser-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rg-teaser-facts li { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.rg-teaser-facts b { color: var(--ink); }
.rg-teaser-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rg-teaser-actions .text-link { font-size: .9375rem; }
.rg-teaser-visual { position: relative; display: block; padding: 28px 28px 70px; text-decoration: none; color: var(--ink); }
.rg-teaser-visual::before { content: ""; position: absolute; inset: 10% 5% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 91, 31, .2), rgba(255, 91, 31, 0)); }
.rgt-card { display: grid; gap: 8px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 11, 12, .35); transform: rotate(-1.5deg); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.rg-teaser-visual:hover .rgt-card { transform: rotate(0) translateY(-4px); }
.rgt-dim { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--accent); font-size: .75rem; font-weight: 600; }
.rgt-q { margin: 6px 0 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.rgt-opt { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #FAFAF8; font-size: .875rem; }
.rgt-opt.is-pick { border-color: var(--brand); background: var(--brand-soft); animation: rgt-pick 4s var(--ease) infinite; }
@keyframes rgt-pick { 0%, 30% { border-color: var(--line); background: #FAFAF8; } 40%, 100% { border-color: var(--brand); background: var(--brand-soft); } }
.rgt-bar { position: relative; height: 5px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rgt-bar i { position: absolute; inset: 0 auto 0 0; width: 42%; background: var(--brand); animation: rgt-bar 4s var(--ease) infinite; }
@keyframes rgt-bar { 0%, 35% { width: 33%; } 45%, 100% { width: 42%; } }
.rgt-result { position: absolute; right: 0; bottom: 0; display: grid; gap: 2px; padding: 16px 22px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px -20px rgba(11, 11, 12, .6); transform: rotate(2deg); }
.rgt-result small { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-hi); }
.rgt-result b { font-size: 2rem; letter-spacing: -0.04em; line-height: 1; }
.rgt-result em { font-style: normal; font-size: .875rem; color: var(--on-dark-2); }
.rg-teaser-visual *, .rg-teaser-visual *::before { animation-play-state: paused; }
.rg-teaser-visual.is-inview *, .rg-teaser-visual.is-inview *::before { animation-play-state: running; }
@media (max-width: 960px) { .rg-teaser-grid { grid-template-columns: 1fr; } .rg-teaser-visual { max-width: 520px; } }
@media (prefers-reduced-motion: reduce) { .rgt-opt.is-pick, .rgt-bar i { animation: none; } }
.work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; } .work-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); } .work-link:hover .icon { transform: translateX(3px); }

/* ---------- Referenzkarten: ein Aufbau für alle ---------- */
.case-featured { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 520px; border-radius: 28px; }
.case-featured + .case-featured { margin-top: 20px; }
.case-featured .case-media { min-height: 520px; }
.case-featured .case-body { padding: clamp(32px, 4vw, 56px); gap: 0; justify-content: center; }
.case-featured .case-meta { font-size: .8125rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.case-featured h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 14px; }
.case-featured .case-body > p:not(.case-meta) { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.case-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.case-points dt { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; white-space: nowrap; }
.case-points dd { margin-top: 6px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; align-self: flex-start; font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--brand); padding-bottom: 3px; }
.case-link .icon { width: 16px; height: 16px; color: var(--brand); transition: transform .2s var(--ease); }
.case-link:hover .icon { transform: translateX(4px); }
.case-media-title { position: relative; isolation: isolate; }
.case-media-title::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(9, 9, 10, .9) 0%, rgba(9, 9, 10, 0) 55%); pointer-events: none; }
.case-media-title .pa-title { z-index: 2; }
.sb-thumb .show-human { display: none; }
/* Kleine Karten */
.work-grid { margin-top: 20px; gap: 20px; }
.work-card { min-height: 460px; border-radius: 28px; }
.work-body h3 { margin-top: 6px; }
.work-body p { margin-top: 6px; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 6px; }
.work-foot .work-link { margin-top: 0; color: #fff; }
.work-foot .work-link .icon { color: var(--brand-hi); }
@media (max-width: 960px) {
  .case-featured { grid-template-columns: 1fr; }
  .case-featured .case-media { min-height: 380px; }
}
@media (max-width: 640px) {
  .case-points { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .case-points dt { font-size: 1.25rem; }
}

/* ---------- Performance: Animationen nur im Sichtbereich ---------- */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---------- Beleg unter dem Hero-Button ---------- */
.hp-trust { margin-top: 20px; font-size: .875rem; color: var(--muted); }
.hp-trust b { color: var(--ink); font-weight: 600; }

/* ---------- Kommt Ihnen das bekannt vor? ---------- */

/* ---------- Kontaktformular ---------- */
.contact-form { display: grid; gap: 12px; margin: 4px 0 20px; }
.cf-h { font-size: .8125rem; font-weight: 600; color: var(--on-dark-2); }
.cf-topics { display: flex; gap: 6px; }
.cf-topics label { flex: 1; cursor: pointer; }
.cf-topics input { position: absolute; opacity: 0; pointer-events: none; }
.cf-topics span { display: block; padding: 9px 8px; border-radius: 10px; border: 1px solid #2E2E34; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--on-dark-2); transition: all .2s var(--ease); }
.cf-topics input:checked + span { border-color: var(--brand); background: rgba(255, 91, 31, .12); color: #fff; }
.cf-topics input:focus-visible + span { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.cf-field { display: grid; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--on-dark-2); }
.cf-field small { font-weight: 400; color: #75757D; }
.cf-field input, .cf-field textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 10px; border: 1px solid #2E2E34; background: #0F0F11; font: inherit; font-size: .9375rem; color: #fff; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .75rem; line-height: 1.45; color: var(--on-dark-2); }
.cf-consent input { margin-top: 2px; accent-color: var(--brand); }
.cf-consent a { color: var(--brand-hi); }
.cf-done { font-size: .875rem; font-weight: 600; color: #6EE7A0; }
.cf-err { font-size: .875rem; font-weight: 600; color: #F87171; }
.contact-form.is-sent .cf-field, .contact-form.is-sent .cf-topics, .contact-form.is-sent .cf-h, .contact-form.is-sent .cf-consent, .contact-form.is-sent button { display: none; }

/* ---------- KI-Check: Bürofotos statt Fahrplan-Mockup ---------- */
.offer-photos { position: relative; margin: 0; padding: 0 0 70px 40px; }
.offer-photos img { display: block; width: 100%; height: auto; border-radius: 24px; object-fit: cover; }
.op-main { aspect-ratio: 3 / 2; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transform: rotate(1deg); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.op-side { position: absolute; left: 0; bottom: 0; width: 46% !important; aspect-ratio: 5 / 4; border: 6px solid var(--dark); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); transform: rotate(-3deg) translateY(20px); opacity: 0; transition: opacity .8s var(--ease) .2s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .2s; }
.offer-photos.is-inview .op-side { opacity: 1; transform: rotate(-3deg); }
.offer-photos.is-inview .op-main { transform: rotate(0deg); }
.op-chip { position: absolute; right: 16px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 600; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .7); }
.op-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 91, 31, .2); }
@media (max-width: 640px) { .offer-photos { padding: 0 0 60px 20px; } .op-chip { right: 8px; bottom: 8px; font-size: .75rem; } }

/* ---------- KI-Check: Einladung statt Angebot ---------- */
.offer h2 { font-size: clamp(2.25rem, 4.2vw, 3.625rem); }
.offer h2 em { display: inline-block; }
.offer-steps b { font-size: 1.125rem; }
.offer-pledge { padding-left: 24px; padding-right: 22px; box-shadow: 0 0 0 0 rgba(255, 91, 31, .5); animation: offer-glow 2.8s ease-in-out infinite; }
@keyframes offer-glow { 50% { box-shadow: 0 0 0 8px rgba(255, 91, 31, 0), 0 14px 40px -12px rgba(255, 91, 31, .6); } }
.offer-fine { max-width: 34em; line-height: 1.5; }
/* Kalendertermin auf dem Foto */
.op-cal {
  position: absolute; right: -10px; top: -18px; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); transform: rotate(2deg) translateY(-10px); opacity: 0;
  transition: opacity .6s var(--ease) .5s, transform .9s cubic-bezier(.34, 1.4, .64, 1) .5s;
}
.offer-photos.is-inview .op-cal { opacity: 1; transform: rotate(2deg); }
.op-cal-day { display: grid; place-items: center; width: 46px; height: 50px; border-radius: 10px; overflow: hidden; background: var(--bg); line-height: 1; }
.op-cal-day small { display: block; width: 100%; padding: 4px 0; background: var(--brand); color: var(--ink); font-size: .625rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.op-cal-day b { padding: 5px 0 6px; font-size: 1.25rem; letter-spacing: -0.03em; }
.op-cal-body b { display: block; font-size: .9375rem; letter-spacing: -0.01em; }
.op-cal-body small { font-size: .75rem; color: var(--muted); }
.op-cal-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1E7A3E; color: #fff; font-size: .75rem; font-weight: 800; transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) 1.3s; }
.offer-photos.is-inview .op-cal-ok { transform: none; }
@media (max-width: 640px) { .op-cal { right: 0; top: -14px; } }
@media (prefers-reduced-motion: reduce) { .offer-pledge { animation: none; } }

/* ---------- Marktplatz-Video ---------- */
.case-media-dark .mp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; padding: 18px 18px 64px; box-sizing: border-box; background: radial-gradient(ellipse at 50% 40%, rgba(255, 91, 31, .12), transparent 65%), #0B0D0C; }
.mp-stage { display: grid; place-items: center; margin: 0 0 20px; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: radial-gradient(ellipse at 50% 40%, rgba(255, 91, 31, .14), transparent 65%), #0B0B0D; }
.mp-video-lg { display: block; width: min(100%, 460px); height: auto; }

/* ---------- Weitere Referenzen am Ende jeder Referenzseite ---------- */
.more-refs { background: var(--bg); }
.more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.more-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; }
.more-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--brand); padding-bottom: 3px; }
.more-all .icon { width: 16px; height: 16px; color: var(--brand); }
.more-card { text-decoration: none; color: #fff; }
.more-card .work-link { margin-top: 12px; color: #fff; }
.more-card .work-link .icon { color: var(--brand-hi); }
.more-card:hover .work-link .icon { transform: translateX(4px); }
.more-all { white-space: nowrap; }

/* ---------- Körnung (Grain) auf dunklen Boxen: ein statisches Bild, kostet keine Rechenzeit ---------- */
:root { --grain: url("../img/grain.png"); }
.card-dark, .bento-card.bento-dark, .quote-card.quote-card-dark, .trust-item, .stat-card {
  background:
    var(--grain) 0 0 / 128px 128px,
    radial-gradient(120% 80% at 100% 0%, rgba(255, 91, 31, .07), transparent 55%),
    linear-gradient(180deg, #161618, #0E0E10);
}
.bs .bento-card.bento-dark { background: var(--grain) 0 0 / 128px 128px, radial-gradient(ellipse at 80% 0%, rgba(255, 91, 31, .10), transparent 55%), #0E0E10; }
.bs .bento-card .bs-dark { background: var(--grain) 0 0 / 128px 128px, #0F0F11; }
.bs .bs-brain { background: var(--grain) 0 0 / 128px 128px, radial-gradient(ellipse at 44% 58%, rgba(255, 91, 31, .16), transparent 55%), radial-gradient(ellipse at 44% 58%, #17171B, #0A0A0C 70%); }


/* ---------- Warum jetzt: heute Vorsprung, morgen Voraussetzung ---------- */
.wj-head { display: grid; gap: 18px; max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.wj-head h2 { margin: 0; font-size: clamp(2.75rem, 5.6vw, 5rem); letter-spacing: -0.05em; line-height: 1; }
.wj-head h2 .wj-accent { color: var(--accent); }
.wj-head .section-intro { font-size: 1.1875rem; max-width: 40em; }
.wj-quote { position: relative; margin: 0; padding: clamp(32px, 5vw, 64px); border-radius: 28px; overflow: hidden; color: #fff;
  background: var(--grain) 0 0 / 128px 128px, radial-gradient(ellipse at 85% 0%, rgba(255, 91, 31, .28), transparent 55%), #0E0E10; }
.wj-quote blockquote { margin: 0; max-width: 20em; font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; text-wrap: balance; }
.wj-quote figcaption { display: grid; gap: 2px; margin-top: 26px; font-size: .9375rem; color: var(--on-dark-2); }
.wj-quote figcaption b { color: #fff; font-size: 1rem; }
.wj-quote figcaption small { font-size: .75rem; opacity: .7; }
.wj-turn { position: absolute; right: clamp(32px, 5vw, 64px); bottom: clamp(32px, 5vw, 64px); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 1rem; font-weight: 700; box-shadow: 0 16px 34px -14px rgba(255, 91, 31, .8); }
.wj-shift { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 34px 0 0; list-style: none; }
.wj-shift::before, .wj-shift::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; border-radius: 2px; }
.wj-shift::before { right: 0; background: var(--line); }
.wj-shift::after { width: 0; background: linear-gradient(90deg, #FFB08F, var(--brand) 60%, #C73E0A); transition: width 2.4s cubic-bezier(.65, 0, .35, 1) .2s; }
.wj-shift.is-inview::after { width: 100%; }
.wj-shift li { position: relative; display: grid; gap: 6px; align-content: start; }
.wj-shift li::before { content: ""; position: absolute; left: 0; top: -34px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.wj-shift.is-inview li::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px rgba(255, 91, 31, .15); }
.wj-shift.is-inview li:nth-child(1)::before { transition-delay: .2s; }
.wj-shift.is-inview li:nth-child(2)::before { transition-delay: 1.3s; }
.wj-shift.is-inview li:nth-child(3)::before { transition-delay: 2.5s; }
.wj-when { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wj-shift b { font-size: clamp(1.75rem, 2.8vw, 2.5rem); letter-spacing: -0.045em; line-height: 1.05; }
.wj-shift li:nth-child(2) b { color: var(--ink-2); }
.wj-shift li:nth-child(3) b { color: var(--accent); }
.wj-shift small { font-size: 1rem; line-height: 1.5; color: var(--ink-2); max-width: 22em; }
.wj-now { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: clamp(56px, 7vw, 88px) 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.wj-now h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.wj-pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wj-pain { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.wj-q { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.wj-a { margin: 0 0 6px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.wj-pain a { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--accent); font-size: .75rem; font-weight: 700; text-decoration: none; }
.wj-pain a .icon { width: 14px; height: 14px; }
@media (max-width: 1080px) { .wj-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wj-shift { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 34px; }
  .wj-shift::before, .wj-shift::after { left: 7px; top: 0; bottom: 0; width: 2px; height: auto; }
  .wj-shift::before { right: auto; }
  .wj-shift::after { height: 0; transition-property: height; }
  .wj-shift.is-inview::after { width: 2px; height: 100%; }
  .wj-shift li::before { left: -34px; top: 4px; }
  .wj-turn { position: static; display: inline-block; margin-top: 22px; }
}
@media (max-width: 640px) { .wj-pains { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wj-shift::after { transition: none; } .wj-shift li::before { transition: none; } }

/* ---------- Apple-Stil: Kundenstimmen mit Menschen im Mittelpunkt ---------- */
.quote-card { display: flex; flex-direction: column; gap: 22px; }
.quote-card blockquote::before { content: none; }
.quote-card blockquote { order: 2; }
.quote-card figcaption { order: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 0; border-top: 0; }
.quote-card figcaption img { width: 84px; height: 84px; box-shadow: 0 16px 30px -18px rgba(11, 11, 12, .6); }
.quote-card figcaption strong { font-size: 1rem; }
.quote-card blockquote p::before { content: "\201E"; }
.quote-card blockquote p::after { content: "\201C"; }

/* ---------- Wo es heute bremst: viele Sätze, frei stehend, langsam laufend ---------- */
.wj-says { display: grid; gap: clamp(14px, 2vw, 26px); margin-top: 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wj-row { display: flex; width: max-content; }
.wj-run { display: flex; flex: none; gap: clamp(36px, 5vw, 72px); margin: 0; padding-right: clamp(36px, 5vw, 72px); white-space: nowrap; animation: wj-run 90s linear infinite; }
.wj-row.r2 .wj-run { animation-direction: reverse; animation-duration: 110s; }
.wj-row.r3 .wj-run { animation-duration: 100s; }
.wj-says:hover .wj-run { animation-play-state: paused; }
@keyframes wj-run { to { transform: translateX(-100%); } }
.wj-run span { font-size: clamp(1.625rem, 3.2vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; color: var(--ink); }
.wj-run span.m { color: #B9B9B2; }
.wj-run span.a { color: var(--accent); }
.wj-row.r2 .wj-run span { font-size: clamp(1.375rem, 2.6vw, 2.25rem); }
.wj-end { margin: clamp(32px, 4vw, 48px) 0 0; font-size: 1.0625rem; color: var(--ink-2); }
.wj .wj-now { margin-bottom: clamp(20px, 3vw, 32px); }
@media (prefers-reduced-motion: reduce) {
  .wj-says { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter, 20px); }
  .wj-row { width: auto; }
  .wj-run { flex-wrap: wrap; white-space: normal; animation: none; gap: 12px 32px; padding: 0; }
  .wj-run[aria-hidden] { display: none; }
}

/* 50 Sätze: gleich groß, grau, kleiner */
.wj-says { gap: 14px; }
.wj-run { gap: 44px; padding-right: 44px; animation-duration: 150s; }
.wj-row.r2 .wj-run { animation-duration: 170s; }
.wj-row.r3 .wj-run { animation-duration: 140s; }
.wj-row.r4 .wj-run { animation-direction: reverse; animation-duration: 160s; }
.wj-row.r5 .wj-run { animation-duration: 180s; }
.wj-run span, .wj-row.r2 .wj-run span { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 500; letter-spacing: -0.02em; color: #9C9C95; transition: color .3s var(--ease); }
.wj-run span:hover { color: var(--ink); }

/* ---------- Unterer Seitenteil, gestrafft ---------- */
.anchor { position: relative; top: calc(-1 * var(--header-h, 72px)); display: block; height: 0; }
.wk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.wk-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.wk-steps li + li::before { content: ""; position: absolute; left: -9px; top: 34px; width: 6px; height: 6px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }
.wk-n { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .75rem; color: var(--accent); }
.wk-steps h3 { margin: 0; font-size: 1.1875rem; letter-spacing: -0.02em; }
.wk-steps p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.wk-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.wk-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.wk-trust .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.wk-trust b { color: var(--ink); }
.ct-letter .lead + .lead { margin-top: 14px; }
.ct-sign { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.ct-sign img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 3px rgba(255, 91, 31, .35); }
.ct-sign b { display: block; color: #fff; font-size: 1.0625rem; }
.ct-sign span { font-size: .875rem; color: var(--on-dark-2); }
.avatar-img { object-fit: cover; object-position: 50% 22%; background: none; }
@media (max-width: 1080px) { .wk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-steps li:nth-child(3)::before { display: none; } }
@media (max-width: 760px) { .wk-trust { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .wk-steps { grid-template-columns: 1fr; } .wk-steps li::before { display: none; } }
.ct-letter h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.04em; line-height: 1.06; }
